/* =========================================================
   THE TRAIN AUTO SALES — Design system (Porsche-inspired layout)
   Black · Racing red · Silver-grey
   ========================================================= */
:root {
  --black: #0a0a0c;
  --carbon: #111115;
  --graphite: #191a1f;
  --steel: #2a2c32;
  --silver: #9a9ea7;
  --mist: #c9ccd2;
  --white: #f6f6f4;
  --grey-surface: #eeeff2;
  --red: #d6111b;
  --red-hot: #ff2a33;
  --red-deep: #a50d14;
  --ok: #1fa463;

  --f-ar: "Readex Pro", system-ui, sans-serif;
  --f-lat: "Saira", "Readex Pro", sans-serif;

  --wrap: 1440px;
  --gutter: clamp(16px, 4.2vw, 64px);
  --radius: 4px;
  --radius-lg: 8px;
  --ease: cubic-bezier(.25, .1, .1, 1);
  --nav-h: 72px;

  /* theme (dark default) */
  --bg: var(--black);
  --fg: var(--white);
  --muted: #9a9ea7;
  --line: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .22);
  --surface: var(--carbon);
  --surface-2: var(--graphite);
}
.t-dark { --bg: var(--black); --fg: var(--white); --muted: #9a9ea7; --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.22); --surface: var(--carbon); --surface-2: var(--graphite); }
.t-carbon { --bg: #101013; --fg: var(--white); --muted: #9a9ea7; --line: rgba(255,255,255,.1); --line-strong: rgba(255,255,255,.22); --surface: #17181c; --surface-2: #1f2025; }
.t-light { --bg: #ffffff; --fg: #0a0a0c; --muted: #5f6368; --line: rgba(0,0,0,.1); --line-strong: rgba(0,0,0,.22); --surface: var(--grey-surface); --surface-2: #e3e4e8; }
.t-grey { --bg: var(--grey-surface); --fg: #0a0a0c; --muted: #5f6368; --line: rgba(0,0,0,.1); --line-strong: rgba(0,0,0,.22); --surface: #ffffff; --surface-2: #f7f7f8; }
.t-dark, .t-carbon, .t-light, .t-grey { background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 56px); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--f-ar); font-weight: 300; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.lock, html.intro-on, html.intro-on body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-hot); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.lat { font-family: var(--f-lat); direction: ltr; unicode-bidi: isolate; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography scale (Porsche-like: calm, big headings) ---------- */
.h-xl { font-size: clamp(2.4rem, 6vw, 5.2rem); font-weight: 600; }
.h-l { font-size: clamp(1.9rem, 4vw, 3.4rem); font-weight: 600; }
.h-m { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 600; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--muted); margin: 0 0 14px; font-weight: 400; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); }
em.r, .r { font-style: normal; color: var(--red); }
.lead { color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.12rem); max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font-weight: 500; font-size: .97rem; cursor: pointer; white-space: nowrap;
  border: 1px solid transparent; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease);
}
.btn .arrow { font-family: var(--f-lat); transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(-4px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { opacity: .86; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-wa { background: #128c4a; color: #fff; }
.btn-wa:hover { background: #0e7a40; }
.btn-wa svg { width: 20px; fill: currentColor; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .25s, gap .25s; }
.link-arrow::after { content: "←"; font-family: var(--f-lat); color: var(--red); }
.link-arrow:hover { gap: 12px; }

/* =========================================================
   HEADER (Porsche-style: menu · centred logo · actions)
   ========================================================= */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--nav-h); color: #fff; transition: background .35s var(--ease), transform .4s var(--ease), border-color .35s; border-bottom: 1px solid transparent; }
.hdr::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(0,0,0,.55), transparent); pointer-events: none; transition: opacity .35s; }
.hdr.solid { background: rgba(10,10,12,.86); backdrop-filter: blur(18px) saturate(140%); border-color: rgba(255,255,255,.08); }
.hdr.solid::before { opacity: 0; }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { position: relative; height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.menu-btn { justify-self: start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: inherit; cursor: pointer; padding: 8px 0; font-size: .95rem; font-weight: 400; }
.menu-btn .bars { width: 22px; height: 14px; position: relative; }
.menu-btn .bars i { position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s; }
.menu-btn .bars i:nth-child(1) { top: 0; } .menu-btn .bars i:nth-child(2) { top: 6px; } .menu-btn .bars i:nth-child(3) { top: 12px; }
.hdr-logo img { height: 30px; width: auto; }
.hdr-act { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-link { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: inherit; background: none; border: 0; cursor: pointer; transition: background .25s; }
.icon-link:hover { background: rgba(255,255,255,.12); }
.icon-link svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-link .badge { position: absolute; top: 4px; left: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 600; display: grid; place-items: center; font-family: var(--f-lat); }
.icon-link .badge:empty, .icon-link .badge[data-n="0"] { display: none; }
.hdr-cta { margin-inline-start: 8px; }
.progress { position: fixed; top: 0; inset-inline: 0; height: 2px; z-index: 120; background: var(--red); transform: scaleX(0); transform-origin: right; pointer-events: none; }

/* ---------- Menu drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 140; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-bg { position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .4s var(--ease); backdrop-filter: blur(4px); }
.drawer.open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(1080px, 100%); background: #fff; color: #0a0a0c; display: grid; grid-template-columns: 300px 1fr; transform: translateX(100%); transition: transform .5s var(--ease); }
.drawer.open .drawer-panel { transform: none; }
.drawer-nav { padding: 24px 32px; border-inline-end: 1px solid rgba(0,0,0,.08); display: flex; flex-direction: column; overflow-y: auto; }
.drawer-close { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 10px 0; font-size: .95rem; margin-bottom: 28px; color: #0a0a0c; }
.drawer-close span { font-size: 1.2rem; }
.drawer-nav a, .drawer-nav button.dn { display: flex; justify-content: space-between; align-items: center; padding: 14px 12px; margin-inline: -12px; border-radius: var(--radius); font-size: 1.25rem; font-weight: 500; transition: background .2s; background: none; border: 0; cursor: pointer; text-align: start; color: inherit; }
.drawer-nav a:hover, .drawer-nav button.dn:hover, .drawer-nav .dn.on { background: var(--grey-surface); }
.drawer-nav a::after, .drawer-nav .dn::after { content: "←"; font-family: var(--f-lat); font-size: 1rem; color: #9a9ea7; }
.drawer-nav .sep { height: 1px; background: rgba(0,0,0,.08); margin: 14px 0; }
.drawer-nav .small { font-size: 1rem; font-weight: 400; }
.drawer-models { padding: 28px 32px; overflow-y: auto; background: var(--grey-surface); }
.drawer-models h3 { font-size: 1.1rem; margin-bottom: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.drawer-models h3 small { color: #5f6368; font-weight: 400; font-size: .85rem; }
.dm-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.dm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.dm-card { background: #fff; border-radius: var(--radius-lg); padding: 12px 14px 14px; transition: box-shadow .3s, transform .3s var(--ease); display: flex; flex-direction: column; }
.dm-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); transform: translateY(-2px); }
.dm-card .v { aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; border-radius: 4px; margin-bottom: 8px; }
.dm-card .v img { width: 100%; height: 100%; object-fit: cover; }
.dm-card .v svg { width: 100%; }
.dm-card small { font-family: var(--f-lat); color: #5f6368; letter-spacing: .12em; font-size: .7rem; }
.dm-card b { font-family: var(--f-lat); font-weight: 700; font-size: 1.05rem; }
.dm-card span { color: #5f6368; font-size: .8rem; }

/* =========================================================
   HERO SLIDER (home)
   ========================================================= */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #000; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 1.1s; }
.slide.on { opacity: 1; visibility: visible; }
.slide-media { position: absolute; inset: 0; overflow: hidden; }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 8s linear; }
.slide.on .slide-media img { transform: scale(1); }
.slide-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 45%, rgba(0,0,0,.75) 100%), linear-gradient(270deg, rgba(0,0,0,.45), transparent 60%); }
.slide-media.svg-media { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 60%, #2a1013, #0a0a0c 70%); }
.slide-media.svg-media svg { width: min(1100px, 92vw); }
.slide-body { position: absolute; inset-inline: 0; bottom: 0; padding-bottom: clamp(90px, 13vh, 130px); }
.slide-body .wrap > * { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.slide.on .slide-body .wrap > * { opacity: 1; transform: none; }
.slide.on .slide-body .wrap > *:nth-child(2) { transition-delay: .1s; }
.slide.on .slide-body .wrap > *:nth-child(3) { transition-delay: .2s; }
.slide.on .slide-body .wrap > *:nth-child(4) { transition-delay: .3s; }
.slide-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; margin-bottom: 14px; color: rgba(255,255,255,.85); }
.slide-eyebrow b { background: var(--red); color: #fff; font-weight: 500; font-size: .75rem; padding: 3px 10px; border-radius: 2px; }
.slide-title { font-size: clamp(2.6rem, 8vw, 7rem); font-weight: 700; line-height: 1; margin-bottom: 14px; }
.slide-title.lat { font-style: italic; font-weight: 800; letter-spacing: -.01em; text-align: right; }
.slide-sub { font-size: clamp(1rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 26px; }
.slide-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.slide-cta .btn-primary { --fg: #fff; --bg: #0a0a0c; }
.hero-ui { position: absolute; inset-inline: 0; bottom: 34px; z-index: 3; }
.hero-ui .wrap { display: flex; align-items: center; gap: 24px; }
.dots-bar { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.dots-bar button { flex: 1; height: 24px; background: none; border: 0; cursor: pointer; padding: 11px 0; }
.dots-bar button i { display: block; height: 2px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.dots-bar button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; }
.dots-bar button.done i::after { transform: scaleX(1); }
.dots-bar button.on i::after { animation: fillbar var(--dur, 7s) linear forwards; }
.hero.paused .dots-bar button.on i::after { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }
.hero-pause { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.25); color: #fff; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(8px); }
.hero-pause svg { width: 14px; fill: currentColor; }
.hero-badges { margin-inline-start: auto; display: flex; gap: 18px; color: rgba(255,255,255,.8); font-size: .85rem; }
.hero-badges span b { font-family: var(--f-lat); font-weight: 800; font-style: italic; color: #fff; margin-inline-end: 6px; }
.hero-credit { position: absolute; bottom: 8px; left: var(--gutter); z-index: 3; font-size: .68rem; color: rgba(255,255,255,.45); direction: ltr; }

/* ---------- Brand strip ---------- */
.brands { border-block: 1px solid var(--line); overflow: hidden; padding: 20px 0; direction: ltr; }
.brands-track { display: flex; align-items: center; gap: 44px; width: max-content; animation: marquee 44s linear infinite; }
.brands:hover .brands-track { animation-play-state: paused; }
.brands button { background: none; border: 0; cursor: pointer; padding: 0; font-family: var(--f-lat); font-weight: 800; font-style: italic; font-size: clamp(1rem, 1.8vw, 1.4rem); letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1px var(--muted); white-space: nowrap; transition: color .3s, -webkit-text-stroke-color .3s; }
.brands button:hover { color: var(--fg); -webkit-text-stroke-color: var(--fg); }
.brands button.has:hover { color: var(--red); -webkit-text-stroke-color: var(--red); }
.brands i { width: 8px; height: 8px; background: var(--red); transform: skewX(-20deg); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head .lead { margin: 12px 0 0; }

/* ---------- Model lineup (Porsche "Models") ---------- */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab { position: relative; background: none; border: 0; padding: 12px 16px; cursor: pointer; color: var(--muted); font-size: .97rem; transition: color .25s; }
.tab::after { content: ""; position: absolute; inset-inline: 16px; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab:hover { color: var(--fg); }
.tab.on { color: var(--fg); font-weight: 500; }
.tab.on::after { transform: scaleX(1); }
.tab .n { font-family: var(--f-lat); font-size: .78rem; color: var(--muted); margin-inline-start: 6px; }

.tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 26px; }
.field-pill { position: relative; display: flex; align-items: center; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); transition: border-color .25s; }
.field-pill:focus-within { border-color: var(--fg); }
.field-pill svg { width: 18px; margin-inline-start: 12px; fill: none; stroke: var(--muted); stroke-width: 2; flex: none; }
.field-pill input { background: none; border: 0; outline: 0; padding: 0 12px; width: 230px; height: 100%; font-size: .92rem; }
.field-pill input::placeholder { color: var(--muted); }
.field-pill select { appearance: none; background: none; border: 0; outline: 0; height: 100%; padding: 0 16px 0 38px; cursor: pointer; font-size: .92rem; }
.field-pill.sel::after { content: ""; position: absolute; left: 15px; top: 50%; width: 7px; height: 7px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
select option { background: #fff; color: #0a0a0c; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-size: .92rem; transition: all .25s; color: var(--fg); }
.chip:hover { border-color: var(--fg); }
.chip.on { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip.fav-on { border-color: var(--red); color: var(--red); }
.chip .cnt { font-family: var(--f-lat); font-weight: 700; font-size: .78rem; }
.price-pill { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); min-width: 260px; }
.price-pill label { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.price-pill output { font-family: var(--f-lat); font-weight: 700; direction: ltr; white-space: nowrap; min-width: 70px; }
.results { color: var(--muted); font-size: .9rem; margin: 0 0 18px; }
.pw { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.pw-ev { background: #1fbf6c; } .pw-hybrid { background: #2f8cf0; } .pw-petrol { background: var(--red); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease); animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } }
.mcard:hover { box-shadow: 0 18px 50px -18px rgba(0,0,0,.22); transform: translateY(-3px); }
.mcard-v { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.mcard-v > svg { width: 90%; transition: transform .7s var(--ease); }
.mcard-v > img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mcard:hover .mcard-v > svg { transform: translateX(-3%); }
.mcard:hover .mcard-v > img { transform: scale(1.04); }
.mcard-flags { position: absolute; top: 12px; inset-inline-start: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; z-index: 2; }
.tag { background: var(--red); color: #fff; font-size: .72rem; font-weight: 500; padding: 3px 9px; border-radius: 2px; }
.tag.week { background: #0a0a0c; color: #fff; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; padding: 3px 9px; border-radius: 20px; background: rgba(255,255,255,.88); color: #0a0a0c; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.stock-transit::before { background: #e0a020; animation: blink 1.6s infinite; }
.stock-order::before { background: #8a8e96; }
@keyframes blink { 50% { opacity: .3; } }
.mcard-act { position: absolute; top: 10px; inset-inline-end: 10px; display: flex; gap: 6px; z-index: 2; }
.ibtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #0a0a0c; display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s, color .2s; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.ibtn svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ibtn:hover { transform: scale(1.08); }
.ibtn.fav.on { color: var(--red); } .ibtn.fav.on svg { fill: var(--red); }
.ibtn.cmp.on { background: #0a0a0c; color: #fff; }
.mcard-b { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.mcard-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mcard-brand { font-family: var(--f-lat); font-size: .74rem; letter-spacing: .2em; color: var(--muted); margin: 0; }
.mcard h3 { font-family: var(--f-lat); font-weight: 700; font-size: 1.45rem; direction: ltr; text-align: right; margin: 2px 0 10px; }
.mcard h3 small { font-weight: 500; font-size: .7em; color: var(--muted); margin-inline-start: 6px; }
.swdots { display: flex; gap: 5px; }
.swdots i { width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.mcard-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .84rem; margin-bottom: 16px; }
.mcard-meta span { display: inline-flex; align-items: center; gap: 6px; }
.mcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.from small { display: block; color: var(--muted); font-size: .76rem; }
.from b { font-family: var(--f-lat); font-weight: 700; font-size: 1.3rem; direction: ltr; display: inline-block; }
.mcard-foot .link-arrow { font-size: .92rem; }
.mcard > a.cover { position: absolute; inset: 0; z-index: 1; }
.empty { text-align: center; color: var(--muted); padding: 50px 0; display: grid; justify-items: center; gap: 10px; }
.empty[hidden] { display: none; }

/* ---------- Car of the week teaser ---------- */
.week { position: relative; color: #fff; background: #000; overflow: hidden; }
.week-media { position: relative; height: min(88vh, 820px); min-height: 480px; }
.week-media img { width: 100%; height: 100%; object-fit: cover; }
.week-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(0,0,0,.72) 100%), linear-gradient(0deg, rgba(0,0,0,.85), transparent 45%); }
.week-copy { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: clamp(40px, 7vw, 90px); }
.week-copy .wrap { display: grid; gap: 0; }
.week-copy .brand { font-family: var(--f-lat); letter-spacing: .3em; color: var(--red-hot); font-weight: 700; margin: 0; }
.week-copy h2 { font-family: var(--f-lat); font-style: italic; font-weight: 800; font-size: clamp(3rem, 9vw, 7.5rem); line-height: .95; direction: ltr; text-align: right; margin: 6px 0 14px; }
.week-copy p.sub { max-width: 520px; color: rgba(255,255,255,.86); }
.figs { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.2); margin-top: 22px; max-width: 900px; }
.fig { padding: 18px 0 4px; }
.fig + .fig { border-inline-start: 1px solid rgba(255,255,255,.2); padding-inline-start: 20px; }
.fig b { display: block; font-family: var(--f-lat); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.05; direction: ltr; text-align: right; }
.fig b small { font-size: .45em; font-weight: 500; margin-inline-start: 4px; color: rgba(255,255,255,.7); }
.fig > span { font-size: .8rem; color: rgba(255,255,255,.72); }
.week-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* ---------- Teaser tiles ---------- */
.tiles { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 340px; color: #fff; display: flex; align-items: flex-end; background: #111; }
.tile:first-child { grid-row: span 2; min-height: 560px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82), rgba(0,0,0,.1) 60%); }
.tile-c { position: relative; z-index: 1; padding: clamp(20px, 3vw, 36px); }
.tile-c small { color: rgba(255,255,255,.75); }
.tile-c h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin: 4px 0 10px; }
.tile-c p { color: rgba(255,255,255,.82); max-width: 420px; margin-bottom: 14px; font-size: .95rem; }
.tile-c .link-arrow { color: #fff; }

/* ---------- Journey ---------- */
.stations { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 10px; }
.st-line { position: absolute; top: 15px; inset-inline: 10%; height: 2px; background: var(--line-strong); }
.st-line i { position: absolute; inset: 0; background: var(--red); transform: scaleX(var(--p, 0)); transform-origin: right; transition: transform .2s linear; }
.station { position: relative; padding: 0 14px; text-align: center; }
.st-dot { width: 32px; height: 32px; margin: 0 auto 22px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); display: grid; place-items: center; font-family: var(--f-lat); font-weight: 700; font-size: .8rem; color: var(--muted); position: relative; transition: all .4s; }
.station.on .st-dot { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(214,17,27,.14); }
.station h3 { font-size: 1.08rem; margin-bottom: 8px; }
.station p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- GCC ---------- */
.gcc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.g-item { background: var(--bg); padding: 32px 28px; transition: background .3s; }
.g-item:hover { background: var(--surface); }
.g-item svg { width: 40px; fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.g-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.g-item p { color: var(--muted); margin: 0; font-size: .92rem; }

/* ---------- Finance ---------- */
.fin { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.fin-form { display: grid; gap: 26px; margin-top: 34px; }
.fin-form .field-pill { width: 100%; }
.fin-form .field-pill select { width: 100%; }
.range-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.range-top label { color: var(--muted); font-size: .93rem; }
.range-top output { font-family: var(--f-lat); font-weight: 700; font-size: 1.2rem; direction: ltr; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; direction: rtl; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to left, var(--red) var(--p, 50%), var(--line-strong) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 3px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--red); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8.5px; border-radius: 50%; background: var(--fg); border: 4px solid var(--red); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--fg); border: 4px solid var(--red); }
.price-pill input[type="range"] { flex: 1; min-width: 90px; }
.fin-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); }
.fin-ring { position: relative; width: min(240px, 100%); margin: 0 auto 28px; aspect-ratio: 1; }
.fin-ring svg { width: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--line-strong); stroke-width: 6; }
.ring-fg { fill: none; stroke: var(--red); stroke-width: 6; stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.fin-monthly { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.fin-monthly small, .fin-monthly span { color: var(--muted); font-size: .8rem; }
.fin-monthly b { font-family: var(--f-lat); font-weight: 700; font-size: clamp(2rem, 4.6vw, 2.7rem); line-height: 1.1; direction: ltr; }
.fin-break { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 24px; border-top: 1px solid var(--line); }
.fin-break div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.fin-break div:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.fin-break dt { color: var(--muted); font-size: .8rem; }
.fin-break dd { margin: 2px 0 0; font-family: var(--f-lat); font-weight: 700; font-size: 1.1rem; direction: ltr; text-align: right; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.field { position: relative; }
.field-full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 24px 16px 8px; outline: 0; font-size: 1rem; resize: vertical; transition: border-color .25s; color: var(--fg); }
.field select { padding: 16px; min-height: 58px; appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--fg); }
.field input[dir="ltr"] { text-align: right; }
.field label { position: absolute; inset-inline-start: 16px; top: 17px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 6px; font-size: .72rem; color: var(--red); }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.form-note { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.steps-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
.steps-list li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.steps-list b { font-family: var(--f-lat); color: var(--red); }
.card-box { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); }

/* ---------- FAQ / accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 1.06rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; width: 11px; height: 11px; border: solid var(--fg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-3px); transition: transform .35s var(--ease); flex: none; }
.acc details[open] > summary::after { transform: rotate(-135deg) translateY(-3px); }
.acc details > p { color: var(--muted); margin: 0; padding: 0 0 22px; max-width: 680px; }

/* ---------- Contact ---------- */
.info { display: grid; gap: 20px; align-content: start; }
.info small { display: block; color: var(--muted); font-size: .8rem; }
.info a, .info span { font-size: 1.05rem; }
.info ul { list-style: none; padding: 0; margin: 0; }
.info li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }

/* ---------- Footer ---------- */
.footer { padding-block: 70px 28px; background: #000; color: var(--white); }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-logo { width: min(300px, 70vw); height: auto; }
.foot-tag { margin: 0; color: #9a9ea7; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 40px; }
.foot-cols h4 { font-weight: 500; font-size: .86rem; color: #9a9ea7; margin: 0 0 14px; }
.foot-cols a, .foot-cols button { display: block; padding: 4px 0; color: #d7d9dd; background: none; border: 0; cursor: pointer; font-size: .95rem; text-align: start; transition: color .2s; }
.foot-cols a:hover, .foot-cols button:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: #9a9ea7; font-size: .82rem; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.foot-bottom a:hover { color: #fff; }

/* ---------- Compare ---------- */
.cmp-tray { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; background: #0a0a0c; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(0,0,0,.4); max-width: calc(100vw - 32px); }
.cmp-tray[hidden] { display: none; }
.cmp-items { display: flex; gap: 6px; align-items: center; overflow-x: auto; scrollbar-width: none; padding-inline-start: 6px; }
.cmp-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 6px 6px 10px; border-radius: var(--radius); background: #24262c; font-size: .82rem; white-space: nowrap; }
.cmp-chip button { width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; cursor: pointer; font-size: .65rem; }
.cmp-hint { color: #9a9ea7; font-size: .8rem; white-space: nowrap; }
.cmp-tray .btn:disabled { opacity: .4; pointer-events: none; }
.cmp-clear { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: none; color: #fff; cursor: pointer; flex: none; }
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(6px); }
.modal-panel { position: relative; width: min(1100px, 100%); max-height: calc(100svh - 32px); overflow: auto; background: #fff; color: #0a0a0c; border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); animation: rise .45s var(--ease); --fg: #0a0a0c; --muted: #5f6368; --line: rgba(0,0,0,.1); --line-strong: rgba(0,0,0,.22); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.modal-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: #fff; cursor: pointer; font-size: 1rem; }
.modal-x:hover { background: #0a0a0c; color: #fff; }
.cmp-table { --n: 2; overflow-x: auto; margin-top: 20px; }
.cr { display: grid; grid-template-columns: minmax(110px, .7fr) repeat(var(--n), minmax(160px, 1fr)); border-bottom: 1px solid var(--line); align-items: center; min-width: calc(110px + var(--n) * 160px); }
.cr > span { color: var(--muted); font-size: .85rem; padding: 13px 0; }
.cv { padding: 13px 12px; }
.cv.best { color: var(--ok); font-weight: 600; }
.cc { padding: 0 12px 14px; }
.cc-v { aspect-ratio: 16/9; border-radius: 6px; overflow: hidden; background: var(--grey-surface); display: grid; place-items: center; margin-bottom: 8px; }
.cc-v img { width: 100%; height: 100%; object-fit: cover; }
.cc small { display: block; font-family: var(--f-lat); letter-spacing: .15em; color: var(--muted); font-size: .7rem; }
.cc b { font-family: var(--f-lat); font-size: 1.1rem; }
.toast { position: fixed; top: calc(var(--nav-h) + 14px); left: 50%; transform: translate(-50%, -16px); z-index: 400; background: #0a0a0c; color: #fff; padding: 10px 20px; border-radius: var(--radius); font-size: .9rem; opacity: 0; transition: all .35s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.fab-wa { position: fixed; bottom: 22px; left: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #128c4a; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0,0,0,.35); transition: transform .3s var(--ease); }
.fab-wa svg { width: 27px; fill: #fff; }
.fab-wa:hover { transform: scale(1.07); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- SVG car helpers ---------- */
.car .wheel-spin { transform-box: fill-box; transform-origin: center; }
.car .sweep { animation: sweep 5s var(--ease) infinite; }
@keyframes sweep { 0%, 40% { transform: translateX(-700px); } 100% { transform: translateX(700px); } }

/* =========================================================
   MODEL PAGE
   ========================================================= */
.m-hero { position: relative; height: 100svh; min-height: 560px; color: #fff; background: #000; overflow: hidden; }
.m-hero-media { position: absolute; inset: 0; }
.m-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 14s var(--ease) both; }
@keyframes kb { from { transform: scale(1.1); } to { transform: scale(1); } }
.m-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4), transparent 30%, transparent 50%, rgba(0,0,0,.82)); }
.m-hero-media.svg-media { display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 60%, #26282e, #0a0a0c 70%); }
.m-hero-media.svg-media svg { width: min(1100px, 92vw); margin-top: -8vh; }
.m-hero-c { position: absolute; inset-inline: 0; bottom: 0; padding-bottom: clamp(36px, 7vh, 70px); }
.m-hero-c .brand { font-family: var(--f-lat); letter-spacing: .3em; font-weight: 700; color: var(--red-hot); margin: 0; }
.m-hero-c h1 { font-family: var(--f-lat); font-style: italic; font-weight: 800; font-size: clamp(3.4rem, 12vw, 10rem); line-height: .92; direction: ltr; text-align: right; margin: 4px 0 10px; }
.m-hero-c h1 small { font-size: .28em; font-style: normal; font-weight: 500; vertical-align: top; color: rgba(255,255,255,.75); margin-inline-start: 12px; }
.m-hero-c .sub { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.9); margin-bottom: 22px; }
.m-hero-row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.m-hero-row .price small { display: block; font-size: .8rem; color: rgba(255,255,255,.75); }
.m-hero-row .price b { font-family: var(--f-lat); font-size: 1.8rem; font-weight: 700; direction: ltr; display: inline-block; }

.subnav { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); color: #0a0a0c; border-bottom: 1px solid rgba(0,0,0,.08); transition: top .4s var(--ease); }
.hdr:not(.hide) ~ main .subnav { top: var(--nav-h); }
.subnav .wrap { display: flex; align-items: center; gap: 18px; height: 56px; }
.subnav .nm { font-family: var(--f-lat); font-weight: 800; font-style: italic; white-space: nowrap; direction: ltr; }
.subnav nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav nav a { padding: 8px 12px; border-radius: var(--radius); font-size: .92rem; color: #5f6368; white-space: nowrap; transition: color .2s, background .2s; }
.subnav nav a:hover { color: #0a0a0c; }
.subnav nav a.on { color: #0a0a0c; background: var(--grey-surface); font-weight: 500; }

.keyfig { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.kf { padding: 30px 0 26px; }
.kf + .kf { border-inline-start: 1px solid var(--line); padding-inline-start: clamp(16px, 2.6vw, 36px); }
.kf b { display: block; font-family: var(--f-lat); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; direction: ltr; text-align: right; }
.kf b small { font-size: .38em; font-weight: 500; color: var(--muted); margin-inline-start: 6px; }
.kf > span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; }
.footnote { color: var(--muted); font-size: .8rem; margin-top: 14px; }
.intro-txt { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 6vw, 90px); margin-bottom: clamp(40px, 6vw, 72px); }
.intro-txt p { color: var(--muted); font-size: 1.08rem; margin: 0; }

.hl-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 32%); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.hl { scroll-snap-align: start; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.hl-v { aspect-ratio: 4/3; overflow: hidden; background: #111; }
.hl-v img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.hl:hover .hl-v img { transform: scale(1.05); }
.hl-c { padding: 20px 22px 24px; }
.hl-c h3 { font-size: 1.15rem; margin-bottom: 6px; }
.hl-c p { color: var(--muted); font-size: .92rem; margin: 0; }
.row-nav { display: flex; gap: 8px; }
.row-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: none; cursor: pointer; font-family: var(--f-lat); font-size: 1.1rem; color: var(--fg); }
.row-nav button:hover { border-color: var(--fg); }

.config { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 5vw, 70px); align-items: center; }
.config-v { position: relative; border-radius: var(--radius-lg); background: radial-gradient(70% 60% at 50% 70%, #ffffff, #e3e4e8 75%); aspect-ratio: 16/9; display: grid; place-items: center; overflow: hidden; }
.config-v svg { width: 92%; }
.swatches { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0 6px; }
.sw { width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 50%), var(--c); border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line-strong); transition: box-shadow .25s, transform .25s var(--ease); }
.sw:hover { transform: scale(1.06); }
.sw.on { box-shadow: 0 0 0 2px var(--fg); }
.sw-name { font-weight: 500; }
.int-sw { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.int-sw span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--line-strong); border-radius: 30px; font-size: .88rem; }
.int-sw i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); }
.cfg-label { color: var(--muted); font-size: .85rem; margin: 20px 0 0; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: #111; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .3s; }
.gallery button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: grid; grid-template-rows: 1fr auto; }
.lightbox[hidden] { display: none; }
.lb-stage { display: grid; place-items: center; padding: 60px 70px 10px; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px var(--gutter) 22px; color: #c9ccd2; font-size: .85rem; }
.lb-btn { position: absolute; top: 50%; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.4); color: #fff; cursor: pointer; font-family: var(--f-lat); font-size: 1.2rem; }
.lb-prev { right: 14px; } .lb-next { left: 14px; }
.lb-x { position: absolute; top: 14px; left: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: #fff; cursor: pointer; }

.trims { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 16px; }
.trim { background: var(--surface); border-radius: var(--radius-lg); padding: 28px 26px; display: flex; flex-direction: column; border: 2px solid transparent; transition: border-color .3s; }
.trim.rec { border-color: var(--red); }
.trim .rec-tag { align-self: flex-start; background: var(--red); color: #fff; font-size: .72rem; padding: 3px 9px; border-radius: 2px; margin-bottom: 10px; }
.trim h3 { font-family: var(--f-lat); font-weight: 700; font-size: 1.6rem; direction: ltr; text-align: right; }
.trim .drv { color: var(--muted); font-size: .9rem; }
.trim ul { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 9px; flex: 1; }
.trim li { display: flex; gap: 10px; font-size: .93rem; }
.trim li::before { content: ""; width: 14px; height: 8px; border: solid var(--red); border-width: 0 0 2px 2px; transform: rotate(-45deg) translateY(4px); flex: none; margin-top: 4px; }
.trim .from { margin-bottom: 16px; }

.spec-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 8px; }
.specs-acc summary small { color: var(--muted); font-weight: 400; font-size: .85rem; }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: .93rem; }
.spec-table th, .spec-table td { text-align: start; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table thead th { font-family: var(--f-lat); font-weight: 700; font-size: .9rem; color: var(--fg); position: sticky; top: 0; background: var(--bg); }
.spec-table th[scope="row"] { color: var(--muted); font-weight: 400; width: 34%; }
.spec-table td { font-weight: 400; }
.spec-table .yes { color: var(--ok); font-weight: 600; }
.spec-table .no { color: #b0b3b8; }
.spec-wrap { overflow-x: auto; }
.cta-band { text-align: center; }
.cta-band .btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.credits { font-size: .78rem; color: var(--muted); line-height: 1.8; }
.credits a { text-decoration: underline; text-underline-offset: 2px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin-bottom: 10px; }
.back-link::before { content: "→"; font-family: var(--f-lat); }

/* ---------- Intro (cinematic) ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: #060608; overflow: hidden; clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.7,0,.2,1), opacity .4s .6s; }
.intro[hidden] { display: none; }
.intro canvas { position: absolute; inset: 0; }
.intro-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, #fff, rgba(255,60,60,.6) 30%, transparent 70%); opacity: 0; pointer-events: none; }
.intro.s-flash .intro-flash { animation: flash .7s ease-out forwards; }
@keyframes flash { 25% { opacity: .9; } 100% { opacity: 0; } }
.intro-stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 20px; }
.intro-stage > * { grid-area: 1 / 1; }
.i-words { display: grid; justify-items: center; text-align: center; font-weight: 700; font-size: clamp(2.6rem, 10vw, 6rem); line-height: 1.15; transform: translateY(-4vh); color: #fff; }
.i-words em { font-style: normal; color: var(--red); }
.i-words .w { opacity: 0; filter: blur(14px); transform: translateY(30px) scale(1.04); transition: opacity .8s var(--ease), filter .8s var(--ease), transform 1s var(--ease); }
.intro.s-w1 .w1, .intro.s-w2 .w2 { opacity: 1; filter: blur(0); transform: none; }
.intro.s-wout .w { opacity: 0; filter: blur(10px); transform: translateX(-8vw) scaleX(1.3); transition-duration: .45s; }
.i-logo { position: relative; width: min(760px, 86vw); opacity: 0; transform: scale(1.12); filter: blur(12px); clip-path: inset(0 0 0 100%); transition: opacity .6s, transform 1.4s var(--ease), filter 1s var(--ease), clip-path 1s cubic-bezier(.7,0,.2,1); }
.i-logo img { width: 100%; height: auto; }
.intro.s-logo .i-logo { opacity: 1; transform: none; filter: blur(0); clip-path: inset(0 0 0 0); }
.i-sweep { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 50%, transparent 65%); background-size: 260% 100%; background-position: 130% 0; -webkit-mask: url(../assets/img/logo-light.png) center / contain no-repeat; mask: url(../assets/img/logo-light.png) center / contain no-repeat; mix-blend-mode: screen; }
.intro.s-logo .i-sweep { animation: isweep 1.5s .5s var(--ease) forwards; }
@keyframes isweep { to { background-position: -30% 0; } }
.i-rail { width: min(760px, 86vw); height: 14px; position: relative; transform: translateY(min(12vw, 120px)); }
.i-rail i { position: absolute; inset-inline: 0; height: 2px; background: var(--red); transform: scaleX(0); transition: transform 1.1s cubic-bezier(.7,0,.2,1); box-shadow: 0 0 12px rgba(255,30,40,.8); }
.i-rail i:last-child { top: 9px; opacity: .5; transition-delay: .12s; }
.intro.s-rail .i-rail i, .intro.s-logo .i-rail i { transform: scaleX(1); }
.intro.s-wout .i-rail i { transform: scaleX(1.6); }
.i-tag { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; margin: 0; transform: translateY(calc(min(12vw, 120px) + 46px)); color: var(--mist); font-size: clamp(.85rem, 1.6vw, 1.05rem); }
.i-tag span { opacity: 0; transform: translateY(12px); transition: all .7s var(--ease); }
.i-tag span:nth-of-type(2) { transition-delay: .15s; } .i-tag span:nth-of-type(3) { transition-delay: .3s; }
.i-tag b { opacity: 0; transition: opacity .6s .2s; width: 6px; height: 6px; background: var(--red); transform: skewX(-20deg); }
.intro.s-tag .i-tag span, .intro.s-tag .i-tag b { opacity: 1; transform: none; }
.intro.s-tag .i-tag b { transform: skewX(-20deg); }
.intro-skip { position: absolute; top: 20px; left: 20px; z-index: 2; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22); color: var(--mist); border-radius: 100px; padding: 8px 18px; cursor: pointer; font-size: .9rem; backdrop-filter: blur(8px); }
.intro-skip:hover { background: #fff; color: #000; }
.intro-bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.06); }
.intro-bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: right; }
.intro.s-play .intro-bar i { animation: ibar 6.4s linear forwards; }
@keyframes ibar { to { transform: scaleX(1); } }
.intro.s-out { clip-path: inset(50% 0 50% 0); opacity: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .gcc-grid { grid-template-columns: repeat(2, 1fr); }
  .fin, .split, .config, .intro-txt { grid-template-columns: 1fr; }
  .drawer-panel { grid-template-columns: 260px 1fr; }
  .hl-row { grid-auto-columns: minmax(280px, 46%); }
  .trims { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}
@media (max-width: 820px) {
  .hdr-cta, .menu-btn .txt { display: none; }
  .drawer-panel { grid-template-columns: 1fr; width: 100%; overflow-y: auto; }
  .drawer-nav { border: 0; }
  .drawer-models { padding: 20px; }
  .stations { grid-template-columns: 1fr; gap: 22px; }
  .st-line { inset-inline: auto; inset-inline-start: 15px; top: 16px; bottom: 16px; width: 2px; height: auto; }
  .st-line i { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .station { display: grid; grid-template-columns: 32px 1fr; gap: 4px 18px; text-align: start; padding: 0; }
  .st-dot { margin: 0; grid-row: span 2; }
  .tiles { grid-template-columns: 1fr; }
  .tile:first-child { grid-row: auto; min-height: 420px; }
  .figs, .keyfig { grid-template-columns: 1fr 1fr; }
  .fig:nth-child(3), .kf:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .fig:nth-child(n+3), .kf:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figs .fig:nth-child(n+3) { border-top-color: rgba(255,255,255,.2); }
  .hero-badges { display: none; }
}
@media (max-width: 640px) {
  :root { --nav-h: 62px; }
  .hdr-logo img { height: 24px; }
  .grid { grid-template-columns: 1fr; }
  .gcc-grid { grid-template-columns: 1fr; }
  .tools { flex-direction: column; align-items: stretch; }
  .field-pill input { width: 100%; }
  .price-pill { min-width: 0; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tab { white-space: nowrap; }
  .form { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .hl-row { grid-auto-columns: 84%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .lb-stage { padding: 60px 8px 10px; }
  .lb-btn { top: auto; bottom: 70px; }
  .cmp-tray { bottom: 86px; flex-wrap: wrap; justify-content: center; }
  .slide-cta .btn, .week-cta .btn { flex: 1; }
  .m-hero-row .btn { flex: 1; }
  .fab-wa { width: 50px; height: 50px; bottom: 16px; left: 16px; }
  .spec-table th[scope="row"] { width: 40%; }
  .subnav .nm { display: none; }
}
@media (max-width: 820px) {
  .week-media { height: 62vw; min-height: 260px; }
  .week-media::after { background: linear-gradient(0deg, #000, transparent 40%); }
  .week-copy { position: relative; padding: 0 0 56px; margin-top: -40px; }
}
@media (max-width: 640px) {
  .spec-table { font-size: .8rem; }
  .spec-table th, .spec-table td { padding: 9px 6px; }
  .spec-table th[scope="row"] { width: 26%; }
  .m-hero-c h1 small { display: block; margin: 6px 0 0; font-size: .22em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
.spec-table .unk { color: var(--muted); font-size: .85em; }
.spec-table thead th.lat { text-align: right; }
.m-hero-c h1.long { font-size: clamp(2.6rem, 7vw, 6rem); }
.m-hero-c h1.long small { display: block; margin: 8px 0 0; font-size: .3em; }
