/* Top Dz Motors - 3D showroom
   Dark studio theme. One accent (green, also used by WhatsApp actions).
   Shapes: panels 18px radius, controls are full pills, swatches are circles. */

:root {
  --bg: #060708;
  --bg-2: #0b0c0f;
  --bg-3: #121318;
  --glass: rgba(14, 15, 18, 0.66);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #f2f2ef;
  --ink-2: #b9bbc1;
  --muted: #80838b;
  --accent: #3ee08f;
  --accent-ink: #03140a;
  --display: "Archivo", "Arial Black", sans-serif;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --r-panel: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 3.6vw, 56px);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.brand {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.brand b { font-weight: 800; }
.brand--lg { font-size: 18px; }

.h-display {
  font-family: var(--display);
  font-stretch: 112%;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(34px, 5.2vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}

/* ---------- Pills ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  height: 42px; padding: 0 20px;
  border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.pill i { font-size: 17px; }
.pill:hover { transform: translateY(-1px); }
.pill:active { transform: translateY(1px) scale(0.98); }
.pill--accent { background: var(--accent); color: var(--accent-ink); }
.pill--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.pill--ghost:hover { border-color: var(--ink); }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
}
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__bar { width: 180px; height: 1px; background: var(--line-2); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.3s linear; }
.loader__txt { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; font-variant-numeric: tabular-nums; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  pointer-events: none;
  transition: background-color 0.3s, border-color 0.3s;
}
.nav.is-solid {
  background: rgba(6, 7, 8, 0.86); border-bottom-color: var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav > * { pointer-events: auto; }
.nav__links { display: flex; gap: 30px; font-size: 13px; color: var(--ink-2); }
.nav__links a { transition: color 0.2s; }
.nav__links a:hover { color: var(--ink); }
.nav__wa { height: 40px; }

/* ---------- Stage ---------- */
.stage { position: relative; height: 330vh; background: var(--bg); }
.stage__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
#gl {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  touch-action: pan-y;
  outline: none;
}
#gl.is-interactive { cursor: grab; }
#gl.is-grabbing { cursor: grabbing; }
.stage__shade {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(ellipse 120% 90% at 50% 55%, transparent 55%, rgba(0, 0, 0, 0.55) 100%);
}
.stage__shade::after {
  content: ""; position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.9) 0.5px, transparent 0.6px);
  background-size: 3px 3px;
}

/* ---------- Hero ---------- */
.hero {
  position: absolute; inset: 0; z-index: 2;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 34px;
  text-align: center;
  pointer-events: none;
}
.hero__top { display: grid; justify-items: center; gap: 10px; }
.hero__kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); }
.hero__title {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 800;
  font-size: min(8.4vw, 21vh);
  line-height: 0.9;
  letter-spacing: -0.015em;
  white-space: nowrap;
  color: var(--ink);
}
.hero__title .line { display: inline-block; }
.hero__title .ch { display: inline-block; will-change: transform, opacity, filter; }
.hero__bottom { grid-row: 3; display: grid; justify-items: center; gap: 16px; }
.hero__sub { max-width: 46ch; color: var(--ink-2); font-size: 15px; }
.hero__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.hero__hint i { font-size: 18px; }

/* ---------- Views (top centre) ---------- */
.views {
  position: absolute; z-index: 3;
  left: 0; right: 0; top: calc(var(--nav-h) + 6px);
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px;
  padding: 0 12px;
  visibility: hidden;
}
.views button {
  height: 32px; padding: 0 14px; border-radius: 999px;
  font-size: 12px; color: var(--ink-2);
  background: rgba(14, 15, 18, 0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.views button:hover { color: var(--ink); border-color: var(--line-2); }
.views button.is-on { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.views__hint { margin-left: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.views__hint i { font-size: 16px; }
body:not(.is-config) .views, body:not(.is-config) .dock { pointer-events: none; }

/* ---------- Configuration summary (top left) ---------- */
.cfg-info {
  position: absolute; z-index: 3;
  left: var(--gutter); top: calc(var(--nav-h) + 58px);
  display: grid; gap: 10px;
  max-width: 300px;
  pointer-events: none;
  visibility: hidden;
}
.cfg-info__car {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 2.8vw, 42px); line-height: 0.95; letter-spacing: -0.01em;
}
.cfg-info__spec { gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.cfg-info__spec div { grid-template-columns: 84px 1fr; gap: 10px; }

.views__toggle {
  height: 32px; padding: 0 14px 0 10px; border-radius: 999px; margin-left: 6px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-2);
  background: rgba(14, 15, 18, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.views__toggle i { font-size: 15px; }
.views__toggle[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.views__toggle[aria-pressed="true"] i { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.dots { display: flex; gap: 10px; height: 40px; align-items: center; }
.dots .swatch { flex-basis: 30px; width: 30px; }

/* ---------- Engine start / stop ---------- */
.engine {
  position: absolute; z-index: 3;
  right: var(--gutter); top: 50%;
  margin-top: -190px;
  display: grid; justify-items: center; gap: 12px;
  visibility: hidden;
}
.engine__start {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, #2a2c31 0%, #121317 60%, #0a0a0c 100%);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), inset 0 -6px 14px rgba(0, 0, 0, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.55);
  transition: box-shadow 0.4s var(--ease), transform 0.15s var(--ease);
}
.engine__start:active { transform: scale(0.95); }
.engine__lbl { display: grid; justify-items: center; line-height: 1.05; }
.engine__lbl small { font-size: 8.5px; letter-spacing: 0.22em; color: var(--muted); }
.engine__lbl b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 15px; letter-spacing: 0.06em; margin: 2px 0; }
.engine__start[aria-pressed="true"] {
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.08), inset 0 -6px 14px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--accent), 0 18px 40px rgba(0, 0, 0, 0.55);
}
.engine__start[aria-pressed="true"] .engine__lbl b { color: var(--accent); }
.engine__rev {
  height: 38px; padding: 0 16px 0 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  background: rgba(14, 15, 18, 0.6); border: 1px solid var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s, border-color 0.2s, transform 0.15s var(--ease);
}
.engine__rev i { font-size: 18px; }
.engine__rev:disabled { opacity: 0.3; pointer-events: none; }
.engine__rev:hover { border-color: var(--ink); }
.engine__rev:active, .engine__rev.is-held { transform: scale(0.95); }
.engine__rev.is-held { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.engine__rev { touch-action: none; user-select: none; -webkit-user-select: none; }
.engine__hint { text-align: center; max-width: 110px; line-height: 1.3; }
.engine__hint { font-size: 11px; color: var(--muted); }
body:not(.is-config) .engine { pointer-events: none; }
.tach { position: relative; width: 168px; height: 124px; }
.tach svg { width: 100%; height: 100%; overflow: visible; }
.tach .t-track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 7; stroke-linecap: round; }
.tach .t-red { fill: none; stroke: #d6342c; stroke-width: 7; stroke-linecap: butt; opacity: 0.85; }
.tach .t-val { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; transition: stroke 0.15s; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.35)); }
.tach.is-red .t-val { stroke: #ff4a3d; filter: drop-shadow(0 0 8px rgba(255, 74, 61, 0.7)); }
.tach .t-tick { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1.5; }
.tach .t-num { fill: var(--muted); font: 600 9px var(--sans); text-anchor: middle; dominant-baseline: middle; }
.tach__read { position: absolute; left: 0; right: 0; top: 58px; display: grid; justify-items: center; line-height: 1; }
.tach__read b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 22px; font-variant-numeric: tabular-nums; }
.tach__read small { font-size: 9.5px; color: var(--muted); letter-spacing: 0.08em; margin-top: 3px; }
.engine__credit { font-size: 9.5px; color: var(--muted); opacity: 0.7; text-align: center; max-width: 140px; line-height: 1.3; }

/* ---------- Dock (bottom centre) ---------- */
.dock {
  position: absolute; z-index: 4;
  left: 0; right: 0; bottom: 18px;
  margin: 0 auto;
  width: min(980px, calc(100% - 2 * var(--gutter)));
  display: grid; gap: 14px;
  padding: 14px 14px 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 22px;
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 80px rgba(0, 0, 0, 0.45);
  visibility: hidden;
}
.dock__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.dock__body { padding: 0 6px; min-height: 62px; display: grid; align-items: end; }
.tabs {
  display: grid; grid-auto-flow: column; grid-auto-columns: auto;
  padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.tabs button {
  height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap;
  transition: color 0.25s, background-color 0.25s;
}
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--bg); }

.pane { display: none; }
.pane.is-on { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 32px; }
.grp { display: grid; gap: 8px; min-width: 0; }
.lbl { font-size: 11.5px; color: var(--muted); letter-spacing: 0.02em; }
.lbl b { color: var(--ink); font-weight: 500; margin-left: 6px; }
.row { display: flex; align-items: center; gap: 10px; }

.swatches { display: flex; gap: 10px; }
.swatch {
  flex: 0 0 34px; width: 34px; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.45), transparent 42%),
    radial-gradient(circle at 70% 80%, rgba(0, 0, 0, 0.45), transparent 55%),
    var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  position: relative;
  transition: transform 0.3s var(--ease);
}
.swatch::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid transparent; transition: border-color 0.25s;
}
.swatch:hover { transform: scale(1.08); }
.swatch.is-on::after { border-color: var(--ink); }

.seg {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px;
}
.seg button {
  height: 32px; padding: 0 16px; border-radius: 999px; font-size: 13px; color: var(--ink-2); white-space: nowrap;
  transition: color 0.25s, background-color 0.25s;
}
.seg button:hover { color: var(--ink); }
.seg button.is-on { background: rgba(255, 255, 255, 0.12); color: var(--ink); }

.switch {
  height: 40px; padding: 0 16px 0 8px; border-radius: 999px; border: 1px solid var(--line-2);
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-2); white-space: nowrap;
}
.switch i {
  width: 36px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  position: relative; transition: background-color 0.3s; flex: none;
}
.switch i::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); transition: transform 0.35s var(--ease);
}
.switch[aria-checked="true"] { color: var(--ink); }
.switch[aria-checked="true"] i { background: var(--accent); }
.switch[aria-checked="true"] i::after { transform: translateX(14px); background: var(--accent-ink); }

.action {
  display: inline-flex; align-items: center; gap: 10px;
  height: 40px; padding: 0 18px 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 13px; white-space: nowrap;
  transition: border-color 0.25s, background-color 0.25s, transform 0.2s var(--ease);
}
.action i { font-size: 18px; color: var(--ink-2); }
.action:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.action:active { transform: scale(0.98); }
.action:disabled { opacity: 0.45; pointer-events: none; }
.grp--note .textlink { color: var(--ink-2); }
.textlink { display: inline-flex; align-items: center; gap: 6px; height: 40px; font-size: 13px; color: var(--ink); }
.textlink i { transition: transform 0.3s var(--ease); }
.textlink:hover i { transform: translateX(3px); }

.cta {
  height: 46px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 6px 0 22px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: transform 0.25s var(--ease);
}
.cta i {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-ink); color: var(--accent); font-size: 16px;
  transition: transform 0.35s var(--ease);
}
.cta:hover i { transform: translateX(3px); }
.cta:active { transform: scale(0.98); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 90;
  top: calc(var(--nav-h) + 52px); left: 0; right: 0;
  margin: 0 auto;
  width: max-content;
  max-width: min(520px, calc(100% - 32px));
  padding: 11px 18px; border-radius: 999px;
  background: rgba(14, 15, 18, 0.82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 13px; text-align: center;
  visibility: hidden; opacity: 0;
  pointer-events: none;
}

/* ---------- Shared pieces (same language as the simulator dock) ---------- */
.kicker { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.h-sub {
  font-family: var(--display); font-stretch: 112%; font-weight: 700; text-transform: uppercase;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; letter-spacing: 0;
}
.panel {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.spec { display: grid; gap: 8px; }
.spec div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 13px; }
.spec dt { color: var(--muted); }
.spec dd { color: var(--ink); }
.spec--row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.spec--row div { grid-template-columns: 1fr; gap: 2px; }
.spec__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line); }
.spec__total dd { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; display: grid; }
.spec__total small { font-family: var(--sans); font-weight: 400; font-size: 11.5px; color: var(--muted); }
.ticks { display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--ink-2); }
.ticks i { color: var(--accent); font-size: 15px; transform: translateY(2px); flex: none; }
.tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.08); color: var(--ink); border: 1px solid var(--line-2);
}
.tag--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.iconbtn {
  width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; position: relative;
  border: 1px solid var(--line-2); background: rgba(14, 15, 18, 0.55); font-size: 19px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.2s, transform 0.2s var(--ease);
}
.iconbtn:hover { border-color: var(--ink); }
.iconbtn:active { transform: scale(0.95); }
.cartbtn__n, .shop__cart b {
  position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center; font-size: 10.5px; font-weight: 600; font-style: normal; font-variant-numeric: tabular-nums;
  background: var(--accent); color: var(--accent-ink);
}
.shop__cart { position: relative; }
.seg--scroll { display: flex; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.seg--scroll::-webkit-scrollbar { display: none; }
.seg--scroll button { flex: none; }
.seg--sm button { height: 28px; padding: 0 12px; font-size: 12px; }
html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------- Nav actions + mobile menu ---------- */
.nav__actions { justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav__menu { display: none; }
.menu {
  position: fixed; z-index: 49; top: var(--nav-h); left: 10px; right: 10px;
  padding: 10px; border-radius: 20px;
  background: rgba(14, 15, 18, 0.92); border: 1px solid var(--line-2);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.menu nav { display: grid; }
.menu a {
  padding: 14px 12px; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: 18px;
}
.menu a:last-child { border-bottom: 0; }

/* ---------- Opening film ---------- */
.cine { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.cine__bar { position: absolute; left: 0; right: 0; height: 11vh; background: #030304; display: block; }
.cine__bar--t { top: 0; }
.cine__bar--b { bottom: 0; }
.cine__dip { position: absolute; inset: 0; background: #030304; opacity: 0; display: block; }
.cine__cap {
  position: absolute; left: var(--gutter); bottom: calc(11vh + 36px);
  display: grid; gap: 8px; max-width: 520px;
}
.cine__idx { font-size: 11.5px; letter-spacing: 0.22em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cine__title {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 4.4vw, 64px); line-height: 0.95; letter-spacing: -0.01em;
}
.cine__sub { color: var(--ink-2); font-size: 15px; }
.skip {
  position: absolute; z-index: 8; left: 0; right: 0; bottom: calc(11vh - 52px);
  margin: 0 auto; width: max-content;
  height: 40px; padding: 0 12px 0 18px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2);
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
  visibility: hidden;
}
.skip i { font-size: 17px; }
.skip:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--ink); }
.skip:active { transform: scale(0.97); }

/* ---------- Simulator additions ---------- */
.cfg-info__est {
  display: grid; gap: 2px; margin-top: 8px; padding: 12px 14px; border-radius: 14px;
  background: rgba(14, 15, 18, 0.55); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.cfg-info__est span { font-size: 11.5px; color: var(--muted); }
.cfg-info__est b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }
.cfg-info__est small { font-size: 11px; color: var(--muted); }
.dock__ctas { display: flex; align-items: center; gap: 8px; }
.dock__shop { height: 46px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 150px) var(--gutter) 0; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-lede { color: var(--ink-2); max-width: 54ch; font-size: 15px; }

/* Prestations: a list on the left, the selected service in a panel (like the dock tabs) */
.svc { display: grid; grid-template-columns: minmax(260px, 0.9fr) 1.4fr; gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.svc__list { display: grid; border-top: 1px solid var(--line); }
.svc__list button {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: baseline; gap: 12px;
  padding: 18px 8px; border-bottom: 1px solid var(--line); text-align: left;
  color: var(--ink-2); transition: color 0.2s, padding 0.35s var(--ease), background-color 0.2s;
}
.svc__list button:hover { color: var(--ink); padding-left: 14px; }
.svc__list button[aria-selected="true"] { color: var(--ink); padding-left: 14px; background: rgba(255, 255, 255, 0.03); }
.svc__n { font-size: 11.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.svc__list button[aria-selected="true"] .svc__n { color: var(--accent); }
.svc__name { font-family: var(--display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.1; }
.svc__from { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc__panel { padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; position: sticky; top: calc(var(--nav-h) + 16px); }
.svc__top { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 18px; align-items: center; }
.svc__icon { grid-row: span 2; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 32px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--accent); }
.svc__price { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: clamp(26px, 2.6vw, 36px); font-variant-numeric: tabular-nums; line-height: 1.05; }
.svc__lede { color: var(--ink-2); max-width: 58ch; }
.svc__btns { display: flex; flex-wrap: wrap; gap: 10px; }

.packs { margin-top: clamp(64px, 8vw, 112px); }
.packs__head { display: grid; gap: 8px; margin-bottom: 24px; }
.packs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack {
  display: grid; gap: 16px; align-content: start; grid-template-rows: auto auto auto 1fr auto;
  padding: 28px 24px 24px; border-radius: 22px; border: 1px solid var(--line); background: var(--bg-2); position: relative;
}
.pack--featured { border-color: rgba(62, 224, 143, 0.45); background: #0c120f; }
.pack .tag { position: absolute; top: 20px; right: 20px; }
.pack h4 { font-family: var(--display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 18px; }
.pack__price { display: flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.pack__price b { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 30px; }
.pack__price s { color: var(--muted); font-size: 14px; }
.pack__note { color: var(--muted); font-size: 13px; align-self: end; }
.pack .pill { justify-content: center; }

/* Steps */
.steps .h-sub { margin-bottom: 28px; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.steps__list li { display: grid; gap: 8px; align-content: start; padding: 24px 24px 0 0; }
.steps__list li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.steps__n { font-size: 11.5px; letter-spacing: 0.18em; color: var(--accent); font-variant-numeric: tabular-nums; }
.steps__list b { font-family: var(--display); font-stretch: 112%; font-weight: 600; text-transform: uppercase; font-size: 17px; }
.steps__list p { color: var(--ink-2); font-size: 14px; max-width: 30ch; }

/* Boutique */
.shop__head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(28px, 3vw, 40px); }
.shop__head .sec-head { margin-bottom: 0; }
.perks { display: grid; gap: 14px; }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks i { font-size: 22px; color: var(--accent); width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); flex: none; }
.perks span { display: grid; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.perks b { font-size: 14px; font-weight: 500; color: var(--ink); }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.product {
  display: grid; grid-template-rows: auto 1fr; border-radius: 22px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color 0.25s;
}
.product:hover { border-color: var(--line-2); }
.product[hidden] { display: none; }
.product__img {
  position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center;
  background-color: #0f1013;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.2px);
  background-size: 14px 14px;
  border-bottom: 1px solid var(--line);
}
.product__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product__img > i { font-size: 64px; color: var(--ink); transition: transform 0.5s var(--ease); }
.product:hover .product__img > i { transform: translateY(-4px) scale(1.04); }
.product__vol { position: absolute; left: 14px; bottom: 12px; font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; }
.product__img .tag { position: absolute; top: 12px; left: 12px; }
.product__body { padding: 18px 18px 18px; display: grid; gap: 10px; align-content: start; grid-template-rows: auto 1fr auto auto; }
.product h3 { font-size: 15px; font-weight: 600; line-height: 1.3; }
.product p { font-size: 13px; color: var(--muted); line-height: 1.45; }
.product .seg { justify-self: start; display: inline-flex; flex-wrap: wrap; border-radius: 18px; }
.product__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.product__price { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.addbtn {
  height: 38px; padding: 0 16px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: var(--bg); font-size: 13px; font-weight: 500;
  transition: background-color 0.2s, transform 0.15s var(--ease);
}
.addbtn i { font-size: 16px; }
.addbtn:hover { background: #fff; }
.addbtn:active { transform: scale(0.96); }
.addbtn.is-done { background: var(--accent); color: var(--accent-ink); }

/* Rendez-vous + contact */
.rdv { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.rdv__left { display: grid; gap: 28px; }
.rdv__left .h-display { margin-top: -12px; }
.contact__rows { display: grid; }
.crow {
  display: grid; grid-template-columns: 30px 90px 1fr auto; align-items: center; gap: 16px;
  padding: 20px 4px; border-top: 1px solid var(--line);
  transition: padding 0.4s var(--ease), color 0.2s;
}
.crow:last-child { border-bottom: 1px solid var(--line); }
.crow > i:first-child { font-size: 24px; color: var(--ink-2); }
.crow__lbl { font-size: 13px; color: var(--muted); }
.crow__val { font-family: var(--display); font-stretch: 112%; font-weight: 600; font-size: clamp(17px, 1.7vw, 24px); overflow-wrap: anywhere; }
.crow__go { font-size: 20px; color: var(--muted); transition: transform 0.35s var(--ease), color 0.2s; }
.crow:hover { padding-left: 12px; }
.crow:hover .crow__go { transform: translate(3px, -3px); color: var(--ink); }
.crow--wa > i:first-child, .crow--wa:hover .crow__val { color: var(--accent); }
.contact__meta { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: 13px; }
.contact__meta i { font-size: 18px; }

.booking { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.booking__head { display: grid; gap: 6px; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input, .field select {
  height: 48px; width: 100%; padding: 0 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-2); color: var(--ink);
  font: inherit; font-size: 15px; color-scheme: dark;
  transition: border-color 0.2s, background-color 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23b9bbc1' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: #121318; color: var(--ink); }
.field input::placeholder { color: #5d6068; }
.field input:hover, .field select:hover { border-color: rgba(255, 255, 255, 0.3); }
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--accent); background: rgba(62, 224, 143, 0.05); }
.field [aria-invalid="true"] { border-color: #ff6b5e; }
.field__err { font-size: 12.5px; color: #ff8a7f; min-height: 0; }
.field__err:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--ink-2);
  border: 1px solid var(--line-2); transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}
.chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, 0.3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(220px, 0.6fr) 1.4fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; font-size: 16px; font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { font-size: 18px; color: var(--muted); transition: transform 0.3s var(--ease); flex: none; }
.qa[open] summary i { transform: rotate(45deg); color: var(--ink); }
.qa summary:hover i { color: var(--ink); }
.qa p { padding: 0 40px 22px 4px; color: var(--ink-2); max-width: 70ch; }

.footer {
  margin-top: clamp(80px, 10vw, 150px);
  border-top: 1px solid var(--line);
  padding: 28px var(--gutter) 34px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px;
  font-size: 12px; color: var(--muted);
}
.footer__links { display: flex; gap: 20px; }
.footer__links a:hover { color: var(--ink); }
.footer__credit a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); }

/* ---------- Sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; display: none; }
.sheet.is-open { display: grid; place-items: center; }
.sheet__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(2, 3, 4, 0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet__card {
  position: relative;
  width: min(480px, calc(100% - 32px));
  max-height: calc(100svh - 32px); overflow-y: auto;
  background: #0e0f12;
  border: 1px solid var(--line-2);
  border-radius: 22px;
  padding: 30px 26px 26px;
  display: grid; gap: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.sheet__close {
  position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 18px; color: var(--ink-2);
  border: 1px solid var(--line);
}
.sheet__close:hover { color: var(--ink); border-color: var(--line-2); }
.sheet h2 {
  font-family: var(--display); font-stretch: 112%; font-weight: 700; text-transform: uppercase;
  font-size: 26px; line-height: 1; padding-right: 40px;
}
.sheet__lede { color: var(--ink-2); font-size: 14px; }
.sheet__sum { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); margin-bottom: 4px; }
.bigbtn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); text-align: left; width: 100%;
  transition: border-color 0.2s, transform 0.2s var(--ease), opacity 0.2s;
}
.bigbtn > i { font-size: 24px; color: var(--ink-2); }
.bigbtn span { display: grid; line-height: 1.25; }
.bigbtn b { font-weight: 600; font-size: 14.5px; }
.bigbtn small { font-size: 12.5px; color: var(--muted); }
.bigbtn:hover { border-color: var(--ink); }
.bigbtn:active { transform: scale(0.99); }
.bigbtn:disabled { opacity: 0.6; pointer-events: none; }
.bigbtn--wa { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.bigbtn--wa > i, .bigbtn--wa small { color: var(--accent-ink); }
.bigbtn--wa small { opacity: 0.75; }
.bigbtn--wa:hover { border-color: var(--accent); background: #5ae9a1; }
.bigbtn--center { justify-content: space-between; padding-left: 24px; }

/* ---------- Cart drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 85; display: none; }
.drawer.is-open { display: block; }
.drawer__card {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: #0e0f12; border-left: 1px solid var(--line-2);
  display: grid; grid-template-rows: auto 1fr; overflow: hidden;
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.5);
}
.drawer__head { position: relative; padding: 22px 22px 18px; display: grid; gap: 14px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1; }
.drawer__head .sheet__close { top: 16px; right: 16px; }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 11.5px; color: var(--muted); }
.progress li { padding-top: 8px; border-top: 2px solid var(--line-2); transition: border-color 0.3s, color 0.3s; }
.progress li.is-on { border-color: var(--accent); color: var(--ink); }
.drawer__step { display: none; min-height: 0; }
.drawer__step.is-on { display: grid; grid-template-rows: 1fr auto; }
.drawer__scroll, .lines { overflow-y: auto; padding: 18px 22px; display: grid; gap: 16px; align-content: start; }
.drawer__foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 14px; background: #0e0f12; }
.drawer__foot[hidden] { display: none; }
.lines { list-style: none; margin: 0; gap: 0; padding-top: 6px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: #15161a; border: 1px solid var(--line); overflow: hidden; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__txt { display: grid; gap: 2px; font-size: 13px; }
.line__txt b { font-weight: 500; font-size: 14px; }
.line__txt span { color: var(--muted); font-variant-numeric: tabular-nums; }
.line__rm { justify-self: start; margin-top: 4px; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.line__rm:hover { color: #ff8a7f; }
.line__right { display: grid; justify-items: end; gap: 8px; font-variant-numeric: tabular-nums; font-size: 14px; }
.qty { display: inline-grid; grid-template-columns: 30px 28px 30px; align-items: center; height: 32px; border: 1px solid var(--line-2); border-radius: 999px; text-align: center; font-size: 13px; }
.qty button { height: 30px; border-radius: 999px; font-size: 16px; color: var(--ink-2); }
.qty button:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); }
.totals { display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.totals div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.totals dt { color: var(--muted); }
.totals__grand { padding-top: 10px; border-top: 1px solid var(--line); }
.totals__grand dt { color: var(--ink); }
.totals__grand dd { font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 20px; }
.totals__hint { display: grid !important; gap: 8px; font-size: 12.5px !important; color: var(--ink-2); }
.totals__hint i { display: block; height: 3px; border-radius: 3px; background: var(--line-2); position: relative; overflow: hidden; }
.totals__hint i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(var(--p)); transition: transform 0.5s var(--ease); }
.totals--box { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.back { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.back:hover { color: var(--ink); }
.empty { padding: 48px 22px; display: grid; justify-items: center; gap: 16px; text-align: center; }
.empty[hidden] { display: none; }
.empty > i { font-size: 48px; color: var(--muted); }
.empty p { display: grid; gap: 4px; color: var(--muted); font-size: 13.5px; max-width: 30ch; }
.empty b { color: var(--ink); font-weight: 500; font-size: 15px; }
.done { justify-items: start; }
.done__icon { font-size: 52px; color: var(--accent); }
.done p { color: var(--ink-2); }
.done .totals--box { width: 100%; }

.nogl { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; padding: 14px 18px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line-2); font-size: 13px; }
body.no-gl .stage { height: auto; }
body.no-gl .stage__sticky { position: relative; height: 70svh; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 1180px) {
  .dock__shop span { display: none; }
  .dock__shop { width: 46px; padding: 0; justify-content: center; }
  .tabs button { padding: 0 12px; }
}
@media (max-width: 899px) {
  :root { --nav-h: 60px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .nav__wa span { display: none; }
  .nav__wa { width: 40px; height: 40px; padding: 0; justify-content: center; }
  .nav__menu { display: inline-grid; }
  .nav__actions { gap: 8px; }

  .hero { padding-top: calc(var(--nav-h) + 3vh); padding-bottom: 26px; }
  .hero__title { font-size: 15.2vw; white-space: normal; line-height: 0.9; }
  .hero__title .line { display: block; }
  .hero__sub { font-size: 14px; }

  .cine__bar { height: 8vh; }
  .cine__cap { bottom: calc(8vh + 70px); right: var(--gutter); }
  .cine__sub { font-size: 14px; }
  .cine__title { font-size: min(9vw, 44px); }
  .skip { bottom: calc(8vh + 14px); height: 38px; }

  /* simulator: dock at the bottom, engine controls in a row just above it */
  .dock { bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 10px 10px 12px; gap: 10px; border-radius: 20px; }
  .dock__top { display: contents; }
  .dock .tabs { order: 1; display: flex; overflow-x: auto; scrollbar-width: none; }
  .dock .tabs::-webkit-scrollbar { display: none; }
  .dock .tabs button { flex: 0 0 auto; padding: 0 14px; font-size: 12.5px; }
  .dock__body { order: 2; padding: 0 4px; min-height: 0; }
  .dock__ctas { order: 3; display: grid; grid-template-columns: 48px 1fr; gap: 8px; }
  .dock__shop { width: 48px; height: 48px; }
  .dock .cta { justify-content: space-between; width: 100%; height: 48px; font-size: 13.5px; padding-left: 18px; }
  .pane.is-on { gap: 12px; }
  .grp { width: 100%; }
  .swatches { overflow-x: auto; padding: 5px; margin: -5px; scrollbar-width: none; }
  .swatches::-webkit-scrollbar { display: none; }
  .swatch { flex-basis: 38px; width: 38px; }
  .seg { display: grid; }
  .seg button { padding: 0 8px; }
  .row { display: grid; grid-template-columns: 1fr 1fr; }
  .switch, .action { justify-content: center; padding: 0 10px; font-size: 12.5px; }
  .grp--note { display: none; }

  .views { top: calc(var(--nav-h) + 2px); flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding: 0 10px; }
  .views::-webkit-scrollbar { display: none; }
  .views button { flex: none; height: 32px; padding: 0 12px; font-size: 12px; }
  .views__hint { display: none; }
  .cfg-info { display: none; }
  .toast { top: calc(var(--nav-h) + 44px); border-radius: 14px; }

  .engine {
    top: auto; margin-top: 0; right: 10px; left: 10px;
    bottom: calc(var(--dock-h, 220px) + 8px);
    grid-auto-flow: column; justify-content: end; align-items: center; gap: 8px;
  }
  .engine .tach, .engine__hint, .engine__credit { display: none; }
  .engine__start { width: 58px; height: 58px; }
  .engine__lbl small { font-size: 6.5px; }
  .engine__lbl b { font-size: 11px; }
  .engine__rev { height: 44px; padding: 0 18px 0 14px; }
  .engine::before {
    content: attr(data-rpm); order: -1; align-self: center; padding: 0 12px; height: 32px; border-radius: 999px;
    display: grid; place-items: center; font-size: 12px; font-variant-numeric: tabular-nums; color: var(--ink-2);
    background: rgba(14, 15, 18, 0.55); border: 1px solid var(--line);
  }
  .engine:not([data-rpm])::before { display: none; }

  .section { padding-top: 72px; }
  .svc { grid-template-columns: 1fr; }
  .svc__list { display: flex; overflow-x: auto; border: 0; gap: 8px; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .svc__list::-webkit-scrollbar { display: none; }
  .svc__list button { flex: none; display: flex; padding: 0 16px; height: 40px; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
  .svc__list button:hover, .svc__list button[aria-selected="true"] { padding-left: 16px; }
  .svc__list button[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .svc__n, .svc__from { display: none; }
  .svc__name { font-family: var(--sans); font-stretch: 100%; font-weight: 500; text-transform: none; font-size: 13.5px; }
  .svc__panel { position: static; }
  .svc__btns .pill { flex: 1 1 auto; justify-content: center; }
  .packs__grid { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr 1fr; }
  .steps__list li { padding: 20px 16px 20px 0; }
  .steps__list li + li { padding-left: 0; border-left: 0; }
  .steps__list li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .steps__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .shop__head { grid-template-columns: 1fr; gap: 24px; }
  .shop__bar { position: sticky; top: calc(var(--nav-h) + 4px); z-index: 5; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 8px var(--gutter); background: rgba(6, 7, 8, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .shop__cart span { display: none; }
  .shop__cart { width: 42px; padding: 0; justify-content: center; flex: none; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product { border-radius: 18px; }
  .product__img > i { font-size: 46px; }
  .product__body { padding: 14px 12px 12px; gap: 8px; }
  .product h3 { font-size: 13.5px; }
  .product p { display: none; }
  .product__buy { flex-direction: column; align-items: stretch; }
  .addbtn { justify-content: center; }
  .rdv { grid-template-columns: 1fr; }
  .crow { grid-template-columns: 28px 1fr auto; gap: 2px 14px; padding: 18px 2px; }
  .crow__lbl { grid-column: 2; }
  .crow__val { grid-column: 2; grid-row: 2; font-size: 18px; }
  .crow__go { grid-column: 3; grid-row: 1 / span 2; }
  .crow > i:first-child { grid-row: 1 / span 2; }
  .faq { grid-template-columns: 1fr; }
  .footer { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 639px) {
  .field-row { grid-template-columns: 1fr; }
  .sheet.is-open { place-items: end center; }
  .sheet__card { width: 100%; border-radius: 22px 22px 0 0; padding: 26px 18px calc(18px + env(safe-area-inset-bottom)); max-height: 92svh; }
  .drawer__card { top: auto; left: 0; width: 100%; height: 92svh; border-left: 0; border-top: 1px solid var(--line-2); border-radius: 22px 22px 0 0; }
  .field input, .field select { font-size: 16px; } /* no zoom on focus in iOS */
}
@media (max-width: 340px) {
  .products { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .pill, .action, .cta, .swatch, .crow, .svc__list button, .qa summary i { transition: none; }
}

[data-cart-count][hidden] { display: none; }
#doneRef { white-space: nowrap; }
.perks { min-width: 250px; }
.product .seg { border: 0; padding: 0; gap: 6px; border-radius: 0; }
.product .seg button { border: 1px solid var(--line); }
.product .seg button.is-on { border-color: transparent; }

/* Film cross-dissolve: frozen last frame of the outgoing shot */
.cine__snap { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transform-origin: 50% 50%; will-change: opacity, transform, filter; }

/* Music toggle: four bars, still when muted */
.musicbtn .eq { display: flex; align-items: flex-end; gap: 2px; height: 14px; }
.musicbtn .eq i { width: 2px; height: 4px; border-radius: 1px; background: var(--ink-2); transition: height 0.3s var(--ease), background-color 0.2s; }
.musicbtn[aria-pressed="false"] .eq i { height: 2px; background: var(--muted); }
.musicbtn.is-playing .eq i { background: var(--accent); animation: eq 1.1s ease-in-out infinite; }
.musicbtn.is-playing .eq i:nth-child(2) { animation-delay: -0.35s; }
.musicbtn.is-playing .eq i:nth-child(3) { animation-delay: -0.7s; }
.musicbtn.is-playing .eq i:nth-child(4) { animation-delay: -0.2s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@media (prefers-reduced-motion: reduce) { .musicbtn.is-playing .eq i { animation: none; height: 10px; } }

/* Brand: "DZ" in the accent green */
.brand em { font-style: normal; color: var(--accent); }
.hero__title .ch--dz { color: var(--accent); }

/* ---------- Phones: car in the middle, slim controls at the bottom ---------- */
.cta__short { display: none; }
@media (max-width: 899px) {
  .dock { padding: 8px; gap: 8px; border-radius: 18px; }
  .dock .tabs button { height: 34px; }
  /* quote + shop: a small row floating just above the dock, on the left */
  .dock__ctas { position: absolute; left: 0; bottom: calc(100% + 8px); display: flex; gap: 8px; }
  .dock__shop {
    width: 44px; height: 44px; padding: 0; justify-content: center;
    background: rgba(14, 15, 18, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .dock .cta { width: auto; height: 44px; padding: 0 5px 0 16px; gap: 10px; font-size: 13px; }
  .dock .cta i { width: 34px; height: 34px; }
  .cta__full { display: none; }
  .cta__short { display: inline; }
  /* each tab's controls on one line, swiped sideways */
  .dock__body { padding: 0; }
  .pane.is-on {
    flex-wrap: nowrap; align-items: center; gap: 10px; overflow-x: auto; scrollbar-width: none;
    padding: 2px 28px 2px 2px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  .pane.is-on::-webkit-scrollbar { display: none; }
  .pane .grp { width: auto; flex: none; }
  .pane .lbl { display: none; }
  .swatches { overflow: visible; margin: 0; padding: 4px; }
  .swatch { flex-basis: 34px; width: 34px; }
  .seg { display: inline-grid; }
  .seg button { padding: 0 12px; }
  .row { display: flex; }
  .switch, .action { padding: 0 14px; }
  /* engine: START + Gaz on the right of the same row, rpm chip above it */
  .engine { left: auto; right: 10px; gap: 8px; }
  .engine__start { width: 52px; height: 52px; }
  .engine__rev { height: 44px; padding: 0 14px 0 11px; }
  .engine::before { position: absolute; right: 0; bottom: calc(100% + 6px); }
}
