:root{--navy:#07355d;--navy2:#052d50;--blue:#0a619e;--yellow:#ffc72c;--text:#0a2743;--muted:#5e7386;--line:#dce5ed;--bg:#f7fafc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:white}a{text-decoration:none;color:inherit}.container{width:min(1160px,calc(100% - 40px));margin:auto}
.villany-legacy-header{height:76px;background:#fff;position:sticky;top:0;z-index:50;border-bottom:1px solid #edf2f6}.nav{height:76px;display:flex;align-items:center;gap:22px}.brand{display:flex;align-items:center;gap:10px;min-width:250px}.mark{font-size:35px;color:#d8442f}.brand b,.brand strong{display:block;line-height:.9}.brand b{font-size:23px;letter-spacing:2px}.brand strong{font-size:17px}.brand small{display:block;font-size:6px;margin-top:6px;color:#5b6d7e}.nav nav{display:flex;align-items:center;gap:18px;margin-left:auto}.nav nav a{font-size:12px;font-weight:700}.nav nav a.active{color:#b1223f}.top-quote,.mobile-quote{background:var(--navy);color:#fff;padding:12px 17px;border-radius:8px;font-weight:800;font-size:12px}.mobile-quote{display:none}.hamb{display:none;border:0;background:transparent;font-size:27px}
.hero{height:430px;position:relative;background:var(--navy2);overflow:hidden;color:#fff}.hero-image{position:absolute;inset:0;width:100%;height:100%;background:url('assets/hero-villanyszereles.jpg') center center/cover no-repeat}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,45,80,.98) 0%,rgba(5,45,80,.94) 31%,rgba(5,45,80,.70) 43%,rgba(5,45,80,.16) 59%,rgba(5,45,80,0) 76%)}.hero-content{position:relative;z-index:2;padding-top:28px;max-width:1180px}.crumb{font-size:12px;margin-bottom:28px;color:#dce8f1}.crumb span{margin:0 9px}.hero h1{font-size:50px;line-height:1;margin:0 0 8px;letter-spacing:.5px}.hero h2{font-size:25px;margin:0 0 12px;color:var(--yellow)}.hero p{font-size:17px;line-height:1.5;max-width:520px}.trust{display:flex;gap:28px;margin:24px 0 22px;max-width:560px}.trust span{font-size:11px;font-weight:700;max-width:110px;text-align:center}.hero-actions{display:flex;gap:14px}.btn{display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;font-weight:800;border-radius:8px;padding:14px 21px;font-size:14px}.yellow{background:var(--yellow);color:#0b2c48}.outline{border:1px solid #fff;color:#fff;background:rgba(0,0,0,.08)}
.services-section{padding:38px 0 22px}.section-head h2,.why h2,.process h2{font-size:30px;margin:0 0 6px}.section-head p{margin:0 0 22px;color:var(--muted);font-size:15px}.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.service-grid article{border:1px solid var(--line);border-radius:10px;padding:19px 16px;display:flex;gap:14px;min-height:125px;background:#fff;box-shadow:0 4px 15px rgba(6,47,81,.04)}.service-grid .ico{font-size:31px;line-height:1}.service-grid h3{font-size:16px;line-height:1.15;margin:0 0 9px}.service-grid p{font-size:13px;line-height:1.45;color:#496279;margin:0}.service-grid .vbf p b{color:#d82922}
.vbf-banner{padding:0 0 32px}.vbf-inner{display:grid;grid-template-columns:auto 1fr auto;gap:18px;align-items:center;background:var(--navy);color:#fff;border-radius:10px;padding:18px 22px}.vbf-icon{font-size:42px}.vbf-banner h2{font-size:22px;margin:0 0 5px}.vbf-banner h2 span{color:var(--yellow)}.vbf-banner p{margin:0;color:#d6e4ee;font-size:13px;line-height:1.45}
.why{padding:8px 0 30px}.why-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-top:22px}.why-grid b{font-size:35px}.why-grid h3{font-size:14px;margin:8px 0 5px}.why-grid p{font-size:12px;line-height:1.45;color:var(--muted);margin:0}
.process{padding:20px 0 42px;background:var(--bg)}.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;margin-top:25px;position:relative}.steps:before{content:"";position:absolute;left:4%;right:4%;top:17px;height:2px;background:#d5e1ea}.steps>div{position:relative}.steps span{width:34px;height:34px;border-radius:50%;background:#0d70bb;color:#fff;display:grid;place-items:center;font-weight:800;position:relative;z-index:2}.steps h3{font-size:14px;margin:10px 0 5px}.steps p{font-size:12px;color:var(--muted);line-height:1.4}
.quote-section{background:linear-gradient(90deg,#062f51,#0a4778);color:#fff;padding:38px 0}.quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:start}.quote-section h2{font-size:28px;margin:0 0 10px}.quote-section p{font-size:14px;line-height:1.55;color:#dce8f1}.quote-section form{display:grid;gap:10px}.quote-section input,.quote-section textarea{width:100%;border:0;border-radius:8px;padding:13px;font:inherit}.quote-section textarea{resize:vertical}.quote-section button{width:100%}
.villany-legacy-footer{background:#fff;border-top:1px solid var(--line);padding:18px 0}.footer-row{display:flex;gap:30px;align-items:center;justify-content:space-between;font-size:12px}.footer-row a{font-weight:700}
@media(max-width:950px){.nav nav{display:none}.hamb{display:block;margin-left:auto}.top-quote{display:none}.nav nav.open{display:flex;position:absolute;top:76px;left:0;right:0;background:#fff;flex-direction:column;align-items:stretch;padding:12px 18px 18px;box-shadow:0 10px 20px rgba(0,0,0,.12)}.nav nav.open a{padding:11px 0;border-bottom:1px solid #edf2f6}.nav nav.open .mobile-quote{display:flex;margin-top:8px;justify-content:center}.service-grid{grid-template-columns:repeat(2,1fr)}.why-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:650px){.container{width:calc(100% - 26px)}.brand small{display:none}.brand{min-width:auto}.hero{height:auto;min-height:590px}.hero-image{inset:0;width:100%;height:100%;background-position:66% center}.hero-shade{background:linear-gradient(180deg,rgba(5,45,80,.18) 0%,rgba(5,45,80,.66) 34%,#052d50 55%,#052d50 100%)}.hero-content{padding-top:210px;padding-bottom:30px}.hero h1{font-size:39px}.hero h2{font-size:21px}.trust{display:grid;grid-template-columns:1fr 1fr;gap:12px}.trust span{text-align:left;max-width:none}.hero-actions{flex-direction:column}.service-grid{grid-template-columns:1fr}.service-grid article{min-height:0}.vbf-inner{grid-template-columns:auto 1fr}.vbf-inner .btn{grid-column:1/-1}.why-grid{grid-template-columns:1fr 1fr}.steps{grid-template-columns:1fr}.steps:before{display:none}.steps>div{display:grid;grid-template-columns:auto 1fr;column-gap:12px}.steps h3{margin:2px 0}.steps p{grid-column:2}.quote-grid{grid-template-columns:1fr;gap:24px}.footer-row{flex-direction:column;align-items:flex-start;gap:10px}}


/* 2026-09-13: egységes aloldal-szélesség a jóváhagyott Klíma / Biztonságtechnika / Kapuautomatizálás oldalakhoz. */
@media(min-width:761px){
  main{width:min(1160px,calc(100% - 40px));margin-left:auto;margin-right:auto;overflow:hidden}
  main .container{width:100%;padding-left:20px;padding-right:20px}
  .hero{border-radius:0 0 12px 12px}
}

/* 2026-09-13 FIX: a forrás Hero-kép már tartalmazza az asztali szövegeket és gombokat.
   Desktopon ezért a teljes képet vágás nélkül mutatjuk, és a duplikált HTML réteget elrejtjük. */
@media (min-width:761px){
  .hero{
    height:auto;
    aspect-ratio:1635/539;
    border-radius:12px;
    overflow:hidden;
    position:relative;
    background:#052d50;
  }
  .hero-image{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    background-image:url('assets/hero-villanyszereles.jpg');
    background-position:center center;
    background-size:100% 100%;
    background-repeat:no-repeat;
  }
  .hero-shade,
  .hero-content{display:none !important;}
  .hero-hotspot{
    display:block;
    position:absolute;
    z-index:5;
    top:78.5%;
    height:12.5%;
    border-radius:8px;
  }
  .hero-hotspot.quote{left:1.8%;width:15.1%;}
  .hero-hotspot.call{left:17.8%;width:25.4%;}
}

/* Mobilon külön, feliratmentesebb képkivágás mögött marad az élő HTML tartalom. */
@media (max-width:760px){
  .hero-image{
    background-image:url('assets/hero-villanyszereles-mobile.jpg');
    background-size:cover;
    background-position:center 20%;
  }
  .hero-hotspot{display:none;}
}
