/* =========================================================================
   AZART TUNING — Franchise site
   Layout concept: a dark "workshop at night" canvas with champagne-gold
   instrumentation; one light "spec-sheet" band for the economics.
   All directional spacing uses logical properties so Arabic (RTL) works.
   ========================================================================= */

:root {
  /* Layout concept: a racing-green night garage. Tall video "reel" frames,
     full-bleed footage bands, brass instrumentation; one pale "spec sheet" band. */
  --ink: #f2f4ef;          /* page ground: pale concrete with a green bias */
  --ink-2: #ffffff;        /* raised surface */
  --ink-3: #e7ece5;        /* tracks, inputs */
  --line: #d5ddd3;         /* hairlines */
  --fog: #5a6a62;          /* secondary text */
  --chalk: #0f1a16;        /* primary text */
  --gold: #155b42;         /* accent: racing green */
  --gold-2: #0e4733;       /* accent hover */
  --garnet: #c8463a;       /* signal red: REC dot, eyebrow dot */
  --paper: #e3eae1;        /* tinted spec-sheet band */
  --paper-ink: #0e1714;
  --paper-line: #cbd5c8;
  --ok: #2f8a56;
  --warn: #b7811c;
  --on-dark: #f2f4ee;      /* text over video and photos */
  --on-dark-fog: #c3cec7;
  --brass: #e4c975;        /* highlight over dark media */

  --f-display: "Tektur", "IBM Plex Sans Arabic", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Onest", "IBM Plex Sans Arabic", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(0.98rem, 0.95rem + 0.15vw, 1.06rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.45rem, 1.25rem + 0.85vw, 2rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.7rem + 4.2vw, 5.6rem);

  --wrap: 1280px;
  --radius: 2px;
  --radius-lg: 4px;
  --header-h: 72px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
html[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", var(--f-body); }

img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: "IBM Plex Sans Arabic", var(--f-display); letter-spacing: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section + .section { border-top: 1px solid var(--line); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.section-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--fog); font-size: var(--step-1); line-height: 1.5; max-width: 62ch; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: 48px; } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold);
  --fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid var(--bg);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover { --bg: var(--gold-2); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
html[dir="rtl"] .btn svg.arrow { transform: scaleX(-1); }
.btn--ghost { --bg: transparent; --fg: var(--chalk); border-color: var(--line); }
.btn--ghost:hover { --bg: var(--ink-3); border-color: var(--fog); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.86rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-mark { width: 34px; height: 34px; }
.logo-word { display: grid; line-height: 1; }
.logo-word b { font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; letter-spacing: 0.16em; }
.logo-word span { font-family: var(--f-mono); font-size: 0.6rem; letter-spacing: 0.42em; color: var(--gold); margin-top: 5px; }

.nav { display: none; gap: 4px; margin-inline-start: auto; }
.nav a {
  text-decoration: none; color: var(--fog); font-size: 0.88rem; font-weight: 600;
  padding: 8px 12px; border-radius: var(--radius); transition: color 0.2s;
}
.nav a:hover, .nav a.is-active { color: var(--chalk); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .header-actions { margin-inline-start: 8px; }
}

.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.08em; cursor: pointer;
}
.lang-btn svg { width: 14px; height: 14px; }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 190px;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 6px; display: grid; gap: 2px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.lang-menu button {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: transparent; border: 0; padding: 10px 12px; border-radius: var(--radius);
  text-align: start; cursor: pointer; font-size: 0.9rem;
}
.lang-menu button:hover { background: var(--ink-3); }
.lang-menu button[aria-current="true"] { color: var(--gold); }
.lang-menu small { font-family: var(--f-mono); font-size: 0.68rem; color: var(--fog); letter-spacing: 0.06em; }

.burger {
  display: inline-grid; place-items: center; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.burger svg { width: 18px; height: 18px; }
@media (min-width: 1100px) { .burger { display: none; } }
.header-cta { display: none; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }

.mobile-nav {
  border-top: 1px solid var(--line); background: var(--ink);
  padding-block: 12px 20px;
}
.mobile-nav .wrap { display: grid; gap: 2px; height: auto; }
.mobile-nav a {
  text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-weight: 600; color: var(--chalk);
}
.mobile-nav .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(228,201,117,0.13), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(200,70,58,0.18), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 80% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 80% at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 32px; } }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 { font-size: var(--step-4); font-weight: 600; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-lede { font-size: var(--step-1); color: var(--fog); max-width: 52ch; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px 7px 8px; color: var(--fog);
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(95,174,123,0.18); }

.hero-visual { position: relative; min-width: 0; }
.car-svg { width: 100%; height: auto; display: block; overflow: visible; }
.car-svg .body { fill: url(#bodyFill); stroke: var(--chalk); stroke-width: 1.4; }
.car-svg .glass { fill: rgba(228,201,117,0.08); stroke: var(--fog); stroke-width: 1; }
.car-svg .detail { fill: none; stroke: var(--fog); stroke-width: 1; }
.car-svg .tyre { fill: var(--ink); stroke: var(--chalk); stroke-width: 1.4; }
.car-svg .rim { fill: none; stroke: var(--gold); stroke-width: 1.2; }
.car-svg .ground { stroke: var(--line); stroke-width: 1; }
.car-svg .light { fill: var(--gold-2); }
.car-svg .tail { fill: var(--garnet); }
.car-svg .callout line { stroke: var(--gold); stroke-width: 1; }
.car-svg .callout circle { fill: var(--ink); stroke: var(--gold); stroke-width: 1.4; }
.car-svg .callout text { font-family: var(--f-mono); font-size: 11px; fill: var(--chalk); letter-spacing: 0.06em; }
.car-svg .callout text.k { fill: var(--gold); font-size: 9.5px; }
.car-svg .draw { stroke-dasharray: 2400; stroke-dashoffset: 0; animation: draw 2.2s cubic-bezier(.6,.1,.2,1) both; }
@keyframes draw { from { stroke-dashoffset: 2400; } to { stroke-dashoffset: 0; } }
.car-svg .callout { animation: fadeUp 0.6s ease both; }
.car-svg .callout:nth-of-type(1) { animation-delay: 1.2s; }
.car-svg .callout:nth-of-type(2) { animation-delay: 1.35s; }
.car-svg .callout:nth-of-type(3) { animation-delay: 1.5s; }
.car-svg .callout:nth-of-type(4) { animation-delay: 1.65s; }
.car-svg .callout:nth-of-type(5) { animation-delay: 1.8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hero-stats {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius-lg); margin-top: clamp(40px, 6vw, 72px);
  background: color-mix(in srgb, var(--ink-2) 70%, transparent);
}
@media (min-width: 800px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 22px 24px; display: grid; gap: 6px; border-inline-end: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-inline-end: 0; }
.stat:nth-last-child(-n+2) { border-bottom: 0; }
@media (min-width: 800px) {
  .stat { border-bottom: 0; border-inline-end: 1px solid var(--line); }
  .stat:nth-child(2n) { border-inline-end: 1px solid var(--line); }
  .stat:last-child { border-inline-end: 0; }
}
.stat b { font-family: var(--f-display); font-size: var(--step-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.stat span { color: var(--fog); font-size: 0.88rem; line-height: 1.4; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid var(--line); overflow: hidden; background: var(--ink-2); }
.ticker-track { display: flex; gap: 48px; width: max-content; padding-block: 18px; animation: ticker 48s linear infinite; }
html[dir="rtl"] .ticker-track { animation-direction: reverse; }
.ticker span { font-family: var(--f-mono); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fog); display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.ticker span::after { content: "◆"; color: var(--gold); font-size: 0.6rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Business lines ---------- */
.lines { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px) { .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lines { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.line-card { background: var(--ink); padding: 30px 28px 32px; display: grid; gap: 16px; align-content: start; min-width: 0; transition: background 0.3s; }
.line-card:hover { background: var(--ink-2); }
@media (min-width: 1100px) {
  .line-card { grid-column: span 2; }
  .line-card:nth-child(4), .line-card:nth-child(5) { grid-column: span 3; }
}
.line-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.line-icon { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--gold); }
.line-icon svg { width: 22px; height: 22px; }
.line-share { font-family: var(--f-mono); font-size: 0.75rem; color: var(--fog); letter-spacing: 0.06em; text-align: end; }
.line-share b { display: block; color: var(--chalk); font-size: 1rem; font-weight: 600; }
.line-card h3 { font-size: var(--step-1); }
.line-card p { color: var(--fog); font-size: 0.95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li { font-size: 0.78rem; padding: 4px 10px; border: 1px solid var(--line); border-radius: 100px; color: var(--chalk); }
.share-bar { height: 3px; background: var(--ink-3); border-radius: 3px; overflow: hidden; }
.share-bar i { display: block; height: 100%; background: var(--gold); }

/* ---------- Why / proof ---------- */
.why-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 0.9fr 1.1fr; gap: 72px; } }
.story { display: grid; gap: 22px; align-content: start; }
.story h2 { font-size: var(--step-3); }
.story p { color: var(--fog); max-width: 60ch; }
.story blockquote {
  margin: 8px 0 0; padding: 22px 24px; border-inline-start: 2px solid var(--gold); background: var(--ink-2);
  font-size: var(--step-1); line-height: 1.5; color: var(--chalk);
}
.story blockquote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--gold); }
.reasons { display: grid; gap: 0; border-top: 1px solid var(--line); }
.reason { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.reason-k { font-family: var(--f-mono); color: var(--gold); font-size: 0.8rem; padding-top: 4px; }
.reason h3 { font-size: 1.08rem; font-family: var(--f-body); font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.reason p { color: var(--fog); font-size: 0.95rem; }

/* ---------- Formats ---------- */
.formats { display: grid; gap: 20px; }
@media (min-width: 980px) { .formats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.format {
  position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 24px;
  padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); min-width: 0;
}
.format--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(228,201,117,0.08), var(--ink-2) 40%); }
.format-flag {
  position: absolute; top: -12px; inset-inline-start: 28px; background: var(--gold); color: var(--ink);
  font-family: var(--f-mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 3px;
}
.format-head { display: grid; gap: 10px; }
.format-code { font-family: var(--f-mono); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.12em; }
.format h3 { font-size: var(--step-2); }
.format-head p { color: var(--fog); font-size: 0.95rem; }
.format-price { display: grid; gap: 4px; padding-block: 20px; border-block: 1px solid var(--line); }
.format-price small { color: var(--fog); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-mono); }
.format-price b { font-family: var(--f-display); font-size: var(--step-3); font-weight: 600; font-variant-numeric: tabular-nums; }
.specs { margin: 0; display: grid; gap: 0; align-content: start; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding-block: 11px; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--fog); }
.specs dd { margin: 0; font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; }
.includes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; }
.includes li { display: flex; gap: 10px; align-items: flex-start; }
.includes li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 7px; border-inline-start: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
html[dir="rtl"] .includes li::before { transform: rotate(45deg) scaleX(-1); }

.fees-note { margin-top: 28px; display: grid; gap: 16px; padding: 22px 24px; border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--fog); font-size: 0.9rem; }
@media (min-width: 900px) { .fees-note { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fees-note b { display: block; color: var(--chalk); font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 2px; }

/* ---------- Economics (light band) ---------- */
.band-paper { background: var(--paper); color: var(--paper-ink); }
.band-paper .eyebrow { color: #4f6b2f; }
.band-paper .section-head p { color: #5a5c63; }
.calc { display: grid; gap: 24px; }
@media (min-width: 980px) { .calc { grid-template-columns: 0.9fr 1.1fr; gap: 32px; } }
.calc-panel { background: #fff; border: 1px solid var(--paper-line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 24px; align-content: start; min-width: 0; }
.calc-panel h3 { font-size: 1.05rem; font-family: var(--f-body); font-weight: 800; letter-spacing: 0; }
.seg { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid var(--paper-line); border-radius: var(--radius); padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 10px; border-radius: 3px; font-weight: 700; font-size: 0.9rem; cursor: pointer; color: var(--paper-ink); }
.seg button[aria-pressed="true"] { background: var(--paper-ink); color: var(--paper); }
.field-range { display: grid; gap: 10px; }
.field-range label { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; color: #4a4c52; }
.field-range output { font-family: var(--f-mono); font-weight: 700; color: var(--paper-ink); font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--paper-line); border-radius: 4px; outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--paper-ink); border: 3px solid var(--gold); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--paper-ink); border: 3px solid var(--gold); cursor: pointer; }
.calc-out { background: var(--paper-ink); color: var(--chalk); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 22px; min-width: 0; }
.out-top { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kpi { display: grid; gap: 4px; }
.kpi small { color: var(--fog); font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.kpi b { font-family: var(--f-display); font-weight: 600; font-size: var(--step-2); font-variant-numeric: tabular-nums; }
.kpi b.gold { color: var(--gold); }
.pl { width: 100%; border-collapse: collapse; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.pl td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.pl td:last-child { text-align: end; font-family: var(--f-mono); }
.pl tr.total td { border-bottom: 0; font-weight: 800; color: var(--gold); padding-top: 14px; }
.pl .neg { color: var(--fog); }
.waterfall { display: grid; gap: 6px; }
.wf-row { display: grid; grid-template-columns: 92px 1fr; align-items: center; gap: 12px; font-size: 0.75rem; color: var(--fog); font-family: var(--f-mono); }
.wf-track { height: 10px; background: var(--ink-3); border-radius: 2px; position: relative; overflow: hidden; }
.wf-track i { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; background: var(--fog); border-radius: 2px; transition: width 0.35s ease, inset-inline-start 0.35s ease; }
.wf-row.rev i { background: var(--chalk); }
.wf-row.net i { background: var(--gold); }
.calc-disclaimer { font-size: 0.8rem; color: var(--fog); line-height: 1.5; }

/* ---------- Package ---------- */
.package { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 640px) { .package { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .package { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pkg { background: var(--ink); padding: 28px 24px; display: grid; gap: 12px; align-content: start; }
.pkg svg { width: 26px; height: 26px; color: var(--gold); }
.pkg h3 { font-family: var(--f-body); font-weight: 800; font-size: 1.02rem; letter-spacing: 0; }
.pkg p { color: var(--fog); font-size: 0.9rem; }

/* ---------- CRM ---------- */
.crm-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1040px) { .crm-grid { grid-template-columns: 0.75fr 1.25fr; gap: 56px; } }
.crm-copy { display: grid; gap: 22px; min-width: 0; }
.crm-copy h2 { font-size: var(--step-3); }
.crm-copy > p { color: var(--fog); }
.crm-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.crm-features li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 0.95rem; }
.crm-features li b { display: block; }
.crm-features li span { color: var(--fog); font-size: 0.9rem; }
.crm-features svg { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }

.app { border: 1px solid var(--line); border-radius: 12px; background: var(--ink-2); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8); min-width: 0; }
.app-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 0.72rem; color: var(--fog); }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); border: 1px solid var(--line); }
.app-bar span { margin-inline-start: 10px; }
.app-bar em { margin-inline-start: auto; font-style: normal; color: var(--ok); }
.app-body { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .app-body { grid-template-columns: 150px 1fr; } }
.app-side { display: none; border-inline-end: 1px solid var(--line); padding: 14px 10px; gap: 2px; align-content: start; }
@media (min-width: 640px) { .app-side { display: grid; } }
.app-side span { font-size: 0.78rem; padding: 8px 10px; border-radius: 4px; color: var(--fog); }
.app-side span.on { background: var(--ink-3); color: var(--chalk); }
.app-main { padding: 16px; display: grid; gap: 14px; min-width: 0; }
.app-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .app-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.app-kpi { background: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 12px; display: grid; gap: 2px; }
.app-kpi small { font-size: 0.66rem; color: var(--fog); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-mono); }
.app-kpi b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.app-kpi em { font-style: normal; font-size: 0.7rem; color: var(--ok); font-family: var(--f-mono); }
.app-row { display: grid; gap: 10px; }
@media (min-width: 760px) { .app-row { grid-template-columns: 1.4fr 1fr; } }
.app-card { background: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 12px; min-width: 0; }
.app-card h4 { font-family: var(--f-mono); font-weight: 500; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--fog); margin-bottom: 10px; }
.orders { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
.orders td { padding: 7px 4px; border-top: 1px solid var(--line); white-space: nowrap; }
.orders td:last-child { text-align: end; }
.orders .car { color: var(--chalk); font-weight: 600; }
.orders .svc { color: var(--fog); overflow: hidden; text-overflow: ellipsis; max-width: 140px; }
.pill { display: inline-block; font-size: 0.64rem; font-family: var(--f-mono); padding: 2px 7px; border-radius: 100px; border: 1px solid currentColor; }
.pill.ok { color: var(--ok); } .pill.wip { color: var(--gold); } .pill.wait { color: var(--warn); } .pill.new { color: var(--fog); }
.bays { display: grid; gap: 8px; }
.bay { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 8px; font-size: 0.7rem; color: var(--fog); font-family: var(--f-mono); }
.bay-track { height: 8px; background: var(--ink-3); border-radius: 2px; overflow: hidden; }
.bay-track i { display: block; height: 100%; background: var(--gold); }
.bay b { color: var(--chalk); font-weight: 500; text-align: end; }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.spark i { flex: 1; background: var(--ink-3); border-radius: 2px 2px 0 0; }
.spark i.hi { background: var(--gold); }

/* ---------- Markets ---------- */
.markets { display: grid; gap: 16px; }
@media (min-width: 720px) { .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .markets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.market { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; display: grid; gap: 18px; align-content: start; background: var(--ink); min-width: 0; }
.market--hq { background: var(--ink-2); border-style: dashed; }
.market-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.market-code { font-family: var(--f-mono); font-size: 0.75rem; color: var(--gold); letter-spacing: 0.12em; }
.market h3 { font-size: var(--step-1); margin-top: 6px; }
.status { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 1px solid; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.open { color: var(--ok); }
.status.priority { color: var(--gold); }
.status.talks { color: var(--warn); }
.status.hq { color: var(--fog); }
.market p { color: var(--fog); font-size: 0.92rem; }
.cities { font-size: 0.88rem; color: var(--chalk); }
.market-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.82rem; }
.market-meta small { display: block; color: var(--fog); font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }

/* ---------- Roadmap ---------- */
.road { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; position: relative; }
@media (min-width: 960px) { .road { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; } }
.step { counter-increment: step; position: relative; padding: 0 0 32px; padding-inline-start: 56px; min-width: 0; }
.step::before {
  content: counter(step, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: 0;
  width: 40px; height: 40px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 0.78rem; color: var(--gold); background: var(--ink);
}
.step::after { content: ""; position: absolute; inset-inline-start: 20px; top: 44px; bottom: 4px; width: 1px; background: var(--line); }
.step:last-child::after { display: none; }
@media (min-width: 960px) {
  .step { padding: 60px 0 40px; padding-inline-start: 0; }
  .step::after { top: 20px; inset-inline-start: 48px; inset-inline-end: -24px; width: auto; height: 1px; bottom: auto; }
  .step:nth-child(4n)::after { display: none; }
}
.step-week { font-family: var(--f-mono); font-size: 0.72rem; color: var(--fog); letter-spacing: 0.1em; text-transform: uppercase; }
.step h3 { font-family: var(--f-body); font-weight: 800; font-size: 1.05rem; letter-spacing: 0; margin-block: 6px 8px; }
.step p { color: var(--fog); font-size: 0.9rem; }

/* ---------- Requirements ---------- */
.req-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .req-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.req-list li { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.req-list span { color: var(--fog); }
.req-list b { text-align: end; }
.profile { display: grid; gap: 16px; }
.profile h3 { font-size: var(--step-1); margin-bottom: 4px; }
.profile-item { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.profile-item svg { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.profile-item p { color: var(--fog); font-size: 0.95rem; }
.profile-item b { color: var(--chalk); display: block; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 0.7fr 1.3fr; gap: 64px; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding-block: 22px; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform 0.25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--fog); padding-bottom: 22px; max-width: 68ch; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 50% 100%, rgba(228,201,117,0.16), transparent 70%); }
.final-inner { display: grid; gap: 28px; justify-items: center; text-align: center; }
.final h2 { font-size: var(--step-4); max-width: 16ch; }
.final p { color: var(--fog); font-size: var(--step-1); max-width: 54ch; }
.final .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 56px 32px; background: var(--ink-2); }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-grid h4 { font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.foot-grid a { text-decoration: none; color: var(--fog); }
.foot-grid a:hover { color: var(--chalk); }
.foot-about { display: grid; gap: 16px; align-content: start; }
.foot-about p { color: var(--fog); font-size: 0.92rem; max-width: 42ch; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: var(--fog); }

/* ---------- Floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; z-index: 40; inset-inline: 0; bottom: 0;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(0deg, var(--ink) 60%, transparent);
  transform: translateY(110%); transition: transform 0.3s ease;
}
.float-cta.show { transform: none; }
@media (min-width: 760px) { .float-cta { display: none; } }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,6,8,0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade 0.25s ease both; }
.modal-dialog {
  position: relative; width: min(760px, 100%); max-height: 100%; overflow: auto;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 50px 120px -20px rgba(0,0,0,0.9);
  animation: pop 0.32s cubic-bezier(.2,.9,.3,1.1) both;
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modal-head { display: grid; gap: 8px; padding: 28px 28px 20px; border-bottom: 1px solid var(--line); position: relative; }
.modal-head h2 { font-size: var(--step-2); padding-inline-end: 40px; }
.modal-head p { color: var(--fog); font-size: 0.92rem; }
.modal-close {
  position: absolute; top: 20px; inset-inline-end: 20px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer; display: grid; place-items: center;
}
.modal-close svg { width: 16px; height: 16px; }
.modal-close:hover { background: var(--ink-3); }

.form { padding: 24px 28px 28px; display: grid; gap: 18px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .form-grid { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: span 2; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field > .label { font-size: 0.8rem; font-weight: 700; color: var(--chalk); letter-spacing: 0.02em; }
.field > label i, .field > .label i { color: var(--gold); font-style: normal; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; background: var(--ink); color: var(--chalk);
  border: 1px solid var(--line); border-radius: var(--radius); font: inherit; font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 96px; resize: vertical; }
.select { appearance: none; -webkit-appearance: none; padding-inline-end: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--fog) 50%), linear-gradient(135deg, var(--fog) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
html[dir="rtl"] .select { background-position: 15px 21px, 20px 21px; }
.input::placeholder, .textarea::placeholder { color: #5f6570; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(228,201,117,0.18); }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #c4545e; }
.err { font-size: 0.78rem; color: #e07a83; min-height: 0; }
.err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; font-size: 0.88rem; font-weight: 600; background: var(--ink); transition: border-color 0.2s, background 0.2s;
}
.chip label small { font-family: var(--f-mono); font-size: 0.7rem; color: var(--fog); font-weight: 400; }
.chip input:checked + label { border-color: var(--gold); background: rgba(228,201,117,0.1); }
.chip input:focus-visible + label { outline: 2px solid var(--gold-2); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 0.82rem; color: var(--fog); align-items: start; }
.consent input { width: 18px; height: 18px; accent-color: var(--gold); margin: 2px 0 0; }
.form-foot { display: grid; gap: 14px; align-items: center; }
@media (min-width: 620px) { .form-foot { grid-template-columns: 1fr auto; } }
.form-trust { display: flex; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--fog); }
.form-trust svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.success { padding: 48px 28px; display: grid; gap: 18px; justify-items: center; text-align: center; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); }
.success-icon svg { width: 28px; height: 28px; }
.success h2 { font-size: var(--step-2); }
.success p { color: var(--fog); max-width: 46ch; }
.success code { font-family: var(--f-mono); color: var(--gold); background: var(--ink); padding: 4px 10px; border-radius: 4px; border: 1px solid var(--line); }

.toast {
  position: fixed; z-index: 120; inset-inline-start: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%); background: var(--chalk); color: var(--ink); padding: 12px 18px; border-radius: 6px;
  font-size: 0.88rem; font-weight: 600; box-shadow: 0 20px 40px rgba(0,0,0,0.4); max-width: calc(100% - 32px);
}
html[dir="rtl"] .toast { transform: translateX(50%); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* =========================================================================
   Real-photo components
   ========================================================================= */
img.logo-mark { width: auto; height: 38px; display: block; }

.hero-visual { margin: 0; display: grid; gap: 0; }
.hero-photo {
  position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 3 / 2; max-width: 100%; background: var(--ink-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,14,17,0.65)); pointer-events: none; }
@keyframes heroIn { from { transform: scale(1.06); filter: brightness(0.6); } }
.hero-spec {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: -1px;
  border: 1px solid var(--line); border-top: 0; border-radius: 0 0 14px 14px; background: var(--ink-2);
}
.hero-photo { border-radius: 14px 14px 0 0; }
.hero-spec span { padding: 14px 16px; font-size: 0.86rem; font-weight: 600; border-inline-end: 1px solid var(--line); min-width: 0; }
.hero-spec span:last-child { border-inline-end: 0; }
.hero-spec small { display: block; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 400; margin-bottom: 2px; }
@media (max-width: 520px) { .hero-spec span { padding: 12px 10px; font-size: 0.78rem; } }

.line-card--photo { padding-top: 0; }
.line-img { display: block; width: calc(100% + 56px); max-width: none; margin-inline: -28px; height: 180px; object-fit: cover; filter: saturate(0.9); transition: filter 0.4s, transform 0.6s; }
.line-card { overflow: hidden; }
.line-card:hover .line-img { filter: saturate(1.05); }
@media (min-width: 1100px) { .line-card:nth-child(4) .line-img, .line-card:nth-child(5) .line-img { height: 220px; } }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-inline-start: 1px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 7px 0; padding-inline-start: 22px; font-size: 0.92rem; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -4px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); border: 1px solid var(--fog); }
.timeline b { font-family: var(--f-mono); font-weight: 500; color: var(--gold); font-size: 0.82rem; padding-top: 2px; }
.timeline span { color: var(--fog); }
.timeline li.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(228,201,117,0.2); }
.timeline li.now span { color: var(--chalk); font-weight: 700; }
.founder { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--ink-2); flex-wrap: wrap; }
.founder-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font-family: var(--f-display); font-weight: 700; font-size: 0.9rem; }
.founder b { display: block; }
.founder div span { color: var(--fog); font-size: 0.86rem; }
.founder a { margin-inline-start: auto; font-family: var(--f-mono); font-size: 0.82rem; color: var(--gold); text-decoration: none; }
.founder a:hover { text-decoration: underline; }

.builds { display: grid; gap: 16px; }
@media (min-width: 980px) { .builds { grid-template-columns: 280px 1fr; gap: 24px; align-items: start; } }
.build-tabs { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 980px) { .build-tabs { grid-template-columns: 1fr; } }
.build-tabs button {
  text-align: start; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 14px 16px; cursor: pointer; display: grid; gap: 2px; min-width: 0; transition: border-color 0.2s, background 0.2s;
}
.build-tabs button b { font-size: 0.95rem; }
.build-tabs button span { color: var(--fog); font-size: 0.8rem; }
.build-tabs button[aria-selected="true"] { border-color: var(--gold); background: rgba(228,201,117,0.08); }
@media (max-width: 600px) { .build-tabs button span { display: none; } .build-tabs button { padding: 12px; } .build-tabs button b { font-size: 0.82rem; } }

.ba { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; max-width: 100%; background: var(--ink-2); user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
html[dir="rtl"] .ba-before-wrap { clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.ba-handle { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 2px; margin-inline-start: -1px; background: var(--chalk); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--chalk); box-shadow: 0 6px 20px rgba(0,0,0,0.5); }
.ba-handle span::before, .ba-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; transform: translateY(-50%); }
.ba-handle span::before { left: 7px; border-right-color: var(--ink); }
.ba-handle span::after { right: 7px; border-left-color: var(--ink); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; -webkit-appearance: none; appearance: none; background: transparent; }
.ba-range:focus-visible + * { outline: none; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--gold-2); outline-offset: 3px; }
.ba-label { position: absolute; top: 14px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(13,14,17,0.7); padding: 5px 10px; border-radius: 3px; pointer-events: none; }
.ba-label--before { inset-inline-start: 14px; }
.ba-label--after { inset-inline-end: 14px; color: var(--gold); }

.partners { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line); }
.partners span { font-family: var(--f-display); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; color: #6c727d; }

.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { font-size: 0.8rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px; text-decoration: none; color: var(--fog); }
.socials a:hover { color: var(--chalk); border-color: var(--fog); }
.calc-panel { align-self: start; }
.reasons { align-self: start; }

/* ---------- Region switcher ---------- */
.region-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-bottom: 28px; }
.region-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: var(--ink-2); }
.region-tabs button { border: 0; background: transparent; padding: 9px 16px; border-radius: 100px; cursor: pointer; font-weight: 700; font-size: 0.88rem; color: var(--fog); transition: color 0.2s, background 0.2s; }
.region-tabs button:hover { color: var(--chalk); }
.region-tabs button[aria-selected="true"] { background: var(--gold); color: var(--ink); }
.region-cur { font-family: var(--f-mono); font-size: 0.8rem; color: var(--fog); }
.region-cur b { color: var(--gold); font-weight: 500; }
@media (max-width: 560px) { .region-tabs { border-radius: var(--radius-lg); } .region-tabs button { padding: 8px 12px; font-size: 0.82rem; } }
.fees-note span { display: block; }
.format-price b { overflow-wrap: anywhere; }
.select--light { background-color: #fff; color: var(--paper-ink); border-color: var(--paper-line); color-scheme: light; }

/* ---------- Video gallery ---------- */
.videos { display: grid; gap: 16px; }
@media (min-width: 900px) { .videos { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, auto); } .video-card--main { grid-row: span 3; } }
.video-card {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: radial-gradient(80% 90% at 30% 30%, #2a2e37, var(--ink-2)); cursor: pointer; aspect-ratio: 16 / 9; max-width: 100%; text-align: start;
}
.video-thumb, .video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.video-thumb img { transition: transform 0.6s ease, filter 0.4s; filter: brightness(0.75); }
.video-card:hover .video-thumb img { transform: scale(1.04); filter: brightness(0.9); }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,14,17,0.85)); pointer-events: none; }
.video-play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transition: transform 0.25s; }
.video-card:not(.video-card--main) .video-play { width: 46px; height: 46px; }
.video-play svg { width: 40%; height: 40%; margin-inline-start: 6%; }
.video-card:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.video-meta { position: absolute; z-index: 2; inset-inline: 16px; bottom: 14px; display: grid; gap: 2px; color: var(--chalk); }
.video-meta b { font-size: 1rem; }
.video-card--main .video-meta b { font-size: var(--step-1); }
.video-meta small { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.video-card.is-playing { cursor: default; }
.video-card.is-playing::after { display: none; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-foot { margin-top: 24px; display: flex; justify-content: center; }

/* ---------- RTL / Arabic typography ---------- */
html[dir="rtl"] .eyebrow, html[dir="rtl"] .format-code, html[dir="rtl"] .market-code, html[dir="rtl"] .reason-k,
html[dir="rtl"] .step-week, html[dir="rtl"] .kpi small, html[dir="rtl"] .format-price small, html[dir="rtl"] .hero-badge,
html[dir="rtl"] .ticker span, html[dir="rtl"] .market-meta small, html[dir="rtl"] .hero-spec small, html[dir="rtl"] .video-meta small,
html[dir="rtl"] .status, html[dir="rtl"] .format-flag, html[dir="rtl"] .app-kpi small, html[dir="rtl"] .app-card h4, html[dir="rtl"] .foot-grid h4 {
  letter-spacing: 0; font-family: "IBM Plex Sans Arabic", var(--f-mono);
}
html[dir="rtl"] h1, html[dir="rtl"] h2 { line-height: 1.35; }
html[dir="rtl"] .hero h1 { line-height: 1.3; }
html[dir="rtl"] .ticker-track { animation-name: tickerRtl; animation-direction: normal; }
@keyframes tickerRtl { to { transform: translateX(50%); } }
html[dir="rtl"] .eyebrow::before { order: 0; }
html[dir="rtl"] .pl td:last-child, html[dir="rtl"] output { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .input[type="tel"], html[dir="rtl"] .input[type="email"] { direction: ltr; text-align: right; }
html[lang="ru"] .hero h1 { font-size: clamp(2.1rem, 1.5rem + 2.7vw, 4rem); }
@media (min-width: 900px) { .video-card--main { aspect-ratio: auto; height: 100%; min-height: 360px; } }

.logo-mono { width: 38px; height: 38px; border: 1.5px solid var(--gold); border-radius: 6px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 0.85rem; color: var(--chalk); flex: none; }
.demo-bar { background: var(--gold); color: var(--ink); text-align: center; font-size: 0.8rem; font-weight: 700; padding: 7px max(16px, env(safe-area-inset-right, 0px)) 7px max(16px, env(safe-area-inset-left, 0px)); }

/* =========================================================================
   AZCars identity layer
   ========================================================================= */
h1, h2 { font-family: var(--f-display); font-weight: 800; font-stretch: 78%; text-transform: uppercase; letter-spacing: 0.005em; line-height: 0.98; }
h3 { font-family: var(--f-display); font-weight: 700; font-stretch: 88%; letter-spacing: 0.01em; }
html[lang="ru"] h1, html[lang="ru"] h2 { line-height: 1.02; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { text-transform: none; font-family: "IBM Plex Sans Arabic", var(--f-display); font-weight: 700; line-height: 1.3; }
.eyebrow { color: var(--gold); }
.eyebrow::before { width: 8px; height: 8px; background: var(--garnet); border-radius: 50%; }
.btn { border-radius: 2px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; }
html[dir="rtl"] .btn { text-transform: none; letter-spacing: 0; font-size: 0.95rem; }

.logo-mono { width: 40px; height: 40px; border: 0; border-radius: 0; background: var(--gold); color: var(--ink); font-family: var(--f-display); font-stretch: 80%; font-weight: 900; font-size: 1rem; clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%); }
.logo-word b { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 1.3rem; letter-spacing: 0.12em; }
.logo-word span { letter-spacing: 0.5em; }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 88px); }
.hero::before { background: radial-gradient(55% 60% at 80% 30%, rgba(228,201,117,0.10), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(108,192,139,0.10), transparent 70%); }
.hero::after { opacity: 0.25; background-image: repeating-linear-gradient(115deg, var(--line) 0 1px, transparent 1px 22px); mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 56px; } }
.hero h1 { font-size: var(--step-4); }
.hero h1 em { color: var(--gold); font-style: normal; display: inline-block; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 12px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hero-stats .stat { padding: 18px 16px 0 0; border: 0; display: grid; gap: 4px; }
html[dir="rtl"] .hero-stats .stat { padding: 18px 0 0 16px; }
.hero-stats .stat dt { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: var(--step-2); color: var(--chalk); font-variant-numeric: tabular-nums; }
.hero-stats .stat dd { margin: 0; color: var(--fog); font-size: 0.84rem; line-height: 1.35; }

.reel { position: relative; margin: 0; aspect-ratio: 9 / 16; max-height: 78vh; max-width: 100%; width: 100%; justify-self: center; background: var(--ink-2); overflow: hidden; border-radius: 4px; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.9); }
@media (max-width: 999px) { .reel { aspect-ratio: 4 / 5; max-height: none; } }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,17,0.45), transparent 22%, transparent 70%, rgba(10,20,17,0.8)); pointer-events: none; }
.reel-corner { position: absolute; z-index: 2; width: 22px; height: 22px; border: 2px solid var(--chalk); opacity: 0.85; }
.reel-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.reel-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.reel-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.reel-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.reel-hud { position: absolute; z-index: 3; inset-inline: 26px; display: flex; justify-content: space-between; gap: 12px; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--chalk); }
.reel-hud--top { top: 26px; }
.reel-hud--bottom { bottom: 26px; align-items: flex-end; }
.reel-hud--bottom span:first-child { max-width: 70%; line-height: 1.4; }
.rec { display: inline-flex; align-items: center; gap: 6px; }
.rec::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--garnet); animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.tc { font-variant-numeric: tabular-nums; color: var(--gold); }

/* business media */
.line-card--photo { padding-top: 0; }
.line-media { position: relative; margin-inline: -28px; height: 200px; overflow: hidden; background: var(--ink-2); }
.line-media .line-img, .line-media .line-vid { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.line-media .line-vid { opacity: 0; transition: opacity 0.4s; }
.line-card.is-playing .line-vid { opacity: 1; }
.line-live { position: absolute; z-index: 2; inset-inline-start: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(10,20,17,0.75); padding: 4px 8px; display: inline-flex; gap: 6px; align-items: center; }
.line-live::before { content: ""; width: 0; height: 0; border-inline-start: 6px solid var(--gold); border-block: 4px solid transparent; }
.line-card.is-playing .line-live { opacity: 0; }
.lines { border-radius: 4px; }

/* video band */
.band { position: relative; min-height: clamp(320px, 46vw, 560px); display: grid; align-items: end; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,20,17,0.92) 0%, rgba(10,20,17,0.35) 55%, rgba(10,20,17,0.6) 100%); }
.band-inner { padding-block: 48px; display: grid; gap: 14px; }
.band-quote { font-family: var(--f-display); font-stretch: 78%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 1.2rem + 3vw, 4rem); line-height: 1; max-width: 18ch; text-wrap: balance; }
html[dir="rtl"] .band-quote { text-transform: none; font-family: "IBM Plex Sans Arabic", var(--f-display); line-height: 1.3; }
.band-k { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* story photo */
.story-photo { margin: 6px 0 4px; position: relative; }
.story-photo img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.story-photo figcaption { position: absolute; inset-inline-start: 12px; bottom: 12px; font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(10,20,17,0.8); padding: 5px 9px; }

/* gallery strip */
.section--gallery .section-head { margin-bottom: 32px; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: max(16px, calc((100vw - var(--wrap)) / 2 + 32px)); padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
@media (max-width: 720px) { .gallery { grid-auto-columns: 78%; padding-inline: 16px; } }
.shot { margin: 0; scroll-snap-align: start; position: relative; }
.shot img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; filter: saturate(0.92); transition: filter 0.3s; }
.shot:hover img { filter: saturate(1.08); }
.shot figcaption { display: flex; gap: 10px; align-items: baseline; padding-top: 10px; font-size: 0.9rem; }
.shot figcaption b { font-family: var(--f-mono); font-weight: 500; color: var(--gold); font-size: 0.75rem; }
.partners { margin-top: 48px; }
.partners span { font-family: var(--f-display); font-stretch: 80%; color: #5d7368; }

/* gauge */
.kpi--gauge { grid-row: span 1; }
.gauge { width: 120px; height: 70px; display: block; margin-top: 4px; }
.g-track { fill: none; stroke: var(--ink-3); stroke-width: 8; stroke-linecap: round; }
.g-fill { fill: none; stroke: var(--gold); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 0.5s ease; }
.g-needle { stroke: var(--chalk); stroke-width: 2.5; stroke-linecap: round; transform-origin: 60px 62px; transition: transform 0.5s cubic-bezier(.3,1.4,.5,1); }
.g-hub { fill: var(--chalk); }
.calc-out { background: var(--paper-ink); }

/* final with video */
.final { min-height: clamp(420px, 50vw, 620px); display: grid; align-items: center; }
.final-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.final::before { z-index: -1; background: radial-gradient(60% 80% at 50% 50%, rgba(10,20,17,0.55), rgba(10,20,17,0.92)); }
.final h2 { font-size: var(--step-4); }

.demo-bar { background: var(--gold); color: var(--ink); }
.format--featured { border-color: var(--gold); background: linear-gradient(180deg, rgba(228,201,117,0.08), var(--ink-2) 40%); }
.region-tabs { border-radius: 2px; }
.region-tabs button { border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .rec::before { animation: none; } }


/* =========================================================================
   Light theme overrides: text on media stays light
   ========================================================================= */
.btn { --fg: #ffffff; }
.btn--ghost { --fg: var(--chalk); }
.calc-out { background: var(--ink-2); color: var(--chalk); border: 1px solid var(--paper-line); }
.reel-hud, .reel-hud span { color: var(--on-dark); }
.reel-corner { border-color: var(--on-dark); }
.tc { color: var(--brass); }
.band-quote { color: var(--on-dark); }
.band-k { color: var(--brass); }
.final, .final h2 { color: var(--on-dark); }
.final p { color: var(--on-dark-fog); }
.final .eyebrow { color: var(--brass); }
.line-live, .story-photo figcaption { color: var(--on-dark); }
.site-header { background: color-mix(in srgb, var(--ink-2) 88%, transparent); }
.hero::before { background: radial-gradient(55% 60% at 85% 30%, rgba(21,91,66,0.10), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(228,201,117,0.18), transparent 70%); }
.hero::after { opacity: 0.5; }
.reel { box-shadow: 0 40px 80px -36px rgba(15,26,22,0.55); }
.app { box-shadow: 0 40px 80px -40px rgba(15,26,22,0.35); }
.format { background: var(--ink-2); }
.format--featured { background: linear-gradient(180deg, rgba(21,91,66,0.06), var(--ink-2) 40%); }
.market { background: var(--ink-2); }
.market--hq { background: var(--ink-3); }
.line-card { background: var(--ink-2); }
.line-card:hover { background: #fbfcfa; }
.pkg { background: var(--ink-2); }
.input, .select, .textarea { background: var(--ink-2); }
.input::placeholder, .textarea::placeholder { color: #8a978f; }
.ticker { background: var(--chalk); border-color: var(--chalk); }
.ticker span { color: var(--on-dark-fog); }
.ticker span::after { color: var(--brass); }
.partners span { color: #7d8c84; }
.stat { background: none; }
.status.priority { color: var(--gold); }
.chip input:checked + label { background: rgba(21,91,66,0.08); }
.region-tabs { background: var(--ink-2); }
.site-footer { background: var(--chalk); color: var(--on-dark); border-top: 0; }
.site-footer .foot-grid a, .site-footer .foot-about p, .site-footer .foot-bottom, .site-footer .foot-grid span { color: var(--on-dark-fog); }
.site-footer .foot-grid a:hover { color: var(--on-dark); }
.site-footer .foot-grid h4 { color: var(--brass); }
.site-footer .foot-bottom { border-color: #2a3833; }
.site-footer .logo-word b { color: var(--on-dark); }
.site-footer .logo-word span { color: var(--brass); }
.site-footer .logo-mono { background: var(--brass); color: var(--chalk); }
.modal-dialog { box-shadow: 0 50px 120px -20px rgba(15,26,22,0.45); }
.lang-menu { box-shadow: 0 20px 50px rgba(15,26,22,0.18); }

/* ---------- Light pass 2: no full-width dark grounds ---------- */
.ticker { background: var(--ink-2); border-color: var(--line); }
.ticker span { color: var(--fog); }
.ticker span::after { color: var(--gold); }

.band { min-height: 0; display: block; border-top: 0; padding-block: clamp(24px, 4vw, 48px); background: var(--ink); }
.band-frame { position: relative; overflow: hidden; isolation: isolate; border-radius: 6px; min-height: clamp(300px, 40vw, 500px); display: grid; align-items: end; }
.band-frame .band-video { z-index: -2; }
.band-frame::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,20,17,0.85), rgba(10,20,17,0.1) 65%); }
.band::before { display: none; }
.band-inner { padding: clamp(24px, 4vw, 48px); }

.final { color: var(--chalk); min-height: 0; background: var(--ink); }
.final::before { display: none; }
.final h2 { color: var(--chalk); }
.final p { color: var(--fog); }
.final .eyebrow { color: var(--gold); }
.final-video { position: static; z-index: auto; opacity: 1; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; }
.final-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .final-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.final .final-inner { justify-items: start; text-align: start; }

.site-footer { background: var(--ink-3); color: var(--chalk); border-top: 1px solid var(--line); }
.site-footer .foot-grid a, .site-footer .foot-about p, .site-footer .foot-bottom, .site-footer .foot-grid span { color: var(--fog); }
.site-footer .foot-grid a:hover { color: var(--chalk); }
.site-footer .foot-grid h4 { color: var(--gold); }
.site-footer .foot-bottom { border-color: var(--line); }
.site-footer .logo-word b { color: var(--chalk); }
.site-footer .logo-word span { color: var(--gold); }
.site-footer .logo-mono { background: var(--gold); color: #fff; }

/* =========================================================================
   Livery palette: light ground, papaya orange + powder blue + electric blue,
   deep navy text. Overrides the earlier green tokens.
   ========================================================================= */
:root {
  --ink: #f6f8fa;
  --ink-2: #ffffff;
  --ink-3: #eaf0f5;
  --line: #d8e0e8;
  --fog: #55627a;
  --chalk: #0d1b2e;
  --gold: #ff6a13;         /* papaya orange: CTAs, highlights */
  --gold-2: #ff8540;
  --sky: #8fcbef;          /* powder blue: bands, stripes */
  --sky-soft: #e3f2fc;
  --electric: #2650ff;     /* electric blue: labels, data */
  --garnet: #ff6a13;
  --paper: #e3f2fc;
  --paper-ink: #0d1b2e;
  --paper-line: #c4dcef;
  --ok: #1f9d5a;
  --warn: #c98a0b;
  --brass: #ffb27a;
}
.btn { --fg: var(--chalk); }
.btn:hover { --bg: var(--gold-2); }
.btn--ghost { --bg: transparent; --fg: var(--chalk); border-color: var(--chalk); }
.btn--ghost:hover { --bg: var(--chalk); --fg: #fff; border-color: var(--chalk); }

/* livery stripe under the header */
.site-header { border-bottom: 0; }
.site-header::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 6px; background: linear-gradient(90deg, var(--sky) 0 46%, var(--gold) 46% 70%, var(--electric) 70% 86%, var(--chalk) 86%); }
.demo-bar { background: var(--sky-soft); color: var(--chalk); margin-top: 6px; }
.logo-mono { background: var(--gold); color: var(--chalk); }

.eyebrow, .format-code, .market-code, .reason-k, .step-week, .timeline b, .line-icon, .crm-features svg, .profile-item svg, .pkg svg, .shot figcaption b { color: var(--electric); }
.eyebrow::before { background: var(--gold); }
.hero h1 em { color: var(--gold); }
.hero::before { background: radial-gradient(50% 60% at 85% 25%, rgba(143,203,239,0.45), transparent 70%), radial-gradient(35% 45% at 5% 95%, rgba(255,106,19,0.16), transparent 70%); }
.hero::after { opacity: 0.35; }
.hero-badge i { background: var(--gold); box-shadow: 0 0 0 4px rgba(255,106,19,0.2); }
.hero-stats .stat dt { color: var(--electric); }
.reel { box-shadow: 18px 18px 0 var(--sky), 0 40px 80px -40px rgba(13,27,46,0.5); }
html[dir="rtl"] .reel { box-shadow: -18px 18px 0 var(--sky), 0 40px 80px -40px rgba(13,27,46,0.5); }
.tc { color: var(--brass); }

.ticker { background: var(--gold); border: 0; }
.ticker span { color: var(--chalk); font-weight: 500; }
.ticker span::after { color: var(--chalk); }

.share-bar i { background: var(--gold); }
.line-card:nth-child(2) .share-bar i, .line-card:nth-child(4) .share-bar i { background: var(--electric); }
.line-card:nth-child(3) .share-bar i, .line-card:nth-child(5) .share-bar i { background: var(--sky); }
.line-live::before { border-inline-start-color: var(--gold); }

.band { background: var(--ink); }
.band-k { color: var(--sky); }

.timeline li.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255,106,19,0.2); }
.founder-mark { background: var(--gold); }

.region-tabs button[aria-selected="true"] { background: var(--chalk); color: #fff; }
.region-cur b { color: var(--electric); }
.format--featured { border: 2px solid var(--gold); background: linear-gradient(180deg, rgba(255,106,19,0.07), var(--ink-2) 40%); }
.format-flag { background: var(--gold); color: var(--chalk); }
.format:nth-child(3) { border-top: 4px solid var(--electric); }
.format:nth-child(1) { border-top: 4px solid var(--sky); }
.includes li::before { border-color: var(--gold); }
.fees-note { background: var(--sky-soft); border: 0; }
.fees-note b { color: var(--electric); }

.band-paper { background: var(--sky-soft); }
.band-paper .eyebrow { color: var(--electric); }
.seg button[aria-pressed="true"] { background: var(--chalk); color: #fff; }
input[type="range"]::-webkit-slider-thumb { background: var(--gold); border-color: var(--chalk); }
input[type="range"]::-moz-range-thumb { background: var(--gold); border-color: var(--chalk); }
.kpi b.gold { color: var(--gold); }
.kpi small { color: var(--fog); }
.g-fill { stroke: var(--gold); }
.g-track { stroke: var(--sky-soft); }
.wf-row.rev i { background: var(--chalk); }
.wf-row.net i { background: var(--gold); }
.wf-track i { background: var(--sky); }
.pl tr.total td { color: var(--gold); }

.pkg:nth-child(3n+1) svg { color: var(--gold); }
.pkg:nth-child(3n+2) svg { color: var(--electric); }
.pkg:nth-child(3n) svg { color: #2a9fd6; }
.app-bar em { color: var(--ok); }
.bay-track i, .spark i.hi { background: var(--gold); }
.status.priority { color: var(--gold); }
.status.open { color: var(--ok); }
.market:nth-child(1) { border-top: 4px solid var(--gold); }
.market:nth-child(2) { border-top: 4px solid var(--electric); }
.market:nth-child(3) { border-top: 4px solid var(--sky); }
.market:nth-child(4) { border-top: 4px solid var(--gold); }
.market:nth-child(5) { border-top: 4px solid var(--electric); }
.step::before { border-color: var(--gold); color: var(--chalk); background: var(--ink-2); }
.faq summary::after { color: var(--gold); }

.final { background: linear-gradient(135deg, var(--sky-soft), #fff4ec); }
.final-video { box-shadow: -18px 18px 0 var(--gold); }
html[dir="rtl"] .final-video { box-shadow: 18px 18px 0 var(--gold); }

.site-footer { background: var(--chalk); color: #fff; }
.site-footer { background: var(--ink-3); color: var(--chalk); }
.site-footer .logo-mono { background: var(--gold); color: var(--chalk); }
.site-footer .foot-grid h4, .site-footer .logo-word span { color: var(--electric); }
.chip input:checked + label { border-color: var(--gold); background: rgba(255,106,19,0.08); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--electric); box-shadow: 0 0 0 3px rgba(38,80,255,0.15); }
.success-icon { border-color: var(--gold); color: var(--gold); }
:focus-visible { outline-color: var(--electric); }
.format-price b { font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.35rem); white-space: nowrap; }
@media (max-width: 380px) { .format-price b { white-space: normal; } }

/* =========================================================================
   Corporate / modern pass: calm palette, rounded geometry, one type family,
   Apple-style motion (see "motion" block below).
   ========================================================================= */
:root {
  --ink: #f5f6f8;
  --ink-2: #ffffff;
  --ink-3: #eef1f5;
  --line: #e1e5ec;
  --fog: #5e6878;
  --chalk: #0b1526;
  --gold: #1f4fd8;          /* corporate blue: primary actions, highlights */
  --gold-2: #1a43ba;
  --electric: #1f4fd8;
  --sky: #c9d8f8;
  --sky-soft: #edf2fd;
  --garnet: #1f4fd8;
  --paper: #edf2fd;
  --paper-line: #d6e0f5;
  --brass: #f2b84b;         /* warm highlight, used sparingly on media */
  --ok: #1a8f55;
  --warn: #b67a0c;
  --radius: 12px;
  --radius-lg: 22px;
  --f-display: "Onest", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Onest", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --shadow-1: 0 1px 2px rgba(11,21,38,0.04), 0 8px 24px -12px rgba(11,21,38,0.12);
  --shadow-2: 0 2px 6px rgba(11,21,38,0.05), 0 30px 60px -30px rgba(11,21,38,0.28);
  --ease: cubic-bezier(.2,.7,.1,1);
}

/* type: one family, sentence case, tight tracking */
h1, h2 { font-family: var(--f-display); font-weight: 700; font-stretch: 100%; text-transform: none; letter-spacing: -0.035em; line-height: 1.04; }
h3 { font-family: var(--f-display); font-stretch: 100%; font-weight: 650; letter-spacing: -0.015em; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5.4rem); letter-spacing: -0.045em; }
.hero h1 em { color: var(--gold); background: linear-gradient(90deg, #1f4fd8, #4f7cff 60%, #1f4fd8); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.band-quote, .final h2 { font-family: var(--f-display); text-transform: none; font-stretch: 100%; letter-spacing: -0.035em; font-weight: 700; line-height: 1.06; }
.eyebrow, .format-code, .market-code, .reason-k, .step-week, .kpi small, .format-price small, .hero-badge, .ticker span, .market-meta small, .hero-spec small, .status, .format-flag, .app-kpi small, .app-card h4, .foot-grid h4, .line-share, .band-k, .reel-hud, .line-live, .story-photo figcaption, .region-cur { letter-spacing: 0.02em; }
.eyebrow { text-transform: none; font-weight: 600; font-size: 0.9rem; color: var(--gold); background: var(--sky-soft); padding: 6px 14px; border-radius: 999px; width: fit-content; }
.eyebrow::before { display: none; }
.band-paper .eyebrow { background: #fff; color: var(--gold); }

/* rounded geometry everywhere */
.btn { border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 600; min-height: 50px; padding: 0 26px; --fg: #fff; transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(31,79,216,0.55); }
.btn--ghost { --bg: transparent; --fg: var(--chalk); border-color: var(--line); background: var(--ink-2); }
.btn--ghost:hover { --bg: var(--ink-2); --fg: var(--chalk); border-color: var(--chalk); box-shadow: var(--shadow-1); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 0.88rem; }
.lang-btn, .burger { border-radius: 999px; background: var(--ink-2); }
.logo-mono { clip-path: none; border-radius: 11px; background: linear-gradient(135deg, #1f4fd8, #3f6cf0); color: #fff; font-family: var(--f-display); font-weight: 800; font-size: 0.95rem; letter-spacing: -0.02em; }
.logo-word b { font-family: var(--f-display); font-stretch: 100%; letter-spacing: -0.01em; font-weight: 750; }
.logo-word span { color: var(--fog); letter-spacing: 0.3em; }
.site-header { background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(11,21,38,0.06); }
.site-header::after { display: none; }
.demo-bar { margin-top: 0; background: var(--ink-3); color: var(--fog); font-weight: 500; }
.nav a { border-radius: 999px; }
.nav a.is-active { background: var(--ink-3); }

.hero::before { background: radial-gradient(45% 55% at 85% 20%, rgba(79,124,255,0.18), transparent 70%), radial-gradient(35% 45% at 0% 100%, rgba(31,79,216,0.08), transparent 70%); }
.hero::after { display: none; }
.hero-badge { border-radius: 999px; background: var(--ink-2); box-shadow: var(--shadow-1); border-color: transparent; text-transform: none; font-size: 0.82rem; }
.hero-badge i { background: var(--ok); box-shadow: 0 0 0 4px rgba(26,143,85,0.15); }
.hero-stats { border-top: 1px solid var(--line); }
.hero-stats .stat dt { color: var(--chalk); font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; font-stretch: 100%; }
.reel { border-radius: 30px; box-shadow: var(--shadow-2); }
html[dir="rtl"] .reel { box-shadow: var(--shadow-2); }
.reel-corner { display: none; }
.reel-hud { font-family: var(--f-display); text-transform: none; font-weight: 500; }
.reel-hud--top span:last-child { background: rgba(255,255,255,0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 5px 10px; border-radius: 999px; }
.rec { background: rgba(255,255,255,0.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 5px 10px; border-radius: 999px; }
.rec::before { background: #ff453a; }
.tc { color: #fff; }

.ticker { background: var(--ink-2); border-block: 1px solid var(--line); }
.ticker span { color: var(--fog); text-transform: none; font-size: 0.95rem; font-weight: 500; }
.ticker span::after { color: var(--sky); }

.lines { gap: 16px; background: none; border: 0; border-radius: 0; overflow: visible; }
.line-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.line-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); background: var(--ink-2); }
.line-media { margin-inline: -28px; }
.line-icon { border-radius: 12px; background: var(--sky-soft); border: 0; color: var(--gold); }
.line-live { border-radius: 999px; background: rgba(255,255,255,0.85); color: var(--chalk); backdrop-filter: blur(8px); }
.line-live::before { border-inline-start-color: var(--gold); }
.tags li { background: var(--ink-3); border: 0; }
.share-bar { height: 4px; border-radius: 4px; }
.share-bar i, .line-card:nth-child(n) .share-bar i { background: linear-gradient(90deg, #1f4fd8, #6b8fff); border-radius: 4px; }

.band-frame { border-radius: 32px; }
.band-k { color: rgba(255,255,255,0.8); text-transform: none; font-family: var(--f-display); }
.story-photo img, .shot img { border-radius: var(--radius-lg); }
.story-photo figcaption { border-radius: 999px; background: rgba(255,255,255,0.85); color: var(--chalk); text-transform: none; backdrop-filter: blur(8px); }
.timeline b, .reason-k, .step-week, .format-code, .market-code, .shot figcaption b { color: var(--gold); }
.timeline li.now::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(31,79,216,0.15); }
.reasons { border-top: 0; gap: 10px; }
.reason { border: 0; border-radius: var(--radius-lg); background: var(--ink-2); padding: 20px 22px; box-shadow: var(--shadow-1); }
.founder { border-radius: var(--radius-lg); }

.gallery { gap: 18px; }
.shot { transition: transform .6s var(--ease); }
.shot:hover { transform: scale(1.015); }

.region-tabs { border-radius: 999px; background: var(--ink-3); border: 0; padding: 5px; }
.region-tabs button { border-radius: 999px; }
.region-tabs button[aria-selected="true"] { background: var(--ink-2); color: var(--chalk); box-shadow: var(--shadow-1); }
.region-cur b { color: var(--gold); }
.format, .format:nth-child(1), .format:nth-child(3) { border-radius: 26px; border: 1px solid var(--line); background: var(--ink-2); box-shadow: var(--shadow-1); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.format:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.format--featured { border: 2px solid var(--gold); background: linear-gradient(180deg, #f2f6ff, #fff 45%); }
.format-flag { background: var(--gold); color: #fff; border-radius: 999px; text-transform: none; letter-spacing: 0; font-family: var(--f-display); font-weight: 600; padding: 5px 12px; }
.format-price b { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em; }
.specs div { border-bottom-style: solid; border-bottom-color: var(--ink-3); }
.includes li::before { border-color: var(--gold); }
.fees-note { border-radius: var(--radius-lg); background: var(--ink-2); box-shadow: var(--shadow-1); }
.fees-note b { color: var(--chalk); }

.band-paper { background: linear-gradient(180deg, var(--ink), #eaf0fc); }
.calc-panel, .calc-out { border-radius: 26px; border: 0; box-shadow: var(--shadow-1); }
.seg { border-radius: 999px; background: var(--ink-3); border: 0; }
.seg button { border-radius: 999px; }
.seg button[aria-pressed="true"] { background: var(--ink-2); color: var(--chalk); box-shadow: var(--shadow-1); }
.select--light { border-radius: 14px; }
input[type="range"] { height: 6px; background: var(--ink-3); }
input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(11,21,38,0.25), 0 0 0 1px rgba(11,21,38,0.06); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(11,21,38,0.25); }
.kpi b.gold { color: var(--gold); }
.g-fill { stroke: var(--gold); }
.g-track { stroke: var(--ink-3); }
.wf-track { border-radius: 6px; background: var(--ink-3); }
.wf-track i { border-radius: 6px; background: #9fb6ef; }
.wf-row.rev i { background: var(--chalk); }
.wf-row.net i { background: var(--gold); }
.pl tr.total td { color: var(--gold); }

.package { gap: 16px; background: none; border: 0; border-radius: 0; overflow: visible; }
.pkg { border-radius: var(--radius-lg); box-shadow: var(--shadow-1); transition: transform .5s var(--ease); }
.pkg:hover { transform: translateY(-3px); }
.pkg:nth-child(n) svg { color: var(--gold); }
.app { border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.app-kpi, .app-card { border-radius: 14px; }
.bay-track i, .spark i.hi { background: var(--gold); }
.spark i { border-radius: 4px 4px 1px 1px; }
.market, .market:nth-child(n) { border-radius: 24px; border: 1px solid var(--line); background: var(--ink-2); box-shadow: var(--shadow-1); }
.market--hq { background: var(--ink-3); border-style: solid; }
.status { border-radius: 999px; }
.status.priority { color: var(--gold); }
.step::before { border-color: var(--gold); color: var(--gold); background: var(--ink-2); font-family: var(--f-display); font-weight: 600; }
.req-list li, .faq details { border-color: var(--line); }
.faq { border-top: 0; display: grid; gap: 10px; }
.faq details { border: 0; background: var(--ink-2); border-radius: 18px; padding-inline: 22px; box-shadow: var(--shadow-1); }
.faq summary::after { color: var(--gold); }

.final { background: var(--ink); }
.final-video { border-radius: 30px; box-shadow: var(--shadow-2); }
html[dir="rtl"] .final-video { box-shadow: var(--shadow-2); }
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); }
.site-footer .foot-grid h4 { color: var(--chalk); text-transform: none; font-family: var(--f-display); font-weight: 600; letter-spacing: 0; }
.site-footer .logo-mono { background: linear-gradient(135deg, #1f4fd8, #3f6cf0); color: #fff; }
.site-footer .logo-word span { color: var(--fog); }

.modal-dialog { border-radius: 28px; border: 0; }
.input, .select, .textarea { border-radius: 14px; }
.chip label { border-radius: 999px; }
.chip input:checked + label { border-color: var(--gold); background: var(--sky-soft); }
.modal-close { background: var(--ink-3); border: 0; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(31,79,216,0.14); }
.lang-menu { border-radius: 18px; }
.lang-menu button { border-radius: 12px; }
.toast { border-radius: 999px; }
.success-icon { border-color: var(--gold); color: var(--gold); }
:focus-visible { outline-color: var(--gold); }

/* =========================================================================
   Motion. Hidden states apply only once JS has marked the page (.js-motion)
   and only to elements below the first screen, so the page is complete at rest.
   ========================================================================= */
.js-motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.js-motion [data-reveal] { transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js-motion [data-reveal="scale"]:not(.is-in) { transform: scale(0.94); }
.js-motion [data-reveal="fade"]:not(.is-in) { transform: none; }

/* hero intro: headline words rise in sequence */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.hero h1 .w > span { display: inline-block; animation: wordUp 1.1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 120ms); }
@keyframes wordUp { from { transform: translateY(105%); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-lede, .hero-actions, .hero-stats, .hero-badge { animation: fadeUp2 1s var(--ease) both; }
.hero-badge { animation-delay: 0.05s; } .hero-lede { animation-delay: 0.45s; } .hero-actions { animation-delay: 0.6s; } .hero-stats { animation-delay: 0.75s; }
@keyframes fadeUp2 { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reel { animation: reelIn 1.4s var(--ease) both 0.2s; }
@keyframes reelIn { from { opacity: 0; transform: translateY(30px) scale(0.96); } to { opacity: 1; transform: none; } }

/* scroll-scrubbed: video frames open up as they come into view */
.band-frame, .final-video { transform: scale(var(--s, 1)); transition: transform .12s linear; will-change: transform; }
/* scroll-scrubbed: quote lights up word by word */
.band-quote .sw { opacity: var(--o, 1); transition: opacity .2s linear; }

@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
  .hero h1 .w > span, .hero-lede, .hero-actions, .hero-stats, .hero-badge, .reel { animation: none; }
  .band-frame, .final-video { transform: none; }
  .band-quote .sw { opacity: 1; }
}
.hero h1 em { background: none; -webkit-text-fill-color: currentColor; color: var(--gold); }
.hero h1 em .w > span { background: linear-gradient(90deg, #1f4fd8, #5a84ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-inline-end: 0.04em; }
.hero h1 em { display: inline; }
.final h2 { font-size: var(--step-3); max-width: 20ch; }
.final p { font-size: var(--step-0); }

/* =========================================================================
   Fullscreen hero, sticky fullscreen video sections, reels, 3D carousel
   ========================================================================= */
.hero--fs { position: relative; padding: 0; min-height: 600px; height: calc(100svh - var(--header-h)); display: grid; align-items: end; overflow: hidden; isolation: isolate; background: #0b1526; }
.hero--fs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,21,38,0.15) 0%, rgba(11,21,38,0) 35%, rgba(11,21,38,0.75) 100%); display: block; }
.hero--fs::after { display: none; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 14s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-fs-inner { display: grid; gap: 22px; padding-block: 0 clamp(48px, 8vh, 96px); color: #fff; max-width: var(--wrap); }
.hero--fs h1 { color: #fff; max-width: 13ch; font-size: clamp(2.8rem, 1.6rem + 5vw, 6.2rem); }
.hero--fs h1 em .w > span { background: linear-gradient(90deg, #9db8ff, #ffffff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero--fs .hero-lede { color: rgba(255,255,255,0.82); max-width: 48ch; }
.hero--fs .hero-badge { background: rgba(255,255,255,0.14); color: #fff; box-shadow: none; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass { --bg: rgba(255,255,255,0.16); --fg: #fff; border-color: rgba(255,255,255,0.35); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn--glass:hover { --bg: #fff; --fg: var(--chalk); border-color: #fff; }
.hero-scroll { position: absolute; bottom: 24px; inset-inline-end: max(24px, calc((100vw - var(--wrap)) / 2 + 32px)); width: 30px; height: 48px; border: 2px solid rgba(255,255,255,0.7); border-radius: 999px; display: grid; justify-items: center; padding-top: 8px; }
.hero-scroll span { width: 4px; height: 9px; border-radius: 4px; background: #fff; animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 720px) { .hero-scroll { display: none; } .hero--fs { height: auto; min-height: calc(100svh - var(--header-h)); } }

.stats-strip { background: var(--ink-2); border-bottom: 1px solid var(--line); }
.stats-strip .hero-stats { border-top: 0; margin: 0; padding-block: 22px 26px; }
.stats-strip .stat dt { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem); }

.fs { position: relative; height: 230vh; background: var(--ink); }
.fs-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; align-items: end; isolation: isolate; }
.fs-media { position: absolute; inset: 0; z-index: -1; clip-path: inset(var(--cy, 14%) var(--cx, 16%) round var(--cr, 36px)); will-change: clip-path; }
.fs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,21,38,0) 40%, rgba(11,21,38,0.75)); opacity: var(--shade, 0); }
.fs-video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vs, 1.15)); }
.fs-copy { padding-block: 0 clamp(48px, 10vh, 110px); color: #fff; opacity: var(--to, 0); transform: translateY(calc((1 - var(--to, 0)) * 30px)); }
.fs-k { display: inline-block; font-size: 0.9rem; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.fs-title { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); max-width: 16ch; color: #fff; text-transform: none; }
.fs .band-quote .sw { opacity: var(--o, 1); }
@media (prefers-reduced-motion: reduce) {
  .fs { height: auto; } .fs-sticky { position: relative; min-height: 80vh; }
  .fs-media { clip-path: none; } .fs-media::after { opacity: 1; } .fs-copy { opacity: 1; transform: none; } .fs-video { transform: none; }
  .hero-video { animation: none; }
}

/* reels */
.section--reels .section-head { margin-bottom: 36px; }
.reels { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 19vw, 270px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: max(16px, calc((100vw - var(--wrap)) / 2 + 32px)); padding-block: 10px 24px; scrollbar-width: none; }
.reels::-webkit-scrollbar { display: none; }
.rcard { position: relative; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: #0b1526; scroll-snap-align: center; box-shadow: var(--shadow-2); transform: translateY(var(--lift, 0)); transition: transform .6s var(--ease); }
.rcard:nth-child(even) { --lift: 28px; }
.rcard:hover { transform: translateY(calc(var(--lift, 0px) - 8px)) scale(1.02); }
.rcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), transparent 25%, transparent 60%, rgba(0,0,0,0.65)); pointer-events: none; }
.rc-top { position: absolute; z-index: 2; top: 14px; inset-inline: 14px; display: flex; align-items: center; gap: 8px; color: #fff; font-size: 0.82rem; }
.rc-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 0.62rem; font-weight: 800; background: linear-gradient(135deg, #1f4fd8, #6b8fff); box-shadow: 0 0 0 2px #fff; }
.rc-tag { margin-inline-start: auto; font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.rc-cap { position: absolute; z-index: 2; bottom: 16px; inset-inline: 16px; color: #fff; font-weight: 600; font-size: 0.95rem; line-height: 1.3; }

/* 3D carousel */
.c3d { --w: clamp(170px, 20vw, 280px); --r: calc(var(--w) * 1.62); position: relative; height: calc(var(--w) * 1.55); perspective: 1500px; perspective-origin: 50% 40%; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; margin-top: 8px; }
.c3d:active { cursor: grabbing; }
.c3d-ring { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(calc(var(--r) * -1)) rotateY(var(--rot, 0deg)); }
.c3d-item { position: absolute; left: 50%; top: 50%; width: var(--w); aspect-ratio: 3 / 4; margin: calc(var(--w) * -0.6667) 0 0 calc(var(--w) * -0.5); transform: rotateY(calc(var(--i) * 360deg / var(--n))) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11,21,38,0.45); background: var(--ink-3); }
.c3d-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.c3d-item figcaption { position: absolute; inset-inline: 10px; bottom: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(255,255,255,0.86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 0.78rem; font-weight: 600; color: var(--chalk); }
.c3d-controls { display: flex; justify-content: center; gap: 12px; margin-top: 8px; }
.c3d-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--ink-2); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-1); transition: transform .3s var(--ease); }
.c3d-btn:hover { transform: scale(1.06); }
.c3d-btn svg { width: 18px; height: 18px; }
#c3dPrev svg { transform: scaleX(-1); }
html[dir="rtl"] #c3dPrev svg { transform: none; } html[dir="rtl"] #c3dNext svg { transform: scaleX(-1); }
@media (max-width: 720px) { .c3d { --w: 46vw; --r: calc(var(--w) * 1.5); } }
.nav a { padding: 8px 10px; font-size: 0.86rem; }
@media (min-width: 1100px) and (max-width: 1260px) { .nav a { padding: 8px 7px; font-size: 0.82rem; } }
.c3d { --w: clamp(200px, 23vw, 320px); }
/* wide 3D gallery: ring spans the content width */
.c3d { --w: clamp(170px, 16vw, 240px); --r: min(620px, 44vw); height: calc(var(--w) * 1.62); perspective: 2200px; perspective-origin: 50% 45%; }
@media (max-width: 720px) { .c3d { --w: 40vw; --r: 62vw; perspective: 1400px; } }
.c3d { --w: clamp(150px, 13.5vw, 205px); --r: min(700px, 47vw); height: calc(var(--w) * 1.7); perspective: 2400px; }
.c3d-item figcaption { font-size: 0.72rem; padding: 5px 8px; }
@media (max-width: 720px) { .c3d { --w: 34vw; --r: 92vw; perspective: 1200px; } }
.c3d { --r: min(780px, 52vw); }
@media (max-width: 720px) { .c3d { --w: 26vw; --r: 92vw; } .c3d-item figcaption { font-size: 0.62rem; } }
/* AZART shield logo */
.logo-shield { width: auto; height: 42px; display: block; flex: none; }
.site-footer .logo-shield { height: 46px; }
.logo-word b { color: #1f4fd8; font-weight: 800; letter-spacing: 0.06em; }
.rc-av { background: #fff; color: #1f4fd8; }
.rc-av img { width: 16px; height: auto; }
/* hero brand word: solid light blue */
.hero--fs h1 em .w > span { background: none; -webkit-text-fill-color: #ffffff; color: #ffffff; }
