/* ==========================================================================
   MAXUS Caribbean — Complete Design System
   Hybrid Light/Dark Theme with Red Accent (#E31837)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap");

/* ==========================================================================
   1. CSS VARIABLES & RESET
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg-light: #ffffff;
  --bg-grey: #f7f7f7;
  --bg-input: #f9f9f9;
  --bg-dark: #111111;
  --bg-footer: #0a0a0a;

  /* Accent */
  --accent: #E31837;
  --accent-hover: #c71530;
  --accent-dim: rgba(227, 24, 55, 0.1);
  --accent-border: rgba(227, 24, 55, 0.3);

  /* Text — light backgrounds */
  --text-dark: #1a1a1a;
  --text-body: #555555;
  --text-muted: #888888;
  --text-placeholder: #cccccc;

  /* Text — dark backgrounds */
  --text-light: #ffffff;
  --text-light-muted: rgba(255, 255, 255, 0.45);

  /* Borders */
  --border-light: #eeeeee;
  --border-dark: rgba(255, 255, 255, 0.06);

  /* Brand colors */
  --whatsapp: #25D366;

  /* Typography */
  --font-display: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Layout */
  --container-max: 1280px;
  --header-height: 72px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-smooth: 500ms cubic-bezier(0.25, 0, 0.25, 1);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Focus Ring --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- Skip Navigation --- */
.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: 12px 24px;
  background: var(--accent);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-nav:focus {
  top: var(--space-md);
  color: var(--text-light);
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

/* --- Section Spacing --- */
.section {
  padding: 80px 0;
}

.section--alt,
.section-alt {
  padding: 80px 0;
  background: var(--bg-grey);
}

.section--dark,
.section-dark {
  padding: 80px 0;
  background: var(--bg-dark);
  color: var(--text-light);
}


/* ==========================================================================
   2. TYPOGRAPHY — Section Headers
   ========================================================================== */

/* --- Universal Section Header --- */
.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-title--light {
  color: var(--text-light);
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.section-subtitle--light {
  color: var(--text-light-muted);
}

.section__title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}

.section--dark .section__title,
.section-dark .section__title {
  color: var(--text-light);
}

/* --- Section Header Block (centered label + title + subtitle) --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-label .line {
  width: 36px;
  height: 1.5px;
  background: var(--accent);
}

.section-label span {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}


/* ==========================================================================
   3. BUTTON SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1;
}

/* Primary red fill */
.btn-accent,
.btn-primary {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

.btn-accent:hover,
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--text-light);
  transform: translateY(-1px);
}

/* Light outline */
.btn-outline {
  background: transparent;
  border-color: #ddd;
  color: #666;
}

.btn-outline:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

/* Light outline on dark backgrounds */
.btn-outline--light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.btn-outline--light:hover {
  border-color: var(--text-light);
  color: var(--text-light);
}

/* Red outline */
.btn-outline-accent {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--text-light);
}

/* WhatsApp */
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--text-light);
  border-color: var(--whatsapp);
}

.btn-whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: var(--text-light);
}

/* Brochure */
.btn-brochure {
  background: transparent;
  border-color: var(--accent-border);
  color: var(--accent);
}

.btn-brochure:hover {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

/* Sizes */
.btn-sm {
  padding: 8px 20px;
  font-size: 10px;
  letter-spacing: 2px;
}

.btn-lg {
  padding: 16px 44px;
  font-size: 12px;
  letter-spacing: 3px;
}

.btn-full {
  width: 100%;
}

/* Button in dark section contexts */
.section--dark .btn-outline,
.section-dark .btn-outline,
.enquiry-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.section--dark .btn-outline:hover,
.section-dark .btn-outline:hover,
.enquiry-section .btn-outline:hover {
  border-color: var(--text-light);
  color: var(--text-light);
}


/* ==========================================================================
   4. HEADER / NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-light);
  border-bottom: 2px solid var(--accent);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.site-header > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1;
}

.logo-img {
  height: 36px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 4px;
}

.logo-sub {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Navigation links */
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

.main-nav a {
  font-size: 12px;
  color: var(--text-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-base);
  position: relative;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a.active {
  color: var(--text-dark);
  font-weight: 600;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

/* Header action buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-dark);
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav overlay (mobile) */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Body lock when menu open */
body.menu-open {
  overflow: hidden;
}


/* ==========================================================================
   5. HERO CAROUSEL — Split Panel
   ========================================================================== */

.hero-carousel {
  display: flex;
  min-height: 100vh;
  margin-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

/* --- Left Panel: Text Content --- */
.hero-carousel .carousel-content,
.hero-carousel .hero-content,
.hero-carousel__text {
  width: 42%;
  background: var(--bg-light);
  padding: 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
}

/* Slide counter */
.carousel-counter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.carousel-counter .line {
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}

.carousel-counter span {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 300;
}

/* Badge */
.carousel-badge {
  display: inline-block;
  border: 1.5px solid var(--accent);
  padding: 6px 18px;
  margin-bottom: 22px;
  width: fit-content;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

/* Slide title stacked */
.carousel-slide h2,
.hero-title {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 6px;
}

.carousel-slide .hero-title-light,
.slide-text-group .hero-title-light,
.hero-content .hero-title-light {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 200;
  color: #bbb;
  line-height: 0.88;
  letter-spacing: -2px;
  margin-bottom: 6px;
}

.carousel-slide p,
.hero-carousel .carousel-content p,
.slide-text-group p,
.hero-content .slide-text-group p {
  font-size: 15px;
  color: #777;
  margin-top: 20px;
  line-height: 1.7;
  max-width: 360px;
}

/* Price tag */
.carousel-price {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 16px;
}

/* CTA buttons row */
.hero-actions,
.carousel-slide .hero-ctas {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

/* Progress bar */
.carousel-progress,
.hero-progress {
  position: absolute;
  bottom: 36px;
  left: 56px;
  right: 56px;
}

.progress-track {
  height: 2px;
  background: var(--border-light);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  animation: progressAnim 5s linear infinite;
}

@keyframes progressAnim {
  0% { width: 0%; }
  100% { width: 100%; }
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.progress-labels .active {
  font-size: 11px;
  color: var(--text-body);
  font-weight: 500;
}

.progress-labels .rest {
  font-size: 9px;
  color: var(--text-placeholder);
}

/* --- Right Panel: Vehicle Image --- */
.carousel-slides,
.hero-carousel__image {
  width: 58%;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

/* Gradient fade from left (white panel into image) */
.carousel-slides::before,
.hero-carousel__image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(to right, var(--bg-light), transparent);
  z-index: 3;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  z-index: 1;
  transition: opacity 0.8s ease, transform 5s ease-out;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Carousel overlay (on each slide) */
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
}

/* Vertical dots */
.carousel-dots {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.5);
  box-shadow: 0 0 10px rgba(227, 24, 55, 0.4);
}

/* Arrow buttons */
.carousel-arrows {
  position: absolute;
  bottom: 28px;
  right: 28px;
  display: flex;
  gap: 4px;
  z-index: 5;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.carousel-arrow:hover {
  background: var(--accent);
  color: var(--text-light);
  border-color: var(--accent);
}

.carousel-prev,
.carousel-next {
  /* Alias for arrow buttons used in HTML */
}

/* Carousel nav container (wraps dots on some pages) */
.carousel-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

/* Watermark text */
.hero-watermark {
  position: absolute;
  bottom: 12%;
  right: -3%;
  font-family: var(--font-display);
  font-size: 110px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.04);
  letter-spacing: 10px;
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
}

/* Slide text groups — only active is visible */
.slide-text-group {
  display: none;
}

.slide-text-group.active {
  display: block;
}

/* Stagger-animate children on entry */
.slide-text-group.active .carousel-counter,
.slide-text-group.active .carousel-badge,
.slide-text-group.active .hero-title,
.slide-text-group.active .hero-title-light,
.slide-text-group.active p,
.slide-text-group.active .hero-actions {
  animation: slideTextIn 0.45s ease both;
}

.slide-text-group.active .carousel-counter  { animation-delay: 0s; }
.slide-text-group.active .carousel-badge     { animation-delay: 0.07s; }
.slide-text-group.active .hero-title         { animation-delay: 0.14s; }
.slide-text-group.active .hero-title-light   { animation-delay: 0.21s; }
.slide-text-group.active p                   { animation-delay: 0.28s; }
.slide-text-group.active .hero-actions       { animation-delay: 0.35s; }

@keyframes slideTextIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero content inside full-bleed carousel slides (fallback for simpler carousel layout) */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: var(--header-height);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 580px;
}

.hero .hero-content h1,
.hero .hero-title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--text-light);
  line-height: 1;
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.hero .hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 28px;
}


/* ==========================================================================
   6. VEHICLE CARDS — Magazine Grid (Dark Section)
   ========================================================================== */

.vehicle-grid-section {
  background: var(--bg-dark);
  padding: 80px 0;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Individual card */
.vehicle-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  transition: transform var(--transition-slow);
}

/* --- Magazine-style cards (used on homepage dark section) --- */
.section--dark .vehicle-card,
.section-dark .vehicle-card,
.vehicle-grid-section .vehicle-card {
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #1a1a1a;
}

.vehicle-card__image-wrap {
  position: relative;
  overflow: hidden;
}

.vehicle-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0, 0.25, 1);
}

.vehicle-card:hover .vehicle-card__image-wrap img {
  transform: scale(1.06);
}

/* Card image (simple version) */
.vehicle-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 0, 0.25, 1);
}

.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.06);
}

/* Badge on image */
.vehicle-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.95);
  z-index: 3;
}

/* Card body */
.vehicle-card__body {
  padding: 24px;
}

.vehicle-card__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.vehicle-card__tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.5;
}

.vehicle-card__spec {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.vehicle-card__specs {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  list-style: none;
}

.vehicle-card__specs li {
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg-grey);
  font-weight: 500;
}

.vehicle-card__actions {
  display: flex;
  gap: 8px;
}

/* Compact card variant */
.vehicle-card--compact .vehicle-card__body {
  padding: 16px;
}

.vehicle-card--compact .vehicle-card__name {
  font-size: 18px;
}

/* --- Dark section overlay card styles (magazine grid) --- */
.section--dark .vehicle-card__image-wrap,
.section-dark .vehicle-card__image-wrap,
.vehicle-grid-section .vehicle-card__image-wrap {
  position: absolute;
  inset: 0;
}

.section--dark .vehicle-card__image-wrap img,
.section-dark .vehicle-card__image-wrap img,
.vehicle-grid-section .vehicle-card__image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay gradient */
.section--dark .vehicle-card::before,
.section-dark .vehicle-card::before,
.vehicle-grid-section .vehicle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 70%);
  transition: background var(--transition-slow);
  z-index: 2;
}

.section--dark .vehicle-card:hover::before,
.section-dark .vehicle-card:hover::before,
.vehicle-grid-section .vehicle-card:hover::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

/* Body positioned at bottom of card */
.section--dark .vehicle-card__body,
.section-dark .vehicle-card__body,
.vehicle-grid-section .vehicle-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  transform: translateY(16px);
  transition: transform var(--transition-smooth);
}

.section--dark .vehicle-card:hover .vehicle-card__body,
.section-dark .vehicle-card:hover .vehicle-card__body,
.vehicle-grid-section .vehicle-card:hover .vehicle-card__body {
  transform: translateY(0);
}

/* Dark card text colors */
.section--dark .vehicle-card__name,
.section-dark .vehicle-card__name,
.vehicle-grid-section .vehicle-card__name {
  color: var(--text-light);
}

.section--dark .vehicle-card__tagline,
.section-dark .vehicle-card__tagline,
.vehicle-grid-section .vehicle-card__tagline {
  color: rgba(255, 255, 255, 0.5);
}

.section--dark .vehicle-card__spec,
.section-dark .vehicle-card__spec,
.vehicle-grid-section .vehicle-card__spec {
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.section--dark .vehicle-card:hover .vehicle-card__spec,
.section-dark .vehicle-card:hover .vehicle-card__spec,
.vehicle-grid-section .vehicle-card:hover .vehicle-card__spec {
  opacity: 1;
}

/* CTA link in dark cards */
.section--dark .vehicle-card__actions,
.section-dark .vehicle-card__actions,
.vehicle-grid-section .vehicle-card__actions {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.section--dark .vehicle-card:hover .vehicle-card__actions,
.section-dark .vehicle-card:hover .vehicle-card__actions,
.vehicle-grid-section .vehicle-card:hover .vehicle-card__actions {
  opacity: 1;
  transform: translateY(0);
}

/* Red underline sweep on hover */
.section--dark .vehicle-card::after,
.section-dark .vehicle-card::after,
.vehicle-grid-section .vehicle-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
  z-index: 4;
}

.section--dark .vehicle-card:hover::after,
.section-dark .vehicle-card:hover::after,
.vehicle-grid-section .vehicle-card:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   VCARD — Magazine-style dark overlay cards (homepage vehicle grid)
   ========================================================================== */

.vcard {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: #1a1a1a;
}

/* Background image layer */
.vcard-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0, 0.25, 1);
}

.vcard:hover .vcard-img {
  transform: scale(1.06);
}

/* Dark gradient overlay */
.vcard-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
  transition: background var(--transition-slow);
  z-index: 2;
}

.vcard:hover .vcard-ov {
  background: linear-gradient(to top, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

/* Content block pinned to bottom */
.vcard-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 24px;
  transform: translateY(12px);
  transition: transform var(--transition-smooth);
}

.vcard:hover .vcard-content {
  transform: translateY(0);
}

/* Category label — hidden until hover */
.vcard-cat {
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 4px;
  opacity: 0;
  transition: opacity 0.4s ease 0.1s;
}

.vcard:hover .vcard-cat {
  opacity: 1;
}

/* Vehicle name */
.vcard-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Tagline */
.vcard-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  line-height: 1.5;
}

/* Explore CTA — hidden until hover */
.vcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.vcard:hover .vcard-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Red bottom sweep on hover */
.vcard::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
  z-index: 4;
}

.vcard:hover::after {
  transform: scaleX(1);
}

/* Responsive — 2 columns on tablet */
@media (max-width: 900px) {
  .vehicle-grid:has(.vcard) {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive — 1 column on mobile */
@media (max-width: 540px) {
  .vehicle-grid:has(.vcard) {
    grid-template-columns: 1fr;
  }
  .vcard {
    aspect-ratio: 16 / 9;
  }
}

/* --- Category Rows (homepage Browse by Category) --- */
.cat-row {
  margin-top: 40px;
}

.cat-row:first-of-type {
  margin-top: 48px;
}

.cat-row__label {
  margin-bottom: 16px;
}

.cat-row__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  display: inline;
}

.cat-row__count {
  font-size: 13px;
  color: var(--text-light-muted);
  display: inline;
  margin-left: 10px;
}

.cat-row__cards {
  display: flex;
  gap: 12px;
}

/* Individual vehicle card in row */
.cat-vcard {
  position: relative;
  flex: 1;
  min-height: 200px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.cat-vcard__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.cat-vcard:hover .cat-vcard__img {
  transform: scale(1.06);
}

.cat-vcard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
  transition: background var(--transition-base);
}

.cat-vcard:hover .cat-vcard__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.cat-vcard__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.cat-vcard__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: #25D366;
  padding: 2px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  align-self: flex-start;
}

.cat-vcard__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  display: block;
}

.cat-vcard__tag {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: block;
  margin-top: 2px;
}

/* Red bottom sweep on hover */
.cat-vcard::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
  z-index: 4;
  border-radius: 0 0 8px 8px;
}

.cat-vcard:hover::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .cat-row__cards {
    flex-wrap: wrap;
  }
  .cat-vcard {
    flex: 1 1 calc(50% - 6px);
    min-height: 180px;
  }
}

@media (max-width: 540px) {
  .cat-row__cards {
    flex-direction: column;
  }
  .cat-vcard {
    flex: none;
    min-height: 180px;
  }
}

/* Badge in dark cards */
.section--dark .vehicle-card__badge,
.section-dark .vehicle-card__badge,
.vehicle-grid-section .vehicle-card__badge {
  background: transparent;
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 3px;
  position: static;
  padding: 0;
  margin-bottom: 4px;
}

/* Vehicle category title (vehicles.html filter) */
.vehicle-category-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
  margin-top: 48px;
}

.section--dark .vehicle-category-title,
.section-dark .vehicle-category-title {
  color: var(--text-light);
}

/* Grid helpers */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}


/* ==========================================================================
   7. WAITLIST / FORMS
   ========================================================================== */

.waitlist-section {
  background: var(--bg-light);
}

.waitlist-inner {
  display: flex;
  max-width: var(--container-max);
  margin: 0 auto;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.waitlist-text {
  flex: 1;
  padding: 48px;
  background: var(--bg-grey);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.waitlist-badge {
  display: inline-block;
  border: 1.5px solid var(--accent);
  padding: 5px 14px;
  margin-bottom: 18px;
  width: fit-content;
  font-size: 9px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.waitlist-text h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 14px;
}

.waitlist-text p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin-bottom: 20px;
}

.waitlist-perks {
  list-style: none;
}

.waitlist-perks li {
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.waitlist-perks li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.waitlist-form-wrap {
  flex: 1;
  padding: 48px;
  background: var(--bg-light);
  border-left: 1px solid var(--border-light);
}

.waitlist-privacy {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* --- Form Elements --- */
.form-group {
  margin-bottom: 16px;
}

.form-group label,
.form-label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-display);
  font-weight: 500;
}

.form-control,
.form-input {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg-input);
  border: 1.5px solid #e5e5e5;
  color: var(--text-dark);
  font-size: 14px;
  font-family: var(--font-body);
  transition: border-color var(--transition-base);
  outline: none;
}

.form-control:focus,
.form-input:focus {
  border-color: var(--accent);
}

.form-control::placeholder,
.form-input::placeholder {
  color: var(--text-placeholder);
}

/* Select wrap */
.form-select-wrap {
  position: relative;
}

.form-select-wrap select {
  width: 100%;
  padding: 13px 14px;
  background: var(--bg-input);
  border: 1.5px solid #e5e5e5;
  color: var(--text-dark);
  font-size: 14px;
  font-family: var(--font-body);
  appearance: none;
  cursor: pointer;
  transition: border-color var(--transition-base);
  outline: none;
}

.form-select-wrap select:focus {
  border-color: var(--accent);
}

.form-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-muted);
  pointer-events: none;
}

/* Form row (side-by-side fields) */
.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

/* Submit button */
.form-submit,
.waitlist-form .btn-accent,
.waitlist-form .btn-primary {
  width: 100%;
  padding: 15px;
  background: var(--accent);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition-base);
  margin-top: 4px;
}

.form-submit:hover,
.waitlist-form .btn-accent:hover,
.waitlist-form .btn-primary:hover {
  background: var(--accent-hover);
}

/* Form validation states */
.form-error {
  font-size: 12px;
  color: var(--accent);
  margin-top: 4px;
}

.form-success {
  display: none;
  padding: 16px;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 14px;
  text-align: center;
}

.form-success.visible,
.form-success.show {
  display: block;
}

/* Dark section form overrides */
.section--dark .form-control,
.section-dark .form-control,
.enquiry-form .form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.section--dark .form-control:focus,
.section-dark .form-control:focus,
.enquiry-form .form-control:focus {
  border-color: var(--accent);
}

.section--dark .form-control::placeholder,
.section-dark .form-control::placeholder,
.enquiry-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.section--dark .form-group label,
.section-dark .form-group label,
.enquiry-form .form-group label {
  color: rgba(255, 255, 255, 0.5);
}


/* ==========================================================================
   8. CTA SECTION + DEALERSHIP
   ========================================================================== */

.cta-section {
  background: var(--bg-grey);
  padding: 80px 0;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.cta-section__text {
  flex: 1;
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-section__text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta-section__actions {
  display: flex;
  gap: 12px;
}

.cta-form-wrapper {
  flex: 1;
}

.cta-alternatives {
  margin-top: 24px;
}

.cta-alternative {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  color: var(--text-body);
}

.cta-alternative a {
  color: var(--accent);
  font-weight: 600;
}

/* --- Dealership Section --- */
.dealership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.dealership-info__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.dealership-info__icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.dealership-info__label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 4px;
}

.dealership-info__value {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}

.dealership-info__value a {
  color: var(--text-dark);
}

.dealership-info__value a:hover {
  color: var(--accent);
}

.dealership-map {
  overflow: hidden;
  min-height: 300px;
}

.dealership-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  filter: grayscale(0.3);
}


/* ==========================================================================
   9. VEHICLE DETAIL PAGES
   ========================================================================== */

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 16px 0;
  margin-top: var(--header-height);
  background: var(--bg-grey);
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.breadcrumb li {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.breadcrumb li a {
  color: var(--text-muted);
}

.breadcrumb li a:hover {
  color: var(--accent);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-placeholder);
}

.breadcrumb li[aria-current="page"] {
  color: var(--text-dark);
  font-weight: 500;
}

/* --- Vehicle Hero (Split: image left 58%, info right 42%) --- */
.vehicle-hero {
  padding: 48px 0;
  background: var(--bg-light);
}

.vehicle-hero__grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 48px;
  align-items: center;
}

.vehicle-hero__image {
  overflow: hidden;
}

.vehicle-hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vehicle-hero__info {
  padding: 24px 0;
}

.vehicle-hero__badge {
  display: inline-block;
  border: 1.5px solid var(--accent);
  padding: 6px 18px;
  margin-bottom: 16px;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

.vehicle-hero__name {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.vehicle-hero__tagline {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.vehicle-hero__desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.vehicle-hero__actions {
  display: flex;
  gap: 12px;
}

/* --- Specs Grid --- */
.specs-section {
  padding: 48px 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border-light);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
}

.spec-row:nth-child(odd) {
  background: var(--bg-grey);
}

.spec-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-value {
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 600;
  text-align: right;
}

.specs-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
  font-style: italic;
}

/* --- Gallery Strip --- */
.gallery-section {
  padding: 48px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-grid__item,
.gallery-item {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  position: relative;
}

.gallery-grid__item img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-grid__item:hover img,
.gallery-item:hover img {
  transform: scale(1.08);
}

/* --- Lightbox Overlay --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--text-light);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox__close:hover {
  color: var(--accent);
}

/* --- Highlights Grid (Key Features) --- */
.highlights-section {
  padding: 64px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card {
  padding: 32px 24px;
  background: var(--bg-grey);
  text-align: center;
  transition: transform var(--transition-base);
}

.highlight-card:hover {
  transform: translateY(-4px);
}

.highlight-card__icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.highlight-card__icon svg {
  width: 40px;
  height: 40px;
}

.highlight-card__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.highlight-card__text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-block {
  padding: 24px;
  border: 1px solid var(--border-light);
  transition: border-color var(--transition-base);
}

.feature-block:hover {
  border-color: var(--accent-border);
}

.feature-block__icon {
  color: var(--accent);
  margin-bottom: 12px;
}

.feature-block__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-block__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Enquiry Form Section --- */
.enquiry-section {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
}

.enquiry-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.enquiry-section__text h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 16px;
}

.enquiry-section__text p {
  font-size: 15px;
  color: var(--text-light-muted);
  line-height: 1.7;
}

.enquiry-section__contact {
  margin-top: 24px;
}

.enquiry-section__contact p {
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.8;
}

.enquiry-section__contact a {
  color: var(--accent);
}

.enquiry-section__contact a:hover {
  color: var(--text-light);
}

.enquiry-section__contact strong {
  color: var(--text-light);
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.enquiry-form .btn-accent,
.enquiry-form .btn-primary {
  margin-top: 8px;
}

/* --- Sticky CTA Bar --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  padding: 12px 0;
  z-index: 80;
  transform: translateY(100%);
  transition: transform var(--transition-base);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-cta__name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.sticky-cta__actions {
  display: flex;
  gap: 10px;
}

/* --- Related Vehicles --- */
.related-section {
  padding: 64px 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}


/* ==========================================================================
   10. PAGE HEROES — Supporting Pages
   ========================================================================== */

.page-hero {
  padding: 80px 0 60px;
  margin-top: var(--header-height);
  background: linear-gradient(135deg, var(--bg-light), var(--bg-grey));
  position: relative;
  overflow: hidden;
}

.page-hero--short {
  padding: 60px 0 40px;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}


/* ==========================================================================
   11. FLEET SOLUTIONS
   ========================================================================== */

.fleet-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}

.fleet-split__content {
  display: flex;
  flex-direction: column;
}

.fleet-split__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.fleet-split__text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.fleet-split__image {
  overflow: hidden;
}

.fleet-split__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.fleet-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.fleet-feature {
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  text-align: center;
  transition: border-color var(--transition-base);
}

.fleet-feature:hover {
  border-color: var(--accent-border);
}

.fleet-feature__icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.fleet-feature h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.fleet-feature p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}


/* ==========================================================================
   12. CATEGORY CARDS (Electric, etc.)
   ========================================================================== */

.category-card {
  padding: 32px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.category-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
}

.category-card__icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.category-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.category-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Why Choose Cards (image-backed) --- */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.why-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  cursor: default;
}

.why-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.why-card:hover .why-card__img {
  transform: scale(1.05);
}

.why-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.15) 100%);
  transition: background var(--transition-base);
}

.why-card:hover .why-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.2) 100%);
}

.why-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  z-index: 2;
}

.why-card__icon {
  margin-bottom: 12px;
  opacity: 0.9;
}

.why-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.why-card__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

/* Authorized Dealer — logo card variant */
.why-card--logo {
  background: var(--bg-dark);
}

.why-card__logo-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 80px;
}

.why-card__logo-img {
  width: 180px;
  opacity: 0.5;
  transition: opacity var(--transition-base);
}

.why-card--logo:hover .why-card__logo-img {
  opacity: 0.65;
}

.why-card__overlay--brand {
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}

@media (max-width: 900px) {
  .why-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .why-card {
    min-height: 280px;
  }
}

/* General card utility */
.card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 24px;
  transition: border-color var(--transition-base);
}

.card:hover {
  border-color: var(--accent-border);
}


/* ==========================================================================
   13. TRUST STRIP
   ========================================================================== */

.trust-strip {
  background: var(--bg-dark);
  padding: 20px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.trust-strip__inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-light-muted);
}

.trust-strip__item a {
  color: var(--text-light-muted);
}

.trust-strip__item a:hover {
  color: var(--text-light);
}


/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-footer);
  padding: 56px 0 24px;
  border-top: 2px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col p,
.footer-col li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 2;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  display: block;
  line-height: 2;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Footer logo */
.footer-logo {
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  font-size: 20px;
  color: var(--text-light);
}

.footer-logo .logo-sub {
  color: rgba(255, 255, 255, 0.4);
}

/* Footer contact (phone highlight) */
.footer-contact a {
  color: rgba(255, 255, 255, 0.35);
}

.footer-contact .phone,
.footer-col .phone {
  color: var(--accent);
}

/* Footer partner (powered-by badge) */
.footer-partner {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  margin-top: 12px;
}

.footer-partner a {
  color: rgba(255, 255, 255, 0.3);
  display: inline;
}

.footer-partner a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* Footer bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.footer-bottom span,
.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
}

.footer-legal {
  display: flex;
  gap: 16px;
}

.footer-legal a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  display: inline;
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.4);
}


/* ==========================================================================
   15. COOKIE CONSENT BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-light);
  border-top: 1px solid var(--border-light);
  padding: 20px 0;
  z-index: 9000;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(0);
  transition: transform var(--transition-base);
}

.cookie-banner.hidden {
  transform: translateY(100%);
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

.cookie-banner__text {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
  flex: 1;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions,
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-accept {
  padding: 8px 20px;
  background: var(--accent);
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-accept:hover {
  background: var(--accent-hover);
}

.cookie-reject {
  padding: 8px 20px;
  background: transparent;
  border: 1.5px solid #ddd;
  color: #666;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cookie-reject:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
}


/* ==========================================================================
   16. LEGAL PAGES (Privacy, Terms)
   ========================================================================== */

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 0;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal-content a {
  color: var(--accent);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 32px;
}


/* ==========================================================================
   17. 404 PAGE
   ========================================================================== */

/* 404 uses inline styles in the HTML, but these provide fallback classes */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: calc(var(--header-height) + 80px);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  opacity: 0.1;
  margin-bottom: var(--space-md);
}

.error-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: -2rem;
  margin-bottom: var(--space-md);
}

.error-text {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto var(--space-xl);
  line-height: 1.7;
}


/* ==========================================================================
   18. GSAP ANIMATION STATES
   ========================================================================== */

/* GSAP sets initial state via JS — CSS keeps content visible as fallback */
.gsap-reveal,
.gsap-reveal-left,
.gsap-reveal-right {
  /* opacity and transform set by GSAP on init, not CSS */
}

/* Data-animate attributes used by JS */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-animate="fade-in"].animated {
  opacity: 1;
}


/* ==========================================================================
   18b. VEHICLE DETAIL PAGE (VDP)
   ========================================================================== */

/* --- VDP Hero --- */
.vdp-hero {
  position: relative;
  min-height: 80vh;
  margin-top: var(--header-height);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.vdp-hero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.vdp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.05) 100%);
}

.vdp-hero__content {
  position: relative;
  z-index: 2;
  padding-bottom: 56px;
  width: 100%;
}

.vdp-hero .breadcrumb {
  margin-bottom: 16px;
  margin-top: 0;
  padding: 0;
  background: none;
  border-bottom: none;
}

.vdp-hero .breadcrumb a,
.vdp-hero .breadcrumb span {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  text-decoration: none;
}

.vdp-hero .breadcrumb a:hover {
  color: #fff;
}

.vdp-hero__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 4px 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vdp-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 12px;
}

.vdp-hero__title .light {
  font-weight: 200;
  opacity: 0.7;
}

.vdp-hero__tagline {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
  max-width: 500px;
}

.vdp-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* --- VDP Specs Bar --- */
.vdp-specs-bar {
  background: var(--bg-dark);
  padding: 32px 0;
  border-bottom: 1px solid var(--border-dark);
}

.vdp-specs-bar__grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vdp-stat {
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.vdp-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.vdp-stat__value small {
  font-size: 16px;
  font-weight: 400;
  opacity: 0.6;
}

.vdp-stat__label {
  display: block;
  font-size: 12px;
  color: var(--text-light-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- VDP Feature Image / Video --- */
.vdp-feature-img {
  width: 100%;
  overflow: hidden;
}

.vdp-feature-img__media {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
}

.vdp-feature-img__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vdp-feature-img__media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;
}

/* --- VDP Overview --- */
.vdp-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.vdp-overview__text p {
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.8;
}

.vdp-overview__highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vdp-highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.vdp-highlight__icon {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

.vdp-highlight strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.vdp-highlight span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- VDP Gallery --- */
.vdp-gallery-row {
  margin-top: 32px;
}

.vdp-gallery-row:first-of-type {
  margin-top: 24px;
}

.vdp-gallery-row__title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vdp-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.vdp-gallery-item {
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.vdp-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vdp-gallery-item:hover img {
  transform: scale(1.05);
}

/* Gallery filter tabs (legacy — kept for pages not yet updated) */
.vdp-gallery-tabs {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.vdp-gallery-tab {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: 1px solid var(--border-light);
  padding: 6px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.vdp-gallery-tab:hover {
  border-color: var(--text-body);
  color: var(--text-dark);
}

.vdp-gallery-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* --- VDP Spec Tabs --- */
.vdp-spec-tabs {
  display: flex;
  gap: 4px;
  margin: 24px 0;
  border-bottom: 2px solid var(--border-light);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vdp-spec-tab {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-fast);
}

.vdp-spec-tab:hover {
  color: var(--text-dark);
}

.vdp-spec-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.vdp-spec-panel {
  display: none;
}

.vdp-spec-panel.active {
  display: block;
}

.vdp-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.vdp-spec-table tr {
  border-bottom: 1px solid var(--border-light);
}

.vdp-spec-table td {
  padding: 14px 0;
  font-size: 14px;
}

.vdp-spec-table td:first-child {
  font-weight: 600;
  color: var(--text-dark);
  width: 40%;
  font-family: var(--font-display);
}

.vdp-spec-table td:last-child {
  color: var(--text-body);
}

/* --- VDP Compare Grid --- */
.vdp-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.vdp-compare-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

.vdp-compare-label {
  display: block;
  font-size: 12px;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.vdp-compare-val {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.vdp-compare-val--hero {
  color: var(--accent);
}

.vdp-compare-vs {
  font-size: 12px;
  color: var(--text-light-muted);
}

/* --- Related Grid (reuses cat-vcard) --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.related-grid .cat-vcard {
  min-height: 220px;
}

/* --- VDP Responsive --- */
@media (max-width: 900px) {
  .vdp-hero {
    min-height: 60vh;
  }
  .vdp-overview {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vdp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vdp-compare-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .vdp-hero {
    min-height: 50vh;
  }
  .vdp-hero__title {
    font-size: 48px;
  }
  .vdp-specs-bar__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .vdp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vdp-compare-grid {
    grid-template-columns: 1fr;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .vdp-spec-table td:first-child {
    width: 45%;
  }
}


/* ==========================================================================
   19. RESPONSIVE — Tablet (max-width: 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  /* Hero */
  .hero-carousel {
    flex-direction: column;
    min-height: auto;
  }

  .hero-carousel .carousel-content,
  .hero-carousel .hero-content {
    width: 100%;
    padding: 48px 32px;
    min-height: 50vh;
  }

  .carousel-slides {
    width: 100%;
    min-height: 50vh;
  }

  .carousel-slide h2,
  .hero-title {
    font-size: 48px;
  }

  .hero-watermark {
    font-size: 72px;
  }

  /* Vehicle hero */
  .vehicle-hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vehicle-hero__name {
    font-size: 36px;
  }

  /* Grids */
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Fleet */
  .fleet-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fleet-features {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Enquiry */
  .enquiry-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* CTA */
  .cta-section__inner {
    flex-direction: column;
    gap: 32px;
  }

  /* Dealership */
  .dealership-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  /* Spec grid */
  .spec-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   20. RESPONSIVE — Mobile (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 56px 0;
  }

  .section--alt,
  .section-alt {
    padding: 56px 0;
  }

  .section--dark,
  .section-dark {
    padding: 56px 0;
  }

  /* Header */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--bg-dark);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 100;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    letter-spacing: 3px;
    padding: 16px 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    /* Staggered animation */
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
  }

  .main-nav.open a {
    opacity: 1;
    transform: translateX(0);
  }

  .main-nav.open a:nth-child(1) { transition-delay: 0.05s; }
  .main-nav.open a:nth-child(2) { transition-delay: 0.1s; }
  .main-nav.open a:nth-child(3) { transition-delay: 0.15s; }
  .main-nav.open a:nth-child(4) { transition-delay: 0.2s; }
  .main-nav.open a:nth-child(5) { transition-delay: 0.25s; }
  .main-nav.open a:nth-child(6) { transition-delay: 0.3s; }

  .main-nav a:hover {
    color: var(--text-light);
  }

  .main-nav a.active {
    color: var(--text-light);
  }

  .main-nav a.active::after {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-whatsapp,
  .header-actions .btn-accent {
    display: none;
  }

  /* Hero */
  .hero-carousel .carousel-content,
  .hero-carousel .hero-content {
    padding: 40px 24px;
    min-height: auto;
  }

  .carousel-slides {
    min-height: 40vh;
  }

  .carousel-slide h2,
  .hero-title {
    font-size: 40px;
  }

  .carousel-slide .hero-title-light,
  .slide-text-group .hero-title-light {
    font-size: 40px;
  }

  .hero-watermark {
    font-size: 48px;
    bottom: 5%;
    right: 5%;
  }

  .carousel-progress,
  .hero-progress {
    left: 24px;
    right: 24px;
    bottom: 24px;
  }

  /* Page hero */
  .page-hero {
    padding: 60px 0 40px;
  }

  .page-hero__title {
    font-size: 36px;
  }

  /* Vehicle grid */
  .vehicle-grid {
    grid-template-columns: 1fr;
  }

  /* Waitlist */
  .waitlist-inner {
    flex-direction: column;
  }

  .waitlist-text,
  .waitlist-form-wrap {
    padding: 32px 24px;
  }

  .waitlist-form-wrap {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }

  /* Grid fallbacks */
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .highlights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .fleet-features {
    grid-template-columns: 1fr;
  }

  /* Vehicle hero */
  .vehicle-hero__name {
    font-size: 32px;
  }

  .vehicle-hero__actions {
    flex-direction: column;
  }

  /* Sticky CTA */
  .sticky-cta > .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .sticky-cta__actions {
    width: 100%;
  }

  .sticky-cta__actions .btn {
    flex: 1;
  }

  /* CTA section */
  .cta-section__actions {
    flex-direction: column;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Cookie banner */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    padding: 0 24px;
  }

  /* Trust strip */
  .trust-strip__inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  /* Form row */
  .form-row {
    flex-direction: column;
    gap: 0;
  }

  /* Hero actions */
  .hero-actions,
  .carousel-slide .hero-ctas {
    flex-direction: column;
    gap: 8px;
  }
}


/* ==========================================================================
   21. RESPONSIVE — Small Mobile (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section--alt,
  .section-alt {
    padding: 40px 0;
  }

  .section--dark,
  .section-dark {
    padding: 40px 0;
  }

  /* Typography */
  .section-title {
    font-size: 28px;
  }

  .section__title {
    font-size: 24px;
  }

  .page-hero__title {
    font-size: 28px;
  }

  /* Hero */
  .carousel-slide h2,
  .hero-title {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .carousel-slide .hero-title-light,
  .slide-text-group .hero-title-light {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero-watermark {
    display: none;
  }

  /* Vehicle hero */
  .vehicle-hero__name {
    font-size: 28px;
  }

  .vehicle-hero__badge {
    font-size: 9px;
    padding: 4px 12px;
  }

  /* Highlights */
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Waitlist */
  .waitlist-text h2 {
    font-size: 24px;
  }

  .waitlist-text,
  .waitlist-form-wrap {
    padding: 24px 16px;
  }

  /* Cookie banner */
  .cookie-banner__inner {
    padding: 0 16px;
  }

  .cookie-banner__actions,
  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-accept,
  .cookie-reject {
    width: 100%;
    text-align: center;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Enquiry */
  .enquiry-section__text h2 {
    font-size: 24px;
  }

  /* CTA */
  .cta-section__title {
    font-size: 28px;
  }

  /* Buttons on small screens */
  .btn {
    padding: 12px 24px;
    font-size: 10px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 11px;
  }
}


/* ==========================================================================
   22. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .carousel-slide {
    transition: none;
  }

  .hero-watermark {
    transition: none;
  }

  .vehicle-card__image-wrap img,
  .vehicle-card__image img,
  .gallery-grid__item img,
  .gallery-item img {
    transition: none;
  }

  .gsap-reveal,
  .gsap-reveal-left,
  .gsap-reveal-right,
  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .main-nav a {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .progress-fill {
    animation: none;
    width: 100%;
  }
}
