/* ==========================================================================
   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: #12100c;
  --bg-alt: #1e1a13;
  --card: rgba(255, 240, 214, 0.05);
  --card-hover: rgba(255, 240, 214, 0.08);
  --border: rgba(230, 205, 160, 0.14);
  --text: #f6f0e4;
  --text-dim: #a89c8a;
  --accent: #c8a266;
  --accent-dark: #8a6a35;
  --accent-soft: rgba(200, 162, 102, 0.14);
  --gradient: linear-gradient(135deg, #8a6a35 0%, #c8a266 100%);
  --gradient-text: linear-gradient(135deg, #8a6a35 0%, #c8a266 50%, #e8d3a8 100%);
  /* "bevésett" felületek: a doboz a lapba süllyesztve, alul egy vékony fénnyel */
  --inset: inset 0 2px 6px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(255, 236, 205, 0.07);
  --inset-sm: inset 0 1px 2px rgba(0, 0, 0, 0.45), inset 0 -1px 0 rgba(255, 236, 205, 0.06);
  --engrave: 0 1px 0 rgba(0, 0, 0, 0.55), 0 -1px 0 rgba(255, 236, 205, 0.05);
  --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(200, 162, 102, 0.22), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(232, 211, 168, 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(200, 162, 102, 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(232, 211, 168, 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); -webkit-backdrop-filter: blur(6px); 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(14, 12, 9, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  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(calc(var(--vh100, 100vh) * 0.92), 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:
    radial-gradient(ellipse 62% 46% at 20% 32%, rgba(255, 214, 168, 0.11), transparent 70%),
    radial-gradient(ellipse 48% 42% at 80% 68%, rgba(255, 192, 132, 0.08), transparent 72%);
  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;
  -webkit-backdrop-filter: blur(4px);
  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; }

/* A hero címe fémes homok-felületet kap. A színátmenet magukra a
   betűkre kerül, nem a sorra: a belépő animáció transformot tesz minden
   betűre, és a transformált elem elveszítené a szülő kivágott hátterét
   (átlátszó maradna). A csillanás betűnkénti késleltetéssel fut végig,
   így hullámként halad a szövegen. */
.hero h1 .reveal-char {
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #fff9ea 9%,
    #ffffff 19%,
    #fbf1de 28%,
    #eeddb9 38%,
    #fdf7e9 47%,
    #ffffff 56%,
    #fffaf0 70%,
    #f2e5c8 86%,
    #ffffff 100%
  );
  background-size: 100% 260%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: hero-sheen 9s ease-in-out infinite;
  animation-delay: calc(var(--ci, 0) * 0.035s);
}
/* A vésett szövegárnyék átütne az átlátszó betűkitöltésen és szürkére
   keverné a fémes felületet, ezért itt kikapcsoljuk; a mélységet a
   kirajzolt eredményre tett drop-shadow adja. */
.hero h1 {
  text-shadow: none;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.55)) drop-shadow(0 14px 30px rgba(0, 0, 0, 0.45));
}
/* oda-vissza fut, így a ciklus záró és kezdő képkockája azonos */
@keyframes hero-sheen {
  0%, 10% { background-position: 0 0%; }
  45%, 55% { background-position: 0 100%; }
  90%, 100% { background-position: 0 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 .reveal-char { animation: none; background-position: 0 0; }
}
.reveal-word { display: inline-block; white-space: nowrap; }
.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(200, 162, 102, 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(200, 162, 102, 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);
  -webkit-backdrop-filter: blur(16px);
  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(200, 162, 102, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(200, 162, 102, 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;
}

/* raktárkészlet / szín-választék jelzőcímkék — a hero-badge pill stílusát
   viszik tovább, csak kártyán belüli, szűkebb elrendezésben */
.stock-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.feature-cta-group { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.feature-cta-group .price-note { margin: 0; }
.feature-cta-group .stock-badges { margin: 0; justify-content: center; }

/* ---- 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(200, 162, 102, 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: var(--head-h, 0px);
  height: calc(var(--vh100, 100vh) - var(--head-h, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
}
.scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* alkatrész-lista: görgetés közben épül fel, és a végén ott is marad */
.scrub-parts {
  position: absolute;
  left: 4%; top: 50%; transform: translateY(-50%);
  width: min(330px, 42vw);
  margin: 0; padding: 20px 24px;
  list-style: none;
  background: rgba(18, 16, 12, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.scrub-parts > li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.scrub-parts > li:last-child { border-bottom: none; }
.scrub-parts b {
  display: block;
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-dim);
}
.scrub-parts span { color: #fff; font-weight: 600; }
/* csak akkor rejtjük el, ha a görgetés-vezérlés tényleg fut */
.scrub-parts.is-scrubbing > li {
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.scrub-parts.is-scrubbing > li.is-visible { opacity: 1; transform: none; }
.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-width: 860px) {
  .scrub-parts {
    left: 4%; right: 4%; width: auto;
    top: 16px; bottom: auto; transform: none;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px;
    padding: 14px 18px;
  }
  .scrub-parts > li { padding: 7px 0; }
  .scrub-parts span { font-size: 0.86rem; }
}
@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: calc(var(--vh100, 100vh) * 2.6); }
.fall-sticky {
  position: sticky; top: var(--head-h, 0px); height: calc(var(--vh100, 100vh) - var(--head-h, 0px));
  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: 3%;
  /* a doboz magassága kötött, a szélessége a médium arányából jön:
     így minden kép és videó ugyanakkora magasságban, a lehető
     legnagyobb méretben jelenik meg — keret és beszorulás nélkül */
  width: max-content;
  max-width: 96vw;
  transform: translate(-50%, 0);
  transition: top 0.6s cubic-bezier(0.32, 0.94, 0.36, 1.25), left 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 { display: block; }
.fall-quad img, .fall-quad video {
  width: auto; height: auto;
  max-width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  border-radius: var(--radius);
}
/* per-stop environment videos crossfade in place (erdő / mocsár / homok) */
/* széles elrendezésnél a kép a panellel szemközti oldalra húzódik */
@media (min-width: 901px) {
  .fall-quad.side-left { left: 44%; }
  .fall-quad.side-right { left: 56%; }
}
/* az inaktív réteg kifeszül a dobozra, az aktív adja a doboz méretét */
.fall-quad-media { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.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 4%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 4;
}
.fall-panel.active { opacity: 1; pointer-events: auto; }
.fall-panel-inner {
  max-width: 330px;
  background: var(--card);
  -webkit-backdrop-filter: blur(16px);
  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 img, .fall-quad video { max-height: min(52vh, 360px); }
}

@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; height: auto; width: min(60vw, 280px); transition: none; }
  .fall-quad img, .fall-quad video { height: auto; width: 100%; }
  /* ebben a módban a görgetés-vezérelt JS nem fut (a csökkentett mozgás
     kedvéért, vagy mert a képernyő túl alacsony), tehát senki nem adja hozzá
     az .active osztályt — enélkül a kép/videó alapból opacity:0 maradna, azaz
     mind a négy állomás fotó/videó nélkül, üresen jelenne meg. Itt mindet
     egymás alá rendezve, láthatóvá tesszük. */
  .fall-quad-media { position: static; opacity: 1; margin-bottom: 14px; }
  .fall-quad-media:last-child { margin-bottom: 0; }
  .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(3, 1fr);
  gap: 20px;
  max-width: 1100px; 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, .terrain-video-card img { 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, 16, 12, 0.65);
  -webkit-backdrop-filter: blur(6px);
  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: relative;
  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: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--gradient);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 0 0 0 rgba(200, 162, 102, 0.6);
  animation: hotspot-pulse 2.2s ease-out infinite;
  transition: transform 0.15s ease;
}
.hotspot-num {
  font-size: 0.66rem; font-weight: 800; color: #fff;
  letter-spacing: 0; line-height: 1;
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
}
.hotspot.active { transform: scale(1.25); }
.hotspot-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 240px;
  text-align: left;
  background: rgba(18, 16, 12, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}
.hotspot-tip.tip-start { left: -8px; transform: none; }
.hotspot-tip.tip-end { left: auto; right: -8px; transform: none; }
.hotspot-tip.tip-below { bottom: auto; top: calc(100% + 10px); }
.hotspot-tip > b { display: block; color: var(--accent); font-size: 0.68rem; }
.hotspot-row { display: block; margin-top: 7px; }
.hotspot-key {
  display: block;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.hotspot-val {
  display: block;
  font-size: 0.78rem; font-weight: 700;
  text-transform: none; letter-spacing: normal;
  color: #fff;
}
.hotspot-more {
  display: block;
  margin-top: 8px;
  font-size: 0.6rem; font-weight: 600;
  text-transform: none; letter-spacing: normal;
  color: var(--text-dim);
}
.hotspot:hover .hotspot-tip,
.hotspot.active .hotspot-tip { opacity: 1; }
.hotspot:hover,
.hotspot.active {
  animation: none;
  box-shadow: 0 0 0 8px rgba(200, 162, 102, 0.25);
}
@keyframes hotspot-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 162, 102, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(200, 162, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 162, 102, 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-hint { text-transform: none; letter-spacing: normal; font-weight: 400; opacity: 0.7; }
.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(200, 162, 102, 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, #201b14, #201b14 10px, #1a160f 10px, #1a160f 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;
}

.map-embed {
  margin-top: 24px;
  height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--inset);
  /* a Google Maps saját, sötét/világos módja nem igazodik a lap témájához,
     ezért enyhén letompítjuk és megemeljük a kontrasztját, hogy ne üssön ki
     fehér foltként a sötét felületek közül */
  filter: grayscale(0.15) contrast(0.92) brightness(0.92);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-open-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}
.map-open-link:hover { color: var(--text); }

/* ---- 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(200, 162, 102, 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: var(--head-h, 0px);
  height: calc(var(--vh100, 100vh) - var(--head-h, 0px));
  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(200, 162, 102, 0.20), transparent 60%),
    radial-gradient(ellipse 600px 500px at calc(90% - var(--i) * 10%) 90%, rgba(232, 211, 168, 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; }

/* ==========================================================================
   Bevésett felületek — a keretes szövegdobozok a lapba süllyesztve ülnek,
   a feliratok pedig vésett hatást kapnak.
   ========================================================================== */

.card,
.step,
.usp-item,
.fall-panel-inner,
.scrub-parts,
.table-wrap,
.map-placeholder {
  background-color: rgba(0, 0, 0, 0.24);
  border-top-color: rgba(0, 0, 0, 0.45);
  box-shadow: var(--inset);
}

.hero-badge,
.brcp-tag,
.fall-env-tag,
.card-tag,
.terrain-video-label,
.spec-list > div,
.field input,
.field select,
.field textarea {
  box-shadow: var(--inset-sm);
}

.usp-item {
  border: 1px solid var(--border);
  border-top-color: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius);
}

/* a kártya nem emelkedik ki hoverre, hanem mélyebbre süllyed */
.card:hover {
  transform: none;
  border-color: rgba(200, 162, 102, 0.45);
  box-shadow: var(--inset), inset 0 0 24px rgba(200, 162, 102, 0.07);
}

h1, h2, h3, h4,
.eyebrow,
.stack-num,
.terrain-ticker {
  text-shadow: var(--engrave);
}

.card h3,
.step h4,
.usp-item h4,
.fall-panel-inner h2,
.fall-panel-inner h3,
.spec-list b,
.scrub-parts b,
.hotspot-key,
.price-table th,
.info-list b {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.65), 0 -1px 0 rgba(255, 236, 205, 0.07);
}

/* a gomb marad kiemelkedő, hogy kattinthatónak lássék */
.btn-primary,
.cta-banner {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* ---- Felszereltség-térkép: számozott listák a fotó két oldalán ---- */

.feature-map {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) minmax(320px, 1.6fr) minmax(200px, 1fr);
  gap: 20px;
  align-items: center;
}

.feature-col { display: grid; gap: 12px; align-content: center; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-top-color: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius);
  background-color: rgba(0, 0, 0, 0.24);
  box-shadow: var(--inset);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.feature-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: var(--inset-sm);
  color: var(--accent);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
}

.feature-text { min-width: 0; }
.feature-text b {
  display: block;
  font-size: 0.98rem; font-weight: 700;
  color: var(--text);
  text-shadow: var(--engrave);
}
.feature-text > span {
  display: block;
  font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent);
}

.feature-item.highlight {
  border-color: rgba(200, 162, 102, 0.55);
  background-color: rgba(200, 162, 102, 0.09);
  box-shadow: var(--inset), inset 3px 0 0 var(--accent);
}
.feature-item.highlight .feature-num { color: #fff; background: var(--gradient); }

.feature-cta {
  display: flex; align-items: center; justify-content: center;
  gap: 22px; flex-wrap: wrap;
  margin-top: 36px;
}
.feature-cta .price-note { margin: 0; }

@media (max-width: 980px) {
  .feature-map { grid-template-columns: 1fr; }
  .quad-photo-wrap { order: -1; }
  .feature-col { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .feature-col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Galéria — kitűzött vízszintes vonulás + teljes nézetbe növő kép (FLIP)
   ========================================================================== */

.gallery-section {
  position: relative;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg), var(--bg-alt));
}

.gallery-pin {
  height: var(--vh100, 100vh);
  /* a kitűzött galéria teteje se kerüljön a fejléc alá */
  padding-top: var(--head-h, 0px);
  box-sizing: border-box;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.gallery-head h2 { margin: 0; }
.gallery-hint { margin: 0; font-size: 0.85rem; max-width: 320px; }

.gallery-track {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(24px, 6vw, 90px);
  will-change: transform;
}

.gallery-item {
  position: relative;
  flex: 0 0 auto;
  width: clamp(260px, 46vw, 620px);
  margin: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top-color: rgba(0, 0, 0, 0.45);
  background: rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--inset);
  transition: border-color 0.25s ease;
}
.gallery-item:hover { border-color: rgba(200, 162, 102, 0.5); }

/* a teljes kép mindig látszik — nincs levágás */
.gallery-item img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  background: #0d0b08;
}

.gallery-item figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  text-shadow: var(--engrave);
}
.gallery-num { color: var(--accent); }

.gallery-progress {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.gallery-progress-fill {
  display: block;
  height: 3px;
  width: 0%;
  border-radius: 999px;
  background: var(--gradient);
}

/* GSAP nélkül / csökkentett mozgásnál sima oldalirányú görgetés */
.gallery-track.is-native {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
}
.gallery-track.is-native .gallery-item { scroll-snap-align: center; }

/* ---- Teljes nézet ---- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(9, 8, 6, 0);
  transition: background 0.45s ease;
  cursor: zoom-out;
}
.lightbox.is-open { background: rgba(9, 8, 6, 0.94); }
/* a class-alapú display: flex különben felülírná a hidden attribútumot */
.lightbox[hidden] { display: none; }

.lightbox-img {
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  transform-origin: top left;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 5vh, 48px);
  transform: translateX(-50%);
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(18, 16, 12, 0.85);
  font-size: 0.8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity 0.3s ease 0.25s;
}
.lightbox.is-open .lightbox-caption { opacity: 1; }

.lightbox-close {
  position: absolute;
  top: clamp(14px, 3vh, 30px);
  right: clamp(14px, 3vw, 34px);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(18, 16, 12, 0.85);
  color: var(--text);
  font-size: 1.6rem; line-height: 1;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease 0.25s, border-color 0.15s ease;
}
.lightbox.is-open .lightbox-close { opacity: 1; }
.lightbox-close:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 760px) {
  .gallery-item { width: min(82vw, 420px); }
  .gallery-item img { max-height: 46vh; }
  .gallery-hint { display: none; }
}

.gallery-text { display: block; }
.gallery-text b { display: block; }
.gallery-text > span {
  display: block;
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.08em;
}

/* ==========================================================================
   Görgetős szekció: a médium a teljes színpadot megkapja, az adatlap
   fölé úszik — ezért az adatlapnak takarnia kell a mögötte futó képet.
   ========================================================================== */

.fall-panel-inner {
  background-color: rgba(12, 10, 7, 0.86);
  border-color: rgba(230, 205, 160, 0.22);
  box-shadow: var(--inset), 0 30px 70px -18px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   Mobil / iOS finomhangolás
   Az iPhone-os Safari néhány ponton máshogy viselkedik, mint az asztali
   böngészők; az alábbi szabályok ezeket az eltéréseket kezelik.
   ========================================================================== */

html {
  /* iOS fekvő módban magától felnagyítja a szöveget – ezt kikapcsoljuk */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  /* koppintáskor ne villanjon fel a rendszer kék négyzete */
  -webkit-tap-highlight-color: transparent;
}

/* A mobil böngészők címsora (cím-/eszközsáv) elrejtőzik/megjelenik görgetéskor,
   és eközben a "vh"/"svh"/"dvh" CSS-egységek natív kiszámítása böngészőnként
   máshogy viselkedik (pl. Android Chrome-on a kitűzött szakaszok görgetés
   közben rezegnek/egymásra csúsznak, mert az egység menet közben, animálva
   újraszámolódik). Ezért itt nem CSS viewport-egységre, hanem a fenti
   --vh100 JS-mért, csak load/resize-kor frissülő CSS-változóra
   támaszkodunk (lásd main.js) — ez minden eszközön/böngészőben egyformán,
   villanás- és remegésmentesen viselkedik. */
.fall-quad img, .fall-quad video { max-height: min(calc(var(--vh100, 100vh) * 0.78), 900px); }

/* iOS 16px alatti beviteli mezőre ráközelít fókuszkor, és utána
   félrecsúszva marad az oldal – ezért a mezők legalább 16px-esek. */
@media (max-width: 860px) {
  .field input,
  .field select,
  .field textarea { font-size: 16px; }
}

/* Érintőképernyőn nincs egérmutató: a lebegtetésre épülő jelzések helyett
   a koppintás számít, a fogópontok pedig ujjal is eltalálhatók legyenek. */
@media (hover: none) {
  .hotspot {
    width: 34px; height: 34px;
    margin: -17px 0 0 -17px;
  }
  .hotspot-num { font-size: 0.72rem; }
  .hotspot-tip { font-size: 0.82rem; }
  .gallery-item:hover img { transform: none; }
}

/* Vízszintes galéria: lendületes görgetés, és ne rántsa magával az oldalt
   (iOS-en különben a lapozás/vissza gesztus is elsülhet). */
.gallery-track.is-native {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.gallery-track.is-native::-webkit-scrollbar { display: none; }

/* Rendes, koppintható/lejátszható videó (nem görgetés-vezérelt), alatta
   statikus alkatrészlistával – minden eszközön, lásd js/main.js. A sticky
   a szokásos tartalomszélességre (--maxw) korlátozva, hogy a videó a teljes
   szélességet kitöltse magassági levágás (fekete sáv) nélkül. */
.scrub-section.is-tap { height: auto; }
.scrub-section.is-tap .scrub-sticky {
  position: relative; height: auto;
  display: block; overflow: visible;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 24px 4% 32px;
}
.scrub-section.is-tap .scrub-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 85vh;
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
}
.scrub-section.is-tap .scrub-parts {
  position: static; transform: none;
  width: auto; left: auto; right: auto; top: auto;
  margin-top: 18px;
}
.scrub-section.is-tap .scrub-progress { display: none; }

/* --------------------------------------------------------------------------
   Kis kijelzők (iPhone SE, 320px)
   A rácsok elemei alapból nem zsugorodnak a tartalmuk alá, ezért a széles
   táblázatok kifeszítik az oldalt. A min-width: 0 engedi, hogy a saját
   vízszintes görgetősávjuk vegye át a szerepet.
   -------------------------------------------------------------------------- */

.grid-2 > *,
.grid-3 > *,
.footer-grid > * { min-width: 0; }

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

@media (max-width: 360px) {
  .container { padding: 0 16px; }
  .navbar { padding: 12px 16px; gap: 8px; }
  .topbar { padding: 8px 16px; gap: 14px; font-size: 0.74rem; }
  .logo { font-size: 1.15rem; }
  .logo-icon { width: 26px; height: 26px; }
  .logo small { display: none; }
  .brcp-tag { display: none; }
  .nav-toggle { width: 38px; height: 38px; }
  .hero h1 { font-size: clamp(1.7rem, 8.6vw, 2.4rem); }
}

/* --------------------------------------------------------------------------
   Hero hangkapcsoló
   A böngészők (kiváltképp az iOS Safari) nem engednek hangot lejátszani
   látogatói gesztus nélkül, ezért a hang nem indulhat magától: ez a gomb
   az a gesztus. Némán indul, a döntést pedig megjegyzi.
   -------------------------------------------------------------------------- */

.hero-sound {
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  bottom: clamp(16px, 4vh, 34px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(14, 12, 9, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text-dim);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--inset);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.hero-sound:hover { color: var(--text); border-color: var(--accent-dark); }
.hero-sound:active { transform: scale(0.96); }
.hero-sound svg { width: 18px; height: 18px; display: block; }

/* néma állapot: a hullámok eltűnnek, marad a keresztbe húzott jel */
.hero-sound .hero-sound-wave { opacity: 0; transition: opacity 0.25s ease; }
.hero-sound .hero-sound-off { opacity: 1; transition: opacity 0.25s ease; }
.hero-sound[aria-pressed="true"] { color: var(--accent); border-color: var(--accent-dark); }
.hero-sound[aria-pressed="true"] .hero-sound-wave { opacity: 1; }
.hero-sound[aria-pressed="true"] .hero-sound-off { opacity: 0; }

/* halk lüktetés, hogy észrevehető legyen – bekapcsolás után megszűnik */
.hero-sound[aria-pressed="false"] .hero-sound-icon {
  animation: hero-sound-hint 3.4s ease-in-out infinite;
}
@keyframes hero-sound-hint {
  0%, 82%, 100% { transform: scale(1); }
  88% { transform: scale(1.18); }
  94% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sound[aria-pressed="false"] .hero-sound-icon { animation: none; }
}
@media (max-width: 560px) {
  .hero-sound { padding: 8px 12px 8px 10px; }
  .hero-sound-text { display: none; }
}

/* ==========================================================================
   Nova — chat-asszisztens
   Bal alsó sarokban él, minden oldalon (a hero hanggomb jobb alul van,
   hogy a kettő sose fedje egymást). A panel a bevésett-arany felületek
   nyelvén szól: sötét, homályosított doboz, arany szegéllyel.
   ========================================================================== */

.nova-widget { position: fixed; left: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 900; }

.nova-launcher {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(14, 12, 9, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--inset), 0 14px 34px -14px rgba(0, 0, 0, 0.7);
  cursor: pointer;
  font: inherit; color: var(--text);
  transition: border-color 0.2s ease, transform 0.15s ease;
}
.nova-launcher:hover { border-color: rgba(230, 205, 160, 0.34); }
.nova-launcher:active { transform: scale(0.97); }
.nova-launcher:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
/* NOVA — mindenhol csupa nagybetűvel, ahogy a testvér-oldalakon is áll */
.nova-launcher-text { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* Nova arca — a bloodtypeai.health / dragonflymemory.com / hoteldellalba.com
   oldalakon már használt, saját Nova-karakter (a felhasználó saját
   Higgsfield-generálása), vékony arany kerettel, ugyanúgy mint ott. */
.nova-face { width: 54px; height: 54px; flex-shrink: 0; display: block; border-radius: 50%; border: 1.5px solid var(--accent); box-shadow: 0 0 0 1px rgba(0,0,0,0.4); overflow: hidden; background: #0a0a0a; }
.nova-face img, .nova-face video { width: 100%; height: 100%; display: block; object-fit: cover; }
.nova-face-sm { width: 44px; height: 44px; }

/* halk lüktetés, amíg csukva van a panel, hogy észrevegyék a gombot */
.nova-launcher:not([aria-expanded="true"]) .nova-face { animation: nova-hint 3.6s ease-in-out infinite; }
@keyframes nova-hint {
  0%, 84%, 100% { transform: scale(1); }
  90% { transform: scale(1.12); }
  96% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .nova-launcher:not([aria-expanded="true"]) .nova-face { animation: none; }
}

.nova-panel {
  position: absolute; left: 0; bottom: calc(100% + 12px);
  width: min(360px, calc(100vw - 28px));
  height: min(520px, 70vh);
  display: flex; flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--inset), 0 30px 70px -20px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  opacity: 0; transform: translateY(12px) scale(0.97);
  transform-origin: left bottom;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.32, 0.94, 0.36, 1.2);
}
.nova-panel.is-open { opacity: 1; transform: translateY(0) scale(1); }
.nova-panel[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  .nova-panel { transition: opacity 0.12s ease; transform: none; }
  .nova-panel.is-open { transform: none; }
}

.nova-head {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 12px 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.24);
  flex-shrink: 0;
}
.nova-head-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.nova-head-text strong { font-size: 0.98rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nova-head-text span { font-size: 0.74rem; color: var(--text-dim); }
.nova-close {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 8px;
  background: transparent; color: var(--text-dim);
  font-size: 0.95rem; cursor: pointer; line-height: 1;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nova-close:hover { color: var(--text); border-color: rgba(230, 205, 160, 0.34); }
.nova-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nova-log {
  flex: 1; overflow-y: auto;
  padding: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.nova-msg { display: flex; }
.nova-msg-bot { justify-content: flex-start; }
.nova-msg-user { justify-content: flex-end; }
.nova-bubble {
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 0.86rem; line-height: 1.5;
  word-wrap: break-word;
}
.nova-msg-bot .nova-bubble {
  background: rgba(255, 240, 214, 0.06);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.nova-msg-bot .nova-bubble a { color: var(--accent); font-weight: 600; }
.nova-msg-user .nova-bubble {
  background: var(--gradient);
  color: #1a1305;
  font-weight: 600;
  border-bottom-right-radius: 4px;
}

.nova-typing .nova-bubble { display: flex; gap: 4px; align-items: center; padding: 12px 14px; }
.nova-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-dim);
  animation: nova-typing-bounce 1.1s ease-in-out infinite;
}
.nova-typing span:nth-child(2) { animation-delay: 0.15s; }
.nova-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes nova-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .nova-typing span { animation: none; opacity: 0.8; }
}

.nova-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 12px 10px;
  flex-shrink: 0;
}
.nova-chip {
  border: 1px solid var(--border); border-radius: 999px;
  background: rgba(255, 240, 214, 0.04);
  color: var(--text-dim);
  font: inherit; font-size: 0.72rem; font-weight: 600;
  padding: 6px 11px; cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nova-chip:hover { color: var(--text); border-color: rgba(230, 205, 160, 0.34); }
.nova-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nova-form {
  display: flex; gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.nova-form input {
  flex: 1; min-width: 0;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 14px;
  color: var(--text); font: inherit; font-size: 0.86rem;
}
.nova-form input:focus { outline: none; border-color: var(--accent); }
.nova-form button {
  width: 38px; height: 38px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: var(--gradient); color: #1a1305;
  display: grid; place-items: center; cursor: pointer;
}
.nova-form button svg { width: 17px; height: 17px; }
.nova-form button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.nova-note {
  margin: 0; padding: 0 14px 12px;
  font-size: 0.68rem; color: var(--text-dim); line-height: 1.4;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .nova-widget { left: 12px; bottom: 12px; }
  .nova-launcher-text { display: none; }
  .nova-launcher { padding: 8px; }
  .nova-panel {
    position: fixed; left: 10px; right: 10px; bottom: 10px;
    width: auto; height: min(72vh, 560px);
  }
}
