/* ============================================================
   WOODLECTIC — mobil gatterolás országszerte
   Statikus oldal, RÖNK design-tokenek (Oswald / Work Sans / Spline Sans Mono)
   ============================================================ */

:root {
  /* Paper / warm neutrals */
  --paper-50:  #FAF4E9;
  --paper-100: #F5ECDB;
  --paper-200: #EADCC2;
  --paper-300: #DCC8A6;
  --paper-400: #C2A77E;
  --paper-500: #9C7E54;
  --paper-600: #6E5436;
  --paper-700: #4E3A24;
  --paper-800: #322417;
  --paper-900: #20180F;
  /* Ember (primary) */
  --ember-50:  #FCEBE0;
  --ember-300: #E78B56;
  --ember-500: #C9531C;
  --ember-600: #AE4314;
  --ember-700: #8C340E;
  /* Moss (secondary) */
  --moss-50:  #EBEFE0;
  --moss-200: #BDC99C;
  --moss-500: #586B36;
  --moss-600: #44542A;
  /* Logó-szín (a videó záró kockájából mintázva) */
  --sage: #AEB086;
  --sage-soft: #D9DAC0;

  --bg-page: var(--paper-100);
  --surface-card: #FFFDF8;
  --surface-inverse: var(--paper-900);
  --text-strong: var(--paper-900);
  --text-body: #3C2D1E;
  --text-muted: #7A6850;
  --text-inverse: var(--paper-50);
  --border: #E3D4B8;
  --border-strong: var(--paper-400);

  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  --container-max: 1180px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --section-y: clamp(2.75rem, 4.5vw, 4.75rem);
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-xl: 16px;
  --shadow-md: 0 4px 12px rgba(32,24,15,.12), 0 1px 3px rgba(32,24,15,.08);
  --shadow-lg: 0 14px 32px rgba(32,24,15,.16), 0 4px 10px rgba(32,24,15,.08);
  --shadow-ember: 0 6px 18px rgba(201,83,28,.30);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-standard: cubic-bezier(.2,0,0,1);
  --dur-fast: 120ms;
  --dur-normal: 200ms;
  --dur-slow: 360ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body {
  margin: 0; background: var(--bg-page); color: var(--text-body);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video, canvas { max-width: 100%; display: block; }
a { color: var(--ember-600); }
h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .01em; color: var(--text-strong); line-height: 1.06; margin: 0;
}
h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); line-height: 1.1; }
h3 { font-size: 1.25rem; letter-spacing: .03em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
[id] { scroll-margin-top: 78px; }
.section--warm { background: var(--paper-200); }
.section--ink { background: var(--surface-inverse); color: var(--paper-200); }
.section--ink h2, .section--ink h3 { color: var(--paper-50); }
.eyebrow {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; font-weight: 500; color: var(--ember-600); margin-bottom: .55rem;
}
.section--ink .eyebrow { color: var(--ember-300); }
/* Sotet (ink) szekcioban a bevezeto szoveg olvashato maradjon */
.section--ink .lead { color: var(--paper-200); }
.section--ink p a:not(.btn) { color: var(--ember-300); }

.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 62ch; }
.section-head { max-width: 62ch; margin-bottom: clamp(1.3rem, 2.2vw, 1.9rem); }
.section-head p { margin-bottom: 0; }
.section-head .lead { margin-top: .7rem; }
.mono { font-family: var(--font-mono); }
.tagline {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  color: var(--moss-600); font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.9rem; padding: 0 1.35rem; border-radius: var(--radius-md); border: 1.5px solid transparent;
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em;
  font-size: .95rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-normal), box-shadow var(--dur-normal), color var(--dur-normal);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--ember-500); color: #FFF6EE; box-shadow: var(--shadow-ember); }
.btn--primary:hover { background: var(--ember-600); }
.btn--outline { background: transparent; color: var(--text-strong); border-color: var(--border-strong); }
.btn--outline:hover { background: var(--paper-50); border-color: var(--text-strong); }
.btn--light { background: var(--paper-50); color: var(--text-strong); }
.btn--light:hover { background: #fff; }
.btn--lg { min-height: 3.3rem; padding: 0 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; line-height: 1.2; padding-top: .55rem; padding-bottom: .55rem; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper-50) 92%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text-strong); }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-900); display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 32px; height: 32px; }
.brand__name { font-family: var(--font-display); font-weight: 600; letter-spacing: .14em; font-size: 1.15rem; text-transform: uppercase; }
.brand__sub { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .12em; color: var(--text-muted); text-transform: uppercase; margin-top: -2px; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 500;
  font-size: .92rem; color: var(--text-strong); text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent;
  transition: border-color var(--dur-normal);
}
.nav__links a:hover { border-bottom-color: var(--ember-500); }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__phone { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--font-mono); font-weight: 600; font-size: .95rem; color: var(--text-strong); text-decoration: none; }
.nav__phone svg { width: 18px; height: 18px; }
.burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-card); cursor: pointer; }
.burger span { display: block; height: 2px; width: 100%; background: var(--text-strong); border-radius: 2px; transition: transform var(--dur-normal) var(--ease-standard), opacity var(--dur-fast); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 820px) {
  .nav__links, .nav__right { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; flex-direction: column; overflow: hidden; max-height: 0; opacity: 0; padding: 0 var(--gutter); transition: max-height var(--dur-slow) var(--ease-standard), opacity var(--dur-normal), padding var(--dur-slow); }
  .mobile-menu.is-open { max-height: 460px; opacity: 1; padding: 6px var(--gutter) 18px; border-top: 1.5px solid var(--border); }
  .mobile-menu a.link { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; font-size: 1rem; color: var(--text-strong); padding: 13px 2px; border-bottom: 1px solid var(--border); text-decoration: none; }
  .mobile-menu .nav__phone { padding: 15px 2px 12px; font-size: 1.05rem; }
  .mobile-menu .btn { margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(1.8rem, 3.5vw, 3rem) 0 clamp(2rem, 3.5vw, 3rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(201,83,28,.10), transparent 70%),
    radial-gradient(40% 40% at 10% 90%, rgba(88,107,54,.10), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__copy h1 { margin: .4rem 0 .9rem; }
.hero__copy .lead { margin-bottom: 1rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 1.1rem 0 1.1rem; }
.hero__phone { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-weight: 600; font-size: 1.15rem; color: var(--text-strong); text-decoration: none; }
.hero__phone svg { width: 20px; height: 20px; color: var(--ember-600); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .75rem; border-radius: 999px;
  border: 1.5px solid var(--border-strong); background: var(--surface-card);
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 500; color: var(--text-strong);
}
.chip svg { width: 14px; height: 14px; color: var(--moss-500); }
.stats { display: flex; gap: 1.2rem 1.4rem; flex-wrap: wrap; margin-top: 1.1rem; padding-top: 1rem; border-top: 1.5px solid var(--border); }
.stat__v { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; line-height: 1; color: var(--text-strong); }
.stat__v small { font-size: 1rem; color: var(--ember-600); margin-left: 2px; }
.stat__l { font-size: .74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; margin-top: .3rem; white-space: nowrap; }

/* álló videó-keret */
.vframe {
  position: relative; margin: 0 auto; width: min(100%, 360px); aspect-ratio: 9 / 16;
  border-radius: var(--radius-xl); overflow: hidden; background: #111;
  box-shadow: var(--shadow-lg), 0 0 0 1.5px var(--paper-900);
}
.vframe video { width: 100%; height: 100%; object-fit: cover; }
.vframe__tag {
  position: absolute; left: 12px; bottom: 12px; padding: .3rem .6rem; border-radius: 4px;
  background: rgba(32,24,15,.72); color: var(--paper-50); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em;
}
.hero .vframe { width: min(100%, 460px); max-height: 82vh; }
.hero .vframe--45 { width: min(100%, 448px); aspect-ratio: 4 / 5; max-height: 560px; }
.hero .vframe--45 video { object-position: center 45%; }
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero .vframe { width: min(100%, 360px); }
  .hero .vframe--45 { width: min(100%, 340px); }
  .stats { gap: 1.1rem; flex-wrap: wrap; }
}

/* ---------- Rönk → fűrészáru scroll-animáció ---------- */
.mill { position: relative; height: 200vh; background: #000; }
.mill-sticky { position: sticky; top: 0; height: 100vh; min-height: 520px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(10px, 1.8vh, 22px); padding: 80px var(--gutter) 60px; }
.mill-head { text-align: center; max-width: 44ch; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.mill-head h2 { color: var(--paper-50); margin: 6px 0 0; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); }
.mill-canvas { width: min(94vw, calc(100vh - 370px), 720px); aspect-ratio: 1 / 1; height: auto; background: #000; }
.mill-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #000; color: var(--paper-400); font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; z-index: 3; transition: opacity .3s; }
.mill-loader.is-done { opacity: 0; pointer-events: none; }
.mill-caption { position: relative; width: 100%; max-width: 40ch; height: 4em; }
.mill-cap { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; transition: opacity .15s linear; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.mill-cap .t { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: clamp(20px, 5.2vw, 30px); color: var(--paper-50); line-height: 1.1; }
.mill-cap .s { font-size: 14px; color: var(--paper-300); margin-top: 6px; text-align: center; }
.mill-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 16px; height: 3px; background: var(--paper-800); border-radius: 3px; overflow: hidden; }
.mill-progress > span { display: block; height: 100%; width: 0; background: var(--ember-500); border-radius: 3px; }
@media (max-width: 760px) { .mill { height: 180vh; } .mill-sticky { padding-top: 80px; } }
@media (prefers-reduced-motion: reduce) {
  .mill { height: auto; }
  .mill-sticky { position: static; height: auto; min-height: 0; padding: var(--section-y) var(--gutter); }
  .mill-progress { display: none; }
}

/* ---------- Szolgáltatások ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.svc {
  background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
}
.svc__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-800); overflow: hidden; }
.svc__media img, .svc__media video { width: 100%; height: 100%; object-fit: cover; }
.svc__media video { object-position: center 40%; }
.svc__badge {
  position: absolute; top: 12px; left: 12px; padding: .35rem .65rem; border-radius: 4px;
  background: var(--ember-500); color: #FFF6EE; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; font-weight: 500;
}
.svc__body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.svc__body h3 { font-size: 1.45rem; }
.svc__spec { display: flex; align-items: baseline; gap: .4rem; font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--ember-600); }
.svc__spec small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.svc__body p { margin: 0; color: var(--text-body); }
.check { display: grid; gap: .45rem; }
.check li { display: flex; gap: .6rem; align-items: flex-start; }
.check li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--moss-500); }
.svc .vframe { width: 100%; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }

/* ---------- Faanyag-tömb ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.3rem 1.3rem 1.4rem; }
.tile__ico { width: 40px; height: 40px; border-radius: 8px; background: var(--moss-50); color: var(--moss-600); display: grid; place-items: center; margin-bottom: .8rem; }
.tile__ico svg { width: 22px; height: 22px; }
.tile h3 { margin-bottom: .4rem; }
.tile p { margin: 0; font-size: .95rem; color: var(--text-muted); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
/* Kattinthato csempe (videolinkek a referenciak oldalon) */
a.tile { transition: border-color var(--dur-normal), box-shadow var(--dur-normal); }
a.tile:hover { border-color: var(--ember-600); box-shadow: 0 6px 18px rgba(0,0,0,.07); }
a.tile:hover h3 { color: var(--ember-700); }


/* ---------- Árlista ---------- */
.price-tabs { display: inline-flex; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); overflow: hidden; margin-bottom: 1.2rem; }
.price-tabs button {
  appearance: none; border: 0; background: var(--surface-card); color: var(--text-strong); cursor: pointer;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-weight: 500; font-size: .95rem; padding: .7rem 1.2rem;
}
.price-tabs button + button { border-left: 1.5px solid var(--border-strong); }
.price-tabs button[aria-selected="true"] { background: var(--paper-900); color: var(--paper-50); }
.price-panel[hidden] { display: none; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--border); border-radius: var(--radius-lg); background: var(--surface-card); }
.price-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.price-table th, .price-table td { padding: .8rem 1rem; text-align: right; border-bottom: 1px solid var(--border); vertical-align: top; }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table thead th { background: var(--paper-200); font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; font-size: .8rem; color: var(--text-strong); }
.price-table thead th small { display: block; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--text-muted); }
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table td { font-family: var(--font-mono); font-size: .98rem; white-space: nowrap; }
.price-table td:first-child { font-family: var(--font-body); white-space: normal; }
.price-table tr.is-main td { font-weight: 600; color: var(--text-strong); background: color-mix(in srgb, var(--ember-50) 45%, transparent); }
.price-table tr.is-main td:first-child { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em; font-size: 1rem; }
.price-table tr.is-sub td:first-child { padding-left: 2rem; color: var(--text-muted); font-size: .92rem; }
.price-table tr.is-sub td:first-child::before { content: "+ "; color: var(--ember-600); font-weight: 600; }
.price-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.note { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem 1.2rem; }
.note h4 { font-size: .8rem; letter-spacing: .12em; font-weight: 500; color: var(--ember-600); margin-bottom: .5rem; }
.note ul { display: grid; gap: .35rem; font-size: .95rem; }
.note li { padding-left: 1rem; position: relative; }
.note li::before { content: ""; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--moss-500); }
.note .mono { font-weight: 600; color: var(--text-strong); }
.price-cta { margin-top: 1.1rem; }
.table-hint { display: none; margin: .5rem 0 0; font-size: .8rem; color: var(--text-muted); }
@media (max-width: 640px) { .table-hint { display: block; } }
.price-disclaimer { margin-top: 1rem; font-size: .9rem; color: var(--text-muted); max-width: 70ch; }
@media (max-width: 720px) { .price-notes { grid-template-columns: 1fr; } }

/* ---------- Miért mi ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why li { display: flex; gap: .85rem; padding: 1.05rem 1.1rem; background: rgba(250,244,233,.06); border: 1px solid rgba(250,244,233,.14); border-radius: var(--radius-lg); }
.why__n { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; line-height: 1; color: var(--ember-300); flex: none; width: 2ch; }
.why h3 { font-size: 1.05rem; margin-bottom: .25rem; color: var(--paper-50); }
.why p { margin: 0; font-size: .93rem; color: var(--paper-300); }
/* a 7. pont középre, szimmetrikusan */
.why li:nth-child(7) { grid-column: 2; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } .why li:nth-child(7) { grid-column: 1 / -1; width: calc(50% - .5rem); justify-self: center; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why li:nth-child(7) { grid-column: auto; width: auto; } }

/* ---------- Folyamat ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
.step { position: relative; background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.2rem 1.1rem 1.3rem; }
.step__n { font-family: var(--font-display); font-weight: 600; font-size: 2.2rem; line-height: 1; color: var(--ember-500); margin-bottom: .6rem; }
.step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.step p { margin: 0; font-size: .93rem; color: var(--text-muted); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Országos sáv ---------- */
.band { background: var(--moss-600); color: var(--paper-50); }
.band .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; padding-top: clamp(2rem, 3.5vw, 3rem); padding-bottom: clamp(2rem, 3.5vw, 3rem); }
.band h2 { color: var(--paper-50); margin-bottom: .6rem; }
.band p { margin: 0; color: var(--moss-50); }
.band .chips .chip { background: rgba(250,244,233,.08); border-color: rgba(250,244,233,.28); color: var(--paper-50); }
.band .chip svg { color: var(--sage); }
@media (max-width: 820px) { .band .container { grid-template-columns: 1fr; } }

/* ---------- Ajánlatkérés ---------- */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-card { background: var(--surface-inverse); color: var(--paper-200); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.8rem; }
.contact-card h3 { color: var(--paper-50); font-size: 1.4rem; margin-bottom: .6rem; }
.contact-card p { color: var(--paper-300); }
.contact-rows { display: grid; gap: .9rem; margin: 1.2rem 0 0; }
.contact-rows a { display: flex; align-items: center; gap: .75rem; color: var(--paper-50); text-decoration: none; font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; }
.contact-rows a svg { width: 22px; height: 22px; color: var(--ember-300); flex: none; }
.contact-rows span.l { display: block; font-family: var(--font-body); font-weight: 400; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--paper-400); }
.form { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; font-weight: 500; color: var(--text-strong); }
.label .req { color: var(--ember-600); }
.input {
  width: 100%; min-height: 2.75rem; padding: .55rem .8rem; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  background: #fff; font: inherit; color: var(--text-strong);
}
.input:focus { outline: 2px solid color-mix(in srgb, var(--ember-500) 55%, transparent); outline-offset: 1px; border-color: var(--ember-500); }
textarea.input { min-height: 7rem; resize: vertical; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; }
.form__hint { font-size: .85rem; color: var(--text-muted); max-width: 46ch; margin: 0; }
.form__ok { grid-column: 1 / -1; display: none; padding: .9rem 1rem; border-radius: var(--radius-md); background: var(--moss-50); color: var(--moss-600); border: 1.5px solid var(--moss-200); font-size: .95rem; }
.form__ok.is-visible { display: block; }
@media (max-width: 820px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--paper-900); color: var(--paper-400); padding: 2rem 0 1.6rem; border-top: 1px solid rgba(250,244,233,.1); }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: flex-start; }
.footer .brand { color: var(--paper-50); }
.footer .brand__sub { color: var(--paper-400); }
.footer__col { font-size: .9rem; display: grid; gap: .3rem; }
.footer__col a { color: var(--paper-200); text-decoration: none; }
.footer__col a:hover { color: var(--paper-50); }
.footer__bottom { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(250,244,233,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .8rem; color: var(--paper-500); }
.footer__bottom a { color: var(--paper-400); text-decoration: none; }

/* ---------- Scroll-reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease-out), transform .65s var(--ease-out); }
.rv.rv-in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; } .rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ---------- Aloldalak: két hasáb, galéria, GYIK, jogi oldalak ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.two-col h2 { margin-bottom: .8rem; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.breadcrumb { font-size: .85rem; color: var(--text-muted); margin-bottom: .6rem; }
.breadcrumb a { color: var(--ember-600); text-decoration: none; }
.why--light { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why--light li { background: var(--surface-card); border: 1.5px solid var(--border); }
.why--light h3 { color: var(--text-strong); }
.why--light p { color: var(--text-muted); }
.why--light .why__n { color: var(--ember-500); }
.why--light li:nth-child(7) { grid-column: auto; }
@media (max-width: 900px) { .why--light { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why--light { grid-template-columns: 1fr; } }

.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; grid-auto-flow: dense; }
.gal__item { display: block; position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-lg); border: 1.5px solid var(--border); background: var(--paper-800); }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.gal__item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.gal__item:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .gal { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gal { grid-template-columns: 1fr 1fr; gap: .6rem; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,15,10,.92); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(92vw, 720px); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.lightbox img { max-height: 82vh; max-width: 100%; width: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl, 0 26px 60px rgba(0,0,0,.5)); }
.lightbox figcaption { color: var(--paper-200); font-size: .9rem; text-align: center; }
.lightbox button { position: absolute; appearance: none; border: 0; background: rgba(250,244,233,.12); color: var(--paper-50); width: 46px; height: 46px; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(250,244,233,.25); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 14px; } .lightbox__next { right: 14px; }
@media (max-width: 560px) { .lightbox__nav { top: auto; bottom: 14px; transform: none; } }

.faq { display: grid; gap: .6rem; }
.faq__item { background: var(--surface-card); border: 1.5px solid var(--border); border-radius: var(--radius-md); }
.faq__item summary { list-style: none; cursor: pointer; padding: .9rem 2.6rem .9rem 1.1rem; position: relative; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .03em; font-weight: 500; font-size: 1rem; color: var(--text-strong); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ember-600); border-bottom: 2px solid var(--ember-600); transform: translateY(-70%) rotate(45deg); transition: transform var(--dur-normal); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item[open] summary { border-bottom: 1px solid var(--border); }
.faq__a { padding: .8rem 1.1rem 1rem; color: var(--text-body); font-size: .97rem; }
.faq__a p { margin: 0; }
.faq--two { grid-template-columns: 1fr 1fr; align-items: start; }
@media (max-width: 820px) { .faq--two { grid-template-columns: 1fr; } }
.gyik-toggle { text-align: center; margin-top: 1.2rem; }

.legal { max-width: 78ch; }
.legal h2 { font-size: 1.35rem; margin: 2rem 0 .7rem; }
.legal h3 { font-size: 1.05rem; margin: 1.3rem 0 .4rem; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.2rem; margin: 0 0 1rem; }
.legal dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; font-weight: 500; color: var(--text-muted); padding-top: .2rem; }
.legal dd { margin: 0; }
.legal ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: .4rem; }
.legal .todo { background: #FFF1C2; color: #7A4B00; padding: .1rem .4rem; border-radius: 4px; font-family: var(--font-mono); font-size: .88rem; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem .6rem; } .legal dd { margin-bottom: .5rem; } }

/* ---------- Kalkulátor-ajánló az ajánlatkérés előtt ---------- */
.calc-tip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(1.2rem, 2vw, 1.6rem); padding: 1.1rem 1.4rem; border-radius: var(--radius-lg); background: var(--moss-50); border: 1.5px solid var(--moss-200); border-left: 6px solid var(--moss-500); }
.calc-tip__body { max-width: 68ch; }
.calc-tip .eyebrow { color: var(--moss-600); margin-bottom: .3rem; }
.calc-tip h3 { font-size: 1.25rem; margin-bottom: .45rem; color: var(--text-strong); }
.calc-tip p { margin: 0; color: var(--text-body); font-size: .97rem; }
.calc-tip .btn { flex: none; }
@media (max-width: 820px) { .calc-tip { flex-direction: column; align-items: stretch; } }

/* ---------- Referencia-sáv a főoldalon ---------- */
.refstrip__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.refstrip h2 { margin-bottom: .6rem; }
.refstrip .lead { margin-bottom: 1rem; }
.refstrip__pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; align-items: start; }
.refstrip__pics a { display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-lg); border: 1.5px solid var(--border); background: var(--paper-800); }
.refstrip__pics a.is-down { margin-top: 1.6rem; }
.refstrip__pics img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.refstrip__pics a:hover img { transform: scale(1.04); }
@media (max-width: 820px) { .refstrip__grid { grid-template-columns: 1fr; } .refstrip__pics { grid-template-columns: repeat(4, 1fr); gap: .5rem; } .refstrip__pics a.is-down { margin-top: 1rem; } }

/* ---------- Közösségi linkek a láblécben ---------- */
.footer__label { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; color: var(--paper-500); }
.social { display: flex; gap: .6rem; margin-top: .35rem; }
.social a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem .45rem .6rem; border: 1.5px solid rgba(250,244,233,.18); border-radius: var(--radius-md); color: var(--paper-100); text-decoration: none; font-size: .88rem; transition: border-color var(--dur-normal), background var(--dur-normal); }
.social a:hover { border-color: var(--sage); background: rgba(250,244,233,.06); color: var(--paper-50); }
.social svg { width: 18px; height: 18px; fill: var(--sage); }
.footer__social--solo { margin-bottom: 1rem; }

.form__calcnote { background: var(--ember-50); border-color: #F0AE86; color: var(--ember-700); }
.form__calcnote a { color: var(--ember-700); font-weight: 600; margin-left: .4rem; }
