/* ============================================================
   VG AUTO EXPORT - Obsidian Glass design system
   Dark glassmorphism over the preserved brand palette:
   orange #FF8039 / charcoal #241F20
   ------------------------------------------------------------
   Layering model (back → front):
     body            solid #171314 (overscroll safety)
     body::before    fixed ambient gradient canvas   (z -3)
     .bg-orbs        fixed animated aurora orbs      (z -2)
     body::after     fixed film-grain noise          (z -1)
     content         frosted glass panels sample all of the above
   ============================================================ */

/* ---------- FiraGO (self-hosted, Georgian+Latin+Cyrillic) ---------- */
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-UltraLight.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "FiraGO"; src: url("../fonts/firago/FiraGO-Heavy.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Brand */
  --c-primary: #FF8039;
  --c-primary-hover: #FF6711;
  --c-primary-strong: #FF9350;  /* large display accents */
  --c-primary-deep: #FFA26B;    /* small orange text - high contrast on glass */
  --c-primary-soft: rgba(255, 128, 57, 0.14);
  --c-dark: #241F20;

  /* Ink on dark */
  --c-ink: #FFF6F0;
  --c-body: rgba(255, 244, 236, 0.78);
  --c-muted: rgba(255, 244, 236, 0.58);
  --c-line: rgba(255, 255, 255, 0.12);
  --c-bg: #171314;
  --c-tint: rgba(255, 255, 255, 0.04);
  --c-tint-2: rgba(255, 255, 255, 0.07);
  --c-warm: rgba(255, 176, 57, 0.05);
  --c-success: #4CD97B;
  --c-danger: #FF7B6B;

  /* Glass tiers */
  --glass-1: rgba(255, 255, 255, 0.045);          /* quiet panels, tints   */
  --glass-2: rgba(255, 255, 255, 0.07);           /* default cards         */
  --glass-3: rgba(30, 25, 26, 0.66);              /* elevated dark glass   */
  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-border-bright: rgba(255, 255, 255, 0.22);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.12);   /* top light line */
  --glass-blur: blur(20px) saturate(1.5);
  --glass-blur-strong: blur(28px) saturate(1.6);

  --grad-primary: linear-gradient(120deg, #FFB380 0%, #FF8039 48%, #FF6711 100%);

  --font-display: "FiraGO", system-ui, sans-serif;
  --font-mono: "FiraGO", ui-monospace, "SF Mono", "Cascadia Mono", Consolas, monospace;
  --spring: linear(0, 0.0086 1.03%, 0.0349 2.13%, 0.1412 4.61%, 0.5292 10.19%, 0.6798 12.67%, 0.8064 15.25%, 0.9048 17.85%, 0.9755 20.52%, 1.0208 23.32%, 1.0446 26.36%, 1.0492 30.32%, 1.0161 42.7%, 1.0007 51.63%, 0.9942 62.52%, 1 100%);
  --spring-soft: linear(0, 0.0993 2.06%, 0.3418 4.44%, 0.7823 9.29%, 0.9598 11.85%, 1.0781 14.55%, 1.1215 16.63%, 1.1414 18.82%, 1.1355 21.62%, 1.0359 30.23%, 0.9998 34.85%, 0.9857 40.11%, 1.0031 55.72%, 1 100%);
  --font-body: "FiraGO", system-ui, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.5);
  --glow-primary: 0 8px 28px rgba(255, 128, 57, 0.26);
  --glow-primary-lg: 0 14px 44px rgba(255, 128, 57, 0.34);
  --glow-card: 0 18px 48px rgba(255, 128, 57, 0.07);

  --header-h: 76px;
  --container: 1200px;
  --container-wide: 1320px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300; /* FiraGO Light - airy body text; UI labels re-bolden below */
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
b, strong { font-weight: 700; }

/* Ambient gradient canvas (fixed, behind everything) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(1100px 720px at 86% -12%, rgba(255, 128, 57, 0.08), transparent 62%),
    radial-gradient(860px 620px at -12% 18%, rgba(122, 110, 255, 0.09), transparent 60%),
    radial-gradient(940px 760px at 52% 112%, rgba(255, 143, 57, 0.10), transparent 64%),
    linear-gradient(160deg, rgba(23, 19, 20, 0.84) 0%, rgba(36, 31, 32, 0.86) 56%, rgba(32, 24, 25, 0.88) 100%),
    url("../img/ambient-sea.webp") center / cover no-repeat #171314;
}

/* Film grain - organic texture, kills gradient banding */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%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");
  opacity: 0.05; mix-blend-mode: overlay;
}

img, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--c-ink);
  /* FiraGO's Georgian has deep descenders and tall ascenders - tight leading
     makes wrapped card titles collide, so small headings get more room. */
  line-height: 1.3;
  margin: 0 0 0.5em;
  font-weight: 800;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--c-primary); color: var(--c-dark); }

/* Slim dark scrollbar with warm thumb */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16); border-radius: 8px;
  border: 3px solid transparent; background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(255, 128, 57, 0.55); background-clip: content-box; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-dark); color: #fff; padding: 10px 18px;
  border: 1px solid var(--glass-border); border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Ambient aurora orbs ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-orbs i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(80px); will-change: transform;
}
.bg-orbs i:nth-child(1) {
  width: 560px; height: 560px; top: -170px; right: -130px;
  background: rgba(255, 128, 57, 0.10);
  animation: orbDrift 26s ease-in-out infinite alternate;
}
.bg-orbs i:nth-child(2) {
  width: 460px; height: 460px; bottom: -150px; left: -130px;
  background: rgba(122, 110, 255, 0.13);
  animation: orbDrift 34s 4s ease-in-out infinite alternate-reverse;
}
.bg-orbs i:nth-child(3) {
  width: 380px; height: 380px; top: 42%; left: 56%;
  background: rgba(255, 155, 57, 0.10);
  animation: orbDrift 40s 2s ease-in-out infinite alternate;
}
@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-70px, 50px) scale(1.12); }
}

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: var(--container-wide); }
.section { padding: 104px 0; }
.section--tight { padding: 56px 0; }
.section--tint { background: var(--c-tint); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section--warm { background: var(--c-warm); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.section--dark { background: rgba(0, 0, 0, 0.22); border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--c-body); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--c-ink); }

.section-head { max-width: none; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { line-height: 1.08; font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 900; letter-spacing: -0.02em; }
.section-head .lead { font-size: 1.06rem; }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--split { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--split { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 60px 0; }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Typography helpers ---------- */
body { counter-reset: vgsec; overflow-x: clip; }
.eyebrow {
  display: inline-flex; align-items: baseline; gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--c-muted); margin-bottom: 16px;
  counter-increment: vgsec;
}
.eyebrow::before {
  content: "//";
  font-weight: 700; letter-spacing: 0; color: var(--c-primary);
}
.section-head { padding-top: 0; }
.display {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.1;
}
.accent { color: var(--c-primary-strong); }
h2 .accent { color: inherit; background: none; -webkit-background-clip: initial; -webkit-text-fill-color: currentColor; }
small .accent, p .accent, .form-note .accent { color: var(--c-primary-deep); }
/* Display-size accents get a gradient sheen (hero/display only) */
h1 .accent, .display .accent {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--c-primary-strong);
}
.lead { font-size: 1.14rem; font-weight: 300; color: var(--c-body); line-height: 1.65; }
.muted { color: var(--c-muted); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.55s var(--spring), box-shadow 0.3s ease, border-color 0.2s ease,
    background-color 0.2s ease, color 0.2s ease; white-space: nowrap;
}
/* glass shine sweep */
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg); opacity: 0; transition: none; pointer-events: none;
}
.btn:hover::after { animation: shineSweep 0.7s ease forwards; }
@keyframes shineSweep { from { left: -80%; opacity: 1; } to { left: 130%; opacity: 1; } }

.btn--primary {
  background: var(--grad-primary); color: var(--c-dark);
  box-shadow: var(--glow-primary), var(--glass-edge);
}
.btn--primary:hover { color: var(--c-dark); transform: translateY(-2px); box-shadow: var(--glow-primary-lg), var(--glass-edge); }
.btn--dark {
  background: var(--glass-2); color: var(--c-ink);
  border-color: var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
}
.btn--dark:hover { border-color: var(--glass-border-bright); transform: translateY(-1px); }
.btn--ghost {
  border-color: var(--glass-border); color: var(--c-ink);
  background: rgba(255, 255, 255, 0.03);
}
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary-deep); }
.btn--light { background: #FFF6F0; color: var(--c-dark); }
.btn--light:hover { box-shadow: 0 12px 32px rgba(255, 246, 240, 0.18); transform: translateY(-2px); }
.btn--lg { padding: 18px 36px; font-size: 1.04rem; }
.btn--sm { padding: 8px 18px; font-size: 0.85rem; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--glass-2); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  font-weight: 600; font-size: 0.9rem; color: var(--c-ink);
  transition: all 0.18s ease; cursor: pointer;
}
.chip:hover { border-color: var(--c-primary); color: var(--c-primary-deep); box-shadow: var(--glass-edge), 0 6px 20px rgba(255, 128, 57, 0.18); }
.chip--active, .chip[aria-pressed="true"] { background: var(--grad-primary); border-color: transparent; color: var(--c-dark); }

/* ---------- Cards ---------- */
.card {
  background: var(--glass-2);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--glass-edge), 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.55s var(--spring), box-shadow 0.35s ease, border-color 0.25s ease;
}
.card--hover:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 128, 57, 0.4);
  box-shadow: var(--glass-edge), var(--shadow-lg), var(--glow-card);
}
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.card--hover:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 22px 24px 24px; }
.card__title { font-size: 1.12rem; margin-bottom: 6px; }
.card--flat { border-color: rgba(255, 255, 255, 0.08); background: var(--glass-1); }

/* Icon feature card */
.grid { counter-reset: vgfeat; }
.grid > .feature { position: relative; counter-increment: vgfeat; }
.grid > .feature::after {
  content: counter(vgfeat, decimal-leading-zero);
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display); font-weight: 900; font-size: 2.3rem; line-height: 1;
  color: rgba(255, 255, 255, 0.06); pointer-events: none;
}
.feature {
  padding: 32px 30px; border-radius: var(--r-lg);
  background: var(--glass-2);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); height: 100%;
  box-shadow: var(--glass-edge), 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.55s var(--spring), box-shadow 0.35s ease, border-color 0.25s ease;
}
.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 128, 57, 0.4);
  box-shadow: var(--glass-edge), var(--shadow-md), var(--glow-card);
}
.feature__icon {
  width: 58px; height: 58px; border-radius: var(--r-md);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  background: rgba(255, 255, 255, 0.06); color: var(--c-ink);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature:hover .feature__icon { background: rgba(255, 128, 57, 0.14); color: var(--c-primary); border-color: rgba(255, 128, 57, 0.35); }
.feature h3 { font-size: 1.08rem; }
.feature p { font-size: 0.94rem; margin: 0; }

/* ---------- Stats ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 12px 40px; align-items: center; }
.stat-row--divided .stat + .stat { border-left: 2px solid var(--c-line); padding-left: 40px; }
@media (max-width: 620px) {
  /* wrapped rows would orphan the dividers - drop them on narrow screens */
  .stat-row { gap: 16px 28px; }
  .stat-row--divided .stat + .stat { border-left: none; padding-left: 0; }
}
.stat b {
  display: block; font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 900; color: var(--c-ink); line-height: 1.1;
}
.stat b .accent { font-size: inherit; }
.stat span { font-size: 0.88rem; color: var(--c-muted); }
.section--dark .stat b { color: var(--c-ink); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-weight: 600; font-size: 0.88rem; color: var(--c-ink); }
.input, .select, .textarea {
  width: 100%; padding: 14px 20px;
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  font: inherit; color: var(--c-ink);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--glass-edge);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.input::placeholder, .textarea::placeholder { color: rgba(255, 244, 236, 0.38); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--c-primary);
  background-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--glass-edge), 0 0 0 4px rgba(255, 128, 57, 0.22);
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23FFF6F0' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  padding-right: 44px;
}
.select option { background-color: #262021; color: var(--c-ink); }
/* align-items:end keeps control boxes level even when a field has no visible label */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: end; }
.form-grid .field--full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { font-size: 0.85rem; color: var(--c-muted); }
.form-msg { font-size: 0.92rem; font-weight: 600; margin-top: 10px; display: none; }
.form-msg--ok { color: var(--c-success); display: block; }
.form-msg--err { color: var(--c-danger); display: block; }

/* Big search pill (hero) */
.search-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--glass-3); border-radius: var(--r-pill);
  padding: 8px 8px 8px 26px;
  backdrop-filter: var(--glass-blur-strong); -webkit-backdrop-filter: var(--glass-blur-strong);
  box-shadow: var(--glass-edge), var(--shadow-md);
  border: 1px solid var(--glass-border-bright);
  max-width: 640px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-pill:focus-within {
  border-color: rgba(255, 128, 57, 0.55);
  box-shadow: var(--glass-edge), var(--shadow-md), 0 0 0 4px rgba(255, 128, 57, 0.16);
}
.search-pill input {
  flex: 1; border: none; font: inherit; font-size: 1rem; color: var(--c-ink);
  background: transparent; min-width: 0;
}
.search-pill input::placeholder { color: rgba(255, 244, 236, 0.42); }
.search-pill input:focus { outline: none; }
.search-pill .btn { flex: none; }
.search-pill__label {
  flex: none; font-weight: 700; font-size: 0.9rem; color: var(--c-muted);
  border-right: 1px solid var(--c-line); padding-right: 16px; margin-right: 8px;
  display: flex; align-items: center; gap: 8px;
}
@media (max-width: 620px) {
  .search-pill { flex-wrap: wrap; border-radius: var(--r-lg); padding: 12px; }
  .search-pill__label { border: none; }
  .search-pill .btn { width: 100%; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 11, 12, 0.88);
  backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.site-header.is-stuck {
  background: rgba(23, 19, 20, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.site-header__in {
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 42px; width: auto; }
.brand .brand__logo { height: 44px; width: auto; border-radius: 0; box-shadow: none; }
@media (max-width: 720px) {
  .site-header__in { gap: 12px; }
  .brand { min-width: 0; }
  .brand .brand__logo { height: 28px; }
  .header-actions { gap: 8px; }
}
@media (max-width: 480px) {
  .brand .brand__logo { height: 24px; }
  .header-dealer { padding: 8px 12px; font-size: 0.78rem; }
  .theme-toggle, .burger { width: 38px; height: 38px; }
}
@media (max-width: 380px) {
  .brand .brand__logo { height: 20px; }
  .header-actions { gap: 5px; }
  .header-dealer { padding: 7px 9px; font-size: 0.72rem; }
  .theme-toggle, .burger { width: 34px; height: 34px; }
  .site-header__in { padding-left: 14px; padding-right: 14px; }
}
.brand__text { font-family: var(--font-display); line-height: 1.05; }
.brand__text b { display: block; font-size: 1.25rem; font-weight: 900; color: var(--c-ink); letter-spacing: 0.01em; }
.brand__text span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.34em; color: var(--c-primary); text-transform: uppercase; }

/* Right-hand header cluster: dealer cabinet, theme toggle, menu button.
   The full navigation lives in a drawer at every breakpoint so the bar
   itself stays minimal - logo on the left, actions on the right. */
.header-actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.header-dealer {
  padding: 10px 20px; font-size: 0.88rem;
  background: var(--glass-2); color: var(--c-ink);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
}
.header-dealer:hover { border-color: var(--c-primary); color: var(--c-primary-deep); }
.header-dealer .is-short { display: none; }
@media (max-width: 620px) {
  .header-dealer { padding: 9px 14px; font-size: 0.82rem; }
  .header-dealer .is-full { display: none; }
  .header-dealer .is-short { display: inline; }
}

/* Navigation - fullscreen glass takeover */
.nav {
  position: fixed; inset: 0; z-index: 96;
  background: rgba(20, 16, 17, 0.78);
  backdrop-filter: blur(32px) saturate(1.4); -webkit-backdrop-filter: blur(32px) saturate(1.4);
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  padding: calc(var(--header-h) + 22px) clamp(26px, 8vw, 110px) 40px;
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  counter-reset: navi;
}
body.nav-open .nav { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }
.nav-scrim { display: none; }

/* staggered entrance for every drawer row */
@keyframes navRowIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
body.nav-open .nav > * { animation: navRowIn 0.65s var(--spring) both; animation-delay: var(--nav-d, 0.08s); }
.nav > :nth-child(1) { --nav-d: 0.05s; }
.nav > :nth-child(2) { --nav-d: 0.09s; }
.nav > :nth-child(3) { --nav-d: 0.13s; }
.nav > :nth-child(4) { --nav-d: 0.17s; }
.nav > :nth-child(5) { --nav-d: 0.21s; }
.nav > :nth-child(6) { --nav-d: 0.25s; }
.nav > :nth-child(7) { --nav-d: 0.29s; }
.nav > :nth-child(8) { --nav-d: 0.33s; }
.nav > :nth-child(9) { --nav-d: 0.37s; }
.nav > :nth-child(10) { --nav-d: 0.41s; }

.nav__link {
  display: flex; align-items: baseline; gap: 18px;
  padding: 8px 0; border-radius: 0;
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(1.45rem, 3.6vw, 2.3rem); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--c-ink);
  counter-increment: navi;
  transition: color 0.2s ease;
}
.nav__link::before {
  content: counter(navi, decimal-leading-zero);
  font-family: var(--font-mono); font-weight: 600; font-size: 0.7rem;
  letter-spacing: 0.14em; color: var(--c-muted); flex: none;
  transform: translateY(-0.4em);
}
.nav__link:hover { color: var(--c-primary-deep); }
.nav__link.is-active { color: var(--c-primary-deep); background: none; }
.nav__item { position: relative; }
.nav__toggle { width: 100%; background: none; border: none; justify-content: flex-start; gap: 18px; text-align: left; }
.nav__toggle::after {
  content: ""; width: 11px; height: 11px; flex: none; align-self: center;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.4s var(--spring);
}
.nav__item.is-open .nav__toggle::after { transform: rotate(225deg) translateY(-2px); }
.nav__menu {
  display: none; padding: 4px 0 10px 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.14); margin: 2px 0 8px 10px;
}
.nav__item.is-open .nav__menu { display: block; }
.nav__menu a, .nav__menu button {
  display: flex; width: 100%; text-align: left; gap: 10px; align-items: center;
  padding: 10px 14px; border-radius: var(--r-sm); border: none; background: none;
  font-weight: 600; font-size: 1rem; color: var(--c-muted);
}
.nav__menu a:hover, .nav__menu button:hover { background: rgba(255, 255, 255, 0.07); color: var(--c-primary-deep); }
.nav__cta { margin-top: auto; padding: 30px 0 0; }
.nav__cta .btn { width: 100%; max-width: 340px; }

.burger {
  display: flex; flex: none; width: 40px; height: 40px;
  border: 1px solid var(--glass-border); border-radius: 50%;
  background: var(--glass-2);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  transition: border-color 0.18s ease;
}
.burger:hover { border-color: var(--c-primary); }
.burger span { width: 20px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform 0.5s var(--spring), opacity 0.2s ease; }
body.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity: 0; }
body.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  .nav { transition: none; }
  body.nav-open .nav > * { animation: none; }
}

/* ---------- Hero v2 (split layout) ---------- */
.hero-v2 { position: relative; overflow: hidden; padding: 64px 0 84px; }
.hero-v2::before {
  content: ""; position: absolute; top: -220px; right: -160px; width: 720px; height: 720px;
  background: radial-gradient(circle at center, rgba(255, 128, 57, 0.10), rgba(255, 128, 57, 0) 62%);
  border-radius: 50%; pointer-events: none; animation: blobDrift 14s ease-in-out infinite alternate;
}
.hero-v2::after {
  content: ""; position: absolute; bottom: -260px; left: -200px; width: 640px; height: 640px;
  background: radial-gradient(circle at center, rgba(122, 110, 255, 0.12), rgba(122, 110, 255, 0) 60%);
  border-radius: 50%; pointer-events: none;
}
@keyframes blobDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.08); } }
.hero-v2 > .container { position: relative; z-index: 1; }
.hero-v2__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center; }
.hero-v2__title {
  font-size: clamp(2rem, 3.9vw, 3.3rem);
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 18px;
}
.hero-v2__title .w { display: inline-block; opacity: 0; transform: translateY(22px); animation: wordUp 0.6s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes wordUp { to { opacity: 1; transform: none; } }
.hero-v2__sub { font-size: 1.08rem; font-weight: 200; color: var(--c-body); max-width: 520px; margin-bottom: 30px; }
.hero-v2 .search-pill { margin-bottom: 22px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 40px; }
.hero-links a, .hero-links button {
  background: none; border: none; padding: 4px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--c-body);
  display: inline-flex; align-items: center; gap: 7px; transition: color 0.16s ease;
}
.hero-links a::after, .hero-links button::after { content: "→"; color: var(--c-primary-strong); transition: transform 0.16s ease; }
.hero-links a:hover, .hero-links button:hover { color: var(--c-primary-deep); }
.hero-links a:hover::after, .hero-links button:hover::after { transform: translateX(4px); }
.hero-v2__stats .stat b { font-size: 1.5rem; }

/* Call-request pill above the title - an action, not a status line */
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 22px 10px 18px; border-radius: var(--r-pill); margin: 0 0 18px;
  background: var(--glass-2); border: 1px solid rgba(255, 128, 57, 0.25);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), 0 6px 22px rgba(255, 128, 57, 0.08);
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.02em; color: var(--c-ink);
  transition: border-color 0.2s ease, box-shadow 0.3s ease, transform 0.5s var(--spring);
}
.hero-pill:hover {
  border-color: var(--c-primary); transform: translateY(-1px);
  box-shadow: var(--glass-edge), 0 10px 30px rgba(255, 128, 57, 0.3);
}
.hero-pill i {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #3DDC84; box-shadow: 0 0 10px rgba(61, 220, 132, 0.9);
  animation: pillPulse 2.4s ease-in-out infinite;
}
.hero-pill svg { width: 17px; height: 17px; flex: none; color: var(--c-primary-strong); }
@keyframes pillPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.72); opacity: 0.6; } }

/* ----- CDT -> Tbilisi auction-time converter ----- */
.hero-convert {
  display: inline-flex; align-items: stretch; gap: 0;
  margin-bottom: 38px; border-radius: var(--r-md);
  background: var(--glass-2); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge); overflow: hidden;
}
.tzc-side {
  display: flex; flex-direction: column; gap: 3px;
  padding: 11px 20px; min-width: 150px;
}
.tzc-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-muted);
  white-space: nowrap;
}
.tzc-input {
  appearance: none; -webkit-appearance: none;
  background: none; border: 0; padding: 0; margin: 0;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  line-height: 1.15; color: var(--c-primary);
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
  width: auto; min-width: 5.2ch; max-width: 9.5ch; cursor: text; caret-color: var(--c-primary);
}
.tzc-input:focus { outline: none; }
.tzc-input::-webkit-calendar-picker-indicator { display: none; }
.tzc-arrow {
  align-self: center; padding: 0 2px;
  color: var(--c-muted); font-size: 1.05rem;
  border-left: 1px solid var(--glass-border);
  height: 100%; display: flex; align-items: center;
  border-left: 0;
}
.tzc-out {
  display: flex; align-items: baseline; gap: 7px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  line-height: 1.15; color: var(--c-ink);
  font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.tzc-out small {
  font-size: 0.62rem; font-weight: 600; color: var(--c-muted);
  letter-spacing: 0.04em; white-space: nowrap;
}
.hero-convert .tzc-side + .tzc-arrow + .tzc-side { border-left: 1px solid var(--glass-border); }
@media (max-width: 620px) {
  .hero-convert { display: flex; width: 100%; }
  .tzc-side { min-width: 0; flex: 1; padding: 9px 14px; }
  .tzc-input, .tzc-out { font-size: 1rem; }
}


/* ----- Live 3D glass sculpture (three.js torus knot, hero3d.js) ----- */
.hero-3d { position: relative; min-height: 520px; }
.hero-3d__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 2;
}
/* warm light pooling under the sculpture, like the reference */
.hero-3d__glow {
  position: absolute; left: 50%; top: 56%; width: 78%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 128, 57, 0.20), transparent 58%),
    radial-gradient(circle at 46% 40%, rgba(255, 179, 128, 0.14), transparent 52%);
  filter: blur(26px); z-index: 0; pointer-events: none;
}
/* thin orbital arcs sweeping through the scene */
.hero-3d__ring, .hero-3d__ring::after {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.hero-3d__ring {
  left: 50%; top: 50%; width: 130%; aspect-ratio: 1.9;
  transform: translate(-50%, -50%) rotate(-24deg);
  border-color: transparent;
  border-top-color: rgba(255, 255, 255, 0.16);
  border-right-color: rgba(255, 255, 255, 0.05);
  z-index: 1;
}
.hero-3d__ring::after {
  content: ""; left: -12%; top: 8%; width: 124%; aspect-ratio: 2.1;
  transform: rotate(9deg);
  border-color: transparent;
  border-bottom-color: rgba(255, 128, 57, 0.22);
}
/* faint starfield */
.hero-3d::after {
  content: ""; position: absolute; inset: -8% -4%; z-index: 0; pointer-events: none;
  background-image:
    radial-gradient(1.6px 1.6px at 12% 18%, rgba(255, 255, 255, 0.55), transparent 100%),
    radial-gradient(1.2px 1.2px at 78% 8%, rgba(255, 255, 255, 0.4), transparent 100%),
    radial-gradient(1.1px 1.1px at 92% 42%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1.8px 1.8px at 68% 88%, rgba(255, 200, 160, 0.4), transparent 100%),
    radial-gradient(1.2px 1.2px at 8% 72%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 38% 4%, rgba(255, 255, 255, 0.35), transparent 100%),
    radial-gradient(1.4px 1.4px at 52% 96%, rgba(255, 255, 255, 0.3), transparent 100%),
    radial-gradient(1px 1px at 96% 78%, rgba(255, 200, 160, 0.35), transparent 100%);
}
/* static fallback when WebGL is unavailable */
.hero-3d.no-webgl .hero-3d__canvas { display: none; }
.hero-3d.no-webgl .hero-3d__glow { filter: blur(34px); opacity: 1.2; }
[data-theme="light"] .hero-3d__ring { border-top-color: rgba(36, 31, 32, 0.14); border-right-color: rgba(36, 31, 32, 0.04); }
[data-theme="light"] .hero-3d__ring::after { border-bottom-color: rgba(228, 101, 10, 0.28); }
[data-theme="light"] .hero-3d::after { opacity: 0.35; }

.hero-stack { position: relative; min-height: 480px; }
@keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-12px); } }
.hero-stack .hero-badge,
.hero-3d .hero-badge {
  position: absolute;
  background: var(--glass-3);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-bright);
  border-radius: var(--r-md); box-shadow: var(--glass-edge), var(--shadow-md);
  padding: 13px 18px;
  display: flex; align-items: center; gap: 11px; font-size: 0.85rem; font-weight: 700; color: var(--c-ink);
}
.hero-badge svg { width: 22px; height: 22px; color: var(--c-primary-strong); flex: none; }
/* the badges link into the pages that explain them */
a.hero-badge { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
a.hero-badge:hover { border-color: var(--c-primary); box-shadow: var(--glass-edge), var(--glow-primary); }
.hero-badge--tr { top: 18px; right: -8px; animation: heroFloat 6s 0.6s ease-in-out infinite alternate; z-index: 3; }
.hero-badge--bl { bottom: -8px; left: 24%; animation: heroFloat 6s 1.8s ease-in-out infinite alternate-reverse; z-index: 3; }
@media (max-width: 1080px) {
  .hero-v2 { padding: 40px 0 64px; }
  .hero-v2__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stack { min-height: 0; margin-top: 8px; }
  .hero-3d { min-height: 380px; margin-top: -12px; }
  .hero-3d__ring { width: 110%; }
}

/* ---------- Marquee ticker ---------- */
.marquee {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--c-body);
  overflow: hidden; padding: 14px 0; position: relative;
}
/* soft fade at both edges */
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, rgba(23, 19, 20, 0.9), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, rgba(23, 19, 20, 0.9), transparent); }
.marquee__track {
  display: flex; gap: 56px; width: max-content;
  animation: marqueeScroll 44s linear infinite; will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 56px;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 239, 234, 0.34);
}
.marquee__track span:nth-child(3n) { color: var(--c-body); -webkit-text-stroke: 0; }
.marquee__track span::after {
  content: "✦"; color: var(--c-muted); font-size: 0.55em;
  -webkit-text-stroke: 0;
}
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Spotlight hover (feature cards) ---------- */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.25s ease;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 128, 57, 0.09), transparent 65%);
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad-primary);
  box-shadow: none; opacity: 0.75;
  z-index: 300; pointer-events: none;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--glass-1); padding: 56px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.page-hero::before {
  content: ""; position: absolute; top: -280px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle at center, rgba(255, 128, 57, 0.08), transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { line-height: 1.14; font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }
.page-hero .lead { max-width: 700px; margin-bottom: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.86rem; color: var(--c-body); margin-bottom: 18px; }
.breadcrumbs a { color: var(--c-body); font-weight: 600; }
.breadcrumbs a:hover { color: var(--c-primary-deep); }
.breadcrumbs li { list-style: none; display: flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255, 255, 255, 0.25); }
ol.breadcrumbs, ul.breadcrumbs { padding: 0; margin: 0 0 18px; }

/* ---------- Steps (process) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 28px 26px;
  background: var(--glass-2);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--r-lg); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-edge), 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: transform 0.55s var(--spring), border-color 0.25s ease, box-shadow 0.35s ease;
}
.step:hover {
  transform: translateY(-4px); border-color: rgba(255, 128, 57, 0.35);
  box-shadow: var(--glass-edge), var(--shadow-md), var(--glow-card);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 900; font-size: 2.4rem;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--c-primary);
  line-height: 1; display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: 0.92rem; margin: 0; }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  background: var(--glass-1);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--r-md);
  box-shadow: var(--glass-edge), 0 8px 32px rgba(0, 0, 0, 0.2);
}
.table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 560px; }
.table caption { text-align: left; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--c-ink); padding: 18px 20px 10px; }
.table th {
  background: rgba(255, 255, 255, 0.05); color: var(--c-ink); text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  padding: 14px 20px; letter-spacing: 0.02em;
  border-bottom: 1px solid var(--c-line-strong, rgba(255, 255, 255, 0.18));
}
.table td { padding: 13px 20px; border-top: 1px solid rgba(255, 255, 255, 0.08); vertical-align: top; }
/* row headers (state tables) divide like data cells, not like the orange header row */
.table tbody th[scope="row"] {
  background: transparent; color: var(--c-ink);
  border-bottom: none; border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.table tbody tr:first-child td, .table tbody tr:first-child th[scope="row"] { border-top: none; }
.table tbody tr:nth-child(even) { background: rgba(255, 255, 255, 0.03); }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.table--danger th { background: rgba(255, 71, 71, 0.14); color: #FFB4AB; border-bottom-color: rgba(255, 71, 71, 0.4); }

/* ---------- Dialogs ---------- */
dialog.dlg {
  border: 1px solid var(--glass-border-bright); border-radius: var(--r-lg); padding: 0;
  width: min(560px, calc(100vw - 32px));
  background: rgba(32, 26, 27, 0.88);
  backdrop-filter: var(--glass-blur-strong); -webkit-backdrop-filter: var(--glass-blur-strong);
  box-shadow: var(--glass-edge), var(--shadow-lg); color: var(--c-body);
}
dialog.dlg::backdrop { background: rgba(8, 6, 6, 0.6); backdrop-filter: blur(8px); }
.dlg--wide { width: min(760px, calc(100vw - 32px)); }
.dlg__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px 28px 0;
}
.dlg__head h2 { font-size: 1.3rem; margin: 0; }
.dlg__close {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.07); color: var(--c-ink); font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; transition: background 0.16s ease, color 0.16s ease;
}
.dlg__close:hover { background: var(--c-primary); border-color: transparent; color: var(--c-dark); }
.dlg__body { padding: 20px 28px 28px; }

/* ---------- Lightbox ---------- */
dialog.lightbox { background: transparent; border: none; padding: 0; max-width: 92vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(8, 6, 6, 0.9); backdrop-filter: blur(6px); }
dialog.lightbox img { max-width: 92vw; max-height: 86vh; width: auto; height: auto; border-radius: var(--r-md); display: block; margin: 0 auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), var(--shadow-lg); }
dialog.lightbox figcaption { color: #fff; text-align: center; padding: 12px; font-size: 0.9rem; }
.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.3rem;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lightbox__nav:hover { background: var(--c-primary); color: var(--c-dark); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- Galleries ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }
.gallery a {
  display: block; border-radius: var(--r-md); overflow: hidden; position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 0.25s ease, box-shadow 0.3s ease, transform 0.5s var(--spring);
}
.gallery a:hover {
  border-color: rgba(255, 128, 57, 0.45); transform: translateY(-3px);
  box-shadow: var(--shadow-md), var(--glow-card);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.35s ease; }
.gallery a:hover img { transform: scale(1.05); }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 22px;
}
/* Partner logos keep their light chip so dark marks stay legible on the dark canvas */
.logo-strip img {
  height: 64px; width: auto; object-fit: contain;
  background: rgba(255, 250, 246, 0.94);
  padding: 12px 20px; border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  filter: grayscale(1); opacity: 0.82;
  transition: all 0.25s ease;
}
.logo-strip a:hover img, .logo-strip img:hover {
  filter: none; opacity: 1; transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), var(--glow-card);
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center; padding: 72px 24px;
  background: var(--glass-1);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  box-shadow: var(--glass-edge);
}
.empty-state__icon {
  width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--c-primary-soft); color: var(--c-primary);
  border: 1px solid rgba(255, 128, 57, 0.3);
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 6px 24px rgba(255, 128, 57, 0.18);
}
.empty-state__icon svg { width: 32px; height: 32px; }
.empty-state h2, .empty-state h3 { font-size: 1.2rem; }
.empty-state p { max-width: 420px; margin: 0 auto 22px; font-size: 0.95rem; }

/* ---------- Scroll-snap card scroller ---------- */
.scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: thin; }
.scroller > * { flex: 0 0 300px; scroll-snap-align: start; }

/* ---------- Spec list (car detail, VIN tracking) ---------- */
.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0; }
@media (max-width: 620px) { .spec-list { grid-template-columns: 1fr; } }
.spec-list > div {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 2px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.spec-list dt { color: var(--c-muted); font-size: 0.92rem; }
.spec-list dd { margin: 0; font-weight: 700; color: var(--c-ink); font-size: 0.95rem; text-align: right; }
.spec-list--stack { grid-template-columns: 1fr; }
.spec-list--stack > div { flex-direction: column; align-items: flex-start; gap: 4px; }
.spec-list--stack dd { text-align: left; }

/* ---------- Accordion ---------- */
details.accordion {
  border: 1px solid var(--glass-border); border-radius: var(--r-md); margin-bottom: 12px;
  background: var(--glass-2);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  transition: border-color 0.2s ease;
}
details.accordion:hover, details.accordion[open] { border-color: rgba(255, 128, 57, 0.3); }
details.accordion summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  font-family: var(--font-display); font-weight: 700; color: var(--c-ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after { content: "+"; font-size: 1.3rem; color: var(--c-muted); transition: transform 0.2s ease; }
details.accordion[open] summary::after { transform: rotate(45deg); }
details.accordion .accordion__body { padding: 0 22px 20px; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 13px; border-radius: var(--r-pill);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  border: 1px solid transparent;
}
.badge--ok { background: rgba(76, 217, 123, 0.12); border-color: rgba(76, 217, 123, 0.3); color: var(--c-success); }
.badge--warn { background: rgba(240, 196, 25, 0.12); border-color: rgba(240, 196, 25, 0.3); color: #FFD666; }
.badge--err { background: rgba(255, 99, 71, 0.12); border-color: rgba(255, 99, 71, 0.3); color: var(--c-danger); }
.badge--brand { background: var(--c-primary-soft); border-color: rgba(255, 128, 57, 0.3); color: var(--c-primary-deep); }

/* Calculator result row (shared by dialog + widget pages) */
.calc-total {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-edge);
  border-radius: var(--r-md); padding: 16px 20px; margin-top: 24px;
}
.calc-total span { font-weight: 600; color: var(--c-ink); }
.calc-total b { font-family: var(--font-display); font-size: 1.3rem; color: var(--c-primary-deep); }
.calc-total b.is-note { font-size: 0.85rem; font-weight: 600; color: var(--c-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(640px 320px at 88% -20%, rgba(255, 128, 57, 0.12), transparent 65%),
    var(--glass-3);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-edge), var(--shadow-lg);
  border-radius: var(--r-lg);
  padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: "VG"; position: absolute; right: -30px; bottom: -60px;
  font-family: var(--font-display); font-weight: 900; font-size: 16rem; line-height: 1;
  color: rgba(255, 128, 57, 0.09); pointer-events: none;
}
.cta-band h2 { line-height: 1.18; color: var(--c-ink); margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { color: var(--c-body); margin: 0; }
.cta-band > div:last-child { flex: none; position: relative; z-index: 1; }
@media (max-width: 820px) { .cta-band { flex-direction: column; align-items: flex-start; padding: 40px 32px; } }
@media (max-width: 620px) {
  .cta-band > div:last-child { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(13, 10, 11, 0.72);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--c-body); margin-top: 96px;
}
.site-footer a:hover { color: var(--c-primary); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px;
  padding: 64px 0 48px;
}
@media (max-width: 980px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer h3 {
  color: var(--c-ink); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer ul a, .site-footer ul button { color: var(--c-body); font-size: 0.94rem; background: none; border: none; padding: 0; text-align: left; }
.site-footer ul a:hover, .site-footer ul button:hover { color: var(--c-primary); }
.footer-brand img { height: 46px; width: auto; margin-bottom: 18px; border-radius: 0; box-shadow: none; }
.footer-brand p { font-size: 0.92rem; max-width: 320px; }
.footer-news { display: flex; gap: 8px; margin-top: 14px; }
.footer-news .btn { flex: none; width: 50px; height: 50px; padding: 0; border-radius: 50%; }
.footer-news input {
  flex: 1; padding: 12px 18px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06);
  color: #fff; font: inherit; min-width: 0;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.footer-news input::placeholder { color: rgba(255, 255, 255, 0.58); }
.footer-news input:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(255, 128, 57, 0.18); }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 0.86rem;
}
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.5s var(--spring), box-shadow 0.3s ease; color: #fff;
}
.social-row a:hover { background: var(--c-primary); border-color: transparent; transform: translateY(-2px); color: var(--c-dark); box-shadow: var(--glow-primary); }
.social-row svg { width: 18px; height: 18px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.85s var(--spring-soft); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Full-bleed company video band ----------
   Sits directly under the hero as the second screen: the film fills the
   viewport, plays muted while it is on screen and pauses when it leaves. */
.video-band {
  position: relative;
  width: 100vw; margin-left: calc(50% - 50vw);
  height: clamp(420px, 88vh, 900px);
  overflow: hidden;
  background: #0B0809;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.video-band__media {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-band__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 7, 8, 0.7) 0%, rgba(10, 7, 8, 0.18) 30%, rgba(10, 7, 8, 0.55) 58%, rgba(10, 7, 8, 0.88) 82%, rgba(10, 7, 8, 0.96) 100%),
    linear-gradient(90deg, rgba(10, 7, 8, 0.78) 0%, rgba(10, 7, 8, 0.3) 46%, transparent 74%),
    radial-gradient(120% 80% at 82% 18%, rgba(255, 128, 57, 0.08), transparent 60%);
}
.video-band__in {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(36px, 7vh, 84px);
}
.video-band__copy { max-width: 680px; }
.video-band .eyebrow { color: rgba(255, 255, 255, 0.8); text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85); }
.video-band h2 {
  color: #FFF6F0; font-size: clamp(1.8rem, 4vw, 3.1rem);
  margin-bottom: 14px; text-shadow: 0 4px 30px rgba(0, 0, 0, 0.55);
}
.video-band p {
  color: rgba(255, 246, 240, 0.86); font-size: 1.05rem;
  max-width: 560px; margin-bottom: 0; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}
/* controls float in the top-right corner of the band */
.video-band__controls {
  position: absolute; top: clamp(20px, 4vh, 40px); right: 0; z-index: 3;
  display: flex; gap: 10px;
}
.video-band__btn {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); color: #FFF6F0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.5s var(--spring);
}
.video-band__btn:hover { background: var(--c-primary); color: var(--c-dark); border-color: transparent; transform: translateY(-2px); }
.video-band__btn svg { width: 19px; height: 19px; }
.video-band__btn .is-off { display: none; }
.video-band__btn.is-active .is-on { display: none; }
.video-band__btn.is-active .is-off { display: block; }
/* poster-only state before the film is supplied */
.video-band__fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #241F20, #3A2A22);
  color: rgba(255, 246, 240, 0.5); font-size: 0.95rem;
}
@media (max-width: 760px) {
  .video-band { height: clamp(380px, 72vh, 620px); }
  .video-band__controls { top: 16px; }
}

/* ---------- Lot-number transport lookup ---------- */
.lot-form .form-grid { align-items: end; }
.lot-result { margin-top: 22px; display: none; }
.lot-result.is-visible { display: block; }
.lot-result__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
[data-theme="light"] .lot-result__head { border-bottom-color: rgba(36, 31, 32, 0.1); }
.lot-result__lot { font-family: var(--font-display); font-weight: 800; color: var(--c-ink); }
.lot-result__place { font-size: 0.9rem; color: var(--c-muted); }
.lot-result__rows { display: grid; gap: 10px; margin-bottom: 16px; }
.lot-result__row { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; }
.lot-result__row span { color: var(--c-muted); }
.lot-result__row b { color: var(--c-ink); font-weight: 700; }

/* ---------- Video shell ---------- */
.video-shell {
  margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), var(--glow-card); background: #000;
}
.video-shell video { display: block; width: 100%; }
.playlist { display: flex; flex-direction: column; gap: 10px; }
.playlist button {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 16px 18px; border-radius: var(--r-md);
  border: 1px solid var(--glass-border);
  background: var(--glass-2);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  font-weight: 600; color: var(--c-ink);
  transition: all 0.18s ease;
}
.playlist button:hover { border-color: rgba(255, 128, 57, 0.45); }
.playlist button.is-active { background: var(--grad-primary); border-color: transparent; color: var(--c-dark); }
.playlist button .num { font-family: var(--font-display); font-weight: 900; color: var(--c-muted); }
.playlist button.is-active .num { color: var(--c-dark); }

/* ============================================================
   Motion preferences + graceful degradation
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-v2::before, .hero-badge, .hero-pill i { animation: none; }
  .hero-v2__title .w { opacity: 1; transform: none; animation: none; }
  .marquee__track { animation: none; }
  .bg-orbs i { animation: none; }
  .btn:hover::after { animation: none; opacity: 0; }
}

/* Fallback when backdrop-filter is unsupported: solid dark surfaces */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .card, .feature, .step, details.accordion, .empty-state, .table-wrap,
  .playlist button, .chip, .btn--dark, .theme-toggle { background: #262021; }
  .search-pill, .hero-stack .hero-badge, .cta-band { background: #292223; }
  dialog.dlg { background: #292223; }
  .site-header { background: rgba(23, 19, 20, 0.97); }
  .nav { background: #1A1516; }
  .site-footer { background: #100D0E; }
  .page-hero, .section--tint, .section--warm { background: rgba(255, 255, 255, 0.03); }
  .marquee, .section--dark { background: rgba(0, 0, 0, 0.3); }
}

/* ============================================================
   THEME TOGGLE (injected into the header by vg-modern.js)
   ============================================================ */
.theme-toggle {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--glass-2); color: var(--c-ink);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge);
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.theme-toggle:hover {
  border-color: var(--c-primary); transform: translateY(-1px);
  box-shadow: var(--glass-edge), 0 6px 18px rgba(255, 128, 57, 0.22);
}
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .theme-toggle__moon { display: none; }

/* ============================================================
   LIGHT MODE - porcelain glass over the same brand palette
   <html data-theme="light">, persisted by vg-modern.js.
   The deliberate dark surfaces (footer, marquee, CTA band,
   .section--dark) STAY dark here - they are the contrast
   anchors of the light composition, as in the original design.
   ============================================================ */
[data-theme="light"] {
  color-scheme: light;

  --c-primary-strong: #E4650A;
  --c-primary-deep: #9E3E00;
  --c-primary-soft: rgba(255, 128, 57, 0.12);

  --c-ink: #241F20;
  --c-body: #4A4443;
  --c-muted: #6B6462;
  --c-line: rgba(36, 31, 32, 0.12);
  --c-bg: #F7F4F0;
  --c-tint: rgba(36, 31, 32, 0.035);
  --c-tint-2: rgba(36, 31, 32, 0.06);
  --c-warm: rgba(255, 176, 57, 0.08);
  --c-success: #12A24B;
  --c-danger: #D93A2B;

  --glass-1: rgba(255, 255, 255, 0.42);
  --glass-2: rgba(255, 255, 255, 0.58);
  --glass-3: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.85);
  --glass-border-bright: rgba(255, 255, 255, 1);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.95);

  --shadow-sm: 0 2px 10px rgba(36, 31, 32, 0.06);
  --shadow-md: 0 12px 32px rgba(36, 31, 32, 0.1);
  --shadow-lg: 0 28px 70px rgba(36, 31, 32, 0.16);
  --glow-primary: 0 8px 26px rgba(255, 128, 57, 0.28);
  --glow-primary-lg: 0 14px 40px rgba(255, 128, 57, 0.36);
  --glow-card: 0 18px 48px rgba(255, 128, 57, 0.08);
}

/* Canvas */
[data-theme="light"] body { background: var(--c-bg); }
[data-theme="light"] body::before {
  background:
    radial-gradient(1100px 720px at 86% -12%, rgba(255, 128, 57, 0.06), transparent 62%),
    radial-gradient(860px 620px at -12% 18%, rgba(150, 140, 255, 0.1), transparent 60%),
    radial-gradient(940px 760px at 52% 112%, rgba(255, 160, 90, 0.1), transparent 64%),
    linear-gradient(160deg, #FFFFFF 0%, #F7F3EE 56%, #F2EEF6 100%);
}
[data-theme="light"] body::after { opacity: 0.03; }
[data-theme="light"] .bg-orbs i:nth-child(1) { background: rgba(255, 128, 57, 0.09); }
[data-theme="light"] .bg-orbs i:nth-child(2) { background: rgba(150, 140, 255, 0.22); }
[data-theme="light"] .bg-orbs i:nth-child(3) { background: rgba(255, 170, 90, 0.14); }

/* Softer card shadows on the light canvas */
[data-theme="light"] .card,
[data-theme="light"] .feature,
[data-theme="light"] .step,
[data-theme="light"] .table-wrap,
[data-theme="light"] details.accordion,
[data-theme="light"] .playlist button,
[data-theme="light"] .empty-state {
  box-shadow: var(--glass-edge), 0 8px 32px rgba(36, 31, 32, 0.08);
}
[data-theme="light"] .card--hover:hover,
[data-theme="light"] .feature:hover,
[data-theme="light"] .step:hover {
  box-shadow: var(--glass-edge), var(--shadow-lg), var(--glow-card);
}

/* Display accents: darker gradient so large type keeps contrast */
[data-theme="light"] h1 .accent,
[data-theme="light"] h2 .accent,
[data-theme="light"] .display .accent {
  background: linear-gradient(120deg, #F07C22 0%, #E4650A 55%, #C24F00 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* Header + nav */
[data-theme="light"] .site-header { background: rgba(14, 11, 12, 0.9); border-bottom-color: rgba(255, 255, 255, 0.09); }
[data-theme="light"] .site-header .burger span { background: #F4EEE9; }
[data-theme="light"] .site-header .header-dealer { color: #F4EEE9; border-color: rgba(255, 255, 255, 0.22); }
[data-theme="light"] .site-header .header-dealer:hover { color: var(--c-primary); border-color: var(--c-primary); }
[data-theme="light"] .site-header .theme-toggle { color: #F4EEE9; border-color: rgba(255, 255, 255, 0.22); }
[data-theme="light"] .site-header.is-stuck {
  background: rgba(14, 11, 12, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
[data-theme="light"] .nav { background: rgba(255, 252, 250, 0.88); }
[data-theme="light"] .nav__link:hover { background: none; }
[data-theme="light"] .nav__link.is-active { background: none; }
[data-theme="light"] .nav__menu { border-left-color: rgba(36, 31, 32, 0.12); }
[data-theme="light"] .nav__menu a:hover, [data-theme="light"] .nav__menu button:hover { background: rgba(36, 31, 32, 0.05); }
[data-theme="light"] .burger { border-color: rgba(36, 31, 32, 0.14); }
[data-theme="light"] .header-dealer { border-color: rgba(36, 31, 32, 0.14); }
[data-theme="light"] .theme-toggle { border-color: rgba(36, 31, 32, 0.14); }
[data-theme="light"] .theme-toggle .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle .theme-toggle__moon { display: block; }

/* Sections: tints go pastel; the dark band stays dark with light ink */
[data-theme="light"] .section--tint { background: rgba(122, 110, 255, 0.05); border-color: rgba(36, 31, 32, 0.05); }
[data-theme="light"] .section--warm { background: rgba(255, 150, 57, 0.06); border-color: rgba(36, 31, 32, 0.05); }
[data-theme="light"] .section--dark { background: #241F20; border-color: transparent; color: rgba(255, 246, 240, 0.8); }
[data-theme="light"] .section--dark h1, [data-theme="light"] .section--dark h2, [data-theme="light"] .section--dark h3 { color: #FFF6F0; }
[data-theme="light"] .section--dark .stat b { color: #FFF6F0; }
[data-theme="light"] .section--dark .eyebrow { color: #FFA26B; }

/* Marquee + CTA band + footer keep their dark identity */
[data-theme="light"] .marquee { background: #241F20; border-color: transparent; color: rgba(255, 246, 240, 0.85); }
[data-theme="light"] .marquee::before { background: linear-gradient(90deg, #241F20, transparent); }
[data-theme="light"] .marquee::after { background: linear-gradient(-90deg, #241F20, transparent); }
[data-theme="light"] .cta-band {
  background:
    radial-gradient(640px 320px at 88% -20%, rgba(255, 128, 57, 0.14), transparent 65%),
    rgba(30, 25, 26, 0.94);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-lg);
}
[data-theme="light"] .cta-band h2 { color: #FFF6F0; }
[data-theme="light"] .cta-band p { color: rgba(255, 246, 240, 0.75); }
[data-theme="light"] .site-footer { background: #1B1617; border-top-color: rgba(255, 255, 255, 0.06); color: rgba(255, 246, 240, 0.72); }
[data-theme="light"] .site-footer h3 { color: #FFF6F0; }
[data-theme="light"] .site-footer ul a, [data-theme="light"] .site-footer ul button { color: rgba(255, 246, 240, 0.72); }

/* Forms */
[data-theme="light"] .input, [data-theme="light"] .select, [data-theme="light"] .textarea {
  background-color: rgba(255, 255, 255, 0.75); border-color: rgba(36, 31, 32, 0.14);
}
[data-theme="light"] .input::placeholder, [data-theme="light"] .textarea::placeholder { color: rgba(36, 31, 32, 0.4); }
[data-theme="light"] .input:focus, [data-theme="light"] .select:focus, [data-theme="light"] .textarea:focus {
  background-color: #fff; border-color: var(--c-primary);
  box-shadow: var(--glass-edge), 0 0 0 4px rgba(255, 128, 57, 0.18);
}
[data-theme="light"] .select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23241F20' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
[data-theme="light"] .select option { background-color: #fff; color: #241F20; }
[data-theme="light"] .search-pill input::placeholder { color: rgba(36, 31, 32, 0.4); }
[data-theme="light"] .btn--ghost { border-color: rgba(36, 31, 32, 0.18); background: rgba(255, 255, 255, 0.4); }

/* Tables */
[data-theme="light"] .table th { background: rgba(36, 31, 32, 0.05); color: var(--c-ink); border-bottom-color: rgba(228, 101, 10, 0.35); }
[data-theme="light"] .table td { border-top-color: rgba(36, 31, 32, 0.08); }
[data-theme="light"] .table tbody th[scope="row"] { color: var(--c-ink); border-top-color: rgba(36, 31, 32, 0.08); }
[data-theme="light"] .table tbody tr:nth-child(even) { background: rgba(36, 31, 32, 0.025); }
[data-theme="light"] .table tbody tr:hover { background: rgba(36, 31, 32, 0.04); }
[data-theme="light"] .table--danger th { background: rgba(217, 58, 43, 0.1); color: #A32014; border-bottom-color: rgba(217, 58, 43, 0.35); }

/* Dialogs */
[data-theme="light"] dialog.dlg { background: rgba(255, 255, 255, 0.86); }
[data-theme="light"] dialog.dlg::backdrop { background: rgba(36, 31, 32, 0.4); }
[data-theme="light"] .dlg__close { background: rgba(36, 31, 32, 0.06); border-color: rgba(36, 31, 32, 0.1); }

/* Details */
[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(36, 31, 32, 0.25); background-clip: content-box; }
[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: rgba(255, 128, 57, 0.6); background-clip: content-box; }
[data-theme="light"] .hero-stack__watermark { color: #241F20; opacity: 0.05; }
[data-theme="light"] .hero-stack__main { box-shadow: var(--shadow-lg); }
[data-theme="light"] .hero-stack__second { border-color: rgba(255, 255, 255, 0.95); }
[data-theme="light"] .spec-list > div { border-bottom-color: rgba(36, 31, 32, 0.1); }
[data-theme="light"] .breadcrumbs li + li::before { color: rgba(36, 31, 32, 0.3); }
[data-theme="light"] .gallery a { border-color: rgba(36, 31, 32, 0.08); box-shadow: 0 8px 24px rgba(36, 31, 32, 0.08); }
[data-theme="light"] .logo-strip img { border-color: rgba(36, 31, 32, 0.06); box-shadow: 0 6px 20px rgba(36, 31, 32, 0.08); }
[data-theme="light"] .video-shell { border-color: rgba(36, 31, 32, 0.1); }
[data-theme="light"] .badge--warn { background: rgba(240, 196, 25, 0.15); border-color: rgba(160, 123, 0, 0.3); color: #8A6D00; }

/* Fallback surfaces when backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  [data-theme="light"] .card, [data-theme="light"] .feature, [data-theme="light"] .step,
  [data-theme="light"] details.accordion, [data-theme="light"] .empty-state,
  [data-theme="light"] .table-wrap, [data-theme="light"] .playlist button,
  [data-theme="light"] .chip, [data-theme="light"] .btn--dark, [data-theme="light"] .theme-toggle,
  [data-theme="light"] .search-pill, [data-theme="light"] .hero-stack .hero-badge,
  [data-theme="light"] dialog.dlg { background: #fff; }
  [data-theme="light"] .site-header { background: rgba(14, 11, 12, 0.97); }
  [data-theme="light"] .nav { background: #FFFCFA; }
  [data-theme="light"] .page-hero, [data-theme="light"] .section--tint,
  [data-theme="light"] .section--warm { background: rgba(36, 31, 32, 0.03); }
  [data-theme="light"] .site-footer { background: #1B1617; }
  [data-theme="light"] .cta-band, [data-theme="light"] .marquee,
  [data-theme="light"] .section--dark { background: #241F20; }
}

/* ---------- Language switcher ---------- */
/* Language switcher - lives at the top of the navigation drawer so the
   header bar itself stays down to logo + dealer cabinet + theme toggle. */
.lang-switch {
  display: flex; gap: 4px; flex: none;
  margin: 0 16px 14px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.lang-switch a {
  padding: 7px 13px; border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.06em; color: var(--c-muted); transition: all 0.15s ease;
}
.lang-switch a:hover { color: var(--c-ink); background: rgba(255, 255, 255, 0.07); }
.lang-switch a.is-active {
  color: var(--c-primary-deep);
  background: var(--c-primary-soft); border-color: rgba(255, 128, 57, 0.3);
}
[data-theme="light"] .lang-switch { border-bottom-color: rgba(36, 31, 32, 0.12); }
[data-theme="light"] .lang-switch a:hover { background: rgba(36, 31, 32, 0.06); }

/* ---------- Utilities ---------- */
.u-center { text-align: center; }
.u-mt-0 { margin-top: 0; } .u-mt-16 { margin-top: 16px; } .u-mt-24 { margin-top: 24px; }
.u-mt-32 { margin-top: 32px; } .u-mt-48 { margin-top: 48px; } .u-mt-64 { margin-top: 64px; }
.u-mb-0 { margin-bottom: 0; } .u-mb-16 { margin-bottom: 16px; } .u-mb-24 { margin-bottom: 24px; } .u-mb-32 { margin-bottom: 32px; }
.u-flex { display: flex; gap: 12px; align-items: center; }
.u-flex-wrap { flex-wrap: wrap; }
.u-between { justify-content: space-between; }
.u-hidden { display: none !important; }

/* ---------- Cross-document view transitions (page morphs) ---------- */
@view-transition { navigation: auto; }
.site-header { view-transition-name: vg-header; }
@keyframes vtPageOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtPageIn { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vtPageOut 0.26s ease both; }
  ::view-transition-new(root) { animation: vtPageIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
}

/* ---------- Spring press states ---------- */
.btn:active { transform: scale(0.96); transition-duration: 0.15s; }
.chip:active, .burger:active, .theme-toggle:active { transform: scale(0.93); }
.chip, .theme-toggle { transition: transform 0.5s var(--spring), border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.3s ease; }

/* ---------- Ghost display type ---------- */
.ghost {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 239, 234, 0.4);
}
[data-theme="light"] .ghost { -webkit-text-stroke-color: rgba(36, 31, 32, 0.38); }

/* ---------- Journey: route map + shipment tracker ---------- */
.journey {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: start;
}
@media (max-width: 900px) { .journey { grid-template-columns: 1fr; } }
.journey__map {
  position: sticky; top: calc(var(--header-h) + 26px);
  border: 1px solid var(--glass-border); border-radius: var(--r-lg);
  background: var(--glass-1);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 14px; overflow: hidden;
}
@media (max-width: 900px) { .journey__map { position: static; } }
.journey__map svg { width: 100%; height: auto; display: block; }
.jm-grid { fill: currentColor; color: var(--c-ink); opacity: 0.07; }
.jm-base { fill: none; stroke: var(--c-line); stroke-width: 1.5; }
.jm-arc {
  fill: none; stroke: var(--c-primary); stroke-width: 2.4;
  stroke-dasharray: 14 12; stroke-linecap: round;
  animation: jmDash 1.5s linear infinite;
}
@keyframes jmDash { to { stroke-dashoffset: -26; } }
.jm-dot { fill: var(--c-primary); }
.jm-dot--alt { fill: var(--c-primary); fill-opacity: 0.75; }
.jm-base--alt { stroke-opacity: 0.6; }
.jm-arc--alt { stroke-width: 1.6; stroke-opacity: 0.55; stroke-dasharray: 8 10; animation-duration: 2.2s; }
.jm-loc { fill: var(--c-ink); fill-opacity: 0.5; }
.jm-vessel { fill: var(--c-ink); }
.jm-ping { fill: none; stroke: var(--c-primary); stroke-width: 1.4; animation: jmPing 2.2s ease-out infinite; }
@keyframes jmPing { 0% { r: 5; opacity: 0.8; } 100% { r: 22; opacity: 0; } }
.jm-lbl {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; fill: var(--c-muted);
}
.jm-lbl--hot { fill: var(--c-body); }
.jm-lbl--loc { font-size: 11px; font-weight: 600; letter-spacing: 0.07em; fill: var(--c-muted); opacity: 0.92; }
@media (prefers-reduced-motion: reduce) {
  .jm-arc, .jm-ping { animation: none; }
}

.jtl { position: relative; padding-left: 34px; }
.jtl::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 2px; background: var(--glass-2); border-radius: 1px;
}
.jtl__fill {
  position: absolute; left: 7px; top: 8px; width: 2px; height: 0;
  background: var(--grad-primary); border-radius: 1px;
  box-shadow: 0 0 10px rgba(255, 128, 57, 0.4);
}
.jtl ol { list-style: none; margin: 0; padding: 0; }
.jtl li { position: relative; padding-bottom: 30px; color: var(--c-faint, rgba(245,239,234,0.4)); transition: color 0.4s ease; }
.jtl li:last-child { padding-bottom: 0; }
.jtl li::before {
  content: ""; position: absolute; left: -33px; top: 5px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid var(--c-line); background: var(--c-bg, #171314);
  transition: border-color 0.4s ease, background-color 0.4s ease, transform 0.5s var(--spring), box-shadow 0.4s ease;
}
.jtl li.is-on { color: var(--c-body); }
.jtl li.is-on::before {
  border-color: var(--c-primary); background: var(--c-primary);
  transform: scale(1.12); box-shadow: 0 0 12px rgba(255, 128, 57, 0.45);
}
.jtl b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; color: inherit; }
.jtl li.is-on b { color: var(--c-ink); }
.jtl span { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.06em; opacity: 0.85; }
[data-theme="light"] .jtl li { color: rgba(36, 31, 32, 0.4); }
[data-theme="light"] .jtl li.is-on { color: var(--c-body); }
[data-theme="light"] .jtl li::before { background: #FFFCFA; }
[data-theme="light"] .jtl li.is-on::before { background: var(--c-primary); }
[data-theme="light"] .grid > .feature::after { color: rgba(36, 31, 32, 0.07); }

/* ---------- Car catalog ---------- */
.filter-card__count { font-family: var(--font-mono); font-size: 0.75em; color: var(--c-muted); font-weight: 400; }
.field--btn { display: flex; align-items: flex-end; }
.cars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .cars-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cars-grid { grid-template-columns: 1fr; } }
.cars-empty { grid-column: 1 / -1; text-align: center; color: var(--c-muted); padding: 40px 0; }

.car-card {
  display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass-2); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), 0 8px 32px rgba(0, 0, 0, 0.25);
  color: inherit;
  transition: transform 0.55s var(--spring), box-shadow 0.35s ease, border-color 0.25s ease;
}
.car-card:hover { transform: translateY(-4px); border-color: rgba(255, 128, 57, 0.45); box-shadow: var(--glass-edge), 0 18px 44px rgba(0, 0, 0, 0.4); }
.car-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0, 0, 0, 0.3); }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.car-card:hover .car-card__media img { transform: scale(1.05); }
.car-card__badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--c-ink); background: rgba(10, 8, 8, 0.6); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 7px; padding: 6px 9px;
}
.car-card__sold {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 8, 8, 0.55); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.car-card__body { padding: 18px 20px 20px; }
.car-card__body h3 { margin: 0 0 4px; font-size: 1.06rem; font-weight: 700; }
.car-card__specs { margin: 0 0 12px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--c-muted); }
.car-card__price { display: flex; align-items: baseline; gap: 8px; }
.car-card__price b { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--c-primary-deep); }
.car-card__price span { font-family: var(--font-mono); font-size: 0.82rem; color: var(--c-muted); }

.cd-title { margin-top: 10px; }
.cd-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(24px, 4vw, 48px); align-items: start; margin-top: 18px; }
@media (max-width: 900px) { .cd-layout { grid-template-columns: 1fr; } }
.cd-photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: var(--r-lg); border: 1px solid var(--glass-border);
  box-shadow: var(--glass-edge), 0 16px 44px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.3);
}
.cd-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 12px; }
.cd-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: none; transition: border-color 0.2s ease, transform 0.4s var(--spring); }
.cd-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cd-thumb:hover { transform: translateY(-2px); }
.cd-thumb.is-on { border-color: var(--c-primary); }
.cd-aside { padding: 22px 24px; display: grid; gap: 12px; margin-bottom: 20px; }
.cd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cd-price b { font-family: var(--font-display); font-weight: 900; font-size: 1.7rem; color: var(--c-primary-deep); }
.cd-price span { font-family: var(--font-mono); font-size: 0.95rem; color: var(--c-muted); }
.cd-sold {
  font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-primary-deep);
  border: 1px solid var(--acc-line, rgba(255,128,57,.4)); border-radius: 6px; padding: 5px 8px;
}
.cd-btn { width: 100%; }
.cd-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 520px) { .cd-specs { grid-template-columns: 1fr; } }
.cd-spec { border-top: 1px solid var(--c-line); padding: 11px 0 12px; }
.cd-spec dt { font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 3px; }
.cd-spec dd { margin: 0; font-weight: 600; color: var(--c-ink); }
.cd-note { margin-top: 14px; }

/* ---------- About (compact editorial) ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 72px); align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-copy .lead { font-size: 1.14rem; }
.about-copy p:last-child { margin-bottom: 0; color: var(--c-muted); }
.about-values { list-style: none; margin: 0; padding: 0; }
.about-values li {
  display: flex; align-items: baseline; gap: 16px;
  border-top: 1px solid var(--c-line); padding: 13px 2px;
  font-family: var(--font-display); font-weight: 600; color: var(--c-ink);
}
.about-values li:last-child { border-bottom: 1px solid var(--c-line); }
.about-values b {
  font-family: var(--font-mono); font-weight: 600; font-size: 0.68rem;
  letter-spacing: 0.12em; color: var(--c-muted); flex: none;
}


/* ---------- Full-bleed helper for in-container marquees ---------- */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Wordmark + typographic brand tiles (ghost style, matches the top marquee) ---------- */
.wordmark {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.05em;
  text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 239, 234, 0.4);
}
.wordmark em { font-style: normal; color: var(--c-body); -webkit-text-stroke: 0; }
[data-theme="light"] .wordmark { -webkit-text-stroke-color: rgba(36, 31, 32, 0.38); }
.brand-card { display: flex; align-items: center; justify-content: center; min-height: 110px; }
.brand-card .card__body { padding: 26px 18px; text-align: center; }
.brand-card .card__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem); letter-spacing: 0.05em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(245, 239, 234, 0.34);
  transition: color 0.25s ease;
}
.brand-card:nth-child(3n) .card__title { color: var(--c-body); -webkit-text-stroke: 0; }
.brand-card:hover .card__title { color: var(--c-ink); -webkit-text-stroke: 0; }
[data-theme="light"] .brand-card .card__title { -webkit-text-stroke-color: rgba(36, 31, 32, 0.34); }
[data-theme="light"] .brand-card:nth-child(3n) .card__title { -webkit-text-stroke: 0; }

/* ---------- Group labels inside name marquees ---------- */
.marquee__track span.nm-label {
  font-family: var(--font-mono); font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--c-primary-deep); -webkit-text-stroke: 0;
  border: 1px solid rgba(255, 128, 57, 0.35); border-radius: 999px;
  padding: 8px 14px; align-self: center; white-space: nowrap;
}


/* ================= Client round 3: video hero, call float, blog slider ================= */

/* menu entries that open dialogs are <button>s - match them to the links */
button.nav__link {
  background: none; border: 0; margin: 0;
  text-align: left; width: 100%; cursor: pointer;
}


/* ----- Fullscreen video hero (hero-v3) - dark in both themes.
   Background stays blank (dark) until the client's footage is dropped in. ----- */
.hero-v3 {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 64px);
  display: flex; align-items: center;
  color: #F4EEE9;
  background:
    radial-gradient(90% 70% at 8% 100%, rgba(255, 128, 57, 0.16), transparent 55%),
    radial-gradient(60% 50% at 100% 0%, rgba(122, 110, 255, 0.10), transparent 60%),
    linear-gradient(170deg, #110d0e 0%, #1b1516 60%, #150f10 100%);
}
.hero-v3__media {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  filter: saturate(1.08) contrast(1.04);
}
.hero-v3__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(96deg, rgba(12, 10, 10, 0.76) 0%, rgba(12, 10, 10, 0.56) 26%, rgba(12, 10, 10, 0.24) 52%, rgba(12, 10, 10, 0.08) 76%, rgba(12, 10, 10, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 10, 10, 0.5) 0%, rgba(12, 10, 10, 0) 22%, rgba(12, 10, 10, 0) 58%, rgba(12, 10, 10, 0.72) 100%);
}
.hero-v3__in {
  position: relative; z-index: 2; width: 100%;
  padding-top: 80px; padding-bottom: 52px;
  display: flex; flex-direction: column; gap: 36px;
}
.hero-v3__grid {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  gap: 48px; align-items: end;
}
.hero-v3__kicker {
  margin: 0 0 16px; font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(244, 238, 233, 0.86);
}
.hero-v3__kicker::before { content: "// "; color: var(--c-primary); }
.hero-v3__title {
  margin: 0 0 26px; max-width: 17ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
  font-size: clamp(1.7rem, 3.3vw, 2.7rem); line-height: 1.12;
  font-weight: 900; color: #FCF8F4; letter-spacing: -0.02em;
}
.hero-v3__title .w { display: inline-block; opacity: 0; transform: translateY(22px); animation: wordUp 0.6s cubic-bezier(0.2, 0.6, 0.2, 1) forwards; animation-delay: var(--d, 0s); }
.hero-v3 .accent { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-v3__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-v3__cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 26px 15px 30px; border: 0; border-radius: 999px;
  background: #FCF8F4; color: var(--c-dark); cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 0.96rem; letter-spacing: 0.01em;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 128, 57, 0.4);
  transition: transform 0.55s var(--spring), box-shadow 0.3s ease;
  animation: ctaGlow 2.6s ease-in-out infinite;
}
.hero-v3__cta svg { width: 18px; height: 18px; transition: transform 0.35s var(--spring); }
/* secondary CTA: glass outline, keeps the footage readable behind it */
.hero-v3__cta--ghost {
  background: rgba(12, 10, 10, 0.34); color: #FCF8F4;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2);
  animation: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
.hero-v3__cta--ghost:hover { border-color: var(--c-primary); color: #fff; }
.hero-v3__cta:hover { transform: translateY(-2px); }
.hero-v3__cta:hover svg { transform: translateX(4px); }
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 128, 57, 0.45); }
  55% { box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 0 12px rgba(255, 128, 57, 0); }
}
.hero-v3__side { display: flex; flex-direction: column; gap: 28px; padding-bottom: 6px; }
.hero-v3__desc {
  margin: 0; padding: 14px 18px 14px 18px; border-left: 2px solid var(--c-primary);
  font-size: 0.95rem; line-height: 1.6; font-weight: 300; color: rgba(248, 244, 240, 0.96);
  max-width: 34ch; border-radius: 0 14px 14px 0;
  background: rgba(12, 10, 10, 0.34);
  backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero-v3__feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.hero-v3__feats li {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248, 244, 240, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}
.hero-v3__feats b {
  width: 34px; height: 34px; flex: none; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em;
  color: var(--c-primary); background: rgba(12, 10, 10, 0.45); border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* slim glass tool strip: VIN + time converter */
.hero-v3__tools {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 12px; border-radius: 999px; align-self: flex-start;
  background: rgba(20, 16, 17, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.hero-v3__tools .search-pill { margin: 0; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.hero-v3__tools .search-pill input { color: #FCF8F4; }
.hero-v3__tools .search-pill input::placeholder { color: rgba(244, 238, 233, 0.5); }
.hero-v3__tools .search-pill__label { color: rgba(244, 238, 233, 0.65); }
.hero-v3__tools .hero-convert { margin: 0; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); border-radius: 999px; }
.hero-v3__tools .tzc-side { padding: 8px 20px; }
.hero-v3__tools .tzc-label { color: rgba(244, 238, 233, 0.62); }
.hero-v3__tools .tzc-out { color: #FCF8F4; }
.hero-v3__tools .tzc-out small { color: rgba(244, 238, 233, 0.6); }
.hero-v3__tools .hero-convert .tzc-side + .tzc-arrow + .tzc-side { border-left-color: rgba(255, 255, 255, 0.14); }
.hero-v3__tools .tzc-arrow { color: rgba(244, 238, 233, 0.55); }

.hero-v3__scroll {
  position: absolute; left: 50%; bottom: 18px; z-index: 2;
  width: 1px; height: 44px; transform: translateX(-50%);
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
  overflow: hidden;
}
.hero-v3__scroll::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%; background: var(--c-primary);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { to { top: 110%; } }

@media (max-width: 960px) {
  .hero-v3__grid { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .hero-v3__title { max-width: none; }
  .hero-v3__veil {
    background: linear-gradient(180deg, rgba(12, 10, 10, 0.66) 0%, rgba(12, 10, 10, 0.4) 34%, rgba(12, 10, 10, 0.46) 64%, rgba(12, 10, 10, 0.82) 100%);
  }
}
@media (max-width: 720px) {
  .hero-v3 { min-height: calc(100svh - 56px); }
  .hero-v3__in { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
  .hero-v3__title { font-size: clamp(1.45rem, 6vw, 2rem); margin-bottom: 22px; max-width: none; }
  .hero-v3__kicker { font-size: 0.68rem; letter-spacing: 0.1em; white-space: normal; }
  .hero-v3__actions { width: 100%; }
  .hero-v3__cta { width: 100%; box-sizing: border-box; justify-content: center; }
  .hero-v3__tools { width: 100%; border-radius: var(--r-lg); }
  .hero-v3__tools .search-pill, .hero-v3__tools .hero-convert { width: 100%; }
  .hero-v3__tools .hero-convert { border-radius: var(--r-md); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v3__cta { animation: none; }
  .hero-v3__scroll::after { animation: none; }
  .hero-v3__title .w { opacity: 1; transform: none; animation: none; }
}

/* the vivid call CTA (client: "უფრო მკვეთრად") */
.btn-call {
  display: inline-flex; align-items: center; gap: 10px;
  animation: callGlow 2.2s ease-in-out infinite;
}
.btn-call svg { width: 18px; height: 18px; }
@keyframes callGlow {
  0%, 100% { box-shadow: 0 10px 34px rgba(255, 128, 57, 0.45), 0 0 0 0 rgba(255, 128, 57, 0.5); }
  55% { box-shadow: 0 10px 44px rgba(255, 128, 57, 0.65), 0 0 0 12px rgba(255, 128, 57, 0); }
}


.hero-v3__scroll {
  position: absolute; left: 50%; bottom: 18px; z-index: 2;
  width: 1px; height: 44px; transform: translateX(-50%);
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.6));
  overflow: hidden;
}
.hero-v3__scroll::after {
  content: ""; position: absolute; left: 0; top: -40%;
  width: 100%; height: 40%; background: var(--c-primary);
  animation: scrollCue 1.8s ease-in-out infinite;
}
@keyframes scrollCue { to { top: 110%; } }


/* ----- Floating "request a call" button, every page, glowing ----- */
.call-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 22px; border: 0; border-radius: 999px;
  background: var(--grad-primary); color: #fff; cursor: pointer;
  font: 600 0.95rem var(--font-body); letter-spacing: 0.01em;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: callGlow 2.2s ease-in-out infinite;
}
.call-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.call-float svg { width: 17px; height: 17px; }
.call-float:hover { filter: brightness(1.06); }
@media (max-width: 620px) {
  .call-float { padding: 15px; }
  .call-float .call-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .call-float { animation: none; } }

/* ----- Journey pickup locations ----- */
.jloc { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.jloc__group { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.jloc__label {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-primary);
  margin-right: 5px;
}
.jloc__chip {
  padding: 8px 15px; border-radius: 999px;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--c-body); background: var(--glass-1);
  border: 1px solid var(--glass-border);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.4s var(--spring);
}
.jloc__chip:hover { color: var(--c-ink); border-color: rgba(255, 128, 57, 0.45); transform: translateY(-2px); }

/* ----- Home blog slider ----- */
.bslider { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 24px 18px; }
.bslider::-webkit-scrollbar { display: none; }
.bslider__track { display: flex; gap: 18px; }
.bcard {
  scroll-snap-align: start; flex: 0 0 auto;
  width: min(340px, 78vw); text-decoration: none;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--glass-1); border: 1px solid var(--glass-border);
  transition: transform 0.35s var(--spring, ease), border-color 0.2s ease;
}
.bcard:hover { transform: translateY(-4px); border-color: rgba(255, 128, 57, 0.35); }
.bcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.bcard__body { padding: 16px 18px 18px; }
.bcard__body h3 { font-size: 1.02rem; line-height: 1.35; margin: 0 0 8px; color: var(--c-ink); }
.bcard__meta { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--c-muted); text-transform: uppercase; }
.section-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.bslider-nav { display: flex; gap: 8px; }
.bslider-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--glass-2); border: 1px solid var(--glass-border);
  color: var(--c-ink); font-size: 1rem; cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.bslider-nav button:hover { border-color: var(--c-primary); color: var(--c-primary); }



/* ----- Services in light theme: dark information cards on a warm tinted band ----- */
[data-theme="light"] #services {
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(255, 128, 57, 0.16), transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(122, 110, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #f3ebe4, #efe4dc);
}
[data-theme="light"] #services .feature {
  background: rgba(22, 18, 19, 0.94); border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(36, 31, 32, 0.18);
}
[data-theme="light"] #services .feature h3 { color: #FCF8F4; }
[data-theme="light"] #services .feature p { color: rgba(244, 238, 233, 0.78); }
[data-theme="light"] #services .feature__icon { background: rgba(255, 255, 255, 0.07); color: #FCF8F4; border-color: rgba(255, 255, 255, 0.14); }
[data-theme="light"] #services .feature:hover { border-color: rgba(255, 128, 57, 0.55); }
[data-theme="light"] #services .feature:hover .feature__icon { background: rgba(255, 128, 57, 0.18); color: var(--c-primary); }

/* ----- Process map: bluish sea under the land layer ----- */
.jm-sea { fill: #3b7fb8; fill-opacity: 0.2; }
[data-theme="light"] .jm-sea { fill: #5aa4de; fill-opacity: 0.26; }

/* ----- VIN page status block ----- */
.vin-status {
  margin-top: 18px; padding: 20px 22px; border-radius: var(--r-lg);
  background: var(--glass-2); border: 1px solid rgba(255, 128, 57, 0.35);
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px;
}
.vin-status__label { margin: 0; font-family: var(--font-display); font-weight: 800; letter-spacing: 0.04em; }
.vin-status__label b { color: var(--c-primary); font-family: var(--font-mono); letter-spacing: 0.08em; }
.vin-status__note { margin: 0; flex: 1 1 320px; font-size: 0.92rem; color: var(--c-body); }


/* ----- About: offerings list (page) and numbered offerings (home) ----- */
.about-offers { margin: 0; padding-left: 1.25em; }
.about-offers li { margin: 0 0 12px; color: var(--c-body); line-height: 1.6; }
.about-offers li b { color: var(--c-ink); font-weight: 700; }
.about-values li span { font-family: var(--font-body); font-weight: 300; color: var(--c-body); line-height: 1.55; }
.about-values li span strong { font-family: var(--font-display); font-weight: 700; color: var(--c-ink); }

/* ---------- Contact info card ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-primary-soft); color: var(--c-primary); border: 1px solid rgba(255, 128, 57, 0.3);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--c-ink); margin: 2px 0 2px; }
.contact-list span, .contact-list a { color: var(--c-body); line-height: 1.5; overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--c-primary); }
.contact-social { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--glass-border); }
.contact-social .muted { font-size: 0.85rem; }
.social-row a[hidden] { display: none; }
[data-theme="light"] .contact-social .social-row a { color: var(--c-ink); background: rgba(36, 31, 32, 0.06); border-color: rgba(36, 31, 32, 0.12); }
[data-theme="light"] .contact-social .social-row a:hover { color: #fff; background: var(--c-primary); border-color: transparent; }

/* ---------- Office map (Google Maps embed) ---------- */
.office-map { margin-top: 24px; }
.map-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--glass-1); border: 1px solid var(--glass-border); margin-bottom: 12px; }
.map-tab {
  appearance: none; border: 0; background: transparent; color: var(--c-body); cursor: pointer;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; line-height: 1; padding: 10px 18px; border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.map-tab:hover { color: var(--c-ink); }
.map-tab.is-active { background: var(--c-primary); color: var(--c-dark); }
.map-frame {
  position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--glass-border); background: var(--glass-1); box-shadow: var(--glass-edge), 0 8px 32px rgba(0, 0, 0, 0.25);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-link { display: inline-block; margin-top: 10px; font-size: 0.9rem; color: var(--c-primary); text-decoration: none; }
.map-link:hover { text-decoration: underline; }
.check-list li b { color: var(--c-ink); font-weight: 700; }
