/* ==========================================================================
   MAXUS Jamaica — Main Stylesheet
   Production CSS for automotive dealer website
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONTS (Google Fonts)
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* --------------------------------------------------------------------------
   2. CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors — Premium Automotive */
  --primary: #1A1A1A;
  --primary-dark: #0D0D0D;
  --primary-light: #333333;
  --accent: #C5A572;           /* Champagne gold */
  --accent-hover: #B8975F;
  --bg: #FFFFFF;
  --bg-alt: #F7F7F5;
  --bg-dark: #0D0D0D;
  --bg-dark-lighter: #1A1A1A;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #FFFFFF;
  --border: #E5E5E3;
  --success: #4A7C59;
  --whatsapp: #25D366;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Borders & Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1200px;
  --header-height: 72px;
}

/* --------------------------------------------------------------------------
   3. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::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: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-light);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--text);
  letter-spacing: -0.5px;
}

.section-title--light {
  color: var(--text-light);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-xl);
  line-height: 1.6;
}

.section-subtitle--light {
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   5. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: 80px 0;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-dark .section-title {
  color: var(--text-light);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.section-alt {
  background-color: var(--bg-alt);
}

.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --------------------------------------------------------------------------
   6. HEADER (Fixed, transparent → solid on scroll)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: background-color var(--transition-base), box-shadow var(--transition-base);
  background-color: transparent;
}

.site-header.scrolled {
  background-color: var(--bg);
  box-shadow: none;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  z-index: 1001;
}

.logo-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--text-light);
  transition: color var(--transition-base);
}

.logo-region {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 1px;
  color: var(--accent);
  text-transform: uppercase;
}

.site-header.scrolled .logo-brand {
  color: var(--primary);
}

/* Navigation */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--text-light);
}

.site-header.scrolled .nav-link {
  color: var(--text);
}

.site-header.scrolled .nav-link:hover {
  color: var(--primary);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background-color: var(--accent);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.header-whatsapp:hover {
  background-color: var(--accent-hover);
  color: var(--primary-dark);
  transform: translateY(-1px);
}

/* Hamburger (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.site-header.scrolled .hamburger span {
  background-color: var(--text);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   7. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 165, 114, 0.35);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline--light {
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-outline--light:hover {
  background-color: var(--text-light);
  color: var(--primary);
}

/* .btn-whatsapp — deprecated (premium redesign) */
.btn-whatsapp {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-whatsapp:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 13, 13, 0.88) 0%,
    rgba(26, 26, 26, 0.55) 50%,
    rgba(13, 13, 13, 0.80) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-lg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.hero-title span {
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
.hero-carousel {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-dark);
}

.carousel-slides {
  position: relative;
  height: 100%;
  width: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

.carousel-content {
  position: absolute;
  bottom: 15%;
  left: 0;
  z-index: 3;
  max-width: 600px;
  padding: 0 var(--space-2xl);
}

.carousel-badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
}

.carousel-content h2 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.carousel-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.carousel-price {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.5px;
}

.carousel-nav {
  position: absolute;
  bottom: 5%;
  left: var(--space-2xl);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 60px;
}

.carousel-arrows {
  display: flex;
  gap: 4px;
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .hero-carousel {
    height: 75vh;
    min-height: 500px;
  }
  .carousel-content {
    padding: 0 var(--space-lg);
    bottom: 20%;
    max-width: 100%;
  }
  .carousel-content h2 {
    font-size: 2.2rem;
  }
  .carousel-nav {
    left: var(--space-lg);
  }
}

/* --------------------------------------------------------------------------
   9. VEHICLE CARDS
   -------------------------------------------------------------------------- */
.vehicle-card {
  background: var(--bg);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.vehicle-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--bg-alt);
}

.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.05);
}

.vehicle-card__body {
  padding: var(--space-lg);
}

.vehicle-card__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.vehicle-card__tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.vehicle-card__spec {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-hover);
  background: rgba(197, 165, 114, 0.1);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.vehicle-card__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   10. CATEGORY CARDS
   -------------------------------------------------------------------------- */
.category-card {
  background: var(--bg);
  border-radius: 2px;
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.category-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: rgba(197, 165, 114, 0.1);
  border-radius: 2px;
  font-size: 1.75rem;
}

.category-card__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.category-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.category-card__count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   11. SPEC GRID
   -------------------------------------------------------------------------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg);
  border-radius: 2px;
  border: 1px solid var(--border);
}

.spec-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 165, 114, 0.1);
  border-radius: 2px;
  font-size: 1.25rem;
  color: var(--accent);
}

.spec-item__content {
  flex: 1;
}

.spec-item__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.spec-item__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   12. FORMS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.form-control {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background-color: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 2px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.15);
}

.form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235A6672' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Validation states */
.form-control.is-invalid {
  border-color: #C0392B;
}

.form-control.is-valid {
  border-color: var(--success);
}

.form-error {
  font-size: 0.8125rem;
  color: #C0392B;
  margin-top: var(--space-xs);
}

.form-success {
  background-color: rgba(74, 124, 89, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
  padding: var(--space-md) var(--space-lg);
  border-radius: 2px;
  font-weight: 600;
  text-align: center;
  display: none;
}

.form-success.visible {
  display: block;
}

/* --------------------------------------------------------------------------
   13. GALLERY
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-grid__item {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-grid__item:hover img {
  transform: scale(1.05);
}

.gallery-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--transition-base);
}

.gallery-grid__item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* Lightbox Overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  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: 85vh;
  object-fit: contain;
  border-radius: 2px;
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --------------------------------------------------------------------------
   14. FLEET SECTION (Split Layout)
   -------------------------------------------------------------------------- */
.fleet-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.fleet-split__content {
  padding-right: var(--space-xl);
}

.fleet-split__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text);
}

.fleet-split__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.fleet-split__image {
  border-radius: 2px;
  overflow: hidden;
}

.fleet-split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fleet-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.fleet-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  color: var(--text);
}

.fleet-feature__icon {
  color: var(--success);
  font-size: 1.125rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   15. TRUST STRIP
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-md) 0;
}

.trust-strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 500;
  font-size: 0.9375rem;
}

.trust-strip__item a {
  color: var(--text-light);
  text-decoration: none;
}

.trust-strip__item a:hover {
  text-decoration: underline;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   16. WHY MAXUS FEATURES
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-block {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
}

.feature-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 2rem;
}

.feature-block__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.feature-block__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   17. DEALERSHIP / CONTACT SECTION
   -------------------------------------------------------------------------- */
.dealership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.dealership-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.dealership-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 165, 114, 0.1);
  border-radius: 2px;
  color: var(--accent);
  font-size: 1.125rem;
}

.dealership-info__label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 2px;
}

.dealership-info__value {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.dealership-info__value a {
  color: var(--primary);
  text-decoration: none;
}

.dealership-info__value a:hover {
  text-decoration: underline;
}

.dealership-map {
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
  min-height: 360px;
}

.dealership-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 360px;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0A0A0A;
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-2xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer-brand__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-light);
  letter-spacing: 2px;
  margin-bottom: var(--space-xs);
}

.footer-brand__logo span {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 6px;
}

.footer-brand__tagline {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.footer-col__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-light);
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact__item span:first-child {
  flex-shrink: 0;
}

.footer-contact__item a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-contact__item a:hover {
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom__copy {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-lg);
}

.footer-bottom__links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-bottom__links a:hover {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   19. FLOATING CONTACT BUTTON (was WhatsApp — repurposed for premium)
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background-color: var(--accent);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(197, 165, 114, 0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 24px rgba(197, 165, 114, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--primary-dark);
}

.whatsapp-float__label {
  position: absolute;
  right: 72px;
  background: var(--bg);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__label {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   20. COOKIE CONSENT BANNER
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: var(--space-lg) var(--space-lg);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.cookie-banner__text {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  flex: 1;
}

.cookie-banner__text a {
  color: var(--text-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   21. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-nav {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  z-index: 9999;
  padding: var(--space-sm) var(--space-md);
  background: var(--primary);
  color: var(--text-light);
  font-weight: 600;
  border-radius: 0 0 2px 2px;
  transition: top var(--transition-fast);
}

.skip-nav:focus {
  top: 0;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   22. ANIMATIONS & KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 16px rgba(197, 165, 114, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(197, 165, 114, 0.3),
                0 0 0 12px rgba(197, 165, 114, 0.1);
  }
  100% {
    box-shadow: 0 4px 16px rgba(197, 165, 114, 0.3),
                0 0 0 24px rgba(197, 165, 114, 0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease both;
}

.animate-slide-up {
  animation: slideUp 0.6s ease both;
}

/* --------------------------------------------------------------------------
   23. VEHICLE DETAIL PAGE
   -------------------------------------------------------------------------- */
.vehicle-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-xl));
}

.vehicle-hero__image {
  border-radius: 2px;
  overflow: hidden;
}

.vehicle-hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.vehicle-hero__info {
  padding: var(--space-lg) 0;
}

.vehicle-hero__badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(197, 165, 114, 0.1);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

.vehicle-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.vehicle-hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.vehicle-hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.vehicle-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.vehicle-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

/* Sticky CTA Bar (vehicle detail pages) */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 800;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  padding: var(--space-md) 0;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-bar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-cta-bar__model {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
}

.sticky-cta-bar__actions {
  display: flex;
  gap: var(--space-sm);
}

/* --------------------------------------------------------------------------
   24. LEAD CAPTURE / CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, #1A1A1A 0%, var(--primary-dark) 100%);
  color: var(--text-light);
}

.cta-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 2px;
  padding: var(--space-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.cta-alternatives {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.cta-alternative {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.cta-alternative a {
  color: var(--text-light);
  text-decoration: underline;
}

/* ==========================================================================
   Agent Normalization — classes used by vehicle/fleet/about/contact pages
   ========================================================================== */

/* --- Section Modifier Aliases --- */
.section--alt { background-color: var(--bg-alt); }
.section--dark { background-color: var(--bg-dark); color: var(--text-light); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--text);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}
.breadcrumb span { color: var(--text-muted); }

/* --- Vehicle Grid (catalog page) --- */
.vehicle-grid-section { padding: var(--space-3xl) 0; }
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

/* --- Vehicle Card Variants (catalog + detail pages) --- */
.vehicle-card__image-wrap {
  overflow: hidden;
  border-radius: 2px 2px 0 0;
}
.vehicle-card__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}
.vehicle-card__specs {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin: var(--space-md) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.vehicle-card__specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vehicle-card--compact {
  /* Compact variant for related vehicles section */
}

/* --- Vehicle Hero Detail Variants --- */
.vehicle-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.vehicle-hero__name {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-sm);
}
.vehicle-hero__tagline {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--space-md);
}
.vehicle-hero__desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

/* --- Highlights Section (vehicle detail pages) --- */
.highlights-section { padding: var(--space-3xl) 0; }
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.highlight-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--bg-alt);
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.highlight-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-md);
  color: var(--primary);
}
.highlight-card__icon svg {
  width: 100%;
  height: 100%;
}
.highlight-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
  color: var(--text);
}
.highlight-card__text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Specs Section (vehicle detail pages) --- */
.specs-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border);
}
.spec-row:last-child { border-bottom: none; }
.spec-label {
  font-weight: 600;
  color: var(--text);
}
.spec-value {
  color: var(--text-muted);
  text-align: right;
}
.specs-note {
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Gallery Section --- */
.gallery-section { padding: var(--space-3xl) 0; }
.gallery-item {
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

/* --- Enquiry Section (vehicle detail pages) --- */
.enquiry-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-dark);
  color: var(--text-light);
}
.enquiry-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-2xl);
  align-items: start;
}
.enquiry-section__text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.enquiry-section__text p {
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.enquiry-section__contact {
  margin-top: var(--space-lg);
}
.enquiry-section__contact a {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}
.enquiry-section__contact a:hover { color: var(--accent); }
.enquiry-form {
  background: rgba(255,255,255,0.04);
  padding: var(--space-xl);
  border-radius: 2px;
  border: 1px solid rgba(255,255,255,0.1);
}
.enquiry-form .form-group { margin-bottom: var(--space-md); }
.enquiry-form .form-control,
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  background: rgba(255,255,255,0.06);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}
.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197,165,114,0.2);
}
.enquiry-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.enquiry-form select option {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* --- Related Section --- */
.related-section {
  padding: var(--space-3xl) 0;
  background: var(--bg-alt);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* --- Sticky CTA (vehicle pages — variant naming) --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-dark);
  padding: var(--space-md) 0;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sticky-cta__name {
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}
.sticky-cta__actions {
  display: flex;
  gap: var(--space-sm);
}

/* --- CTA Section Extras --- */
.cta-section__inner { max-width: 700px; margin: 0 auto; }
.cta-section__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}
.cta-section__text {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.cta-section__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Form Extras --- */
.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
}
.form-select-wrap {
  position: relative;
}
.form-select-wrap select {
  appearance: none;
  padding-right: 40px;
}
.btn-full {
  width: 100%;
  display: block;
  text-align: center;
}

/* --- Footer Extras --- */
.footer-brand { /* alias for footer col with logo */ }
.footer-year { /* auto-update year span */ }

/* --- Cookie Button Classes --- */
.cookie-accept,
.cookie-reject {
  /* Handled by the btn classes already applied alongside them */
}

/* --- Dealership Info Wrapper --- */
.dealership-info {
  display: grid;
  gap: var(--space-lg);
}

/* --------------------------------------------------------------------------
   25. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Tablet landscape and below (1024px) */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fleet-split {
    gap: var(--space-xl);
  }

  .fleet-split__content {
    padding-right: 0;
  }

  .vehicle-hero {
    grid-template-columns: 1fr;
  }

  /* Agent Normalization — 1024px overrides */
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet portrait and below (768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 60px 0;
  }

  /* Mobile Navigation */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-lg) var(--space-lg);
    transition: right var(--transition-base);
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-link {
    color: var(--text);
    padding: var(--space-md) 0;
    width: 100%;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header-cta .header-whatsapp {
    display: none;
  }

  /* Mobile Navigation Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
  }

  .nav-overlay.visible {
    opacity: 1;
    visibility: visible;
  }

  /* Grids */
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .fleet-split {
    grid-template-columns: 1fr;
  }

  .fleet-features {
    grid-template-columns: 1fr;
  }

  .dealership-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  /* Hero */
  .hero {
    min-height: 70vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Cookie Banner */
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  /* Trust Strip */
  .trust-strip__inner {
    flex-direction: column;
    gap: var(--space-md);
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Sticky CTA Bar */
  .sticky-cta-bar__inner {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  /* Agent Normalization — 768px overrides */
  .vehicle-grid { grid-template-columns: 1fr; }
  .vehicle-hero__grid { grid-template-columns: 1fr; }
  .vehicle-hero__name { font-size: 1.8rem; }
  .enquiry-section__inner { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .sticky-cta__name { display: none; }
  .sticky-cta__actions { width: 100%; justify-content: center; }
}

/* Mobile small (480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-content {
    padding: 0 var(--space-md);
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.9375rem;
    min-height: 44px;
  }

  .btn-sm {
    padding: 10px 16px;
    min-height: 44px;
  }

  .form-control {
    padding: 14px 16px;
    min-height: 44px;
  }

  .cta-form-wrapper {
    padding: var(--space-lg);
  }

  .vehicle-card__actions {
    flex-direction: column;
  }

  .vehicle-card__actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float__label {
    display: none;
  }

  /* Agent Normalization — 480px overrides */
  .highlights-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   26. ACCESSIBILITY
   -------------------------------------------------------------------------- */

/* Visible focus indicators */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* 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;
  }

  .whatsapp-float {
    animation: none;
  }
}

/* Body scroll lock when mobile menu is open */
body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   27. PAGE HERO (Interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #1A1A1A 100%);
  text-align: center;
  padding-top: var(--header-height);
}

.page-hero--short {
  min-height: 30vh;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   28. GENERIC CARD
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg);
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   29. LEGAL CONTENT (Privacy, Terms)
   -------------------------------------------------------------------------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: var(--space-md);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-md);
}

.legal-content ul li {
  margin-bottom: var(--space-sm);
  line-height: 1.7;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--primary-dark);
}

.legal-updated {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   30. TEMPLATE HEADER/FOOTER OVERRIDES
   --------------------------------------------------------------------------
   The HTML template uses slightly different class names than the original
   CSS. These rules ensure both sets work correctly.
   -------------------------------------------------------------------------- */

/* Logo text/sub variant */
.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color var(--transition-base);
}

.logo-sub {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  display: block;
  margin-top: -2px;
  opacity: 0.7;
  color: var(--accent);
}

.site-header.scrolled .logo-text {
  color: var(--primary);
}

/* Main nav direct anchor links */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.main-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover {
  color: var(--text-light);
}

.site-header.scrolled .main-nav a {
  color: var(--text);
}

.site-header.scrolled .main-nav a:hover {
  color: var(--primary);
}

/* Header actions + menu toggle */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.site-header.scrolled .menu-toggle span {
  background-color: var(--text);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Cookie actions */
.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Footer template classes */
.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
  color: var(--text-light);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-md);
  letter-spacing: 0.5px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-col ul a:hover {
  color: var(--text-light);
}

.footer-contact li {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--text-light);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   31. RESPONSIVE OVERRIDES FOR NEW SECTIONS
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--bg);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-lg) var(--space-lg);
    transition: right var(--transition-base);
    z-index: 999;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav a {
    color: var(--text);
    padding: var(--space-md) 0;
    width: 100%;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a::after {
    display: none;
  }

  .header-actions .btn-whatsapp {
    display: none;
  }

  .page-hero {
    min-height: 25vh;
  }

  .page-hero--short {
    min-height: 20vh;
  }

  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    justify-content: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ==========================================================================
   WAITLIST / REGISTER INTEREST SECTION
   ========================================================================== */
.waitlist-section {
  background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 100%);
  color: var(--text-light);
  padding: var(--space-3xl) 0;
}

.waitlist-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.waitlist-badge {
  display: inline-flex;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  padding: 6px 18px;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-lg);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197, 165, 114, 0.3); }
  50% { box-shadow: 0 0 0 10px rgba(197, 165, 114, 0); }
}

.waitlist-text h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.waitlist-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-lg);
}

.waitlist-perks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.waitlist-perks li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.waitlist-perks li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.waitlist-form-wrap {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: var(--space-xl);
  backdrop-filter: blur(8px);
}

.waitlist-form .form-group {
  margin-bottom: var(--space-md);
}

.waitlist-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.waitlist-form .form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.waitlist-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.waitlist-form .form-control:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(197, 165, 114, 0.2);
}

.waitlist-form select option {
  background: var(--bg-dark);
  color: var(--text-light);
}

.waitlist-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-md);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .waitlist-inner {
    grid-template-columns: 1fr;
  }
  .waitlist-text h2 {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .waitlist-badge {
    animation: none;
  }
}
