/* ============================================================
   SPT Pergola - styles.css
   Architekturális minimalizmus, finom üveg-akcentekkel
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --primary: #1C1917;          /* antracit-fekete */
  --primary-2: #292524;
  --accent: #4F7A35;           /* SPT brand zöld (logóból) */
  --accent-strong: #3D5F28;    /* sötétebb - szöveg/hover */
  --accent-soft: #EAF0E3;

  /* Surface & text */
  --bg: #FAFAF9;
  --surface: #FFFFFF;
  --surface-2: #F4F4F2;
  --fg: #0C0A09;
  --fg-muted: #57534E;
  --fg-soft: #78716C;
  --on-dark: #FAFAF9;
  --on-dark-muted: #C7C3BE;

  --border: #E4E1DC;
  --border-strong: #D6D3D1;

  /* Effects */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 10, 9, .06), 0 1px 3px rgba(12, 10, 9, .04);
  --shadow: 0 10px 30px -12px rgba(12, 10, 9, .18);
  --shadow-lg: 0 30px 60px -25px rgba(12, 10, 9, .35);
  --glass: rgba(250, 250, 249, .72);
  --glass-border: rgba(255, 255, 255, .6);

  /* Type */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 72px;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14110F;
    --surface: #1C1917;
    --surface-2: #221E1B;
    --fg: #F5F3F0;
    --fg-muted: #B8B2AB;
    --fg-soft: #968E86;
    --border: #322C28;
    --border-strong: #423B35;
    --accent: #7BA85C;
    --accent-strong: #9CC47E;
    --accent-soft: #25301C;
    --glass: rgba(20, 17, 15, .72);
    --glass-border: rgba(255, 255, 255, .08);
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    --shadow-lg: 0 30px 60px -25px rgba(0, 0, 0, .75);
  }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; font-weight: 700; color: var(--fg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.icon { width: 20px; height: 20px; flex: 0 0 auto; }
.icon--accent { color: var(--accent); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--primary); color: var(--on-dark);
  padding: 10px 16px; border-radius: var(--radius-sm); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; color: var(--on-dark); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--muted { background: var(--surface-2); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600;
  color: var(--accent-strong); margin-bottom: .75rem;
}
.section-title { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.section-sub { color: var(--fg-muted); max-width: 52ch; margin-top: .9rem; font-size: 1.05rem; }
.lead { color: var(--fg-muted); font-size: 1.1rem; max-width: 56ch; }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 600; font-size: .98rem; line-height: 1;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-row .btn svg { width: 18px; height: 18px; }

.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--primary:hover { background: var(--accent-strong); color: #fff; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--fg); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); color: var(--fg); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--fg); border-color: var(--fg); }
.btn--outline:hover { background: var(--fg); color: var(--bg); }

.btn--outline-light { --btn-bg: rgba(255,255,255,.08); --btn-fg: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--glass); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 30px; width: auto; }
@media (prefers-color-scheme: dark) {
  /* Sötét fejléc: a színes logó kis világos chip-en marad olvasható (zöld SPT badge megőrizve) */
  .header__logo img { background: #fff; padding: 5px 9px; border-radius: 9px; }
}

.nav { display: flex; gap: .35rem; margin-inline: auto; }
.nav__link {
  color: var(--fg-muted); font-weight: 500; font-size: .95rem;
  padding: .5rem .8rem; border-radius: 999px; transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav__link:hover { color: var(--fg); background: var(--surface-2); }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__phone { font-size: .9rem; }
.header__phone .icon { width: 16px; height: 16px; }

/* Hamburger */
.nav-toggle { display: none; width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 10px; border-radius: var(--radius-sm); }
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--fg); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle__bar + .nav-toggle__bar { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { display: none; border-bottom: 1px solid var(--border); background: var(--surface); padding: 1rem var(--gutter) 1.5rem; }
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { display: block; animation: slideDown .25s var(--ease); }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a { color: var(--fg); font-weight: 600; font-size: 1.1rem; padding: .85rem .25rem; border-bottom: 1px solid var(--border); }
.mobile-menu__actions { display: grid; gap: .6rem; margin-top: 1.2rem; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--on-dark); isolation: isolate; min-height: clamp(560px, 86vh, 820px); display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
@media (prefers-reduced-motion: reduce) { .hero__media img { transform: none; } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,10,9,.86) 0%, rgba(12,10,9,.45) 38%, rgba(12,10,9,.15) 70%, rgba(12,10,9,.35) 100%),
    linear-gradient(to right, rgba(12,10,9,.55), rgba(12,10,9,0) 60%);
}
.hero__inner { padding-block: clamp(2.5rem, 6vw, 5rem); max-width: 760px; text-shadow: 0 1px 12px rgba(12,10,9,.45); }
.hero__eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.hero__eyebrow::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--accent); vertical-align: middle; margin-right: .6rem; }
.hero__title { font-size: clamp(2.3rem, 6.5vw, 4.2rem); letter-spacing: -.03em; color: #fff; }
.hero__title em { color: #fff; font-style: normal; position: relative; white-space: nowrap; }
.hero__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--accent); border-radius: 2px; }
.hero__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--on-dark-muted); max-width: 60ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__note {
  display: flex; align-items: flex-start; gap: .55rem; margin-top: 1.1rem;
  font-size: .98rem; color: var(--on-dark-muted); max-width: 52ch;
}
.hero__note strong { color: #fff; font-weight: 700; }
.hero__note .icon { flex: none; width: 19px; height: 19px; margin-top: 1px; color: var(--accent); }
.hero__badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.2rem; }
.hero__badges li { position: relative; padding-left: 1.4rem; font-size: .95rem; color: var(--on-dark-muted); font-weight: 500; }
.hero__badges li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Trust strip ---------- */
.trust { background: var(--primary); color: var(--on-dark); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: clamp(2rem, 4vw, 2.75rem); }
.trust__item { display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; padding-inline: .5rem; }
.trust__num { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; color: #fff; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.trust__label { color: var(--on-dark-muted); font-size: .95rem; }

/* ---------- Explain ---------- */
.explain__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--fg-muted); }
.check-list li strong { color: var(--fg); font-weight: 600; }
.check-list .icon { margin-top: 2px; }

/* Explain visual - 3D design animation */
.design3d__panel {
  position: relative; display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); text-decoration: none; cursor: pointer;
  background:
    radial-gradient(120% 100% at 70% 10%, #2A2622 0%, #1C1917 55%, #131110 100%);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.design3d__panel:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -18px rgba(0,0,0,.55); }
.design3d__panel:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.design3d__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block; transition: transform .35s var(--ease);
}
.design3d__panel:hover .design3d__img { transform: scale(1.03); }
/* faint blueprint grid */
.design3d__panel::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(123,168,92,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123,168,92,.10) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 35%, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 90% at 50% 35%, #000 35%, transparent 78%);
}
.design3d__svg { position: relative; width: 100%; height: 100%; display: block; }

.d3-line { fill: none; stroke: rgba(255,255,255,.88); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.d3-frame { stroke: #fff; stroke-width: 3; }
.d3-post--back { stroke: rgba(255,255,255,.32); }
.d3-louver { fill: none; stroke: rgba(155,196,126,.92); stroke-width: 2; stroke-linecap: round; }
.d3-footprint { fill: rgba(123,168,92,.05); stroke: rgba(155,196,126,.45); stroke-width: 1.5; stroke-dasharray: 4 7; }
.d3-scan { stroke: var(--accent); stroke-width: 3.5; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(123,168,92,.9)); }

/* draw-on */
.d3-line, .d3-louver, .d3-footprint { stroke-dasharray: 1; stroke-dashoffset: 1; animation: d3draw .85s var(--ease) forwards; }
.d3-footprint { animation-delay: 0s; }
.d3-post { animation-delay: .25s; }
.d3-frame { animation-delay: .6s; }
.d3-louver:nth-child(1) { animation-delay: 1.0s; }
.d3-louver:nth-child(2) { animation-delay: 1.08s; }
.d3-louver:nth-child(3) { animation-delay: 1.16s; }
.d3-louver:nth-child(4) { animation-delay: 1.24s; }
.d3-louver:nth-child(5) { animation-delay: 1.32s; }
.d3-louver:nth-child(6) { animation-delay: 1.40s; }
.d3-louver:nth-child(7) { animation-delay: 1.48s; }
.d3-louver:nth-child(8) { animation-delay: 1.56s; }
.d3-louver:nth-child(9) { animation-delay: 1.64s; }
@keyframes d3draw { to { stroke-dashoffset: 0; } }

/* gentle float after draw */
.d3-structure { animation: d3float 6s ease-in-out 1.8s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes d3float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* scan sweep loop */
.d3-scan { opacity: 0; animation: d3scan 4.2s ease-in-out 2.1s infinite; }
@keyframes d3scan {
  0%   { transform: translate(0, 0);       opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translate(200px, 80px); opacity: 0; }
}

.design3d__badge {
  position: absolute; top: 1rem; left: 1rem; display: inline-flex; align-items: center; gap: .45rem;
  background: rgba(28,25,23,.7); backdrop-filter: blur(6px); color: #fff;
  border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: .45rem .85rem;
  font-size: .85rem; font-weight: 600;
}
.design3d__badge svg { width: 16px; height: 16px; color: var(--accent); }
@media (prefers-color-scheme: dark) { .design3d__badge svg { color: #9CC47E; } }

/* hover CTA pill - opens the live 3D configurator */
.design3d__cta {
  position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%) translateY(8px);
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  background: var(--accent); color: #fff; border-radius: 999px; padding: .6rem 1.1rem;
  font-size: .9rem; font-weight: 700; box-shadow: 0 10px 26px -8px rgba(61,95,40,.7);
  opacity: 0; transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.design3d__cta svg { width: 17px; height: 17px; }
.design3d__panel:hover .design3d__cta,
.design3d__panel:focus-visible .design3d__cta { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (hover: none) {
  .design3d__cta { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (max-width: 640px) {
  .design3d__cta { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .design3d__cta { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  .d3-line, .d3-louver, .d3-footprint { stroke-dashoffset: 0; animation: none; }
  .d3-structure { animation: none; }
  .d3-scan { display: none; }
}

/* ---------- Features ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.feature-card__icon {
  display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 1.1rem;
}
.feature-card__icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.feature-card p { color: var(--fg-muted); font-size: .98rem; }

/* ---------- Showcase ---------- */
.showcase__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.showcase__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.showcase__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inline-list { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: .7rem; }
.inline-list li { position: relative; padding-left: 1.7rem; color: var(--fg-muted); }
.inline-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg); transform-origin: left;
}

/* ---------- Colors ---------- */
.swatch-row { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; max-width: 820px; }
.swatch { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .5rem; }
.swatch__disc {
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--swatch); box-shadow: var(--shadow-sm), inset 0 2px 6px rgba(255,255,255,.12);
  border: 1px solid rgba(0,0,0,.06);
}
.swatch__disc--light { border-color: var(--border-strong); }
.swatch__name { font-weight: 600; font-size: .98rem; color: var(--fg); }
.swatch__code { font-size: .82rem; font-weight: 600; color: var(--accent-strong); letter-spacing: .04em; font-variant-numeric: tabular-nums; margin-top: -.25rem; }

/* ---------- Standard equipment ---------- */
.std-kit {
  margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem;
  background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
}
.std-kit__head { display: flex; flex-direction: column; gap: .4rem; }
.std-kit__badge {
  align-self: flex-start; background: var(--accent); color: #fff; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em; padding: .35rem .8rem; border-radius: 999px;
}
.std-kit__head p { color: var(--accent-strong); font-weight: 500; font-size: .98rem; }
.std-kit__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; }
.std-kit__list li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--fg); }
.std-kit__list .icon { width: 20px; height: 20px; color: var(--accent-strong); }
@media (prefers-color-scheme: dark) {
  .std-kit__head p, .std-kit__list .icon { color: var(--accent-strong); }
  .std-kit__list li { color: var(--fg); }
}

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.6rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.step__num {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { color: var(--fg-muted); font-size: .96rem; }
.step p strong { color: var(--fg); font-weight: 600; }
.step--highlight { border-color: color-mix(in srgb, var(--accent) 45%, transparent); background: var(--accent-soft); box-shadow: var(--shadow); }
.step--highlight .step__num { background: var(--accent); }
.step__tag {
  position: absolute; top: 1.1rem; right: 1.1rem; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: .25rem .6rem; border-radius: 999px;
}
@media (prefers-color-scheme: dark) { .step--highlight p strong { color: var(--fg); } }

/* ---------- Gallery (pageable carousel) ---------- */
.gallery-carousel { position: relative; }
.gallery-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track > li { flex: 0 0 calc((100% - 2rem) / 3); scroll-snap-align: start; }
.gallery-item {
  display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--surface-2);
  position: relative; aspect-ratio: 3 / 4;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(12,10,9,0); transition: background .25s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { background: rgba(12,10,9,.12); }

/* arrows */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--fg); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.carousel-btn--prev { left: -10px; }
.carousel-btn--next { right: -10px; }
.carousel-btn:disabled { opacity: 0; pointer-events: none; }

/* dots */
.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.4rem; }
.carousel-dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--border-strong); transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.carousel-dots button.is-active { background: var(--accent); transform: scale(1.35); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent-strong), var(--accent)); color: #fff; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,.9); margin-top: .5rem; max-width: 48ch; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn--primary { --btn-bg: #fff; --btn-fg: var(--accent-strong); }
.cta-band .btn--primary:hover { background: var(--primary); color: #fff; }
.cta-band .btn--outline { border-color: rgba(255,255,255,.8); --btn-fg: #fff; }
.cta-band .btn--outline:hover { background: #fff; color: var(--accent-strong); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: .8rem; align-items: center; font-size: 1.05rem; color: var(--fg); }
.contact-list a { color: var(--fg); font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.contact__map {
  margin-top: 1.8rem; display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; border-radius: var(--radius); border: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(79,122,53,.10), rgba(79,122,53,.02)),
    repeating-linear-gradient(45deg, var(--surface-2) 0 14px, var(--surface) 14px 28px);
  color: var(--fg); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.contact__map:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--fg); }
.contact__map-pin { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 auto; border-radius: 12px; background: var(--accent); color: #fff; }
.contact__map-pin svg { width: 24px; height: 24px; }
.contact__map-label { display: flex; flex-direction: column; gap: .15rem; font-size: .98rem; }
.contact__map-label span { color: var(--accent-strong); font-weight: 600; font-size: .9rem; }

.contact__cta {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow); align-self: start;
  display: flex; flex-direction: column; gap: .9rem;
}
.contact__cta-icon { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-strong); }
.contact__cta-icon svg { width: 28px; height: 28px; }
.contact__cta h3 { font-size: 1.45rem; }
.contact__cta p { color: var(--fg-muted); }
.contact__cta .btn { margin-top: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--primary); color: var(--on-dark-muted); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__brand img { height: 34px; width: auto; margin-bottom: 1rem; background: #fff; padding: 7px 11px; border-radius: 10px; }
.site-footer__brand p { max-width: 38ch; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer__nav, .site-footer__contact { display: flex; flex-direction: column; gap: .6rem; }
.site-footer__nav a, .site-footer__contact a, .site-footer__contact span { color: var(--on-dark-muted); font-size: .95rem; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: #fff; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: var(--on-dark-muted); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(12,10,9,.92); display: flex; align-items: center; justify-content: center; padding: 2rem; animation: fadeIn .2s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(1100px, 92vw); max-height: 88vh; width: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s var(--ease); }
.lightbox__close:hover { background: rgba(255,255,255,.22); }
.lightbox__close svg { width: 24px; height: 24px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Irány-variánsok - oldalról / méretből úszik be */
.reveal--left  { transform: translateX(-32px); }
.reveal--right { transform: translateX(32px); }
.reveal--scale { transform: scale(.94); }
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible { transform: none; }

/* Sorban lévő elemek lépcsőzött belépése */
.stagger > * { opacity: 0; transform: translateY(26px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right, .reveal--scale, .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 860px) {
  .nav, .header__phone { display: none; }
  .nav-toggle { display: block; }
  .header__cta { display: none; }
  .header__actions { margin-left: auto; }
  .explain__grid, .showcase__grid, .contact__grid { grid-template-columns: 1fr; }
  .std-kit { gap: 1rem 1.5rem; }
  .showcase__media { order: -1; }
  .gallery-track > li { flex-basis: calc((100% - 1rem) / 2); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --header-h: 64px; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .swatch-row { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .gallery-track { gap: .7rem; }
  .gallery-track > li { flex-basis: 82%; }
  .carousel-btn { display: none; }
  .hero { min-height: clamp(520px, 90vh, 720px); }
  .hero__cta .btn { flex: 1 1 auto; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .site-footer__bottom { justify-content: flex-start; }
}
