/* ============================================================
   CAR EX LLC — Premium Automotive Website
   Brand: Black #0B0B0B · Gold #C9A357 · Red #7A1620
   ============================================================ */

/* Fonts are loaded once in header.php — no @import here (render-blocking) */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  /* Premium automotive palette — deep neutral blacks + two-tone champagne gold */
  --black:      #0A0A0C;
  --dark:       #101114;
  --dark-2:     #16171B;
  --dark-3:     #1F2126;
  --gold:       #C8A45D;
  --gold-light: #E9D5A0;
  --gold-dark:  #93763B;
  --gold-grad:  linear-gradient(175deg, #DCBF7D 0%, #C09A4E 100%);
  --red:        #7A1620;
  --white:      #FFFFFF;
  --gray:       #8A8F98;
  --gray-light: #C9CDD3;
  --gray-dark:  #3C4048;
  --border:     rgba(200,164,93,0.20);
  --border-sub: rgba(255,255,255,0.07);
  --shadow-1:   0 2px 14px rgba(0,0,0,0.35);
  --shadow-2:   0 18px 50px rgba(0,0,0,0.5);

  --font-h: 'Archivo', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.4,0,0.2,1);
  --ease-out: cubic-bezier(0,0,0.2,1);
  --t: 0.3s var(--ease);
  --t-slow: 0.7s var(--ease-out);

  --max: 1280px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4.5rem, 9vw, 7rem);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-b);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-b);
  font-size: 1rem;
  outline: none;
}

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-h); font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

.gold { color: var(--gold); }
.overline {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── Layout ────────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section--dark { background: var(--dark); }
.section--dark-2 { background: var(--dark-2); }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 var(--pad);
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t), height var(--t);
}
.nav.scrolled {
  background: rgba(11,11,11,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  height: 62px;
}
.nav__inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo img { height: 44px; transition: height var(--t); }
.nav.scrolled .nav__logo img { height: 38px; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: 6px;
  transition: color var(--t), background var(--t);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 20px; height: 1px;
  background: var(--gold);
  transition: transform var(--t);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { transform: translateX(-50%) scaleX(1); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: #25D366;
  color: var(--white);
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--t), transform var(--t);
}
.nav__cta:hover { background: #20b857; transform: translateY(-1px); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all var(--t);
  border-radius: 2px;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11,11,11,0.95) 0%, rgba(11,11,11,0.6) 50%, rgba(122,22,32,0.15) 100%),
    none;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero.loaded .hero__bg { transform: scale(1); }

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFade 6s infinite;
}

@keyframes particleFade {
  0% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-80px); }
}

.hero__car {
  position: absolute;
  right: -200px;
  bottom: 15%;
  width: clamp(400px, 55vw, 800px);
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1.2s var(--ease-out) 0.5s, transform 1.2s var(--ease-out) 0.5s;
  filter: drop-shadow(0 20px 60px rgba(201,163,87,0.15));
}
.hero.loaded .hero__car { opacity: 0.18; transform: translateX(0); }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  padding-top: 100px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}
.hero__badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero__title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.5rem;
  max-width: 750px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out) 0.4s forwards;
}
.hero__title em { color: var(--gold); font-style: normal; }

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out) 0.6s forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease-out) 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.5s forwards;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all var(--t);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--black);
}
.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,163,87,0.35);
}
.btn--outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: #8E1A25;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(122,22,32,0.4);
}
.btn--sm { padding: 0.6rem 1.25rem; font-size: 0.825rem; }
.btn--lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Stats Section ─────────────────────────────────────────── */
.stats {
  background: var(--dark-2);
  padding: 4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--border);
}
.stats__item {
  background: var(--dark-2);
  padding: 2rem;
  text-align: center;
}
.stats__number {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stats__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Section Header ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header__line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.section-header__line::before,
.section-header__line::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--border);
}
.section-header__line span {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Brand Partners ────────────────────────────────────────── */
.brands { padding: 3rem 0; background: var(--dark); }
.brands__label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2rem;
}
.brands__track {
  display: flex;
  gap: 3rem;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}
.brands__inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  animation: brandScroll 120s linear infinite;
  white-space: nowrap;
}
@keyframes brandScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brands__inner:hover { animation-play-state: paused; }
.brand-name {
  font-family: var(--font-h);
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--t);
  flex-shrink: 0;
  padding: 0 0.5rem;
}
.brand-name:hover { color: var(--gold); }
.brand-sep {
  color: var(--gold);
  opacity: 0.4;
  font-size: 1.2rem;
}

/* ── Vehicle Cards ─────────────────────────────────────────── */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1100px) { .vehicles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .vehicles-grid { grid-template-columns: repeat(2, 1fr); } }
.vehicle-card {
  background: var(--dark-2);
  border: 1px solid var(--border-sub);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
  position: relative;
}
.vehicle-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.vehicle-card__img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark-3);
}
.vehicle-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.vehicle-card:hover .vehicle-card__img img { transform: scale(1.05); }

.vehicle-card__badges {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.badge-new { background: var(--gold); color: var(--black); }
.badge-featured { background: var(--red); color: var(--white); }
.badge-available { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.badge-reserved { background: rgba(251,146,60,0.15); color: #fb923c; border: 1px solid rgba(251,146,60,0.2); }
.badge-sold { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.2); }
.badge-qty {
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  background: rgba(11,11,11,0.85);
  border: 1px solid var(--border);
  color: var(--gold);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.vehicle-card__body { padding: 1.25rem; }
.vehicle-card__make {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.vehicle-card__model {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}
.vehicle-card__variant {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.vehicle-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-sub);
}
.vehicle-card__spec {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}
.vehicle-card__spec svg { width: 14px; height: 14px; color: var(--gold); flex-shrink: 0; }

.vehicle-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vehicle-card__price {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
}
.vehicle-card__price.contact { font-family: var(--font-b); font-size: 0.85rem; color: rgba(255,255,255,0.5); }

.vehicle-card__actions {
  display: flex;
  gap: 0.5rem;
}
.icon-btn {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-sub);
  color: rgba(255,255,255,0.5);
  transition: all var(--t);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 16px; height: 16px; }

/* ── Horizontal Scroll Fleet Showcase ──────────────────────── */
.fleet-scroll { overflow: hidden; padding: 0; }
.fleet-scroll__track {
  display: flex;
  gap: 1.5rem;
  animation: fleetMove 40s linear infinite;
  padding: 2rem 0;
}
.fleet-scroll__track:hover { animation-play-state: paused; }
@keyframes fleetMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.fleet-card {
  flex-shrink: 0;
  width: 340px;
  background: var(--dark-2);
  border: 1px solid var(--border-sub);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color var(--t);
}
.fleet-card:hover { border-color: var(--border); }
.fleet-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark-3);
}
.fleet-card__img img { width:100%; height:100%; object-fit:cover; }
.fleet-card__body { padding: 1rem 1.25rem; }
.fleet-card__make { font-size:0.7rem; letter-spacing:.15em; text-transform:uppercase; color:var(--gold); }
.fleet-card__model { font-family:var(--font-h); font-size:1.1rem; font-weight:600; }

/* ── Services ──────────────────────────────────────────────── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--dark-2);
  border: 1px solid var(--border-sub);
  border-radius: 12px;
  padding: 2rem;
  transition: border-color var(--t), transform var(--t);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--t);
}
.service-card:hover { border-color: var(--border); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px;
  background: rgba(201,163,87,0.08);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card__title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}
.service-card__text { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; }

/* ── Split Section (Why Car Ex) ────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 600px;
}
.split__img {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
}
.split__img img {
  width:100%; height:100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.split__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(11,11,11,0) 60%, var(--black));
}
.split__content {
  padding: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--black);
}
.split__list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.split__item { display: flex; gap: 1rem; align-items: flex-start; }
.split__num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 2.5rem;
}
.split__item-title {
  font-family: var(--font-h);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.split__item-text { font-size: 0.875rem; color: rgba(255,255,255,0.55); }

/* ── Global Reach ──────────────────────────────────────────── */
.global { background: var(--dark-2); overflow: hidden; }
.global__map {
  position: relative;
  text-align: center;
  padding: 3rem 0;
}
.global__countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}
.country-tag {
  padding: 0.4rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--t);
}
.country-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--dark-2);
  border: 1px solid var(--border-sub);
  border-radius: 12px;
  padding: 2rem;
}
.testimonial-card__stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.testimonial-card__quote {
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.testimonial-card__author { display: flex; align-items: center; gap: 1rem; }
.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  color: var(--black);
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-card__name { font-weight: 600; font-size: 0.9rem; }
.testimonial-card__role { font-size: 0.78rem; color: rgba(255,255,255,0.4); }

/* ── CTA Banner ────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark-2) 0%, rgba(122,22,32,0.2) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2rem; }

/* ── Inventory Page ────────────────────────────────────────── */
.inv-filters {
  background: var(--dark-2);
  border-bottom: 1px solid var(--border-sub);
  padding: 1.5rem 0;
  position: sticky;
  top: 62px;
  z-index: 100;
}
.inv-filters__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}
.inv-filters__search {
  flex: 1;
  min-width: 220px;
  position: relative;
}
.inv-filters__search input {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  padding: 0.625rem 1rem 0.625rem 2.75rem;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color var(--t);
}
.inv-filters__search input:focus { border-color: var(--gold); }
.inv-filters__search input::placeholder { color: rgba(255,255,255,0.3); }
.inv-filters__search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.3);
  pointer-events: none;
}
.inv-filters__select {
  background: var(--dark-3);
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  appearance: none;
  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='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  transition: border-color var(--t);
}
.inv-filters__select:focus { border-color: var(--gold); }
.inv-count { font-size: 0.85rem; color: rgba(255,255,255,0.4); white-space: nowrap; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: calc(72px + 4rem) 0 4rem;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--black) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,163,87,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.page-hero__breadcrumb a:hover { color: var(--gold); }
.page-hero__breadcrumb-sep { opacity: 0.3; }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 3rem;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-sub);
}
.contact-info__icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-info__icon svg { width: 18px; height: 18px; }
.contact-info__label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 0.25rem; }
.contact-info__value a:hover { color: var(--gold); }

/* ── Forms ─────────────────────────────────────────────────── */
.form-card {
  background: var(--dark-2);
  border: 1px solid var(--border-sub);
  border-radius: 12px;
  padding: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,163,87,0.1);
}
.form-control::placeholder { color: rgba(255,255,255,0.2); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-msg { display: none; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.875rem; margin-bottom: 1rem; }
.form-msg.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #4ade80; display: block; }
.form-msg.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #f87171; display: block; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-sub);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-h);
  font-size: 1.05rem;
  color: var(--white);
  gap: 1rem;
  transition: color var(--t);
}
.faq-question:hover { color: var(--gold); }
.faq-question svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform var(--t);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-answer p {
  padding-bottom: 1.5rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.8;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background: var(--dark); }
.footer__top { padding: 5rem 0 3rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
}
.footer__brand img { margin-bottom: 1.25rem; }
.footer__brand p { font-size: 0.875rem; color: rgba(255,255,255,0.45); line-height: 1.8; max-width: 300px; }
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-sub);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all var(--t);
}
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__social svg { width: 16px; height: 16px; }

.footer__col h4 {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--t);
}
.footer__col ul li a:hover { color: var(--gold); }

.footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer__contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.footer__contact a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid var(--border-sub);
  padding: 1.5rem 0;
}
.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a { font-size: 0.8rem; color: rgba(255,255,255,0.3); transition: color var(--t); }
.footer__legal a:hover { color: var(--gold); }

/* ── WhatsApp Float ────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: var(--white);
  border-radius: 50px;
  padding: 0.875rem 1.25rem 0.875rem 0.875rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all var(--t);
  overflow: hidden;
  max-width: 52px;
}
.wa-float:hover {
  max-width: 180px;
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float__label {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s 0s;
}
.wa-float:hover .wa-float__label { opacity: 1; transition: opacity 0.2s 0.1s; }

/* ── Cookie Consent Bar ────────────────────────────────────── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #161616;
  border-top: 1px solid rgba(201,163,87,.2);
  z-index: 890;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  padding: 1.1rem 1.5rem;
}
.cookie-bar.visible { transform: translateY(0); }
.cookie-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-bar__text { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.6; flex: 1; min-width: 240px; }
.cookie-bar__text a { color: var(--gold); text-decoration: underline; }
.cookie-bar__actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-bar__btn {
  padding: .5rem 1.1rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.cookie-bar__btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.55);
}
.cookie-bar__btn--outline:hover { border-color: rgba(255,255,255,.4); color: #fff; }
.cookie-bar__btn--gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #0B0B0B;
}
.cookie-bar__btn--gold:hover { background: #D4B46A; }
/* Push WhatsApp button up when cookie bar is visible */
.cookie-visible .wa-float { bottom: 5.5rem; }

/* ── Scroll Reveal Animations ──────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Map Embed ─────────────────────────────────────────────── */
.map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-sub);
}
.map-embed iframe { display: block; }

/* ── Utility ───────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-muted { color: rgba(255,255,255,0.5); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.d-flex { display: flex; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.w-full { width: 100%; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split__img { min-height: 300px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(11,11,11,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem var(--pad) 2rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__link { padding: 0.75rem 1rem; width: 100%; }
  .nav__cta { justify-content: center; }
  .nav__burger { display: flex; }

  .hero__car { display: none; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .vehicles-grid { grid-template-columns: 1fr !important; }
  .form-row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom .container { flex-direction: column; text-align: center; }

  .wa-float { bottom: 1.5rem; right: 1.5rem; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MCLAREN-STYLE REBUILD — Preloader, Nav, Hero Slideshow
   ============================================================ */

/* ── Preloader ─────────────────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.preloader.done { opacity: 0; visibility: hidden; }
.no-preloader #preloader { display: none !important; }

/* Slim progress bar (subsequent page loads) */
#page-loader {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
}
.page-loading #page-loader {
  opacity: 1;
  transform: scaleX(0.8);
  transition: transform 3s cubic-bezier(0.1, 0.6, 0.4, 1), opacity 0.1s;
}
.page-loaded #page-loader {
  opacity: 0;
  transform: scaleX(1);
  transition: transform 0.25s ease, opacity 0.35s ease 0.2s;
}
.preloader__inner { text-align: center; }
.preloader__emblem {
  width: 90px;
  height: auto;
  margin: 0 auto 1.25rem;
  animation: emblemPulse 1.6s var(--ease) infinite;
}
@keyframes emblemPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}
.preloader__wordmark {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-left: 0.35em;
}
.preloader__wordmark span { color: var(--red); }
.preloader__bar {
  width: 160px;
  height: 2px;
  background: rgba(201,163,87,0.15);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 2px;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--gold);
  animation: loadBar 1.1s var(--ease) infinite;
}
@keyframes loadBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ── Nav (McLaren layout) ──────────────────────────────────── */
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.nav__burger {
  display: flex;
  justify-self: start;
}
.nav__links {
  justify-self: center;
  gap: 0.5rem;
}
.nav__logo {
  justify-self: end;
}
.nav__link {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Slide-out Menu ────────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(11,11,11,0.6);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.menu-overlay.open { opacity: 1; visibility: visible; }
.menu-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(420px, 85vw);
  background: var(--dark);
  border-right: 1px solid var(--border);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.45s var(--ease-out);
}
.menu-overlay.open .menu-panel { transform: translateX(0); }
.menu-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.menu-panel__label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
}
.menu-close {
  font-size: 2rem;
  color: rgba(255,255,255,0.6);
  line-height: 1;
  transition: color var(--t);
}
.menu-close:hover { color: var(--gold); }
.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.menu-links a {
  font-family: var(--font-h);
  font-size: 1.4rem;
  color: rgba(255,255,255,0.8);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-sub);
  transition: color var(--t), padding-left var(--t);
}
.menu-links a:hover { color: var(--gold); padding-left: 0.5rem; }
.menu-panel__foot { margin-top: 2rem; }
.menu-panel__foot .btn { width: 100%; justify-content: center; margin-bottom: 1rem; }
.menu-panel__foot p { font-size: 0.8rem; color: rgba(255,255,255,0.4); line-height: 1.6; }

/* ── Hero Slideshow (full-screen) ──────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--black);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--ease), transform 7s linear;
  display: flex;
  align-items: center;
}
.hero__slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}
.hero__slide-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out) 0.3s, transform 0.9s var(--ease-out) 0.3s;
}
.hero__slide.active .hero__slide-content { opacity: 1; transform: translateY(0); }
.hero__overline {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 800px;
  margin-bottom: 1.5rem;
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
}

/* Fallback silhouette (only visible if no images load) */
.hero__fallback {
  position: absolute;
  right: 5%;
  bottom: 18%;
  width: 360px;
  opacity: 0.1;
  z-index: 1;
}

/* Centered CTA button (McLaren) */
.hero__cta-wrap {
  position: absolute;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.hero__cta {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  padding: 1rem 3rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all var(--t);
  white-space: nowrap;
}
.hero__cta:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(201,163,87,0.4);
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 5;
}
.hero__dot {
  width: 28px;
  height: 3px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: background var(--t);
  cursor: pointer;
}
.hero__dot.active { background: var(--gold); }

/* Arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.hero__arrow:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,163,87,0.1); }
.hero__arrow--prev { left: 2rem; }
.hero__arrow--next { right: 2rem; }

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr; }
  .nav__logo { justify-self: end; }
  .hero__arrow { display: none; }
  .hero__cta-wrap { bottom: 4.5rem; }
  .hero__title { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .menu-links a { font-size: 1.2rem; }
}

/* ============================================================
   v3 TWEAKS — corner nav, McLaren burger, round dots, showcase
   ============================================================ */

/* ── Nav pinned to screen corners (any zoom/width) ─────────── */
.nav { padding: 0; }
.nav__inner { max-width: none; width: 100%; padding: 0 clamp(1rem, 2.5vw, 2rem); }
.nav__burger { justify-self: start; }
.nav__logo { justify-self: end; }

/* ── McLaren-style hamburger (animated on hover) ───────────── */
.nav__burger { gap: 6px; }
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: width 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
  transform-origin: left center;
}
.nav__burger span:nth-child(1) { transition-delay: 0s; }
.nav__burger span:nth-child(2) { width: 17px; transition-delay: 0.05s; }
.nav__burger span:nth-child(3) { width: 21px; transition-delay: 0.1s; }
.nav__burger:hover span { background: var(--gold); width: 26px; transform: translateX(3px); }
/* keep the X transform when menu open (uses .open) */
.nav__burger.open span { transform: none; }

/* ── Ferrari-style round dots (hero + showcase) ────────────── */
.hero__dot,
.showcase__dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.5);
  padding: 0;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.hero__dot.active,
.showcase__dot.active {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}
.hero__dot:hover,
.showcase__dot:hover { border-color: var(--gold); }

/* ── Scroll-Swap Showcase ──────────────────────────────────── */
.showcase {
  position: relative;
  background: var(--dark);
}
.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 0 clamp(1rem, 4vw, 3rem);
}
.showcase__head {
  text-align: center;
  margin-bottom: 1.5rem;
}
.showcase__head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.showcase__stage {
  position: relative;
  flex: 1;
  max-height: 70vh;
  margin: 0 auto;
  width: 100%;
  max-width: var(--max);
}
.showcase__pair {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  pointer-events: none;
}
.showcase__pair.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.showcase__card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  display: block;
  border: 1px solid var(--border-sub);
  transition: border-color var(--t);
}
.showcase__card:hover { border-color: var(--gold); }
.showcase__img {
  position: relative;
  height: 100%;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-3);
  transition: transform 0.6s var(--ease);
}
.showcase__card:hover .showcase__img { transform: scale(1.04); }
.showcase__badges {
  position: absolute;
  top: 1rem; left: 1rem;
  display: flex; gap: 0.5rem; flex-wrap: wrap;
}
.showcase__overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2rem;
}
.showcase__make {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.25rem;
}
.showcase__model {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 600; line-height: 1.1;
}
.showcase__variant { color: rgba(255,255,255,0.65); font-size: 0.95rem; margin-bottom: 0.75rem; }
.showcase__specs { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.showcase__specs span {
  font-size: 0.78rem; color: rgba(255,255,255,0.75);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 0.25rem 0.85rem;
}
.showcase__cta {
  font-size: 0.85rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.05em;
}
.showcase__dots {
  display: flex; justify-content: center; gap: 0.6rem;
  margin-top: 1.5rem;
}
.showcase__viewall {
  align-self: center;
  margin-top: 1.25rem;
}
@media (max-width: 768px) {
  .showcase { height: auto !important; }
  .showcase__sticky { position: relative; height: auto; padding: 4rem 1rem; }
  .showcase__stage { max-height: none; }
  .showcase__pair {
    position: relative;
    opacity: 1; transform: none; pointer-events: auto;
    grid-template-columns: 1fr;
    margin-bottom: 1.5rem;
  }
  .showcase__img { min-height: 240px; }
  .showcase__dots { display: none; }
}

/* ============================================================
   v4 TWEAKS — Ferrari dots, red nav hover, flags, sourcing,
   news cards, richer social buttons
   ============================================================ */

/* ── #6 Nav hover in logo red ──────────────────────────────── */
.nav__link:hover, .nav__link.active { color: #C84450; }
.nav__link::after { background: #B23A46; height: 2px; }

/* ── #2 Ferrari-style animated hero dots ───────────────────── */
@property --dotp { syntax: '<number>'; inherits: false; initial-value: 0; }
.hero__dots { align-items: center; }
.hero__dot { position: relative; }
.hero__dot.active {
  width: 8px; height: 8px;
  background: var(--gold);
  border-color: var(--gold);
  transform: none;
}
.hero__dot.active::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--dotp) * 1%), rgba(255,255,255,0.22) 0);
  -webkit-mask: radial-gradient(circle closest-side, transparent 64%, #000 66%);
  mask: radial-gradient(circle closest-side, transparent 64%, #000 66%);
  animation: dotProgress 6s linear forwards;
}
@keyframes dotProgress { from { --dotp: 0; } to { --dotp: 100; } }

/* ── #8 Country flags ──────────────────────────────────────── */
.country-tag { display: inline-flex; align-items: center; gap: 0.5rem; }
.country-tag__flag { font-size: 1.1rem; line-height: 1; }
.country-tag--more { border-color: var(--gold); color: var(--gold); }

/* ── #9 Sourcing section (Can't find your vehicle) ─────────── */
.sourcing {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sourcing__head { text-align: center; }
.sourcing__head h2 em { font-style: normal; }
.sourcing__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
}
.sourcing__step {
  text-align: center;
  padding: 2.5rem 1.75rem;
  background: var(--dark);
  border: 1px solid var(--border-sub);
  border-radius: 14px;
  transition: border-color var(--t), transform var(--t);
}
.sourcing__step:hover { border-color: var(--border); transform: translateY(-4px); }
.sourcing__step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-h); font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
}
.sourcing__step h4 { font-family: var(--font-h); font-size: 1.15rem; margin-bottom: 0.5rem; }
.sourcing__step p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.sourcing__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── #4 News cards & empty state ───────────────────────────── */
.news-empty { text-align: center; max-width: 580px; margin: 0 auto; padding: 3rem 0; }
.news-empty__icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.news-empty__icon svg { width: 36px; height: 36px; }
.news-card {
  background: var(--dark-2);
  border: 1px solid var(--border-sub);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: border-color var(--t), transform var(--t);
}
.news-card:hover { border-color: var(--border); transform: translateY(-4px); }
.news-card__img {
  aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  background-color: var(--dark-3);
  position: relative;
}
.news-card__cat {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: var(--red); color: #fff;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
  padding: 0.25rem 0.7rem; border-radius: 4px; text-transform: uppercase;
}
.news-card__body { padding: 1.4rem; }
.news-card__date { font-size: 0.72rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; }
.news-card__title { font-family: var(--font-h); font-size: 1.2rem; margin: 0.4rem 0 0.5rem; }
.news-card__excerpt { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; }
.news-card__read { color: var(--gold); font-size: 0.85rem; font-weight: 600; display: inline-block; margin-top: 0.9rem; }

/* ── #5 Richer social buttons ──────────────────────────────── */
.footer__social a {
  width: 44px; height: 44px;
  border-radius: 12px;
  transition: transform var(--t), background var(--t), border-color var(--t), color var(--t);
}
.footer__social a svg { width: 18px; height: 18px; transition: transform var(--t); }
.footer__social a:hover { transform: translateY(-4px) scale(1.06); color: #fff; }
.footer__social a:hover svg { transform: scale(1.1); }
.footer__social a:nth-child(1):hover { background: #1877F2; border-color: #1877F2; }
.footer__social a:nth-child(2):hover { background: #E4405F; border-color: #E4405F; }
.footer__social a:nth-child(3):hover { background: #0A66C2; border-color: #0A66C2; }
.footer__social a:nth-child(4):hover { background: #25D366; border-color: #25D366; }

@media (max-width: 768px) {
  .sourcing__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   VEHICLE DETAIL PAGE
   ============================================================ */
.vd { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: start; }
.vd__main-img {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: var(--dark-3);
  border-radius: 14px;
  position: relative;
  border: 1px solid var(--border-sub);
}
.vd__badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.vd__thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.vd__thumb {
  aspect-ratio: 4/3;
  background-size: cover; background-position: center;
  background-color: var(--dark-3);
  border-radius: 8px;
  border: 1px solid var(--border-sub);
  cursor: pointer;
  transition: border-color var(--t);
}
.vd__thumb.active, .vd__thumb:hover { border-color: var(--gold); }
.vd__thumb--placeholder {
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 0.7rem; color: rgba(255,255,255,0.3);
  cursor: default;
}
.vd__thumb--placeholder:hover { border-color: var(--border-sub); }

.vd__make { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.3rem; }
.vd__model { font-family: var(--font-h); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; line-height: 1.05; }
.vd__variant { color: rgba(255,255,255,0.6); font-size: 1.05rem; margin-bottom: 1.5rem; }

.vd__price {
  display: flex; flex-direction: column; gap: 0.25rem;
  padding: 1.25rem 1.5rem; margin-bottom: 1.5rem;
  background: var(--dark-2); border: 1px solid var(--border); border-radius: 12px;
}
.vd__price-val { font-family: var(--font-h); font-size: 1.8rem; font-weight: 600; color: var(--gold); }
.vd__price-val--contact { font-size: 1.4rem; }
.vd__price-note { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

.vd__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border-sub); border: 1px solid var(--border-sub); border-radius: 12px; overflow: hidden; margin-bottom: 1.5rem; }
.vd__spec { background: var(--dark-2); padding: 1rem; display: flex; flex-direction: column; gap: 0.2rem; }
.vd__spec-label { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.vd__spec-val { font-size: 0.95rem; font-weight: 500; }

.vd__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.vd__actions .btn { flex: 1; justify-content: center; min-width: 180px; }

.vd__desc { padding-top: 1.5rem; border-top: 1px solid var(--border-sub); margin-bottom: 1.5rem; }
.vd__desc h3 { font-family: var(--font-h); font-size: 1.2rem; margin-bottom: 0.75rem; }
.vd__desc p { color: rgba(255,255,255,0.65); line-height: 1.8; font-size: 0.95rem; }

.vd__trust { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; border-top: 1px solid var(--border-sub); }
.vd__trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.vd__trust-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

.vd__enquiry { max-width: 760px; margin: 4rem auto 0; }
.vd__related { margin-top: 4rem; }

@media (max-width: 900px) {
  .vd { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .vd__specs { grid-template-columns: repeat(2, 1fr); }
  .vd__actions .btn { flex: 1 1 100%; }
}

/* ── Draggable hero (replaces arrows) ──────────────────────── */
.hero { cursor: grab; user-select: none; }
.hero.grabbing { cursor: grabbing; }
/* while dragging, active slide tracks the cursor with no lag */
.hero.grabbing .hero__slide.active { transition: none; }
/* on release, snap back/commit smoothly */
.hero__slide.snapping { transition: transform 0.45s var(--ease-out), opacity 0.45s var(--ease-out) !important; }
.hero__cta, .hero__dot, .nav, .menu-overlay { cursor: pointer; }

/* ============================================================
   FERRARI-STYLE CONNECTED CAROUSEL (track-based, overrides fade)
   ============================================================ */
.hero { height: 100vh; min-height: 600px; position: relative; overflow: hidden; cursor: grab; user-select: none; background: var(--black); }
.hero.grabbing { cursor: grabbing; }
.hero__viewport { position: absolute; inset: 0; overflow: hidden; }
.hero__track { display: flex; height: 100%; width: 100%; will-change: transform; }
.hero__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  opacity: 1 !important;
  transform: none !important;
}
/* light, directional shade — keeps the photo bright, text readable */
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,11,11,0.62) 0%, rgba(11,11,11,0.22) 42%, rgba(11,11,11,0) 70%),
    linear-gradient(0deg, rgba(11,11,11,0.4) 0%, rgba(11,11,11,0) 32%);
}
.hero__slide-content {
  position: relative; z-index: 2;
  opacity: 1 !important; transform: none !important;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); width: 100%;
}
.hero__title, .hero__sub { text-shadow: 0 2px 28px rgba(0,0,0,0.55); }

/* ============================================================
   HERO TEXT — Ferrari-style centered + Archivo display font
   ============================================================ */
.hero__slide { justify-content: center; }
.hero__slide-content { text-align: center; }
.hero__overline {
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: 'Archivo', sans-serif !important;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 0.98;
  margin: 0 auto;
  max-width: 16ch;
  font-size: clamp(2.6rem, 7vw, 6rem);
}
.hero__title em { color: var(--gold); font-style: normal; }
/* centered vignette — keeps photo bright, only softens behind the words */
.hero__shade {
  background:
    radial-gradient(ellipse 70% 60% at center, rgba(11,11,11,0.5) 0%, rgba(11,11,11,0.2) 45%, rgba(11,11,11,0) 75%),
    linear-gradient(0deg, rgba(11,11,11,0.35) 0%, rgba(11,11,11,0) 28%);
}

/* ============================================================
   HERO TEXT v3 — Car Ex type identity
   Wide engineered Archivo caps + Playfair italic accent words
   ============================================================ */
.hero__overline {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.34em;
  margin-bottom: 1rem;
  color: var(--gold-light);
}
.hero__title {
  font-family: 'Archivo', sans-serif !important;
  font-stretch: 118%;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: none !important;
  font-size: clamp(1.9rem, 4.2vw, 3.7rem);
  max-width: 18ch;
  margin: 0 auto;
}
.hero__title em {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold-light);
  font-size: 1.06em;
  padding-right: 0.06em;
}

/* lift the centred text up so it never collides with the CTA + dots */
.hero__slide { padding-bottom: 6.5rem; }
.hero__cta-wrap { bottom: 5.5rem; }
.hero__dots { bottom: 2.75rem; }

@media (max-width: 768px) {
  .hero__slide { padding-bottom: 7rem; }
  .hero__title { font-size: clamp(1.7rem, 8vw, 2.6rem); }
}

/* ============================================================
   v5 — bigger clickable dots, featured slideshow, services scroll
   ============================================================ */

/* ── Hero dots: larger + big invisible hit area ────────────── */
.hero__dots { gap: 16px; }
.hero__dot { width: 12px; height: 12px; border: 2px solid rgba(255,255,255,0.55); }
.hero__dot::before { content: ''; position: absolute; inset: -14px; border-radius: 50%; } /* ~40px tap target */
.hero__dot.active { width: 12px; height: 12px; }
.hero__dot.active::after { width: 28px; height: 28px; }

/* ── Featured slideshow ────────────────────────────────────── */
.feat { position: relative; }
.feat__stage { position: relative; height: clamp(420px, 56vh, 560px); }
.feat__pair {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.7s var(--ease);
}
.feat__pair.active { opacity: 1; visibility: visible; pointer-events: auto; }
.feat__dots { display: flex; justify-content: center; gap: 16px; margin-top: 1.75rem; }
.feat__dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: transparent; border: 2px solid rgba(255,255,255,0.4);
  position: relative; cursor: pointer; transition: all 0.3s var(--ease);
}
.feat__dot::before { content: ''; position: absolute; inset: -13px; border-radius: 50%; } /* tap target */
.feat__dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }
.feat__dot:hover { border-color: var(--gold); }

/* ── Services scroll-step ──────────────────────────────────── */
.svc { position: relative; background: var(--black); }
.svc__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.svc__inner { width: 100%; }
.svc__head { text-align: center; margin-bottom: 2.5rem; }
.svc__layout { display: grid; grid-template-columns: 290px 1fr; gap: 3.5rem; align-items: center; }
.svc__nav { display: flex; flex-direction: column; border-left: 1px solid var(--border); }
.svc__navitem {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; text-align: left;
  color: rgba(255,255,255,0.4);
  border-left: 2px solid transparent; margin-left: -1px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: pointer;
}
.svc__navitem.active { color: #fff; border-left-color: var(--gold); }
.svc__navnum { font-family: 'Archivo', sans-serif; font-size: 0.8rem; color: var(--gold); }
.svc__navtitle { font-family: var(--font-h); font-size: 1.05rem; }
.svc__stage { position: relative; min-height: 360px; }
.svc__panel {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(35px); pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  display: flex; flex-direction: column; justify-content: center;
}
.svc__panel.active { opacity: 1; transform: none; pointer-events: auto; }
.svc__icon {
  width: 66px; height: 66px;
  border: 1px solid var(--border); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); margin-bottom: 1.5rem;
}
.svc__icon svg { width: 30px; height: 30px; }
.svc__num { font-family: 'Archivo', sans-serif; font-size: 0.78rem; letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: 0.75rem; }
.svc__panel h3 { font-family: var(--font-h); font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 1rem; }
.svc__panel p { color: rgba(255,255,255,0.6); font-size: 1.05rem; line-height: 1.8; max-width: 560px; margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .feat__stage { position: static; height: auto; }
  .feat__pair { position: static; opacity: 1; visibility: visible; pointer-events: auto; grid-template-columns: 1fr; margin-bottom: 1.5rem; }
  .feat__dots { display: none; }
  .svc { height: auto !important; }
  .svc__sticky { position: relative; height: auto; padding: 4rem 0; }
  .svc__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .svc__nav { display: none; }
  .svc__stage { position: static; min-height: 0; }
  .svc__panel { position: static; opacity: 1; transform: none; pointer-events: auto; margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-sub); }
}

/* ── Legal pages (privacy / terms) ─────────────────────────── */
.legal { max-width: 820px; margin: 0 auto; }
.legal p { color: rgba(255,255,255,0.7); line-height: 1.85; margin-bottom: 1.1rem; }
.legal h2 { font-family: var(--font-h); font-size: 1.4rem; color: var(--white); margin: 2.25rem 0 0.85rem; }
.legal ul { margin: 0 0 1.1rem 1.25rem; }
.legal li { color: rgba(255,255,255,0.7); line-height: 1.8; list-style: disc; margin-bottom: 0.35rem; }
.legal a { color: var(--gold); }
.legal em { color: rgba(255,255,255,0.5); }

/* ── Preloader spinning emblem ring ────────────────────────── */
.preloader__emblem-wrap {
  position: relative;
  width: 120px; height: 120px;
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
}
.preloader__emblem-wrap .preloader__emblem { margin: 0; width: 74px; }
.preloader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(201,163,87,0.15);
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: preloaderSpin 0.9s linear infinite;
}
@keyframes preloaderSpin { to { transform: rotate(360deg); } }

/* ── Leadership cards ──────────────────────────────────────── */
.leaders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; max-width: 760px; margin: 0 auto; }
.leader-card { background: var(--dark-2); border: 1px solid var(--border-sub); border-radius: 14px; padding: 2.25rem 2rem; text-align: center; transition: border-color var(--t), transform var(--t); }
.leader-card:hover { border-color: var(--border); transform: translateY(-4px); }
.leader-card__avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1.25rem; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: var(--black); display: flex; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 700; font-size: 1.5rem; }
.leader-card__name { font-family: var(--font-h); font-size: 1.4rem; margin-bottom: 0.25rem; }
.leader-card__role { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.leader-card__bio { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.75; }

/* ── Leadership slideshow ──────────────────────────────────── */
.lead { position: relative; max-width: var(--max); margin: 0 auto; }
.lead__stage { position: relative; min-height: 440px; }
.lead__slide {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.6s var(--ease);
}
.lead__slide.active { opacity: 1; visibility: visible; pointer-events: auto; }
.lead__role { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 1rem; }
.lead__name { font-family: var(--font-h); font-size: clamp(1.9rem, 3.5vw, 3rem); margin-bottom: 1.25rem; }
.lead__bio { color: rgba(255,255,255,0.65); font-size: 1.05rem; line-height: 1.9; max-width: 520px; }
.lead__photo {
  position: relative; aspect-ratio: 4/5; max-height: 440px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--dark-3);
  justify-self: end; width: 100%; max-width: 360px;
}
.lead__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead__photo-ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-3));
}
.lead__photo img + .lead__photo-ph { display: none; }
.lead__mono {
  width: 96px; height: 96px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--black); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h); font-weight: 700; font-size: 2.1rem;
}
.lead__note { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.lead__dots { display: flex; justify-content: center; gap: 16px; margin-top: 2.25rem; }
.lead__dot {
  width: 13px; height: 13px; border-radius: 50%;
  background: transparent; border: 2px solid rgba(255,255,255,0.4);
  position: relative; cursor: pointer; transition: all 0.3s var(--ease);
}
.lead__dot::before { content: ''; position: absolute; inset: -12px; }
.lead__dot.active { background: var(--gold); border-color: var(--gold); transform: scale(1.2); }
.lead__dot:hover { border-color: var(--gold); }

@media (max-width: 768px) {
  .lead__stage { min-height: 560px; }
  .lead__slide { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .lead__photo { order: -1; justify-self: center; max-width: 260px; }
  .lead__bio { margin: 0 auto; }
}

/* ============================================================
   FERRARI-STYLE BUTTONS — label + circled arrow
   ============================================================ */
.btn { gap: 0.7rem; }
/* circled › arrow appended to text buttons (skip ones that already have an icon svg) */
.btn::after {
  content: '\203A';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 15px;
  line-height: 1;
  padding-bottom: 1px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn:has(svg)::after { display: none; }      /* WhatsApp / icon buttons keep their icon */
.btn:hover::after { transform: translateX(3px); }
.btn--lg::after { width: 26px; height: 26px; font-size: 17px; }
.btn--sm::after { width: 19px; height: 19px; font-size: 13px; }

/* simpler, flatter hover — drop the heavy glow */
.btn--gold:hover { box-shadow: none; transform: translateY(-1px); }
.btn--outline:hover { box-shadow: none; transform: translateY(-1px); }
.btn--red:hover { box-shadow: none; transform: translateY(-1px); }

/* Hero CTA — same circled arrow */
.hero__cta { display: inline-flex; align-items: center; gap: 0.7rem; }
.hero__cta::after {
  content: '\203A';
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid currentColor; font-size: 16px; line-height: 1; padding-bottom: 1px;
  transition: transform 0.3s var(--ease);
}
.hero__cta:hover { box-shadow: none; }
.hero__cta:hover::after { transform: translateX(3px); }

/* ============================================================
   HERO CTA — Ferrari "DISCOVER ›" style (no fill, white text)
   ============================================================ */
.hero__cta {
  background: transparent;
  color: #fff;
  padding: 0;
  border-radius: 0;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  gap: 0.9rem;
}
.hero__cta:hover {
  background: transparent;
  color: var(--gold);
  transform: none;
  box-shadow: none;
}
.hero__cta::after { border-color: currentColor; }
.hero__cta:hover::after { transform: translateX(4px); }

/* ── Hero pause / play control (Ferrari-style, bottom-right) ── */
.hero__pause {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--t), color var(--t), background var(--t);
  cursor: pointer;
}
.hero__pause:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,163,87,0.1); }
.hero__pause svg { width: 20px; height: 20px; }
.hero__pause .hero__play-icon { display: none; }
.hero.is-paused .hero__pause .hero__pause-icon { display: none; }
.hero.is-paused .hero__pause .hero__play-icon { display: block; }

@media (max-width: 768px) {
  .hero__pause { bottom: 1.5rem; right: 1.5rem; width: 38px; height: 38px; }
}

/* ============================================================
   HERO REFINE — Ferrari Sans-like font (Archivo) + cleaner arrows
   ============================================================ */
.hero__overline {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3em;
}
.hero__title {
  font-family: 'Archivo', sans-serif !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.hero__cta {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
}

/* thinner, cleaner circled arrows (Ferrari-style) */
.btn::after, .hero__cta::after {
  border-width: 1px;
  font-size: 14px;
  font-family: 'Archivo', sans-serif;
}
.hero__cta::after { width: 30px; height: 30px; font-size: 15px; }

/* ============================================================
   ACCESSIBILITY — clearer nav text + bigger loading emblem
   ============================================================ */
/* brighter, larger nav links for readability */
.nav__link {
  color: rgba(255,255,255,0.95);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
.nav__link:hover, .nav__link.active { color: #fff; }
.nav__logo img { filter: drop-shadow(0 1px 8px rgba(0,0,0,0.5)); }
.nav__burger span { box-shadow: 0 1px 6px rgba(0,0,0,0.5); }

/* dark scrim behind the nav so text stays legible over bright photos */
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 130px;
  background: linear-gradient(180deg, rgba(11,11,11,0.65) 0%, rgba(11,11,11,0) 100%);
  pointer-events: none;
  z-index: -1;
  transition: opacity 0.3s var(--ease);
}
.nav.scrolled::before { opacity: 0; }

/* bigger loading-screen emblem */
.preloader__emblem-wrap { width: 156px; height: 156px; margin-bottom: 1.5rem; }
.preloader__emblem-wrap .preloader__emblem { width: 104px; }

/* ============================================================
   CATEGORY GRID — colorful homepage tiles
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cat-tile {
  position: relative; min-height: 340px;
  border-radius: 16px; overflow: hidden;
  display: flex; align-items: flex-end; isolation: isolate;
  text-decoration: none;
}
.cat-tile__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s var(--ease);
}
.cat-tile:hover .cat-tile__bg { transform: scale(1.07); }
.cat-tile__overlay { position: absolute; inset: 0; z-index: 1; transition: opacity 0.4s var(--ease); }
.cat-tile:hover .cat-tile__overlay { opacity: 0.85; }
.cat-tile__content { position: relative; z-index: 2; padding: 2.25rem; width: 100%; }
.cat-tile__title {
  font-family: 'Archivo', sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.4rem, 2.2vw, 1.75rem); letter-spacing: 0.01em; line-height: 1.1;
  margin-bottom: 0.45rem; color: #fff;
}
.cat-tile__desc { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-bottom: 1.1rem; }
.cat-tile__cta {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Archivo', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.15em; font-size: 0.78rem; color: #fff;
}
.cat-tile__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border: 1px solid currentColor; border-radius: 50%;
  font-size: 14px; padding-bottom: 1px; transition: transform 0.3s var(--ease);
}
.cat-tile:hover .cat-tile__arrow { transform: translateX(4px); }

/* colored overlays per category */
.cat-tile--red .cat-tile__overlay    { background: linear-gradient(150deg, rgba(122,22,32,0.55) 0%, rgba(11,11,11,0.92) 88%); }
.cat-tile--gold .cat-tile__overlay   { background: linear-gradient(150deg, rgba(156,122,53,0.55) 0%, rgba(11,11,11,0.92) 88%); }
.cat-tile--blue .cat-tile__overlay   { background: linear-gradient(150deg, rgba(22,60,90,0.62) 0%, rgba(11,11,11,0.92) 88%); }
.cat-tile--green .cat-tile__overlay  { background: linear-gradient(150deg, rgba(15,94,78,0.62) 0%, rgba(11,11,11,0.92) 88%); }
.cat-tile--ocean .cat-tile__overlay  { background: linear-gradient(150deg, rgba(19,78,111,0.62) 0%, rgba(11,11,11,0.92) 88%); }
.cat-tile--purple .cat-tile__overlay { background: linear-gradient(150deg, rgba(58,35,80,0.64) 0%, rgba(11,11,11,0.92) 88%); }

/* colored top accent bar */
.cat-tile::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 3; }
.cat-tile--red::after    { background: #A8323E; }
.cat-tile--gold::after   { background: var(--gold); }
.cat-tile--blue::after   { background: #3a82c4; }
.cat-tile--green::after  { background: #1d9e75; }
.cat-tile--ocean::after  { background: #2b8fb8; }
.cat-tile--purple::after { background: #7d5bbf; }

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { min-height: 240px; }
}

/* ============================================================
   CATEGORY TILES v2 — Ferrari "Collections" full-bleed style
   ============================================================ */
.cat-section { padding: 0; }
.cat-grid { grid-template-columns: 1fr 1fr; gap: 0; width: 100%; }
.cat-tile {
  min-height: clamp(380px, 50vh, 540px);
  border-radius: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cat-tile::after { display: none; }                 /* drop the accent bar */
.cat-tile__overlay,
.cat-tile--red .cat-tile__overlay,
.cat-tile--gold .cat-tile__overlay,
.cat-tile--blue .cat-tile__overlay,
.cat-tile--green .cat-tile__overlay,
.cat-tile--ocean .cat-tile__overlay,
.cat-tile--purple .cat-tile__overlay {
  background: linear-gradient(180deg, rgba(11,11,11,0.15) 0%, rgba(11,11,11,0.1) 45%, rgba(11,11,11,0.7) 100%);
}
.cat-tile:hover .cat-tile__overlay { opacity: 1; background: linear-gradient(180deg, rgba(11,11,11,0.25) 0%, rgba(11,11,11,0.2) 45%, rgba(11,11,11,0.75) 100%); }
.cat-tile__content { padding: 0 1.5rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; padding-bottom: 3rem; }
.cat-tile__label {
  display: block;
  font-family: 'Archivo', sans-serif; font-weight: 500;
  font-size: 0.85rem; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.9); margin-bottom: 0.5rem;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}
.cat-tile__title {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0,0,0,0.6);
}
.cat-tile__cta { justify-content: center; text-shadow: 0 1px 12px rgba(0,0,0,0.6); }

@media (max-width: 768px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-tile { min-height: 300px; }
}

/* ── Honeypot anti-spam field (hidden from humans) ─────────── */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ── Inventory no-results state ─────────────────────────────── */
.no-results { max-width: 620px; margin: 0 auto; text-align: center; padding: 3.5rem 1rem; }
.no-results__icon {
  width: 80px; height: 80px; margin: 0 auto 1.5rem;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.no-results__icon svg { width: 38px; height: 38px; }
.no-results h2 { font-family: var(--font-h); font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 1rem; }
.no-results p { color: rgba(255,255,255,0.7); line-height: 1.8; }
.no-results__sub { color: rgba(255,255,255,0.5); font-size: 0.95rem; margin-top: 0.5rem; }
.no-results__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ── Mobile hero title fit ─────────────────────────────────── */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.5rem, 7.2vw, 2.2rem); max-width: 15ch; }
  .hero__overline { font-size: 0.68rem; letter-spacing: 0.22em; }
}

/* ============================================================
   NEWS FEED — social-style posts with Car Ex logo avatar
   ============================================================ */
.feed { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.post {
  background: var(--dark-2);
  border: 1px solid var(--border-sub);
  border-radius: 16px;
  padding: 1.5rem;
  transition: border-color var(--t);
}
.post:hover { border-color: var(--border); }
.post--full { max-width: 720px; margin: 0 auto; }
.post__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 1rem; }
.post__avatar {
  width: 48px; height: 48px; flex-shrink: 0;
  border-radius: 50%;
  background: #111;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.post__avatar img { width: 34px; height: 34px; object-fit: contain; }
.post__id { display: flex; flex-direction: column; gap: 1px; }
.post__name { font-weight: 600; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 0.35rem; }
.post__verified { width: 16px; height: 16px; color: var(--gold); }
.post__meta { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.post__title { font-family: var(--font-h); font-size: 1.35rem; line-height: 1.3; margin: 0.25rem 0 0.6rem; }
.post__text { color: rgba(255,255,255,0.78); line-height: 1.75; font-size: 0.97rem; }
.post__img {
  display: block; margin-top: 1rem;
  aspect-ratio: 16/9; border-radius: 12px;
  background-size: cover; background-position: center; background-color: var(--dark-3);
}
.post__img--full { aspect-ratio: 16/9; margin: 1.25rem 0; }
.post__content { color: rgba(255,255,255,0.78); line-height: 1.85; font-size: 1.02rem; }
.post__read {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; color: var(--gold); font-weight: 600; font-size: 0.9rem;
}
.post__read span { transition: transform var(--t); }
.post__read:hover span { transform: translateX(3px); }

/* ============================================================
   ENGAGEMENT UPGRADES — stat band, route map, journey, parallax
   ============================================================ */

/* #4 Dynamic stat band */
.stats--dynamic {
  background: linear-gradient(120deg, #141414, #1d1a12, #141414);
  background-size: 200% 200%;
  animation: statShift 14s ease infinite;
}
@keyframes statShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.stats__icon {
  width: 46px; height: 46px; margin: 0 auto 0.85rem;
  color: var(--gold); border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.stats__icon svg { width: 22px; height: 22px; }
.stats__item { transition: transform 0.3s var(--ease); }
.stats__item:hover { transform: translateY(-5px); }

/* #1 Export route map */
.routemap {
  max-width: 1000px; margin: 1rem auto 0; padding: 1.5rem; border-radius: 16px;
  border: 1px solid var(--border-sub);
  background-color: rgba(11,11,11,0.45);
  background-image: radial-gradient(rgba(201,163,87,0.10) 1px, transparent 1px);
  background-size: 26px 26px;
}
.routemap__svg { width: 100%; height: auto; display: block; }
.routemap__base { fill: none; stroke: rgba(201,163,87,0.18); stroke-width: 1; }
.routemap__flow { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 3 11; stroke-linecap: round; animation: routeflow 1.5s linear infinite; }
@keyframes routeflow { to { stroke-dashoffset: -14; } }
.routemap__dest { fill: var(--gold); }
.routemap__label { fill: rgba(255,255,255,0.75); font-family: 'Inter', sans-serif; font-size: 13px; }
.routemap__hub { fill: #fff; }
.routemap__hubring { fill: none; stroke: var(--gold); stroke-width: 2; animation: hubpulse 2.2s ease-out infinite; }
@keyframes hubpulse { 0% { r: 8; opacity: 0.9; } 100% { r: 32; opacity: 0; } }
.routemap__hublabel { fill: var(--gold); font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 14px; letter-spacing: 1px; }
.global__countries--compact { margin-top: 1.5rem; }

/* #2 Export journey */
.journey__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1rem; }
.journey__line { position: absolute; top: 30px; left: 13%; right: 13%; height: 2px; background: var(--border); overflow: hidden; z-index: 1; }
.journey__line-fill { display: block; height: 100%; width: 0; background: var(--gold); transition: width 1.8s ease 0.3s; }
.journey__track.visible .journey__line-fill { width: 100%; }
.journey__step { text-align: center; position: relative; }
.journey__num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--black); border: 2px solid var(--border); color: var(--gold);
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; position: relative; z-index: 2;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.journey__track.visible .journey__step:nth-child(2) .journey__num { transition-delay: 0.3s; }
.journey__track.visible .journey__step:nth-child(3) .journey__num { transition-delay: 0.6s; }
.journey__track.visible .journey__step:nth-child(4) .journey__num { transition-delay: 0.9s; }
.journey__track.visible .journey__num { border-color: var(--gold); background: rgba(201,163,87,0.08); }
.journey__icon { color: var(--gold); margin-bottom: 0.6rem; }
.journey__icon svg { width: 26px; height: 26px; }
.journey__step h4 { font-family: var(--font-h); font-size: 1.15rem; margin-bottom: 0.5rem; }
.journey__step p { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 230px; margin: 0 auto; }

/* #3 Parallax (desktop only) */
@media (min-width: 769px) {
  .global, .sourcing, .page-hero { background-attachment: fixed; }
}
@media (max-width: 768px) {
  .journey__track { grid-template-columns: 1fr; gap: 2rem; }
  .journey__line { display: none; }
}

/* ── 3D Globe (export routes) ──────────────────────────────── */
.global--globe { background: radial-gradient(circle at 50% 35%, #16130b 0%, var(--black) 72%); overflow: hidden; }
.globe-wrap { max-width: 920px; margin: 1.5rem auto 0; }
.globe { width: 100%; height: clamp(380px, 56vh, 580px); cursor: grab; }
.globe:active { cursor: grabbing; }
.globe canvas { display: block; outline: none; }
@media (max-width: 768px) { .globe { height: 340px; } }

/* ── Globe section: starfield + floating stat chips ────────── */
.global--globe {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(40,34,18,0.5) 0%, var(--black) 70%),
    #050505;
}
/* subtle starfield */
.global--globe::before, .global--globe::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 70% 20%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.35), transparent),
    radial-gradient(1px 1px at 85% 60%, rgba(255,255,255,0.45), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255,255,255,0.3), transparent),
    radial-gradient(1px 1px at 60% 85%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 30% 15%, rgba(201,163,87,0.5), transparent),
    radial-gradient(1px 1px at 90% 35%, rgba(255,255,255,0.4), transparent);
  background-repeat: no-repeat;
  animation: twinkle 4s ease-in-out infinite alternate;
}
.global--globe::after { animation-delay: 2s; opacity: 0.6; }
@keyframes twinkle { from { opacity: 0.35; } to { opacity: 0.85; } }

.globe-wrap { position: relative; max-width: 920px; margin: 1.5rem auto 0; }
.globe { position: relative; z-index: 2; }
.globe-chip {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column;
  background: rgba(17,17,17,0.65);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.5rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}
.globe-chip strong { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 2.4rem; color: var(--gold); line-height: 1; }
.globe-chip span { font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 0.45rem; }
.globe-chip--tl { top: 8%; left: 2%; }
.globe-chip--tr { top: 14%; right: 2%; }
.globe-chip--bl { bottom: 16%; left: 3%; }
.globe-chip--br { bottom: 8%; right: 3%; }

@media (max-width: 768px) {
  .globe-chip { padding: 0.5rem 0.75rem; }
  .globe-chip strong { font-size: 1.1rem; }
  .globe-chip span { font-size: 0.6rem; }
  .globe-chip--tl, .globe-chip--bl { left: 0; }
  .globe-chip--tr, .globe-chip--br { right: 0; }
}

/* ── How to Inquire — scroll-driven car ────────────────────── */
.drive__stage { position: relative; max-width: 1040px; margin: 2.5rem auto 0; }
.drive__road { position: relative; height: 64px; margin-bottom: 1.5rem; }
.drive__road-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 3px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(201,163,87,0.35) 0 16px, transparent 16px 32px);
}
.drive__car { position: absolute; top: 50%; left: 0; width: 84px; transform: translate(-50%,-50%); will-change: left; }
.drive__car svg { width: 100%; height: auto; filter: drop-shadow(0 6px 14px rgba(201,163,87,0.35)); }
.drive__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.drive__step { text-align: center; opacity: 0; transform: translateY(34px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.drive__step.passed { opacity: 1; transform: none; }
.drive__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--border); margin: 0 auto 1.1rem; transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.drive__step.passed .drive__dot { background: var(--gold); box-shadow: 0 0 0 6px rgba(201,163,87,0.15); }
.drive__card { background: var(--dark-2); border: 1px solid var(--border-sub); border-radius: 14px; padding: 1.75rem 1.25rem; transition: border-color var(--t); }
.drive__step.passed .drive__card { border-color: var(--border); }
.drive__icon { width: 50px; height: 50px; border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); margin: 0 auto 1rem; }
.drive__icon svg { width: 22px; height: 22px; }
.drive__card h4 { font-family: var(--font-h); font-size: 1.12rem; margin-bottom: 0.5rem; }
.drive__card p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.65; }

@media (max-width: 768px) {
  .drive__steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .drive__car { width: 64px; }
}
@media (max-width: 480px) {
  .drive__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   LAYOUT POLISH — card alignment, spacing, modern typography
   ============================================================ */

/* Modern heading rhythm (Archivo) */
h1, h2, h3, h4 { letter-spacing: -0.01em; }
h2 { font-weight: 700; }
.section-header h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* Equal-height, bottom-aligned vehicle cards */
.vehicles-grid { align-items: stretch; }
.vehicle-card { display: flex; flex-direction: column; height: 100%; }
.vehicle-card__body { display: flex; flex-direction: column; flex: 1 1 auto; }
.vehicle-card__variant { min-height: 1.2em; }
.vehicle-card__specs { margin-top: 0.25rem; }
.vehicle-card__footer { margin-top: auto; }

/* Related vehicles (detail page) align too */
.vd__related .vehicle-card__body { min-height: 0; }

/* Consistent section vertical rhythm */
.section { padding-top: var(--section); padding-bottom: var(--section); }

/* Nav · hero · footer cohesion: shared gold accent + cool surface */
.nav.scrolled { background: rgba(11,12,14,0.96); }
.footer { background: var(--dark); border-top: 1px solid var(--border-sub); }
.footer__col h4 { font-family: var(--font-b); }
.section-header__line span,
.footer__social a:hover,
.nav__cta { /* keep gold accents aligned across components */ }

/* Inventory grid breathing room + alignment */
.inv-filters { backdrop-filter: blur(8px); background: rgba(24,27,33,0.92); }

/* ── Inventory brand logo filter bar ───────────────────────── */
.brandbar { background: var(--dark-2); border-bottom: 1px solid var(--border-sub); }
.brandbar__wrap { position: relative; display: flex; align-items: center; gap: .75rem; }
/* Fade hint on the right to indicate more brands to discover */
.brandbar__wrap::after {
  content: ''; position: absolute; right: 44px; top: 0; bottom: 0; width: 80px;
  background: linear-gradient(to right, transparent, var(--dark-2));
  pointer-events: none; z-index: 2;
}
.brandbar__inner { display: flex; gap: .75rem; align-items: center; flex-wrap: nowrap; padding: .875rem 0; overflow-x: auto; scrollbar-width: none; flex: 1; justify-content: flex-start; }
.brandbar__inner::-webkit-scrollbar { display: none; }
.brandbar__arrow {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); font-size: 1.25rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s, opacity .2s; z-index: 3;
}
.brandbar__arrow:hover { background: rgba(201,163,87,.15); border-color: var(--gold); color: var(--gold); }
.brandbar__item {
  display: flex; align-items: center; justify-content: center;
  height: 58px; min-width: 110px; padding: 0 1.25rem; flex-shrink: 0;
  border: 1px solid transparent; border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, filter 0.2s;
}
.brandbar__item img { height: 28px; width: auto; max-width: 90px; object-fit: contain; display: block; filter: grayscale(15%); transition: filter .2s; }
.brandbar__item--logo { background: #fff; padding: 0 .875rem; }
.brandbar__txt, .brandbar__item--all { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 0.82rem; color: rgba(255,255,255,.55); white-space: nowrap; transition: color .2s; }
.brandbar__item:hover .brandbar__txt, .brandbar__item--all:hover { color: #fff; }
.brandbar__item:hover { border-color: rgba(255,255,255,.15); }
.brandbar__item:hover img { filter: none; }
.brandbar__item.active { border-color: var(--gold); background: rgba(203,168,92,0.08); }
.brandbar__item.active .brandbar__txt { color: var(--gold); }
.brandbar__item--logo.active { background: #fff; box-shadow: 0 0 0 2px var(--gold); }
.brandbar__item--logo.active img, .brandbar__item--logo:hover img { filter: none; }
.brandbar__item--others { border: 1px dashed rgba(201,163,87,.4); }
.brandbar__item--others .brandbar__txt { color: var(--gold); }
.brandbar__item--others:hover { border-style: solid; border-color: var(--gold); }
.brandbar__item--others.active { border-style: solid; border-color: var(--gold); background: rgba(203,168,92,.1); }
.brandbar__item--dim img { filter: grayscale(60%) opacity(0.5); }
.brandbar__item--dim:hover img { filter: grayscale(20%) opacity(0.8); }

/* ============================================================
   SLIM INNER-PAGE HEADERS — drop the big title, show content fast
   ============================================================ */
.page-hero {
  padding: calc(72px + 0.9rem) 0 0.9rem !important;
  background: var(--dark) !important;
  border-bottom: 1px solid var(--border-sub);
}
.page-hero::before { display: none; }
.page-hero .overline,
.page-hero h1,
.page-hero p { display: none; }
.page-hero__breadcrumb { margin-bottom: 0; }

/* ============================================================
   PREMIUM REFINEMENT LAYER — type identity, interaction polish
   ============================================================ */

/* ── Car Ex display treatment: wide engineered caps sitewide ── */
.section-header h2,
.cta-banner h2,
.sourcing__head h2,
.page-hero h1 {
  font-stretch: 115%;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.9vw, 2.3rem);
}
/* Serif italic accent words — the Car Ex signature */
.section-header h2 em, .cta-banner h2 em, .sourcing__head h2 em, h2 em.gold {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: var(--gold-light);
  font-size: 1.08em;
}
.overline { color: var(--gold); letter-spacing: 0.28em; font-size: 0.72rem; }

/* ── Buttons: champagne gradient + sheen sweep ─────────────── */
.btn {
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-family: 'Archivo', sans-serif;
  font-size: 0.8rem;
  font-weight: 650;
  border-radius: 5px;
}
.btn--lg { font-size: 0.86rem; }
.btn--sm { font-size: 0.74rem; }
.btn--gold {
  background: var(--gold-grad);
  color: #141005;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), var(--shadow-1);
}
.btn--gold::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.42), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}
.btn--gold:hover::before { left: 130%; }
.btn--gold:hover {
  background: var(--gold-grad);
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 10px 28px rgba(200,164,93,0.28);
}
.btn--outline {
  border: 1px solid rgba(200,164,93,0.45);
  color: var(--gold-light);
  background: rgba(200,164,93,0.03);
}
.btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(200,164,93,0.09);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

/* Hero CTA matches the system */
.hero__cta {
  background: var(--gold-grad);
  color: #141005;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: 'Archivo', sans-serif;
  border-radius: 5px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 6px 24px rgba(0,0,0,0.4);
}

/* ── Nav links: center-out gold underline ──────────────────── */
.nav__link { position: relative; }
.nav__link::after {
  content: '';
  position: absolute;
  left: 0.875rem; right: 0.875rem; bottom: 0.28rem;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s var(--ease);
}
.nav__link:hover::after, .nav__link.active::after { transform: scaleX(1); }

/* ── Vehicle cards: hairline reveal + lift ─────────────────── */
.vehicle-card {
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.vehicle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
  z-index: 2;
}
.vehicle-card:hover::before { transform: scaleX(1); }
.vehicle-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200,164,93,0.3);
  box-shadow: var(--shadow-2);
}
.vehicle-card:hover .vehicle-card__img img { transform: scale(1.06); filter: brightness(1.05); }
.vehicle-card__img img { transition: transform 0.8s var(--ease-out), filter 0.4s var(--ease); }

/* ── Category tiles: cinematic slow zoom ───────────────────── */
.cat-tile__bg { transition: transform 1.4s var(--ease-out), filter 0.5s var(--ease); }
.cat-tile:hover .cat-tile__bg { transform: scale(1.07); filter: brightness(1.08) saturate(1.05); }
.cat-tile__label { transition: letter-spacing 0.4s var(--ease), color 0.3s var(--ease); }
.cat-tile:hover .cat-tile__label { letter-spacing: 0.34em; color: var(--gold-light); }
.cat-tile__arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.cat-tile:hover .cat-tile__arrow { transform: translateX(5px); }

/* ── Blog cards inherit the same lift language ─────────────── */
.blog-card:hover { box-shadow: var(--shadow-2); }

/* ── Forms: refined gold focus ─────────────────────────────── */
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,164,93,0.14);
}

/* ── FAQ: smoother open ────────────────────────────────────── */
.faq-answer { transition: max-height 0.5s cubic-bezier(0.4, 0, 0.15, 1); }
.faq-item.open .faq-question { color: var(--gold-light); }

/* ── Keyboard focus (accessibility, non-negotiable) ────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}
.btn:focus-visible, .hero__cta:focus-visible { outline-offset: 4px; }

/* ── Selection & scrollbar: brand details ──────────────────── */
::selection { background: rgba(200,164,93,0.85); color: #141005; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #2A2C33; border-radius: 6px; border: 2px solid var(--black); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ── Reduced motion: respect the preference ────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; }
}

/* ── Featured vehicles strip (homepage) ────────────────────── */
.feat-strip { background: var(--dark); border-top: 1px solid var(--border-sub); }
.feat-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 1080px) { .feat-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .feat-strip__grid { grid-template-columns: 1fr; } }
.feat-strip__foot { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   MOBILE COMPACT LAYER — shorter page, same content
   ============================================================ */
@media (max-width: 640px) {
  /* Tighter section rhythm on phones */
  :root { --section: 3.25rem; }

  /* Drive steps: compact horizontal rows instead of 4 tall cards */
  .drive__steps { grid-template-columns: 1fr; gap: 0.75rem; }
  .drive__step { text-align: left; }
  .drive__dot { display: none; }
  .drive__card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 12px;
  }
  .drive__icon { width: 42px; height: 42px; margin: 0; flex-shrink: 0; }
  .drive__icon svg { width: 19px; height: 19px; }
  .drive__card h4 { font-size: 0.98rem; margin-bottom: 0.15rem; }
  .drive__card p { font-size: 0.8rem; line-height: 1.5; }
  .drive__road { height: 48px; margin-bottom: 1rem; }

  /* Globe chips: clean 2×2 stat grid below the globe, not overlapping it */
  .globe-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .globe { grid-column: 1 / -1; height: 290px; }
  .globe-chip {
    position: static !important;
    text-align: center;
    padding: 0.85rem 0.5rem;
    background: var(--dark-2);
    border: 1px solid var(--border-sub);
    border-radius: 10px;
  }
  .globe-chip strong { font-size: 1.35rem; }
  .globe-chip span { font-size: 0.62rem; }

  /* Sourcing steps tighten */
  .sourcing__steps { gap: 0.75rem; }
}

/* ── Featured strip: 2×2 showcase on mobile ────────────────── */
@media (max-width: 620px) {
  .feat-strip__grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.7rem; }
  .feat-strip__grid .vehicle-card__body { padding: 0.75rem 0.8rem; }
  .feat-strip__grid .vehicle-card__make { font-size: 0.62rem; }
  .feat-strip__grid .vehicle-card__model { font-size: 0.92rem; line-height: 1.25; }
  .feat-strip__grid .vehicle-card__variant { font-size: 0.7rem; min-height: 0; }
  .feat-strip__grid .vehicle-card__footer { flex-wrap: wrap; gap: 0.2rem; }
  .feat-strip__grid .vehicle-card__price { font-size: 0.72rem; }
}

/* ============================================================
   HERO CTA — FINAL: premium champagne button (fixes layered
   conflict that left a gradient fill with zero padding)
   ============================================================ */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--gold-grad);
  color: #141005;
  padding: 0.95rem 1.4rem 0.95rem 2.2rem;
  border-radius: 100px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 8px 28px rgba(0,0,0,0.45);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
}
.hero__cta::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-22deg);
  transition: left 0.55s var(--ease);
  pointer-events: none;
}
.hero__cta:hover::before { left: 135%; }
.hero__cta:hover {
  background: var(--gold-grad);
  color: #141005;
  filter: brightness(1.07);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32), 0 14px 36px rgba(200,164,93,0.35);
}
.hero__cta::after {
  content: '\203A';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(20,16,5,0.18);
  color: #141005;
  font-size: 16px;
  line-height: 1;
  padding-bottom: 1px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.hero__cta:hover::after { transform: translateX(4px); background: rgba(20,16,5,0.28); }

@media (max-width: 640px) {
  .hero__cta { padding: 0.85rem 1.2rem 0.85rem 1.8rem; font-size: 0.72rem; }
  .hero__cta::after { width: 24px; height: 24px; font-size: 14px; }
}

/* ── Drive steps: equal-height aligned cards ───────────────── */
.drive__steps { align-items: stretch; }
.drive__step { display: flex; flex-direction: column; }
.drive__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.drive__card h4 { min-height: 2.6em; display: flex; align-items: center; }
.drive__card p { margin: 0; }

@media (max-width: 640px) {
  /* compact horizontal rows keep their own alignment */
  .drive__card { flex-direction: row; align-items: center; }
  .drive__card h4 { min-height: 0; display: block; }
  .drive__card p { margin: 0; }
}

/* ── Flat polish: strip decorative glows (keep metal edge only) ── */
.btn--gold,
.btn--gold:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28);
}
.btn--outline:hover { box-shadow: none; }
.hero__cta,
.hero__cta:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.32);
}
.vehicle-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.blog-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.drive__car svg { filter: none; }
.drive__step.passed .drive__dot { box-shadow: 0 0 0 4px rgba(200,164,93,0.12); }


/* ── Announcement bar (admin-controlled) ───────────────────── */
.announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 38px;
  background: var(--gold-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  z-index: 1001;
  padding: 0 2.75rem 0 1rem;
}
.announce__text {
  color: #141005;
  font-family: 'Archivo', sans-serif;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce__arrow { display: inline-block; transition: transform 0.2s var(--ease); }
a.announce__text:hover .announce__arrow { transform: translateX(3px); }
.announce__close {
  position: absolute;
  right: 0.6rem; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  color: #141005;
  font-size: 1.15rem;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.announce__close:hover { background: rgba(20,16,5,0.15); }

/* Push the fixed nav down while the bar is visible */
.has-announce .nav { top: 38px; }
.has-announce .menu-overlay { padding-top: 38px; }

/* ── Inventory pagination ──────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 3rem; flex-wrap: wrap; }
.pagination__num, .pagination__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.875rem;
  border: 1px solid var(--border-sub); border-radius: 8px;
  font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.55);
  transition: border-color var(--t), color var(--t), background var(--t);
}
.pagination__num:hover, .pagination__btn:hover { border-color: var(--gold); color: var(--gold-light); }
.pagination__num.active { background: var(--gold); border-color: var(--gold); color: #141005; }
