/* ==========================================================================
   Dókuspart Vendégház — Design System v1.0
   "Parasztház-elegancia": meleg okker falak, terrakotta cserép, erdőzöld,
   diófa, muskátli-piros. Country, de rendezett és nyugodt.
   Dokumentáció: /design-system.html
   ========================================================================== */

/* ---------- 1. TOKENEK ---------- */
:root {
  /* Márkaszínek (a ház fotóiból mintázva) */
  --c-okker-50:  #FBF6EA;
  --c-okker-100: #F5EBD3;
  --c-okker-300: #E9C77A;
  --c-okker-500: #D9A441;   /* sárga parasztház-fal */
  --c-okker-700: #A87921;

  --c-terra-300: #DE8F72;
  --c-terra-500: #B5543A;   /* cseréptető */
  --c-terra-700: #8A3A25;

  --c-erdo-300:  #8FA88A;
  --c-erdo-500:  #4B6A47;   /* zempléni erdő */
  --c-erdo-700:  #2F4A2E;
  --c-erdo-900:  #1E2F1F;

  --c-dio-500:   #6B4A2E;   /* diófa bútor, tábla */
  --c-dio-700:   #4A321F;

  --c-muskatli:  #C8323A;   /* muskátli – csak apró kiemelés */

  /* Semleges (meleg) */
  --c-krem:      #FAF6EE;   /* oldal háttér */
  --c-vaszon:    #F2EADB;   /* szekció váltó háttér */
  --c-papir:     #FFFDF8;   /* kártyák */
  --c-tinta:     #2B241C;   /* fő szöveg */
  --c-tinta-2:   #5C5246;   /* másodlagos szöveg */
  --c-vonal:     #E3D7C3;   /* keretek */

  /* Szemantikus */
  --bg:          var(--c-krem);
  --bg-alt:      var(--c-vaszon);
  --surface:     var(--c-papir);
  --text:        var(--c-tinta);
  --text-muted:  var(--c-tinta-2);
  --border:      var(--c-vonal);
  --primary:     var(--c-erdo-700);
  --primary-hover: var(--c-erdo-900);
  --accent:      var(--c-terra-500);
  --accent-hover: var(--c-terra-700);
  --highlight:   var(--c-okker-500);
  --success:     #3F7A45;
  --error:       #A8322D;

  /* Tipográfia */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", "Segoe Script", cursive;

  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-md: 1.0625rem;   /* 17 – törzs */
  --fs-lg: 1.25rem;     /* 20 */
  --fs-xl: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --fs-2xl: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  --fs-3xl: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem);
  --fs-hand: clamp(1.5rem, 1.2rem + 1vw, 2rem);

  --lh-tight: 1.12;
  --lh-snug: 1.3;
  --lh-body: 1.65;

  /* Térköz (4-es alap) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(16px, 4vw, 40px);
  --container: 1200px;
  --container-narrow: 760px;

  /* Formák */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-arch: 999px 999px 18px 18px;  /* boltíves ablak-keret */
  --r-pill: 999px;

  /* Árnyék (meleg tónusú) */
  --sh-1: 0 1px 2px rgba(74, 50, 31, .08), 0 2px 6px rgba(74, 50, 31, .06);
  --sh-2: 0 6px 18px rgba(74, 50, 31, .10), 0 2px 6px rgba(74, 50, 31, .06);
  --sh-3: 0 18px 48px rgba(46, 30, 18, .18);

  /* Mozgás */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 150ms;
  --t-base: 260ms;
  --t-slow: 600ms;
}

/* ---------- 2. ALAPOK ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--c-okker-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--c-erdo-900);
  margin: 0 0 var(--s-4);
  font-variation-settings: "SOFT" 60, "WONK" 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
em.serif { font-family: var(--font-display); font-style: italic; color: var(--accent); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--primary); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { left: 8px; }

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

/* ---------- 3. LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--c-erdo-900); color: #EFE8DA; }
.section--dark h2, .section--dark h3 { color: #FBF6EA; }
.section--dark .eyebrow { color: var(--c-okker-300); }
.section--dark p { color: #D9D0C0; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.section-head { max-width: 680px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-lg); color: var(--text-muted); line-height: 1.55; }

/* ---------- 4. KOMPONENSEK ---------- */

/* Eyebrow / felcím */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* Kézírásos kiemelés – a ház fatáblájának hangja */
.hand { font-family: var(--font-hand); font-size: var(--fs-hand); color: var(--c-dio-500); line-height: 1.2; font-weight: 600; }

/* Gombok */
.btn {
  --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px;
  font: 600 var(--fs-md)/1 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd);
  border-radius: var(--r-pill); text-decoration: none; cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn:hover { --btn-bg: var(--primary-hover); --btn-bd: var(--primary-hover); color: #fff; transform: translateY(-1px); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn--accent { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--primary); --btn-bd: currentColor; }
.btn--ghost:hover { --btn-bg: var(--primary); --btn-fg: #fff; --btn-bd: var(--primary); }
.btn--light { --btn-bg: var(--c-okker-50); --btn-fg: var(--c-erdo-900); --btn-bd: var(--c-okker-50); }
.btn--light:hover { --btn-bg: #fff; --btn-fg: var(--c-erdo-900); --btn-bd: #fff; color: var(--c-erdo-900); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: var(--fs-sm); }
.btn--lg { min-height: 56px; padding: 16px 34px; font-size: var(--fs-lg); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Hímzés-csík elválasztó (a fejtámla szívmintájára) */
.stitch {
  height: 14px; border: 0; margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M7 11 3.5 7.5a2 2 0 0 1 3.5-2 2 2 0 0 1 3.5 2Z' fill='%23B5543A'/%3E%3Cpath d='M17 7h8' stroke='%234B6A47' stroke-width='2' stroke-dasharray='2 2'/%3E%3C/svg%3E");
  background-repeat: repeat-x; background-position: center; opacity: .75;
}

/* Fejléc / navigáció */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-krem) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--sh-1); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-erdo-900); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1; display: block; }
.brand__tag { font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); display: block; margin-top: 3px; }
.nav__menu { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav__menu a:not(.btn) {
  color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
  padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color var(--t-fast);
}
.nav__menu a:not(.btn):hover, .nav__menu a[aria-current="page"] { border-color: var(--accent); color: var(--c-erdo-900); }
.nav__toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface); cursor: pointer; color: var(--c-erdo-900);
}
.nav__toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 920px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__menu {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-krem); border-bottom: 1px solid var(--border); box-shadow: var(--sh-2);
    padding: var(--s-3) var(--gutter) var(--s-5);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu li { border-bottom: 1px solid var(--border); }
  .nav__menu li:last-child { border: 0; padding-top: var(--s-4); }
  .nav__menu a:not(.btn) { display: block; padding: 14px 0; font-size: var(--fs-md); border: 0; }
  .nav__menu .btn { width: 100%; }
}

/* Felső információs szalag */
.topbar { background: var(--c-erdo-900); color: #EBE3D3; font-size: var(--fs-xs); }
.topbar .container { display: flex; justify-content: center; gap: var(--s-5); padding-block: 8px; flex-wrap: wrap; text-align: center; }
.topbar a { color: var(--c-okker-300); font-weight: 600; }
.topbar strong { color: #fff; }

/* Hero */
.hero { padding-block: clamp(32px, 6vw, 80px) clamp(64px, 8vw, 112px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: var(--s-5); }
.hero h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero__lead { font-size: var(--fs-lg); color: var(--text-muted); max-width: 34em; margin-bottom: var(--s-6); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-6); }
.hero__proof { display: flex; flex-wrap: wrap; gap: var(--s-5); font-size: var(--fs-sm); color: var(--text-muted); }
.hero__proof b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--c-erdo-900); font-weight: 600; line-height: 1.1; }
.hero__media { position: relative; }
.hero__arch { border-radius: var(--r-arch); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 4 / 5; max-height: 72vh; margin-inline: auto; border: 8px solid var(--c-papir); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -28px; bottom: 48px; max-width: 250px;
  background: var(--c-papir); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--sh-2);
  border-left: 4px solid var(--c-okker-500);
}
.hero__badge .hand { font-size: 1.45rem; display: block; }
.hero__badge small { color: var(--text-muted); font-size: var(--fs-xs); }
.hero__stamp {
  position: absolute; right: -14px; top: 26px; width: 118px; height: 118px; border-radius: 50%;
  background: var(--c-terra-500); color: #FFF4E6; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-size: .95rem; line-height: 1.15; padding: 14px;
  box-shadow: var(--sh-2); transform: rotate(8deg);
  outline: 2px dashed rgba(255,244,230,.6); outline-offset: -9px;
}
.hero__stamp b { display: block; font-size: 1.9rem; }
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero__badge { left: 8px; bottom: 16px; }
  .hero__stamp { right: 4px; width: 100px; height: 100px; font-size: .85rem; }
  .hero__stamp b { font-size: 1.5rem; }
}

/* Értékkártya (feature) */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--sh-1); height: 100%;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.card h3 { font-size: 1.3rem; margin-bottom: var(--s-2); }
.card p { color: var(--text-muted); margin: 0; font-size: var(--fs-sm); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: var(--s-4);
  background: var(--c-okker-100); color: var(--c-terra-700);
}
.card__icon svg { width: 26px; height: 26px; }

/* Képes kártya */
.photo-card { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); background: var(--c-dio-700); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow) var(--ease); }
.photo-card:hover img { transform: scale(1.04); }
.photo-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 48px 20px 18px; color: #fff;
  background: linear-gradient(to top, rgba(30,24,16,.78), transparent);
  font-weight: 600;
}

/* Probléma → megoldás lista */
.pain-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3); }
.pain-list li {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-4); align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: var(--s-4) var(--s-5);
}
.pain-list .pain { color: var(--text-muted); text-decoration: line-through; text-decoration-color: rgba(181,84,58,.5); }
.pain-list .arrow { color: var(--accent); font-weight: 700; }
.pain-list .gain { font-weight: 600; color: var(--c-erdo-900); }
@media (max-width: 640px) {
  .pain-list li { grid-template-columns: 1fr; gap: 4px; }
  .pain-list .arrow { display: none; }
}

/* Érték-torony (Hormozi value stack) */
.stack {
  background: var(--c-papir); border-radius: var(--r-lg); box-shadow: var(--sh-3); overflow: hidden;
  border: 1px solid var(--border); color: var(--text);
}
.stack__head { background: var(--c-terra-500); color: #FFF4E6; padding: var(--s-6); text-align: center; }
.stack__head h3 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--s-2); }
.stack__head p { color: #FBE5D6; margin: 0; }
.stack__body { padding: var(--s-6); }
.stack__row {
  display: grid; grid-template-columns: 28px 1fr auto; gap: var(--s-4); align-items: start;
  padding: var(--s-4) 0; border-bottom: 1px dashed var(--border);
}
.stack__row svg { width: 24px; height: 24px; color: var(--success); margin-top: 2px; }
.stack__row strong { display: block; color: var(--c-erdo-900); }
.stack__row span.desc { font-size: var(--fs-sm); color: var(--text-muted); }
.stack__val { font-weight: 700; color: var(--c-dio-500); white-space: nowrap; font-size: var(--fs-sm); }
.stack__bonus { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; }
.stack__total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding-top: var(--s-5); flex-wrap: wrap; }
.stack__total .was { text-decoration: line-through; color: var(--text-muted); }
.stack__price { font-family: var(--font-display); font-size: var(--fs-2xl); color: var(--c-erdo-900); font-weight: 600; }
.stack__price small { font-family: var(--font-body); font-size: var(--fs-sm); color: var(--text-muted); font-weight: 400; }
.stack__foot { padding: 0 var(--s-6) var(--s-6); display: grid; gap: var(--s-3); }

/* Garancia pecsét */
.guarantee {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-6); align-items: center;
  background: var(--c-okker-50); border: 2px dashed var(--c-okker-500); border-radius: var(--r-lg); padding: var(--s-6);
}
.guarantee__seal {
  width: 132px; height: 132px; border-radius: 50%; background: var(--c-erdo-700); color: var(--c-okker-100);
  display: grid; place-items: center; text-align: center; font-family: var(--font-display); line-height: 1.1;
  outline: 3px solid var(--c-okker-500); outline-offset: 5px; padding: 16px; font-size: .95rem;
}
.guarantee__seal b { font-size: 2rem; display: block; color: #fff; }
.guarantee h3 { margin-bottom: var(--s-2); }
.guarantee p { margin: 0; color: var(--text-muted); }
@media (max-width: 640px) { .guarantee { grid-template-columns: 1fr; text-align: center; } .guarantee__seal { margin-inline: auto; } }

/* Vélemény (vendégkönyv) */
.quote {
  position: relative; background: var(--surface); border-radius: var(--r-lg); padding: var(--s-6) var(--s-6) var(--s-5);
  border: 1px solid var(--border); box-shadow: var(--sh-1); margin: 0; height: 100%;
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, rgba(75,106,71,.10) 31px 32px);
}
.quote::before {
  content: "“"; position: absolute; top: -18px; left: 22px; font-family: var(--font-display);
  font-size: 5rem; line-height: 1; color: var(--c-okker-500);
}
.quote blockquote { margin: 0 0 var(--s-4); font-family: var(--font-hand); font-size: 1.55rem; line-height: 1.3; color: var(--c-dio-700); }
.quote figcaption { font-size: var(--fs-sm); color: var(--text-muted); }
.quote figcaption b { color: var(--c-erdo-900); }
.stars { color: var(--c-okker-500); letter-spacing: 2px; font-size: 1.05rem; }

/* Statisztika-sáv */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-5); text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: var(--fs-3xl); font-weight: 500; color: var(--c-okker-300); line-height: 1; }
.stat span { font-size: var(--fs-sm); color: #D9D0C0; }

/* Válasz-kapszula (AEO) */
.answer {
  background: var(--surface); border-left: 4px solid var(--c-erdo-500); border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s-5) var(--s-6); box-shadow: var(--sh-1);
}
.answer p:last-child { margin: 0; }
.answer__q { font-family: var(--font-display); font-size: 1.2rem; color: var(--c-erdo-900); margin-bottom: var(--s-2); font-weight: 600; }

/* Ártáblázat */
.price-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--border); font-size: var(--fs-sm); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table thead th { background: var(--c-erdo-700); color: #fff; font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.table-wrap { overflow-x: auto; border-radius: var(--r-md); }

/* GYIK – accordion (natív details) */
.faq { display: grid; gap: var(--s-3); }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); transition: box-shadow var(--t-base); }
.faq details[open] { box-shadow: var(--sh-2); border-color: var(--c-okker-300); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-family: var(--font-display); font-size: 1.15rem; color: var(--c-erdo-900); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg);
  transition: transform var(--t-base) var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .faq__a { padding: 0 22px 20px; color: var(--text-muted); }
.faq .faq__a p:last-child { margin: 0; }

/* Űrlap */
.form { display: grid; gap: var(--s-4); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--s-4); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: var(--fs-sm); color: var(--c-erdo-900); }
.field .hint { font-size: var(--fs-xs); color: var(--text-muted); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--text);
  background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.textarea { min-height: 120px; resize: vertical; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-okker-300); }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--c-erdo-500); box-shadow: 0 0 0 4px rgba(75,106,71,.18); }
.input[aria-invalid="true"] { border-color: var(--error); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--c-erdo-700); flex: none; }
.form-panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--sh-2); border: 1px solid var(--border); }
.form__note { font-size: var(--fs-xs); color: var(--text-muted); }
.form__status { padding: 14px 16px; border-radius: var(--r-sm); font-weight: 600; display: none; }
.form__status.is-ok { display: block; background: #E5F0E3; color: var(--success); }
.form__status.is-err { display: block; background: #F7E1DE; color: var(--error); }
.segmented { display: flex; gap: 8px; flex-wrap: wrap; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  padding: 10px 16px; border: 1.5px solid var(--border); border-radius: var(--r-pill); cursor: pointer;
  font-weight: 600; font-size: var(--fs-sm); background: #fff; transition: all var(--t-fast);
}
.segmented input:checked + label { background: var(--c-erdo-700); border-color: var(--c-erdo-700); color: #fff; }
.segmented input:focus-visible + label { outline: 3px solid var(--c-okker-500); outline-offset: 2px; }

/* Lead magnet sáv */
.magnet { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.magnet__cover {
  width: 190px; aspect-ratio: 3/4; border-radius: 6px 14px 14px 6px; background: var(--c-erdo-700); color: var(--c-okker-100);
  padding: 22px 18px; box-shadow: var(--sh-3), inset 6px 0 0 rgba(0,0,0,.18); transform: rotate(-4deg);
  display: flex; flex-direction: column; justify-content: space-between; font-family: var(--font-display);
}
.magnet__cover b { font-size: 1.35rem; line-height: 1.1; color: #fff; font-weight: 500; }
.magnet__cover small { font-family: var(--font-body); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-okker-300); }
.magnet__form { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-4); }
.magnet__form .input { flex: 1 1 220px; }
@media (max-width: 720px) { .magnet { grid-template-columns: 1fr; } .magnet__cover { margin-inline: auto; width: 160px; } }

/* Galéria */
.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: var(--s-6); }
.filters button {
  font: 600 var(--fs-sm) var(--font-body); padding: 10px 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--c-erdo-700); border-color: var(--c-erdo-700); color: #fff; }
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--r-md); overflow: hidden; position: relative; cursor: zoom-in; background: var(--c-vaszon); }
.masonry figure[hidden] { display: none; }
.masonry img { width: 100%; transition: transform var(--t-slow) var(--ease), filter var(--t-base); }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 32px 14px 12px; color: #fff; font-size: var(--fs-sm); font-weight: 600;
  background: linear-gradient(to top, rgba(30,24,16,.7), transparent); opacity: 0; transition: opacity var(--t-base);
}
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }
.masonry button { all: unset; display: block; cursor: zoom-in; }
.masonry button:focus-visible { outline: 3px solid var(--c-okker-500); outline-offset: -3px; }

.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic > * { border-radius: var(--r-md); overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic .tall { grid-row: span 2; }
.mosaic .wide { grid-column: span 2; }
@media (max-width: 820px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(20,16,11,.94); display: none;
  align-items: center; justify-content: center; padding: 56px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 84vh; max-width: min(1400px, 100%); width: auto; border-radius: 8px; box-shadow: var(--sh-3); }
.lightbox__cap { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #EFE8DA; font-size: var(--fs-sm); }
.lightbox button {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* Kapcsolat */
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: grid; gap: var(--s-4); }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s-4); align-items: center; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--c-okker-100); color: var(--c-terra-700); }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--text-muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.contact-list a, .contact-list span.v { font-weight: 600; color: var(--c-erdo-900); text-decoration: none; font-size: var(--fs-lg); }
.map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); border: 1px solid var(--border); aspect-ratio: 16/10; background: var(--c-vaszon); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Lépések */
.steps { counter-reset: step; display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.4rem; background: var(--c-okker-500); color: var(--c-erdo-900);
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

/* Program-kártya (Környék) */
.place { display: flex; flex-direction: column; gap: 8px; }
.place__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: var(--fs-xs); font-weight: 700; color: var(--c-erdo-500); text-transform: uppercase; letter-spacing: .08em; }

/* Címke / chip */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-okker-100); color: var(--c-dio-700); font-size: var(--fs-xs); font-weight: 700; }
.chip--green { background: #E3ECE0; color: var(--c-erdo-700); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Placeholder – a tulajdonostól bekérendő adat (élesítés előtt cserélendő) */
.ph { background: rgba(217,164,65,.22); border-bottom: 1.5px dashed var(--c-okker-700); padding: 0 3px; border-radius: 3px; }

/* CTA sáv */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-lg); color: #fff; isolation: isolate; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(30,47,31,.92) 0%, rgba(30,47,31,.65) 55%, rgba(30,47,31,.25) 100%); }
.cta-band__inner { padding: clamp(40px, 7vw, 96px) clamp(24px, 6vw, 80px); max-width: 640px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #E6DFD0; font-size: var(--fs-lg); }

/* Mobil ragadós foglalás gomb */
.sticky-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  box-shadow: var(--sh-3);
}
@media (max-width: 720px) { .sticky-cta { display: flex; } body { padding-bottom: 76px; } }

/* Lábléc */
.site-footer { background: var(--c-erdo-900); color: #CFC6B5; padding-block: var(--s-9) var(--s-6); font-size: var(--fs-sm); }
.site-footer a { color: #EFE8DA; text-decoration: none; }
.site-footer a:hover { color: var(--c-okker-300); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--s-7); margin-bottom: var(--s-7); }
.footer-grid h4 { color: #fff; font-family: var(--font-body); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: var(--s-4); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-brand .brand { color: #fff; margin-bottom: var(--s-4); }
.footer-brand .brand__tag { color: #A9A08F; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s-5); display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; font-size: var(--fs-xs); color: #A9A08F; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Oldal fejléc (aloldalak) */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); text-align: center; }
.page-hero p { max-width: 640px; margin-inline: auto; }
.breadcrumb { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: var(--s-4); }
.breadcrumb ol { list-style: none; display: flex; gap: 8px; justify-content: center; padding: 0; margin: 0; flex-wrap: wrap; }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--c-okker-700); }
.breadcrumb a { color: var(--text-muted); }
.updated { font-size: var(--fs-xs); color: var(--text-muted); }

/* Megjelenési animáció */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Segédosztályok */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
.muted { color: var(--text-muted); }
.round { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.arch { border-radius: var(--r-arch); overflow: hidden; }
.ratio-45 { aspect-ratio: 4/5; } .ratio-43 { aspect-ratio: 4/3; }
.ratio-45 img, .ratio-43 img { width: 100%; height: 100%; object-fit: cover; }

/* Mobil finomhangolás */
@media (max-width: 640px) {
  .topbar .container > span { display: none; }
  .topbar .container > span:first-child { display: inline; }
  .topbar .container { gap: 4px 12px; }
  .stack__body, .stack__head { padding: var(--s-5); }
  .stack__foot { padding: 0 var(--s-5) var(--s-5); }
  .stack__row { grid-template-columns: 22px 1fr; }
  .stack__val { grid-column: 2; }
  .hero__proof { gap: var(--s-4) var(--s-5); }
}

/* Hero – teljes háttérkép változat (saját kilátásfotó + erdőzöld átmenet a olvashatóságért) */
.hero--photo {
  position: relative; isolation: isolate; overflow: hidden; color: #F3EDE1;
  padding-block: clamp(56px, 8vw, 112px) clamp(88px, 10vw, 148px);
  border-radius: 0 0 50% 50% / 0 0 56px 56px;
  background: var(--c-erdo-900);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(22,34,23,.93) 0%, rgba(22,34,23,.82) 38%, rgba(22,34,23,.42) 68%, rgba(22,34,23,.18) 100%),
    linear-gradient(to top, rgba(22,34,23,.55) 0%, transparent 45%);
}
.hero--photo h1 { color: #FFFDF8; text-shadow: 0 2px 28px rgba(0,0,0,.28); }
.hero--photo h1 em { color: var(--c-okker-300); }
.hero--photo .eyebrow { color: var(--c-okker-300); }
.hero--photo .hero__lead { color: #E8E0D1; }
.hero--photo .hero__proof { color: #CFC6B5; }
.hero--photo .hero__proof b { color: #FFFDF8; }
.hero--photo .hero__arch { max-height: 64vh; border-color: rgba(255,253,248,.92); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #FFFDF8; --btn-bd: rgba(255,253,248,.75); }
.btn--outline-light:hover { --btn-bg: #FFFDF8; --btn-fg: var(--c-erdo-900); --btn-bd: #FFFDF8; color: var(--c-erdo-900); }
@media (max-width: 920px) {
  .hero--photo { border-radius: 0 0 50% 50% / 0 0 32px 32px; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(22,34,23,.80) 0%, rgba(22,34,23,.58) 50%, rgba(22,34,23,.88) 100%); }
  .hero--photo .hero__media { max-width: 360px; }
}
