/* ============================================================
   VISION MOTORING SG — Main Design System CSS
   Source of truth: v2-layout1.html prototype CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&family=Inter:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:          #0F2A53;
  --navy-light:    #1A3A6B;
  --gold:          #D4AF37;
  --gold-hover:    #C9A22E;
  --gold-light:    #F5EDD3;
  --white:         #FFFFFF;
  --error:         #D64545;
  --success:       #2D8F4E;

  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;
  --body-size:     17px;
  --line-height:   1.65;

  --space-xs:      0.5rem;
  --space-sm:      0.75rem;
  --space-md:      1.25rem;
  --space-lg:      2rem;
  --space-xl:      3.5rem;
  --space-2xl:     5rem;
  --section-gap:   5rem;
  --element-gap:   1.5rem;

  --radius-sm:     4px;
  --radius-md:     8px;
  --radius-lg:     12px;
  --radius-xl:     16px;

  --transition-fast: 0.2s ease;
  --transition-base: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --card-shadow:         0 2px 12px rgba(15, 42, 83, 0.06);
  --card-hover-shadow:   0 12px 32px rgba(15, 42, 83, 0.12), 0 4px 12px rgba(15, 42, 83, 0.06);
  --button-hover-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  --nav-shadow:          0 1px 4px rgba(15, 42, 83, 0.06);

  --shimmer-gradient:    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  --gold-line-gradient:  linear-gradient(90deg, transparent, #D4AF37, transparent);
  --gold-line-solid:     linear-gradient(90deg, #D4AF37, transparent);
  --gold-line-height:    3px;

  --bg:              #FFFFFF;
  --bg-alt:          #F8F9FA;
  --surface:         #FFFFFF;
  --text:            #0F2A53;
  --text-body:       #2A3A52;
  --text-muted:      #556677;
  --border:          #DEE2E8;
  --border-light:    #EEF0F3;
  --input-bg:        #FFFFFF;
  --input-border:    #CDD3DA;
  --input-focus:     #0F2A53;
  --input-focus-ring: rgba(15, 42, 83, 0.08);
  --hero-overlay:    linear-gradient(135deg, rgba(255,255,255,0.35) 0%, rgba(248,249,250,0.15) 50%, rgba(15,42,83,0.08) 100%);
  --footer-bg:       #0F2A53;
  --footer-text:     #FFFFFF;
  --footer-muted:    #A8B8CC;
  --badge-bg:        #F0F4F8;
  --gold-bg-muted:   #FBF7EC;
  --shimmer-opacity: 0.04;

  --content-size: 800px;
  --wide-size:    1280px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--line-height);
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  text-wrap: balance;
}
h1 { font-size: clamp(36px, 4.5vw, 48px); font-weight: 600; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.5vw, 36px); font-weight: 600; line-height: 1.2; }
h3 { font-size: clamp(22px, 2.5vw, 26px); font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; }
p { text-wrap: pretty; }

.wide-width {
  max-width: var(--wide-size);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

/* ============================================================
   SCROLL FADE-IN
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  line-height: 1;
}
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--shimmer-gradient);
  transition: left 0.5s ease;
}
.btn:hover::after { left: 100%; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--button-hover-shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}
.btn-secondary::after { display: none; }

.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-lg {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1EBE5A;
  border-color: #1EBE5A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp svg { width: 20px; height: 20px; margin-right: 8px; }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
}
.btn-navy::after {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: var(--white);
  padding: 8px var(--space-lg);
}
.top-bar__inner {
  max-width: var(--wide-size);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}
.top-bar__phone {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.top-bar__phone svg { width: 16px; height: 16px; color: var(--navy); }
.top-bar__link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition-fast);
}
.top-bar__link:hover { color: var(--navy); }
.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  transition: transform var(--transition-fast);
}
.whatsapp-icon:hover { transform: scale(1.08); }
.whatsapp-icon svg { width: 18px; height: 18px; }

/* ============================================================
   HERO WRAPPER
   ============================================================ */
.hero-wrapper {
  position: relative;
  padding: 0 clamp(12px, 2vw, 24px);
}

.hero-logo {
  position: absolute;
  top: -20px;
  left: 0;
  z-index: 100;
  background: var(--white);
  padding: 10px 16px 14px;
  border-radius: 0 0 var(--radius-lg) 0;
}
.hero-logo img { height: 70px; width: auto; }

/* ============================================================
   SITE HEADER / NAV PILL
   ============================================================ */
.site-header {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.header-inner {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 8px 8px 8px 18px;
  box-shadow: 0 2px 12px rgba(15, 42, 83, 0.06);
  pointer-events: auto;
}
.header-logo { display: none; }
.nav-compact { display: none; }
.header-nav {
  display: flex;
  gap: var(--space-sm);
}
.header-nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}
.header-nav a:hover,
.header-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions .whatsapp-icon { display: none; }
.header-actions .btn-sm {
  border-radius: 50px;
  padding: 10px 24px;
}

/* Inner pages: flat header bar */
.page-header-bar {
  background: var(--white);
  padding: 16px var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}
.page-header-bar__inner {
  max-width: var(--wide-size);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.page-header-bar .site-header {
  position: static;
  flex: 1;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}
.page-header-bar .header-inner {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}
.page-logo img { height: 56px; width: auto; }

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Mobile nav drawer — fixed right-side panel */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  z-index: 9999;
  flex-direction: column;
  background: var(--navy);
  border-left: 2px solid var(--gold);
  overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0,0,0,0.35);
}
.mobile-nav.open { display: flex; }
/* Backdrop when nav is open */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
}
.mobile-nav-backdrop.open { display: block; }
.mobile-nav nav {
  display: flex;
  flex-direction: column;
  padding: 72px var(--space-lg) var(--space-md);
  gap: 0;
  flex: 1;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: block;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold); padding-left: 6px; }
.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--space-md) var(--space-lg) var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-nav__actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  gap: 8px;
}
.mobile-nav__actions .btn svg { flex-shrink: 0; }

/* ============================================================
   HERO IMAGE
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(500px, 80vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 20px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 20, 30, 0.5) 0%, rgba(15, 20, 30, 0.2) 25%, rgba(255, 255, 255, 0) 45%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 clamp(32px, 4vw, 60px) clamp(24px, 3vw, 36px);
}
.hero__subtitle {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.hero__heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 12px;
  max-width: 580px;
  text-transform: uppercase;
}
.hero__heading .gold { color: var(--gold); }
.hero__tagline {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 440px;
}
.hero__car { display: none; }

/* ============================================================
   INNER PAGE HERO
   ============================================================ */
.inner-page-hero {
  background: var(--navy);
  padding: var(--space-2xl) 0 var(--space-xl);
}
.inner-page-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.inner-page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  max-width: 600px;
}
.inner-page-hero--bar {
  background: var(--navy);
  padding: var(--space-xl) 0;
  border-bottom: 3px solid var(--gold);
}
.inner-page-hero--bar h1 {
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 8px;
}
.inner-page-hero--bar p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-lg);
}
.search-tabs { display: none; }
.search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 42, 83, 0.08);
}
.search-bar select {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 36px 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23556677' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--transition-fast);
  cursor: pointer;
}
.search-bar select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}
.search-bar .btn-search {
  min-width: 130px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.search-bar .btn-search:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--button-hover-shadow);
}
.search-bar .btn-search svg { width: 16px; height: 16px; }

/* ============================================================
   TRUST CARDS
   ============================================================ */
.trust-cards-wrapper {
  position: relative;
  z-index: 10;
  margin-top: -48px;
  padding-bottom: var(--space-xl);
}
.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.trust-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.trust-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}
.trust-card:hover::before { transform: scaleX(1); }
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.trust-card__icon { width: 40px; height: 40px; margin-bottom: 14px; color: var(--navy); }
.trust-card__title { font-family: var(--font-heading); font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.trust-card__text { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* Trust strip (inner pages) */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-xl) 0;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.trust-strip__item svg { width: 28px; height: 28px; color: var(--gold); margin: 0 auto 10px; display: block; }
.trust-strip__number { display: block; font-family: var(--font-heading); font-size: 32px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.trust-strip__label { display: block; font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}
.section-header h2 { margin: 0; }
.section-header .view-all {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}
.section-header .view-all:hover { border-bottom-color: var(--gold); }

.section-heading {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-heading h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}
.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.section-heading p {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--text-muted);
  font-size: 16px;
}

/* ============================================================
   FEATURED SECTION & TABS
   ============================================================ */
.featured-section {
  padding: var(--section-gap) 0;
  background: var(--white);
}
.tab-bar {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  border-bottom: 2px solid var(--border-light);
}
.tab-bar button {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}
.tab-bar button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.tab-bar button.active { color: var(--navy); }
.tab-bar button.active::after { opacity: 1; }
.tab-bar button:hover { color: var(--navy); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   LISTINGS GRID & CAR CARD
   ============================================================ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.listings-grid--archive {
  grid-template-columns: repeat(3, 1fr) !important;
}
.car-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
}
.car-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 2;
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover-shadow); border-color: var(--gold); }
.car-card:hover::before { opacity: 1; }

.car-card__image { width: 100%; height: 180px; position: relative; overflow: hidden; }
.car-card__image img { width: 100%; height: 100%; object-fit: cover; }
.car-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border-light) 50%, var(--bg-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-card__image-placeholder svg { width: 48px; height: 48px; opacity: 0.18; color: var(--text-muted); }
.car-card__image::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255, var(--shimmer-opacity)), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}
.car-card:hover .car-card__image::after { left: 100%; }

.car-card__body { padding: 20px; }
.car-card__price { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.car-card__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
  /* Fixed 2-line height so all cards are equal */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(15px * 1.4 * 2); /* ~42px = 2 lines */
}
.car-card__specs { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.car-card__specs span { display: flex; align-items: center; gap: 6px; }
.car-card__specs svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.5; }
.car-card__link { font-family: var(--font-heading); font-size: 14px; font-weight: 500; color: var(--navy); border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color var(--transition-fast); }
.car-card__link:hover { color: var(--gold-hover); }

/* Car badges */
.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.car-badge-just-in    { background: var(--gold); color: var(--navy); }
.car-badge-best-seller { background: var(--navy); color: var(--white); }
.car-badge-hot-deal   { background: #E53E3E; color: var(--white); }
.car-badge-sold       { background: #718096; color: var(--white); }
.car-badge-reserved   { background: #ED8936; color: var(--white); }
.car-badge-parf       { background: var(--success); color: var(--white); }

/* Sold card state */
.car-card--sold {
  opacity: 0.75;
  pointer-events: auto; /* still clickable */
}
.car-card--sold .car-card__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 2;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.car-card--sold .car-card__price { color: var(--text-muted); }
.car-card--sold .car-card__link { opacity: 0.5; border-color: var(--text-muted); }
.car-card--sold:hover { transform: none; box-shadow: var(--card-shadow); border-color: var(--border-light); }

/* ============================================================
   BROWSE BY TYPE
   ============================================================ */
.browse-section { padding: var(--section-gap) 0; }
.browse-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-lg); }
.browse-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.browse-card:hover { transform: translateY(-6px); box-shadow: var(--card-hover-shadow); }
.browse-card__image { width: 100%; height: 100%; object-fit: cover; }
.browse-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border-light) 50%, var(--bg-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.browse-card__image-placeholder svg { width: 48px; height: 48px; opacity: 0.15; color: var(--text-muted); }
.browse-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 42, 83, 0.7) 0%, transparent 60%);
}
.browse-card__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; color: var(--white); }
.browse-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font-heading);
  background: var(--gold);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
}
.browse-card__name { font-family: var(--font-heading); font-size: 16px; font-weight: 600; color: var(--white); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section { padding: var(--section-gap) 0; background: var(--bg-alt); }
.why-section__header { text-align: center; margin-bottom: var(--space-xl); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-lg); }
.why-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.why-card__icon { width: 48px; height: 48px; margin: 0 auto var(--space-md); color: var(--gold); background: var(--gold-bg-muted); border-radius: 50%; padding: 10px; }
.why-card h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   SELL YOUR CAR — SECTION
   ============================================================ */
.sell-section { background: var(--navy); padding: var(--section-gap) 0; color: var(--white); }
.sell-section h2 { color: var(--white); text-align: center; margin-bottom: var(--space-xl); }

.timeline {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--space-2xl);
  position: relative;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.timeline-step { flex: 1; text-align: center; position: relative; }
.timeline-step__number {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  position: relative; z-index: 2;
}
.timeline-step__label { font-size: 14px; color: rgba(255, 255, 255, 0.85); max-width: 160px; margin: 0 auto; line-height: 1.4; }
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: calc(50% + 22px);
  right: calc(-50% + 22px);
  height: 2px;
  background: rgba(212, 175, 55, 0.4);
  z-index: 1;
}

.sell-form {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.sell-form .form-group { display: flex; flex-direction: column; }
.sell-form .form-group.full-width { grid-column: 1 / -1; }
.sell-form label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.sell-form input,
.sell-form select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.sell-form input::placeholder { color: rgba(255, 255, 255, 0.4); }
.sell-form input:focus,
.sell-form select:focus { border-color: var(--gold); background: rgba(255, 255, 255, 0.12); }
.sell-form .form-actions { grid-column: 1 / -1; text-align: center; margin-top: var(--space-md); }

/* ============================================================
   CUSTOMER REVIEWS
   ============================================================ */
.reviews-section { background: var(--white); padding: var(--section-gap) 0; }
.reviews-header { text-align: center; margin-bottom: var(--space-xl); }
.reviews-header h2 { display: inline-block; position: relative; margin-bottom: var(--space-md); }
.reviews-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: var(--gold-line-height);
  background: var(--gold); border-radius: 2px;
}
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: var(--space-lg); }
.rating-number { font-family: var(--font-heading); font-size: 48px; font-weight: 600; color: var(--navy); line-height: 1; }
.rating-stars { display: flex; gap: 4px; }
.rating-stars svg { width: 24px; height: 24px; color: var(--gold); fill: var(--gold); }
.rating-text { font-size: 14px; color: var(--text-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--card-hover-shadow); }
.review-card__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review-card__stars svg { width: 18px; height: 18px; color: var(--gold); fill: var(--gold); }
.review-card__text { font-size: 16px; font-style: italic; color: var(--text-body); line-height: 1.6; margin-bottom: 16px; }
.review-card__text::before { content: '\201C'; }
.review-card__text::after  { content: '\201D'; }
.review-card__author { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--navy); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { background: var(--navy); padding: var(--section-gap) 0; color: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.about-image__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.about-image__placeholder svg { width: 64px; height: 64px; opacity: 0.15; color: var(--white); }
.about-content h2 { color: var(--white); margin-bottom: var(--space-lg); position: relative; display: inline-block; }
.about-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 50px; height: 3px;
  background: var(--gold); border-radius: 2px;
}
.about-content p { color: rgba(255, 255, 255, 0.8); margin-bottom: var(--space-md); line-height: 1.7; }
.about-content .btn-secondary { color: var(--white); border-color: var(--gold); margin-top: var(--space-md); }
.about-content .btn-secondary:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--gold); padding: var(--space-2xl) var(--space-lg); text-align: center; }
.cta-banner h2 { color: var(--navy); margin-bottom: var(--space-lg); }
.cta-banner__buttons { display: flex; gap: var(--space-md); justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section { padding: var(--section-gap) 0; background: var(--white); }
.faq-header { text-align: center; margin-bottom: var(--space-xl); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px; font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  transition: color var(--transition-fast);
}
.faq-question:hover { color: var(--navy); }
.faq-question svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); transition: transform var(--transition-base); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition-base), padding var(--transition-base); }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: var(--section-gap) 0; background: #E8ECF2 !important; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.cta-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.cta-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.cta-card__icon {
  width: 56px; height: 56px;
  background: var(--gold-bg-muted);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-lg);
}
.cta-card__icon svg { width: 28px; height: 28px; color: var(--gold); }
.cta-card h3 { margin-bottom: var(--space-sm); }
.cta-card__stat { font-family: var(--font-heading); font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: var(--space-sm); }
.cta-card p { color: var(--text-muted); margin-bottom: var(--space-lg); font-size: 15px; line-height: 1.6; }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: var(--section-gap) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: var(--space-xl); margin-bottom: var(--section-gap); }
.footer-col__logo img { height: 48px; width: auto; margin-bottom: var(--space-md); }
.footer-col__desc { font-size: 14px; color: var(--footer-muted); line-height: 1.65; }
.footer-col h4 {
  color: var(--white);
  font-size: 14px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-md);
  padding-bottom: 10px;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--gold);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--footer-muted); transition: color var(--transition-fast); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 14px; color: var(--footer-muted); }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); margin-top: 2px; }
.footer-social { display: flex; gap: 12px; margin-top: var(--space-md); }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--footer-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
  text-align: center;
  font-size: 13px;
  color: var(--footer-muted);
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.vm-floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-decoration: none;
}
.vm-floating-wa:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45); }
.vm-floating-wa svg { width: 22px; height: 22px; }

/* ============================================================
   CAR DETAIL PAGE
   ============================================================ */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  padding: var(--space-xl) 0 var(--section-gap);
  align-items: start;
}
.detail-gallery {}
.detail-gallery__main {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--bg-alt);
}
.detail-gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.detail-gallery__strip { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
.detail-gallery__thumb {
  width: 88px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast);
}
.detail-gallery__thumb:hover,
.detail-gallery__thumb.active { border-color: var(--gold); }
.detail-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-sidebar {
  position: sticky;
  top: 24px;
}
.detail-sidebar__price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.detail-sidebar__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-md);
}
.detail-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
}
.detail-spec-item {}
.detail-spec-item__label { font-size: 11px; font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; }
.detail-spec-item__value { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text); }

.detail-sidebar__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--space-lg); }
.detail-sidebar__actions .btn { width: 100%; justify-content: center; }

.detail-sold-ribbon {
  position: absolute;
  top: 20px;
  right: -32px;
  background: #718096;
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 40px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
}

.detail-tabs-section { padding: var(--space-xl) 0; }
.detail-content {}
.detail-content h3 { font-size: 20px; color: var(--navy); margin-bottom: var(--space-md); padding-bottom: 12px; border-bottom: 2px solid var(--border-light); }

.detail-depreciation {
  background: var(--gold-bg-muted);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.detail-depreciation__value { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--navy); }
.detail-depreciation__label { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   USED CARS ARCHIVE PAGE
   ============================================================ */
.used-cars-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  padding: var(--space-xl) 0 var(--section-gap);
  align-items: start;
}
.filter-sidebar {
  position: sticky;
  top: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}
.filter-sidebar h3 { font-size: 16px; color: var(--navy); margin-bottom: var(--space-md); }
.filter-form {}
.filter-group { margin-bottom: var(--space-md); }
.filter-label { display: block; font-family: var(--font-heading); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 8px; }
.filter-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 32px 10px 12px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23556677' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color var(--transition-fast);
  cursor: pointer;
}
.filter-select:focus { border-color: var(--input-focus); box-shadow: 0 0 0 3px var(--input-focus-ring); }

/* COE Remaining radio buttons */
.filter-radio-group { display: flex; flex-direction: column; gap: 10px; }
.filter-radio-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text); cursor: pointer;
  line-height: 1.2; user-select: none;
}
.filter-radio-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-radio-custom {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.filter-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.15s;
}
.filter-radio-label input[type="radio"]:checked ~ .filter-radio-custom {
  border-color: var(--gold);
  background: #fff;
}
.filter-radio-label input[type="radio"]:checked ~ .filter-radio-custom::after {
  transform: translate(-50%, -50%) scale(1);
}
.filter-radio-label:hover .filter-radio-custom { border-color: var(--gold); }

.filter-results { font-size: 14px; color: var(--text-muted); margin-bottom: var(--space-md); }

/* ============================================================
   FORM STYLES
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-label,
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--input-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  appearance: none;
}
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}
input::placeholder,
textarea::placeholder { color: var(--text-muted); opacity: 0.6; }
textarea { resize: vertical; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23556677' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.optional { font-weight: 400; color: var(--text-muted); font-size: 12px; }
.form-reassurance {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form-reassurance svg { width: 14px; height: 14px; color: var(--text-muted); }
.form-actions { margin-top: 8px; }

/* File upload */
.file-upload {
  border: 2px dashed var(--input-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14px;
}
.file-upload:hover { border-color: var(--gold); background: var(--gold-bg-muted); }
.file-upload svg { width: 28px; height: 28px; color: var(--gold); }
.file-upload__hint { font-size: 12px; opacity: 0.7; }

/* Success state */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) 0;
}
.form-success.show { display: block; }
.form-success .success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.form-success .success-icon svg { width: 36px; height: 36px; color: var(--gold); }
.form-success h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.form-success p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ============================================================
   LOAN CALCULATOR
   ============================================================ */
.calc-section { padding: var(--section-gap) 0; background: var(--bg-alt); }
.calc-rate-note { font-size: 11px; color: var(--text-muted); font-style: italic; margin-top: 8px; max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6; }
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--space-xl);
  align-items: start;
}
.calc-inputs {}
.calc-field { margin-bottom: var(--space-lg); }
.calc-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.calc-label-value { font-weight: 700; color: var(--gold); }
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  border: none;
  padding: 0;
  margin-bottom: 8px;
  cursor: pointer;
  background: linear-gradient(to right, #D4AF37 0%, #D4AF37 30%, #DEE2E8 30%, #DEE2E8 100%);
  box-shadow: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(15, 42, 83, 0.15);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--gold);
  cursor: pointer;
}
.calc-field input[type="number"] {
  width: 140px;
  padding: 8px 12px;
  font-size: 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
}
.calc-field__hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; }
.dp-buttons { display: flex; gap: 8px; margin-top: 10px; margin-bottom: 8px; }
.dp-btn {
  flex: 1;
  padding: 8px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dp-btn:hover, .dp-btn.active { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.calc-results-panel {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: sticky;
  top: var(--space-lg);
}
.calc-monthly-label { font-size: 14px; color: var(--footer-muted); text-transform: uppercase; letter-spacing: 1px; font-family: var(--font-heading); font-weight: 600; margin-bottom: 8px; }
.calc-monthly-value { font-family: var(--font-heading); font-size: 42px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 32px; }
.calc-monthly-unit { font-size: 18px; font-weight: 500; color: var(--footer-muted); }

.donut-wrapper { display: flex; flex-direction: column; align-items: center; margin-bottom: 32px; }
.donut-chart { position: relative; width: 160px; height: 160px; }
.donut-chart svg { width: 160px; height: 160px; transform: rotate(-90deg); }
.donut-chart circle { fill: none; stroke-width: 20; }
.donut-chart .donut-bg { stroke: var(--navy-light); }
.donut-chart .donut-principal { stroke: var(--gold); transition: stroke-dasharray 0.5s ease; }
.donut-chart .donut-interest { stroke: var(--footer-muted); transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease; }
.donut-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.donut-center__label { font-size: 11px; color: var(--footer-muted); text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--font-heading); }
.donut-center__value { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--white); margin-top: 2px; }
.donut-legend { display: flex; gap: 24px; margin-top: 16px; }
.donut-legend__item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--footer-muted); }
.donut-legend__dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.donut-legend__dot--principal { background: var(--gold); }
.donut-legend__dot--interest  { background: var(--footer-muted); }

.calc-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 28px; }
.calc-breakdown__item { text-align: center; }
.calc-breakdown__label { font-size: 12px; color: var(--footer-muted); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.calc-breakdown__value { font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--white); }
.calc-results-panel .btn-primary { width: 100%; padding: 14px; }

/* Loan widget (detail page sidebar) */
.loan-widget { background: var(--bg-alt); border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-md); }
.loan-widget__title { font-family: var(--font-heading); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: var(--space-sm); }
.loan-widget__row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; }
.loan-widget__row:last-child { border-bottom: none; }
.loan-widget__row-label { color: var(--text-muted); }
.loan-widget__row-value { font-family: var(--font-heading); font-weight: 600; color: var(--text); }

/* ============================================================
   PROSE / CONTENT
   ============================================================ */
.prose p { margin-bottom: var(--space-md); font-size: 16px; line-height: 1.75; color: var(--text-body); }
.prose ul { margin-bottom: var(--space-md); padding-left: var(--space-lg); list-style: disc; }
.prose ul li { margin-bottom: 8px; font-size: 16px; line-height: 1.65; color: var(--text-body); }
.prose h3 { font-size: 22px; color: var(--navy); margin-bottom: var(--space-sm); margin-top: var(--space-lg); }

/* ============================================================
   HOW-IT-WORKS CARDS (sell / test drive pages)
   ============================================================ */
.how-section { background: var(--bg-alt); padding: var(--section-gap) 0; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
}
.how-grid::after {
  content: '';
  position: absolute;
  top: 72px;
  left: calc(33.33% + 12px);
  right: calc(33.33% + 12px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.how-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  z-index: 1;
}
.how-card:hover { transform: translateY(-4px); box-shadow: var(--card-hover-shadow); }
.how-card__number { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 16px; }
.how-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.how-card__icon svg { width: 28px; height: 28px; color: var(--gold); }
.how-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.how-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   SELL HERO (sell-your-car page)
   ============================================================ */
.sell-hero { padding: var(--space-2xl) 0; background: var(--bg-alt); }
.sell-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.sell-hero__badge { display: inline-block; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 6px 14px; border-radius: 50px; margin-bottom: var(--space-md); }
.sell-hero__content h1 { color: var(--navy); margin-bottom: var(--space-md); }
.sell-hero__content > p { color: var(--text-muted); font-size: 17px; margin-bottom: var(--space-lg); }
.sell-hero__trust { display: flex; gap: 20px; flex-wrap: wrap; }
.sell-hero__trust-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.sell-hero__trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
/* Hero bg image overrides — must come after base rules */
.sell-hero--has-bg { position: relative; min-height: 520px; display: flex; align-items: center; }
.sell-hero--has-bg > .wide-width { width: 100%; }
.sell-hero--has-bg::before { content: ''; position: absolute; inset: 0; background: rgba(12,28,64,0.62); pointer-events: none; z-index: 0; }
.sell-hero--has-bg .sell-hero__grid { position: relative; z-index: 1; }
.sell-hero--has-bg .sell-hero__badge { background: rgba(191,155,75,0.95); color: var(--navy); }
.sell-hero--has-bg .sell-hero__content h1 { color: var(--white) !important; }
.sell-hero--has-bg .sell-hero__content > p { color: rgba(255,255,255,0.85) !important; }
.sell-hero--has-bg .sell-hero__trust-item { color: rgba(255,255,255,0.85) !important; }
.sell-hero--has-bg .sell-hero__trust-item span { color: rgba(255,255,255,0.85) !important; }
.sell-hero--has-bg .sell-hero__trust-item svg { color: var(--gold) !important; }
.sell-hero--has-bg .sell-hero__form-wrapper { position: relative; z-index: 1; }

/* Sell form card */
.sell-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-hover-shadow);
  position: relative;
}
.sell-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.sell-form-card__header { margin-bottom: var(--space-lg); }
.sell-form-card__header h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.form-progress { }
.form-progress__text { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; display: block; }
.form-progress__bar { height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden; }
.form-progress__fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width var(--transition-base); }
.form-step { display: none; }
.form-step.active { display: block; }
.btn-back { background: transparent; border: none; color: var(--text-muted); font-family: var(--font-heading); font-size: 14px; font-weight: 600; cursor: pointer; padding: 0; white-space: nowrap; transition: color var(--transition-fast); }
.btn-back:hover { color: var(--navy); }

/* LTA tooltip */
.lta-tooltip-trigger {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--text-muted); display: inline-flex; align-items: center;
}
.lta-tooltip-trigger svg { width: 16px; height: 16px; }
.lta-tooltip {
  display: none;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-top: 8px;
  line-height: 1.5;
}
.lta-tooltip.show { display: block; }
.lta-tooltip a { color: var(--gold); text-decoration: underline; }
.lta-tooltip p { color: rgba(255,255,255,0.85); }

/* LTA section */
.lta-section { background: var(--navy); padding: var(--section-gap) 0; }
.lta-card { max-width: 800px; margin: 0 auto; background: var(--white); border-radius: var(--radius-xl); padding: 32px 40px; border: 1px solid var(--border-light); }
.lta-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.lta-card__header svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.lta-card__header h3 { font-size: 22px; color: var(--navy); }
.lta-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.lta-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 12px; }
.lta-card ol { list-style: decimal; padding-left: 24px; margin-bottom: 16px; }
.lta-card ol li { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 8px; }
.lta-card a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.lta-card a:hover { color: var(--gold-hover); }

/* ============================================================
   TEST DRIVE HERO
   ============================================================ */
.td-hero { padding: var(--space-2xl) 0; background: var(--bg-alt); }
.td-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.td-hero__badge { display: inline-block; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 6px 14px; border-radius: 50px; margin-bottom: var(--space-md); }
.td-hero__content h1 { color: var(--navy); margin-bottom: var(--space-md); }
.td-hero__content > p { color: var(--text-muted); font-size: 17px; margin-bottom: var(--space-lg); max-width: 440px; }
.td-hero__trust { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: var(--space-lg); }
.td-hero__trust-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.td-hero__trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.td-hero__whatsapp { font-size: 14px; color: var(--text-muted); }
.td-hero__whatsapp a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.td-hero__whatsapp a:hover { color: var(--gold); }

.td-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-hover-shadow);
  position: relative;
}
.td-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.td-form-card__header { margin-bottom: var(--space-lg); }
.td-form-card__header h3 { font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.td-form-card__header p { font-size: 14px; color: var(--text-muted); }

/* Finance hero */
.finance-hero { padding: var(--space-2xl) 0; background: var(--bg-alt); }
.finance-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
.finance-hero__badge { display: inline-block; font-family: var(--font-heading); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 6px 14px; border-radius: 50px; margin-bottom: var(--space-md); }
.finance-hero__content h1 { color: var(--navy); margin-bottom: var(--space-md); }
.finance-hero__content > p { color: var(--text-muted); font-size: 17px; margin-bottom: var(--space-lg); max-width: 440px; }
.finance-hero__trust { display: flex; gap: 20px; flex-wrap: wrap; }
.finance-hero__trust-item { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--text-muted); }
.finance-hero__trust-item svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
/* Hero bg image overrides — must come after base rules */
.finance-hero--has-bg { position: relative; min-height: 560px; display: flex; align-items: center; }
.finance-hero--has-bg > .wide-width { width: 100%; }
.finance-hero--has-bg::before { content: ''; position: absolute; inset: 0; background: rgba(12,28,64,0.62); pointer-events: none; z-index: 0; }
.finance-hero--has-bg .finance-hero__grid { position: relative; z-index: 1; }
.finance-hero--has-bg .finance-hero__badge { background: rgba(191,155,75,0.95); color: var(--navy); }
.finance-hero--has-bg .finance-hero__content h1 { color: var(--white) !important; }
.finance-hero--has-bg .finance-hero__content > p { color: rgba(255,255,255,0.85) !important; }
.finance-hero--has-bg .finance-hero__trust-item { color: rgba(255,255,255,0.85) !important; }
.finance-hero--has-bg .finance-hero__trust-item span { color: rgba(255,255,255,0.85) !important; }
.finance-hero--has-bg .finance-hero__trust-item svg { color: var(--gold) !important; }
.finance-hero--has-bg .finance-hero__highlights { position: relative; z-index: 1; }
.finance-hero--has-bg .highlight-card { background: rgba(255,255,255,0.93); }
.finance-hero__highlights { display: flex; flex-direction: column; gap: 16px; }
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
}
.highlight-card__icon { width: 44px; height: 44px; background: var(--gold-bg-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.highlight-card__icon svg { width: 22px; height: 22px; color: var(--gold); }
.highlight-card h4 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.highlight-card p { font-size: 13px; color: var(--text-muted); }

/* Advice form */
.advice-section { background: var(--navy); padding: var(--section-gap) 0; }
.advice-section .section-heading h2 { color: var(--white); }
.advice-section .section-heading p  { color: rgba(255,255,255,0.7); }
.advice-form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-hover-shadow);
  border: 1px solid rgba(191,155,75,0.35);
  position: relative;
}
.advice-form-card::before { display: none; }
.advice-success { display: none; text-align: center; padding: var(--space-xl) 0; }
.advice-success.show { display: block; }
.advice-success .success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.advice-success .success-icon svg { width: 36px; height: 36px; color: var(--gold); }
.advice-success h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.advice-success p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Final CTA */
.final-cta { background: var(--bg-alt); padding: var(--section-gap) 0; text-align: center; }
.final-cta h2 { color: var(--navy); font-size: clamp(28px, 3.5vw, 36px); margin-bottom: 16px; }
.final-cta > .wide-width > p { color: var(--text-muted); font-size: 17px; margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }
.final-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.final-cta__phone { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.final-cta__phone a { color: var(--navy); text-decoration: underline; }
.final-cta__phone a:hover { color: var(--gold); }
.final-cta__trust { color: var(--text-muted); font-size: 13px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); padding: var(--section-gap) 0; }
.contact-info {}
.contact-info h2 { margin-bottom: var(--space-lg); }
.contact-detail { display: flex; gap: 16px; margin-bottom: var(--space-lg); align-items: flex-start; }
.contact-detail__icon { width: 44px; height: 44px; background: var(--gold-bg-muted); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail__icon svg { width: 22px; height: 22px; color: var(--gold); }
.contact-detail__text { font-size: 15px; color: var(--text-body); line-height: 1.6; }
.contact-detail__text strong { display: block; font-family: var(--font-heading); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); margin-bottom: 4px; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .nav-full { display: none; }
  .nav-compact { display: inline; }
  .hero-logo img { height: 56px; }
  .hero-logo { padding: 8px 14px 12px; top: -14px; }
  .header-nav a { font-size: 12px; }
  .header-nav { gap: 8px; }
  .header-inner { padding: 6px 6px 6px 14px; }
  .header-actions .btn-sm { font-size: 11px; padding: 8px 14px; }
  .page-logo img { height: 48px; }
  .listings-grid { grid-template-columns: repeat(3, 1fr); }
  .browse-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-layout { grid-template-columns: 1fr 320px; }
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results-panel { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 960px
   ============================================================ */
@media (max-width: 960px) {
  .sell-hero__grid,
  .td-hero__grid,
  .finance-hero__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .sell-hero__content,
  .td-hero__content,
  .finance-hero__content { text-align: center; }
  .sell-hero__trust,
  .td-hero__trust,
  .finance-hero__trust { justify-content: center; }
  .td-hero__whatsapp { text-align: center; }
  .sell-form-card,
  .td-form-card { max-width: 520px; margin: 0 auto; }
  .finance-hero__highlights { max-width: 480px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::after { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .used-cars-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .top-bar__inner { gap: 10px; }
  .top-bar__link, .top-bar__phone { font-size: 12px; }

  .hero-logo { top: -12px; padding: 6px 10px 10px; }
  .hero-logo img { height: 40px; }
  .hero-wrapper { padding: 0 8px; }

  .site-header {
    position: fixed;
    top: 50px;
    left: auto;
    right: 12px;
    transform: none;
    width: auto;
    z-index: 200;
  }
  .header-inner {
    background: transparent;
    box-shadow: none;
    padding: 0;
    backdrop-filter: none;
  }
  .header-nav { display: none; }
  .header-nav.mobile-open { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); z-index: 200; padding: var(--space-xl) var(--space-lg); gap: 8px; }
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold);
    padding: 0;
    gap: 0;
    position: relative;
    z-index: 201;
  }
  .mobile-toggle span { background: var(--navy); width: 18px; height: 2px; margin: 2.5px 0; display: block; }
  .header-actions .btn-sm { display: none; }

  .page-logo img { height: 40px; }
  .page-header-bar__inner { justify-content: space-between; }
  .page-header-bar .site-header {
    position: static;
    flex: 0;
  }
  .page-header-bar .header-inner { background: transparent; box-shadow: none; padding: 0; backdrop-filter: none; }

  .hero { border-radius: 12px; min-height: 45vh; }
  .hero__heading { font-size: clamp(22px, 5vw, 28px); }
  .hero__tagline { font-size: 13px; }
  .hero__content { padding: 0 var(--space-md) var(--space-md); }

  .search-bar-wrapper { padding: var(--space-md) var(--space-sm); }
  .search-bar { flex-wrap: wrap; padding: 12px; gap: 8px; }
  .search-bar select { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 13px; }
  .search-bar .btn-search { width: 100%; justify-content: center; }

  .trust-cards { grid-template-columns: 1fr; }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .browse-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .faq-question { font-size: 15px; }
  .cta-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-summary { flex-direction: column; gap: 8px; }

  .timeline { flex-direction: column; gap: var(--space-lg); align-items: flex-start; max-width: 300px; }
  .timeline-step { display: flex; gap: 16px; text-align: left; }
  .timeline-step__number { margin: 0; flex-shrink: 0; }
  .timeline-step:not(:last-child)::after { top: 44px; left: 22px; right: auto; width: 2px; height: calc(100% + var(--space-lg) - 44px); }
  .sell-form { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .sell-form-card { padding: 28px 24px; }
  .td-form-card { padding: 28px 24px; }
  .lta-card { padding: 24px 20px; }
  .advice-form-card { padding: 28px 24px; }
  .calc-monthly-value { font-size: 36px; }
  .calc-results-panel { padding: 28px; }

  .vm-floating-wa span { display: none; }
  .vm-floating-wa { padding: 14px; border-radius: 50%; }

  /* Fix 3: What We Carry — strictly 1 column on mobile */
  .about-carry-grid { grid-template-columns: 1fr !important; }

  /* Fix 4: Filter sidebar toggle visible on mobile */
  .filter-mobile-toggle { display: flex !important; }
  .filter-sidebar-inner.collapsed { display: none !important; }
  .filter-sidebar {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
  }
  .filter-sidebar__header { display: none; }

  /* Fix 5: Car listing — 1 per row on mobile (move from 640px to 768px) */
  .listings-grid--archive { grid-template-columns: 1fr !important; }
  .listings-grid--archive .car-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
  }
  .listings-grid--archive .car-card .car-card__image {
    width: 140px;
    min-width: 140px;
    height: auto;
    min-height: 120px;
    flex-shrink: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  }
  .listings-grid--archive .car-card .car-card__body {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
  }
  .listings-grid--archive .car-card .car-card__price { font-size: 16px; margin-bottom: 2px; }
  .listings-grid--archive .car-card .car-card__name { font-size: 13px; -webkit-line-clamp: 1; margin-bottom: 4px; }
  .listings-grid--archive .car-card .car-card__specs { font-size: 11px; gap: 3px; margin-bottom: 6px; }
  .listings-grid--archive .car-card .car-card__specs svg { width: 12px; height: 12px; }
  .listings-grid--archive .car-card .car-card__link { font-size: 12px; }
  .listings-grid--archive .car-card:hover { transform: none; }

  /* Fix 6: Loan calc button — wrap on mobile */
  .btn-rate-split {
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  /* Fix 7: Contact hours alignment on mobile */
  .hours-row { flex-wrap: wrap; gap: 2px; }
  .hours-row__day { flex: 1 1 100%; font-weight: 600; }
  .hours-row__time { flex: 1 1 100%; }

  /* Fix 1: Contact details — left-align on mobile (override 960px centering) */
  .contact-info { text-align: left; }
  .contact-info h2::after { left: 0; transform: none; }
  .contact-detail { justify-content: flex-start; }
  .contact-hours { margin-left: 0; margin-right: 0; max-width: 100%; }

  /* Fix: Single car detail page — prevent horizontal overflow on mobile */
  .detail-layout { overflow-x: hidden; width: 100%; }
  .detail-main { min-width: 0; overflow-x: hidden; }
  .detail-gallery__strip { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .specs-table { width: 100%; table-layout: fixed; }
  .specs-table td { word-break: break-word; }
  .tabs-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; flex-wrap: nowrap; }
}


/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero-logo img { height: 32px; }
  .hero-logo { padding: 5px 8px 8px; }
  .mobile-toggle { width: 36px; height: 36px; }
  .mobile-toggle span { width: 16px; }

  .hero { min-height: 38vh; border-radius: 8px; }
  .hero__heading { font-size: 20px; }
  .hero__tagline { font-size: 12px; }

  .search-bar { flex-direction: column; gap: 8px; }
  .search-bar select { flex: 1 1 100%; }

  .listings-grid { grid-template-columns: 1fr; }
  .browse-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
  .about-grid { grid-template-columns: 1fr; }
  .about-content h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-social { justify-content: center; }
  .faq-question { font-size: 14px; padding: 16px 0; }
  .cta-buttons, .final-cta__buttons, .cta-banner__buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn, .final-cta__buttons .btn { width: 100%; max-width: 320px; }
  .page-logo img { height: 32px; }
  .sell-hero__trust, .td-hero__trust, .finance-hero__trust { flex-direction: column; gap: 12px; align-items: center; }
  .donut-chart, .donut-chart svg { width: 140px; height: 140px; }
  .calc-monthly-value { font-size: 32px; }
  .dp-buttons { flex-wrap: wrap; }
}

/* ============================================================
   WHAT WE CARRY GRID — About page (responsive, overrides inline style)
   ============================================================ */
.about-carry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* ============================================================
   FILTER SIDEBAR — mobile toggle
   ============================================================ */
.filter-mobile-toggle {
  display: none;
  width: 100%;
  padding: 12px var(--space-md);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: var(--space-md);
  transition: background var(--transition-fast);
}
.filter-mobile-toggle:hover { background: var(--navy-light, #1a3a6e); }
.filter-mobile-toggle .filter-toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.filter-mobile-toggle.open .filter-toggle-arrow { transform: rotate(180deg); }
.filter-sidebar-inner {
  /* shown by default; hidden via JS on mobile */
}

/* ============================================================
   TRUST STRIP — About page / Testimonials page
   ============================================================ */
.vm-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}
.vm-trust-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.vm-trust-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================================
   SECTION DIVIDER — gold line under section headings
   ============================================================ */
.section-divider {
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ============================================================
   VM BADGES (pill badges from global-styles)
   ============================================================ */
.vm-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 50px;
}
.vm-badge-gold {
  background: var(--gold-bg-muted);
  color: var(--gold);
}
.vm-badge-navy {
  background: var(--navy);
  color: var(--white);
}

/* ============================================================
   TEAM GRID — About Us page
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.team-card__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--badge-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  overflow: hidden;
}
.team-card__avatar svg {
  width: 36px;
  height: 36px;
  color: var(--text-muted);
}
.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card__name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-card__role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.team-card__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #25D366;
  border: 1.5px solid #25D366;
  padding: 7px 16px;
  border-radius: 50px;
  transition: all var(--transition-fast);
}
.team-card__wa:hover {
  background: #25D366;
  color: var(--white);
}
.team-card__wa svg {
  width: 16px;
  height: 16px;
}

/* Reviews grid 3-column override */
.reviews-grid.reviews-grid--3col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}

/* Rating stars color */
.rating-stars svg,
.review-card__stars svg {
  fill: var(--gold);
  color: var(--gold);
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}

/* Filter sidebar header */
.filter-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
}

/* Detail spec item refinement */
.detail-spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}
.detail-spec-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}
.detail-spec-label {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.detail-spec-value {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

/* Detail sidebar badges */
.detail-sidebar__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}
.detail-sidebar__title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  line-height: 1.25;
}
.detail-sidebar__price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.detail-sidebar__instalment {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}
.detail-depreciation {
  background: var(--gold-bg-muted);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: var(--space-md);
}
.detail-depreciation__label {
  font-size: 11px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.detail-depreciation__value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}
.detail-sold-ribbon {
  position: absolute;
  top: 20px;
  right: -28px;
  background: var(--error);
  color: white;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 40px;
  transform: rotate(45deg);
  z-index: 10;
  letter-spacing: 1px;
}

/* Responsive team grid */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  /* Fix 1: Hide trust strip on tablet and below */
  .vm-trust-strip { display: none; }
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid.reviews-grid--3col { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Homepage sell form ────────────────────────────────────── */
.hp-sell-form {
  max-width: 760px;
  margin: var(--space-xl) auto 0;
  position: relative;
}
.hp-sell-form__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px;
}
.hp-sell-form__field--full,
.hp-sell-form__actions { grid-column: 1 / -1; }
.hp-sell-form__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 7px;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}
.hp-sell-form__optional {
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}
.hp-sell-form__field input[type="text"],
.hp-sell-form__field input[type="tel"] {
  width: 100% !important;
  height: 50px !important;
  padding: 0 16px !important;
  border: 1.5px solid rgba(255,255,255,0.2) !important;
  border-radius: var(--radius-md) !important;
  background: rgba(255,255,255,0.1) !important;
  color: var(--white) !important;
  font-size: 14px !important;
  font-family: var(--font-body) !important;
  transition: border-color 0.2s, background 0.2s;
  box-sizing: border-box !important;
}
.hp-sell-form__field input[type="text"]::placeholder,
.hp-sell-form__field input[type="tel"]::placeholder { color: rgba(255,255,255,0.4) !important; }
.hp-sell-form__field input[type="text"]:focus,
.hp-sell-form__field input[type="tel"]:focus {
  outline: none !important;
  border-color: var(--gold) !important;
  background: rgba(255,255,255,0.15) !important;
}
.hp-sell-form__file {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  box-sizing: border-box;
}
.hp-sell-form__file::-webkit-file-upload-button {
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 6px;
  color: var(--white);
  font-size: 13px;
  font-family: var(--font-body);
  padding: 6px 14px;
  cursor: pointer;
  margin-right: 12px;
}
.hp-sell-form__actions { text-align: center; }
.hp-sell-form__btn {
  min-width: 260px;
  padding: 0 48px;
}
.hp-sell-form__result {
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  min-height: 20px;
}
@media (max-width: 640px) {
  .hp-sell-form__grid { grid-template-columns: 1fr; }
  .hp-sell-form__btn { width: 100%; }
}

/* ============================================================
   LOAN CALCULATOR — page-specific styles
   ============================================================ */

/* Hero -- Financing Hub */
.finance-hero {
  background: var(--bg-alt);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.finance-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.08;
  pointer-events: none;
}
.finance-hero__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-xl);
  align-items: center;
  min-height: 400px;
}
.finance-hero__content { position: relative; z-index: 1; }
.finance-hero__badge {
  display: inline-block;
  background: var(--gold-bg-muted);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.finance-hero__content h1 { color: var(--navy); margin-bottom: 16px; }
.finance-hero__content > p {
  font-size: 17px;
  color: var(--text-body);
  max-width: 480px;
  line-height: 1.7;
}
.finance-hero__trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.finance-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.finance-hero__trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.finance-hero__trust-item span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-heading);
}
.finance-hero__highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 3px solid var(--gold);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.highlight-card:hover {
  transform: translateX(4px);
  box-shadow: var(--card-hover-shadow);
}
.highlight-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.highlight-card__icon svg { width: 22px; height: 22px; color: var(--gold); }
.highlight-card h4 { font-size: 15px; color: var(--navy); margin-bottom: 2px; }
.highlight-card p { font-size: 13px; color: var(--text-muted); line-height: 1.4; }

/* Loan Calculator */
.calc-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}
.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.calc-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.calc-field label .calc-label-value {
  font-weight: 700;
  color: var(--gold);
  font-size: 15px;
}
.calc-field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
  margin-bottom: 10px;
  cursor: pointer;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(15, 42, 83, 0.2);
  transition: transform var(--transition-fast);
}
.calc-field input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(15, 42, 83, 0.2);
}
.calc-field input[type="number"] {
  width: 100%;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--input-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -moz-appearance: textfield;
}
.calc-field input[type="number"]::-webkit-inner-spin-button,
.calc-field input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.calc-field input[type="number"]:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}
.calc-field__hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}
.dp-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.dp-btn {
  flex: 1;
  padding: 8px 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dp-btn:hover, .dp-btn.active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.calc-results-panel {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: sticky;
  top: var(--space-lg);
}
.calc-monthly-label {
  font-size: 14px;
  color: var(--footer-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 8px;
}
.calc-monthly-value {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 32px;
}
.calc-monthly-unit {
  font-size: 18px;
  font-weight: 500;
  color: var(--footer-muted);
}
.donut-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
}
.donut-chart {
  position: relative;
  width: 160px;
  height: 160px;
}
.donut-chart svg {
  width: 160px;
  height: 160px;
  transform: rotate(-90deg);
}
.donut-chart circle {
  fill: none;
  stroke-width: 20;
  cx: 80;
  cy: 80;
  r: 60;
}
.donut-chart .donut-bg { stroke: var(--navy-light); }
.donut-chart .donut-principal {
  stroke: var(--gold);
  transition: stroke-dasharray 0.5s ease;
}
.donut-chart .donut-interest {
  stroke: var(--footer-muted);
  transition: stroke-dasharray 0.5s ease, stroke-dashoffset 0.5s ease;
}
.donut-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.donut-center__label {
  font-size: 11px;
  color: var(--footer-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-heading);
}
.donut-center__value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-top: 2px;
}
.donut-legend {
  display: flex;
  gap: 24px;
  margin-top: 16px;
}
.donut-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--footer-muted);
}
.donut-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.donut-legend__dot--principal { background: var(--gold); }
.donut-legend__dot--interest { background: var(--footer-muted); }
.calc-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.calc-breakdown__item { text-align: center; }
.calc-breakdown__label {
  font-size: 12px;
  color: var(--footer-muted);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.calc-breakdown__value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.calc-results-panel .btn-primary {
  width: 100%;
  padding: 14px;
}

/* Advice Form */
.advice-section {
  background: var(--navy);
  padding: var(--section-gap) 0;
}
.advice-form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-hover-shadow);
  border: 1px solid rgba(191,155,75,0.35);
  position: relative;
}
.advice-form-card::before { display: none; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--input-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}
.form-group textarea { resize: vertical; }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23556677' stroke-width='2'%3E%3Cpath d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.optional { font-weight: 400; color: var(--text-muted); font-size: 12px; }
.form-reassurance {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form-reassurance svg { width: 14px; height: 14px; color: var(--text-muted); }
.form-actions { margin-top: 8px; }
.btn-lg {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border-radius: var(--radius-md);
}
.advice-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) 0;
}
.advice-success.show { display: block; }
.advice-success .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.advice-success .success-icon svg { width: 36px; height: 36px; color: var(--gold); }
.advice-success h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.advice-success p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Educational Content */
/* ── EDUCATIONAL SECTION — navy bg, gold-bordered cards ── */
.edu-section {
  background: var(--white);
  padding: var(--section-gap) 0;
  position: relative;
}
.edu-section .section-heading h2 { color: var(--navy); }
.edu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.edu-card {
  border: none;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 32px 36px;
  background: var(--bg-alt);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}
.edu-card:hover {
  background: #f0efe9;
  transform: translateX(5px);
  box-shadow: -3px 0 0 var(--gold);
}
.edu-card--full { grid-column: 1 / -1; }
.edu-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(191,155,75,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.edu-card__icon svg { width: 22px; height: 22px; color: var(--gold); }
.edu-card h4 { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.edu-card p { font-size: 14px; color: var(--text-body); line-height: 1.75; }
.edu-card .key-point {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(191,155,75,0.08);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.5;
  border: 1px solid rgba(191,155,75,0.2);
}

/* ── FINANCING TIPS — two-column bento grid ── */
.tips-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.tip-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.tip-item {
  display: block;
  padding: 36px 40px;
  border: none;
  border-bottom: 1px solid var(--border-light);
  background: var(--white);
  position: relative;
  overflow: hidden;
  transition: background var(--transition-base);
}
.tip-item:nth-child(odd)  { border-right: 1px solid var(--border-light); }
.tip-item:nth-last-child(-n+2) { border-bottom: none; }
.tip-item:hover { background: #f8f7f3; }
.tip-number {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.22;
  line-height: 1;
  position: absolute;
  top: 14px;
  right: 18px;
  pointer-events: none;
  user-select: none;
}
.tip-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.tip-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── TESTIMONIALS / BADGE SECTION ── */
.testimonials-section {
  background: var(--navy);
  padding: var(--section-gap) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(191,155,75,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-section .section-heading { position: relative; }
.testimonials-section .section-heading h2 { color: var(--white); }
.testimonials-section .section-divider { background: var(--gold); }
.testimonials-section .section-heading p { color: rgba(255,255,255,0.6); }
.testi-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.testi-badge-inner {
  background: transparent;
  display: inline-block;
}
.testi-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.testi-meta-item {
  text-align: center;
}
.testi-meta-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.testi-meta-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.testi-meta-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}
.testi-cta-row {
  margin-top: 36px;
  position: relative;
}

/* ── FAQ SECTION — clean with gold open-state ── */
.faq-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-light);
  position: relative;
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}
.faq-item.open::before { transform: scaleY(1); }
.faq-item.open { background: linear-gradient(90deg, rgba(191,155,75,0.04) 0%, transparent 60%); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 20px 22px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition-base);
}
.faq-question:hover { color: var(--gold); }
.faq-question svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); transition: transform var(--transition-base); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 22px; }
.faq-answer p { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ── FINAL CTA — light grey with navy VISION watermark ── */
.final-cta {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 15% 50%, rgba(191,155,75,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta::after {
  content: 'VISION';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 160px;
  font-weight: 900;
  color: rgba(12,28,64,0.05);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.15em;
}
.final-cta > .wide-width { position: relative; }
.final-cta h2 { color: var(--navy); font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 16px; }
.final-cta > .wide-width > p { color: var(--text-muted); font-size: 17px; margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.final-cta__buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.final-cta .btn-secondary { background: var(--gold); border-color: var(--gold); color: var(--white); font-weight: 700; }
.final-cta .btn-secondary:hover { background: #a8863e; border-color: #a8863e; color: var(--white); }
.final-cta__trust { color: var(--text-muted); font-size: 12px; letter-spacing: 0.03em; }

/* Responsive — Loan Calculator */
@media (max-width: 1024px) {
  .calc-grid { grid-template-columns: 1fr; }
  .calc-results-panel { position: static; }
  .edu-grid { grid-template-columns: 1fr; }
  .edu-card--full { grid-column: auto; }
}
@media (max-width: 960px) {
  .finance-hero__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .finance-hero__content { text-align: center; }
  .finance-hero__content > p { margin-left: auto; margin-right: auto; }
  .finance-hero__trust { justify-content: center; }
  .finance-hero__highlights { max-width: 480px; margin: 0 auto; }
  .tip-list { grid-template-columns: 1fr; }
  .tip-item:nth-child(odd) { border-right: none; }
  .tip-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-light); }
  .tip-item:last-child { border-bottom: none; }
  .final-cta::after { font-size: 80px; }
}
@media (max-width: 768px) {
  .advice-form-card { padding: 28px 24px; }
  .calc-monthly-value { font-size: 36px; }
  .calc-results-panel { padding: 28px; }
  .tip-item { gap: 16px; }
  .tip-number { font-size: 36px; width: 36px; }
}
@media (max-width: 480px) {
  .finance-hero { padding: var(--space-xl) 0; }
  .finance-hero__trust { flex-direction: column; gap: 12px; align-items: center; }
  .donut-chart, .donut-chart svg { width: 140px; height: 140px; }
  .donut-chart circle { r: 52; cx: 70; cy: 70; }
  .calc-monthly-value { font-size: 32px; }
  .dp-buttons { flex-wrap: wrap; }
}

/* ============================================================
   RESOURCES — page-specific styles
   ============================================================ */

/* Hero -- Featured Article */
.blog-hero {
  background: var(--navy);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}
.blog-hero__text { position: relative; }
.blog-hero__badge {
  display: inline-block;
  background: rgba(212,175,55,0.15);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.blog-hero__category {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: var(--footer-muted);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 50px;
  margin-left: 8px;
}
.blog-hero h1 {
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 38px);
  margin-bottom: 16px;
}
.blog-hero__excerpt {
  color: var(--footer-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 480px;
}
.blog-hero__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--footer-muted);
  font-size: 13px;
  font-family: var(--font-heading);
  margin-bottom: 24px;
}
.blog-hero__meta svg { width: 14px; height: 14px; color: var(--gold); }
.blog-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--navy-light);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--footer-muted);
  font-size: 14px;
}

/* Category Filters */
.filters-section {
  background: var(--white);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--border-light);
}
.filters-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-pill {
  padding: 10px 24px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Article Grid */
.articles-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.article-card__image {
  aspect-ratio: 16 / 10;
  background: var(--border-light);
  overflow: hidden;
  position: relative;
}
.article-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--text-muted);
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border-light) 100%);
}
.article-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 50px;
}
.article-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
}
.article-card__excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}
.article-card__date {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.article-card__date svg { width: 14px; height: 14px; color: var(--gold); }
.article-card__read {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-fast);
}
.article-card:hover .article-card__read { gap: 8px; }
.article-card__read svg { width: 14px; height: 14px; }

/* CTA Strip */
.blog-cta-strip {
  background: var(--navy);
  padding: var(--space-xl) 0;
}
.blog-cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.blog-cta-strip__text h3 {
  color: var(--white);
  font-size: 22px;
  margin-bottom: 4px;
}
.blog-cta-strip__text p {
  color: var(--footer-muted);
  font-size: 15px;
}
.blog-cta-strip__actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* Popular Articles */
.popular-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}
.popular-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
}
.popular-main h2 {
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.popular-main h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.popular-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.popular-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
  text-decoration: none;
  color: inherit;
}
.popular-item:first-child { border-top: 1px solid var(--border-light); }
.popular-item:hover { background: var(--bg-alt); margin: 0 -16px; padding: 20px 16px; border-radius: var(--radius-md); }
.popular-item__number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  width: 36px;
  flex-shrink: 0;
}
.popular-item__text h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.35;
}
.popular-item__text p {
  font-size: 13px;
  color: var(--text-muted);
}
.popular-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.sidebar-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
}
.sidebar-card h4 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.sidebar-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sidebar-topic {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}
.sidebar-topic:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Responsive — Resources */
@media (max-width: 1024px) {
  .popular-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .blog-hero__inner { grid-template-columns: 1fr; }
  .blog-hero__text { text-align: center; }
  .blog-hero__excerpt { margin-left: auto; margin-right: auto; }
  .blog-hero__meta { justify-content: center; }
  .blog-hero__image { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .blog-cta-strip__inner { flex-direction: column; text-align: center; }
  .blog-cta-strip__actions { justify-content: center; }
}
@media (max-width: 480px) {
  .filter-pill { padding: 8px 16px; font-size: 12px; }
}

/* ============================================================
   ABOUT US — page-specific styles
   ============================================================ */

/* Hero */
.about-hero {
  background: var(--navy);
  padding: var(--space-2xl) 0 0;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.about-hero__content {
  max-width: 680px;
  text-align: center;
  margin: 0 auto;
  padding-bottom: var(--space-2xl);
  position: relative;
  z-index: 1;
}
.about-hero__badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.about-hero__content .vm-badge { margin-bottom: 28px; }
.about-hero h1 { color: var(--white); margin-bottom: 20px; }
.about-hero p {
  color: var(--footer-muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}
.about-hero__photo {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.about-hero__photo-inner {
  background: var(--border-light);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 15px;
  overflow: hidden;
  /* No fixed height — image defines the height */
}
.about-hero__photo-inner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: unset;
}

/* Story */
.story-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.story-content h2 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.story-content h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.story-content p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}
.story-content p:last-of-type { margin-bottom: 28px; }
.story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--border-light);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  color: var(--text-muted);
  font-size: 14px;
  box-shadow: var(--card-hover-shadow);
}

/* Values */
.values-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.value-card__icon svg { width: 26px; height: 26px; color: var(--gold); }
.value-card h4 { font-size: 15px; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Team */
.team-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
}
.team-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.team-card__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg-alt);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
  border: 3px solid var(--border-light);
  transition: border-color var(--transition-base);
}
.team-card:hover .team-card__photo { border-color: var(--gold); }
.team-card__photo--img { background: none; }
.team-card__photo--img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.team-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-card__role {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.team-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.team-card__contact {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.team-card__contact a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition-fast), color var(--transition-fast);
}
.team-card__contact a:hover { background: var(--gold); color: var(--navy); }
.team-card__contact svg { width: 16px; height: 16px; }

/* Car Types */
.cartypes-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.cartypes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.cartype-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}
.cartype-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--gold);
}
.cartype-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.cartype-card__icon svg { width: 32px; height: 32px; color: var(--gold); }
.cartype-card h4 { font-size: 16px; color: var(--navy); }
.cartypes-cta { text-align: center; }

/* Brands */
.brands-section {
  background: var(--white);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

/* Marquee */
@keyframes brandsMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.brands-marquee-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.brands-marquee-track {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  width: max-content;
  animation: brandsMarquee 28s linear infinite;
}
.brands-marquee-track:hover { animation-play-state: paused; }
.brands-marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}
.brands-marquee-item img {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.25s;
}
.brands-marquee-item img:hover { filter: grayscale(0) opacity(1); }

/* Fallback grid (text labels when no logos uploaded) */
.brands-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}
.brand-logo {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.4;
  transition: opacity var(--transition-base);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.brand-logo:hover { opacity: 1; }

/* Centered CTA card (about page) */
.cta-grid--centered {
  display: flex;
  justify-content: center;
}
.cta-grid--centered .cta-card {
  max-width: 600px;
  text-align: center;
}

/* Responsive — About Us */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .story-content { text-align: center; }
  .story-content h2::after { left: 50%; transform: translateX(-50%); }
  .story-image { max-width: 520px; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cartypes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .brands-grid { gap: var(--space-xl); }
}
@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cartypes-grid { grid-template-columns: 1fr; }
  .brands-grid { gap: var(--space-lg); }
  .brand-logo { font-size: 13px; }
}

/* Coming soon label */
.coming-soon-label {
  display: inline-block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--border-light);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--border);
  cursor: default;
  user-select: none;
}

/* Test Drive hero — bg image overlay */
.td-hero--has-bg { position: relative; min-height: 520px; display: flex; align-items: center; }
.td-hero--has-bg > .wide-width { width: 100%; }
.td-hero--has-bg .td-hero__grid { position: relative; z-index: 1; }
.td-hero--has-bg .td-hero__badge { background: rgba(191,155,75,0.95); color: var(--navy); }
.td-hero--has-bg .td-hero__content h1 { color: var(--white) !important; }
.td-hero--has-bg .td-hero__content > p { color: rgba(255,255,255,0.85) !important; }
.td-hero--has-bg .td-hero__trust-item { color: rgba(255,255,255,0.85) !important; }
.td-hero--has-bg .td-hero__trust-item span { color: rgba(255,255,255,0.85) !important; }
.td-hero--has-bg .td-hero__whatsapp { color: rgba(255,255,255,0.85) !important; }
.td-hero--has-bg .td-hero__whatsapp a { color: #4ade80 !important; }
.td-hero--has-bg .td-hero__form-wrapper { position: relative; z-index: 1; }
/* Override ::before on sell/loan heroes when bg gradient used inline */
.sell-hero--has-bg::before,
.finance-hero--has-bg::before { display: none; }

/* ============================================================
   CONTACT US — page-specific styles
   ============================================================ */

/* Hero */
.contact-hero {
  background: var(--navy);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero h1 { color: var(--white); margin-bottom: 16px; position: relative; }
.contact-hero p { color: var(--footer-muted); font-size: 18px; max-width: 520px; margin: 0 auto; line-height: 1.7; position: relative; }

/* Quick Contact Cards */
.quick-contact {
  background: var(--white);
  padding: var(--section-gap) 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.quick-contact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 960px;
  margin: 0 auto;
}
.quick-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--card-hover-shadow);
  transition: transform var(--transition-base);
  border: 1px solid var(--border-light);
}
.quick-card:hover { transform: translateY(-4px); }
.quick-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.quick-card__icon svg { width: 28px; height: 28px; color: var(--gold); }
.quick-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.quick-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 16px; }
.quick-card__link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.quick-card__link:hover { color: var(--gold-hover); }
.quick-card__link svg { width: 16px; height: 16px; }

/* Contact Main */
.contact-main {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}
.contact-info h2 {
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.contact-info h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 60px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail__icon svg { width: 22px; height: 22px; color: var(--gold); }
.contact-detail__text h4 { font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.contact-detail__text p { font-size: 15px; color: var(--text-muted); line-height: 1.5; }
.contact-detail__text a { color: var(--text-body); transition: color var(--transition-fast); }
.contact-detail__text a:hover { color: var(--gold); }
.contact-hours {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  margin-top: 8px;
}
.contact-hours h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-hours h4 svg { width: 18px; height: 18px; color: var(--gold); }
.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.hours-row:last-child { border-bottom: none; }
.hours-row__day { color: var(--text-body); font-weight: 500; }
.hours-row__time { color: var(--text-muted); }
.hours-row__time--closed { color: var(--error); font-weight: 500; }
.contact-wa-btn { margin-top: 24px; }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-hover-shadow);
  position: relative;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.contact-form-card h3 { font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.contact-form-card > p { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.contact-success {
  display: none;
  text-align: center;
  padding: var(--space-xl) 0;
}
.contact-success.show { display: block; }
.contact-success .success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-md);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-success .success-icon svg { width: 36px; height: 36px; color: var(--gold); }
.contact-success h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.contact-success p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* Map */
.map-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}
.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-light);
  height: 400px;
}
.map-wrapper iframe { width: 100%; height: 100%; border: none; }
.map-address-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: var(--space-lg) 0;
  flex-wrap: wrap;
}
.map-address-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-body);
}
.map-address-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.map-address-item a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition-fast);
}
.map-address-item a:hover { color: var(--gold-hover); }

/* Responsive — Contact */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  /* Left-align at ALL sizes below 960px — no centring on mobile */
  .contact-info { text-align: left; }
  .contact-info h2::after { left: 0; transform: none; }
  .contact-detail { justify-content: flex-start; }
  .contact-detail__text { text-align: left; }
  .contact-hours { max-width: 100%; margin: 8px 0 0; }
  .contact-wa-btn { text-align: left; }
  .contact-form-card { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .quick-contact__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .quick-contact { margin-top: -20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 24px; }
  .map-wrapper { height: 300px; }
  .map-address-bar { flex-direction: column; gap: 12px; align-items: flex-start; padding: var(--space-lg); }
}

/* ============================================================
   TESTIMONIALS — page-specific styles
   ============================================================ */

/* Hero */
.testimonials-hero {
  background: var(--navy);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonials-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.testimonials-hero h1 { color: var(--white); margin-bottom: 16px; position: relative; }
.testimonials-hero > .wide-width > p {
  color: var(--footer-muted);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
  position: relative;
}
.rating-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.rating-badge {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 28px 40px;
  text-align: center;
  min-width: 220px;
  transition: transform var(--transition-base), background var(--transition-base);
}
.rating-badge:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.1);
}
.rating-badge__platform {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--footer-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.rating-badge__platform svg { width: 20px; height: 20px; }
.rating-badge__score {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.rating-badge__stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.rating-badge__stars svg { width: 20px; height: 20px; color: var(--gold); fill: var(--gold); }
.rating-badge__count { font-size: 14px; color: var(--footer-muted); }

/* Featured Reviews */
.featured-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.featured-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.featured-card__quote {
  font-size: 44px;
  color: var(--gold);
  opacity: 0.25;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 8px;
}
.featured-card__text {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.featured-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.featured-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.featured-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}
.featured-card__name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}
.featured-card__date { font-size: 13px; color: var(--text-muted); margin-top: 2px; }
.featured-card__stars { display: flex; gap: 3px; }
.featured-card__stars svg { width: 16px; height: 16px; color: var(--gold); fill: var(--gold); }
.featured-card__platform { font-size: 12px; color: var(--text-muted); font-weight: 500; text-align: right; }

/* All Reviews */
.all-reviews-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}
.review-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-xl);
}
.review-filter-btn {
  padding: 10px 24px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.review-filter-btn:hover,
.review-filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.reviews-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-hover-shadow);
  border-color: transparent;
}
.review-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.review-card__author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-card__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}
.review-card__name {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}
.review-card__meta { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.review-card__stars { display: flex; gap: 2px; }
.review-card__stars svg { width: 14px; height: 14px; color: var(--gold); fill: var(--gold); }
.review-card__text { font-size: 15px; color: var(--text-body); line-height: 1.6; }
.review-card[data-platform="google"] .review-card__avatar { background: #E8F0FE; color: #4285F4; }
.review-card[data-platform="facebook"] .review-card__avatar { background: #E7F0FF; color: #1877F2; }
.review-card.hidden { display: none; }
.show-more-wrap { text-align: center; margin-top: var(--space-xl); }

/* Gallery */
.gallery-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--border-light);
  position: relative;
  transition: transform var(--transition-base);
}
.gallery-item:hover { transform: scale(1.03); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--text-muted);
  background: var(--border-light);
}

/* Responsive — Testimonials */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .reviews-masonry { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .rating-badges { gap: 20px; }
  .rating-badge { min-width: 180px; padding: 20px 28px; }
  .rating-badge__score { font-size: 40px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .review-filters { flex-wrap: wrap; }
}

/* ============================================================
   BOOK A TEST DRIVE — page-specific styles
   ============================================================ */

/* Hero */
.td-hero {
  background: var(--bg-alt);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.td-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.08;
  pointer-events: none;
}
.td-hero__grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: var(--space-xl);
  align-items: start;
  min-height: 480px;
}
.td-hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--space-lg);
}
.td-hero__badge {
  display: inline-block;
  background: var(--gold-bg-muted);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.td-hero__content h1 { color: var(--navy); margin-bottom: 16px; }
.td-hero__content > p {
  font-size: 17px;
  color: var(--text-body);
  max-width: 480px;
  line-height: 1.7;
}
.td-hero__trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.td-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.td-hero__trust-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.td-hero__trust-item span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-heading);
}
.td-hero__whatsapp {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text-muted);
}
.td-hero__whatsapp a {
  color: #25D366;
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition-fast);
}
.td-hero__whatsapp a:hover { color: #1EBE5A; }

/* Test Drive Form Card */
.td-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-hover-shadow);
  position: relative;
  z-index: 1;
}
.td-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.td-form-card__header { margin-bottom: 24px; }
.td-form-card__header h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.td-form-card__header p { font-size: 14px; color: var(--text-muted); }
.td-form-card__success {
  display: none;
  text-align: center;
  padding: var(--space-xl) 0;
}
.td-form-card__success.show { display: block; }
.td-form-card__success .success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.td-form-card__success .success-icon svg { width: 36px; height: 36px; color: var(--gold); }
.td-form-card__success h3 { font-size: 22px; color: var(--navy); margin-bottom: 12px; }
.td-form-card__success p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* How It Works */
.how-section {
  background: var(--bg-alt);
  padding: var(--section-gap) 0;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
}
.how-grid::after {
  content: '';
  position: absolute;
  top: 72px;
  left: calc(33.33% + 12px);
  right: calc(33.33% + 12px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0, var(--gold) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}
.how-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  z-index: 1;
}
.how-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.how-card__number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.how-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.how-card__icon svg { width: 28px; height: 28px; color: var(--gold); }
.how-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.how-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Why Test Drive with Us */
.why-section {
  background: var(--white);
  padding: var(--section-gap) 0;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.why-card {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}
.why-card__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--gold);
  background: var(--gold-bg-muted);
  border-radius: 50%;
  padding: 10px;
}
.why-card h4 { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.final-cta__phone {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}
.final-cta__phone a { color: var(--navy); text-decoration: underline; }
.final-cta__phone a:hover { color: var(--gold); }

/* Responsive — Test Drive */
@media (max-width: 960px) {
  .td-hero__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .td-hero__content { text-align: center; padding-top: 0; }
  .td-hero__content > p { margin-left: auto; margin-right: auto; }
  .td-hero__trust { justify-content: center; }
  .td-hero__whatsapp { justify-content: center; }
  .td-form-card { max-width: 520px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::after { display: none; }
}
@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; }
  .td-form-card { padding: 28px 24px; }
}
@media (max-width: 480px) {
  .td-hero { padding: var(--space-xl) 0; }
  .td-hero__trust { flex-direction: column; gap: 12px; align-items: center; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SELL YOUR CAR — page-specific styles
   ============================================================ */

/* Hero */
.sell-hero {
  background: var(--bg-alt);
  padding: var(--space-2xl) 0;
  position: relative;
  overflow: hidden;
}
.sell-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.08;
  pointer-events: none;
}
.sell-hero__grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: var(--space-xl);
  align-items: center;
  min-height: 480px;
}
.sell-hero__content {
  position: relative;
  z-index: 1;
}
.sell-hero__badge {
  display: inline-block;
  background: var(--gold-bg-muted);
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.sell-hero__content h1 { color: var(--navy); margin-bottom: 16px; }
.sell-hero__content p { font-size: 17px; color: var(--text-body); max-width: 480px; line-height: 1.7; }
.sell-hero__trust {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.sell-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sell-hero__trust-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.sell-hero__trust-item span {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  font-family: var(--font-heading);
}
/* When bg image active, override the span colour */
.sell-hero--has-bg .sell-hero__trust-item span { color: rgba(255,255,255,0.85) !important; }

/* Sell Form Card */
.sell-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--card-hover-shadow);
  position: relative;
  z-index: 1;
}
.sell-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.sell-form-card__header { margin-bottom: 24px; }
.sell-form-card__header h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.form-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-progress__text {
  font-family: var(--font-heading);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
}
.form-progress__bar {
  flex: 1;
  height: 4px;
  background: var(--border-light);
  border-radius: 2px;
  overflow: hidden;
}
.form-progress__fill {
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.lta-tooltip-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--gold);
}
.lta-tooltip-trigger svg { width: 18px; height: 18px; }
.lta-tooltip {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}
.lta-tooltip.show {
  max-height: 200px;
  padding: 12px;
  margin-top: 8px;
  background: var(--gold-bg-muted);
  border-radius: var(--radius-md);
}
.lta-tooltip p { font-size: 13px; color: var(--text-body); line-height: 1.6; }
.lta-tooltip a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.file-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}
.file-upload:hover {
  border-color: var(--gold);
  background: var(--gold-bg-muted);
}
.file-upload svg { width: 32px; height: 32px; color: var(--text-muted); margin: 0 auto 8px; display: block; }
.file-upload span { font-size: 14px; color: var(--text-muted); display: block; }
.file-upload__hint { font-size: 12px; color: var(--text-muted); opacity: 0.7; margin-top: 4px; }
.form-step { display: none; }
.form-step.active { display: block; }
.btn-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.btn-back:hover { color: var(--navy); }

/* LTA Access Code Explainer */
.lta-section {
  background: var(--navy);
  padding: var(--section-gap) 0;
}

/* LTA video popup */
.lta-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base), border-color var(--transition-base);
}
.lta-video-btn:hover { background: var(--navy-light, #1a3055); border-color: var(--gold); color: var(--gold); }
.lta-video-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.vm-video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.vm-video-modal.active { display: flex; }
.vm-video-modal__inner {
  position: relative;
  width: 100%;
  max-width: 800px;
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.vm-video-modal__ratio { position: relative; padding-top: 56.25%; }
.vm-video-modal__ratio iframe,
.vm-video-modal__ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.vm-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.vm-video-modal__close:hover { opacity: 1; }
.lta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 40px;
  border: 1px solid var(--border-light);
}
.lta-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.lta-card__header svg { width: 28px; height: 28px; color: var(--gold); flex-shrink: 0; }
.lta-card__header h3 { font-size: 22px; color: var(--navy); }
.lta-card p { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 16px; }
.lta-card h4 { font-size: 16px; color: var(--navy); margin-bottom: 12px; }
.lta-card ol { list-style: decimal; padding-left: 24px; margin-bottom: 16px; }
.lta-card ol li { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 8px; }
.lta-card a { color: var(--gold); font-weight: 600; text-decoration: underline; }
.lta-card a:hover { color: var(--gold-hover); }

/* Responsive — Sell Your Car */
@media (max-width: 960px) {
  .sell-hero__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .sell-hero__content { text-align: center; }
  .sell-hero__content p { margin-left: auto; margin-right: auto; }
  .sell-hero__trust { justify-content: center; }
  .sell-form-card { max-width: 520px; margin: 0 auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid::after { display: none; }
}
@media (max-width: 768px) {
  .how-grid { grid-template-columns: 1fr; }
  .sell-form-card { padding: 28px 24px; }
  .lta-card { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .sell-hero { padding: var(--space-xl) 0; }
  .sell-hero__trust { flex-direction: column; gap: 12px; align-items: center; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   USED CARS LISTING — page-specific styles
   ============================================================ */

/* Page Title Bar */
.page-title-bar {
  background: var(--navy);
  padding: var(--space-lg) var(--space-lg);
}
.page-title-bar__inner {
  max-width: var(--wide-size);
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.6); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 14px; height: 14px; opacity: 0.5; }
.breadcrumb span { color: var(--white); font-weight: 500; }
.page-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.page-title-left {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.page-title-left h1 { margin: 0; color: var(--white); }
.count-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  background: var(--gold);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  white-space: nowrap;
}
.page-title-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-input { position: relative; }
.search-input input {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  outline: none;
  width: 220px;
  transition: border-color var(--transition-fast);
}
.search-input input::placeholder { color: rgba(255,255,255,0.5); }
.search-input input:focus {
  border-color: var(--gold);
  box-shadow: none;
  background: rgba(255,255,255,0.15);
}
.search-input svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.5);
}
.sort-select {
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 36px 10px 14px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23FFFFFF' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.sort-select option { background: var(--white); color: var(--text); }
.sort-select:focus { border-color: var(--gold); box-shadow: none; }

/* Listing Layout */
.listing-layout {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  gap: var(--space-xl);
}

/* Sidebar Filters */
.sidebar {
  width: 280px;
  flex-shrink: 0;
}
.sidebar-inner {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  position: sticky;
  top: var(--space-lg);
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}
.sidebar-header h3 { font-size: 18px; margin: 0; }
.sidebar-header a { font-size: 13px; color: var(--text-muted); font-weight: 500; transition: color var(--transition-fast); }
.sidebar-header a:hover { color: var(--error); }
.filter-group { margin-bottom: var(--space-lg); }
.filter-group:last-child { margin-bottom: 0; }
.filter-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: var(--space-sm);
  display: block;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toggle-row span { font-size: 14px; color: var(--text-body); }
.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 24px;
  transition: background var(--transition-fast);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}
.toggle-switch input:checked + .toggle-slider { background: var(--gold); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-btn {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-body);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.pill-btn:hover { border-color: var(--gold); color: var(--navy); }
.pill-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 600;
}
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}
.checkbox-count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--border-light);
  padding: 2px 8px;
  border-radius: 50px;
}
.price-range-display {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.price-range-slider {
  position: relative;
  height: 40px;
}
.price-range-slider input[type="range"] {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  margin: 0;
  z-index: 3;
}
.price-range-slider input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  height: 4px;
}
.price-range-slider input[type="range"]::-moz-range-track {
  background: transparent;
  height: 4px;
}
.price-range-track {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  transform: translateY(-50%);
  background: var(--border-light);
  border-radius: 2px;
  z-index: 1;
}
.price-range-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--gold);
  border-radius: 2px;
  width: 100%;
}
.price-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(15, 42, 83, 0.2);
  cursor: pointer;
  position: relative;
  z-index: 4;
}
.price-range-slider input[type="range"]::-moz-range-thumb {
  pointer-events: all;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 2px 8px rgba(15, 42, 83, 0.2);
  cursor: pointer;
}
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
}
.radio-item input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* Car Listing Grid */
.listing-main { flex: 1; min-width: 0; }
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.car-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-light);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  cursor: pointer;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--card-hover-shadow);
}
.car-card.sold { opacity: 0.55; }
.car-card.sold .car-card__price,
.car-card.sold .car-card__monthly { display: none; }
.car-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border-light) 50%, var(--bg-alt) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.car-card__image svg { width: 56px; height: 56px; color: var(--text-muted); opacity: 0.15; }
.car-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  z-index: 2;
}
.car-badge--gold { background: var(--gold); color: var(--navy); }
.car-badge--blue { background: #3B82F6; color: var(--white); }
.car-badge--sold { background: #6B7280; color: var(--white); }
.car-card__body { padding: 16px; }
.car-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
  min-height: 2.6em;
  line-height: 1.3;
}
.car-card__type { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.car-card__price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.car-card__monthly { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.car-card__specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.car-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.car-spec svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--navy); opacity: 0.5; }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-xl);
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  color: var(--navy);
  background: var(--white);
  transition: all var(--transition-fast);
  cursor: pointer;
}
.pagination a:hover { border-color: var(--gold); color: var(--navy); }
.pagination .active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  font-weight: 600;
}
.pagination .disabled { opacity: 0.4; pointer-events: none; }

/* Mobile Filter Panel */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 83, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.filter-overlay.open { opacity: 1; }
.filter-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--bg-alt);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
  padding: var(--space-lg);
}
.filter-panel.open { transform: translateX(0); }
.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border);
}
.filter-panel__header h3 { font-size: 18px; margin: 0; }
.filter-panel__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.filter-panel__close:hover { background: var(--border-light); }
.mobile-filter-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 998;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
  transition: all var(--transition-base);
  gap: 8px;
}
.mobile-filter-btn svg { width: 18px; height: 18px; }
.mobile-filter-btn:hover {
  background: var(--gold-hover);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: var(--button-hover-shadow);
}

/* Responsive — Used Cars */
@media (max-width: 1024px) {
  .sidebar { width: 240px; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .page-title-controls { flex-wrap: wrap; }
  .search-input input { width: 180px; }
}
@media (max-width: 768px) {
  .sidebar { display: none; }
  .mobile-filter-btn { display: flex; align-items: center; }
  .car-grid { grid-template-columns: repeat(2, 1fr); }
  .page-title-row { flex-direction: column; align-items: flex-start; }
  .page-title-controls { width: 100%; }
  .search-input { flex: 1; }
  .search-input input { width: 100%; }
  .listing-layout { padding: var(--space-lg); }
}
@media (max-width: 480px) {
  .car-grid { grid-template-columns: 1fr; }
  .page-title-left { flex-wrap: wrap; }
  .page-title-left h1 { font-size: 24px; }
  .page-title-controls { flex-direction: column; align-items: stretch; }
  .search-input input { width: 100%; }
}

/* ============================================================
   CAR DETAIL — page-specific styles
   ============================================================ */

/* Breadcrumb */
.detail-breadcrumb-bar {
  background: var(--bg-alt);
  padding: var(--space-sm) var(--space-lg);
  border-bottom: 1px solid var(--border-light);
}
.detail-breadcrumb-bar__inner {
  max-width: var(--wide-size);
  margin: 0 auto;
}
.detail-breadcrumb-bar .breadcrumb {
  color: var(--text-muted);
}
.detail-breadcrumb-bar .breadcrumb a { color: var(--text-muted); }
.detail-breadcrumb-bar .breadcrumb a:hover { color: var(--navy); }
.detail-breadcrumb-bar .breadcrumb span { color: var(--text); }

/* Detail Layout */
.detail-layout {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg) 0;
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

/* Gallery */
.gallery { flex: 1; min-width: 0; }
.gallery-main {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--border-light) 50%, var(--bg-alt) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: var(--space-md);
}
.gallery-main svg.car-placeholder { width: 80px; height: 80px; color: var(--text-muted); opacity: 0.12; }
.gallery-counter {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.gallery-arrow:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.05);
}
.gallery-arrow svg { width: 20px; height: 20px; color: var(--navy); }
.gallery-arrow--prev { left: 16px; }
.gallery-arrow--next { right: 16px; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-track { background: transparent; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.gallery-thumb {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bg-alt), var(--border-light));
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.gallery-thumb:hover { border-color: var(--border); }
.gallery-thumb.active { border-color: var(--gold); }
.gallery-thumb svg { width: 20px; height: 20px; color: var(--text-muted); opacity: 0.15; }

/* Sticky CTA Sidebar */
.detail-sidebar { width: 400px; flex-shrink: 0; }
.cta-sidebar {
  position: static;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  padding: 32px;
}
.sidebar-calculator {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 24px;
  margin-top: 24px;
}
.cta-price {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.cta-monthly {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-monthly a { color: var(--gold); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.cta-badges { display: flex; gap: 8px; margin-bottom: var(--space-md); flex-wrap: wrap; }
.cta-badge {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.3px;
}
.cta-badge--gold { background: var(--gold); color: var(--white); }
.cta-badge--outline { background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }
.cta-car-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-md);
}
.cta-divider { height: 1px; background: var(--border-light); margin: var(--space-md) 0; }
.cta-specs { display: flex; flex-direction: column; gap: 14px; }
.cta-spec-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.cta-spec-row svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--navy); }
.cta-spec-label { color: var(--text-muted); min-width: 100px; }
.cta-spec-value { font-weight: 600; color: var(--text); }
.cta-trust { text-align: center; font-size: 13px; color: var(--text-muted); padding: var(--space-sm) 0; }
.cta-buttons { display: flex; flex-direction: column; gap: 10px; }
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  letter-spacing: 0.3px;
  line-height: 1;
}
.cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.cta-btn--whatsapp { background: #25D366; color: var(--white); }
.cta-btn--whatsapp:hover {
  background: #1EB954;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}
.cta-btn--navy { background: var(--navy); color: var(--white); }
.cta-btn--navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 42, 83, 0.3);
}
.cta-btn--gold-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.cta-btn--gold-outline:hover { background: var(--gold-bg-muted); transform: translateY(-2px); }
.cta-link {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.cta-link:hover { color: var(--gold); }

/* Tab Navigation */
.detail-tabs-section {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: 0;
}
.detail-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: var(--space-xl);
}
.detail-tab {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 24px;
  cursor: pointer;
  border: none;
  background: none;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap;
}
.detail-tab:hover { color: var(--navy); }
.detail-tab.active { color: var(--navy); font-weight: 600; }
.detail-tab.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 3px 3px 0 0;
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* Detail Content Layout */
.detail-content-layout {
  max-width: var(--wide-size);
  margin: 0 auto;
  padding: var(--space-xl) var(--space-lg);
  display: flex;
  gap: var(--space-xl);
}
.content-left { flex: 1; min-width: 0; }
.content-right { width: 400px; flex-shrink: 0; }
.content-right .sidebar-calculator { position: sticky; top: 24px; }

/* Overview Tab */
.highlights-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.highlight-card__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-weight: 500;
}
.highlight-card__value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.description-text { margin-bottom: var(--space-xl); }
.description-text p {
  margin-bottom: var(--space-md);
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
}
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-xl);
}
.feature-pill {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--bg-alt);
  color: var(--navy);
  border: 1px solid var(--border-light);
}
.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.trust-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  border: 1px solid var(--border-light);
}
.trust-card svg { width: 32px; height: 32px; color: var(--gold); margin-bottom: 12px; }
.trust-card h4 { font-size: 15px; margin-bottom: 6px; }
.trust-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Vehicle Information Tab */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.specs-table tr:nth-child(even) { background: var(--bg-alt); }
.specs-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
}
.specs-table td:first-child { color: var(--text-muted); font-weight: 500; width: 45%; }
.specs-table td:last-child { color: var(--text); font-weight: 600; }

/* Loan Calculator Tab */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.calc-results {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.calc-result-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.calc-result-row:last-child { border-bottom: none; }
.calc-result-label { font-size: 14px; color: var(--footer-muted); }
.calc-result-value {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}
.calc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.calc-meta-item { text-align: center; }
.calc-meta-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.calc-meta-value { display: block; font-size: 15px; font-weight: 700; color: var(--white); }
.calc-extras {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.calc-extra-label {
  font-size: 11px;
  color: var(--footer-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  font-family: var(--font-heading);
}
.calc-extra-value { font-family: var(--font-heading); font-size: 16px; font-weight: 600; }
.calc-cta { margin-top: var(--space-lg); text-align: center; }

/* Similar Cars */
.similar-section { padding: var(--section-gap) 0; background: var(--bg-alt); }
.similar-section .listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
}
.section-header h2 { margin: 0; }
.view-all {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color var(--transition-fast);
}
.view-all:hover { color: var(--gold); }

/* Mobile Sticky Bottom Bar */
.mobile-bottom-bar__meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.mobile-bottom-bar__meta-line {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 16px rgba(15, 42, 83, 0.08);
  padding: 10px var(--space-lg);
  align-items: center;
  gap: 8px;
  justify-content: space-between;
  height: 64px;
}
.mobile-bottom-bar__price {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}
.mobile-bottom-bar__btn {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mobile-bottom-bar__btn svg { width: 16px; height: 16px; }
.mobile-bottom-bar__btn--whatsapp { background: #25D366; color: var(--white); }
.mobile-bottom-bar__btn--navy { background: var(--navy); color: var(--white); }

/* Responsive — Car Detail */
@media (max-width: 1024px) {
  .detail-sidebar { width: 100%; }
  .cta-sidebar { position: static; }
  .detail-layout { flex-direction: column; }
  .gallery { width: 100%; }
  .detail-content-layout { flex-direction: column; }
  .content-right { width: 100%; }
  .content-right .sidebar-calculator { position: static; }
}
@media (max-width: 768px) {
  .detail-layout { flex-direction: column; padding: var(--space-lg); box-sizing: border-box; max-width: 100vw; }
  .detail-sidebar { display: none; }
  .mobile-bottom-bar { display: flex; }
  .highlights-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-cards { grid-template-columns: 1fr; }
  .calc-layout { grid-template-columns: 1fr; }
  .similar-section .listings-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 64px; }

  /* Fix: prevent horizontal overflow on car detail page — target html too */
  .detail-content-layout { overflow-x: hidden !important; box-sizing: border-box; max-width: 100%; }
  .content-left { min-width: 0; max-width: 100%; overflow-x: hidden; }
  .detail-gallery__strip { max-width: 100%; overflow-x: auto; }

  /* Fix: Tabs — "Features & Accessories" must wrap, not blow the page */
  .detail-tabs { flex-wrap: wrap !important; overflow-x: hidden !important; border-bottom: none; gap: 0; }
  .detail-tab {
    font-size: 13px !important;
    padding: 10px 12px !important;
    white-space: normal !important;
    word-break: break-word !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    text-align: center;
    border-bottom: 2px solid var(--border-light) !important;
    position: static !important;
  }
  .detail-tab.active { border-bottom-color: var(--navy) !important; color: var(--navy); font-weight: 600; }
  .detail-tab.active::after { display: none; }

  /* Fix: specs table wrapping */
  .specs-table { width: 100% !important; table-layout: fixed !important; }
  .specs-table td { word-break: break-word !important; overflow-wrap: anywhere !important; white-space: normal !important; }

  /* Fix 2: Floating WhatsApp — sit above the sticky bottom bar */
  .vm-floating-wa { bottom: 82px !important; }

  /* Fix 4: Hide entire trust-strip section container */
  .vm-trust-section { display: none !important; }
}
@media (max-width: 480px) {
  .highlights-strip { grid-template-columns: repeat(2, 1fr); }
  .similar-section .listings-grid { grid-template-columns: 1fr; }
  .detail-tab { font-size: 12px; padding: 10px 12px; }
  .calc-extras { grid-template-columns: 1fr; }
  .calc-meta { flex-wrap: wrap; gap: 12px; }
  .calc-meta-item { flex: 1 1 calc(50% - 12px); }
  .gallery-arrow { width: 36px; height: 36px; }
  .gallery-arrow svg { width: 16px; height: 16px; }
  .gallery-thumb { width: 64px; height: 48px; }
}

/* ============================================================
   TASK OVERRIDES — Homepage listings, sold/new badges, pagination
   ============================================================ */
.search-bar input[type="search"] {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  background: var(--input-bg);
  color: var(--text);
  outline: none;
}
.search-bar input[type="search"]:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
}

.listings-grid { grid-template-columns: repeat(3, 1fr); }
.listings-grid--homepage .car-card { display: block; }

.car-card__image { position: relative; }
.car-card--sold {
  position: relative;
  opacity: 0.55;
  pointer-events: none;
}
.car-card--sold .car-card__price {
  text-decoration: line-through;
  color: var(--text-muted);
}
.car-card--sold .car-card__image::before { content: none; }
.car-card__sold-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  padding: 8px 24px;
  border-radius: 4px;
  letter-spacing: 2px;
  z-index: 5;
}
.car-badge--new {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #28a745;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 3;
}

.archive-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.archive-pagination .page-numbers.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.archive-pagination .page-numbers:hover:not(.current) { background: var(--bg-alt); }
.archive-pagination .prev,
.archive-pagination .next { font-size: 18px; }

.detail-content-layout h3.section-heading {
  text-align: left;
  font-size: 20px;
  margin-bottom: var(--space-md);
}
.detail-content-layout .highlight-card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border-light);
  display: block;
}

@media (max-width: 1024px) {
  .listings-grid--homepage { grid-template-columns: repeat(2, 1fr); }
  .listings-grid--homepage .car-card:nth-child(n+5) { display: none; }
}

@media (max-width: 768px) {
  .search-bar input[type="search"] { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 13px; }
  /* Fix 3: 1-per-row list view on mobile — must be here (second block) to win over line ~778 */
  .listings-grid--archive { grid-template-columns: 1fr !important; }
  .listings-grid--archive .car-card { display: flex; flex-direction: row; align-items: stretch; overflow: hidden; }
  .listings-grid--archive .car-card .car-card__image { width: 140px; min-width: 140px; height: auto; min-height: 120px; flex-shrink: 0; border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .listings-grid--archive .car-card .car-card__body { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
  .listings-grid--archive .car-card .car-card__price { font-size: 16px; margin-bottom: 2px; }
  .listings-grid--archive .car-card .car-card__name { font-size: 13px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .listings-grid--archive .car-card .car-card__specs { font-size: 11px; gap: 3px; margin-bottom: 6px; }
  .listings-grid--archive .car-card .car-card__specs svg { width: 12px; height: 12px; }
  .listings-grid--archive .car-card .car-card__link { font-size: 12px; }
  .listings-grid--archive .car-card:hover { transform: none; }
}

@media (max-width: 600px) {
  .listings-grid--homepage { grid-template-columns: 1fr; }
  .listings-grid--homepage .car-card:nth-child(n+4) { display: none; }
}

@media (max-width: 480px) {
  .search-bar input[type="search"] { flex: 1 1 100%; }
  .listings-grid--archive { grid-template-columns: 1fr !important; }
}

/* ============================================================
   HERO WRAPPER — hidden on inner pages (vm-iph takes over)
   ============================================================ */
body:not(.home):not(.front-page) .hero-wrapper { display: none !important; }
body:not(.home):not(.front-page) .top-bar      { display: none !important; }

/* ============================================================
   INNER PAGE HEADER — vm-iph
   ============================================================ */
.vm-iph {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  transition: box-shadow 0.25s ease;
}
.vm-iph.vm-iph--scrolled {
  box-shadow: 0 4px 28px rgba(15, 42, 83, 0.28);
}
.vm-iph__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.vm-iph__logo { flex-shrink: 0; display: flex; align-items: center; text-decoration: none; }
.vm-iph__logo img { height: 40px; width: auto; display: block; }
.vm-iph__logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 17px; color: var(--white); letter-spacing: 0.02em; }

.vm-iph__nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.vm-iph__link {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding: 0 1.1rem;
  height: 68px;
  display: flex;
  align-items: center;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.vm-iph__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vm-iph__link:hover { color: var(--white); }
.vm-iph__link:hover::after { transform: scaleX(1); }
.vm-iph__link--active { color: var(--gold); }
.vm-iph__link--active::after { transform: scaleX(1); }

.vm-iph__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.vm-iph__phone {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.vm-iph__phone:hover { color: rgba(255,255,255,0.9); }
.vm-iph__wa {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.28);
  display: flex; align-items: center; justify-content: center;
  color: #25D366;
  transition: all 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
}
.vm-iph__wa:hover { background: rgba(37,211,102,0.22); border-color: #25D366; }
.vm-iph__cta {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold);
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s ease;
}
.vm-iph__cta:hover { background: var(--gold-hover); box-shadow: var(--button-hover-shadow); transform: translateY(-1px); }

.vm-iph__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer; padding: 6px;
  flex-shrink: 0;
}
.vm-iph__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
  transform-origin: center;
}
.vm-iph__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.vm-iph__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.vm-iph__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.vm-iph__mobile-nav {
  background: var(--navy);
  border-top: 1px solid rgba(212,175,55,0.18);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vm-iph__mobile-nav.open { max-height: 520px; }
.vm-iph__mobile-nav nav {
  padding: 0.5rem 1.5rem 0.25rem;
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  box-sizing: border-box;
}
.vm-iph__mobile-nav nav a {
  display: block !important;
  width: 100% !important;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.vm-iph__mobile-nav nav a:last-child { border-bottom: none; }
.vm-iph__mobile-nav nav a:hover { color: var(--gold); }
.vm-iph__mobile-actions {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .vm-iph__phone { display: none; }
}
@media (max-width: 860px) {
  .vm-iph__nav { display: none; }
  .vm-iph__wa { display: none; }
  .vm-iph__cta { display: none; }
  .vm-iph__burger { display: flex; }
  .vm-iph__inner { padding: 0 1.25rem; height: 60px; justify-content: space-between; }
  /* Fix 8: push actions (burger) to far right */
  .vm-iph__actions { margin-left: auto; }
}

/* ============================================================
   ARCHIVE PAGE — light grey background
   ============================================================ */
body.post-type-archive-featured-vehicle {
  background: var(--bg-alt);
}
.post-type-archive-featured-vehicle .page-header-bar {
  background: var(--bg-alt) !important;
  border-bottom-color: var(--border) !important;
}
.post-type-archive-featured-vehicle .used-cars-layout {
  background: var(--bg-alt);
}
.post-type-archive-featured-vehicle .filter-sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  padding: var(--space-md);
}
.post-type-archive-featured-vehicle .car-card {
  background: var(--white);
}
