/* ==========================================================================
   Valley Motor Company — site styles
   Dark showroom: graphite surfaces, chrome type, amber signal accent. Archivo throughout
   (wide for display). One file: tokens, base, components, sections, pages.
   ========================================================================== */

/* Metric-matched fallback so text does not jump when Archivo arrives (Archivo is wider than Arial with a taller x-height). */
@font-face { font-family: "Archivo Fallback"; font-weight: 100 500; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 97.4%; ascent-override: 83%; descent-override: 21%; line-gap-override: 0%; }
@font-face { font-family: "Archivo Fallback"; font-weight: 600 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("Helvetica-Bold"); size-adjust: 94.3%; ascent-override: 83%; descent-override: 21%; line-gap-override: 0%; }
/* The display faces use Archivo at 125% width; no local font is that wide, so this fallback is scaled up to match the line breaks (line height is fixed by line-height, so nothing moves). */
@font-face { font-family: "Archivo Fallback"; font-weight: 600 900; font-stretch: 110% 125%; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica-Bold"); size-adjust: 130.4%; ascent-override: 70%; descent-override: 18%; line-gap-override: 0%; }

:root {
  --bg: #0E1014;
  --bg-2: #13161B;
  --panel: #1A1E25;
  --panel-2: #22272F;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.2);
  --text: #E9EBEF;
  --text-2: #C3C8D1;
  --muted: #9AA3B0;
  --amber: #FFB020;
  --amber-2: #FFC84D;
  --amber-ink: #171206;
  --chrome-a: #FFFFFF;
  --chrome-b: #AEB5C0;
  --red: #FF5A4E;
  --green: #4CD38B;
  --shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 20px 50px -24px rgba(0,0,0,.8);
  --glow: 0 0 0 1px rgba(255,176,32,.35), 0 12px 40px -12px rgba(255,176,32,.45);

  --font: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(.82rem, .78rem + .2vw, .92rem);
  --step-0: clamp(1rem, .95rem + .25vw, 1.1rem);
  --step-1: clamp(1.15rem, 1.05rem + .5vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.9rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem);
  --step-5: clamp(2.8rem, 1.6rem + 5.4vw, 6.4rem);

  --wrap: 1280px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 6vw + 1.5rem, 7.5rem);
  --radius: 10px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 6rem; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); font-size: var(--step-0); line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; font-variant-numeric: tabular-nums; }
/* Subtle floor sheen behind everything */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(1200px 600px at 70% -10%, rgba(255,176,32,.08), transparent 60%), radial-gradient(900px 500px at 10% 110%, rgba(174,181,192,.07), transparent 60%); }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--amber); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--text); text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--amber); color: var(--amber-ink); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: .7rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(840px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section.tight { padding-block: calc(var(--section) * .6); }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Type ---------- */
.display, .h1, .h2 { font-stretch: 125%; text-transform: uppercase; letter-spacing: -.01em; }
.display { font-size: var(--step-5); font-weight: 800; line-height: .95; }
.h1 { font-size: var(--step-4); font-weight: 800; line-height: 1; }
.h2 { font-size: var(--step-3); font-weight: 800; line-height: 1.02; }
.h3 { font-size: var(--step-2); font-weight: 700; }
.h4 { font-size: var(--step-1); font-weight: 700; }
.chrome { background: linear-gradient(180deg, var(--chrome-a) 20%, var(--chrome-b) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.display em, .h2 em, .h1 em { font-style: normal; color: var(--amber); background: none; -webkit-text-fill-color: var(--amber); }
.kicker { font-size: var(--step--1); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem; }
.kicker::before { content: ""; width: 1.6rem; height: 3px; background: var(--amber); border-radius: 2px; flex: none; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--text-2); max-width: 40em; }
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.5rem; min-height: 3rem; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-weight: 700; font-size: var(--step--1); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-amber { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); box-shadow: 0 10px 30px -12px rgba(255,176,32,.7); }
.btn-amber:hover { background: var(--amber-2); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover { color: var(--amber); }
.btn-dark { background: var(--panel-2); color: var(--text); border-color: var(--line-strong); }
.btn-dark:hover { background: #2B313A; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; text-decoration: none; color: var(--amber); }
.link-arrow .ico { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem 1.25rem; align-items: center; margin-top: 2rem; }
.ico { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Top bar & header ---------- */
.topbar { background: #080A0D; border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.topbar-inner { display: flex; gap: 1.5rem; align-items: center; min-height: 2.2rem; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.topbar .ico { width: .9rem; height: .9rem; color: var(--amber); }
.topbar a:last-child { margin-left: auto; }
@media (max-width: 760px) { .topbar { display: none; } }
.site-header { position: sticky; top: 0; z-index: 50; isolation: isolate; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
/* Glass on a pseudo-element so the fixed mobile nav keeps the viewport as its containing block */
.site-header::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,16,20,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 4.75rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand .mark { width: 2.5rem; height: 2.5rem; color: var(--amber); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-stretch: 125%; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: -.01em; }
.brand-sub { font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav-list { display: flex; gap: .1rem; list-style: none; }
.nav-link { display: block; padding: .6rem .7rem; text-decoration: none; font-weight: 600; font-size: var(--step--1); color: var(--text-2); border-radius: var(--radius-sm); position: relative; white-space: nowrap; }
.nav-link:hover { color: var(--text); }
.nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .3rem; height: 2px; background: var(--amber); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--text); }
.nav-extra { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; font-size: var(--step--1); color: var(--text); white-space: nowrap; }
.nav-phone .ico { width: 1rem; height: 1rem; color: var(--amber); }
.nav-cta { padding: .65rem 1.1rem; min-height: 2.6rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); width: 2.9rem; height: 2.9rem; align-items: center; justify-content: center; cursor: pointer; }
.burger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.burger span { display: block; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1240px) { .nav-phone { display: none; } .nav-link { padding-inline: .5rem; } }
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 4.8rem 0 0 0; background: var(--bg); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 1.25rem var(--gutter) 3rem; gap: 1.5rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; border-top: 1px solid var(--line); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { font-stretch: 125%; text-transform: uppercase; font-size: var(--step-2); font-weight: 800; padding: .85rem 0; border-bottom: 1px solid var(--line); border-radius: 0; white-space: normal; }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--amber); }
  .nav-extra { flex-direction: column; align-items: stretch; gap: 1rem; }
  .nav-phone { display: inline-flex; justify-content: center; font-size: var(--step-1); }
  .nav-cta { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(84vh, 820px); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,20,.2) 0%, rgba(14,16,20,.35) 45%, rgba(14,16,20,.94) 100%), linear-gradient(90deg, rgba(14,16,20,.7), transparent 55%); }
.hero-inner { position: relative; padding: clamp(5rem, 12vw, 9rem) 0 clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.hero-copy .display { margin-bottom: 1.25rem; }
.hero-copy .lede { margin-bottom: 0; }
.trust-row { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 1.75rem; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); font-weight: 600; color: var(--text-2); }
.trust-row .ico { width: 1.1rem; height: 1.1rem; color: var(--amber); }
.search-card { background: rgba(26,30,37,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.search-card h2 { font-size: var(--step-1); margin-bottom: 1rem; }
.search-grid { display: grid; gap: .9rem; }
.search-card .btn { width: 100%; margin-top: .25rem; }
.search-card .count { font-size: var(--step--1); color: var(--muted); margin: .9rem 0 0; }
@media (max-width: 900px) { .hero { min-height: auto; } .hero-inner { grid-template-columns: 1fr; padding-top: clamp(4rem, 14vw, 7rem); } }

/* ---------- Fields ---------- */
.field label { display: block; font-weight: 600; font-size: var(--step--1); margin-bottom: .4rem; color: var(--text-2); }
.field input, .field textarea, .field select { width: 100%; padding: .8rem .95rem; font: inherit; font-size: var(--step-0); color: var(--text); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFB020'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1.2rem; padding-right: 2.6rem; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255,176,32,.25); }
.field textarea { resize: vertical; min-height: 8rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin: .35rem 0 0; }
.field .error { font-size: .85rem; color: var(--red); font-weight: 600; margin: .4rem 0 0; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; scroll-margin-top: 6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-weight: 600; margin: 0; }
.form-alert.ok { background: rgba(76,211,139,.12); color: #9FEBC2; border: 1px solid rgba(76,211,139,.4); }
.form-alert.bad { background: rgba(255,90,78,.12); color: #FFB0A8; border: 1px solid rgba(255,90,78,.4); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Stock cards ---------- */
.stock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; }
.car-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; position: relative; }
.car-card:hover, .car-card:focus-within { transform: translateY(-5px); border-color: rgba(255,176,32,.5); box-shadow: var(--glow); }
.card-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.car-card:hover .card-media img { transform: scale(1.04); }
.badge { position: absolute; top: .9rem; left: .9rem; background: var(--amber); color: var(--amber-ink); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 4px; }
.card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-year { font-size: .78rem; color: var(--muted); margin: 0; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.card-title { font-size: var(--step-1); line-height: 1.2; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title span { display: block; font-size: var(--step--1); font-weight: 500; color: var(--text-2); margin-top: .2rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .25rem 0 .5rem; }
.chips li { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 600; color: var(--text-2); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .65rem; }
.chips .ico { width: .9rem; height: .9rem; color: var(--amber); }
.card-price { margin: auto 0 0; font-size: var(--step-2); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.card-price small { font-size: .7rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; }
.card-monthly { font-size: .82rem; color: var(--muted); }
.card-monthly strong { color: var(--text); }

/* ---------- Filter bar ---------- */
.filter-bar { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: .9rem; align-items: end; margin-bottom: 2rem; }
.filter-bar .btn { min-height: 3.1rem; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; color: var(--muted); font-size: var(--step--1); }
.results-bar strong { color: var(--text); }
.no-results { background: var(--panel); border: 1px dashed var(--line-strong); border-radius: var(--radius); padding: 3rem; text-align: center; }
@media (max-width: 1000px) { .filter-bar { grid-template-columns: repeat(3, 1fr); } .filter-bar .btn { grid-column: span 3; } }
@media (max-width: 600px) { .filter-bar { grid-template-columns: 1fr 1fr; } .filter-bar .btn { grid-column: span 2; } }

/* ---------- Promises / feature tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; }
.tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .75rem; }
.tile .tile-ico { width: 2.75rem; height: 2.75rem; border-radius: 10px; display: grid; place-items: center; background: rgba(255,176,32,.12); color: var(--amber); }
.tile .tile-ico .ico { width: 1.4rem; height: 1.4rem; }
.tile h3 { font-size: var(--step-1); }
.tile p { color: var(--muted); font-size: var(--step--1); margin: 0; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 1.25rem; }
.service { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .8rem; scroll-margin-top: 6rem; }
.service-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.service h3 { font-size: var(--step-1); }
.service .from { font-weight: 800; color: var(--amber); white-space: nowrap; font-size: var(--step-0); }
.service p { color: var(--text-2); font-size: var(--step--1); margin: 0; }
.service ul { list-style: none; display: grid; gap: .4rem; margin-top: .25rem; }
.service li { display: flex; gap: .5rem; align-items: flex-start; font-size: var(--step--1); color: var(--muted); }
.service li .ico { width: 1rem; height: 1rem; color: var(--green); margin-top: .2rem; }
.service .link-arrow { margin-top: auto; padding-top: .5rem; font-size: var(--step--1); }

/* ---------- Feature (image + copy) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.feature.flip > .feature-media { order: 2; }
.feature-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy .h2 { margin-bottom: 1.25rem; }
.feature-copy p { color: var(--text-2); }
.check-list { list-style: none; display: grid; gap: .7rem; margin: 1.5rem 0; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-2); }
.check-list .ico { width: 1.25rem; height: 1.25rem; color: var(--green); margin-top: .15rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature.flip > .feature-media { order: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem 2rem; list-style: none; }
.stats li { border-left: 3px solid var(--amber); padding-left: 1.25rem; }
.stats strong { display: block; font-stretch: 125%; font-size: var(--step-3); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stats span { font-size: var(--step--1); color: var(--muted); }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: .9rem; }
.review blockquote { margin: 0; font-size: var(--step-0); line-height: 1.55; color: var(--text); flex: 1; }
.review blockquote p { margin: 0; }
.review footer { font-size: var(--step--1); color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; flex-wrap: wrap; }
.review footer strong { color: var(--text); }
.review .kind { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--amber); }
.stars { display: inline-flex; gap: .1rem; }
.stars .star { width: 1rem; height: 1rem; color: var(--amber); }
.stars .star.off { color: var(--line-strong); }
.rating-badge { display: inline-flex; align-items: center; gap: .9rem; padding: .8rem 1.1rem; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.rating-badge strong { font-stretch: 125%; font-size: var(--step-2); font-weight: 800; line-height: 1; }
.rating-badge span { font-size: var(--step--1); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #1A1E25, #0E1014); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 40%; aspect-ratio: 1; background: radial-gradient(circle, rgba(255,176,32,.18), transparent 65%); pointer-events: none; }
.cta-band .h2 { margin-bottom: .75rem; }
.cta-band p { color: var(--text-2); max-width: 44rem; margin: 0; }
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: center; position: relative; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0; border-bottom: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.page-hero.has-media { min-height: 46vh; display: grid; align-items: end; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,16,20,.3), rgba(14,16,20,.92) 85%); }
.page-hero-copy { position: relative; }
.page-hero .display { font-size: var(--step-4); margin-bottom: 1rem; }
.page-hero .lede { margin-bottom: 0; }

/* ---------- Car page ---------- */
.car-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.car-gallery { display: grid; gap: .6rem; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2; background: var(--bg-2); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(14,16,20,.7); color: var(--text); display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(6px); transition: background-color .2s, border-color .2s; }
.gallery-btn:hover { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }
.gallery-btn.prev { left: .9rem; } .gallery-btn.prev .ico { transform: rotate(180deg); }
.gallery-btn.next { right: .9rem; }
.gallery-count { position: absolute; right: .9rem; bottom: .8rem; margin: 0; background: rgba(14,16,20,.75); color: var(--text); font-size: .74rem; font-weight: 700; letter-spacing: .08em; padding: .3rem .6rem; border-radius: 4px; }
.thumbs { list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; }
.thumb { display: block; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden; border: 2px solid transparent; background: var(--bg-2); opacity: .7; transition: opacity .2s, border-color .2s, transform .2s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb:focus-visible { opacity: 1; transform: translateY(-2px); }
.thumb.is-current { opacity: 1; border-color: var(--amber); }
@media (max-width: 600px) { .thumbs { grid-template-columns: repeat(4, 1fr); } .gallery-btn { width: 2.4rem; height: 2.4rem; } }
.car-head { margin: 1.75rem 0 1rem; }
.car-head .h1 { font-size: var(--step-3); text-transform: none; font-stretch: 110%; }
.car-head .variant { font-size: var(--step-1); color: var(--text-2); font-weight: 500; margin: .35rem 0 0; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.spec { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1rem; margin: 0; }
.spec dt { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spec dd { margin: .2rem 0 0; font-weight: 700; }
.features { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .55rem 1.5rem; margin: 1rem 0 1.5rem; }
.features li { display: flex; gap: .55rem; align-items: flex-start; color: var(--text-2); font-size: var(--step--1); }
.features .ico { width: 1.1rem; height: 1.1rem; color: var(--green); margin-top: .15rem; }
.price-card { position: sticky; top: 6rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.price-card .price { font-stretch: 125%; font-size: var(--step-4); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-card .price small { font-size: .8rem; color: var(--muted); letter-spacing: .08em; font-stretch: 100%; }
.price-card .monthly { color: var(--text-2); font-size: var(--step--1); margin: 0; }
.price-card .monthly strong { color: var(--text); font-size: var(--step-1); }
.price-card .btn { width: 100%; }
.price-card .fine { font-size: .75rem; color: var(--muted); margin: 0; }
.calc { display: grid; gap: .9rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.calc label { display: flex; justify-content: space-between; font-size: var(--step--1); font-weight: 600; color: var(--text-2); }
.calc label output { color: var(--text); font-weight: 700; }
.calc input[type="range"] { width: 100%; accent-color: var(--amber); height: 2rem; }
.calc-result { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; font-size: var(--step--1); color: var(--muted); }
.calc-result strong { display: block; color: var(--text); font-size: var(--step-1); }
.calc-result .big { grid-column: span 2; }
.calc-result .big strong { font-size: var(--step-3); font-stretch: 125%; }
.included { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.included h2 { font-size: var(--step-1); margin-bottom: .75rem; }
@media (max-width: 960px) { .car-layout { grid-template-columns: 1fr; } .price-card { position: static; } }

/* ---------- Finance page ---------- */
.finance-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.rep-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rep-table th, .rep-table td { padding: .8rem 1.1rem; text-align: left; border-top: 1px solid var(--line); }
.rep-table thead th { border-top: 0; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rep-table td.num { font-weight: 700; text-align: right; }
.rep-table caption { text-align: left; padding: .75rem 0; color: var(--muted); font-size: var(--step--1); caption-side: bottom; }
@media (max-width: 900px) { .finance-layout { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.5rem; }
.person { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.person .media { aspect-ratio: 3 / 4; overflow: hidden; }
.person .media img { width: 100%; height: 100%; object-fit: cover; }
.person .body { padding: 1.25rem 1.4rem 1.5rem; }
.person h3 { font-size: var(--step-1); }
.person .role { font-size: .72rem; color: var(--amber); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: .3rem 0 .75rem; }
.person p { color: var(--text-2); font-size: var(--step--1); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-aside { display: grid; gap: 1.1rem; }
.contact-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.contact-card h2 { font-size: var(--step-1); margin-bottom: .8rem; }
.contact-card p { margin: 0 0 .4rem; }
.contact-card a { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 600; padding: .3rem 0; }
.contact-card a:hover { color: var(--amber); }
.contact-card .ico { width: 1.05rem; height: 1.05rem; color: var(--amber); }
.address-block { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.hours-list { list-style: none; display: grid; gap: .5rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--step--1); border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.hours-list strong { text-align: right; }
.map { width: 100%; aspect-ratio: 16 / 7; border: 0; border-radius: var(--radius); filter: invert(.92) hue-rotate(180deg) saturate(.6) contrast(.95); }
.map-wide { margin-top: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- FAQ & prose ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.2rem 0; font-weight: 700; font-size: var(--step-1); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { width: 1.2rem; height: 1.2rem; color: var(--amber); transform: rotate(90deg); transition: transform .3s var(--ease); flex: none; }
.faq-item[open] .faq-ico { transform: rotate(-90deg); }
.faq-body { padding: 0 0 1.4rem; color: var(--text-2); max-width: 64ch; }
.faq-body p:last-child { margin: 0; }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin: 2.25rem 0 .75rem; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.25em; }
.legal-meta { font-size: var(--step--1); color: var(--muted); border-left: 3px solid var(--amber); padding-left: 1rem; }

/* ---------- Footer ---------- */
.site-footer { background: #080A0D; border-top: 1px solid var(--line); color: var(--text-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(3rem, 5vw, 4.5rem) 0 2.5rem; }
.footer-tag { margin: 1.25rem 0; font-size: var(--step--1); max-width: 36ch; color: var(--muted); }
.social-row { display: flex; gap: .6rem; }
.social { width: 2.6rem; height: 2.6rem; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; color: var(--text); transition: background-color .2s, border-color .2s; }
.social:hover { background: var(--panel); border-color: var(--amber); }
.social .ico { width: 1.1rem; height: 1.1rem; }
.footer-h { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--amber); margin-bottom: 1rem; }
.footer-address { font-size: var(--step--1); line-height: 1.7; }
.footer-contact { margin-top: .9rem; display: grid; gap: .1rem; font-size: var(--step--1); }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-contact a, .footer-links a, .footer-bottom a { display: inline-block; padding: .3rem 0; }
.footer-links { list-style: none; display: grid; gap: .1rem; font-size: var(--step--1); }
.footer-hours { list-style: none; display: grid; gap: .5rem; font-size: var(--step--1); margin-top: 1.25rem; }
.footer-hours li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .5rem; }
.footer-hours strong { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--line); padding: 1.25rem 0 .5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom .legal { display: flex; gap: 1.25rem; }
.footer-bottom a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.footer-fca { padding: .5rem 0 2rem; }
.footer-fca p { margin: 0; font-size: .74rem; color: var(--muted); max-width: 90ch; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal (transform only: never blends colours during an audit) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { transform: translateY(14px); transition: transform .6s var(--ease); }
  .reveal.in, .no-js .reveal { transform: none; }
  .reveal.instant { transition: none; }
  .reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .12s; } .reveal.d3 { transition-delay: .18s; } .reveal.d4 { transition-delay: .24s; }
}

@media print {
  .site-header, .topbar, .cta-band, .nav-toggle, .skip, .site-footer .social-row { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Phones: keep the wordmark on one line and stack split section heads. */
@media (max-width: 480px) {
  .brand-name { font-size: 1rem; white-space: nowrap; }
  .brand-sub { font-size: .55rem; white-space: nowrap; }
  .brand .mark { width: 2.2rem; height: 2.2rem; }
}
@media (max-width: 640px) {
  .section-head.split { grid-template-columns: 1fr; align-items: start; }
}

/* Hero title: fixed line breaks per breakpoint and a width-capped size, so the fallback font and Archivo
   wrap identically and nothing below the title moves when the web font arrives. */
/* The title never rewraps (fixed <br>s), so it must never clip either: size it from the column width (container units). */
.hero-copy { container-type: inline-size; }
.hero-title { white-space: nowrap; font-size: min(var(--step-5), 8.1cqi); }
.hero-title .bm { display: none; }
@media (max-width: 560px) { .hero-title { font-size: min(var(--step-5), 16cqi, 11.8vw); } .hero-title .bm { display: inline; } }

/* ---------- Even grids (house rule: no row of N then a single box). Column counts divide the item counts. ---------- */
.tiles, .services-grid, .stock-grid, .checklist { grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles, .services-grid, .stock-grid, .checklist { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .tiles, .services-grid, .stock-grid, .checklist { grid-template-columns: repeat(4, 1fr); } }
.reviews-grid, .team-grid { grid-template-columns: 1fr; }
@media (min-width: 800px) { .reviews-grid, .team-grid { grid-template-columns: repeat(3, 1fr); } }
.stats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.features { grid-template-columns: 1fr; }
@media (min-width: 480px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .features { grid-template-columns: repeat(4, 1fr); } }
.spec-grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .spec-grid { grid-template-columns: repeat(5, 1fr); } }
/* Seven thumbnails: one row on desktop, a swipeable strip on phones (never 4 + 3). */
@media (max-width: 600px) { .thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .4rem; -webkit-overflow-scrolling: touch; } .thumbs li { flex: 0 0 28%; scroll-snap-align: start; } }
