/* ==========================================================================
   Lakossági villamosipari landing – stíluslap
   Elrendezés: 12 hasábos, 1200 px-es rács; világos és sötétkék szekciók
   váltakoznak, a sárga csak gombokon és apró kiemeléseken jelenik meg.
   Arculati kézikönyv esetén elég a :root tokeneket átírni.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-hu.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 75% 112%;
  font-style: normal;
  font-display: swap;
}

/* Méretre hangolt tartalék betűk: amíg az Archivo betölt, a sorok szélessége
   közel azonos marad, így a szöveg nem tördelődik át (nincs elrendezésugrás). */
@font-face { font-family: "Archivo Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 98%; }
@font-face { font-family: "Archivo Fallback R"; src: local("Roboto"); size-adjust: 92%; }
@font-face { font-family: "Archivo Semi Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 90%; }
@font-face { font-family: "Archivo Semi Fallback R"; src: local("Roboto"); size-adjust: 86%; }

:root {
  /* Arculat */
  --navy-900: #0b1e3a;
  --navy-800: #132a4c;
  --navy-700: #1d3a63;
  --navy-500: #4a6289;
  --yellow: #e2c45b;
  --yellow-hover: #d3b247;
  --yellow-tint: #f8f1dc;

  /* Felületek és szöveg */
  --bg: #ffffff;
  --surface: #f3f5f9;
  --border: #dde3eb;
  --border-strong: #b9c4d3;
  --ink: var(--navy-900);
  --text: #2b3a52;
  --muted: #5b6a81;
  --on-dark: #ffffff;
  --on-dark-muted: #b8c4d6;
  --line-dark: rgba(255, 255, 255, 0.1);
  --error: #b42318;
  --error-bg: #fdeceb;

  /* Formák */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  /* Rács és térközök */
  --maxw: 1200px;
  --pad: clamp(16px, 4vw, 32px);
  --gap: clamp(20px, 3vw, 32px);
  --section-y: clamp(80px, 9vw, 136px);
  --header-h: 64px;

  /* Betűk */
  --font: "Archivo", "Archivo Fallback", "Archivo Fallback R", system-ui, sans-serif;
  --font-head: "Archivo", "Archivo Semi Fallback", "Archivo Semi Fallback R", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 960px) {
  :root { --header-h: 72px; }
}

/* --------------------------------------------------------------------------
   Alapok
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
p, ul, ol, dl, dd, figure, h1, h2, h3, h4 { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
strong { font-weight: 650; color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 3px;
  border-radius: 4px;
}
.pv :focus-visible,
.contact__info :focus-visible,
.site-footer :focus-visible { outline-color: var(--yellow); }

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--navy-900);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; outline-color: var(--yellow); }
main:focus { outline: none; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--maxw));
  margin-inline: auto;
}

/* Helyőrző – élesítés előtt mind cserélendő (npm run check:placeholders) */
.ph {
  background: rgba(226, 196, 91, 0.45);
  color: var(--ink);
  border-radius: 4px;
  padding: 0 0.25em;
  outline: 1px dashed rgba(11, 30, 58, 0.4);
  outline-offset: 0;
  text-decoration: none;
}
.pv .ph,
.contact__info .ph,
.site-footer .ph {
  background: rgba(226, 196, 91, 0.14);
  color: var(--yellow);
  outline-color: rgba(226, 196, 91, 0.55);
}

/* --------------------------------------------------------------------------
   Tipográfia – kevés szint, erős kontraszt
   -------------------------------------------------------------------------- */
.hero__title, .h2, .h3, .h4 {
  font-family: var(--font-head);
  color: var(--ink);
  text-wrap: balance;
}
.hero__title {
  /* A hasábszélességhez igazodik: mindkét mondat egy-egy sorban marad.
     A cqi-érték a leghosszabb sorhoz hangolt („Biztonságos elektromos hálózat.”,
     31 karakter); rövidebb főcímnél (≤ 22 karakter) a 10cqi is elfér. */
  font-size: clamp(2.25rem, 1rem + 2vw, 2.75rem);
  font-size: clamp(2.25rem, 6.9cqi, 4.5rem);
  font-weight: 680;
  font-stretch: 88%;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.h2 {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.375rem);
  font-weight: 660;
  font-stretch: 88%;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem);
  font-weight: 640;
  font-stretch: 90%;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.h4 {
  font-size: 1.1875rem;
  font-weight: 630;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--text);
  max-width: 40ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--navy-500);
}
.eyebrow__num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--navy-900);
  color: var(--yellow);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.eyebrow--dark { color: var(--on-dark-muted); }
.eyebrow--dark .eyebrow__num { background: var(--yellow); color: var(--navy-900); }

.block-title { margin-bottom: 28px; }

/* --------------------------------------------------------------------------
   Gombok
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--r-sm);
  font-weight: 620;
  font-size: 1rem;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn__icon { width: 18px; height: 18px; flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn__icon { transition: transform 0.18s var(--ease); }
  .btn:hover .btn__icon { transform: translateX(3px); }
}
.btn--primary { background: var(--yellow); color: var(--navy-900); }
.btn--primary:hover { background: var(--yellow-hover); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--block { width: 100%; justify-content: space-between; }

@media (max-width: 559px) {
  .ev__intro .btn, .pv__cta .btn { width: 100%; justify-content: space-between; }
}

/* --------------------------------------------------------------------------
   Fejléc
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 680;
  font-stretch: 92%;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.brand__logo { display: block; height: 40px; width: auto; }
@media (min-width: 960px) { .brand__logo { height: 44px; } }
.brand--footer .brand__logo { height: 48px; }
.site-footer__company {
  font-family: var(--font-head);
  font-weight: 650;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--on-dark);
}
.brand__sub { font-weight: 450; font-stretch: 100%; letter-spacing: 0; opacity: 0.75; margin-left: 2px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--navy-900);
  color: var(--yellow);
  flex: none;
}
.brand__mark svg { width: 18px; height: 18px; }
.brand--on-dark { color: var(--on-dark); }
.brand--on-dark .brand__mark { background: var(--yellow); color: var(--navy-900); }

.nav-toggle { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.site-nav__list { display: flex; flex-wrap: wrap; gap: 0 2px; }
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav__list a { position: relative; }
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="true"] { color: var(--ink); }
.site-nav__list a:hover::after,
.site-nav__list a:focus-visible::after,
.site-nav__list a[aria-current="true"]::after { transform: scaleX(1); }
.site-nav__list a[aria-current="true"] { font-weight: 600; }

/* Görgetést követő csík a fejléc alján */
.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  pointer-events: none;
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  background: var(--yellow);
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll, 0));
}
@media (prefers-reduced-motion: reduce) {
  .site-nav__list a::after { transition: none; }
}
.site-nav__cta { margin-left: 10px; }

/* Mobil menü (csak ha fut a JavaScript; nélküle a menü a fejlécben tördelődik) */
@media (max-width: 959px) {
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-sm);
    background: var(--bg);
    color: var(--ink);
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
  }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
  }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; }
  .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

  .js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px var(--pad) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav__list { display: block; }
  .js .site-nav__list a {
    display: flex;
    min-height: 56px;
    padding: 0 4px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.0625rem;
    color: var(--ink);
  }
  .js .site-nav__list a::after { left: 4px; right: auto; width: 32px; bottom: 10px; }
  .js .site-nav__cta { margin: 20px 0 0; width: 100%; }

  html:not(.js) .site-nav { width: 100%; padding-bottom: 12px; }
  html:not(.js) .site-nav__cta { margin-left: 0; }
}

/* Sötét fejléc: folytatja a nyitószekciót, a sárga csík és aláhúzás jobban látszik */
.site-header { background: var(--navy-900); border-bottom-color: var(--line-dark); }
.site-header :focus-visible { outline-color: var(--yellow); }
.site-header .brand { color: var(--on-dark); }
.site-header .brand__mark { background: var(--yellow); color: var(--navy-900); }
.site-header .ph { background: rgba(226, 196, 91, 0.14); color: var(--yellow); outline-color: rgba(226, 196, 91, 0.55); }
.site-header .site-nav__list a { color: var(--on-dark-muted); }
.site-header .site-nav__list a:hover,
.site-header .site-nav__list a[aria-current="true"] { color: var(--on-dark); }
@media (max-width: 959px) {
  .js .site-header .nav-toggle { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.3); }
  .js .site-header .site-nav { background: var(--navy-900); border-bottom-color: var(--line-dark); }
  .js .site-header .site-nav__list a { color: var(--on-dark); border-bottom-color: var(--line-dark); }
}

/* --------------------------------------------------------------------------
   Képek – a helyet a képarány foglalja le, betöltéskor nincs ugrás
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  max-width: 100%;
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--hero { aspect-ratio: 4 / 5; }
.media--detail { aspect-ratio: 4 / 3; border-radius: var(--r-md); }
.media--wide { aspect-ratio: 3 / 2; }
.media--pv { aspect-ratio: 3 / 2; background: var(--navy-800); }

/* --------------------------------------------------------------------------
   Szekciók
   -------------------------------------------------------------------------- */
.section { position: relative; overflow: clip; padding-block: var(--section-y); }
.section > .wrap { position: relative; z-index: 1; }
.system, .trust { background: var(--bg); }

/* Sötét szekciók: lekerekített, beljebb húzott panelek a világos oldalon –
   így a fehér és a sötétkék közti váltás nem éles, teljes szélességű vágás */
.pv, .contact {
  margin: clamp(8px, 1.6vw, 20px);
  border-radius: clamp(20px, 3vw, 36px);
}

.section-head {
  display: grid;
  gap: 0;
  margin-bottom: clamp(48px, 5vw, 72px);
  max-width: 760px;
}

/* --------------------------------------------------------------------------
   Díszítőelemek – napív, kapcsolási rajz, pontrács, eltolt keret
   -------------------------------------------------------------------------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco--dots {
  background-image: radial-gradient(circle, currentColor 1.4px, transparent 1.7px);
  background-size: 16px 16px;
}
.framed { position: relative; }
.framed::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--yellow);
  border-radius: var(--r-lg);
  z-index: 0;
  pointer-events: none;
}
.framed > picture, .framed > .media { position: relative; z-index: 1; }
@media (max-width: 639px) { .framed::before { inset: 10px -8px -10px 8px; } }

.deco--hero-arcs { top: -90px; right: -110px; width: 380px; height: 380px; color: var(--yellow); opacity: 0.45; }
.deco--hero-dots { right: -26px; bottom: -26px; width: 168px; height: 128px; color: var(--yellow); opacity: 0.5; }
.hero__media .media--hero { z-index: 1; }
.hero__detail { z-index: 2; }

.deco--ev-circuit { top: 56px; right: -60px; width: 340px; height: 234px; color: var(--border-strong); opacity: 0.7; }
.deco--pv-arcs { top: 0; right: 0; width: min(420px, 60%); height: 420px; color: var(--yellow); opacity: 0.14; }
.deco--pv-dots { left: clamp(16px, 3vw, 40px); bottom: clamp(24px, 4vw, 56px); width: 180px; height: 120px; color: var(--yellow); opacity: 0.25; }
.deco--process-circuit { left: -50px; bottom: 24px; width: 320px; height: 220px; color: var(--border-strong); opacity: 0.6; transform: scaleX(-1); }
.deco--trust-dots { top: clamp(48px, 7vw, 96px); right: 3%; width: 220px; height: 150px; color: var(--navy-500); opacity: 0.22; }
.deco--contact-arcs { left: 0; bottom: 0; width: min(420px, 70%); height: 420px; color: var(--yellow); opacity: 0.2; transform: rotate(180deg); }
@media (max-width: 639px) {
  .deco--hero-arcs { width: 240px; height: 240px; top: -56px; right: -70px; }
  .deco--ev-circuit, .deco--process-circuit { width: 220px; height: 150px; }
  .deco--trust-dots { width: 140px; height: 100px; }
}

/* --------------------------------------------------------------------------
   Nyitószekció – sötétkék, finom műszaki rácsháttérrel
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(48px, 7vw, 104px) clamp(64px, 8vw, 120px);
  background-color: var(--navy-900);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  color: var(--on-dark-muted);
  overflow: clip;
}
.hero :focus-visible { outline-color: var(--yellow); }
.hero .ph { background: rgba(226, 196, 91, 0.14); color: var(--yellow); outline-color: rgba(226, 196, 91, 0.55); }
.hero__grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero__text { display: grid; gap: 28px; justify-items: start; min-width: 0; container-type: inline-size; }

.pill {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  font-weight: 550;
  color: #dbe3ee;
  line-height: 1.4;
}
.pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(226, 196, 91, 0.25);
}

.hero .hero__title { color: var(--on-dark); }
.hero__title-em { display: block; color: var(--yellow); }
.hero__lead {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  color: #dbe3ee;
  max-width: 40ch;
}

.chooser {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin-top: 8px;
}
@media (min-width: 560px) {
  .chooser { grid-template-columns: 1fr 1fr; }
}
.chooser__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 18px 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  background: var(--navy-800);
  color: var(--on-dark);
  text-decoration: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.chooser__item:hover { border-color: var(--yellow); background: var(--navy-700); }
.chooser__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--r-sm);
  background: var(--yellow);
  color: var(--navy-900);
}
.chooser__icon svg { width: 24px; height: 24px; }
.chooser__body { display: grid; gap: 2px; }
.chooser__title {
  font-family: var(--font-head);
  font-weight: 640;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--on-dark);
}
.chooser__desc { font-size: 0.875rem; line-height: 1.4; color: var(--on-dark-muted); }
.chooser__arrow { width: 20px; height: 20px; color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) {
  .chooser__arrow { transition: transform 0.18s var(--ease); }
  .chooser__item:hover .chooser__arrow { transform: translateY(3px); }
}

.hero__media { position: relative; min-width: 0; }
.hero__media .media--hero { aspect-ratio: 4 / 3; background: var(--navy-800); }
.hero__detail {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 42%;
  max-width: 260px;
  padding: 5px;
  border-radius: calc(var(--r-md) + 5px);
  background: var(--navy-900);
}
.hero__caption {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.4;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(48px, 5vw, 88px);
  }
  .hero__media { padding-left: 40px; }
  .hero__media .media--hero { aspect-ratio: 4 / 5; max-height: 620px; width: 100%; }
  .hero__detail { left: 0; bottom: 40px; width: 46%; }
}

/* --------------------------------------------------------------------------
   Sárga sáv
   -------------------------------------------------------------------------- */
.band { background: var(--yellow); color: var(--navy-900); }
.band .ph { background: rgba(255, 255, 255, 0.55); outline-color: rgba(11, 30, 58, 0.45); }
.band__list {
  display: grid;
  gap: 14px 32px;
  padding-block: 22px;
  font-weight: 620;
  font-size: 0.9375rem;
  line-height: 1.3;
}
@media (min-width: 640px) { .band__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .band__list { grid-template-columns: repeat(4, auto); justify-content: space-between; padding-block: 26px; }
}
.band__list li { display: flex; align-items: center; gap: 10px; }
.band__list svg { width: 22px; height: 22px; flex: none; }

/* --------------------------------------------------------------------------
   01 Érintésvédelem
   -------------------------------------------------------------------------- */
.ev__head { display: grid; gap: 48px; align-items: center; }
.ev__intro { display: grid; gap: 24px; justify-items: start; align-content: start; }
.ev__intro .eyebrow, .ev__intro .h2 { margin-bottom: 0; }
.ev__photo { display: grid; gap: 32px; min-width: 0; }
.ev__photo .stats { margin-top: 0; }
.ev__photo .ev__term { margin-top: -18px; }
.ev__term { font-size: 0.875rem; color: var(--muted); max-width: 56ch; }
@media (min-width: 1024px) {
  .ev__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 104px); }
}

.ev__intro .scope { margin-top: -4px; }
.scope.scope--light li { background: var(--surface); border-color: var(--border); color: var(--ink); }
.scope.scope--light svg { color: var(--navy-900); }
.stats.stats--light { margin: 0; grid-template-columns: 1fr 1fr; }
.stats.stats--light .stat { background: var(--navy-900); border-color: var(--navy-900); }
.stats.stats--row { margin-top: clamp(48px, 5vw, 72px); grid-template-columns: 1fr; }
@media (min-width: 640px) { .stats.stats--row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stats__note.stats__note--light { color: var(--muted); }
.note--info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
  font-size: 0.9375rem;
}
.stats.stats--light .stat__value { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); }

.when { margin-top: clamp(72px, 8vw, 112px); }
.when .h3 { margin-bottom: 28px; }
.when__grid { display: grid; gap: 12px; }
.when__grid { grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .when__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.when__item {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  font-family: var(--font-head);
  font-weight: 630;
  font-size: 1.125rem;
  line-height: 1.3;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s var(--ease);
}
.when__item:hover { border-color: var(--navy-500); }
@media (prefers-reduced-motion: no-preference) {
  .when__item:hover { transform: translateY(-3px); }
}
.when__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--navy-900);
}
.when__icon svg { width: 24px; height: 24px; }
.when__item:hover .when__icon { background: var(--yellow); }
.when__notes { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 900px) {
  .when__notes { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
}

.note { font-size: 0.875rem; color: var(--muted); }
.note--warn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #e6d39a;
  border-radius: var(--r-sm);
  background: var(--yellow-tint);
  color: var(--text);
  font-size: 0.9375rem;
}
.note__icon { width: 22px; height: 22px; flex: none; color: var(--navy-900); }

.flow {
  margin-top: clamp(72px, 8vw, 112px);
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.flow__title { margin-bottom: 36px; }

/* --------------------------------------------------------------------------
   Idővonal (felülvizsgálat menete, munka menete)
   Görgetés közben „folyik az áram” a vezetékben: a kitöltés és a szikra
   követi a görgetést, az elért lépések felkapcsolnak. JS nélkül statikus.
   -------------------------------------------------------------------------- */
.timeline-wrap { position: relative; }
.timeline { display: grid; gap: 28px; position: relative; }
.timeline__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-content: start;
  gap: 16px;
  position: relative;
}
.timeline__body { display: grid; gap: 6px; align-content: start; padding-top: 11px; }
.timeline__body p { font-size: 0.9375rem; color: var(--muted); max-width: 44ch; }
.timeline__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--navy-500);
  font-family: var(--font-head);
  font-weight: 680;
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline__item.is-on .timeline__num,
html:not(.js) .timeline__num {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--yellow);
  box-shadow: 0 0 0 5px rgba(226, 196, 91, 0.35);
}

/* A vezeték: a JS a lépésszámok középpontjai közé illeszti */
.timeline__track {
  display: none;
  position: absolute;
  z-index: 0;
  background: var(--border-strong);
  pointer-events: none;
}
.js .timeline__track.is-ready { display: block; }
.timeline__fill {
  position: absolute;
  inset: 0;
  background: var(--navy-900);
  transform-origin: 0 0;
  transform: scaleX(var(--p, 0));
}
.timeline__spark {
  position: absolute;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--navy-900), 0 0 14px 4px rgba(226, 196, 91, 0.75);
  left: calc(var(--p, 0) * 100%);
  top: 50%;
  opacity: var(--spark, 0);
  transition: opacity 0.2s ease;
}
.timeline__track.is-vertical .timeline__fill { transform: scaleY(var(--p, 0)); }
.timeline__track.is-vertical .timeline__spark { left: 50%; top: calc(var(--p, 0) * 100%); }

@media (min-width: 900px) {
  .timeline--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .timeline--3 .timeline__item { grid-template-columns: 1fr; gap: 16px; }
  .timeline--3 .timeline__body { padding-top: 0; }
}
@media (min-width: 1024px) {
  .timeline--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
  .timeline--4 .timeline__item { grid-template-columns: 1fr; gap: 16px; }
  .timeline--4 .timeline__body { padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .timeline__num, .timeline__spark { transition: none; }
}

/* --------------------------------------------------------------------------
   02 Napelemes rendszerek – sötétkék szekció
   -------------------------------------------------------------------------- */
.pv { background: var(--navy-900); color: var(--on-dark-muted); }
.pv .h2, .pv .h3, .pv .h4 { color: var(--on-dark); }
.pv .lead { color: #dbe3ee; }
.pv strong { color: var(--on-dark); }

.pv__head { display: grid; gap: 48px; align-items: center; }
.pv__intro { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.pv__intro .eyebrow { margin-bottom: 0; }
@media (min-width: 1024px) {
  .pv__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(56px, 7vw, 104px); }
  .pv__photo { order: -1; }
}

.scope { display: flex; flex-wrap: wrap; gap: 10px; }
.scope li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--navy-800);
  color: var(--on-dark);
  font-weight: 600;
  font-size: 0.9375rem;
}
.scope svg { width: 18px; height: 18px; color: var(--yellow); }

/* Tájékoztató számok */
.stats {
  display: grid;
  gap: 12px;
  margin: clamp(56px, 6vw, 88px) 0 0;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 6px;
  padding: clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  background: var(--navy-800);
}
.stat__value {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 85%;
  font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.stat__label { font-size: 0.9375rem; color: var(--on-dark-muted); }
.stats__note { margin-top: 12px; font-size: 0.8125rem; color: var(--on-dark-muted); }

/* Így működik – sötét idővonal ikonokkal */
.pv__how { margin-top: clamp(72px, 8vw, 112px); }
.timeline-wrap--dark .timeline__track { background: rgba(255, 255, 255, 0.18); }
.timeline-wrap--dark .timeline__fill { background: var(--yellow); }
.timeline-wrap--dark .timeline__spark { box-shadow: 0 0 0 3px var(--navy-900), 0 0 16px 5px rgba(226, 196, 91, 0.8); }
.timeline-wrap--dark .timeline__num { background: var(--navy-800); border-color: rgba(255, 255, 255, 0.22); color: var(--on-dark-muted); }
.timeline-wrap--dark .timeline__item.is-on .timeline__num,
html:not(.js) .timeline-wrap--dark .timeline__num { background: var(--yellow); border-color: var(--yellow); color: var(--navy-900); box-shadow: 0 0 0 5px rgba(226, 196, 91, 0.18); }
.timeline-wrap--dark .timeline__body p { color: var(--on-dark-muted); }
.timeline__num svg { width: 22px; height: 22px; }
.pv__monitor {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.9375rem;
}
.pv__monitor svg { width: 20px; height: 20px; flex: none; color: var(--yellow); }
.pv__cta-text { display: grid; gap: 6px; }
.pv__cta-title { font-family: var(--font-head); font-weight: 640; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.3; color: var(--on-dark) !important; }

.pv__cta {
  display: grid;
  gap: 20px;
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-md);
  background: var(--navy-700);
}
.pv__cta p { color: #dbe3ee; max-width: 56ch; }
@media (min-width: 900px) {
  .pv__cta { grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
}

/* --------------------------------------------------------------------------
   A munka menete
   -------------------------------------------------------------------------- */
.process { background: var(--surface); }

/* --------------------------------------------------------------------------
   Rólunk – csapat és vállalások
   -------------------------------------------------------------------------- */
.trust__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) {
  .trust__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(56px, 7vw, 104px); }
}
.trust__head { display: grid; gap: 28px; justify-items: start; }
.trust__head .eyebrow { margin-bottom: -4px; }
.team { display: grid; gap: 10px; width: 100%; }
.team li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-head);
  font-weight: 630;
  font-size: 1.125rem;
  color: var(--ink);
}
.team li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--navy-900);
}
.trust__grid > * { min-width: 0; }
.promises { display: grid; gap: 12px; }
@media (min-width: 420px) { .promises { grid-template-columns: 1fr 1fr; } }
@media (min-width: 640px) { .promises { gap: 16px; } }
.promise {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: clamp(18px, 2.5vw, 28px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.promise__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
  border-radius: var(--r-sm);
  background: var(--navy-900);
  color: var(--yellow);
}
.promise__icon svg { width: 24px; height: 24px; }
.promise__title {
  font-family: var(--font-head);
  font-weight: 640;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.25;
  color: var(--ink);
}
.promise__text { font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }

/* Munkáinkból – valódi munkafotók */
.work { margin-top: clamp(64px, 7vw, 96px); }
.work__grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .work__grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.media--work { aspect-ratio: 4 / 3; }

/* --------------------------------------------------------------------------
   Ajánlatkérés
   -------------------------------------------------------------------------- */
.contact { background: var(--navy-900); color: var(--on-dark-muted); }
.contact__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 88px); align-items: start; }
}
.contact__info { display: grid; gap: 20px; align-content: start; min-width: 0; }
.contact__info .eyebrow { margin-bottom: 0; }
.contact__info .h2 { color: var(--on-dark); }
.contact__info .lead { color: #dbe3ee; }

.contact__list { display: grid; gap: 18px; margin-top: 20px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.contact__list li { display: flex; gap: 14px; align-items: center; }
.contact__list li > span:last-child { display: grid; line-height: 1.4; min-width: 0; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--navy-800);
  color: var(--yellow);
}
.contact__icon svg { width: 20px; height: 20px; }
.contact__k { font-size: 0.8125rem; color: var(--on-dark-muted); }
.contact__list a { font-weight: 650; font-size: 1.125rem; color: var(--on-dark); justify-self: start; text-decoration: none; }
.contact__list a:hover { color: var(--yellow); }
.contact__more { font-size: 0.9375rem; color: var(--on-dark-muted); max-width: 44ch; }

.contact__form {
  min-width: 0;
  padding: clamp(20px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--bg);
  color: var(--text);
}

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; gap: 16px; } }

.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field__label { font-weight: 600; font-size: 0.9375rem; line-height: 1.3; padding: 0; color: var(--ink); }
legend.field__label { margin-bottom: 10px; }
.field__opt { font-weight: 400; color: var(--muted); }
.req { color: var(--error); }

.field__input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field__input::placeholder { color: #7d8aa0; }
.field__input:hover { border-color: var(--navy-500); }
.field__input:focus-visible {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(11, 30, 58, 0.18);
}
.field__input--area { min-height: 120px; resize: vertical; }
.field__input[aria-invalid="true"] { border-color: var(--error); }
.field__input[aria-invalid="true"]:focus-visible { box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.18); }

.field__hint {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.45;
}
.field__count { flex: none; font-variant-numeric: tabular-nums; }
.field__error { font-size: 0.875rem; font-weight: 600; color: var(--error); line-height: 1.4; }
.field__error:empty { display: none; }


.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__actions { display: grid; gap: 14px; margin-top: 4px; }
.form__legal { font-size: 0.8125rem; color: var(--muted); }
/* JavaScript nélkül az EmailJS-űrlap nem küldhető: elrejtjük, a <noscript> üzenet látszik */
html:not(.js) #ajanlat-urlap,
html:not(.js) #gyors-urlap { display: none; }
/* Kérdőív: választós kérdések kártyákként */
.field--choice { gap: 10px; }
.q-num {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: 1px;
}
.choices { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  cursor: pointer;
  font-weight: 550;
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.choice:hover { border-color: var(--navy-500); }
.choice input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--navy-900); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--navy-900); background: var(--yellow-tint); box-shadow: inset 0 0 0 1px var(--navy-900); }
.choice:has(input:focus-visible) { outline: 2px solid var(--navy-900); outline-offset: 2px; }
.field--choice.is-invalid .choice { border-color: var(--error); }

/* Kapcsolattartási adatok csoportja */
.form__group { display: grid; gap: 16px; margin: 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--border); }
.form__group-title { padding: 0; margin-bottom: 4px; font-family: var(--font-head); font-weight: 650; font-size: 1.0625rem; color: var(--ink); }

/* Kitöltés-jelző: a kötelező kérdések közül hány van már rendben */
.form__progress { display: grid; gap: 8px; margin-bottom: 4px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.form__progress b { color: var(--ink); font-variant-numeric: tabular-nums; }
.form__progress-bar { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface); }
.form__progress-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform 0.35s var(--ease);
}

/* Adatkezelési jelölőnégyzet */
.check { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9375rem; line-height: 1.5; color: var(--text); cursor: pointer; }
.check input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--navy-900); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.check a { color: var(--navy-700); text-underline-offset: 2px; }
.field--check .field__error { padding-left: 36px; }

.form__noscript {
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--text);
}
.form__submit[disabled] { cursor: progress; opacity: 0.7; }

.form__summary,
.form__status.is-error {
  padding: 14px 16px;
  border: 1px solid #f3b8b3;
  border-radius: var(--r-sm);
  background: var(--error-bg);
  color: var(--ink);
  font-size: 0.9375rem;
}
.form__summary-title { font-weight: 650; margin-bottom: 4px; }
.form__summary ul { padding-left: 1.2em; display: grid; gap: 2px; }
.form__summary a { font-weight: 550; }
.form__status:empty { display: none; }
.form__status.is-sending { color: var(--muted); font-size: 0.9375rem; }
.form__status strong { display: block; margin-bottom: 2px; }


/* --------------------------------------------------------------------------
   Köszönőoldal
   -------------------------------------------------------------------------- */
.btn__icon--back { transform: rotate(180deg); }
.btn:hover .btn__icon--back { transform: rotate(180deg) translateX(3px); }
.thanks {
  position: relative;
  overflow: clip;
  padding-block: clamp(64px, 9vw, 128px);
  background-color: var(--navy-900);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--on-dark-muted);
}
.thanks__inner { position: relative; z-index: 1; display: grid; gap: 24px; justify-items: start; }
.thanks__inner > * { max-width: 860px; }
.page-thanks .site-header__inner { flex-wrap: nowrap; }
@media (max-width: 419px) {
  .btn__more { display: none; }
  .deco--thanks-dots { display: none; }
}
.deco--thanks-arcs { top: -40px; right: -40px; }
.deco--thanks-dots { right: 6%; bottom: 32px; width: 180px; height: 120px; color: var(--yellow); opacity: 0.35; }
.thanks__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-900);
  box-shadow: 0 0 0 8px rgba(226, 196, 91, 0.18);
}
.thanks__icon svg { width: 32px; height: 32px; }
.thanks__title {
  font-family: var(--font-head);
  font-size: clamp(2.125rem, 1.4rem + 3vw, 3.75rem);
  font-weight: 680;
  font-stretch: 88%;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--on-dark);
  text-wrap: balance;
}
.thanks__lead { font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); color: #dbe3ee; max-width: 46ch; }
.thanks-next { background: var(--bg); }
.thanks-next__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 900px) { .thanks-next__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(48px, 6vw, 96px); } }
.thanks-next .h2 { margin-bottom: 32px; }
.next-steps { display: grid; gap: 14px; }
.next-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 1.0625rem;
  line-height: 1.45;
}
.next-steps__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 680;
}
.prep {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.prep__tip { display: grid; gap: 6px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.prep__label { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.prep__label svg { width: 20px; height: 20px; color: var(--navy-900); }
.prep__tip p:not(.prep__label) { font-size: 0.9375rem; color: var(--text); }
.prep__contact { display: grid; gap: 4px; }
.prep__contact p { font-size: 0.9375rem; color: var(--muted); }
.prep__phone { font-family: var(--font-head); font-weight: 680; font-size: 1.5rem; color: var(--ink); text-decoration: none; }
.prep__mail { font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   Lábléc
   -------------------------------------------------------------------------- */
.site-footer {
  background: #081629;
  color: var(--on-dark-muted);
  font-size: 0.875rem;
  padding-top: clamp(48px, 6vw, 72px);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 900px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1.4fr 0.8fr; gap: var(--gap); }
}
.site-footer__brand { display: grid; gap: 14px; align-content: start; max-width: 34ch; }
.site-footer__data { display: grid; gap: 12px; }
.site-footer__data dt { font-size: 0.75rem; letter-spacing: 0.04em; }
.site-footer__data dd { color: var(--on-dark); }
.site-footer__nav ul { display: grid; gap: 2px; }
.site-footer__nav a,
.site-footer__bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--on-dark);
  text-decoration: none;
}
.site-footer__nav a:hover,
.site-footer__bottom a:hover { color: var(--yellow); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-block: 18px;
  border-top: 1px solid var(--line-dark);
}
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: 0 20px; }
.link-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--on-dark);
  cursor: pointer;
}
.link-btn:hover { color: var(--yellow); }

/* A cégnév nagy, halvány felirata a lábléc alján */
.site-footer { position: relative; overflow: clip; }
.site-footer > .wrap { position: relative; z-index: 1; }
.site-footer__watermark {
  margin: 4px 0 -0.2em;
  font-family: var(--font-head);
  font-size: min(16.5vw, 15rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  color: #0e223f;
  -webkit-text-stroke: 1px rgba(226, 196, 91, 0.28);
  pointer-events: none;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Finom megjelenés (csak ha a JS elindult és nincs csökkentett mozgás)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }
  .reveal-ready [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media print {
  .site-header, .contact__form, .deco { display: none; }
  .pv, .contact, .site-footer { background: none; color: #000; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 639px) {
  .when__item { padding: 18px 16px; gap: 14px; font-size: 1rem; }
  .when__icon { width: 40px; height: 40px; }
  .band__list { grid-template-columns: 1fr 1fr; font-size: 0.875rem; }
}

/* --------------------------------------------------------------------------
   Jogi oldalak: adatkezelés, sütik, impresszum
   -------------------------------------------------------------------------- */
.legal { background: var(--bg); }
.prose { display: grid; gap: 16px; color: var(--text); line-height: 1.7; }
/* A szöveg kb. 72 karakter széles, a táblázat kihasználhatja a teljes hasábot */
.prose > :not(.table-scroll) { max-width: 72ch; }
.prose h2 {
  margin-top: 28px;
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  font-weight: 640;
  font-stretch: 90%;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 8px; font-size: 1.0625rem; font-weight: 650; color: var(--ink); }
.prose ul { display: grid; gap: 6px; margin: 0; padding-left: 1.25em; }
.prose a { color: var(--navy-700); text-underline-offset: 2px; }
.prose a:hover { color: var(--navy-900); }
.prose code { padding: 0 0.3em; border-radius: 4px; background: var(--surface); font-size: 0.875em; color: var(--ink); }
.legal__meta { font-size: 0.875rem; color: var(--muted); }
.legal__data {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--border);
}
.legal__data > div { display: grid; gap: 2px; padding-block: 12px; border-bottom: 1px solid var(--border); }
@media (min-width: 640px) { .legal__data > div { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.legal__data dt { font-weight: 600; color: var(--ink); }
.legal__data dd { min-width: 0; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-sm); }
.table-scroll table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
.table-scroll th, .table-scroll td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.table-scroll th { background: var(--surface); color: var(--ink); font-weight: 650; }
.table-scroll tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   Gyors ajánlatkérés a nyitószekció alatt
   -------------------------------------------------------------------------- */
.quick { background: var(--surface); padding-block: clamp(64px, 8vw, 112px); }
.quick__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) {
  .quick__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  /* A kérdőív hosszú: a bevezető görgetés közben a fejléc alatt marad */
  .quick__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}
.quick__intro { display: grid; gap: 22px; justify-items: start; }
.quick__intro .eyebrow { margin-bottom: 0; }
.quick__intro .eyebrow__num svg { width: 14px; height: 14px; }
.quick__title { position: relative; isolation: isolate; }
/* Arany kiemelés a „most” szó alatt – a sötétkék szöveg olvasható marad */
.quick__mark { position: relative; white-space: nowrap; }
.quick__mark::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.34em;
  border-radius: 3px;
  background: var(--yellow);
  transform-origin: left center;
}
.quick__points { display: grid; gap: 12px; }
.quick__points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.quick__point-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--navy-900);
  color: var(--yellow);
}
.quick__point-icon svg { width: 18px; height: 18px; }
.quick__call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.quick__call:hover { border-color: var(--navy-900); }
.quick__call-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy-900);
}
.quick__call-icon svg { width: 20px; height: 20px; }
.quick__call-body { display: grid; line-height: 1.25; }
.quick__call-k { font-size: 0.8125rem; color: var(--muted); }
.quick__call-num { font-family: var(--font-head); font-weight: 680; font-size: 1.125rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }

.quick__frame { min-width: 0; }
.quick__form {
  position: relative;
  z-index: 1;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
}
.deco--quick-circuit { left: -60px; bottom: 16px; width: 320px; height: 220px; color: var(--border-strong); opacity: 0.7; transform: scaleX(-1); }
.deco--quick-dots { top: clamp(32px, 5vw, 64px); right: 3%; width: 200px; height: 130px; color: var(--navy-500); opacity: 0.2; }
@media (max-width: 639px) {
  .deco--quick-circuit { width: 220px; height: 150px; }
  .deco--quick-dots { width: 120px; height: 90px; }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .quick__intro[data-reveal] .quick__mark::after { transform: scaleX(0); transition: transform 0.7s var(--ease) 0.35s; }
  .reveal-ready .quick__intro[data-reveal].is-visible .quick__mark::after { transform: none; }
  .reveal-ready .quick__intro[data-reveal] .quick__points li { opacity: 0; transform: translateX(-12px); transition: opacity 0.5s ease, transform 0.5s var(--ease); }
  .reveal-ready .quick__intro[data-reveal].is-visible .quick__points li { opacity: 1; transform: none; }
  .reveal-ready .quick__intro[data-reveal] .quick__points li:nth-child(1) { transition-delay: 0.25s; }
  .reveal-ready .quick__intro[data-reveal] .quick__points li:nth-child(2) { transition-delay: 0.35s; }
  .reveal-ready .quick__intro[data-reveal] .quick__points li:nth-child(3) { transition-delay: 0.45s; }
  .js .quick__call-icon { animation: ring 3.2s ease-in-out 1.5s infinite; }
  @keyframes ring { 0%, 86%, 100% { transform: none; } 88% { transform: rotate(-14deg); } 91% { transform: rotate(12deg); } 94% { transform: rotate(-8deg); } 97% { transform: rotate(5deg); } }
}

/* --------------------------------------------------------------------------
   Süti-hozzájárulás
   -------------------------------------------------------------------------- */
.consent {
  position: fixed;
  z-index: 90;
  left: max(16px, env(safe-area-inset-left, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 12px;
  max-width: 520px;
  padding: 20px 22px;
  border: 1px solid rgba(226, 196, 91, 0.35);
  border-radius: var(--r-lg);
  background: var(--navy-900);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.consent__title { font-family: var(--font-head); font-weight: 650; font-size: 1.0625rem; color: var(--on-dark); }
.consent a { color: var(--yellow); text-underline-offset: 2px; }
.consent :focus-visible { outline-color: var(--yellow); }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.consent__actions .btn { flex: 1 1 140px; }
.btn--outline { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5); }
.btn--outline:hover { box-shadow: inset 0 0 0 1px var(--on-dark); }
@media (prefers-reduced-motion: no-preference) {
  .consent:not([hidden]) { animation: consent-in 0.35s var(--ease) both; }
  @keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }
}

/* --------------------------------------------------------------------------
   Műszerkijelző a nyitószekció fotóján (szemléltető mérési példák)
   -------------------------------------------------------------------------- */
.meter {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  gap: 4px;
  width: 236px;
  padding: 12px 14px 12px;
  border: 1px solid rgba(226, 196, 91, 0.55);
  border-radius: var(--r-md);
  background: var(--navy-900);
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  line-height: 1.35;
}
.meter p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter__head { display: flex; align-items: center; gap: 6px; font-weight: 650; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.6875rem; }
.meter__led { width: 7px; height: 7px; border-radius: 50%; background: #5bd38a; flex: none; }
.meter__label { margin-top: 4px; color: var(--on-dark); font-weight: 600; font-size: 0.8125rem; }
.meter__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 85%;
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
}
.meter__ok { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: #5bd38a; font-weight: 650; letter-spacing: 0; text-transform: none; flex: none; }
.meter__ok svg { width: 13px; height: 13px; }
@media (max-width: 479px) {
  .meter { top: 10px; right: 10px; width: 206px; padding: 10px 12px; }
  .meter__value { font-size: 1.5rem; }
}
@media (min-width: 1024px) { .meter { top: 28px; right: -18px; } }

/* Felpörgő számok: a szélesség rögzített, így a számolás nem mozgatja a szöveget */
.count { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }

/* Kártyák és munkafotók: finom reakció egérrámutatásra */
.promise { transition: border-color 0.2s ease, transform 0.25s var(--ease); }
.promise:hover { border-color: var(--yellow); }
.promise__icon { transition: background-color 0.2s ease, color 0.2s ease; }
.promise:hover .promise__icon { background: var(--yellow); color: var(--navy-900); }
.work__item .media img { transition: transform 0.6s var(--ease); }
.pill__dot { position: relative; }

/* --------------------------------------------------------------------------
   Mozgás – csak JS mellett és ha nincs csökkentett mozgás beállítva.
   JS nélkül és csökkentett mozgásnál minden statikus és azonnal látható.
   -------------------------------------------------------------------------- */
.flow { stroke: var(--yellow); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* Nyitószekció: a szöveg sorban beemelkedik, a fotó oldalról kinyílik */
  .js .hero__text > * { animation: rise 0.7s var(--ease) both; }
  .js .hero__text > :nth-child(2) { animation-delay: 0.08s; }
  .js .hero__text > :nth-child(3) { animation-delay: 0.16s; }
  .js .hero__text > :nth-child(4) { animation-delay: 0.24s; }
  .js .hero__media .media--hero { animation: open-x 1s var(--ease) 0.15s both; }
  .js .hero__detail { animation: rise 0.7s var(--ease) 0.55s both; }
  .js .meter { animation: rise 0.7s var(--ease) 0.75s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes open-x { from { clip-path: inset(0 0 0 100% round var(--r-lg)); } to { clip-path: inset(0 round var(--r-lg)); } }

  /* Élő jelzőfények */
  .js .pill__dot::after,
  .js .meter__led {
    animation: ping 2.2s ease-out infinite;
  }
  .js .pill__dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--yellow);
  }
  .js .meter__led { animation-name: blink; }
  @keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
  @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
  .js .meter.is-switching [data-meter-label],
  .js .meter.is-switching [data-meter-limit] { opacity: 0; transform: translateY(-4px); }
  .js .meter [data-meter-label],
  .js .meter [data-meter-limit] { transition: opacity 0.25s ease, transform 0.25s ease; }

  /* Napív: az ívek kirajzolódnak, a csomópontok pulzálnak */
  .js .deco--live .arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s var(--ease) 0.2s forwards; }
  .js .deco--live .arc:nth-child(2) { animation-delay: 0.35s; }
  .js .deco--live .arc:nth-child(3) { animation-delay: 0.5s; }
  .js .deco--live .arc:nth-child(4) { animation-delay: 0.65s; }
  .js .deco--live .arc:nth-child(5) { animation-delay: 0.8s; }
  .js .deco--live .node { transform-box: fill-box; transform-origin: center; animation: node 2.6s ease-in-out infinite; }
  .js .deco--live .node:nth-child(2) { animation-delay: 0.6s; }
  .js .deco--live .node:nth-child(3) { animation-delay: 1.2s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes node { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }

  /* Kapcsolási rajz: arany „áramimpulzus” fut végig a vezetékeken */
  .js .flow { opacity: 1; stroke-dasharray: 0.07 0.93; animation: flow 3.4s linear infinite; }
  .js .flow:nth-child(2) { animation-duration: 4.2s; animation-delay: -1.1s; }
  .js .flow:nth-child(3) { animation-duration: 3s; animation-delay: -2s; }
  .js .flow:nth-child(4) { animation-duration: 2.4s; animation-delay: -0.6s; }
  @keyframes flow { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

  /* Fotók: görgetéskor kinyílnak, az arany keret a helyére csúszik */
  .reveal-ready [data-reveal] .framed > picture,
  .reveal-ready .framed[data-reveal] > picture {
    clip-path: inset(0 100% 0 0 round var(--r-lg));
    transition: clip-path 1s var(--ease) 0.12s;
  }
  .reveal-ready [data-reveal].is-visible .framed > picture,
  .reveal-ready .framed[data-reveal].is-visible > picture { clip-path: inset(0 round var(--r-lg)); }
  .reveal-ready [data-reveal] .framed::before,
  .reveal-ready .framed[data-reveal]::before {
    opacity: 0;
    transform: translate(-14px, -14px);
    transition: transform 0.9s var(--ease) 0.4s, opacity 0.5s ease 0.4s;
  }
  .reveal-ready [data-reveal].is-visible .framed::before,
  .reveal-ready .framed[data-reveal].is-visible::before { opacity: 1; transform: none; }

  /* Szakaszszám: kis „felkapcsolás” megjelenéskor */
  .reveal-ready [data-reveal] .eyebrow__num { transform: scale(0.4); transition: transform 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0.15s; }
  .reveal-ready [data-reveal].is-visible .eyebrow__num { transform: none; }

  .promise:hover { transform: translateY(-4px); }
  .work__item:hover .media img { transform: scale(1.04); }
  .btn--primary:hover { transform: translateY(-1px); }
  .btn { transition: background-color 0.15s ease, color 0.15s ease, transform 0.2s var(--ease); }
}

/* A footer feletti kérdőív is hosszú: az elérhetőségek görgetés közben a fejléc alatt maradnak */
@media (min-width: 960px) {
  .contact__grid { align-items: start; }
  .contact__info { position: sticky; top: calc(var(--header-h) + 32px); }
}
