/* ==========================================================================
   BRCP Quad — közös stíluslap
   Csere előtt: a #placeholder jelölésű elemek (fotók, elérhetőségek, árak)
   valós ügyféltartalommal töltendők ki.
   ========================================================================== */

:root {
  --bg: #0b120e;
  --bg-alt: #142019;
  --card: rgba(210, 255, 225, 0.04);
  --card-hover: rgba(210, 255, 225, 0.07);
  --border: rgba(160, 255, 195, 0.11);
  --text: #eef7f0;
  --text-dim: #94ab9d;
  --accent: #2f8f5b;
  --accent-dark: #1b5e3a;
  --accent-soft: rgba(47, 143, 91, 0.14);
  --gradient: linear-gradient(135deg, #1b5e3a 0%, #2f8f5b 100%);
  --gradient-text: linear-gradient(135deg, #1b5e3a 0%, #2f8f5b 50%, #7fd9a0 100%);
  --radius: 14px;
  --maxw: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(ellipse 900px 500px at 12% -10%, rgba(47, 143, 91, 0.22), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(127, 217, 160, 0.14), transparent 55%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* animated film-grain overlay */
.grain {
  position: fixed; inset: -20%; width: 140%; height: 140%;
  z-index: 999; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 0.4s steps(4) infinite;
}
@keyframes grain-shift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 1%); }
  50% { transform: translate(1%, -2%); }
  75% { transform: translate(-1%, 2%); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

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

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

p { color: var(--text-dim); margin: 0 0 16px; }

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gradient);
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.5), 0 -1px 0 rgba(255,255,255,0.2);
  box-shadow:
    0 8px 24px -8px rgba(47, 143, 91, 0.55),
    inset 0 1px 2px rgba(0,0,0,0.28),
    inset 0 -1px 0 rgba(255,255,255,0.14);
}
.btn-primary:hover {
  box-shadow:
    0 12px 32px -6px rgba(127, 217, 160, 0.5),
    inset 0 1px 2px rgba(0,0,0,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.2);
}

.btn-ghost {
  border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.03); backdrop-filter: blur(6px);
  text-shadow: 0 1px 1px rgba(0,0,0,0.6), 0 -1px 0 rgba(255,255,255,0.05);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.35), inset 0 -1px 0 rgba(255,255,255,0.04);
}
.btn-ghost:hover {
  border-color: var(--accent); color: var(--accent);
  text-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 -1px 0 rgba(255,255,255,0.05);
}

.btn-block { width: 100%; justify-content: center; }

/* ---- Header ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 13, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px 24px;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  max-width: var(--maxw);
  margin: 0 auto;
}

.topbar a:hover { color: var(--accent); }

.navbar {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.logo-icon { width: 32px; height: 32px; flex-shrink: 0; }

.brand { display: flex; align-items: center; gap: 10px; }
.brcp-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 3px 9px;
}

.logo span {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo small {
  font-size: 0.6rem;
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--accent); border-color: var(--accent); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .topbar { justify-content: center; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---- Hero — depth-layered z-parallax scene ---- */

.hero {
  position: relative;
  height: min(92vh, 860px);
  min-height: 560px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.hero-layer { position: absolute; left: 0; right: 0; will-change: transform; }

.hero-video {
  position: absolute; inset: -6% 0 0 0; width: 100%; height: 112%;
  object-fit: cover; object-position: center 40%;
  z-index: 0; will-change: transform;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(18,14,11,0.94) 0%, rgba(18,14,11,0.62) 42%, rgba(18,14,11,0.22) 100%),
    linear-gradient(0deg, rgba(18,14,11,0.55), transparent 40%);
}
.hero-layer-mid {
  top: -10%; height: 120%; opacity: 0.5; z-index: 1;
  background-image: repeating-linear-gradient(78deg, rgba(255, 200, 150, 0.07) 0 2px, transparent 2px 90px);
  mask-image: linear-gradient(180deg, transparent, #000 45%, #000 75%, transparent);
}

.hero-content { position: relative; z-index: 2; width: 100%; }

/* cinematic letterbox bars: slide in on load, framing the hero like a film scene */
.hero-frame-bar {
  position: absolute; left: 0; right: 0; z-index: 4;
  height: clamp(20px, 4vh, 44px);
  background: var(--bg);
  pointer-events: none;
}
.hero-frame-bar.top { top: 0; transform: translateY(-100%); }
.hero-frame-bar.bottom { bottom: 0; transform: translateY(100%); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-badges {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-badge {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.hero-actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

/* per-character headline reveal */
h1 .reveal-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.reveal-mask { display: inline-block; }
.reveal-char { display: inline-block; transform: translateY(115%); }

/* magnetic buttons */
.magnetic { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal-char { transform: none; }
}

.photo-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px dashed rgba(47, 143, 91, 0.35);
  background:
    repeating-linear-gradient(135deg, rgba(47,143,91,0.07), rgba(47,143,91,0.07) 12px, rgba(127,217,160,0.05) 12px, rgba(127,217,160,0.05) 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  padding: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow: hidden;
}

.placeholder-illustration {
  width: 62%;
  max-width: 240px;
  filter: drop-shadow(0 12px 24px rgba(47, 143, 91, 0.35));
}
.placeholder-illustration svg { width: 100%; display: block; }

.photo-placeholder .placeholder-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* ---- USP strip ---- */

.usp-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

@media (max-width: 760px) {
  .usp-strip { grid-template-columns: 1fr; }
}

.usp-item {
  background: var(--card);
  padding: 26px 20px;
  text-align: center;
}

.usp-item .icon {
  width: 40px; height: 40px;
  margin: 0 auto 14px;
  color: var(--accent);
}

.usp-item h4 { margin-bottom: 6px; font-size: 0.95rem; }
.usp-item p { font-size: 0.85rem; margin: 0; }

/* ---- Cards / grid ---- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.card:hover {
  border-color: rgba(47, 143, 91, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(47, 143, 91, 0.45);
}

.card-body { padding: 22px; }

.card-tag {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.spec-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  margin: 16px 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.spec-list div { font-size: 0.85rem; }
.spec-list b { color: var(--text); display: block; font-size: 0.75rem; text-transform: uppercase; color: var(--text-dim); letter-spacing: .04em; }
.spec-list span { color: var(--text); font-weight: 600; }

.price-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ---- Steps ---- */

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  background: var(--card);
}

.step .num {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.step .num::before { content: counter(step); }

/* ---- Banner / CTA ---- */

.cta-banner {
  border-radius: var(--radius);
  padding: 48px;
  background: var(--gradient);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  box-shadow: 0 24px 60px -20px rgba(47, 143, 91, 0.5);
}

.cta-banner h2 { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.3); margin-bottom: 6px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,0.6); color: #fff; background: rgba(255,255,255,0.08); }
.cta-banner .btn-ghost:hover { background: #fff; color: var(--accent-dark); border-color: #fff; }

/* ---- Table (árlista) ---- */

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.price-table th {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.price-table td:last-child, .price-table th:last-child { text-align: right; font-weight: 700; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.table-wrap .price-table { border: none; }
.table-wrap .price-table th, .table-wrap .price-table td { border-bottom: 1px solid var(--border); }
.table-wrap .price-table tr:last-child td { border-bottom: none; }

/* ---- Product video ---- */

.product-video-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  max-height: 640px;
  margin: 0 auto;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
}
.product-video-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---- Scroll-scrubbed disassembly video: scrolling drives currentTime ---- */

.scrub-section {
  position: relative;
  height: 320vh;
}
.scrub-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scrub-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 24px 40px;
  text-align: center;
  background: linear-gradient(0deg, rgba(18,14,11,0.9), transparent);
  pointer-events: none;
}
.scrub-caption h2 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }
.scrub-caption p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 6px auto 0; }
.scrub-progress {
  position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: rgba(255,255,255,0.12);
}
.scrub-progress-fill { height: 100%; width: 0%; background: var(--gradient); transition: width 0.05s linear; }

@media (max-height: 420px), (prefers-reduced-motion: reduce) {
  .scrub-section { height: auto; }
  .scrub-sticky { position: relative; height: auto; aspect-ratio: 16 / 9; }
}

/* ---- Falling-quad scroll sequence: quad drops to each data stop as you scroll ---- */

.fall-sequence { position: relative; height: 260vh; }
.fall-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}
/* ambient, slowly breathing glow behind the quad for cinematic depth */
.fall-sticky::before {
  content: "";
  position: absolute; left: 50%; top: 45%;
  width: min(70vw, 700px); height: min(70vw, 700px);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  animation: fall-glow-pulse 6s ease-in-out infinite;
}
@keyframes fall-glow-pulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .fall-sticky::before { animation: none; }
}
.fall-quad {
  position: absolute; left: 50%; top: 8%;
  width: min(58vw, 560px);
  transform: translate(-50%, 0);
  transition: top 0.6s cubic-bezier(0.32, 0.94, 0.36, 1.25);
  z-index: 3;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
}
.fall-quad img, .fall-quad svg, .fall-quad video { width: 100%; display: block; }
.fall-quad img, .fall-quad video { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
/* per-stop environment videos crossfade in place (erdő / mocsár / homok) */
.fall-quad-media { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
/* homok (stop 3) forrása fekvő beállítású felvétel — cover levágná a quadot, contain mutatja a teljes képet */
.fall-quad-media[data-stop="3"] { object-fit: contain; background: #0a0a0a; }
.fall-quad-media.active { position: relative; opacity: 1; }
.fall-env-tag {
  display: inline-block; margin-bottom: 8px; padding: 3px 10px;
  border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
}
.fall-panel {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 6%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 2;
}
.fall-panel.active { opacity: 1; pointer-events: auto; }
.fall-panel-inner {
  max-width: 380px;
  background: var(--card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
  /* "bursts" up from the impact point rather than just fading in */
  transform: scale(0.82) translateY(34px);
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fall-panel.active .fall-panel-inner { transform: scale(1) translateY(0); }
.fall-panel.align-right .fall-panel-inner { margin-left: auto; }
.fall-panel-inner .spec-list { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fall-panel-inner .spec-list > div {
  opacity: 0; transform: translateY(14px) scale(0.85);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.fall-panel.active .fall-panel-inner .spec-list > div { opacity: 1; transform: translateY(0) scale(1); }
.fall-panel.active .fall-panel-inner .spec-list > div:nth-child(1) { transition-delay: 0.08s; }
.fall-panel.active .fall-panel-inner .spec-list > div:nth-child(2) { transition-delay: 0.15s; }
.fall-panel.active .fall-panel-inner .spec-list > div:nth-child(3) { transition-delay: 0.22s; }
.fall-panel.active .fall-panel-inner .spec-list > div:nth-child(4) { transition-delay: 0.29s; }
.fall-dots {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 4;
}
.fall-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border); transition: background 0.3s ease, transform 0.3s ease; }
.fall-dot.active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 760px) {
  .fall-panel { padding: 0 5%; align-items: flex-end; padding-bottom: 90px; }
  .fall-panel-inner { max-width: 100%; }
  .fall-panel.align-right .fall-panel-inner { margin-left: 0; }
  .fall-quad { width: min(50vw, 260px); }
}

@media (max-height: 480px), (prefers-reduced-motion: reduce) {
  .fall-sequence { height: auto; }
  .fall-sticky { position: relative; height: auto; padding: 48px 0; }
  .fall-quad { position: static; transform: none; margin: 0 auto 24px; width: min(60vw, 280px); transition: none; }
  .fall-panel { position: relative; opacity: 1; pointer-events: auto; padding: 12px 6% 32px; display: block; }
  .fall-panel-inner { max-width: 520px; margin: 0 auto; transform: none; transition: none; }
  .fall-panel.align-right .fall-panel-inner { margin: 0 auto; }
  .fall-panel-inner .spec-list > div { opacity: 1; transform: none; transition: none; }
  .fall-dots { display: none; }
}

/* ---- Terrain showcase: mocsár / homok / erdő ---- */

.terrain-showcase { background: var(--bg-alt); }
.terrain-ticker {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 32px 0 48px;
  padding: 20px 5%;
  background: var(--bg-alt);
  font-weight: 800;
  font-size: clamp(22px, 4.5vw, 42px);
  letter-spacing: 1px;
  color: var(--text);
}
.terrain-ticker .accent { color: var(--accent); }
.terrain-ticker .dot { opacity: 0.4; }
.terrain-videos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1300px; margin: 0 auto;
}
.terrain-video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
  background: #000;
}
.terrain-video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.terrain-video-label {
  position: absolute; left: 14px; bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(18, 14, 11, 0.65);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
}
@media (max-width: 760px) {
  .terrain-videos { grid-template-columns: 1fr; max-width: 420px; }
  .terrain-video-card { aspect-ratio: 16 / 9; }
}

/* ---- Interactive product photo with hotspots ---- */

.quad-photo-wrap {
  position: sticky;
  top: 90px;
  align-self: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}
.quad-photo { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }

.hotspot {
  position: absolute;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--gradient);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.6);
  animation: hotspot-pulse 2.2s ease-out infinite;
}
.hotspot span {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.hotspot:hover span,
.hotspot.active span { opacity: 1; }
.hotspot:hover,
.hotspot.active {
  animation: none;
  box-shadow: 0 0 0 8px rgba(47, 143, 91, 0.25);
}
@keyframes hotspot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(47, 143, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 143, 91, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hotspot { animation: none; }
}

.price-table tr[data-hotspot] { cursor: pointer; transition: background-color .15s ease; }
.price-table tr[data-hotspot]:hover,
.price-table tr[data-hotspot].highlight {
  background: var(--accent-soft);
}

@media (max-width: 900px) {
  /* relative (not static) so the hotspot buttons still position against this box */
  .quad-photo-wrap { position: relative; top: 0; }
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { margin-top: 24px; }
.info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.info-list li:last-child { border-bottom: none; }
.info-list .icon { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.info-list b { display: block; color: var(--text); }
.info-list span { color: var(--text-dim); font-size: 0.9rem; }

form.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 143, 91, 0.2);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 0.78rem; color: var(--text-dim); margin-top: 12px; }

.map-placeholder {
  height: 100%;
  min-height: 260px;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  background: repeating-linear-gradient(45deg, #171b22, #171b22 10px, #14171d 10px, #14171d 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-top: 24px;
}

/* ---- Footer ---- */

.site-footer {
  background: var(--bg-alt);
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.footer-grid h4 {
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); }

.badge-todo {
  display: inline-block;
  background: rgba(47, 143, 91, 0.14);
  color: var(--accent);
  border: 1px dashed var(--accent);
  border-radius: 6px;
  font-size: 0.72rem;
  padding: 2px 8px;
  margin-left: 8px;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 600;
}

/* ---- Sticky stacking scroll section ---- */

.stack {
  position: relative;
}

.stack-card {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 520px;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: calc(var(--i) + 1);
  background:
    radial-gradient(ellipse 700px 500px at calc(20% + var(--i) * 15%) 10%, rgba(47, 143, 91, 0.20), transparent 60%),
    radial-gradient(ellipse 600px 500px at calc(90% - var(--i) * 10%) 90%, rgba(127, 217, 160, 0.14), transparent 55%),
    var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
  transform-origin: top center;
  will-change: transform, filter, box-shadow;
}

.stack-card-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.stack-card-text .eyebrow { display: block; margin-top: 6px; }
.stack-card-text h2 { margin-top: 8px; }

.stack-num {
  font-size: 3.2rem;
  font-weight: 900;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.stack-card .photo-placeholder { aspect-ratio: 4 / 3; }

@media (max-width: 860px) {
  .stack-card-inner { grid-template-columns: 1fr; }
  .stack-card .photo-placeholder { order: -1; aspect-ratio: 16 / 10; }
}

@media (max-height: 420px) {
  .stack-card {
    position: relative;
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 56px 0;
    box-shadow: none;
    transform: none !important;
    filter: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stack-card { transform: none !important; filter: none !important; }
}

.page-hero {
  padding: 56px 0 48px;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero p { max-width: 640px; }
