/* ============================================================
   AquaStrang – Főoldal HTML v1
   Mobile-first. Minden design érték tokenizálva (spec 8. pont).
   Töréspontok: 640px (nagy mobil/tablet), 1024px (desktop).
   ============================================================ */

/* ---------- 1. DESIGN TOKENEK ---------- */
:root {
  /* Színek – a jóváhagyott látványtervből mintavételezve */
  --color-navy:        #01224b;   /* footer, CTA sáv, sötét címsor */
  --color-navy-deep:   #001440;   /* H1 legsötétebb tónus */
  --color-blue:        #0068c3;   /* elsődleges gomb alap */
  --color-blue-strong: #007ed4;   /* gomb gradiens vége, hover */
  --color-cyan:        #0086df;   /* H1 kiemelés, linkek, ikonok */
  --color-cyan-soft:   #e2f1f8;   /* halvány ikonháttér */

  --color-text:        #1d2a3d;
  --color-muted:       #5b6b80;
  --color-heading:     var(--color-navy-deep);

  --color-bg:          #fdfdfd;   /* oldal háttér */
  --color-surface:     #ffffff;   /* kártya */
  --color-surface-alt: #f7f8fa;   /* FAQ elem */
  --color-band:        #f1f7fd;   /* világoskék szekciósáv */
  --color-border:      #e4e9f0;
  --color-star:        #fbad0c;

  /* Tipográfia */
  --font-heading: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --fs-h1:      clamp(2rem, 1.15rem + 3.6vw, 3.5rem);
  --fs-h2:      clamp(1.5rem, 1.1rem + 1.7vw, 2.25rem);
  --fs-h3:      clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  --fs-lead:    clamp(1rem, 0.96rem + 0.25vw, 1.125rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-xs:      0.8125rem;

  --lh-tight:   1.15;
  --lh-normal:  1.65;

  /* Forma */
  --radius-card:   14px;
  --radius-btn:    8px;
  --radius-pill:   999px;
  --shadow-card:   0 2px 4px rgba(1, 34, 75, .04), 0 10px 28px rgba(1, 34, 75, .07);
  --shadow-float:  0 4px 10px rgba(1, 34, 75, .06), 0 18px 44px rgba(1, 34, 75, .10);
  --shadow-btn:    0 6px 16px rgba(0, 104, 195, .28);

  /* Layout */
  --container-max:  1320px;
  --container-pad:  20px;
  --gap-card:       20px;

  --section-space-mobile:  52px;
  --section-space-tablet:  68px;
  --section-space-desktop: 88px;
  --section-space: var(--section-space-mobile);

  --header-h: 64px;
}

@media (min-width: 640px)  { :root { --container-pad: 28px; --gap-card: 22px; --section-space: var(--section-space-tablet); } }
@media (min-width: 1024px) { :root { --container-pad: 32px; --gap-card: 24px; --section-space: var(--section-space-desktop); --header-h: 84px; } }


/* ---------- 2. ALAPOK ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;           /* biztosíték vízszintes scroll ellen */
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: var(--lh-tight);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}

p  { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--color-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--color-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.text-accent { color: var(--color-cyan); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-navy); color: #fff;
  padding: 12px 18px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }


/* ---------- 3. LAYOUT SEGÉDOSZTÁLYOK ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--section-space); }

/* Világoskék sáv: a látványterven lekerekített, konténerbe húzott blokk.
   Kadence: Row Layout háttérszínnel + border radius. */
.section--band { padding-block: 0; }
.section--band > .container { padding-inline: 0; }
.section--band .band-inner {
  background: var(--color-band);
  border-radius: var(--radius-card);
  padding: var(--section-space) var(--container-pad);
}

.section__head { margin-bottom: 32px; }
.section__head--center { text-align: center; max-width: 780px; margin-inline: auto; }
.section__head--split  { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }

.section__title { font-size: var(--fs-h2); margin-bottom: .35em; }
.section__title--left { text-align: left; }

.section__lead { font-size: var(--fs-lead); color: var(--color-muted); margin: 0; }
.section__lead--left { text-align: left; max-width: 76ch; margin-bottom: 32px; }


/* ---------- 4. GOMBOK ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  min-height: 48px;                       /* érintésbarát méret */
  font: 600 var(--fs-small)/1.2 var(--font-body);
  border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn__icon { display: inline-flex; }
.btn--lg { padding: 15px 28px; min-height: 54px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(180deg, var(--color-blue-strong), var(--color-blue));
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: linear-gradient(180deg, var(--color-blue), #005aad); color: #fff; }

.btn--outline { background: #fff; color: var(--color-blue); border-color: #cfe2f4; }
.btn--outline:hover { border-color: var(--color-blue); color: var(--color-blue); }

.btn--ghost { background: transparent; color: var(--color-navy); border-color: var(--color-border); }

.btn--white { background: #fff; color: var(--color-navy); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn--white:hover { background: #f2f6fb; color: var(--color-navy); }


/* ---------- 5. FEJLÉC / NAVIGÁCIÓ ---------- */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
  display: flex; align-items: center; gap: 16px;
  min-height: var(--header-h);
}
.site-header__brand { flex: 0 0 auto; margin-right: auto; }
.site-header__logo  { width: auto; height: 40px; }

.primary-nav__list { display: flex; align-items: center; gap: 6px; }
.primary-nav__link {
  display: block; padding: 8px 12px;
  font-size: var(--fs-small); font-weight: 500;
  color: var(--color-navy); border-radius: 6px;
}
.primary-nav__link:hover { background: var(--color-cyan-soft); color: var(--color-blue); text-decoration: none; }
.primary-nav__link.is-current { color: var(--color-blue); font-weight: 600; }
.primary-nav__cta { display: none; }

.site-header__cta { flex: 0 0 auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 10px 14px; min-height: 44px;
  font: 600 var(--fs-small)/1 var(--font-body); color: var(--color-navy);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 2px; background: currentColor; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top: 6px; }

/* Mobil: nav lenyíló panel (Kadence hamburger logikának megfeleltethető) */
@media (max-width: 1023.98px) {
  .site-header__cta { display: none; }
  .primary-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-float);
    padding: 12px var(--container-pad) 20px;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav__link { padding: 12px 8px; font-size: 1rem; border-bottom: 1px solid var(--color-border); border-radius: 0; }
  .primary-nav__cta { display: grid; gap: 10px; margin-top: 16px; }
  .site-header__inner { position: relative; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav { display: block !important; }
  .site-header__brand { margin-right: 24px; }
  .primary-nav__list { margin-right: auto; }
  .site-header__inner { justify-content: flex-start; }
  .site-header__cta { margin-left: auto; }
  .site-header__logo { height: 52px; }
}


/* ---------- 6. HERO ---------- */
.hero {
  background: var(--color-bg);
  padding-bottom: var(--section-space);
  overflow: hidden;
}

.hero__inner { display: grid; }

.hero__content {
  padding: 36px var(--container-pad) 28px;
  max-width: calc(var(--container-max) + var(--container-pad) * 2);
  margin-inline: auto;
  width: 100%;
}

.hero__eyebrow {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 14px;
}

.hero__title { font-size: var(--fs-h1); margin-bottom: .4em; max-width: 15ch; }
.hero__lead  { font-size: var(--fs-lead); color: var(--color-muted); max-width: 56ch; margin-bottom: 28px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 260px; }

.hero__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 62% center;   /* Gergő a jobb oldalon marad */
}

/* Bizalmi sáv – a hero alján úszó fehér kártya */
.trust-bar {
  display: grid; gap: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-float);
  padding: 8px;
  margin-top: 24px;
}
.trust-bar__item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.trust-bar__icon {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 30px; height: 30px;
  color: var(--color-blue);
}
.trust-bar__icon svg { width: 26px; height: 26px; }
.trust-bar__text { display: grid; line-height: 1.35; }
.trust-bar__text strong { font-size: var(--fs-small); color: var(--color-navy); font-weight: 600; }
.trust-bar__text span   { font-size: var(--fs-xs); color: var(--color-muted); }

@media (min-width: 640px) and (max-width: 1023.98px) {
  /* Tableten a hero kép laposabb, hogy ne tolja le a tartalmat */
  .hero__media img { aspect-ratio: 21 / 9; object-position: 60% 30%; }
}

@media (min-width: 640px) {
  .trust-bar { grid-template-columns: 1fr 1fr; }
  /* Halvány elválasztók az elemek között – a látványterv szerint */
  .trust-bar__item + .trust-bar__item { box-shadow: inset 1px 0 0 var(--color-border); }
  .trust-bar__item:nth-child(3) { box-shadow: none; }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: center;
    /* A bal oszlop igazodik a konténerhez, a kép a viewport jobb széléig fut.
       Kadence: full-width Row Layout, 1. oszlopon dinamikus bal padding. */
    padding-left: max(var(--container-pad), (100% - var(--container-max)) / 2);
  }
  .hero__content { padding: 56px 56px 56px 0; margin-inline: 0; max-width: none; }
  .hero__media img {
    aspect-ratio: auto;
    height: clamp(460px, 44vw, 620px);
    /* Lágy átmenet a bal oldali fehér szövegblokk felé.
       OPCIONÁLIS finomítás – Kadence-ben egyedi CSS-sel pótolható, elhagyható. */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%);
            mask-image: linear-gradient(to right, transparent 0, #000 16%);
  }
  .trust-bar { grid-template-columns: repeat(4, 1fr); margin-top: -40px; position: relative; z-index: 2; }
  .trust-bar__item:nth-child(3) { box-shadow: inset 1px 0 0 var(--color-border); }
  .hero { padding-bottom: calc(var(--section-space) - 10px); }
}


/* ---------- 7. KÁRTYARÁCS ---------- */
.card-grid { display: grid; gap: var(--gap-card); }

@media (min-width: 640px) {
  .card-grid--3, .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
}


/* ---------- 8. SZOLGÁLTATÁSKÁRTYA ---------- */
.service-card { padding: 32px 24px 28px; text-align: center; align-items: center; }
/* A látványterven az ikon nagy, háttérlap nélküli, kék/navy vonalas jel */
.service-card__icon {
  display: grid; place-items: center;
  width: 68px; height: 68px; margin-bottom: 20px;
  color: var(--color-blue);
}
.service-card__icon svg { width: 60px; height: 60px; }
.service-card__title { font-size: var(--fs-h3); margin-bottom: .55em; }
.service-card__text  { font-size: var(--fs-small); color: var(--color-muted); margin-bottom: 20px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  font-size: var(--fs-small); font-weight: 600; color: var(--color-blue);
}
.link-arrow__icon { display: inline-flex; transition: transform .18s ease; }
.link-arrow__icon svg { width: 17px; height: 17px; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .link-arrow__icon { transform: translateX(4px); }


/* ---------- 9. KIEMELT BLOKK (társasházi) ---------- */
.highlight__inner { display: grid; gap: 32px; }
.highlight__text  { color: var(--color-muted); }

.icon-list {
  display: grid; gap: 12px; align-content: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
}
.icon-list__item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: var(--fs-small); font-weight: 500; color: var(--color-navy);
}
.icon-list__bullet {
  flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--color-cyan-soft);
  box-shadow: inset 0 0 0 5px var(--color-blue), inset 0 0 0 7px var(--color-cyan-soft);
}
/* Linkelt listaelem – Kadence: Icon List elem linkkel */
.icon-list__link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-navy); font-weight: 500;
}
.icon-list__link:hover { color: var(--color-blue); text-decoration: none; }
.icon-list__link .link-arrow__icon { transition: transform .18s ease; opacity: .55; }
.icon-list__link .link-arrow__icon svg { width: 16px; height: 16px; }
.icon-list__link:hover .link-arrow__icon { transform: translateX(3px); opacity: 1; }
.why__item .link-arrow { margin-top: 10px; }
@media (min-width: 1024px) {
  .highlight__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
}


/* ---------- 10. FOLYAMAT ---------- */
.process-card { padding: 26px 22px; }
.process-card__step {
  display: grid; place-items: center;
  width: 34px; height: 34px; margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--color-blue-strong), var(--color-blue));
  color: #fff; font-weight: 700; font-size: var(--fs-small);
}
.process-card__title { font-size: var(--fs-h3); margin-bottom: .5em; }
.process-card__text  { font-size: var(--fs-small); color: var(--color-muted); margin: 0; }


/* ---------- 11. MIÉRT AZ AQUASTRANG ---------- */
/* Látványterv: ikon BALRA, szöveg jobbra, balra zárva, halvány elválasztókkal */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.why__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  text-align: left; min-width: 0;
}
.why__icon {
  grid-column: 1; grid-row: 1 / span 2;
  display: block; color: var(--color-blue); padding-top: 2px;
}
.why__icon svg { width: 34px; height: 34px; }
.why__title { grid-column: 2; grid-row: 1; font-size: var(--fs-small); font-weight: 700; color: var(--color-navy); margin-bottom: .45em; }
.why__text  { grid-column: 2; grid-row: 2; font-size: var(--fs-xs); color: var(--color-muted); margin: 0; line-height: 1.55; }

@media (min-width: 640px)  { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; } }
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .why__item { padding-inline: 22px; }
  .why__item + .why__item { box-shadow: inset 1px 0 0 rgba(1, 34, 75, .10); }
  .why__item:first-child { padding-left: 0; }
  .why__item:last-child  { padding-right: 0; }
}


/* ---------- 12. CÉLCSOPORT ---------- */
.audience-card { padding: 26px 24px; }
.audience-card__title { font-size: var(--fs-h3); margin-bottom: .55em; }
.audience-card__text  { font-size: var(--fs-small); color: var(--color-muted); margin-bottom: 18px; }


/* ---------- 13. REFERENCIÁK ---------- */
.reference-card { overflow: hidden; padding: 0; }
.reference-card__media { aspect-ratio: 4 / 3; width: 100%; }
.reference-card__body  { padding: 16px 18px 20px; }
.reference-card__title { font-size: var(--fs-small); margin-bottom: .35em; }
.reference-card__meta  { font-size: var(--fs-xs); color: var(--color-muted); margin: 0; }

/* Kattintható referenciakártya – Kadence: Info Box „Link entire box" */
.reference-card__link { display: block; color: inherit; height: 100%; }
.reference-card__link:hover { text-decoration: none; }
.reference-card__link:hover .reference-card__title { color: var(--color-blue); }

/* Referencia aloldal főképe */
.reference-hero {
  aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius-card); overflow: hidden; margin-bottom: 32px;
}

/* Képhely-tartó: valódi, jóváhagyott projektfotóra cserélendő */
.placeholder-media {
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(45deg, #eef2f7 0 10px, #e6ecf4 10px 20px);
  color: var(--color-muted);
}
.placeholder-media__label {
  font-size: var(--fs-xs); font-weight: 600;
  background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: var(--radius-pill);
}


/* ---------- 14. VÉLEMÉNY + FAQ ---------- */
.proof__inner { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .proof__inner { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; }
}

.testimonial {
  position: relative;
  margin: 0 0 32px;
  padding: 24px 24px 24px 56px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.testimonial__mark {
  position: absolute; left: 18px; top: 10px;
  font-size: 3.5rem; line-height: 1; color: #d8e4f1; font-family: Georgia, serif;
}
.testimonial__stars { color: var(--color-star); letter-spacing: 3px; font-size: 1.05rem; margin-bottom: 10px; }
.testimonial__quote { margin: 0 0 16px; }
.testimonial__quote p { font-size: var(--fs-small); color: var(--color-muted); font-style: italic; margin: 0; }
.testimonial__cite { display: grid; line-height: 1.4; }
.testimonial__cite strong { font-size: var(--fs-small); color: var(--color-navy); }
.testimonial__cite span   { font-size: var(--fs-xs); color: var(--color-muted); }

.about-note {
  border-left: 3px solid var(--color-cyan);
  padding-left: 20px;
}
.about-note__title { font-size: var(--fs-h3); margin-bottom: .5em; }
.about-note__text  { font-size: var(--fs-small); color: var(--color-muted); }

.faq { display: grid; gap: 10px; }
.faq__item {
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.faq__question {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; min-height: 56px;
  font-size: var(--fs-small); font-weight: 600; color: var(--color-navy);
  cursor: pointer; list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: "+";
  font-size: 1.4rem; font-weight: 400; line-height: 1; color: var(--color-blue);
  flex: 0 0 auto;
}
.faq__item[open] .faq__question::after { content: "–"; }
.faq__item[open] { background: #fff; }
.faq__answer { padding: 0 18px 18px; }
.faq__answer p { font-size: var(--fs-small); color: var(--color-muted); margin: 0; }


/* ---------- 15. ZÁRÓ CTA SÁV ---------- */
.cta-band-wrap { padding-top: 0; }
.cta-band {
  display: grid; gap: 24px;
  background: linear-gradient(120deg, var(--color-navy) 0%, #03306a 62%, #0a4d94 100%);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  color: #fff;
}
.cta-band__title { color: #fff; font-size: var(--fs-h2); margin-bottom: .35em; }
.cta-band__text  { color: rgba(255,255,255,.82); font-size: var(--fs-small); margin: 0; max-width: 62ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band__actions .btn { flex: 1 1 220px; }

@media (min-width: 1024px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center; gap: 40px;
    padding: 44px 48px;
  }
  .cta-band__actions { flex-wrap: nowrap; }
  .cta-band__actions .btn { flex: 0 0 auto; }
}


/* ---------- 16. FOOTER ---------- */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,.78); }
.site-footer__inner {
  display: grid; gap: 32px;
  padding-block: 48px 36px;
}
/* TODO (asset): a footerhez NEGATÍV (fehér) logóváltozat kellene.
   Amíg nincs, a meglévő logót fehér sziluettre alakítjuk, hogy a sötétkék
   háttéren olvasható legyen. Kadence-ben ugyanez custom CSS-sel megoldható,
   de a végleges fehér logó feltöltése a helyes megoldás. */
.site-footer__logo {
  height: 48px; width: auto; margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.site-footer__tagline { font-size: var(--fs-small); margin: 0; max-width: 40ch; }

.site-footer__heading {
  font-size: var(--fs-small); color: #fff; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 16px;
}
.site-footer__list { display: grid; gap: 10px; font-size: var(--fs-small); }
.site-footer__list a { color: rgba(255,255,255,.78); }
.site-footer__list a:hover { color: #fff; }
.site-footer__list--contact li { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__icon { flex: 0 0 auto; color: var(--color-cyan); }
.site-footer__icon svg { width: 18px; height: 18px; }
.site-footer__list--contact small { color: rgba(255,255,255,.55); font-size: var(--fs-xs); }

.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; align-items: center;
  padding-block: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: var(--fs-xs);
}
.site-footer__copy { margin: 0; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.site-footer__legal a { color: rgba(255,255,255,.7); }

@media (min-width: 640px)  { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; } }
@media (min-width: 1024px) { .site-footer__inner { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; padding-block: 60px 40px; } }


/* ==========================================================
   ALOLDAL-KOMPONENSEK
   Minden komponens ugyanazokból a tokenekből épül, mint a főoldal.
   ========================================================== */

/* ---------- 18. OLDALFEJ (aloldalak) ---------- */
/* Kadence: Row Layout világoskék háttérrel + Breadcrumb + Advanced Heading */
.page-hero {
  background: var(--color-band);
  padding-block: calc(var(--section-space) * .8) var(--section-space);
  border-bottom: 1px solid rgba(1, 34, 75, .07);
}
.page-hero--slim { padding-block: calc(var(--section-space) * .6); }
.page-hero__title { font-size: var(--fs-h1); max-width: 22ch; margin-bottom: .4em; }
.page-hero__lead  { font-size: var(--fs-lead); color: var(--color-muted); max-width: 68ch; margin: 0; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--color-blue); margin-bottom: 12px;
}

/* ---------- 19. MORZSAMENÜ ---------- */
/* Kadence: Theme Breadcrumbs vagy Kadence Breadcrumb blokk */
.breadcrumb { margin-bottom: 20px; }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-xs); }
.breadcrumb__list li { color: var(--color-muted); }
.breadcrumb__list li + li::before { content: "/"; margin-right: 6px; color: #a9b6c8; }
.breadcrumb__list a { color: var(--color-muted); }
.breadcrumb__list a:hover { color: var(--color-blue); }
.breadcrumb__list [aria-current="page"] { color: var(--color-navy); font-weight: 600; }

/* ---------- 20. SZÖVEGBLOKK ---------- */
.container--narrow { max-width: calc(820px + var(--container-pad) * 2); }
.section--tight { padding-block: calc(var(--section-space) * .45); }

.prose__text { color: var(--color-muted); max-width: 72ch; }
.prose h2 { font-size: var(--fs-h3); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose__todo {
  color: var(--color-muted); font-style: italic;
  border-left: 3px solid #d8e0ea; padding-left: 16px; max-width: 72ch;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 21. KÉTOSZLOPOS SZAKASZ ---------- */
/* Kadence: Row Layout 2 oszlop */
.split { display: grid; gap: 32px; align-items: start; }
.split__content > :last-child { margin-bottom: 0; }
.rounded-media { border-radius: var(--radius-card); box-shadow: var(--shadow-card); width: 100%; }

@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .split--reverse .split__content { order: 2; }
  .split--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

/* ---------- 22. JELLEMZŐLISTA ---------- */
/* Kadence: Icon List vagy 2×2 Info Box */
.feature-list { display: grid; gap: 12px; }
.feature-list__item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: var(--fs-xs); color: var(--color-muted); line-height: 1.55;
}
.feature-list__item strong {
  display: block; font-size: var(--fs-small); color: var(--color-navy); margin-bottom: 3px;
}
@media (min-width: 640px) { .feature-list { grid-template-columns: 1fr 1fr; } }

/* ---------- 23. UGRÓKÁRTYA ---------- */
.jump-card { padding: 0; }
.jump-card__link {
  display: grid; gap: 6px; padding: 22px 20px; height: 100%;
  color: inherit; align-content: start;
}
.jump-card__link:hover { text-decoration: none; }
.jump-card__link:hover .jump-card__title { color: var(--color-blue); }
.jump-card__icon { color: var(--color-blue); }
.jump-card__icon svg { width: 40px; height: 40px; }
.jump-card__title { font-size: var(--fs-small); font-weight: 700; color: var(--color-navy); line-height: 1.35; }
.jump-card__meta  { font-size: var(--fs-xs); color: var(--color-muted); }

/* ---------- 24. FÜGGŐLEGES LÉPÉSLISTA ---------- */
/* Kadence: 4× Info Box egymás alatt, számozott ikonnal */
.steps { display: grid; gap: 14px; max-width: 900px; margin-inline: auto; }
.steps__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
}
.steps__num {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(180deg, var(--color-blue-strong), var(--color-blue));
  color: #fff; font-weight: 700; font-size: var(--fs-small);
}
.steps__title { font-size: var(--fs-h3); margin-bottom: .4em; }
.steps__text  { font-size: var(--fs-small); color: var(--color-muted); margin: 0; }

/* ---------- 25. FIGYELMEZTETŐ / INFÓ DOBOZ ---------- */
/* Kadence: Advanced Text egyedi háttérrel és bal oldali kerettel */
.notice {
  border-radius: 10px; padding: 16px 18px; margin-bottom: 24px;
  border-left: 4px solid var(--color-blue);
  background: var(--color-cyan-soft);
}
.notice p { margin: 0; font-size: var(--fs-small); color: var(--color-text); }
.notice--warn { background: #fff6e6; border-left-color: var(--color-star); }
.notice--info { background: var(--color-cyan-soft); border-left-color: var(--color-blue); }

/* ---------- 26. ADATLISTA ---------- */
.data-list {
  margin: 0 0 32px; border: 1px solid var(--color-border);
  border-radius: var(--radius-card); overflow: hidden; background: var(--color-surface);
}
.data-list__row { display: grid; gap: 2px; padding: 14px 18px; }
.data-list__row + .data-list__row { border-top: 1px solid var(--color-border); }
.data-list dt { font-size: var(--fs-xs); color: var(--color-muted); }
.data-list dd { margin: 0; font-size: var(--fs-small); font-weight: 600; color: var(--color-navy); }
@media (min-width: 640px) {
  .data-list__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; align-items: baseline; }
}

/* ---------- 27. SZŰRŐSÁV (referenciák) ---------- */
/* Kadence: Query blokk taxonómia-szűrője váltja ki */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-bar__btn {
  background: var(--color-surface); border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill); padding: 9px 18px; min-height: 42px;
  font: 600 var(--fs-xs)/1 var(--font-body); color: var(--color-navy); cursor: pointer;
}
.filter-bar__btn:hover { border-color: var(--color-blue); color: var(--color-blue); }
.filter-bar__btn.is-active { background: var(--color-blue); border-color: var(--color-blue); color: #fff; }

.reference-card__text { font-size: var(--fs-xs); color: var(--color-muted); margin: 6px 0 0; }

/* ---------- 28. ŰRLAP ---------- */
/* Kadence: Advanced Form (vagy WPForms) – a mezőszerkezet itt rögzül */
.form-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .form-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: start; }
}

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

.field { display: grid; gap: 7px; }
.field__label { font-size: var(--fs-small); font-weight: 600; color: var(--color-navy); }
.field__label span { color: var(--color-blue); }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 var(--fs-small)/1.5 var(--font-body); color: var(--color-text);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border); border-radius: var(--radius-btn);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field__input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 104, 195, .14);
  outline: none;
}
.field__input--area { min-height: 140px; resize: vertical; }
.field__input--file { padding: 11px 14px; }
.field__hint { font-size: var(--fs-xs); color: var(--color-muted); margin: 0; }

.field--check { grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; }
.field__check { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--color-blue); }
.field__check-label { font-size: var(--fs-xs); color: var(--color-muted); line-height: 1.6; }

/* ---------- 29. ŰRLAP OLDALSÁV ---------- */
.form-layout__aside { display: grid; gap: 20px; }
.aside-card { padding: 24px 22px; }
.aside-card__title { font-size: var(--fs-h3); margin-bottom: .6em; }
.aside-card__text { font-size: var(--fs-small); color: var(--color-muted); }
.aside-steps { display: grid; gap: 14px; counter-reset: aside; }
.aside-steps__item {
  font-size: var(--fs-xs); color: var(--color-muted); line-height: 1.55;
  padding-left: 34px; position: relative; counter-increment: aside;
}
.aside-steps__item::before {
  content: counter(aside);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-cyan-soft); color: var(--color-blue);
  font-size: var(--fs-xs); font-weight: 700;
}
.aside-steps__item strong { display: block; font-size: var(--fs-small); color: var(--color-navy); }

/* ---------- 30. KAPCSOLATI KÁRTYA ---------- */
.contact-card { padding: 26px 24px; text-align: center; align-items: center; }
.contact-card__icon { color: var(--color-blue); margin-bottom: 12px; }
.contact-card__icon svg { width: 34px; height: 34px; }
.contact-card__title { font-size: var(--fs-small); color: var(--color-muted); font-weight: 600; margin-bottom: .3em; }
.contact-card__value { font-size: var(--fs-h3); font-weight: 700; color: var(--color-navy); margin: 0 0 6px; }
.contact-card__value a { color: inherit; }
.contact-card__meta { font-size: var(--fs-xs); color: var(--color-muted); margin: 0; }

/* ---------- 31. SZÉLES FAQ (aloldalakon) ---------- */
.faq-wrap .faq--wide { max-width: 900px; margin-inline: auto; }

/* ==========================================================
   SILO-KOMPONENSEK (v2)
   ========================================================== */

/* ---------- 32. SILO ELRENDEZÉS: tartalom + oldalsáv ---------- */
/* Kadence: Row Layout 2 oszlop (70/30), a jobb oszlop sticky */
.silo-layout { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
  .silo-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; }
  .silo-layout__aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
.silo-layout__aside { display: grid; gap: 20px; }

/* ---------- 33. SILO-NAVIGÁCIÓ (testvéroldalak) ---------- */
/* Kadence: Row Layout + Icon List, vagy „Child Pages" blokk */
.silo-nav {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px 20px;
}
.silo-nav__title {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 14px;
}
.silo-nav__list { display: grid; gap: 2px; }
.silo-nav__link {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: var(--fs-small); font-weight: 500; color: var(--color-navy);
  border-left: 3px solid transparent;
}
.silo-nav__link:hover { background: var(--color-cyan-soft); color: var(--color-blue); text-decoration: none; }
.silo-nav__link.is-current {
  background: var(--color-cyan-soft); color: var(--color-blue);
  font-weight: 700; border-left-color: var(--color-blue);
}

/* ---------- 34. CIKKKÁRTYA (Tudástár) ---------- */
/* Kadence: Post Loop / Query blokk kártyaelrendezéssel */
.post-card { padding: 0; }
.post-card__link {
  display: grid; gap: 8px; padding: 24px 22px; height: 100%;
  color: inherit; align-content: start;
}
.post-card__link:hover { text-decoration: none; }
.post-card__link:hover .post-card__title { color: var(--color-blue); }
.post-card__link:hover .link-arrow__icon { transform: translateX(4px); }
.post-card__cat {
  justify-self: start;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--color-blue);
}
.post-card__title { font-size: var(--fs-h3); color: var(--color-heading); line-height: 1.3; margin: 0; }
.post-card__lead  { font-size: var(--fs-small); color: var(--color-muted); margin: 0; }
.post-card__meta  { font-size: var(--fs-xs); color: var(--color-muted); }
.post-card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px;
  font-size: var(--fs-small); font-weight: 600; color: var(--color-blue);
}
.post-card--wide .post-card__link { gap: 10px; }

/* Kategória-jelvény a cikk fejlécében */
.post-chip {
  display: inline-block; margin-bottom: 14px;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--color-surface); border: 1px solid var(--color-border);
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--color-blue);
}
.post-chip:hover { border-color: var(--color-blue); text-decoration: none; }

/* ---------- 35. CIKKOLDAL ---------- */
.page-hero--article .page-hero__title { max-width: 26ch; }
.article__meta { font-size: var(--fs-xs); color: var(--color-muted); margin-bottom: 18px; }

/* Cikktörzs tipográfiája – hosszú, olvasható szöveg */
.article-body { max-width: 72ch; }
.article-body p { color: var(--color-muted); }
.article-body h2 {
  font-size: var(--fs-h2); margin-top: 1.6em; margin-bottom: .5em;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: var(--fs-h3); margin-top: 1.5em; margin-bottom: .45em; }
.article-body ul, .article-body ol { display: grid; gap: 9px; margin: 0 0 1.4em; padding-left: 4px; }
.article-body li {
  position: relative; padding-left: 26px;
  font-size: var(--fs-small); color: var(--color-muted); line-height: 1.6;
}
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--color-blue);
}
.article-body ol { counter-reset: ab; }
.article-body ol li { counter-increment: ab; }
.article-body ol li::before {
  content: counter(ab) ".";
  position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--color-blue); font-size: var(--fs-xs);
}
.article-body li strong { color: var(--color-navy); }
.article-body blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--color-cyan);
  font-size: var(--fs-lead); color: var(--color-navy); font-style: italic;
}
.article-body blockquote p { color: inherit; margin-bottom: 0; }

.related__back { text-align: center; margin: 32px 0 0; }

/* ---------- 36. TÉMAKÁRTYA (hub oldalak gyereklistája) ---------- */
.topic-card { padding: 0; }
.topic-card__link {
  display: grid; gap: 8px; padding: 26px 24px; height: 100%;
  color: inherit; align-content: start;
}
.topic-card__link:hover { text-decoration: none; }
.topic-card__link:hover .topic-card__title { color: var(--color-blue); }
.topic-card__link:hover .link-arrow__icon { transform: translateX(4px); }
.topic-card__icon { color: var(--color-blue); }
.topic-card__icon svg { width: 44px; height: 44px; }
.topic-card__title { font-size: var(--fs-h3); color: var(--color-heading); margin: 0; }
.topic-card__text  { font-size: var(--fs-small); color: var(--color-muted); margin: 0; }
.topic-card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px;
  font-size: var(--fs-small); font-weight: 600; color: var(--color-blue);
}

/* ---------- 37. KIEMELT CIKK (Tudástár hub) ---------- */
.post-feature { display: grid; gap: 0; overflow: hidden; padding: 0; }
.post-feature__link { display: grid; gap: 10px; padding: 34px 30px; color: inherit; }
.post-feature__link:hover { text-decoration: none; }
.post-feature__link:hover .post-feature__title { color: var(--color-blue); }
.post-feature__title { font-size: var(--fs-h2); color: var(--color-heading); margin: 0; max-width: 20ch; }
@media (min-width: 1024px) {
  .post-feature__link { padding: 44px 44px; }
}

/* ---------- 38. KATTINTHATÓ JELLEMZŐKÁRTYA ---------- */
/* Kadence: Info Box „Link entire box" bekapcsolva */
.feature-list__link {
  display: grid; gap: 3px; color: inherit; height: 100%;
}
.feature-list__link:hover { text-decoration: none; }
.feature-list__link:hover strong { color: var(--color-blue); }
.feature-list__link:hover .link-arrow__icon { transform: translateX(4px); }
.feature-list__more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 6px;
  font-size: var(--fs-xs); font-weight: 700; color: var(--color-blue);
}
.feature-list__more svg { width: 15px; height: 15px; }

.process-card .link-arrow,
.steps__body .link-arrow { margin-top: 14px; }

/* ---------- 39. KULCSINFÓ BLOKK (GEO) ---------- */
/* Rövid, kontextus nélkül is idézhető összefoglaló az oldal tetején.
   Kadence: Row Layout világoskék háttérrel + Icon List */
.key-facts {
  background: var(--color-band);
  border: 1px solid #dce9f7;
  border-radius: var(--radius-card);
  padding: 22px 24px;
  margin-bottom: 36px;
}
.key-facts__title {
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--color-blue); margin-bottom: 12px;
}
.key-facts__list { display: grid; gap: 9px; }
.key-facts__list li {
  position: relative; padding-left: 26px;
  font-size: var(--fs-small); color: var(--color-navy); line-height: 1.55;
}
.key-facts__list li::before {
  content: ""; position: absolute; left: 3px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-blue);
}

/* ---------- 40. GALÉRIA ---------- */
/* Képrács, nem navigáció – ezért nincs kártyakeret és árnyék. */
.gallery { display: grid; gap: var(--gap-card); }
.gallery__item { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; }
@media (min-width: 640px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 41. OLDALFEJ ILLUSZTRÁCIÓVAL ---------- */
/* Kadence: Row Layout 2 oszlop, jobb oszlopban Advanced Image */
.page-hero__grid { display: grid; gap: 28px; align-items: center; }
.page-hero__body > :last-child { margin-bottom: 0; }
.page-hero__art img {
  width: 100%; height: auto; border-radius: var(--radius-card);
  box-shadow: 0 2px 4px rgba(1,34,75,.04), 0 14px 34px rgba(1,34,75,.08);
}
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; }
  .page-hero--slim .page-hero__grid { grid-template-columns: 1fr; }
}
/* A cikkoldalak keskeny fejlécében nincs oldalsó illusztráció */
.page-hero--article .page-hero__grid { grid-template-columns: 1fr; }

/* Cikkborító */
.article-cover {
  width: 100%; height: auto; margin: 0 0 8px;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 4px rgba(1,34,75,.04), 0 14px 34px rgba(1,34,75,.08);
}

/* ---------- 42. ŰRLAP: MÉZESBÖDÖN (spamvédelem) ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 17. MOZGÁSCSÖKKENTÉS ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
