/* ============================================
   PERRY'S QUALITY AUTO - DESIGN TOKENS
   Clean & Modern / Trustworthy Auto Repair
   ============================================ */

:root,
[data-theme='light'] {
  /* Type Scale */
  --text-xs: clamp(0.8125rem, 0.75rem + 0.3vw, 0.9375rem);
  --text-sm: clamp(0.9375rem, 0.875rem + 0.35vw, 1.0625rem);
  --text-base: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --text-lg: clamp(1.25rem, 1.1rem + 0.85vw, 1.75rem);
  --text-xl: clamp(1.75rem, 1.4rem + 1.5vw, 2.75rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 2.75vw, 4rem);
  --text-3xl: clamp(2.75rem, 1.2rem + 4.5vw, 5.5rem);

  /* Spacing (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Perry's Palette - Black / White / Red (lightened) */
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-2: #f7f7f8;
  --color-surface-offset: #f0f0f2;
  --color-divider: #e0e0e0;
  --color-border: #d0d0d0;

  --color-text: #2a2a2b;
  --color-text-muted: #666666;
  --color-text-faint: #999999;
  --color-text-inverse: #ffffff;

  /* Primary - Perry's Red (hero bg, header bar, links) */
  --color-primary: #b71c1c;
  --color-primary-hover: #a01818;
  --color-primary-active: #8b1515;
  --color-primary-light: #f5e0e0;

  /* Accent - Darker Red for CTAs (contrast against red hero) */
  --color-accent: #b71c1c;
  --color-accent-hover: #a01818;
  --color-accent-active: #8b1515;
  --color-accent-light: #f5e0e0;

  /* Success Green */
  --color-success: #2d7d46;
  --color-success-light: #ecf7ef;

  /* Warning */
  --color-warning: #d4a017;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'General Sans', 'Inter', sans-serif;
}





/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-24));
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-surface) l c h / 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease;
}
.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__top {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  font-weight: 500;
}
.header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
/* Review pills in top bar - oval clickable badges */
.header__top .review-pills {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.header__top .review-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1-5, 0.375rem);
  padding: 0.3rem 0.75rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  line-height: 1.1;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.header__top .review-pill:hover {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}
.header__top .review-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.header__top .review-pill .star {
  color: #fbbf24;
  font-size: 0.75rem;
  line-height: 1;
}
.header__top .review-pill:hover .star {
  color: #f59e0b;
}

.header__top a {
  color: var(--color-text-inverse);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}
.header__top svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.header__top-inner > div svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.header__top a:hover {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  gap: var(--space-4);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  flex-shrink: 0;
}
.nav__logo img {
  height: 78px;
  width: auto;
}
@media (max-width: 1024px) {
  .nav__logo img {
    height: 64px;
  }
}
@media (max-width: 640px) {
  .nav__logo img {
    height: 52px;
  }
}
.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.1;
  color: var(--color-primary);
  display: none; /* Hidden - official logo already includes text */
}
.nav__logo-text small {
  display: block;
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}
.nav__links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
  white-space: nowrap;
}
.nav__links a:hover,
.nav__links a.active {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.nav__dropdown {
  position: relative;
}
.nav__dropdown-btn {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-md);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  white-space: nowrap;
}
.nav__dropdown-btn:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}
.nav__dropdown-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}
.nav__dropdown:hover .nav__dropdown-btn svg {
  transform: rotate(180deg);
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 50;
}
.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-md);
}
.nav__dropdown-menu a:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  white-space: nowrap;
  border: none;
  cursor: pointer;
}
.nav__cta:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.nav__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: none;
  border: none;
}
.nav__mobile-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav__mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .nav__links,
  .nav__cta-desktop {
    display: none;
  }
  .nav__mobile-toggle {
    display: flex;
  }
  .nav__mobile-menu.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-divider);
    box-shadow: var(--shadow-lg);
    padding: var(--space-4);
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav__mobile-menu a {
    display: block;
    padding: var(--space-3) var(--space-4);
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--text-base);
    border-radius: var(--radius-md);
  }
  .nav__mobile-menu a:hover {
    background: var(--color-primary-light);
  }
  .nav__mobile-menu .mobile-cta {
    display: block;
    text-align: center;
    margin-top: var(--space-4);
    padding: var(--space-3);
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
  }
  .mobile-section-title {
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: var(--space-4) var(--space-4) var(--space-1);
  }
}

/* Sticky Phone Bar (Mobile) */
.phone-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--color-primary);
  padding: var(--space-3);
  text-align: center;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}
.phone-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  color: #fff;
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-display);
}
.phone-bar a svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .phone-bar {
    display: none !important;
  }
  body {
    padding-bottom: 0;
  }
}

/* Theme Toggle */

.theme-toggle:hover {
  background: var(--color-primary-light);
  color: var(--color-primary);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, #7a1515 100%);
  color: #fff;
  padding: clamp(var(--space-16), 8vw, var(--space-32)) 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  margin-bottom: var(--space-4);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero__badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-4);
}
.hero__subtitle {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 520px;
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero__visual {
  position: relative;
}
.hero__image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.2);
}
.hero__image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.hero__stat {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  color: var(--color-text);
}
.hero__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}
.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
  font-weight: 500;
}

/* Hero buttons: white CTA on red hero background */
.hero .btn--primary {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}
.hero .btn--primary:hover {
  background: #f0f0f0;
  color: var(--color-primary-hover);
  border-color: #f0f0f0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__subtitle {
    margin-inline: auto;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__image-wrapper {
    display: none;
  }
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-interactive);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(213, 0, 0, 0.3);
}

.btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--dark {
  background: var(--color-text);
  color: var(--color-text-inverse);
}
.btn--dark:hover {
  background: var(--color-primary);
  transform: translateY(-1px);
  color: #fff;
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
  padding: var(--space-7) 0;
}
.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.trust-item strong {
  color: var(--color-text);
  font-weight: 700;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  color: var(--color-text);
}
.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  flex-grow: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
}
.service-card__link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.service-card:hover .service-card__link {
  gap: var(--space-2);
}

/* ============================================
   VEHICLES GRID
   ============================================ */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-4);
}
.vehicle-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
}
.vehicle-card:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-text);
}
.vehicle-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
}
.vehicle-card__type {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}
.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.section-header p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-inline: auto;
}

/* Section header - left aligned variant */
.section-header--left {
  text-align: left;
}
.section-header--left p {
  margin-inline: 0;
}

/* ============================================
   REVIEWS / TESTIMONIALS
   ============================================ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}
.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-3);
  color: #f59e0b;
}
.review-card__stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.review-card__text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: var(--space-4);
  font-style: italic;
}
.review-card__author {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.review-card__location {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}
.feature-item {
  text-align: center;
  padding: var(--space-6);
}
.feature-item__icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: var(--color-primary);
}
.feature-item__icon svg {
  width: 32px;
  height: 32px;
}
.feature-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.feature-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 300px;
  margin-inline: auto;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #7a1515 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-8), 4vw, var(--space-16));
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-3);
  position: relative;
}
.cta-banner p {
  font-size: var(--text-base);
  opacity: 0.9;
  margin-bottom: var(--space-6);
  max-width: 500px;
  margin-inline: auto;
  position: relative;
}
.cta-banner .btn {
  position: relative;
}
.cta-banner .btn--primary {
  background: #ffffff;
  color: var(--color-primary);
  border-color: #ffffff;
}
.cta-banner .btn--primary:hover {
  background: #f0f0f0;
  color: var(--color-primary-hover);
  border-color: #f0f0f0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding: var(--space-16) 0 var(--space-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .footer__grid .footer__col:nth-child(5) {
    grid-column: span 2;
  }
}
.footer__brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-4);
  max-width: 320px;
}
.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}
.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__social a:hover {
  background: var(--color-primary);
  color: #fff;
}

.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  color: var(--color-text);
}
.footer__col ul {
  list-style: none;
}
.footer__col li {
  margin-bottom: var(--space-2);
}
.footer__col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__col a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
.footer__bottom-links {
  display: flex;
  gap: var(--space-4);
}
.footer__bottom-links a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer__bottom-links a:hover {
  color: var(--color-primary);
}

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

/* ============================================
   PAGE HERO (Interior Pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #7a1515 100%);
  color: #fff;
  padding: clamp(var(--space-12), 5vw, var(--space-20)) 0;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
}
.page-hero + .vehicle-hero-image {
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-12));
  position: relative;
  z-index: 2;
  background: #ffffff;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container {
  position: relative;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  opacity: 0.7;
  margin-bottom: var(--space-4);
}
.page-hero__breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.page-hero__breadcrumb a:hover {
  opacity: 1;
  text-decoration: underline;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
}
.page-hero p {
  font-size: var(--text-base);
  opacity: 0.9;
  margin-top: var(--space-3);
  max-width: 640px;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--color-divider);
}
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  gap: var(--space-4);
}
.faq-item__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-item__question svg {
  transform: rotate(180deg);
}
.faq-item__answer {
  display: none;
  padding-bottom: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-item__answer {
  display: block;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-grid .full-width {
  grid-column: 1 / -1;
}
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--color-surface);
  color: var(--color-text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

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

/* ============================================
   TWO COL LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   WARRANTY / INFO CARDS
   ============================================ */
.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}
.info-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}
.info-card p,
.info-card li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.info-card ul {
  list-style: none;
  padding: 0;
}
.info-card li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
}
.info-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ============================================
   CONTENT PAGE
   ============================================ */
.content-page {
  padding: var(--space-12) 0 var(--space-16);
}
.content-page h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  margin: var(--space-8) 0 var(--space-4);
  color: var(--color-text);
}
.content-page h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin: var(--space-6) 0 var(--space-3);
  color: var(--color-text);
}
.content-page p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.content-page ul {
  margin-bottom: var(--space-4);
  padding-left: var(--space-6);
}
.content-page li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  line-height: 1.7;
}

/* ============================================
   SERVICE DETAIL PAGE
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  align-items: start;
}
.service-detail__sidebar {
  position: sticky;
  top: 120px;
}
@media (max-width: 900px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
  .service-detail__sidebar {
    position: static;
  }
}

/* Sidebar CTA Card */
.sidebar-cta {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  text-align: center;
}
.sidebar-cta h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.sidebar-cta p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.sidebar-cta .btn {
  width: 100%;
  margin-bottom: var(--space-3);
}
.sidebar-cta__phone {
  font-size: var(--text-lg);
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--color-primary);
}
.sidebar-cta__phone a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.sidebar-cta__phone a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Sidebar Hours */
.sidebar-hours {
  background: var(--color-surface-2);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-top: var(--space-4);
}
.sidebar-hours h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}
.sidebar-hours dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  font-size: var(--text-xs);
}
.sidebar-hours dt {
  font-weight: 600;
  color: var(--color-text);
}
.sidebar-hours dd {
  text-align: right;
  color: var(--color-text-muted);
}

/* ============================================
   WHY CHOOSE SPLIT LAYOUT
   ============================================ */
.why-choose-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.why-choose-split__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.why-choose-split__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.why-choose-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.why-choose-item__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}
.why-choose-item__icon svg {
  width: 24px;
  height: 24px;
}
.why-choose-item h3 {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-1);
}
.why-choose-item p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .why-choose-split {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ============================================
   SHOP PHOTO GALLERY
   ============================================ */
.shop-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-1);
  max-width: 100%;
}
.shop-gallery__item {
  overflow: hidden;
  position: relative;
  height: 300px;
  grid-column: span 2;
}
.shop-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.shop-gallery__item:hover img {
  transform: scale(1.05);
}
.shop-gallery__item--wide {
  grid-column: span 2;
}
/* Center the last row of 2 items: offset by 1 column each */
.shop-gallery__item:nth-child(4) {
  grid-column: 1 / 4;
}
.shop-gallery__item:nth-child(5) {
  grid-column: 4 / 7;
}

@media (max-width: 768px) {
  .shop-gallery {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-1);
  }
  .shop-gallery__item {
    grid-column: span 1;
    height: 220px;
  }
  .shop-gallery__item--wide {
    grid-column: span 2;
  }
  .shop-gallery__item:nth-child(4) {
    grid-column: span 1;
  }
  .shop-gallery__item:nth-child(5) {
    grid-column: span 1;
  }
}
@media (max-width: 480px) {
  .shop-gallery {
    grid-template-columns: 1fr;
  }
  .shop-gallery__item,
  .shop-gallery__item--wide,
  .shop-gallery__item:nth-child(4),
  .shop-gallery__item:nth-child(5) {
    grid-column: span 1;
    height: 200px;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   MAP CONTAINER
   ============================================ */
.map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-divider);
  height: 400px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================
   VEHICLE DETAIL SERVICE LIST
   ============================================ */
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-4);
}
.service-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.2s ease;
}
.service-list-item:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}
.service-list-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ============================================
   Knowledge Hub (service-page FAQs)
   ============================================ */
.knowledge-hub {
  background: var(--color-bg-subtle, #f7f7f8);
  padding: clamp(var(--space-12), 6vw, var(--space-20)) 0;
  border-top: 1px solid var(--color-border, #e5e5e5);
}
.knowledge-hub__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(var(--space-8), 4vw, var(--space-12));
}
.knowledge-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary-light, rgba(197, 33, 39, 0.08));
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}
.knowledge-hub__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-4);
  color: var(--color-text);
}
.knowledge-hub__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted, #555);
  margin: 0;
}
.knowledge-hub__list {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.kh-item {
  background: #fff;
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.kh-item[open] {
  border-color: var(--color-primary);
  box-shadow: 0 4px 24px rgba(197, 33, 39, 0.08);
}
.kh-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: clamp(var(--space-4), 2vw, var(--space-6)) clamp(var(--space-5), 2.5vw, var(--space-7));
  cursor: pointer;
  list-style: none;
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}
.kh-item summary::-webkit-details-marker { display: none; }
.kh-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c52127' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}
.kh-item[open] summary::after {
  transform: rotate(180deg);
}
.kh-item__answer {
  padding: 0 clamp(var(--space-5), 2.5vw, var(--space-7)) clamp(var(--space-5), 2.5vw, var(--space-6));
  color: var(--color-text-muted, #444);
  font-size: var(--text-base);
  line-height: 1.65;
}
.kh-item__answer p {
  margin: 0;
}
.knowledge-hub__cta {
  max-width: 960px;
  margin: clamp(var(--space-8), 4vw, var(--space-10)) auto 0;
  padding: clamp(var(--space-6), 3vw, var(--space-8));
  background: #fff;
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: var(--radius-lg, 16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}
.knowledge-hub__cta-copy h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin: 0 0 var(--space-1);
  color: var(--color-text);
}
.knowledge-hub__cta-copy p {
  margin: 0;
  color: var(--color-text-muted, #555);
  font-size: var(--text-base);
}

/* ================================
   STICKY MOBILE CALL BAR
   ================================ */
.mobile-call-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-call-bar {
    display: none !important;
  }

  .mobile-call-bar__link {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 1.5rem;
    background: var(--color-primary, #c52127);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.0625rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(197, 33, 39, 0.38), 0 2px 6px rgba(0, 0, 0, 0.18);
    border: 2px solid rgba(255, 255, 255, 0.92);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
  }

  .mobile-call-bar__link:hover,
  .mobile-call-bar__link:focus-visible {
    background: #a81a1f;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(197, 33, 39, 0.45), 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .mobile-call-bar__link:active {
    transform: translateY(0);
  }

  .mobile-call-bar__link svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
  }

  body {
    padding-bottom: 0;
  }
}



/* ================================
   FOOTER LOGO — bigger than nav
   ================================ */
.footer__brand .nav__logo img {
  height: 140px;
  max-width: 100%;
}
@media (max-width: 1024px) {
  .footer__brand .nav__logo img {
    height: 120px;
  }
}
@media (max-width: 640px) {
  .footer__brand .nav__logo img {
    height: 100px;
  }
}
.footer__brand .nav__logo {
  margin-bottom: var(--space-3);
}

/* ============================================
   POLISH PASS — late additions
   ============================================ */

/* 1) Prominent border between top red bar and trust strip / nav */
.header__top {
  border-bottom: 4px solid #7a1515; /* darker red separator */
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
}

/* 2) Footer Book Appointment button — restore white text (fix specificity bug) */
.footer__col a.btn--primary,
.footer__col a.btn--primary:link,
.footer__col a.btn--primary:visited {
  color: #fff !important;
}
.footer__col a.btn--primary:hover {
  color: #fff !important;
}

/* 3) Knowledge Hub — restyled to match the clean FAQ accordion */
.knowledge-hub {
  background: #fff;
  padding: clamp(var(--space-12), 6vw, var(--space-16)) 0;
  border-top: 1px solid var(--color-divider, #e5e5e5);
}
.knowledge-hub__head {
  text-align: left;
  max-width: 800px;
  margin: 0 0 clamp(var(--space-6), 3vw, var(--space-8));
}
.knowledge-hub__eyebrow {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  margin-bottom: var(--space-3);
}
.knowledge-hub__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}
.knowledge-hub__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted, #555);
}
.knowledge-hub__list {
  max-width: 800px;
  margin: 0;
  display: block;
}
.kh-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--color-divider, #e5e5e5);
  border-radius: 0;
  box-shadow: none;
}
.kh-item[open] {
  border-color: var(--color-divider, #e5e5e5);
  box-shadow: none;
}
.kh-item summary {
  padding: var(--space-5) 0;
  font-size: var(--text-base);
  font-weight: 600;
  gap: var(--space-4);
}
.kh-item summary::after {
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.kh-item__answer {
  padding: 0 0 var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted, #555);
  line-height: 1.7;
  max-width: 760px;
}
.knowledge-hub__cta {
  max-width: 800px;
  margin: clamp(var(--space-8), 4vw, var(--space-10)) 0 0;
  padding: clamp(var(--space-5), 2.5vw, var(--space-6));
  background: var(--color-bg-subtle, #f7f7f8);
  border: 1px solid var(--color-divider, #e5e5e5);
  border-radius: var(--radius-md, 12px);
}

/* 4) Hero → image separation: add a clean white gap with subtle divider */
.page-hero {
  margin-bottom: 0;
  border-bottom: 4px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}
.page-hero + .vehicle-hero-image,
.page-hero + section,
.page-hero + .container {
  margin-top: clamp(var(--space-8), 5vw, var(--space-14));
}

/* 5) Selection highlight — light bg + dark text everywhere */
::selection {
  background: #ffe082; /* warm light yellow */
  color: #1a1a1a;
}
::-moz-selection {
  background: #ffe082;
  color: #1a1a1a;
}
/* Override on red surfaces too — keep light highlight */
.hero ::selection,
.page-hero ::selection,
.header__top ::selection,
[class*="hero"] ::selection {
  background: #fff;
  color: var(--color-primary);
}

/* 7) Larger nav logo */
.nav__logo img {
  height: 96px;
}
@media (max-width: 1024px) {
  .nav__logo img {
    height: 78px;
  }
}
@media (max-width: 640px) {
  .nav__logo img {
    height: 64px;
  }
}

/* 8) Mobile menu collapsible groups (Services / Vehicles) */
@media (max-width: 1024px) {
  .nav__mobile-menu details.mobile-group {
    border-bottom: 1px solid var(--color-divider, #eee);
    margin: var(--space-1) 0;
  }
  .nav__mobile-menu details.mobile-group > summary {
    list-style: none;
    cursor: pointer;
    padding: var(--space-4) var(--space-4);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted, #666);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
  }
  .nav__mobile-menu details.mobile-group > summary::-webkit-details-marker {
    display: none;
  }
  .nav__mobile-menu details.mobile-group > summary::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.25s ease;
  }
  .nav__mobile-menu details.mobile-group[open] > summary::after {
    transform: rotate(180deg);
  }
  .nav__mobile-menu details.mobile-group > a {
    padding-left: var(--space-6);
  }
}

/* ─── FIX: constrain inline SVGs inside mobile menu / phone bar / nav links ─── */
.nav__mobile-menu a svg,
.nav__mobile-menu .mobile-cta svg,
.phone-bar a svg,
.mobile-callbar svg,
.mobile-callbar a svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.4em;
}
.nav__mobile-menu .mobile-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  width: 100%;
  box-sizing: border-box;
}
.nav__mobile-menu .mobile-cta svg {
  margin-right: 0;
}
.phone-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}
.phone-bar a svg {
  margin-right: 0;
}

/* ─── FIX: stronger differentiator below trust bar / hero block ─── */
.trust-bar {
  border-bottom: 4px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 2;
}

/* ─── REDESIGN: trust bar as an eye-catching boxed card (overrides earlier rules) ─── */
.trust-bar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: -56px 0 var(--space-12) !important;  /* pull up to overlap hero */
  position: relative;
  z-index: 5;
}
.trust-bar .container {
  /* widen breathing room */
  position: relative;
}
.trust-bar__inner {
  background: #0f1923; /* deep navy */
  background-image: linear-gradient(135deg, #111c27 0%, #1a2a3a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: var(--space-7) var(--space-8) !important;
  box-shadow:
    0 24px 50px -18px rgba(0, 0, 0, 0.45),
    0 8px 16px -8px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-5) var(--space-4) !important;
  align-items: center;
  justify-content: stretch !important;
}
/* gold accent bar on top of the card */
.trust-bar__inner::before {
  content: "";
  position: absolute;
  left: var(--space-6);
  right: var(--space-6);
  top: -3px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--color-primary) 0%, #f5b600 50%, var(--color-primary) 100%);
  pointer-events: none;
}
.trust-bar__inner { position: relative; }
.trust-bar .trust-item {
  color: #e7eef5 !important;
  font-size: 0.95rem !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px !important;
  justify-content: flex-start;
  padding: 4px 6px;
  min-width: 0;
}
.trust-bar .trust-item strong {
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.005em;
}
.trust-bar .trust-item svg {
  width: 22px !important;
  height: 22px !important;
  color: #f5b600 !important; /* gold accent */
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(245, 182, 0, 0.25));
}

/* Tablet: 3 columns */
@media (max-width: 980px) {
  .trust-bar { margin-top: -32px !important; }
  .trust-bar__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: var(--space-6) var(--space-5) !important;
  }
}
/* Mobile: 2 columns, smaller */
@media (max-width: 600px) {
  .trust-bar { margin: -20px 0 var(--space-8) !important; }
  .trust-bar__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4) var(--space-3) !important;
    padding: var(--space-5) var(--space-4) !important;
    border-radius: 12px;
  }
  .trust-bar .trust-item {
    font-size: 0.82rem !important;
    gap: 8px !important;
  }
  .trust-bar .trust-item svg { width: 18px !important; height: 18px !important; }
}

/* ─── BLOG STYLES ─── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-6);
}
.blog-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(0,0,0,0.18);
  border-color: var(--color-primary);
}
.blog-card__img {
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eee;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.blog-card:hover .blog-card__img img {
  transform: scale(1.04);
}
.blog-card__body {
  padding: var(--space-5) var(--space-5) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}
.blog-card__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(199, 30, 30, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}
.blog-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0;
}
.blog-card__excerpt {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__meta {
  margin-top: auto;
  display: flex;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
}

/* Blog post page */
.blog-post__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--space-8);
  align-items: start;
}
@media (max-width: 900px) {
  .blog-post__layout { grid-template-columns: 1fr; }
}
.blog-post__article { min-width: 0; }
.blog-post__hero-img {
  margin: 0 0 var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.blog-post__hero-img img {
  width: 100%;
  height: auto;
  display: block;
}
.blog-post__excerpt {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: var(--color-text-muted);
  font-weight: 500;
  border-left: 4px solid var(--color-primary);
  padding-left: var(--space-4);
  margin: 0 0 var(--space-6);
}
.blog-post__content {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  max-width: 70ch;
}
.blog-post__content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin: var(--space-8) 0 var(--space-3);
  color: var(--color-text);
  line-height: 1.3;
}
.blog-post__content h3 {
  font-size: var(--text-lg);
  font-weight: 700;
  margin: var(--space-6) 0 var(--space-2);
  color: var(--color-text);
}
.blog-post__content p {
  margin: 0 0 var(--space-4);
}
.blog-post__content ul,
.blog-post__content ol {
  margin: 0 0 var(--space-4);
  padding-left: var(--space-6);
}
.blog-post__content li {
  margin-bottom: var(--space-2);
}
.blog-post__content a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.blog-post__content a:hover { color: #7a1515; }
.blog-post__content strong { color: var(--color-text); font-weight: 700; }

.blog-post__cta {
  margin: var(--space-10) 0 var(--space-6);
  padding: var(--space-7) var(--space-6);
  background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
  border: 1px solid rgba(199, 30, 30, 0.15);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-primary);
}
.blog-post__cta h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  margin: 0 0 var(--space-2);
  color: var(--color-text);
}
.blog-post__cta p { margin: 0; color: var(--color-text-muted); }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
@media (max-width: 600px) {
  .post-nav { grid-template-columns: 1fr; }
}
.post-nav__link {
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: border-color .2s, transform .2s;
}
.post-nav__link:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}
.post-nav__link--next { text-align: right; }
.post-nav__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.post-nav__title {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
}

.blog-post__sidebar { position: sticky; top: var(--space-6); }
