@font-face {
  font-family: 'Trek Movie';
  src: url('../fonts/Trek-Movie.ttf.woff') format('woff');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat Regular';
  src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* =============================================================================
   SPEEDY CAR SALES — Design System
   Dark luxury automotive aesthetic · gold/metallic accents · red performance cue
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg:        #0B1120;
  --bg-2:      #0F1626;
  --surface:   #141d2e;
  --surface-2: #1a2438;
  --surface-3: #212c45;

  /* Lines */
  --line:   rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.14);

  /* Text */
  --text:   #F8FAFC;
  --text-2: #C9D2E0;
  --muted:  #93A0B5;

  /* Accents */
  --gold:      #D4AF37;
  --gold-2:    #C9A227;
  --gold-soft: rgba(212,175,55,0.12);
  --gold-line: rgba(212,175,55,0.35);
  --gold-grad: linear-gradient(135deg, #F6E7A0 0%, #D4AF37 42%, #B5902A 78%, #8A6C18 100%);
  --red:       #E23B4E;
  --green-wa:  #25D366;

  /* Effects */
  --shadow:    0 18px 50px -18px rgba(0,0,0,0.7);
  --shadow-sm: 0 10px 30px -14px rgba(0,0,0,0.65);
  --radius:    16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Type */
  --font-body: 'Montserrat Regular', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-head: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t:    0.35s var(--ease);

  /* Layout */
  --container: 1240px;
  --nav-h: 64px;
}

/* ----------------------------------------------------------------- Reset */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea, button { font: inherit; color: inherit; }

::selection { background: var(--gold); color: #1a1408; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #2a364f; border-radius: 8px; border: 2px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #36456a; }

/* ------------------------------------------------------------ Typography */
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p  { color: var(--text-2); }

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-line); }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--gold-line); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-2); }
.text-gold { color: var(--gold); }
.text-red  { color: var(--red); }
.muted     { color: var(--muted); }
.serif     { font-family: var(--font-head); }
.center    { text-align: center; }
.mx-auto   { margin-left: auto; margin-right: auto; }
.maxw-60   { max-width: 60ch; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.container-tight { max-width: 940px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section-sm { padding: clamp(40px, 5vw, 64px) 0; }
.bg-2 { background: var(--bg-2); }
.bg-surface { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { margin-top: 14px; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.gap-sm { gap: 16px; }

.divider-gold { width: 64px; height: 3px; border-radius: 3px; background: var(--gold-grad); }

/* -------------------------------------------------------------- Buttons */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  border: var(--bw) solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold-grad); color: #20180a; box-shadow: 0 10px 26px -10px rgba(212,175,55,0.6); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(212,175,55,0.7); }

.btn-outline { border-color: var(--line-2); color: var(--text); background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-dark { background: var(--surface-2); color: var(--text); border-color: var(--line); }
.btn-dark:hover { background: var(--surface-3); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--text-2); padding-inline: 12px; }
.btn-ghost:hover { color: var(--gold); }

.btn-wa { background: var(--green-wa); color: #06340f; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(37,211,102,0.6); }

.btn-lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ----------------------------------------------------------- Badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255,255,255,0.08); color: var(--text); backdrop-filter: blur(4px);
}
.badge-gold { background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-line); }
.badge-red  { background: rgba(226,59,78,0.14); color: #ff7283; box-shadow: inset 0 0 0 1px rgba(226,59,78,0.4); }
.badge-outline { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-2); }

/* ============================================================ TOP BAR */
.topbar {
  background: #070b14;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--text-2);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; padding-block: 6px; max-width: none; padding-inline: clamp(20px, 3vw, 56px); }
.topbar a { transition: color var(--t); }
.topbar a:hover { color: var(--gold); }
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item svg { width: 15px; height: 15px; color: var(--gold); flex: none; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-wa { display: inline-flex; align-items: center; gap: 7px; background: var(--green-wa); color: #06340f; padding: 5px 13px; border-radius: 999px; font-weight: 700; }
.topbar-wa:hover { color: #06340f; transform: translateY(-1px); }
.topbar-wa svg { width: 15px; height: 15px; }

/* ============================================================== NAVBAR */
.nav {
  position: sticky; top: 0; z-index: 70;
  background: rgba(11,17,32,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.nav.scrolled { background: rgba(8,12,22,0.94); box-shadow: 0 10px 30px -18px rgba(0,0,0,0.9); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; max-width: none; padding-inline: clamp(20px, 3vw, 56px); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 14px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-2);
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 999px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  color: var(--text-2); transition: all var(--t);
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold-line); background: var(--gold-soft); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-cta { margin-left: 4px; }
.hamburger { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); z-index: 95;
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; padding: 22px; overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer a.drawer-link {
  display: block; padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; font-weight: 500;
  color: var(--text-2); border-bottom: 1px solid var(--line);
}
.drawer a.drawer-link:hover, .drawer a.drawer-link.active { color: var(--gold); }
.drawer-footer { margin-top: auto; padding-top: 20px; display: grid; gap: 10px; }
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(3,6,12,0.66);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.overlay.show { opacity: 1; visibility: visible; }

/* ============================================================== HERO */
.hero {
  position: relative; min-height: clamp(560px, 88vh, 880px);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    url('../img/speedy-showroom-hero-fixed.jpeg'),
    linear-gradient(135deg, #0d1424, #060912);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,10,20,0.10) 0%, rgba(6,10,20,0.18) 38%, rgba(6,10,20,0.46) 100%),
    radial-gradient(70% 65% at 50% 42%, rgba(8,15,35,0.82) 0%, rgba(8,15,35,0.72) 30%, rgba(8,15,35,0.54) 50%, rgba(8,15,35,0.30) 68%, rgba(8,15,35,0.12) 80%, rgba(8,15,35,0.00) 100%),
    linear-gradient(90deg, rgba(8,15,35,0.00) 0%, rgba(8,15,35,0.05) 12%, rgba(8,15,35,0.18) 22%, rgba(8,15,35,0.42) 34%, rgba(8,15,35,0.60) 44%, rgba(8,15,35,0.68) 50%, rgba(8,15,35,0.60) 56%, rgba(8,15,35,0.42) 66%, rgba(8,15,35,0.18) 78%, rgba(8,15,35,0.05) 88%, rgba(8,15,35,0.00) 100%),
    radial-gradient(120% 80% at 70% 25%, rgba(212,175,55,0.10), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(5,10,22,0.00) 64%, rgba(5,10,22,0.82) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; padding-block: 90px; text-align: center; margin-inline: auto; }
.hero h1 { margin: 18px 0 20px; text-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.hero h1 .text-gold { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: clamp(0.92rem, 1.35vw, 1.08rem); max-width: 58ch; margin: 0 auto 32px; text-shadow: 0 4px 16px rgba(0,0,0,0.45); }
.hero .btn-row { margin-bottom: 30px; justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; color: var(--muted); font-size: 0.86rem; }
.hero-meta div { display: flex; align-items: center; gap: 8px; }
.hero-meta strong { color: var(--text); font-size: 1.3rem; font-family: var(--font-head); }

/* Inner page hero */
.page-hero {
  position: relative; padding: clamp(70px, 12vw, 150px) 0 clamp(40px, 6vw, 70px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(6,10,20,0.20) 0%, rgba(6,10,20,0.40) 38%, rgba(6,10,20,0.60) 80%),
    
    linear-gradient(90deg, rgba(8,15,35,0.00) 0%, rgba(8,15,35,0.05) 12%, rgba(8,15,35,0.18) 22%, rgba(8,15,35,0.42) 34%, rgba(8,15,35,0.60) 44%, rgba(8,15,35,0.68) 50%, rgba(8,15,35,0.60) 56%, rgba(8,15,35,0.42) 66%, rgba(8,15,35,0.18) 78%, rgba(8,15,35,0.05) 88%, rgba(8,15,35,0.00) 100%),
   
    var(--hero-img, none),
    linear-gradient(135deg, #0e1626, #070b14);
  background-size: cover;
  background-position: var(--hero-pos, center center);
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,10,22,0.00) 64%, rgba(5,10,22,0.82) 100%);
}
.page-hero h1 { margin: 16px 0 14px; text-shadow: 0 10px 30px rgba(0,0,0,0.45); }
.page-hero p { max-width: 62ch; text-shadow: 0 4px 16px rgba(0,0,0,0.45); }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 6px; }
.breadcrumb a:hover { color: var(--gold); }

/* ============================================================= TRUST BAR */
.trustbar { border-block: 1px solid var(--line); background: var(--bg-2); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; padding-block: 26px; }
.trust-item { display: flex; align-items: center; gap: 13px; flex: 1 1 200px; }
.trust-item .ti-icon {
  width: 46px; height: 46px; border-radius: 12px; flex: none;
  display: grid; place-items: center; background: var(--gold-soft); color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold-line);
}
.trust-item .ti-icon svg { width: 22px; height: 22px; }
.trust-item strong { display: block; font-size: 0.96rem; }
.trust-item span { font-size: 0.8rem; color: var(--muted); }

/* ============================================================ CAR CARD */
.car-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.car-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-line); }
.car-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.car-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.car-card:hover .car-media img { transform: scale(1.06); }
.car-media .badge-stack { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; max-width: 80%; }

/* Image loading: shimmer skeleton + fade-in so a slow/retrying image shows a
   clean loading state instead of the browser's broken-image icon + alt text.
   Scoped to html.js so images still display normally when JavaScript is off. */
@keyframes scs-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
html.js .car-media, html.js .gallery-main, html.js .gthumb {
  background: linear-gradient(110deg, #131c2d 25%, #1b2640 50%, #131c2d 75%);
  background-size: 200% 100%; animation: scs-shimmer 1.5s ease-in-out infinite;
}
html.js .car-media img, html.js .gallery-main img, html.js .gthumb img {
  opacity: 0; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
}
html.js .car-media img.is-loaded, html.js .gallery-main img.is-loaded, html.js .gthumb img.is-loaded { opacity: 1; }
html.js .media-done { animation: none; background: var(--surface-2); }
@media (prefers-reduced-motion: reduce) { html.js .car-media, html.js .gallery-main, html.js .gthumb { animation: none; } }
.car-fav {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px;
  background: rgba(8,12,22,0.6); border: 1px solid var(--line-2); color: #fff; display: grid; place-items: center;
  backdrop-filter: blur(6px); transition: all var(--t);
}
.car-fav:hover { color: var(--red); border-color: var(--red); }
.car-fav svg { width: 17px; height: 17px; }
.car-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.car-title { font-family: var(--font-head); font-size: 1.22rem; line-height: 1.2; margin-bottom: 2px; }
.car-title a:hover { color: var(--gold); }
.car-sub { font-size: 0.82rem; color: var(--muted); margin-bottom: 12px; }
.car-price { font-size: 1.45rem; font-weight: 700; color: var(--gold); font-family: var(--font-head); margin-bottom: 14px; }
.car-price small { font-size: 0.72rem; color: var(--muted); font-weight: 400; font-family: var(--font-body); }

.spec-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; padding: 14px 0; border-top: 1px solid var(--line); margin-bottom: 14px; }
.spec { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-2); }
.spec svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.car-actions { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.car-actions .btn { padding-inline: 14px; }

/* ========================================================= FEATURE CARDS */
.feature-card {
  padding: 30px 26px; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); transition: transform var(--t), border-color var(--t), background var(--t);
  height: 100%;
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--gold-line); background: var(--surface-2); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-soft); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-line);
}
.feature-icon svg { width: 27px; height: 27px; }
.feature-card h3 { margin-bottom: 8px;}
.feature-card p { font-size: 0.94rem; }

/* ============================================================== STATS */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { text-align: center; padding: 24px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat .num { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; color: var(--gold); line-height: 1; }
.stat .lbl { font-size: 0.84rem; color: var(--muted); margin-top: 8px; }

/* ========================================================= SPLIT / LEGACY */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.media-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--surface-2);
}
.media-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.media-frame.tall img { aspect-ratio: 3/4; }
.media-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(8,12,22,0.78); backdrop-filter: blur(8px); border: 1px solid var(--gold-line);
  border-radius: 12px; padding: 14px 16px;
}
.media-badge strong { color: var(--gold); display: block; font-family: var(--font-head); }
.media-badge span { font-size: 0.82rem; color: var(--text-2); }

/* ========================================================= TESTIMONIALS */
.testi-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; height: 100%; display: flex; flex-direction: column; }
.testi-card:hover { border-color: var(--gold-line); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); margin-bottom: 14px; }
.stars svg { width: 17px; height: 17px; }
.testi-quote { font-family: var(--font-head); font-size: 1.08rem; line-height: 1.5; color: var(--text); margin-bottom: 18px; flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 999px; background: var(--gold-grad); color: #20180a; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); flex: none; }
.testi-author strong { display: block; font-size: 0.95rem; }
.testi-author span { font-size: 0.8rem; color: var(--muted); }

/* ============================================================== CTA BAND */
.cta-band {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(100% 130% at 80% 0%, rgba(212,175,55,0.2), transparent 55%),
    linear-gradient(135deg, #15203a, #0b1120);
  border: 1px solid var(--gold-line); text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 56ch; margin: 0 auto 28px; }

/* ============================================================== FOOTER */
.footer { background: #070b14; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--gold); margin-bottom: 18px; }
.footer-brand img { height: 46px; margin-bottom: 16px; }
.footer p, .footer li { font-size: 0.9rem; color: var(--muted); }
.footer-links li { margin-bottom: 11px; }
.footer-links a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }
.newsletter-form { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.newsletter-form input { flex: 1; min-width: 0; padding: 12px 15px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); }
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); transition: all var(--t); }
.social-row a:hover { color: var(--gold); border-color: var(--gold-line); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 0.82rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 18px; }

/* ============================================================== FLOATING */
.float-wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 999px; background: var(--green-wa); color: #06340f;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,0.55);
  animation: wa-pulse 2.6s infinite;
}
.float-wa svg { width: 30px; height: 30px; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,0.4); } 50% { box-shadow: 0 12px 30px -8px rgba(37,211,102,0.55), 0 0 0 12px rgba(37,211,102,0); } }
.back-top {
  position: fixed; right: 22px; bottom: 88px; z-index: 79; width: 46px; height: 46px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--t);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { color: var(--gold); border-color: var(--gold-line); }
.back-top svg { width: 20px; height: 20px; }

/* ============================================================== MODAL */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(3,6,12,0.74); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transform: translateY(16px) scale(0.98); transition: transform var(--t);
}
.modal.open .modal-card { transform: translateY(0) scale(1); }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 26px 6px; }
.modal-head h3 { font-size: 1.35rem; }
.modal-head p { font-size: 0.86rem; margin-top: 4px; }
.modal-body { padding: 16px 26px 26px; }
.modal-close { width: 38px; height: 38px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); display: grid; place-items: center; flex: none; transition: all var(--t); }
.modal-close:hover { color: var(--red); border-color: var(--red); }
.modal-close svg { width: 18px; height: 18px; }

/* search modal */
.search-modal { align-items: flex-start; padding-top: 14vh; }
.search-box { width: 100%; max-width: 640px; }
.search-box form { display: flex; gap: 10px; }
.search-box input { flex: 1; padding: 18px 22px; font-size: 1.1rem; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--gold-line); }
.search-box input:focus { outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.search-suggest { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.search-suggest a { font-size: 0.82rem; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--text-2); }
.search-suggest a:hover { color: var(--gold); border-color: var(--gold-line); }

/* ============================================================== TOAST */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; width: min(92vw, 420px); }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 12px;
  background: var(--surface-2); border: 1px solid var(--gold-line); box-shadow: var(--shadow);
  animation: toast-in 0.4s var(--ease); font-size: 0.92rem;
}
.toast .t-icon { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); flex: none; }
.toast .t-icon svg { width: 16px; height: 16px; }
.toast.toast-out { animation: toast-out 0.35s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(16px); } }

/* ============================================================== FORMS */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; margin-bottom: 7px; color: var(--text-2); }
.field label .req { color: var(--red); }
.input, .field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text);
  transition: border-color var(--t), box-shadow var(--t); font-size: 0.95rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft);
}
.field input::placeholder, .field textarea::placeholder { color: #5d6a82; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2393A0B5' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field.error input, .field.error select, .field.error textarea { border-color: var(--red); }
.field .err-msg { display: none; color: #ff7283; font-size: 0.78rem; margin-top: 6px; }
.field.error .err-msg { display: block; }

.file-drop { border: 1.5px dashed var(--line-2); border-radius: var(--radius-sm); padding: 22px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color var(--t), background var(--t); }
.file-drop:hover { border-color: var(--gold-line); background: var(--gold-soft); }
.file-drop svg { width: 26px; height: 26px; color: var(--gold); margin: 0 auto 8px; }
.file-list { margin-top: 10px; font-size: 0.82rem; color: var(--text-2); }

.form-success {
  display: none; text-align: center; padding: 30px 24px;
  border: 1px solid var(--gold-line); border-radius: var(--radius); background: var(--gold-soft);
}
.form-success.show { display: block; animation: toast-in 0.4s var(--ease); }
.form-success .fs-icon { width: 60px; height: 60px; border-radius: 999px; background: var(--gold-grad); color: #20180a; display: grid; place-items: center; margin: 0 auto 16px; }
.form-success .fs-icon svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 8px; }
.consent { font-size: 0.78rem; color: var(--muted); }

/* alert (server-side flash) */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.9rem; }
.alert-success { background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--text); }
.alert-error { background: rgba(226,59,78,0.12); border: 1px solid rgba(226,59,78,0.4); color: #ffb3bc; }

/* ========================================================= SHOWROOM */
.showroom-layout { display: grid; grid-template-columns: 290px 1fr; gap: 30px; align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 18px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; max-height: calc(100vh - var(--nav-h) - 32px); overflow-y: auto; scrollbar-gutter: stable; }
.filters::-webkit-scrollbar { width: 9px; }
.filters::-webkit-scrollbar-thumb { background: #2a364f; border-radius: 8px; border: 2px solid var(--surface); }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.filters-head h3 { font-family: var(--font-body); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em; }
.filters-head .modal-close { display: none; }
.filter-group { padding: 18px 0; border-top: 1px solid var(--line); }
.filter-group:first-of-type { border-top: none; }
.filter-group > label.fg-title { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 12px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.9rem; color: var(--text-2); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--gold); flex: none; }
.check:hover { color: var(--text); }
.check .count { margin-left: auto; font-size: 0.76rem; color: var(--muted); }
.range-row { display: flex; gap: 10px; }
.range-row .field { flex: 1; margin: 0; }
.range-val { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-top: 8px; }
input[type="range"] { width: 100%; accent-color: var(--gold); }

.showroom-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.result-count { font-size: 0.92rem; color: var(--text-2); }
.result-count strong { color: var(--gold); }
.toolbar-right { display: flex; align-items: center; gap: 10px; }
.toolbar-right select { width: auto; padding-block: 10px; }
.filter-toggle { display: none; }
.search-inline { position: relative; margin-bottom: 18px; }
.search-inline input { width: 100%; padding: 13px 15px 13px 44px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line-2); color: var(--text); font-size: 0.95rem; appearance: none; -webkit-appearance: none; transition: border-color var(--t), box-shadow var(--t); }
.search-inline input::placeholder { color: #5d6a82; }
.search-inline input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }
.search-inline svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line); }
.chip button { background: none; border: none; color: inherit; display: grid; place-items: center; }
.chip svg { width: 13px; height: 13px; }
.no-results { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* Searchable multi-select (Make) */
.ms { position: relative; }
.ms-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 13px; border-radius: var(--radius-sm); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); cursor: pointer; font-size: 0.92rem; transition: border-color var(--t), color var(--t); }
.ms-toggle:hover { border-color: var(--gold-line); }
.ms.has-selection .ms-toggle { border-color: var(--gold-line); color: var(--gold); }
.ms-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-caret { flex: none; color: var(--muted); transition: transform var(--t); }
.ms-toggle[aria-expanded="true"] .ms-caret { transform: rotate(180deg); }
.ms-panel { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; }
.ms-search { position: relative; margin-bottom: 6px; }
.ms-search svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--muted); }
.ms-search input { width: 100%; padding: 9px 10px 9px 32px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); }
.ms-search input:focus { outline: none; border-color: var(--gold); }
.ms-options { max-height: 240px; overflow-y: auto; }
.ms-option { padding: 7px 6px; }
.ms-empty { padding: 12px 6px; color: var(--muted); font-size: 0.85rem; text-align: center; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 38px; }
.pagination .page-link { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; gap: 4px; justify-content: center; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 0.9rem; font-weight: 600; transition: transform var(--t), border-color var(--t), color var(--t), background var(--t); }
.pagination .page-link svg { width: 15px; height: 15px; }
.pagination .page-link:hover { border-color: var(--gold-line); color: var(--gold); transform: translateY(-2px); }
.pagination .page-link.page-current { background: var(--gold-grad); color: #20180a; border-color: transparent; }
.pagination .page-link.disabled { opacity: 0.4; pointer-events: none; }

/* ===================================================== VEHICLE DETAIL */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 36px; align-items: start; }
.detail-layout > * { min-width: 0; }
.gallery-main { display: block; width: 100%; min-width: 0; max-width: 100%; padding: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); position: relative; cursor: zoom-in; box-sizing: border-box; }
.gallery-main img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery-main:hover img { transform: scale(1.03); }
.gallery-main .badge-stack { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.gallery-zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 999px; background: rgba(8,12,22,0.6); border: 1px solid var(--line-2); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); transition: background var(--t), color var(--t); }
.gallery-main:hover .gallery-zoom { background: var(--gold); color: #20180a; border-color: transparent; }
.gallery-zoom svg { width: 18px; height: 18px; }
.gallery-counter { position: absolute; bottom: 14px; right: 14px; background: rgba(8,12,22,0.72); border: 1px solid var(--line); color: #fff; font-size: 0.8rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.gallery-thumbs .gthumb { flex: 0 0 112px; aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; padding: 0; background: var(--surface-2); cursor: pointer; transition: border-color var(--t); scroll-snap-align: start; }
.gallery-thumbs .gthumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .gthumb.active, .gallery-thumbs .gthumb:hover { border-color: var(--gold); }

/* Full-screen lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(4,7,14,0.94); backdrop-filter: blur(4px); opacity: 0; transition: opacity var(--t); }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-stage { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; }
.lb-stage img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: var(--shadow); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-2); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t); }
.lb-nav:hover { background: var(--gold); color: #20180a; border-color: transparent; }
.lb-nav svg { width: 24px; height: 24px; }
.lb-prev { left: 18px; }
.lb-prev svg { transform: rotate(180deg); }
.lb-next { right: 18px; }
.lb-close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid var(--line-2); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background var(--t), border-color var(--t); }
.lb-close:hover { background: var(--red); border-color: transparent; }
.lb-close svg { width: 20px; height: 20px; }
.lb-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; background: rgba(255,255,255,0.08); border: 1px solid var(--line-2); padding: 6px 16px; border-radius: 999px; }
@media (max-width: 600px) { .lb-nav { width: 44px; height: 44px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

.detail-title { margin-bottom: 6px; }
.detail-price { font-family: var(--font-head); font-size: 2rem; color: var(--gold); font-weight: 700; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.spec-table th { color: var(--muted); font-weight: 500; width: 45%; }
.spec-table td { color: var(--text); font-weight: 600; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 18px; }
.feature-list li { display: flex; align-items: center; gap: 9px; font-size: 0.92rem; color: var(--text-2); }
.feature-list svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

.buy-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.buy-box .bb-price { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); font-weight: 700; }
.buy-box .bb-from { font-size: 0.84rem; color: var(--muted); margin-bottom: 18px; }
.buy-box .btn { margin-bottom: 10px; }

/* Finance calculator */
.finance { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.finance h4 { font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; color: var(--gold); }
.finance .field { margin-bottom: 13px; }
.finance-result { margin-top: 16px; padding: 18px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--gold-line); text-align: center; }
.finance-result .fr-amount { font-family: var(--font-head); font-size: 1.9rem; color: var(--gold); font-weight: 700; }
.finance-result .fr-label { font-size: 0.78rem; color: var(--muted); }
.finance-note { font-size: 0.72rem; color: var(--muted); margin-top: 12px; }

/* ============================================================== STEPS */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-num { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-grad); color: #20180a; display: grid; place-items: center; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; }

/* ============================================================ TIMELINE */
.timeline { position: relative; max-width: 820px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--gold-line), transparent); }
.timeline-item { position: relative; padding: 0 0 36px 64px; }
.timeline-item::before { content: ""; position: absolute; left: 13px; top: 4px; width: 18px; height: 18px; border-radius: 999px; background: var(--gold-grad); box-shadow: 0 0 0 5px var(--bg); }
.timeline-year { font-family: var(--font-head); font-size: 1.4rem; color: var(--gold); font-weight: 700; }
.timeline-item h3 { font-size: 1.1rem; margin: 4px 0 8px; }
.timeline-item p { font-size: 0.94rem; }

/* ============================================================== MASONRY */
.masonry { columns: 3; column-gap: 16px; }
.masonry-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--surface-2); }
.masonry-item img { width: 100%; display: block; transition: transform 0.6s var(--ease); }
.masonry-item:hover img { transform: scale(1.05); }
.masonry-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 14px 12px; background: linear-gradient(transparent, rgba(6,9,18,0.9)); font-size: 0.82rem; }

/* ============================================================== TEAM */
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform var(--t), border-color var(--t); }
.team-card:hover { transform: translateY(-5px); border-color: var(--gold-line); }
.team-photo { aspect-ratio: 4/5; overflow: hidden; background: var(--surface-2); position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card:not(.feature) .team-photo img { object-position: center top; }
.team-info { padding: 20px; }
.team-info h3 { font-size: 1.2rem; }
.team-role { color: var(--gold); font-size: 0.84rem; font-weight: 600; margin-bottom: 10px; }
.team-info p { font-size: 0.88rem; }
.team-card.feature { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.team-card.feature .team-photo { aspect-ratio: auto; height: 100%; }

/* value cards */
.value-list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.value-list .vl-icon { width: 42px; height: 42px; border-radius: 11px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--gold-line); }
.value-list .vl-icon svg { width: 20px; height: 20px; }
.value-list strong { display: block; }
.value-list p { font-size: 0.88rem; }

/* contact cards */
.contact-card { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color var(--t), transform var(--t); }
.contact-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.contact-card .cc-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1px var(--gold-line); }
.contact-card .cc-icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 5px; }
.contact-card a, .contact-card p { font-size: 0.96rem; color: var(--text); }
.contact-card a:hover { color: var(--gold); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; filter: grayscale(0.2) contrast(1.05); }

/* prose */
.prose p { margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin: 28px 0 12px; }

/* ============================================================ REVEAL */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }

/* skip link + a11y */
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--gold); color: #20180a; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

body.no-scroll { overflow: hidden; }

/* Default size for inline icons (overridden by more specific component rules) */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.18em; }

/* ========================================================= RESPONSIVE */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-card.feature { grid-column: span 2; }
}
@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: inline-flex; }
  .showroom-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(88vw, 360px); border-radius: 0; z-index: 95; transform: translateX(100%); transition: transform 0.4s var(--ease); overflow-y: auto; max-height: 100vh; }
  .filters.open { transform: translateX(0); }
  .filters-head .modal-close { display: grid; }
  .filter-toggle { display: inline-flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .buy-box { position: static; }
  .masonry { columns: 2; }
}
@media (max-width: 820px) {
  .grid-3, .grid-4, .car-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .topbar-left .hide-mobile { display: none; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .car-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .stats, .steps { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 1; }
  .team-card.feature { grid-column: span 1; grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left { gap: 12px; }
  .topbar .topbar-item.hide-sm { display: none; }
  .hero-meta { gap: 18px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .btn-row .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

.page-hero-showroom { --hero-img: url('../img/red1.png'); }
.page-hero-about { --hero-img: url('../img/d3d3.jpg'); }


/* Center all inner page hero content and buttons */
.page-hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-inline: auto;
}
.page-hero p,
.page-hero .lead {
  margin-left: auto;
  margin-right: auto;
}
.page-hero .btn-row,
.page-hero .hero-actions {
  justify-content: center;
}
.page-hero .breadcrumb {
  justify-content: center;
}

/* =============================================== WHY SPEEDY BACKGROUND */
.why-speedy-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.why-speedy-section .container {
  position: relative;
  z-index: 2;
}
.why-speedy-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,14,30,0.24), rgba(8,14,30,0.34)),
    radial-gradient(75% 75% at 50% 38%, rgba(8,15,35,0.18), rgba(8,15,35,0.04) 62%, rgba(8,15,35,0) 100%),
    url('../img/why-speedy.jpg') center center / cover no-repeat;
  background-attachment: fixed;
}
.why-speedy-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5,10,22,0.02), rgba(5,10,22,0.12));
}
.why-speedy-section .feature-card:hover {
  background: #2C2E2F;
  border-color: rgba(255,255,255,0.16);
}
.why-speedy-section .feature-icon {
  background: rgba(208,171,53,0.12);
  color: #D0AB35;
  box-shadow: inset 0 0 0 1px rgba(208,171,53,0.45);
}
.why-speedy-section .feature-icon svg {
  color: #D0AB35;
}
.why-speedy-section .feature-card:hover .feature-icon {
  background: rgba(208,171,53,0.14);
  color: #D0AB35;
  box-shadow: inset 0 0 0 1px rgba(208,171,53,0.55);
}
.why-speedy-section .feature-card:hover .feature-icon svg {
  color: #D0AB35;
}
@media (max-width: 900px) {
  .why-speedy-bg { background-attachment: scroll; }
}

/* FINAL FIX: Why Speedy section hover colours and 20% image overlay */
.why-speedy-section .why-speedy-bg {
  background:
    linear-gradient(180deg, rgba(9,12,23,0.70), rgba(9,12,23,0.70)),
    url('../img/why-speedy.jpg') center center / cover no-repeat !important;
  background-attachment: fixed !important;
}
.why-speedy-section::after {
  background: none !important;
}
.why-speedy-section .feature-card,
.why-speedy-section .feature-card.in {
  background: #141D2E;
}
.why-speedy-section .feature-card:hover,
.why-speedy-section .feature-card.in:hover {
  background: #2C2E2F !important;
  border-color: rgba(208,171,53,0.45) !important;
}
.why-speedy-section .feature-icon,
.why-speedy-section .feature-card:hover .feature-icon,
.why-speedy-section .feature-card.in:hover .feature-icon {
  background: rgba(208,171,53,0.12) !important;
  color: #D0AB35 !important;
  box-shadow: inset 0 0 0 1px rgba(208,171,53,0.55) !important;
}
.why-speedy-section .feature-icon svg,
.why-speedy-section .feature-card:hover .feature-icon svg,
.why-speedy-section .feature-card.in:hover .feature-icon svg,
.why-speedy-section .feature-icon .ic,
.why-speedy-section .feature-card:hover .feature-icon .ic,
.why-speedy-section .feature-card.in:hover .feature-icon .ic {
  color: #D0AB35 !important;
  stroke: currentColor !important;
}
@media (max-width: 900px) {
  .why-speedy-section .why-speedy-bg { background-attachment: scroll !important; }
}

/* FINAL OVERRIDE: Why Speedy card hover colours */
.why-speedy-section .feature-card:hover,
.why-speedy-section .feature-card.in:hover {
  background: #cfab35a0 !important;
  border-color: #CFAA35 !important;
}
.why-speedy-section .feature-card:hover .feature-icon,
.why-speedy-section .feature-card.in:hover .feature-icon {
  color: #0B1120 !important;
  background: rgba(11,17,32,0.10) !important;
  box-shadow: inset 0 0 0 1px rgba(11,17,32,0.35) !important;
}
.why-speedy-section .feature-card:hover .feature-icon svg,
.why-speedy-section .feature-card.in:hover .feature-icon svg,
.why-speedy-section .feature-card:hover .feature-icon .ic,
.why-speedy-section .feature-card.in:hover .feature-icon .ic {
  color: #0B1120 !important;
  stroke: currentColor !important;
}

/* FINAL OVERRIDE: Why Speedy card hover text colour */
.why-speedy-section .feature-card:hover,
.why-speedy-section .feature-card.in:hover,
.why-speedy-section .feature-card:hover h3,
.why-speedy-section .feature-card.in:hover h3,
.why-speedy-section .feature-card:hover p,
.why-speedy-section .feature-card.in:hover p,
.why-speedy-section .feature-card:hover span,
.why-speedy-section .feature-card.in:hover span,
.why-speedy-section .feature-card:hover a,
.why-speedy-section .feature-card.in:hover a {
  color: #ffffff !important;
}

.stats-bg {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background-image:
    linear-gradient(
      rgba(9, 12, 23, 0.55),
      rgba(9, 12, 23, 0.55)
    ),
    url("../img/aboutbackcta.jpg") !important;

  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}




.stats-bg .container {
  position: relative;
  z-index: 2;
}
/* =====================================================================
   EXECUTIVE EXOTIC SHOWROOM REFINEMENT
   Warmer luxury palette, less blue, more premium depth. Images/layout unchanged.
   ===================================================================== */
:root {
  --bg:        #0A0A09;
  --bg-2:      #11100D;
  --surface:   #1A1712;
  --surface-2: #211D16;
  --surface-3: #2B251A;
  --line:      rgba(207,170,53,0.14);
  --line-2:    rgba(245,241,232,0.14);
  --text:      #F7F2E8;
  --text-2:    #D7CFC0;
  --muted:     #AAA08D;
  --gold:      #CFAA35;
  --gold-2:    #A98625;
  --gold-soft: rgba(207,170,53,0.12);
  --gold-line: rgba(207,170,53,0.34);
  --gold-grad: linear-gradient(135deg, #F2E3A2 0%, #CFAA35 42%, #9F7A21 78%, #6F5316 100%);
  --shadow:    0 26px 70px -28px rgba(0,0,0,0.84);
  --shadow-sm: 0 14px 36px -20px rgba(0,0,0,0.74);
}

html, body {
  background:
    radial-gradient(900px 520px at 18% -10%, rgba(207,170,53,0.075), transparent 60%),
    radial-gradient(900px 620px at 110% 12%, rgba(245,241,232,0.035), transparent 60%),
    linear-gradient(180deg, #121d45 0%, #080807 100%) !important;
  color: var(--text) !important;
}

.bg-2,
.bg-surface,
section.bg-2 {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.018), rgba(0,0,0,0.10)),
    linear-gradient(135deg, #13110E 0%, #0D0D0B 100%) !important;
}

.section {
  position: relative;
}
.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207,170,53,0.18), transparent);
  pointer-events: none;
}

/* Typography polish */
h1, h2, h3, h4 {
  color: var(--text);
  letter-spacing: -0.018em;
}
p, .lead { color: var(--text-2); }
.eyebrow {
  color: var(--gold) !important;
  letter-spacing: 0.32em;
  font-weight: 700;
}
.eyebrow::before,
.eyebrow.center::after {
  background: linear-gradient(90deg, transparent, var(--gold), transparent) !important;
  opacity: 0.85;
}

/* Header/nav: less blue, more showroom */
.topbar,
.footer {
  background: #070706 !important;
  border-color: rgba(207,170,53,0.14) !important;
}
.nav {
  background: rgba(10,10,9,0.78) !important;
  border-bottom: 1px solid rgba(207,170,53,0.16) !important;
  box-shadow: 0 12px 38px -28px rgba(0,0,0,0.95);
}
.nav.scrolled {
  background: rgba(8,8,7,0.96) !important;
  box-shadow: 0 18px 42px -28px rgba(0,0,0,1) !important;
}
.nav-links a {
  color: #D5CCBA !important;
}
.nav-links a:hover,
.nav-links a.active {
  color: #FFF7E8 !important;
}

/* Hero overlays: cinematic, warm, not blue-heavy */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(6,6,5,0.18) 0%, rgba(6,6,5,0.34) 48%, rgba(6,6,5,0.62) 100%),
    radial-gradient(70% 62% at 50% 42%, rgba(10,10,9,0.78), rgba(10,10,9,0.44) 52%, rgba(10,10,9,0.12) 100%),
    radial-gradient(110% 70% at 70% 20%, rgba(207,170,53,0.12), transparent 60%) !important;
}
.hero::after,
.page-hero::after {
  background: linear-gradient(180deg, rgba(8,8,7,0.00) 60%, rgba(8,8,7,0.86) 100%) !important;
}
.page-hero::before {
  background:
    linear-gradient(180deg, rgba(6,6,5,0.18), rgba(6,6,5,0.54)),
    radial-gradient(74% 70% at 50% 42%, rgba(9,9,8,0.76), rgba(9,9,8,0.42) 60%, rgba(9,9,8,0.10) 100%),
    radial-gradient(120% 80% at 70% 25%, rgba(207,170,53,0.13), transparent 64%) !important;
}

/* Premium panels and cards */
.car-card,
.feature-card,
.testi-card,
.stat,
.value-card,
.step-card,
.contact-card,
.team-card,
.service-card,
.info-card,
.filter-panel,
.modal,
.drawer,
.search-panel,
.ms-panel {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012)),
    linear-gradient(135deg, #1A1712 0%, #11100D 100%) !important;
  border: 1px solid rgba(207,170,53,0.15) !important;
  box-shadow: 0 18px 42px -30px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}
.car-card:hover,
.feature-card:hover,
.testi-card:hover,
.stat:hover,
.value-card:hover,
.step-card:hover,
.contact-card:hover,
.team-card:hover,
.service-card:hover,
.info-card:hover {
  border-color: rgba(207,170,53,0.46) !important;
  box-shadow: 0 28px 68px -36px rgba(0,0,0,1), 0 0 0 1px rgba(207,170,53,0.10), inset 0 1px 0 rgba(255,255,255,0.06) !important;
}

.car-card {
  border-radius: 18px !important;
}
.car-media {
  background: #080807 !important;
}
.car-media img {
  filter: saturate(1.02) contrast(1.03);
}
.car-title a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: var(--gold) !important;
}
.car-price,
.stat .num {
  color: var(--gold) !important;
  text-shadow: 0 8px 28px rgba(207,170,53,0.12);
}
.spec,
.car-sub,
.stat .lbl,
.testi-meta,
.footer p,
.footer li {
  color: var(--muted) !important;
}

/* Buttons: refined, not loud */
.btn {
  box-shadow: none;
}
.btn-gold {
  color: #171108 !important;
  background: var(--gold-grad) !important;
  box-shadow: 0 14px 34px -18px rgba(207,170,53,0.72), inset 0 1px 0 rgba(255,255,255,0.45) !important;
}
.btn-gold:hover {
  box-shadow: 0 20px 46px -18px rgba(207,170,53,0.82), inset 0 1px 0 rgba(255,255,255,0.55) !important;
}
.btn-dark,
.btn-outline {
  background: rgba(245,241,232,0.045) !important;
  border-color: rgba(207,170,53,0.18) !important;
  color: #F5F1E8 !important;
}
.btn-dark:hover,
.btn-outline:hover {
  background: rgba(207,170,53,0.10) !important;
  border-color: rgba(207,170,53,0.45) !important;
  color: #F8E7A8 !important;
}
.btn-wa {
  filter: saturate(0.92) brightness(0.96);
}

/* Stats and CTA: executive showroom blocks */
.stats {
  gap: 26px !important;
}
.stat {
  padding: 30px 18px !important;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(207,170,53,0.08), transparent 50%),
    linear-gradient(145deg, #211D16 0%, #11100D 100%) !important;
}
.cta-band,
.cta-panel {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(207,170,53,0.13), transparent 58%),
    linear-gradient(135deg, #211D16 0%, #10100E 58%, #090908 100%) !important;
  border: 1px solid rgba(207,170,53,0.30) !important;
  box-shadow: 0 28px 80px -44px rgba(0,0,0,1), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

/* Inventory/filter controls */
input, select, textarea,
.search-input,
.filter-input {
  background: #11100D !important;
  border-color: rgba(207,170,53,0.18) !important;
  color: var(--text) !important;
}
input:focus, select:focus, textarea:focus,
.search-input:focus,
.filter-input:focus {
  border-color: rgba(207,170,53,0.55) !important;
  box-shadow: 0 0 0 3px rgba(207,170,53,0.10) !important;
}

/* Badges and icons */
.badge-gold,
.feature-icon,
.step-icon {
  background: rgba(207,170,53,0.70) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(207,170,53,0.36) !important;
}
.badge-red {
  background: rgba(167,51,44,0.70) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(167,51,44,0.34) !important;
}

/* Why Speedy: keep hover special but warmer */
.why-speedy-section .why-speedy-bg {
  filter: saturate(0.92) contrast(1.02);
}
.why-speedy-section .feature-card,
.why-speedy-section .feature-card.in {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)),
    linear-gradient(135deg, #1A1712 0%, #11100D 100%) !important;
}
.why-speedy-section .feature-card:hover,
.why-speedy-section .feature-card.in:hover {
  background: #CFAA35 !important;
  border-color: rgba(255,255,255,0.35) !important;
}
.why-speedy-section .feature-card:hover h3,
.why-speedy-section .feature-card.in:hover h3,
.why-speedy-section .feature-card:hover p,
.why-speedy-section .feature-card.in:hover p,
.why-speedy-section .feature-card:hover span,
.why-speedy-section .feature-card.in:hover span {
  color: #0B1120 !important;
}
.why-speedy-section .feature-card:hover .feature-icon,
.why-speedy-section .feature-card.in:hover .feature-icon,
.why-speedy-section .feature-card:hover .feature-icon svg,
.why-speedy-section .feature-card.in:hover .feature-icon svg {
  color: #0B1120 !important;
  stroke: currentColor !important;
}

/* Footer polish */
.footer-bottom {
  border-color: rgba(207,170,53,0.14) !important;
}
::-webkit-scrollbar-track { background: #0A0A09; }
::-webkit-scrollbar-thumb { background: #3A2F1C; border-color: #0A0A09; }
::-webkit-scrollbar-thumb:hover { background: #5B4620; }








/* FINAL FIX: Stats section background image */
section.stats-bg,
.stats-bg.bg-2,
section.stats-bg.bg-2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background:
    linear-gradient(rgba(9, 12, 23, 0.55), rgba(9, 12, 23, 0.55)),
    url("../img/back2.jpg") center center / cover no-repeat !important;
}

.stats-bg .container {
  position: relative;
  z-index: 2;
}

/* FINAL FIX: McLaren CTA background */
.cta-band.mclaren-cta-bg {
  background:
    linear-gradient(rgba(9, 12, 23, 0.80), rgba(9, 12, 23, 0.80)),
    url("../img/McLaren-P15-2.jpg") center center / cover no-repeat !important;
}



.nav {
  background: rgba(11, 14, 25, 0.88) !important;
}

.nav.scrolled {
  background: rgba(11, 14, 25, 0.68) !important;
}

/* Trek Movie font applied only to website headings and heading-style titles */
h1, h2, h3, h4, h5, h6,
.car-title,
.detail-title,
.section-head h2,
.hero h1,
.page-hero h1,
.feature-card h3,
.step h3,
.timeline-item h3,
.team-info h3,
.cta-band h2,
.prose h2,
.prose h3,
.modal-head h3,
.form-success h3 {
  font-family: 'Trek Movie', var(--font-head) !important;
}


/* =========================================================
   GLOBAL FEATURE CARD STYLE MATCH
   Applies the index.html Why Speedy feature-card / feature-card.in
   style and hover treatment to feature cards on every page.
========================================================= */
.feature-card,
.feature-card.in {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)),
    linear-gradient(135deg, #1A1712 0%, #11100D 100%) !important;
  border: 1px solid rgba(207,170,53,0.15) !important;
  box-shadow: 0 18px 42px -30px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.04) !important;
  transition: transform var(--t), border-color var(--t), background var(--t), box-shadow var(--t), color var(--t) !important;
}

.feature-card:hover,
.feature-card.in:hover {
  background: #CFAA35 !important;
  border-color: rgba(255,255,255,0.35) !important;
  box-shadow: 0 28px 68px -36px rgba(0,0,0,1), 0 0 0 1px rgba(207,170,53,0.10), inset 0 1px 0 rgba(255,255,255,0.06) !important;
  transform: translateY(-5px) !important;
}

.feature-card:hover,
.feature-card.in:hover,
.feature-card:hover h3,
.feature-card.in:hover h3,
.feature-card:hover p,
.feature-card.in:hover p,
.feature-card:hover span,
.feature-card.in:hover span,
.feature-card:hover a,
.feature-card.in:hover a {
  color: #0B1120 !important;
}

.feature-card:hover .feature-icon,
.feature-card.in:hover .feature-icon,
.feature-card:hover .feature-icon svg,
.feature-card.in:hover .feature-icon svg,
.feature-card:hover .feature-icon .ic,
.feature-card.in:hover .feature-icon .ic {
  color: #0B1120 !important;
  stroke: currentColor !important;
}

/* =========================================================
   SELL PAGE STEP CARD STYLE MATCH
   Applies the same premium feature-card / feature-card.in
   style and hover treatment to the sell.html step / step.in blocks.
========================================================= */
body[data-page="sell"] .step,
body[data-page="sell"] .step.in {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.012)),
    linear-gradient(135deg, #1A1712 0%, #11100D 100%) !important;
  border: 1px solid rgba(207,170,53,0.15) !important;
  box-shadow: 0 18px 42px -30px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.04) !important;
  transition: transform var(--t), border-color var(--t), background var(--t), box-shadow var(--t), color var(--t) !important;
}

body[data-page="sell"] .step:hover,
body[data-page="sell"] .step.in:hover {
  background: #CFAA35 !important;
  border-color: rgba(255,255,255,0.35) !important;
  box-shadow: 0 28px 68px -36px rgba(0,0,0,1), 0 0 0 1px rgba(207,170,53,0.10), inset 0 1px 0 rgba(255,255,255,0.06) !important;
  transform: translateY(-5px) !important;
}

body[data-page="sell"] .step:hover,
body[data-page="sell"] .step.in:hover,
body[data-page="sell"] .step:hover h3,
body[data-page="sell"] .step.in:hover h3,
body[data-page="sell"] .step:hover p,
body[data-page="sell"] .step.in:hover p,
body[data-page="sell"] .step:hover span,
body[data-page="sell"] .step.in:hover span,
body[data-page="sell"] .step:hover a,
body[data-page="sell"] .step.in:hover a {
  color: #0B1120 !important;
}

body[data-page="sell"] .step:hover .step-num,
body[data-page="sell"] .step.in:hover .step-num {
  background: rgba(11,17,32,0.14) !important;
  color: #0B1120 !important;
  box-shadow: inset 0 0 0 1px rgba(11,17,32,0.20) !important;
}




.topbar-wa {
   display: inline-flex;
  align-items: center;
  gap: 8px;
}

.topbar-wa-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: inline-block;
}

.topbar-wa:hover {
  color: #ffffff !important;
}

/* WhatsApp logo image icons */
.whatsapp-logo-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  flex: 0 0 20px;
  vertical-align: middle;
}
.btn .whatsapp-logo-icon,
.footer-social .whatsapp-logo-icon {
  width: 20px;
  height: 20px;
}

/* =========================================================
   HERO BOTTOM GAP FIX
   Extends the hero dark overlay slightly past the bottom edge so the
   thin uncovered image/line under each hero section is no longer visible.
========================================================= */
.hero,
.page-hero {
  margin-bottom: -1px !important;
  border-bottom: 0 !important;
}

.hero::after,
.page-hero::after {
  inset: 0 0 -3px 0 !important;
  background: linear-gradient(180deg, rgba(8,8,7,0.00) 55%, rgba(8,8,7,0.96) 100%) !important;
}

.hero + *,
.page-hero + * {
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
}

/* =========================================================
   HERO BOTTOM SPACING UPDATE
   Adds extra bottom padding so every hero section has balanced
   spacing above and below the content on all pages.
========================================================= */
.hero-inner {
  padding-top: clamp(90px, 10vw, 130px) !important;
  padding-bottom: clamp(120px, 12vw, 170px) !important;
}

.page-hero {
  padding-top: clamp(70px, 12vw, 150px) !important;
  padding-bottom: clamp(70px, 12vw, 150px) !important;
}

@media (max-width: 720px) {
  .hero-inner {
    padding-top: 86px !important;
    padding-bottom: 120px !important;
  }

  .page-hero {
    padding-top: 82px !important;
    padding-bottom: 82px !important;
  }
}

/* =========================================================
   HERO TEXT SPACING BALANCE
   Balances the empty space above and below the hero text area
   across the home page and all inner page hero sections.
========================================================= */
.hero {
  align-items: stretch !important;
}

.hero > .hero-inner,
.hero .hero-inner {
  min-height: inherit !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding-top: clamp(130px, 13vw, 190px) !important;
  padding-bottom: clamp(130px, 13vw, 190px) !important;
  box-sizing: border-box !important;
}

.page-hero {
  padding-top: clamp(100px, 12vw, 150px) !important;
  padding-bottom: clamp(100px, 12vw, 150px) !important;
}

.page-hero > .container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

@media (max-width: 720px) {
  .hero > .hero-inner,
  .hero .hero-inner {
    padding-top: 110px !important;
    padding-bottom: 110px !important;
  }

  .page-hero {
    padding-top: 95px !important;
    padding-bottom: 95px !important;
  }
}

/* =========================================================
   INNER HERO HEIGHT + CENTERING UPDATE
   Applies the full screen hero height to all inner pages only.
   This does NOT affect index.html because the home page uses .hero.
========================================================= */
.page-hero {
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: clamp(90px, 8vw, 120px) !important;
  padding-bottom: clamp(90px, 8vw, 120px) !important;
  box-sizing: border-box !important;
}

.page-hero > .container {
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

.page-hero h1,
.page-hero p,
.page-hero .lead,
.page-hero .eyebrow,
.page-hero .breadcrumb {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-hero .btn-row,
.page-hero .hero-actions,
.page-hero .actions {
  justify-content: center !important;
  align-items: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 720px) {
  .page-hero {
    min-height: 100vh !important;
    padding-top: 90px !important;
    padding-bottom: 90px !important;
  }
}

/* CUSTOM CAR ICON IMAGE */
img.car-icon-img {
  width: 40px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: middle;
}

.btn:not(.btn-gold):not(.btn-wa) img.car-icon-img {
  filter: brightness(0) invert(1);
}

/* =========================================================
   INNER HERO HEIGHT REDUCTION - V1.9
   Reduces all inner page hero sections by 25% in height.
   The home page hero (.hero on index.html) is not affected.
========================================================= */
.page-hero {
  min-height: 75vh !important;
  padding-top: clamp(68px, 6vw, 90px) !important;
  padding-bottom: clamp(68px, 6vw, 90px) !important;
}

@media (max-width: 720px) {
  .page-hero {
    min-height: 75vh !important;
    padding-top: 68px !important;
    padding-bottom: 68px !important;
  }
}




.page-hero {
  display: flex;
  align-items: center;
}

.page-hero .container,
.page-hero-content,
.page-hero__content {
  transform: translateY(-40px);
}

/* Page hero eyebrow line effect - applied to all inner pages, not index.html home hero */
.page-hero .eyebrow,
.page-hero .hero-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  width: auto !important;
  color: #c9a227 !important;
  text-align: center !important;
}

.page-hero .eyebrow::before,
.page-hero .eyebrow::after,
.page-hero .hero-eyebrow::before,
.page-hero .hero-eyebrow::after {
  content: "" !important;
  display: inline-block !important;
  width: 45px !important;
  height: 2px !important;
  flex: 0 0 45px !important;
  background: #c9a227 !important;
}

@media (max-width: 600px) {
  .page-hero .eyebrow,
  .page-hero .hero-eyebrow {
    gap: 12px !important;
    letter-spacing: 0.2em !important;
  }

  .page-hero .eyebrow::before,
  .page-hero .eyebrow::after,
  .page-hero .hero-eyebrow::before,
  .page-hero .hero-eyebrow::after {
    width: 28px !important;
    flex-basis: 28px !important;
  }
}

/* =========================================================
   MOBILE RESPONSIVE POLISH - V1.10 MOBILE FRIENDLY
   Desktop stays unchanged. These overrides only apply to
   tablets and phones so the normal PC version still works as is.
========================================================= */
@media (max-width: 1100px) {
  .nav-links,
  .nav-cta {
    display: none !important;
  }

  .hamburger {
    display: inline-flex !important;
  }

  .nav .container,
  .topbar .container {
    padding-inline: clamp(16px, 4vw, 28px) !important;
  }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  .container,
  .container-tight {
    max-width: 100% !important;
    padding-inline: 18px !important;
  }

  .section {
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  .section-sm {
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }

  .topbar .container {
    min-height: auto !important;
    justify-content: center !important;
    gap: 10px !important;
    padding-block: 8px !important;
  }

  .topbar-left {
    justify-content: center !important;
    gap: 12px !important;
  }

  .topbar-right {
    display: none !important;
  }

  .nav .container {
    min-height: 64px !important;
    gap: 10px !important;
  }

  .brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .brand img {
    height: auto !important;
    width: min(190px, 54vw) !important;
    max-height: 42px !important;
  }

  .nav-actions {
    flex: 0 0 auto !important;
    gap: 8px !important;
  }

  .icon-btn {
    width: 40px !important;
    height: 40px !important;
  }

  .drawer {
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    padding: 20px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  .drawer-head img {
    width: min(190px, 58vw) !important;
    height: auto !important;
  }

  .drawer a.drawer-link {
    padding: 13px 0 !important;
    font-size: 1rem !important;
  }

  .hero,
  .page-hero {
    min-height: auto !important;
    overflow: hidden !important;
  }

  .hero > .hero-inner,
  .hero .hero-inner {
    min-height: calc(100svh - 104px) !important;
    padding: 86px 18px 72px !important;
  }

  .page-hero {
    min-height: 62svh !important;
    padding: 74px 0 68px !important;
  }

  .page-hero .container,
  .page-hero-content,
  .page-hero__content {
    transform: none !important;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.02em !important;
    max-width: 11ch;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  h2 {
    font-size: clamp(1.65rem, 7vw, 2.35rem) !important;
    line-height: 1.12 !important;
  }

  h3 {
    font-size: clamp(1.18rem, 4.5vw, 1.45rem) !important;
  }

  .lead,
  .hero p,
  .page-hero p {
    font-size: 1rem !important;
    line-height: 1.65 !important;
    max-width: 36rem !important;
  }

  .eyebrow,
  .hero-eyebrow {
    max-width: 100% !important;
    letter-spacing: 0.18em !important;
    font-size: 0.68rem !important;
    white-space: normal !important;
  }

  .btn-row,
  .hero-actions,
  .actions {
    justify-content: center !important;
    gap: 10px !important;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .showroom-layout,
  .detail-layout,
  .split,
  .form-grid-2 {
    grid-template-columns: 1fr !important;
  }

  .split.reverse .split-media,
  .split-media {
    order: 0 !important;
  }

  .showroom-layout,
  .detail-layout {
    gap: 24px !important;
  }

  .filters {
    position: relative !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 18px !important;
  }

  .showroom-toolbar {
    align-items: stretch !important;
  }

  .showroom-toolbar > * {
    width: 100% !important;
  }

  .car-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  .car-body {
    padding: 16px !important;
  }

  .car-title {
    font-size: 1.08rem !important;
  }

  .car-price {
    font-size: 1.25rem !important;
  }

  .spec-row {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .gallery-main img {
    aspect-ratio: 4 / 3 !important;
  }

  .gallery-thumbs {
    gap: 8px !important;
  }

  .gallery-thumbs .gthumb {
    flex-basis: 82px !important;
  }

  .detail-price {
    font-size: 1.65rem !important;
  }

  .team-card.feature {
    grid-column: span 1 !important;
    grid-template-columns: 1fr !important;
  }

  .team-card.feature .team-photo {
    height: auto !important;
    aspect-ratio: 4 / 5 !important;
  }

  .footer {
    padding-top: 46px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 600px) {
  .container,
  .container-tight {
    padding-inline: 16px !important;
  }

  .topbar {
    font-size: 0.78rem !important;
  }

  .topbar-left .hide-mobile,
  .topbar-left .hide-sm,
  .topbar .topbar-item.hide-sm {
    display: none !important;
  }

  .topbar-left {
    width: 100% !important;
  }

  .topbar-item {
    min-width: 0 !important;
  }

  .nav .container {
    min-height: 60px !important;
  }

  .brand img {
    width: min(165px, 52vw) !important;
  }

  .icon-btn {
    width: 38px !important;
    height: 38px !important;
  }

  .drawer {
    width: 88vw !important;
    padding: 18px !important;
  }

  .hero > .hero-inner,
  .hero .hero-inner {
    min-height: calc(100svh - 96px) !important;
    padding-top: 70px !important;
    padding-bottom: 58px !important;
  }

  .page-hero {
    min-height: 56svh !important;
    padding-top: 60px !important;
    padding-bottom: 58px !important;
  }

  .breadcrumb {
    font-size: 0.78rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }

  .hero-meta {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin-inline: auto !important;
  }

  .hero-meta div {
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-meta strong {
    font-size: 1.05rem !important;
  }

  .btn,
  .btn-lg,
  .btn-sm {
    min-height: 44px !important;
    padding: 12px 18px !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .btn-row .btn,
  .hero-actions .btn,
  .actions .btn {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .car-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stats,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .car-actions {
    grid-template-columns: 1fr !important;
  }

  .car-actions .btn {
    width: 100% !important;
  }

  .car-media,
  .gallery-main {
    border-radius: 14px !important;
  }

  .gallery-main img {
    aspect-ratio: 1 / 1 !important;
  }

  .gallery-thumbs .gthumb {
    flex-basis: 72px !important;
  }

  .gallery-counter,
  .gallery-zoom {
    display: none !important;
  }

  .spec-table th,
  .spec-table td {
    display: block !important;
    width: 100% !important;
    padding: 8px 0 !important;
  }

  .spec-table th {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .contact-card {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
  }

  .modal {
    padding: 14px !important;
  }

  .modal-card,
  .search-box {
    max-width: 100% !important;
    border-radius: 18px !important;
  }

  .modal-head,
  .modal-body {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .search-box form {
    flex-direction: column !important;
  }

  input,
  select,
  textarea {
    max-width: 100% !important;
  }

  .footer-bottom-links {
    width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .page-hero .eyebrow,
  .page-hero .hero-eyebrow {
    gap: 10px !important;
    letter-spacing: 0.16em !important;
  }

  .page-hero .eyebrow::before,
  .page-hero .eyebrow::after,
  .page-hero .hero-eyebrow::before,
  .page-hero .hero-eyebrow::after {
    width: 22px !important;
    flex-basis: 22px !important;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 145px !important;
  }

  .nav-actions {
    gap: 6px !important;
  }

  .icon-btn {
    width: 36px !important;
    height: 36px !important;
  }

  h1,
  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.78rem, 9vw, 2.35rem) !important;
  }

  .hero-meta {
    grid-template-columns: 1fr !important;
  }
}
