/* =========================================================
   NV Truck Sales — Design tokens
   Palette: deep slate + signal red (industrial, high-trust)
   Type: Barlow Condensed (display) / Barlow (body)
   ========================================================= */
:root {
  --ink: #0B1220;
  --primary: #0F172A;
  --primary-2: #1E293B;
  --secondary: #334155;
  --accent: #DC2626;
  --accent-hover: #B91C1C;
  --accent-soft: #FEE2E2;
  --on-accent: #FFFFFF;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --muted: #EEF2F6;
  --muted-fg: #475569;
  --subtle-fg: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --success: #15803D;
  --ring: #DC2626;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow: 0 4px 16px rgba(15, 23, 42, .08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, .14);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --container: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .2px;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 var(--space-4); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }

.section { padding: var(--space-8) 0; }
@media (min-width: 900px) { .section { padding: var(--space-9) 0; } }
.section--muted { background: var(--muted); }
.section--dark { background: var(--primary); color: #E2E8F0; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent);
  margin-bottom: var(--space-3);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; transform: skewX(-20deg); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.section-head h2 { margin: 0; }
.section-head p { margin: var(--space-2) 0 0; color: var(--muted-fg); max-width: 56ch; }
.lead { font-size: 1.15rem; color: var(--muted-fg); max-width: 60ch; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(220, 38, 38, .28); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--dark { background: var(--primary); color: #fff; }
.btn--dark:hover { background: var(--primary-2); }
.btn--outline { background: transparent; border-color: var(--border-strong); color: var(--primary); }
.btn--outline:hover { border-color: var(--primary); }
.btn--ghost-light { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--white { background: #fff; color: var(--accent); }
.btn--white:hover { background: var(--accent-soft); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); text-decoration: none; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #CBD5E1; font-size: .9rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 40px; }
.topbar__perks { display: none; gap: var(--space-5); }
.topbar__perks span { display: inline-flex; align-items: center; gap: 6px; }
.topbar__perks .icon { width: 16px; height: 16px; color: var(--accent); }
.topbar__contact { display: flex; gap: var(--space-5); margin-left: auto; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: #E2E8F0; min-height: 40px; }
.topbar__contact a:hover { color: #fff; }
.topbar__contact .icon { width: 16px; height: 16px; }
.topbar__email { display: none !important; }
@media (min-width: 640px) { .topbar__email { display: inline-flex !important; } }
@media (min-width: 1000px) { .topbar__perks { display: flex; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(15, 23, 42, .97); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header .container { display: flex; align-items: center; gap: var(--space-5); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand .logo { height: 44px; width: auto; }
@media (min-width: 640px) { .brand .logo { height: 50px; } }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: .8px; text-transform: uppercase;
  color: #CBD5E1; text-decoration: none; border-radius: var(--radius-sm); position: relative;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--accent); transform: skewX(-20deg); }
.header-cta { display: none; }
.menu-toggle { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm); color: #fff; cursor: pointer; }
@media (min-width: 1040px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.mobile-nav { position: fixed; inset: 0; z-index: 150; display: none; }
.mobile-nav.is-open { display: block; }
.mobile-nav__scrim { position: absolute; inset: 0; background: rgba(2, 6, 23, .6); animation: fade .2s var(--ease); }
.mobile-nav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: var(--primary); color: #fff; padding: 20px; display: flex; flex-direction: column; gap: var(--space-5); animation: slide-in .25s var(--ease); overflow-y: auto; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-nav__top .logo { height: 40px; width: auto; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid rgba(255,255,255,.08); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; text-decoration: none; color: #E2E8F0; }
.mobile-nav li a[aria-current="page"] { color: var(--accent); }
.mobile-nav .btn { width: 100%; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #E2E8F0; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 500px at 78% 60%, rgba(220, 38, 38, .22), transparent 60%),
    radial-gradient(700px 400px at 10% 0%, rgba(51, 65, 85, .6), transparent 60%),
    linear-gradient(180deg, #0B1220 0%, #0F172A 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero__slash { position: absolute; right: -10%; top: 0; bottom: 0; width: 46%; background: linear-gradient(180deg, rgba(220,38,38,.0), rgba(220,38,38,.12)); transform: skewX(-14deg); z-index: -1; border-left: 2px solid rgba(220,38,38,.35); display: none; }
@media (min-width: 900px) { .hero__slash { display: block; } }
.hero .container { display: grid; gap: var(--space-6); padding-top: var(--space-8); padding-bottom: var(--space-8); align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.05fr 1fr; padding-top: var(--space-9); padding-bottom: var(--space-9); } }
.hero h1 { color: #fff; margin-bottom: var(--space-4); }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero__sub { font-size: 1.2rem; color: #CBD5E1; max-width: 52ch; margin-bottom: var(--space-5); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-6); }
.hero__art { position: relative; }
.hero__art .stage { position: absolute; left: 6%; right: 6%; bottom: 8%; height: 18%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); }
.hero__art svg { position: relative; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.hero__badges { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); color: #CBD5E1; font-weight: 600; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges .icon { color: var(--accent); }

/* Photo hero: full-bleed truck photo with a left-side fade for legible text */
.hero--photo { min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero--photo::after { display: none; }
.hero--photo::before {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,18,32,.55) 0%, rgba(11,18,32,0) 25%, rgba(11,18,32,0) 70%, rgba(11,18,32,.75) 100%),
    linear-gradient(90deg, rgba(11,18,32,.96) 0%, rgba(11,18,32,.88) 32%, rgba(11,18,32,.45) 56%, rgba(11,18,32,.05) 78%);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 62%; }
.hero--photo .container { grid-template-columns: 1fr; width: 100%; }
.hero--photo .container > div { max-width: 620px; }
.hero--photo h1, .hero--photo .hero__sub { text-shadow: 0 2px 16px rgba(0,0,0,.45); }
@media (max-width: 899px) {
  .hero--photo { min-height: 0; }
  .hero--photo::before { background: linear-gradient(180deg, rgba(11,18,32,.72) 0%, rgba(11,18,32,.82) 55%, rgba(11,18,32,.95) 100%); }
  .hero__bg { object-position: 90% 60%; }
}

/* Search panel */
.search-panel { position: relative; z-index: 2; margin-top: calc(-1 * var(--space-7)); }
.search-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-5); display: grid; gap: var(--space-4); border-top: 4px solid var(--accent); }
.search-card h2 { font-size: 1.6rem; margin: 0; }
.search-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .search-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .search-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr auto; align-items: end; } }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .95rem; color: var(--secondary); }
.field .req { color: var(--accent); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  background: #fff; border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  font-size: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; cursor: pointer; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--subtle-fg); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(220, 38, 38, .18); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--accent); }
.field__error { display: none; color: var(--accent-hover); font-size: .9rem; font-weight: 600; }
.field.has-error .field__error { display: flex; align-items: center; gap: 6px; }
.field__help { font-size: .88rem; color: var(--subtle-fg); }
.form-grid { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--muted-fg); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--accent); flex: none; cursor: pointer; }
.form-success { display: none; padding: var(--space-5); border-radius: var(--radius); background: #F0FDF4; border: 1px solid #BBF7D0; color: #14532D; }
.form-success.is-visible { display: block; }
.form-success h3 { color: #14532D; display: flex; align-items: center; gap: 10px; }

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-tile {
  position: relative; display: flex; flex-direction: column; gap: var(--space-2);
  padding: var(--space-4); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  text-decoration: none; overflow: hidden; cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.cat-tile:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile svg { width: 100%; height: auto; aspect-ratio: 400 / 220; }
.cat-tile__name { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .5px; display: flex; justify-content: space-between; align-items: center; }
.cat-tile__count { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted-fg); background: var(--muted); border-radius: 999px; padding: 2px 10px; }

/* ---------- Vehicle cards ---------- */
.card-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }
.vcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease); }
.vcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-strong); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 70%, #CBD5E1 100%); overflow: hidden; }
.vcard__media svg, .vcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.vcard__media svg { object-fit: contain; padding: 4% 4% 0; }
.vcard:hover .vcard__media svg, .vcard:hover .vcard__media img { transform: scale(1.04); }
.vcard__tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--primary); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
.vcard__tag--new { background: var(--accent); }
.vcard__photos { position: absolute; right: 12px; bottom: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; background: rgba(15,23,42,.8); color: #fff; font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.vcard__photos .icon { width: 14px; height: 14px; }
.vcard__body { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-4) var(--space-5) var(--space-5); flex: 1; }
.vcard__stock { font-size: .85rem; color: var(--subtle-fg); font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.vcard__title { font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; line-height: 1.1; margin: 0; }
.vcard__title a { text-decoration: none; }
.vcard__title a::after { content: ""; position: absolute; inset: 0; }
.vcard { position: relative; }
.vcard__specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.vcard__specs li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; background: var(--muted); border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--secondary); }
.vcard__specs .icon { width: 15px; height: 15px; color: var(--subtle-fg); }
.vcard__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--border); }
.price { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--primary); line-height: 1; font-variant-numeric: tabular-nums; }
.price small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 600; color: var(--subtle-fg); margin-top: 4px; }
.vcard__cta { pointer-events: none; }
.vcard:hover .vcard__cta { background: var(--accent); }
.vcard:focus-within { outline: 3px solid var(--ring); outline-offset: 2px; }
.vcard__title a:focus-visible { outline: none; }

/* ---------- Value strip / features ---------- */
.value-strip { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .value-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .value-strip { grid-template-columns: repeat(4, 1fr); } }
.feature { padding: var(--space-5); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); }
.feature__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 10px; background: var(--accent); color: #fff; margin-bottom: var(--space-4); transform: skewX(-8deg); }
.feature__icon .icon { transform: skewX(8deg); }
.feature h3 { font-size: 1.5rem; margin-bottom: var(--space-2); text-transform: uppercase; }
.feature p { margin: 0; color: var(--muted-fg); }
.section--dark .feature p { color: #94A3B8; }

/* ---------- Split / about ---------- */
.split { display: grid; gap: var(--space-7); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { position: relative; border-radius: var(--radius-lg); background: linear-gradient(160deg, #1E293B, #0B1220); padding: var(--space-6) var(--space-5) var(--space-5); overflow: hidden; }
.split__media::before { content: ""; position: absolute; right: -20%; top: -10%; width: 70%; height: 140%; background: rgba(220, 38, 38, .16); transform: skewX(-14deg); }
.split__media svg { position: relative; width: 100%; height: auto; }
.split__media--photo { padding: 0; background: var(--muted); box-shadow: var(--shadow-lg); }
.split__media--photo::before { display: none; }
.split__media--photo img { display: block; width: 100%; height: auto; aspect-ratio: 1990 / 1178; object-fit: cover; }
.split__media--photo .split__stat { z-index: 1; box-shadow: var(--shadow); }
/* Cut-out truck photo (transparent background) on the dark panel */
.split__media--cutout { padding: 80px 24px 36px; box-shadow: var(--shadow-lg); }
.split__media--cutout img { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 14px rgba(0, 0, 0, .5)); }
.split__media--cutout .split__stat { z-index: 1; box-shadow: var(--shadow); }
.split__stat { position: absolute; left: var(--space-5); top: var(--space-5); background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.checklist { list-style: none; margin: var(--space-5) 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 640px) { .checklist--2 { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .icon { flex: none; width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); stroke-width: 3; margin-top: 1px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--accent); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-60deg, rgba(255,255,255,.05) 0 24px, transparent 24px 48px); }
.cta-band .container { position: relative; display: grid; gap: var(--space-5); align-items: center; padding-top: var(--space-7); padding-bottom: var(--space-7); }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1fr auto; } }
.cta-band h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-band p { margin: 0; color: #FEE2E2; font-size: 1.1rem; }
.cta-band__chips { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); margin-top: var(--space-4) !important; }
.cta-band__chips span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Contact cards ---------- */
.contact-cards { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { display: flex; gap: var(--space-4); align-items: center; padding: var(--space-5); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); cursor: pointer; }
.contact-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.contact-card__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; flex: none; }
.contact-card__label { font-size: .85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--subtle-fg); }
.contact-card__value { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; word-break: break-word; line-height: 1.15; }

/* ---------- Page hero ---------- */
.page-hero { position: relative; background: var(--ink); color: #CBD5E1; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 85% 100%, rgba(220,38,38,.25), transparent 70%); }
.page-hero .container { padding-top: var(--space-7); padding-bottom: var(--space-7); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: var(--space-3); }
.page-hero p { margin: 0; max-width: 60ch; font-size: 1.1rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 var(--space-4); padding: 0; font-size: .92rem; color: #94A3B8; }
.breadcrumbs a { color: #CBD5E1; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #475569; }

/* ---------- Inventory layout ---------- */
.inv-layout { display: grid; gap: var(--space-5); }
@media (min-width: 1000px) { .inv-layout { grid-template-columns: 290px 1fr; align-items: start; } }
.filters { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--header-h) + 16px); } }
.filters summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: var(--space-4) var(--space-5); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; cursor: pointer; list-style: none; min-height: 56px; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary .icon { transition: transform .2s var(--ease); }
.filters[open] summary .chev { transform: rotate(180deg); }
.filters__body { display: grid; gap: var(--space-4); padding: 0 var(--space-5) var(--space-5); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--border-strong); border-radius: 999px; background: #fff; font-weight: 600; font-size: .95rem; cursor: pointer; transition: all .15s var(--ease); }
.chip:hover { border-color: var(--primary); }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.inv-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-4); }
.inv-count { font-weight: 600; color: var(--muted-fg); }
.inv-count strong { color: var(--primary); }
.inv-toolbar .field { grid-auto-flow: column; align-items: center; gap: 10px; }
.inv-toolbar .select { min-width: 200px; }
.empty-state { text-align: center; padding: var(--space-8) var(--space-5); background: var(--card); border: 1px dashed var(--border-strong); border-radius: var(--radius); }
.empty-state h3 { font-size: 1.8rem; }
.empty-state p { color: var(--muted-fg); }

/* ---------- Vehicle detail ---------- */
.vd-layout { display: grid; gap: var(--space-6); }
@media (min-width: 1000px) { .vd-layout { grid-template-columns: 1fr 380px; align-items: start; } }
.vd-gallery { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.vd-gallery__main { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 70%, #CBD5E1 100%); }
.vd-gallery__main svg, .vd-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4% 6% 0; }
.vd-gallery__main img { object-fit: cover; padding: 0; }
.vd-layout > * { min-width: 0; }
.vd-gallery__main.has-photo { background: #0B1220; aspect-ratio: 4 / 3; }
.vd-gallery__main.has-photo img { object-fit: contain; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(15, 23, 42, .72); color: #fff; cursor: pointer; transition: background-color .2s var(--ease); }
.gal-nav:hover { background: var(--accent); }
.gal-nav .icon { width: 26px; height: 26px; }
.gal-nav--prev { left: 12px; }
.gal-nav--next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; background: rgba(15, 23, 42, .8); color: #fff; font-weight: 700; font-size: .9rem; padding: 4px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.gal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; border-top: 1px solid var(--border); }
.gal-thumb { flex: none; width: 92px; height: 69px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: var(--muted); cursor: pointer; opacity: .7; transition: opacity .2s var(--ease), border-color .2s var(--ease); }
.gal-thumb:hover { opacity: 1; }
.gal-thumb[aria-current] { border-color: var(--accent); opacity: 1; }
.gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vd-gallery__note { display: flex; align-items: center; gap: 8px; padding: var(--space-3) var(--space-5); font-size: .92rem; color: var(--muted-fg); border-top: 1px solid var(--border); }
.vd-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
.vd-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); color: #fff; margin: 0; }
.vd-keyspecs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin: var(--space-5) 0; }
@media (min-width: 640px) { .vd-keyspecs { grid-template-columns: repeat(4, 1fr); } }
.keyspec { display: flex; flex-direction: column; gap: 4px; padding: var(--space-4); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.keyspec .icon { color: var(--accent); }
.keyspec span { font-size: .82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--subtle-fg); }
.keyspec strong { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); }
.panel + .panel { margin-top: var(--space-5); }
.panel h2 { font-size: 1.7rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted-fg); }
.spec-table td { font-weight: 600; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.vd-aside { display: grid; gap: var(--space-5); }
.input, .select, .textarea, #inquire { scroll-margin-top: calc(var(--header-h) + 48px); }
.price-card { border-top: 4px solid var(--accent); }
.price-card .price { font-size: 2.8rem; }
.price-card__actions { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
.estimator output { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.estimator .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.fine { font-size: .82rem; color: var(--subtle-fg); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: var(--space-5); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--accent); margin-bottom: var(--space-3); }
.step h3 { text-transform: uppercase; margin-bottom: var(--space-2); }
.step p { margin: 0; color: var(--muted-fg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #94A3B8; padding-top: var(--space-8); font-size: .97rem; }
.footer-grid { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.2fr; } }
.site-footer h3 { font-size: 1.2rem; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: #CBD5E1; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; }
.site-footer a:hover { color: #fff; }
.site-footer .brand .logo { height: 52px; width: auto; margin-bottom: var(--space-4); }
.footer-bottom { margin-top: var(--space-7); padding: var(--space-5) 0 calc(var(--space-5) + 72px); border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: space-between; font-size: .9rem; }
@media (min-width: 900px) { .footer-bottom { padding-bottom: var(--space-5); } }

/* ---------- Mobile action bar ---------- */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--primary); border-top: 1px solid rgba(255,255,255,.1); padding-bottom: env(safe-area-inset-bottom); }
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 62px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: 1px; text-transform: uppercase; }
.action-bar a:first-child { background: var(--accent); }
.action-bar a + a { border-left: 1px solid rgba(255,255,255,.1); }
@media (min-width: 900px) { .action-bar { display: none; } }

/* ---------- Reveal motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack-sm > * + * { margin-top: var(--space-3); }
