/* ==========================================================================
   Auto Center GAP — design system
   Dark automotive. One family (Archivo): slightly expanded uppercase for
   headings, normal width for reading. Gold accent taken from the GAP eagle.
   ========================================================================== */

:root {
  /* brand palette */
  --graphite: #25282B;
  --silver: #E4E6E8;
  --offwhite: #F5F5F3;
  --gold: #C5A253;

  /* light scope (default): off-white content areas */
  --bg: var(--offwhite);
  --s1: #FFFFFF;
  --s2: var(--silver);
  --s3: #D4D7DA;
  --text: #1F2225;
  --muted: #5B6066;
  --dim: #858A90;
  --accent: var(--gold);
  --accent-ink: #84651F;           /* gold for text/icons on light (AA contrast) */
  --accent-soft: rgba(197, 162, 83, .14);
  --accent-line: rgba(197, 162, 83, .55);
  --on-accent: var(--graphite);
  --line: rgba(37, 40, 43, .10);
  --line-2: rgba(37, 40, 43, .18);
  --line-3: rgba(37, 40, 43, .34);
  --focus: #84651F;
  --shadow: 0 1px 2px rgba(37, 40, 43, .06), 0 8px 24px rgba(37, 40, 43, .06);

  --font: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1360px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-img: 4px;
  --r-card: 10px;
  --r-ctl: 10px;
  color-scheme: light;
  --error: #B3261E;
}
/* graphite scope: header, hero, menu, footer and selected sections */
.theme-dark {
  --bg: var(--graphite);
  --s1: #2E3236;
  --s2: #383C41;
  --s3: #464A50;
  --text: #F5F5F3;
  --muted: #B3B8BD;
  --dim: #8C9196;
  --accent-ink: var(--gold);
  --line: rgba(245, 245, 243, .10);
  --line-2: rgba(245, 245, 243, .18);
  --line-3: rgba(245, 245, 243, .32);
  --focus: var(--gold);
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  color-scheme: dark;
  color: var(--text);
  --error: #F2A49B;
}
/* silver scope: brand section, filter panel */
.tone-silver { --bg: #ECEDEF; --s1: #FFFFFF; --s2: var(--offwhite); background: var(--bg); }
/* sections blend into the page instead of hard bands */
section.tone-silver { background: linear-gradient(180deg, var(--offwhite) 0%, #ECEDEF 20%, #ECEDEF 80%, var(--offwhite) 100%); }
.panel-dark {
  background: radial-gradient(90% 120% at 100% 0%, rgba(197, 162, 83, .14), transparent 55%), var(--graphite);
  border-radius: clamp(16px, 2.4vw, 28px); padding: clamp(16px, 3vw, 44px); box-shadow: 0 24px 60px rgba(37, 40, 43, .18);
}
section.theme-dark, .enquiry.theme-dark { background: var(--bg); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 16px; top: 12px; z-index: 100; background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 999px; font-weight: 600; transform: translateY(-160%); transition: transform 200ms var(--ease-out);
}
.skip:focus { transform: none; }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.noscript { padding: 120px var(--gutter); }

/* smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- type ---------- */
.display, .h-xl, .h-lg, .logo-mark {
  font-stretch: 116%; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; line-height: 1;
  overflow-wrap: break-word; hyphens: auto;
}
.display { font-size: clamp(34px, 5vw, 80px); line-height: .98; }
.h-xl { font-size: clamp(28px, 3.3vw, 50px); }
.h-lg { font-size: clamp(24px, 2.5vw, 36px); }
.h-md { font-size: clamp(19px, 1.6vw, 24px); font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; }
.lead { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--muted); max-width: 52ch; }
.muted { color: var(--muted); }
.meta { font-size: 13px; color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }
.small-link { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.ln { display: block; overflow: hidden; padding: .14em 0 .08em; margin: -.14em 0 -.08em; }
.ln > span { display: block; }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 22px;
  border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; border: 1px solid var(--line-3);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn-light { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-ghost { background: transparent; }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #B3913F; border-color: #B3913F; }
  .btn-ghost:hover { border-color: var(--text); background: var(--line); }
}
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text);
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease, opacity 200ms ease;
}
.icon-btn:active { transform: scale(.94); }
.icon-btn:disabled { opacity: .3; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .icon-btn:not(:disabled):hover { border-color: var(--text); } }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color 200ms ease;
}
.text-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .text-link:hover { color: var(--accent-ink); } .text-link:hover svg { transform: translateX(4px); } }

/* ---------- language switch ---------- */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); gap: 2px; }
.lang a {
  min-width: 36px; height: 30px; padding: 0 8px; display: inline-grid; place-items: center; border-radius: 999px;
  font-size: 12px; font-weight: 650; letter-spacing: .04em; color: var(--muted); transition: color 200ms ease, background-color 200ms ease;
}
.lang a[aria-current] { background: var(--text); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .lang a:not([aria-current]):hover { color: var(--text); } }
.lang-lg { display: flex; }
.lang-lg a { flex: 1; height: 40px; font-size: 14px; }
.lang-sm { border: 0; padding: 0; }
.lang-sm a { height: 26px; min-width: 32px; font-size: 12px; }

/* ---------- first-visit intro: white, spinning 3D GAP emblem (same build as the About page) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: radial-gradient(60% 50% at 50% 45%, rgba(197, 162, 83, .14), transparent 70%), #FAFAF9;
  transition: transform 850ms var(--ease-in-out);
}
.intro .intro-emblem { width: 124px; opacity: 0; transform: translateY(8px) scale(.94); animation: intro-logo 700ms var(--ease-out) 60ms forwards; }
.intro .intro-emblem .emblem3d-spin, .intro .intro-emblem .emblem3d-floor { animation-duration: 2.4s; }
.intro-bar { position: absolute; left: 50%; top: calc(50% + 96px); width: 132px; height: 2px; border-radius: 2px; background: rgba(37, 40, 43, .1); transform: translateX(-50%); overflow: hidden; }
.intro-bar::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: intro-bar 1050ms var(--ease-in-out) 200ms forwards; }
.intro.is-done { transform: translateY(-100%); }
.intro.is-done .intro-emblem, .intro.is-done .intro-bar { opacity: 0; transition: opacity 300ms ease; }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
@keyframes intro-bar { to { transform: scaleX(1); } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); border-bottom: 1px solid transparent;
  transition: transform 400ms var(--ease-drawer), background-color 300ms ease, border-color 300ms ease;
}
/* white frosted glass with fine grain */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.header {
  background: rgba(250, 250, 249, .92); border-bottom: 1px solid rgba(37, 40, 43, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .7) inset, 0 8px 30px rgba(37, 40, 43, .08);
  color: var(--text);
}
@supports (backdrop-filter: blur(1px)) {
  .header { background: rgba(250, 250, 249, .9); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); }
  .header:not(.is-solid) { background: rgba(250, 250, 249, .9); }
}
.header::before, .menu::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--grain); background-size: 140px 140px; opacity: .06; mix-blend-mode: multiply;
}
.header-inner { position: relative; z-index: 1; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2; flex: none; }
.logo-eagle { width: 38px; height: 32px; object-fit: contain; transition: transform 500ms var(--ease-out); }
.logo-mark { font-size: 24px; letter-spacing: -0.01em; }
@media (hover: hover) and (pointer: fine) { .logo:hover .logo-eagle { transform: rotate(-6deg) scale(1.06); } }
.nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a { position: relative; color: var(--muted); padding: 6px 0; display: inline-flex; align-items: center; gap: 6px; transition: color 200ms ease; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 400ms var(--ease-out); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--text); } .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.nav-count { min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--bg); font-size: 11px; font-weight: 700; display: inline-grid; place-items: center; line-height: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; position: relative; z-index: 2; }
.menu-btn { display: none; align-items: center; gap: 12px; height: 44px; padding: 0 4px 0 10px; font-weight: 600; font-size: 15px; }
.menu-btn-icon { width: 22px; height: 12px; position: relative; }
.menu-btn-icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 400ms var(--ease-out), top 400ms var(--ease-out); }
.menu-btn-icon i:first-child { top: 1px; }
.menu-btn-icon i:last-child { top: 9px; }
.menu-open .menu-btn-icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-btn-icon i:last-child { top: 5px; transform: rotate(-45deg); }
.menu-open .header { background: transparent !important; box-shadow: none; border-bottom-color: transparent; backdrop-filter: none; }

/* ---------- mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45; overflow: hidden;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(197, 162, 83, .10), transparent 60%), rgba(248, 248, 246, .97);
  padding-top: calc(var(--header-h) + 8px); padding-bottom: max(20px, env(safe-area-inset-bottom));
  opacity: 0; transition: opacity 300ms ease;
}
.menu.is-open { opacity: 1; }
@supports (backdrop-filter: blur(1px)) {
  .menu { background: radial-gradient(120% 60% at 100% 0%, rgba(197, 162, 83, .10), transparent 60%), rgba(248, 248, 246, .92); backdrop-filter: blur(26px) saturate(1.6); -webkit-backdrop-filter: blur(26px) saturate(1.6); }
}
.menu-inner { z-index: 1; }
.menu-inner { height: 100%; display: flex; flex-direction: column; gap: 28px; overflow-y: auto; overscroll-behavior: contain; position: relative; scrollbar-width: none; }
.menu-inner::-webkit-scrollbar { display: none; }
.menu-eagle { position: fixed; right: -18vw; bottom: -6vh; width: min(78vw, 420px); height: auto; opacity: .09; pointer-events: none; transform: rotate(-8deg); }
.menu-links { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.menu-links a {
  display: flex; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em;
  opacity: 0; transform: translateY(10px); transition: opacity 400ms ease, transform 500ms var(--ease-out), color 200ms ease;
}
.menu-links a > span:first-child { flex: 1; }
.menu-links a svg { width: 18px; height: 18px; fill: none; stroke: var(--dim); stroke-width: 1.6; transition: stroke 200ms ease, transform 300ms var(--ease-out); }
.menu.is-open .menu-links a { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i, 0) * 40ms); }
.menu-links a.is-active { color: var(--accent-ink); }
.menu-links a.is-active svg { stroke: var(--accent); }
.menu-links a:active svg { transform: translateX(4px); }
.menu-bottom { display: grid; gap: 22px; margin-top: auto; opacity: 0; transition: opacity 400ms ease 260ms; }
.menu.is-open .menu-bottom { opacity: 1; }
.menu-foot { display: grid; gap: 4px; padding: 16px; border-radius: var(--r-card); background: rgba(255, 255, 255, .7); border: 1px solid var(--line); box-shadow: var(--shadow); }
.menu-foot > a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 15px; }
.menu-foot svg { width: 18px; height: 18px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; flex: none; }
.menu-social { display: flex; gap: 20px; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.menu-social a:hover { color: var(--text); }

/* ---------- main ---------- */
main { outline: none; min-height: 70vh; }
main.is-leaving { opacity: 0; transition: opacity 160ms ease; }
.page-top { padding-top: calc(var(--header-h) + clamp(28px, 4.5vw, 56px)); padding-bottom: clamp(40px, 5vw, 72px); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section-tight { padding-block: clamp(32px, 4vw, 64px); }
.rule { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(24px, 3.5vw, 44px); }
.section-head-aside { display: grid; gap: 18px; justify-items: start; }
.section-head:has(> .section-head-aside:empty), .inv-head:has(> :only-child) { grid-template-columns: 1fr; }
.section-head-aside:empty { display: none; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { transition: color 200ms ease; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { color: var(--dim); }
.after-grid { margin-top: 40px; }

/* ---------- hero ---------- */
.hero { background: var(--bg); position: relative; height: 92svh; min-height: 560px; max-height: 900px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(250, 250, 249, .55) 0%, rgba(250, 250, 249, 0) 16%),
    linear-gradient(0deg, #F5F5F3 0%, rgba(245, 245, 243, .9) 24%, rgba(245, 245, 243, 0) 56%),
    linear-gradient(90deg, rgba(245, 245, 243, .55) 0%, rgba(245, 245, 243, 0) 50%);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1400ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 0s linear 1.4s; }
.hero-slide.is-active img { transform: scale(1); transition: transform 8s cubic-bezier(.2, .6, .2, 1); }
.hero-dots { display: flex; gap: 6px; margin-top: 18px; }
.hero-dots button { position: relative; width: 30px; height: 22px; }
.hero-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 2px; border-radius: 2px; background: rgba(37, 40, 43, .18); transition: background-color 300ms ease; }
.hero-dots button[aria-current]::before { background: var(--gold); }
.hero-inner { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(24px, 3.5vw, 48px); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: end; margin-top: clamp(20px, 2.5vw, 32px); padding-top: clamp(18px, 2vw, 26px); border-top: 1px solid var(--line-2); }
.hero-intro { max-width: 46ch; color: var(--muted); font-size: clamp(15px, 1.1vw, 17px); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.hero-facts b { color: var(--text); font-weight: 600; }
/* welcome: "10+ marka" + brand names moving like a train */
.hero-row > div { min-width: 0; }
.hero-brands { display: flex; align-items: center; gap: 18px; margin-top: 16px; min-width: 0; max-width: 640px; }
.hero-brands-n { flex: none; font-size: 14px; color: var(--muted); white-space: nowrap; }
.hero-brands-n b { color: var(--text); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin-right: 2px; }
.ticker { position: relative; flex: 1; min-width: 0; overflow: hidden; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.ticker ul { display: flex; flex: none; align-items: center; gap: 34px; padding-right: 34px; list-style: none; margin: 0; }
.ticker li { display: grid; place-items: center; width: 30px; height: 30px; color: var(--text); opacity: .82; }
.ticker li svg { width: 100%; height: 100%; fill: currentColor; }
.ticker-initials { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
@media (hover: hover) and (pointer: fine) { .ticker:hover .ticker-track { animation-play-state: paused; } }
@media (max-width: 599px) {
  .hero-brands { gap: 12px; margin-top: 12px; }
  .hero-brands-n b { font-size: 18px; }
  .ticker ul { gap: 26px; padding-right: 26px; }
  .ticker li { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- featured row ---------- */
.featured-head > h2 { min-width: 0; }
.featured-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.featured-nav { display: flex; gap: 8px; }
.featured-track {
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex; gap: clamp(14px, 1.8vw, 24px); padding-inline: var(--pad); scroll-padding-inline: var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline-offset: -2px;
}
.featured-track::-webkit-scrollbar { display: none; }
.feat { flex: none; width: clamp(280px, 42vw, 620px); scroll-snap-align: start; display: grid; gap: 16px; }
.feat-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-img); background: var(--s1); }
.feat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), opacity 400ms ease; }
@media (hover: hover) and (pointer: fine) { .feat:hover .feat-media img { transform: scale(1.03); } }
.feat-info { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.feat-make { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.feat-title { font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; line-height: 1.2; }
.feat-specs { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 13px; color: var(--muted); margin-top: 6px; }
.feat-price { font-size: clamp(17px, 1.5vw, 21px); font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.featured-foot { margin-top: clamp(24px, 3vw, 36px); }

/* ---------- brand tiles ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.brand-tile {
  box-shadow: var(--shadow);
  height: 100%; display: grid; justify-items: center; align-content: center; gap: 10px; text-align: center;
  padding: 28px 14px 22px; border-radius: var(--r-card); background: var(--s1); border: 1px solid var(--line);
  transition: border-color 250ms ease, background-color 250ms ease, transform 300ms var(--ease-out);
}
.brand-logo { width: 46px; height: 46px; display: grid; place-items: center; color: var(--muted); transition: color 250ms ease; }
.brand-logo svg { width: 100%; height: 100%; fill: currentColor; }
.brand-initials { font-weight: 800; font-size: 20px; border: 1px solid var(--line-2); border-radius: 50%; }
.brand-name { font-weight: 650; font-size: 15px; line-height: 1.25; }
.brand-count { font-size: 13px; color: var(--muted); }
.brand-tile:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .brand-tile:hover { border-color: var(--accent-line); background: var(--s2); transform: translateY(-2px); }
  .brand-tile:hover .brand-logo { color: var(--text); }
}
.brand-logo-lg { width: 72px; height: 72px; padding: 14px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); color: var(--text); box-sizing: content-box; }
.make-hero { display: flex; align-items: center; gap: clamp(16px, 2.5vw, 28px); padding-bottom: clamp(24px, 3vw, 36px); margin-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.make-hero .lead { margin-top: 10px; }
.line-tabs { margin-bottom: 28px; }
.model-list { border-top: 1px solid var(--line-2); }
.model-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.model-make { color: var(--muted); font-size: 14px; }
.model-name { font-weight: 650; font-size: clamp(17px, 1.4vw, 20px); transition: color 200ms ease; }
.model-count { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.model-count svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .model-row:hover .model-name { color: var(--accent-ink); } .model-row:hover svg { transform: translateX(4px); } }

/* ---------- vehicle cards (2 per row everywhere) ---------- */
.grid-cars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
@media (min-width: 1024px) { .grid-cars { grid-template-columns: repeat(3, minmax(0, 1fr)); } .inv .grid-cars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .inv .grid-cars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; box-shadow: var(--shadow); background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: border-color 250ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--line-3); } }
.card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--s2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out), opacity 400ms ease; }
.card-media img.is-loading, .feat-media img.is-loading { opacity: 0; }
.card-badge { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(37, 40, 43, .72); font-size: 12px; font-weight: 500; }
@supports (backdrop-filter: blur(1px)) { .card-badge { background: rgba(37, 40, 43, .5); backdrop-filter: blur(6px); } }
.card-view { position: absolute; right: 10px; bottom: 10px; padding: 7px 13px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 250ms ease, transform 350ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-media img { transform: scale(1.04); } .card:hover .card-view { opacity: 1; transform: none; } }
.card-body { padding: 16px 18px 18px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card-top { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.card-head { min-width: 0; }
.card-make { font-size: 13px; color: var(--muted); }
.card-title { font-size: clamp(17px, 1.5vw, 20px); font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; }
.card-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-specs { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 14px; color: var(--muted); }
.card-specs span + span::before { content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--dim); margin-right: 12px; vertical-align: middle; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-size: clamp(17px, 1.5vw, 20px); font-weight: 650; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-tools, .tool-fav { position: relative; z-index: 2; }
.no-photo { width: 100%; height: 100%; min-height: 140px; display: grid; place-items: center; color: var(--dim); font-size: 14px; background: var(--s1); }

.tool {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 500; color: var(--muted); flex: none;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, transform 160ms var(--ease-out);
}
.tool:active { transform: scale(.95); }
.tool svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.tool[aria-pressed="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }
.tool-fav { width: 38px; padding: 0; justify-content: center; }
.tool-fav[aria-pressed="true"], .panel-tools .tool[data-fav][aria-pressed="true"] { background: transparent; color: var(--accent-ink); border-color: var(--accent); }
.tool[data-fav][aria-pressed="true"] svg { fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .tool:hover { color: var(--text); border-color: var(--line-3); } }

/* ---------- inventory ---------- */
.inv-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 16px 56px; margin-bottom: clamp(24px, 3vw, 40px); }
.inv { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 3.5vw, 52px); align-items: start; }

.search { position: relative; flex: 1 1 auto; min-width: 0; }
.search svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.6; pointer-events: none; }
.search input { padding-left: 44px; }
.result-count { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.result-count b { color: var(--text); font-weight: 600; }
.filter-toggle { display: none; }
.input, .select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: var(--r-ctl); background: var(--s1); border: 1px solid var(--line-2);
  color: var(--text); font-size: 15px; transition: border-color 200ms ease, background-color 200ms ease; -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--dim); }
.input:hover, .select:hover { border-color: var(--line-3); }
.input:focus, .select:focus { outline: none; border-color: var(--accent); background: var(--s2); }
.select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A1A1A1' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.select option, .select optgroup { background: var(--s1); color: var(--text); }
.select-inline { width: auto; max-width: 100%; height: 40px; font-size: 14px; }
textarea.input { height: auto; min-height: 130px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.filters { background: var(--s2); border-radius: var(--r-card); padding: 20px 18px; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
.filters-head, .filters-foot, .filters-backdrop { display: none; }
.f-group { padding: 16px 0; border-top: 1px solid var(--line); }
.f-group:first-of-type { border-top: 0; padding-top: 0; }
.f-fieldset { border: 0; margin: 0; min-width: 0; padding-inline: 0; border-top: 1px solid var(--line); }
.f-fieldset legend { padding: 0; }
.f-label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.f-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-pair .select { height: 42px; font-size: 14px; padding-left: 12px; padding-right: 30px; background-position: right 8px center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease; }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:disabled + span { opacity: .35; }
@media (hover: hover) and (pointer: fine) { .chip:hover input:not(:checked):not(:disabled) + span { color: var(--text); border-color: var(--line-3); } }
.chip small { margin-left: 6px; font-size: 12px; opacity: .6; }
.f-switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; cursor: pointer; }
.f-switch input { width: 40px; height: 24px; appearance: none; -webkit-appearance: none; border-radius: 999px; background: var(--s3); position: relative; cursor: pointer; transition: background-color 200ms ease; flex: none; margin: 0; }
.f-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform 250ms var(--ease-out); }
.f-switch input:checked { background: var(--accent); }
.f-switch input:checked::after { transform: translateX(16px); background: var(--bg); }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.active-filters:empty { margin-bottom: 0; }
.af { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px 0 13px; border-radius: 999px; background: var(--accent-soft); font-size: 13px; border: 1px solid var(--accent-line); transition: transform 160ms var(--ease-out); max-width: 100%; }
.af:active { transform: scale(.96); }
.af svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.8; fill: none; flex: none; }
.af-clear { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 6px 4px; }
.af-clear:hover { color: var(--text); }
.card.is-entering { animation: card-in 450ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } }
.empty { grid-column: 1 / -1; padding: clamp(40px, 6vw, 80px) 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--r-card); display: grid; gap: 14px; justify-items: center; }
.empty h3 { font-size: 20px; font-weight: 650; }
.empty p { color: var(--muted); max-width: 46ch; }

.range { --a: 0; --b: 1; --th: 22px; padding: 2px 0 4px; }
.range-values { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 14px; }
.range-values span { color: var(--dim); font-weight: 400; }
.range-track { position: relative; height: 28px; }
.range-track::before { content: ''; position: absolute; left: calc(var(--th) / 2); right: calc(var(--th) / 2); top: 12px; height: 4px; border-radius: 4px; background: var(--s3); }
.range-fill { position: absolute; top: 12px; height: 4px; border-radius: 4px; background: var(--accent); left: calc(var(--th) / 2 + (100% - var(--th)) * var(--a)); right: calc(var(--th) / 2 + (100% - var(--th)) * (1 - var(--b))); }
.range input[type="range"] { position: absolute; inset: 0; width: 100%; height: 28px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 28px; background: none; }
.range input[type="range"]::-moz-range-track { height: 28px; background: none; }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--s1); border: 3px solid var(--accent); cursor: grab; box-shadow: 0 2px 8px rgba(0,0,0,.4); transition: transform 150ms var(--ease-out); }
.range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; box-sizing: content-box; border-radius: 50%; background: var(--text); border: 3px solid var(--accent); cursor: grab; }
.range input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); cursor: grabbing; }
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }
.range input[type="range"]:focus-visible::-moz-range-thumb { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- detail ---------- */
.detail { padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(48px, 6vw, 96px); }
.detail-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.gallery { min-width: 0; }
.gallery-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 12px; border-radius: 999px; background: var(--s1); border: 1px solid var(--line); }
.gtab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color 200ms ease, background-color 200ms ease; }
.gtab span { font-size: 12px; opacity: .65; }
.gtab[aria-selected="true"] { background: var(--text); color: var(--bg); }
@media (hover: hover) and (pointer: fine) { .gtab[aria-selected="false"]:hover { color: var(--text); } }
.gallery-stage { position: relative; border-radius: var(--r-img); overflow: hidden; background: var(--s1); }
.gallery-stage.is-switching .gallery-track { animation: g-switch 380ms var(--ease-out); }
@keyframes g-switch { from { opacity: 0; transform: scale(1.015); } }
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 10; overscroll-behavior-x: contain; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; cursor: zoom-in; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-ui { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.gallery-ui > * { pointer-events: auto; }
.gallery-count { padding: 7px 13px; border-radius: 999px; background: rgba(37, 40, 43, .65); font-size: 13px; }
.gallery-nav { display: flex; gap: 8px; }
.gallery-nav .icon-btn { background: rgba(37, 40, 43, .6); border-color: rgba(245,245,242,.2); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs:empty { display: none; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 104px; aspect-ratio: 16 / 10; border-radius: var(--r-img); overflow: hidden; opacity: .45; transition: opacity 250ms ease; position: relative; }
.thumb::after { content: ''; position: absolute; inset: 0; border: 1px solid transparent; border-radius: inherit; transition: border-color 250ms ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { opacity: 1; }
.thumb[aria-current="true"]::after { border-color: var(--text); }
@media (hover: hover) and (pointer: fine) { .thumb:hover { opacity: .85; } }
.photo-note { margin-top: 10px; font-size: 12px; color: var(--dim); }
.photo-note a { text-decoration: underline; text-underline-offset: 2px; }
.panel { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 20px; min-width: 0; }
.panel-make { font-size: 15px; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--text); }
.pill-accent { border-color: var(--accent-line); color: var(--accent-ink); }
.panel-title { font-size: clamp(26px, 2.6vw, 38px); }
.panel-price { font-size: clamp(26px, 2.4vw, 34px); font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.key-specs { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.key-specs div { padding: 12px 0; border-bottom: 1px solid var(--line); min-width: 0; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.key-specs .spec-ic { grid-row: span 2; width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--accent-soft); stroke: var(--accent); }
.spec-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.key-specs div:nth-child(odd) { padding-right: 14px; }
.key-specs div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
.key-specs dt { font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.key-specs dd { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.panel-actions { display: grid; gap: 10px; }
.panel-actions .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.panel-actions .row .btn, .mobile-cta .btn { padding: 0 12px; min-width: 0; }
.panel-actions .row .btn span, .mobile-cta .btn span { overflow: hidden; text-overflow: ellipsis; }
.panel-tools { display: flex; gap: 8px; }
.panel-tools .tool { flex: 1; justify-content: center; height: 42px; }
.detail-body { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(24px, 3.5vw, 56px); margin-top: clamp(48px, 6vw, 88px); }
.detail-block + .detail-block { margin-top: clamp(36px, 4.5vw, 60px); }
.detail-block h2 { margin-bottom: 18px; }
.detail-desc { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; max-width: 62ch; color: var(--text); }
.spec-table { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; }
.spec-table div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; min-width: 0; }
.spec-table dt { color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.spec-table .spec-ic { stroke: var(--accent); }
.cmp-label { display: inline-flex; align-items: center; gap: 8px; }
.cmp-label .spec-ic { width: 16px; height: 16px; stroke: var(--accent); }
.spec-table dd { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.features { display: flex; flex-wrap: wrap; gap: 8px; }
.related { margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(40px, 5vw, 72px); }
.enquiry { box-shadow: var(--shadow); background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 2.6vw, 32px); display: grid; gap: 16px; align-self: start; position: sticky; top: calc(var(--header-h) + 20px); min-width: 0; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 13px; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-hint { font-size: 12px; color: var(--muted); margin-top: -6px; }
.field-error { font-size: 12px; color: var(--error); }
.input[aria-invalid="true"] { border-color: var(--error); }
.form-status { font-size: 14px; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--s2); border: 1px solid var(--line-2); }
.form-status a { text-decoration: underline; text-underline-offset: 2px; }
.form-sent { border-color: var(--accent-line, var(--accent)); background: var(--accent-soft); outline: none; }
.form-err { border-color: var(--error); color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-send { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 10px; }
.mobile-cta { display: none; }

/* ---------- compare ---------- */
.compare-tray {
  position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 10px;
  padding: 7px 7px 7px 10px; border-radius: 999px; background: var(--s2); border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.45);
  transform: translateX(-50%); transition: transform 450ms var(--ease-drawer), opacity 300ms ease; max-width: calc(100vw - 32px);
}
.compare-tray.is-out { transform: translate(-50%, 150%); opacity: 0; }
.compare-tray .icon-btn { width: 38px; height: 38px; }
.tray-thumbs { display: flex; }
.tray-thumbs img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--s2); }
.tray-thumbs img + img { margin-left: -12px; }
.tray-label { font-size: 14px; color: var(--muted); white-space: nowrap; }
.tray-label b { color: var(--text); }
.has-mobile-cta .compare-tray { bottom: calc(84px + env(safe-area-inset-bottom)); }
.cmp-wrap { overflow-x: auto; overscroll-behavior-x: contain; border-top: 1px solid var(--line-2); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; table-layout: fixed; }
.cmp th, .cmp td { padding: 14px 14px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp thead th { padding-top: 20px; }
.cmp tbody th { font-weight: 500; color: var(--muted); font-size: 13px; width: 130px; }
.cmp th:first-child { position: sticky; left: 0; background: var(--bg); z-index: 1; }
.cmp-car img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-img); margin-bottom: 12px; }
.cmp-car a { font-weight: 650; font-size: 17px; line-height: 1.25; display: block; }
.cmp-car .meta { display: block; margin-bottom: 3px; }
.cmp-remove { margin-top: 10px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; text-align: left; }
.cmp-remove:hover { color: var(--text); }
.cmp td { font-variant-numeric: tabular-nums; font-weight: 600; overflow-wrap: anywhere; }
.cmp .is-best { color: var(--accent-ink); }
.cmp .is-best::after { content: attr(data-best); display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.cmp-legend { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ---------- editorial / contact / legal ---------- */
.editorial { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.editorial-media { position: relative; aspect-ratio: 3 / 2; max-height: 520px; overflow: hidden; border-radius: var(--r-img); background: var(--s1); }
.editorial-media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.editorial-copy { display: grid; gap: 22px; justify-items: start; }
.editorial-copy p { color: var(--muted); font-size: 16px; max-width: 54ch; }
.principles { border-top: 1px solid var(--line-2); width: 100%; }
.principles div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.principles dt { font-weight: 600; }
.principles dd { color: var(--muted); font-size: 15px; }
.about-title { max-width: 18ch; }
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.about-copy { display: grid; gap: 16px; justify-items: start; }
.about-stage { min-height: clamp(280px, 34vw, 440px); display: grid; place-items: center; overflow: hidden; }
.about-sub { font-size: clamp(18px, 1.6vw, 22px); font-weight: 650; letter-spacing: -0.01em; color: var(--text); margin-top: -4px; }
.about-copy .lead { max-width: 46ch; }
/* "questions or a viewing": the number and the two ways to reach us, in one card */
.ask { width: 100%; max-width: 500px; margin-top: 8px; display: grid; gap: 16px; padding: 18px; background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow); }
.ask-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ask-head small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.ask-num { font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; letter-spacing: -0.01em; text-decoration: none; transition: color 150ms ease; }
.ask-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ask-actions .btn { width: 100%; }
.ask-actions > :only-child { grid-column: 1 / -1; }
@media (hover: hover) and (pointer: fine) { .ask-num:hover { color: var(--accent-ink); } }
/* "where to find us" */
.find-copy { display: grid; gap: 14px; justify-items: start; }
.find-addr { display: flex; align-items: center; gap: 10px; font-size: clamp(18px, 1.6vw, 21px); font-weight: 650; }
.find-addr svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.find-copy .hero-actions { margin-top: 6px; }
.visit-list.is-ruled { gap: 0; border-top: 1px solid var(--line-2); }
.visit-list.is-ruled li { padding: 14px 0; border-bottom: 1px solid var(--line); }
/* layered 3D GAP emblem */
.emblem3d { position: relative; width: clamp(170px, 22vw, 260px); aspect-ratio: 640 / 543; perspective: 1100px; }
.emblem3d-spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: emblem-spin 16s linear infinite; }
.emblem3d-spin img { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: visible;
  transform: translateZ(calc((var(--z) - 7.5) * 1.1px)); filter: brightness(calc(.42 + var(--z) * .04)) saturate(1.1); }
.emblem3d-spin img:last-child, .emblem3d-spin img:first-child { filter: none; }
.emblem3d-floor { position: absolute; left: 10%; right: 10%; bottom: -18%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(197, 162, 83, .35), transparent); filter: blur(6px); animation: emblem-floor 16s linear infinite; }
.emblem3d:hover .emblem3d-spin, .emblem3d:hover .emblem3d-floor { animation-play-state: paused; }
@keyframes emblem-spin { from { transform: rotateX(8deg) rotateY(0deg); } to { transform: rotateX(8deg) rotateY(360deg); } }
@keyframes emblem-floor { 0%, 50%, 100% { transform: scaleX(1); } 25%, 75% { transform: scaleX(.35); } }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; list-style: none; padding: 0; }
.fact { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ic l go" "ic v go"; column-gap: 16px; align-items: center; height: 100%;
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 22px; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.fact-ic { grid-area: ic; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); }
.fact-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact-l { grid-area: l; font-size: 13px; color: var(--muted); align-self: end; }
.fact-v { grid-area: v; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; align-self: start; }
.fact > svg { grid-area: go; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.8; transition: transform 200ms var(--ease-out), stroke 200ms; }
a.fact:hover > svg, a.fact:focus-visible > svg { transform: translateX(3px); stroke: var(--accent-ink); }
.offers { margin-top: clamp(28px, 4vw, 48px); }
.offers .h-md { margin-bottom: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.steps li { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.step-n { font-size: 13px; font-weight: 700; color: var(--accent-ink); }
.steps h3 { font-size: 17px; font-weight: 650; }
.steps p { font-size: 14px; color: var(--muted); }
.find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 1023px) { .about-hero, .find { grid-template-columns: 1fr; } .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) {
  /* phone: the two counts side by side, the price across; steps as compact rows with the number on the left */
  .facts { gap: 10px; margin-top: 16px; }
  .fact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ic" "l" "v"; row-gap: 2px; padding: 14px; }
  .fact > svg { display: none; }
  .fact-ic { width: 38px; height: 38px; margin-bottom: 8px; }
  .fact-ic svg { width: 19px; height: 19px; }
  .fact-v { font-size: 20px; overflow-wrap: anywhere; }
  .steps { grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
  .steps li { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; padding: 16px; }
  .step-n { grid-row: span 2; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); font-size: 12px; }
  .steps h3 { font-size: 16px; align-self: center; }
  .about-stage { min-height: 230px; }
  .ask { padding: 14px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .emblem3d-spin { animation: none; transform: rotateX(8deg) rotateY(-24deg); } .emblem3d-floor { animation: none; } }
.contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.contact-list { border-top: 1px solid var(--line-2); }
.contact-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contact-item dt { font-size: 13px; color: var(--muted); }
.contact-item dd { font-size: 16px; font-weight: 500; overflow-wrap: anywhere; }
.contact-item dd a { transition: color 200ms ease; }
.contact-item dd a:hover { color: var(--accent-ink); }
.hours { display: grid; gap: 4px; }
.hours span { display: flex; justify-content: space-between; gap: 16px; max-width: 320px; }
.contact-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.contact-page .enquiry { position: static; }
.map { margin-top: 28px; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; background: var(--s1); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.map-placeholder { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 20px; text-align: center; color: var(--muted); font-size: 14px; }
.map-placeholder p { max-width: 40ch; }
.map-placeholder svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.5; }
.legal { max-width: 860px; }
.legal-date { margin: 12px 0 32px; }
.prose { max-width: 70ch; display: grid; gap: 14px; color: var(--muted); font-size: 16px; }
.prose section { display: grid; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); margin-top: 10px; }
.prose h2 { color: var(--text); font-size: 18px; font-weight: 650; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
.credits { border-top: 1px solid var(--line-2); }
.credit { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; font-size: 14px; }
.credit img { width: 112px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-img); }
.credit a { text-decoration: underline; text-underline-offset: 2px; color: var(--muted); overflow-wrap: anywhere; }
.credit a:hover { color: var(--text); }
.notfound { min-height: 56vh; display: grid; align-content: center; gap: 20px; justify-items: start; }

/* ---------- footer ---------- */
.footer { background: radial-gradient(70% 90% at 0% 0%, rgba(197, 162, 83, .08), transparent 60%), var(--bg); border-radius: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) 0 0; margin-top: clamp(24px, 4vw, 56px); padding-top: clamp(48px, 6vw, 88px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: clamp(36px, 5vw, 64px); }
.footer-eagle { width: 64px; height: auto; margin-bottom: 12px; }
.footer-tagline { font-size: 12px; color: var(--accent-ink); letter-spacing: .06em; margin-bottom: 14px; }
.footer-lead { font-size: 15px; color: var(--muted); max-width: 30ch; }
.footer-col { display: grid; align-content: start; gap: 9px; font-size: 14px; color: var(--muted); min-width: 0; }
.footer-col h2 { font-size: 13px; color: var(--text); font-weight: 600; margin-bottom: 4px; }
.footer-col a { width: fit-content; max-width: 100%; transition: color 200ms ease; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding: 20px 0 max(24px, env(safe-area-inset-bottom)); font-size: 13px; color: var(--dim); border-top: 1px solid var(--line); }
.footer-bottom strong { color: var(--muted); font-weight: 600; }
.footer-built { flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12px; }
.footer-built a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 41;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,20,20,.88); color: var(--text);
  opacity: 0; pointer-events: none; transform: translateY(14px) scale(.92);
  transition: opacity 250ms ease, transform 400ms var(--ease-out), bottom 450ms var(--ease-drawer);
}
@supports (backdrop-filter: blur(1px)) { .to-top { background: rgba(20,20,20,.6); backdrop-filter: blur(10px); } }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:active { transform: scale(.94); }
.to-top svg { position: absolute; }
.to-top-ring { inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke-width: 1.5; }
.to-top-ring circle { stroke: var(--line-2); }
.to-top-ring .to-top-progress { stroke: var(--accent); stroke-dasharray: 141.4; stroke-dashoffset: 141.4; stroke-linecap: round; }
.to-top-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .to-top:hover .to-top-arrow { transform: translateY(-3px); } }
.has-tray .to-top { bottom: calc(max(20px, env(safe-area-inset-bottom)) + 70px); }
.has-mobile-cta .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); }
.has-mobile-cta.has-tray .to-top { bottom: calc(154px + env(safe-area-inset-bottom)); }

/* ---------- toast / lightbox ---------- */
.toast {
  position: fixed; left: 50%; top: calc(var(--header-h) + 12px); z-index: 70; max-width: min(420px, calc(100vw - 32px));
  padding: 11px 18px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 14px; font-weight: 600; text-align: center;
  opacity: 0; transform: translate(-50%, -10px); pointer-events: none; transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(27, 29, 31, .98); color: var(--text); }
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox[open] { animation: lb-in 260ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lightbox-track::-webkit-scrollbar { display: none; }
.lightbox-track figure { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 64px 12px 92px; }
.lightbox-track img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-ui { position: fixed; left: 0; right: 0; bottom: max(20px, env(safe-area-inset-bottom)); display: flex; justify-content: center; align-items: center; gap: 10px; }
.lightbox-count { font-size: 14px; color: var(--muted); margin-right: 10px; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 22px; }
  .header-cta { display: none; }
  .footer-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-intro { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
  .footer-intro .footer-eagle { grid-row: span 2; margin: 0; }
  .footer-intro .footer-tagline { margin-bottom: 4px; }
}

@media (max-width: 1023px) {
  .nav, .header-actions > .lang { display: none; }
  .menu-btn { display: inline-flex; }
  .section-head, .inv-head { grid-template-columns: 1fr; }
  .inv { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 60; max-height: min(86dvh, 760px);
    background: var(--s1); border-radius: 18px 18px 0 0; padding: 0 var(--gutter); display: flex; flex-direction: column; overflow: hidden;
    transform: translateY(100%); transition: transform 500ms var(--ease-drawer), visibility 0s linear 500ms; visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; transition: transform 500ms var(--ease-drawer), visibility 0s; }
  .filters-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 12px; border-bottom: 1px solid var(--line); }
  .filters-head h2 { font-size: 18px; font-weight: 650; }
  .filters-body { overflow-y: auto; overscroll-behavior: contain; padding: 18px 0; flex: 1; }
  .filters-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px 0 max(12px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity 300ms ease; }
  .filters-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .detail-top, .detail-body { grid-template-columns: 1fr; }
  .panel, .enquiry { position: static; }
  .mobile-cta {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
    padding: 10px var(--gutter) max(10px, env(safe-area-inset-bottom)); background: rgba(37, 40, 43, .94); border-top: 1px solid var(--line);
  }
  .has-mobile-cta .footer-bottom { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  .editorial, .contact-band, .contact-page { grid-template-columns: 1fr; }
  .editorial-media { aspect-ratio: 16 / 10; }
}
@media (min-width: 1024px) { .menu { display: none !important; } }

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .hero { min-height: 540px; max-height: none; height: 100svh; }
  .hero-media { bottom: auto; height: 66%; }
  .hero-media img { object-position: 50% 60%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(250, 250, 249, .6) 0%, rgba(250, 250, 249, 0) 16%),
      linear-gradient(0deg, #F5F5F3 0%, #F5F5F3 36%, rgba(245, 245, 243, .75) 46%, rgba(245, 245, 243, 0) 64%);
  }
  .hero-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 140px; }
  .featured-head { align-items: center; }
  .feat { width: 82vw; }
  .feat-info { flex-direction: column; gap: 6px; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-tile { padding: 22px 10px 18px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-logo-lg { width: 52px; height: 52px; padding: 10px; }
  .model-row { grid-template-columns: minmax(0, 1fr) auto; }
  .model-make { grid-column: 1 / -1; margin-bottom: -10px; font-size: 13px; }
  .search { max-width: none; }
  .filter-toggle { flex: none; }
  .thumb { width: 80px; }
  .gallery-nav .icon-btn[data-gprev], .gallery-nav .icon-btn[data-gnext] { display: none; }
  .spec-table { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-item { grid-template-columns: 1fr; gap: 2px; }
  .credit { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .credit img { width: 80px; }
  .principles div { grid-template-columns: 1fr; gap: 2px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-intro { grid-template-columns: 1fr; }
  .footer-intro .footer-eagle { grid-row: auto; margin-bottom: 10px; }
  .tray-label span { display: none; }
  .section-head { margin-bottom: 22px; }
}

/* compact 2-up vehicle cards on phones */
@media (max-width: 599px) {
  .grid-cars { gap: 12px 10px; }
  .card-body { padding: 10px 10px 12px; gap: 6px; }
  .card-make { font-size: 11px; }
  .card-title { font-size: 14px; line-height: 1.25; }
  .card-specs { font-size: 12px; gap: 0 8px; }
  .card-specs .opt { display: none; }
  .card-specs span + span::before { margin-right: 8px; }
  .card-foot { padding-top: 8px; margin-top: 2px; }
  .price { font-size: 14px; }
  .card-badge { left: 6px; top: 6px; padding: 3px 7px; font-size: 10px; }
  .card-view { display: none; }
  .tool { height: 32px; }
  .tool-fav, .card .tool-cmp { width: 32px; padding: 0; justify-content: center; }
  .card .tool-cmp span { display: none; }
  .tool svg { width: 15px; height: 15px; }
  .hero-facts { gap: 4px 16px; }
}
@media (max-width: 359px) {
  .card-title { font-size: 13px; }
  .price { font-size: 13px; }
  .card .tool-cmp { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .menu-links a { opacity: 1; transform: none; }
  .hero-slide img { transform: none !important; }
}

/* ---------- hover refinements (mouse only) ---------- */
.nav a { padding: 7px 12px; margin: 0 -12px; border-radius: 999px; transition: color 200ms ease, background-color 200ms ease; }
.nav a::after { left: 12px; right: 12px; bottom: 2px; }
.btn, .card, .brand-tile, .feat-media, .fact, .steps li { will-change: auto; }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--text); }
  .btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(37, 40, 43, .14); }
  .btn:active { transform: scale(.97); box-shadow: none; }
  .btn-light:hover { box-shadow: 0 10px 24px rgba(197, 162, 83, .35); }
  .card { transition: border-color 250ms ease, transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(37, 40, 43, .14); }
  .brand-tile:hover { box-shadow: 0 16px 36px rgba(37, 40, 43, .12); }
  .fact, .steps li { transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
  a.fact:hover, .steps li:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37, 40, 43, .12); }
  .lang a:not([aria-current]):hover { background: rgba(37, 40, 43, .06); }
  .theme-dark .lang a:not([aria-current]):hover { background: rgba(245, 245, 243, .08); }
  .logo:hover .logo-mark { color: var(--accent-ink); }
  .logo-mark { transition: color 250ms ease; }
  .feat:hover .feat-title a { color: var(--accent-ink); }
  .feat-title a { transition: color 200ms ease; }
  .icon-btn:not(:disabled):hover { background: rgba(37, 40, 43, .05); }
  .theme-dark .icon-btn:not(:disabled):hover { background: rgba(245, 245, 243, .08); }
}
@media (prefers-reduced-motion: reduce) { .card:hover, .btn:hover, a.fact:hover, .steps li:hover { transform: none; } }

/* ---------- softer grey navigation text ---------- */
.nav a { color: #6A6F75; }
.nav a.is-active, .nav a:hover { color: #3A3E42; }
.menu-links a { color: #62676D; }
.menu-links a svg { stroke: #9BA0A5; }
.menu-links a.is-active { color: var(--accent-ink); }
.menu-btn { color: #4A4E53; }
.menu-foot, .menu-foot > a { color: #62676D; }
.menu-social, .menu-social a { color: #7A7F85; }

/* ---------- homepage: header is transparent over the hero, glass bar appears after it ---------- */
.header::before { transition: opacity 300ms ease; }
.header { transform: none !important; transition: background-color 350ms ease, box-shadow 350ms ease, border-color 350ms ease; }

/* menu eagle: more visible, soft gold glow */
.menu-eagle { opacity: .26 !important; filter: drop-shadow(0 0 18px rgba(197, 162, 83, .55)) drop-shadow(0 0 48px rgba(197, 162, 83, .3)); }
.menu::after { content: ''; position: fixed; right: -10vw; bottom: -4vh; width: min(70vw, 380px); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(197, 162, 83, .22), transparent 70%); z-index: 0; }

/* sections flow into each other: no divider lines between them */
.rule { border-top: 0; }
.related { border-top: 0; }
.footer { border-top: 0; }

/* ---------- inventory controls card: search, brand strip, brand / model / sort ---------- */
.inv-controls {
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow);
  padding: 16px; margin-bottom: 20px; display: grid; gap: 14px; min-width: 0; overflow: hidden;
}
.inv-controls .search input { height: 54px; border-radius: 14px; font-size: 16px; padding-left: 48px; background: var(--bg); }
.inv-controls .search svg { left: 17px; width: 20px; height: 20px; }
.toolbar { display: grid; gap: 10px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.toolbar .select { height: 52px; border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--text); background-color: var(--bg); padding-left: 16px; }
.toolbar .select:disabled { opacity: .5; cursor: not-allowed; }
.toolbar .filter-toggle { height: 52px; border-radius: 14px; font-size: 15px; justify-content: center; position: relative; }
.toolbar .filter-toggle .nav-count { position: absolute; top: -7px; right: -7px; }
.marquee {
  position: relative; overflow: hidden; min-width: 0; margin-inline: -16px; padding: 2px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee var(--dur, 40s) linear infinite; }
.marquee ul { display: flex; gap: 8px; padding-right: 8px; flex: none; }
.marquee-item {
  display: grid; place-items: center; width: 68px; height: 54px; border-radius: 14px;
  border: 1px solid transparent; color: #4A4E53;
  transition: color 200ms ease, border-color 200ms ease, background-color 200ms ease, transform 160ms ease-out;
}
.marquee-item:active { transform: scale(.96); }
.marquee-item.is-active { color: var(--text); border-color: var(--accent); background: var(--accent-soft); }
.marquee-item.is-empty { opacity: .4; }
.marquee-logo { width: 32px; height: 32px; display: grid; place-items: center; }
.marquee-logo svg { width: 100%; height: 100%; fill: currentColor; }
.marquee-initials { font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.marquee.is-paused .marquee-track, .marquee:has(:focus-visible) .marquee-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee-track { animation-play-state: paused; }
  .marquee-item:hover { color: var(--text); background: var(--bg); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 1023px) {
  .toolbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .inv-controls { padding: 12px; gap: 12px; }
  .marquee { margin-inline: -12px; }
  .marquee-item { width: 60px; height: 50px; }
  .marquee-logo { width: 30px; height: 30px; }
  .toolbar { gap: 8px; }
  .toolbar .select { font-size: 14px; padding-left: 14px; padding-right: 34px; background-position: right 10px center; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; }
  .marquee ul[aria-hidden], .marquee li[aria-hidden] { display: none; }
}

/* header: no background at the very top, white glass once the page scrolls */
.header:not(.is-solid) { background: transparent; box-shadow: none; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header:not(.is-solid)::before { opacity: 0; }

/* page-change transition: a white panel with the spinning GAP emblem slides up over the page,
   holds briefly, then slides away upwards. Sits under the header so the header never disappears. */
.loader {
  position: fixed; inset: 0; z-index: 48; display: grid; place-items: center; pointer-events: none;
  background: radial-gradient(60% 50% at 50% 45%, rgba(197, 162, 83, .14), transparent 70%), #FAFAF9;
  transform: translateY(100%); visibility: hidden; transition: none;
  box-shadow: 0 -24px 60px rgba(37, 40, 43, .10);
}
.loader.is-on { visibility: visible; pointer-events: auto; transform: none; transition: transform 440ms cubic-bezier(.77, 0, .175, 1); }
.loader.is-on.is-out { transform: translateY(-100%); transition: transform 560ms cubic-bezier(.77, 0, .175, 1); }
.loader .emblem3d { width: 100px; opacity: 0; transform: translateY(14px) scale(.94); transition: opacity 300ms ease 160ms, transform 500ms var(--ease-out) 120ms; }
.loader.is-on .emblem3d { opacity: 1; transform: none; }
.loader.is-out .emblem3d { opacity: 0; transition-delay: 0s; transition-duration: 200ms; }
.loader .emblem3d-spin, .loader .emblem3d-floor { animation-duration: 2.4s; animation-play-state: paused; }
.loader.is-on .emblem3d-spin, .loader.is-on .emblem3d-floor { animation-play-state: running; }
.loader-bar { position: absolute; left: 50%; top: calc(50% + 82px); width: 120px; height: 2px; border-radius: 2px; background: rgba(37, 40, 43, .1); transform: translateX(-50%); overflow: hidden; }
.loader-bar::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.loader.is-on .loader-bar::after { transform: scaleX(1); transition: transform 760ms cubic-bezier(.77, 0, .175, 1) 200ms; }

/* home "Latest" slider: Veturat cards, 3 visible on desktop, 2 on tablet */
.featured-track { --fgap: clamp(14px, 1.8vw, 24px); gap: var(--fgap); align-items: stretch; padding-block: 6px 14px; }
.feat { display: flex; width: calc((min(var(--max), 100vw - var(--gutter) * 2) - var(--fgap) * 2) / 3); }
.feat > .card { width: 100%; }
@media (max-width: 1023px) { .feat { width: calc((100vw - var(--gutter) * 2 - var(--fgap)) / 2); } }
@media (max-width: 599px) { .feat { width: 78vw; } }

/* Veturat page: very faint photo behind the content; fixed, so only the content scrolls.
   To swap the photo, point --veturat-bg / --veturat-bg-m at other files. */
:root { --veturat-bg: url("/assets/img/bg/veturat-bg-1280.webp"); --veturat-bg-m: url("/assets/img/bg/veturat-bg-m.webp"); }
body[data-route="inventory"]::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--veturat-bg) center 55% / cover no-repeat; opacity: .38;
}
@media (max-width: 767px) { body[data-route="inventory"]::before { background-image: var(--veturat-bg-m); } }

/* Veturat: let the background photo show through the controls card and filter panel */
body[data-route="inventory"] .inv-controls { background: rgba(255, 255, 255, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
body[data-route="inventory"] .filters { background: rgba(232, 234, 236, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
@media (max-width: 1023px) { body[data-route="inventory"] .filters { background: var(--s2); } }

/* ---------- contact page: cards row, then form + map side by side ---------- */
.contact-head { display: grid; gap: 12px; margin-bottom: clamp(22px, 3vw, 36px); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.contact-card {
  height: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-width: 0;
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow);
  transition: border-color 200ms ease, transform 200ms var(--ease-out);
}
.contact-card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .contact-card:hover { border-color: var(--accent-line); transform: translateY(-2px); } }
.contact-card-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); }
.contact-card-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-text { display: grid; gap: 2px; min-width: 0; }
.contact-card-k { font-size: 13px; color: var(--muted); }
.contact-card-v { font-size: 15px; font-weight: 600; color: var(--text); overflow-wrap: anywhere; line-height: 1.3; }
.contact-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.contact-page .map { margin-top: 0; aspect-ratio: auto; min-height: 380px; }
.enquiry .input, .enquiry .select { background-color: var(--bg); }
@media (max-width: 1023px) {
  .contact-page { grid-template-columns: 1fr; }
  .contact-page .map { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 599px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .contact-cards > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .contact-cards > li:last-child:nth-child(odd) .contact-card { flex-direction: row; align-items: center; }
  .contact-card { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .contact-card-icon { width: 38px; height: 38px; }
  .contact-card-v { font-size: 14px; }
  .contact-page .map { aspect-ratio: 4 / 3; }
}
/* contact cards: fit five in a row on desktop without breaking words */
@media (min-width: 600px) {
  .contact-card { padding: 14px 16px; gap: 12px; }
  .contact-card-icon { width: 40px; height: 40px; }
}
.contact-card-v { overflow-wrap: break-word; }
@media (min-width: 1200px) { .contact-cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .contact-card-v { font-size: 14.5px; } }

/* card tags: solid gold with graphite text */
.card-badge { background: var(--accent); color: #1F2225; font-weight: 650; letter-spacing: .01em; box-shadow: 0 4px 12px rgba(37, 40, 43, .18); }
@supports (backdrop-filter: blur(1px)) { .card-badge { background: var(--accent); backdrop-filter: none; } }

/* comparison on phones: no sideways scroll. Cars are columns that fit the screen and stay pinned
   under the header; each spec gets its own label line with the values for every car below it. */
@media (max-width: 767px) {
  .cmp-wrap { overflow: visible; border-top: 0; }
  .cmp { display: block; min-width: 0; table-layout: auto; }
  .cmp thead, .cmp tbody { display: block; }
  .cmp tr { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: 10px; }
  .cmp th:first-child { position: static; }
  .cmp thead { position: sticky; top: var(--header-h); z-index: 5; background: var(--bg); padding: 8px 0 10px; border-bottom: 1px solid var(--line-2); box-shadow: 0 10px 18px -14px rgba(37, 40, 43, .25); }
  .cmp thead th:first-child { display: none; }
  .cmp thead th { padding: 0; border: 0; }
  .cmp-car img { margin-bottom: 6px; border-radius: 10px; }
  .cmp-car .meta { font-size: 11px; margin-bottom: 1px; }
  .cmp-car a { font-size: 14px; line-height: 1.2; overflow-wrap: anywhere; }
  .cmp-remove { margin-top: 4px; font-size: 12px; }
  .cmp tbody tr { padding: 12px 0; row-gap: 6px; border-bottom: 1px solid var(--line); }
  .cmp tbody th { grid-column: 1 / -1; width: auto; padding: 0; border: 0; font-size: 12px; }
  .cmp td { padding: 0; border: 0; font-size: 14px; }
  .cmp .is-best::after { font-size: 10px; }
}

/* home: contact section uses the same cards as the contact page */
.contact-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(22px, 3vw, 36px); }
.contact-head-row .contact-head { margin-bottom: 0; }
.home-contact .contact-cards { margin-bottom: 0; }
@media (max-width: 599px) { .contact-head-row > .btn { width: 100%; justify-content: center; } }

/* phone card: tap to choose Call or WhatsApp */
.contact-cards > li { position: relative; }
.contact-card-phone { display: block; padding: 0; }
.contact-card-phone:active { transform: none; }
.contact-card-main {
  display: flex; align-items: center; gap: 12px; width: 100%; height: 100%; padding: 14px 16px; text-align: left;
  font: inherit; color: inherit; background: none; border: 0; border-radius: inherit; cursor: pointer;
  transition: transform 160ms ease-out;
}
.contact-card-main:active { transform: scale(.98); }
.contact-card-more { margin-left: auto; flex: none; width: 18px; height: 18px; display: grid; place-items: center; color: var(--muted); transition: transform 200ms var(--ease-out); }
.contact-card-more svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-card-phone.is-open { border-color: var(--accent); }
.contact-card-phone.is-open .contact-card-more { transform: rotate(180deg); color: var(--accent-ink); }
.contact-choices {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; display: grid; gap: 6px; padding: 8px;
  background: var(--s1); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(37, 40, 43, .16);
  transform-origin: top center; animation: choices-in 180ms var(--ease-out);
}
.contact-choices .btn { width: 100%; justify-content: flex-start; }
@keyframes choices-in { from { opacity: 0; transform: translateY(-4px) scale(.97); } }
@media (max-width: 599px) {
  .contact-card-main { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .contact-card-more { position: absolute; top: 14px; right: 12px; }
}

/* contact cards on phones: icon and title on one line, value below */
@media (max-width: 599px) {
  .contact-card, .contact-card-main {
    display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon k" "v v";
    align-items: center; column-gap: 10px; row-gap: 10px;
  }
  .contact-card-phone { display: block; padding: 0; }
  .contact-card-text { display: contents; }
  .contact-card-icon { grid-area: icon; width: 34px; height: 34px; }
  .contact-card-icon svg { width: 17px; height: 17px; }
  .contact-card-k { grid-area: k; font-size: 13px; font-weight: 600; color: var(--text); }
  .contact-card-v { grid-area: v; }
  .contact-card-more { position: static; grid-area: k; justify-self: end; }
  .contact-cards > li:last-child:nth-child(odd) .contact-card { display: grid; }
}

/* soft open/close: phone choice and photo gallery animate both ways */
.contact-choices {
  animation: none; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px) scale(.97);
  transition: opacity 180ms ease, transform 260ms var(--ease-out), visibility 0s linear 260ms;
}
.contact-card-phone.is-open .contact-choices {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity 200ms ease, transform 300ms var(--ease-out), visibility 0s;
}
.contact-card-phone { transition: border-color 250ms ease, box-shadow 250ms ease; }
.lightbox[open] { animation: lb-in 300ms var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.985); } }
.lightbox.is-closing { animation: lb-out 240ms ease forwards; }
@keyframes lb-out { to { opacity: 0; transform: scale(.985); } }
@media (prefers-reduced-motion: reduce) { .contact-choices, .contact-card-phone.is-open .contact-choices { transition: none; transform: none; } }

/* vehicle gallery as a carousel: glass arrows on the sides, counter + fullscreen on top, gold dots below */
.gallery-stage { background: #E9EAEB; box-shadow: var(--shadow); }
.gallery-slide { overflow: hidden; }
.gallery-slide img { transform: scale(1.06); transition: transform 900ms var(--ease-out), opacity 400ms ease; }
.gallery-slide.is-active img { transform: scale(1); }
.g-arrow, .g-full {
  position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%;
  background: rgba(250, 250, 249, .78); color: var(--text); border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 8px 24px rgba(37, 40, 43, .18);
  backdrop-filter: blur(10px) saturate(1.4); -webkit-backdrop-filter: blur(10px) saturate(1.4);
  transition: transform 200ms var(--ease-out), background-color 200ms ease, opacity 200ms ease;
}
.g-arrow { top: 50%; width: 50px; height: 50px; transform: translateY(-50%); }
.g-prev { left: 16px; }
.g-next { right: 16px; }
.g-arrow svg, .g-full svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-arrow:active { transform: translateY(-50%) scale(.93); }
.g-full { top: 14px; right: 14px; width: 42px; height: 42px; }
.g-full svg { width: 18px; height: 18px; }
.g-full:active { transform: scale(.93); }
@media (hover: hover) and (pointer: fine) {
  .g-arrow { opacity: .85; }
  .gallery-stage:hover .g-arrow { opacity: 1; }
  .g-arrow:hover, .g-full:hover { background: #FFFFFF; }
  .g-prev:hover { transform: translateY(-50%) translateX(-2px); }
  .g-next:hover { transform: translateY(-50%) translateX(2px); }
}
.gallery-stage .gallery-count {
  position: absolute; z-index: 2; top: 14px; left: 14px; padding: 7px 13px; border-radius: 999px;
  background: rgba(250, 250, 249, .78); color: var(--text); font-size: 13px; font-weight: 600;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(37, 40, 43, .14);
}
.gallery-dots {
  position: absolute; z-index: 2; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: flex; gap: 6px; padding: 7px 10px; border-radius: 999px;
  background: rgba(37, 40, 43, .32); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gallery-dots:empty { display: none; }
.gallery-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .6); transition: width 300ms var(--ease-out), background-color 250ms ease; }
.gallery-dots button[aria-current="true"] { width: 24px; background: var(--accent); }
.gallery-dots button { position: relative; }
.gallery-dots button::before { content: ''; position: absolute; inset: -8px -3px; } /* larger tap area */
@media (max-width: 599px) {
  .g-arrow { width: 40px; height: 40px; }
  .g-prev { left: 10px; } .g-next { right: 10px; }
  .g-arrow svg { width: 18px; height: 18px; }
  .g-full { top: 10px; right: 10px; width: 38px; height: 38px; }
  .gallery-stage .gallery-count { top: 10px; left: 10px; }
  .gallery-dots { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .gallery-slide img { transform: none; transition: none; } }
.g-arrow[hidden] { display: none; }

/* vehicle specifications as tiles: gold icon, small label, bold value */
.spec-table { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; column-gap: 10px; }
.spec-table > div {
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "ic k" "ic v";
  align-items: center; justify-content: stretch; column-gap: 12px; row-gap: 2px;
  padding: 14px; border: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 14px;
  background: var(--s1); box-shadow: var(--shadow);
  transition: border-color 200ms ease, transform 200ms var(--ease-out);
}
.spec-table .spec-ic { grid-area: ic; width: 38px; height: 38px; padding: 9px; border-radius: 10px; background: var(--accent-soft); stroke: var(--accent-ink); }
.spec-table dt { grid-area: k; display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.spec-table dd { grid-area: v; text-align: left; font-size: 15px; font-weight: 650; color: var(--text); line-height: 1.3; }
@media (hover: hover) and (pointer: fine) { .spec-table > div:hover { border-color: var(--accent-line); transform: translateY(-1px); } }
@media (max-width: 767px) {
  .spec-table { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .spec-table > div { padding: 12px; column-gap: 10px; }
  .spec-table .spec-ic { width: 34px; height: 34px; padding: 8px; }
  .spec-table dd { font-size: 14px; }
}

/* enquiry form: first + last name stay side by side on phones too */
.field-row.field-row-keep { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* price / mileage filters: typed values above the slider */
.range-values { align-items: center; gap: 6px; margin-bottom: 12px; }
.range-dash { flex: none; color: var(--dim); }
.range-in { position: relative; flex: 1 1 0; min-width: 0; }
.range-in .input { height: 40px; padding: 0 28px 0 10px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; background: var(--s1); border-radius: 10px; }
.range-unit { position: absolute; right: 10px; top: 50%; translate: 0 -50%; font-size: 12px; font-weight: 600; color: var(--muted); pointer-events: none; }
@media (max-width: 1023px) { .range-in .input { font-size: 16px; height: 44px; } } /* 16px: no zoom on iPhone */

/* vehicle equipment: tiles with a gold check */
.extras-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.extras-list li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; min-width: 0;
  background: var(--s1); border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 600; line-height: 1.3;
}
.extras-list svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); fill: none; stroke: var(--accent-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.extras-list span { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 767px) { .extras-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .extras-list li { padding: 10px 12px; font-size: 13px; } }

/* car cards: taller photo and more generous text */
.card-media { aspect-ratio: 4 / 3; }
.card-body { padding: 20px 20px 20px; gap: 12px; }
.card-make { font-size: 13.5px; }
.card-title { font-size: clamp(18px, 1.55vw, 22px); }
.card-specs { font-size: 14.5px; gap: 4px 12px; }
.price { font-size: clamp(19px, 1.65vw, 23px); font-weight: 700; }
.card-foot { padding-top: 16px; }
@media (max-width: 599px) {
  .card-media { aspect-ratio: 4 / 3.4; }
  .card-body { padding: 12px 12px 14px; gap: 8px; }
  .card-make { font-size: 11.5px; }
  .card-title { font-size: 15px; }
  .card-specs { font-size: 12.5px; gap: 2px 8px; }
  .price { font-size: 15.5px; }
  .card-foot { padding-top: 10px; }
}
@media (max-width: 359px) { .card-title { font-size: 14px; } .price { font-size: 14px; } }

/* options filter: first 8 visible, the rest behind "Show all"; a checked option always stays visible */
.chips-collapsible:not(.is-open) .chip-more:not(:has(input:checked)) { display: none; }
.chips-toggle { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.chips-toggle:hover { color: var(--text); }

/* while typing in a field, the fixed bars at the bottom slide away */
.mobile-cta { transition: transform 350ms var(--ease-drawer), opacity 250ms ease; }
body.is-typing .compare-tray { transform: translate(-50%, 150%); opacity: 0; pointer-events: none; }
body.is-typing .mobile-cta { transform: translateY(110%); opacity: 0; pointer-events: none; }
body.is-typing .to-top { opacity: 0; transform: translateY(12px); pointer-events: none; }
/* contact map: always visible */
.contact-page .map iframe { filter: grayscale(.35) contrast(1.02); }

/* discounts: current price, old price crossed out, percentage on the photo */
.price-wrap { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; min-width: 0; }
.price-old { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration-thickness: 1.5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-discount {
  position: absolute; right: 10px; top: 10px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  background: #B4382B; color: #fff; font-size: 12px; font-weight: 700; box-shadow: 0 4px 12px rgba(180, 56, 43, .3);
}
.panel-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.panel-price-row .price-old { font-size: 17px; }
.save-pill { padding: 4px 10px; border-radius: 999px; background: rgba(180, 56, 43, .1); color: #9A2E22; font-size: 13px; font-weight: 700; }
@media (max-width: 599px) {
  .card-discount { right: 6px; top: 6px; padding: 3px 7px; font-size: 10px; }
  .price-old { font-size: 11.5px; }
}

/* offers, brand logo next to the make, VIN */
.card-badge.card-offer { background: #25282B; color: #fff; }
.card-offer-until { font-size: 12px; font-weight: 600; color: var(--accent-ink); margin-top: -2px; }
.offer-box { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r-ctl); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.offer-box .spec-ic { flex: none; width: 22px; height: 22px; stroke: var(--accent-ink); }
.offer-box strong { display: block; font-size: 14px; }
.offer-box span { display: block; font-size: 13px; color: var(--muted); }
.make-ic { width: 14px; height: 14px; flex: none; fill: currentColor; opacity: .75; }
.card-make, .panel-make > a { display: inline-flex; align-items: center; gap: 6px; }
.panel-make .make-ic { width: 16px; height: 16px; }
.panel-vin { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--muted); padding: 10px 0 0; border-top: 1px solid var(--line); }
.panel-vin .spec-ic { width: 18px; height: 18px; stroke: var(--accent); }
.panel-vin strong { color: var(--text); font-weight: 650; letter-spacing: .06em; overflow-wrap: anywhere; }
/* footer: language switch stays on the copyright line */
.footer-legal { display: flex; align-items: center; gap: 8px 18px; min-width: 0; }
.footer-legal .footer-copy { min-width: 0; }
.footer-legal .lang { flex: none; }

/* home: all-vehicles button */
.featured-foot { display: flex; justify-content: center; }
.btn-all { gap: 10px; padding-right: 14px; }
.btn-all svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform 200ms var(--ease-out); }
.btn-all:hover svg { transform: translateX(3px); }
.btn-count { display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(31, 34, 37, .14); font-size: 12px; font-weight: 700; }
/* home: 7 makes + a dashed circle in the 8th spot ("+N" more makes, or "All") */
.brand-grid-home { grid-template-columns: repeat(8, minmax(0, 1fr)); }
@media (max-width: 1100px) { .brand-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.brand-all-cell { display: grid; place-items: center; min-height: 140px; }
.brand-all { width: min(132px, 100%); aspect-ratio: 1; border-radius: 50%; border: 2px dashed var(--accent); color: var(--accent-ink);
  display: grid; place-content: center; justify-items: center; gap: 2px; padding: 12px; text-align: center; text-decoration: none;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.brand-all-n { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.brand-all-t { font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.brand-all-only { font-size: 15px; font-weight: 700; }
.brand-all:active { transform: scale(.97); }
.brand-all:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .brand-all:hover { background: var(--accent-soft); border-style: solid; } }
@media (max-width: 599px) {
  .brand-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-all-cell { min-height: 0; }
  .brand-all { width: min(120px, 100%); }
  .brand-all-n { font-size: 26px; }
}
/* home: visit section */
.visit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; width: 100%; }
.visit-list li { display: flex; align-items: center; gap: 14px; }
.visit-ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--accent-line); background: rgba(197, 162, 83, .1); }
.visit-ic svg { width: 19px; height: 19px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.visit-list small { display: block; font-size: 12px; color: var(--muted); }
.visit-list a { font-weight: 600; text-decoration: none; }
.visit-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.editorial-copy .hero-actions { margin-top: 4px; }

/* header at the very top (no background, over the light welcome photo): dark text so the menu stays readable */
.header:not(.is-solid) .nav a { color: #1F2225; text-shadow: 0 0 14px rgba(255, 255, 255, .7); }
.header:not(.is-solid) .menu-btn, .header:not(.is-solid) .logo-mark { color: #1F2225; }
.header:not(.is-solid) .lang a:not([aria-current]) { color: #1F2225; }
.header:not(.is-solid) .lang { border-color: rgba(31, 34, 37, .28); background: rgba(255, 255, 255, .35); }
