/*!
Theme Name: GuideAuto Premium
Theme URI: https://guideauto.ma
Author: GuideAuto.ma
Description: Thème premium pour la plateforme automobile GuideAuto.ma
Version: 2.0.0
Text Domain: guideauto
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============================================================
   GUIDEAUTO PREMIUM — Design System
   Palette: #0D0D0D | #C5A55A | #FFFFFF | #2A2A2A | #F5F5F0
   Typography: Bebas Neue (headlines) + Inter (body)
   ============================================================ */

/* 1. IMPORTS & VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --black:       #0D0D0D;
  --anthracite:  #2A2A2A;
  --gold:        #C5A55A;
  --gold-light:  #D4B97A;
  --gold-dark:   #A8893C;
  --white:       #FFFFFF;
  --cream:       #F5F5F0;
  --grey-50:     #FAFAFA;
  --grey-100:    #F3F4F6;
  --grey-200:    #E5E7EB;
  --grey-400:    #9CA3AF;
  --grey-600:    #4B5563;
  --grey-800:    #1F2937;
  --red:         #EF4444;
  --green:       #10B981;
  --blue:        #3B82F6;
  --font-head:   'Bebas Neue', 'Arial Black', sans-serif;
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.14), 0 4px 16px rgba(0,0,0,0.08);
  --shadow-gold: 0 4px 24px rgba(197,165,90,0.25);
  --transition:  0.25s cubic-bezier(0.4,0,0.2,1);
  --max-width:   1280px;
}

/* 2. RESET & BASE
   ============================================================ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--grey-800);
  background: var(--white);
  overflow-x: hidden;
}

body::-webkit-scrollbar { width: 6px; }
body::-webkit-scrollbar-track { background: var(--black); }
body::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* 3. UTILITY CLASSES
   ============================================================ */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--dark { background: var(--black); color: var(--white); }
.section--grey { background: var(--grey-50); }
.section--cream { background: var(--cream); }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.font-head { font-family: var(--font-head); }

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

/* 4. TYPOGRAPHY
   ============================================================ */
.heading-xl {
  font-family: var(--font-head);
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 1px;
}
.heading-lg {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: 0.5px;
}
.heading-md {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.1;
}
.heading-sm {
  font-family: var(--font-head);
  font-size: 20px;
  line-height: 1.2;
}
.overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* 5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--black);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--anthracite);
}
.btn-dark:hover {
  background: var(--anthracite);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* 6. SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 24px;
}
.section-header__left { max-width: 520px; }
.section-header__left .overline { margin-bottom: 8px; display: block; }
.section-header__left h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  color: var(--black);
  line-height: 1;
}
.section-header--white h2 { color: var(--white); }

/* 7. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition);
}
.site-header.is-transparent {
  background: transparent;
}
.site-header.is-solid {
  background: var(--black);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.site-header__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img, .site-logo svg {
  height: 38px;
  width: auto;
}
.site-logo__text {
  font-family: var(--font-head);
  font-size: 28px;
  letter-spacing: 1px;
  color: var(--white);
  line-height: 1;
}
.site-logo__text span { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav__item {
  position: relative;
}
.site-nav__link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.site-nav__link.active { color: var(--gold); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 16px;
}
.header-search-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.header-search-btn:hover { background: rgba(255,255,255,0.16); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--transition);
}

/* 8. HERO SECTION
   ============================================================ */
.site-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
}
.site-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1a2e 40%, #16213e 100%);
}
.site-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(197,165,90,0.08) 0%, transparent 60%);
}
.site-hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197,165,90,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,165,90,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.site-hero__content {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
  width: 100%;
}
.site-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197,165,90,0.1);
  border: 1px solid rgba(197,165,90,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}
.site-hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.site-hero__title {
  font-family: var(--font-head);
  font-size: clamp(52px, 8vw, 100px);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 8px;
}
.site-hero__title .accent { color: var(--gold); }
.site-hero__subtitle {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}
.site-hero__desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* Hero search form */
.hero-search {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 680px;
  flex-wrap: wrap;
}
.hero-search__select {
  flex: 1;
  min-width: 140px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 11px 14px;
  font-size: 13px;
  appearance: none;
  outline: none;
  transition: border-color var(--transition);
}
.hero-search__select option { background: var(--black); }
.hero-search__select:focus { border-color: var(--gold); }
.hero-search__btn {
  background: var(--gold);
  color: var(--black);
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.hero-search__btn:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat__value {
  font-family: var(--font-head);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
}
.hero-stat__label {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* 9. VEHICLE CARDS
   ============================================================ */
.vehicle-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid var(--grey-200);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.vehicle-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
  border-color: rgba(197,165,90,0.4);
}
.vehicle-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--grey-100);
}
.vehicle-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.07);
}
.vehicle-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 2;
}
.badge-popular, .badge-bestSeller { background: var(--gold); color: var(--black); }
.badge-new { background: #3B82F6; color: var(--white); }
.badge-promo { background: #EF4444; color: var(--white); }
.badge-eco { background: #10B981; color: var(--white); }
.badge-premium { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--black); }
.badge-bestPrice { background: #7C3AED; color: var(--white); }

.vehicle-card__fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition);
  color: var(--grey-400);
  border: 1px solid rgba(255,255,255,0.6);
}
.vehicle-card__fav:hover { color: var(--red); transform: scale(1.1); }
.vehicle-card__fav.active { color: var(--red); }

.vehicle-card__body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.vehicle-card__brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.vehicle-card__name {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--black);
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.vehicle-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.vehicle-card__specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.vehicle-card__spec {
  font-size: 11px;
  color: var(--grey-600);
  background: var(--grey-100);
  border: 1px solid transparent;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.vehicle-card__price { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--grey-100); }
.vehicle-card__price-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-400);
}
.vehicle-card__price-value {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--gold);
  line-height: 1;
  margin-top: 6px;
}
.vehicle-card__price-monthly {
  font-size: 12px;
  color: var(--grey-400);
  margin-top: 4px;
}
.vehicle-card__cta {
  display: block;
  text-align: center;
  background: var(--grey-100);
  color: var(--black);
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
  margin-top: 16px;
}
.vehicle-card__cta:hover { background: var(--black); color: var(--white); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.vehicle-card__compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--grey-400);
  margin-top: 12px;
  cursor: pointer;
  transition: color 0.2s;
  padding-bottom: 4px;
}
.vehicle-card__compare:hover { color: var(--black); }
.vehicle-card__compare input { cursor: pointer; accent-color: var(--gold); }

/* Placeholder image */
.vehicle-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: rgba(255,255,255,0.2);
}

/* 10. CATALOGUE PAGE
   ============================================================ */
.catalogue-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 120px 0 80px;
}
.filter-sidebar {
  position: sticky;
  top: 88px;
  align-self: start;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.filter-sidebar::-webkit-scrollbar { width: 3px; }
.filter-sidebar::-webkit-scrollbar-thumb { background: var(--grey-200); }

.filter-panel {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}
.filter-panel__title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--grey-600);
  cursor: pointer;
  transition: color var(--transition);
}
.filter-option:hover { color: var(--black); }
.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
.filter-option .count {
  margin-left: auto;
  font-size: 11px;
  color: var(--grey-400);
}

.catalogue-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--grey-200);
}
.catalogue-count { font-size: 14px; color: var(--grey-600); }
.catalogue-count strong { color: var(--black); }
.catalogue-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey-600);
}
.catalogue-sort select {
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 7px 12px;
  font-size: 13px;
  color: var(--black);
  outline: none;
  appearance: none;
  background: var(--white) url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%239CA3AF' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  padding-right: 30px;
  cursor: pointer;
}
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Active filters */
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197,165,90,0.1);
  border: 1px solid rgba(197,165,90,0.25);
  color: var(--gold-dark);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
}
.active-filter button { color: var(--gold-dark); opacity: 0.6; }
.active-filter button:hover { opacity: 1; }

/* 11. SINGLE VEHICLE PAGE
   ============================================================ */
.vehicle-hero {
  background: var(--black);
  padding: 100px 0 0;
}
.vehicle-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: start;
}
.vehicle-hero__gallery { position: relative; }
.vehicle-hero__main-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--anthracite);
}
.vehicle-hero__meta {
  padding: 40px 0;
  color: var(--white);
}
.vehicle-hero__brand {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.vehicle-hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 4vw, 52px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.vehicle-hero__version {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 32px;
}
.vehicle-specs-bar {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.spec-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(197,165,90,0.1);
  border: 1px solid rgba(197,165,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.spec-item__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}
.spec-item__value {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}
.vehicle-hero__price {
  background: rgba(197,165,90,0.06);
  border: 1px solid rgba(197,165,90,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
}
.vehicle-price-from {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}
.vehicle-price-value {
  font-family: var(--font-head);
  font-size: 44px;
  color: var(--gold);
  line-height: 1.1;
  margin: 4px 0;
}
.vehicle-price-monthly {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* Vehicle detail sidebar */
.vehicle-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 100px;
}
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.sidebar-card__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 18px;
}
.sidebar-card--dark {
  background: var(--black);
}
.sidebar-card--dark .sidebar-card__title { color: var(--gold); }

/* Tabs */
.vehicle-tabs { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-200); margin-top: 32px; }
.vehicle-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--grey-200);
  background: var(--grey-50);
}
.vehicle-tabs__btn {
  flex: 1;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-400);
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  border-radius: 0;
}
.vehicle-tabs__btn.active { color: var(--black); border-bottom-color: var(--gold); }
.vehicle-tabs__btn:hover:not(.active) { color: var(--grey-600); }
.vehicle-tabs__panel { padding: 28px; display: none; }
.vehicle-tabs__panel.active { display: block; }

.specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--grey-100);
  font-size: 13px;
}
.spec-row:last-child { border-bottom: none; }
.spec-row__label { color: var(--grey-400); }
.spec-row__value { font-weight: 600; color: var(--black); }

.equipment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.equipment-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey-600);
}
.equipment-item::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(197,165,90,0.1);
  border: 1px solid rgba(197,165,90,0.25);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4L3.5 6.5L9 1.5' stroke='%23C5A55A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Quote form */
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: 11px 14px;
  font-size: 13px;
  margin-bottom: 12px;
  transition: border-color var(--transition);
  outline: none;
}
.quote-form input:focus, .quote-form select:focus {
  border-color: var(--gold);
}
.quote-form input::placeholder { color: rgba(255,255,255,0.3); }
.quote-form select option { background: var(--black); }

/* Credit calculator */
.credit-calc { padding: 0; }
.credit-calc label {
  font-size: 12px;
  color: var(--grey-400);
  display: block;
  margin-bottom: 6px;
  margin-top: 14px;
}
.credit-calc input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  margin-bottom: 4px;
}
.credit-calc select {
  width: 100%;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 13px;
  outline: none;
  background: var(--white);
}
.credit-result {
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  margin-top: 16px;
}
.credit-result__label { font-size: 11px; color: var(--grey-400); text-transform: uppercase; letter-spacing: 1px; }
.credit-result__value { font-family: var(--font-head); font-size: 32px; color: var(--gold); line-height: 1.1; margin-top: 4px; }

/* 12. BRAND SECTION
   ============================================================ */
.brands-section { padding: 60px 0; background: var(--grey-50); border-top: 1px solid var(--grey-200); border-bottom: 1px solid var(--grey-200); }
.brands-grid { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; align-items: center; }
.brand-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  min-width: 90px;
  text-align: center;
  cursor: pointer;
}
.brand-pill:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(197,165,90,0.15);
  transform: translateY(-2px);
}
.brand-pill__name { font-size: 12px; font-weight: 600; color: var(--grey-600); }
.brand-pill__count { font-size: 10px; color: var(--grey-400); }

/* 13. WHY SECTION (Value Proposition)
   ============================================================ */
.why-section { padding: 96px 0; background: var(--black); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.why-card {
  padding: 32px 24px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  transition: all var(--transition);
}
.why-card:hover {
  border-color: rgba(197,165,90,0.25);
  background: rgba(197,165,90,0.04);
}
.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(197,165,90,0.1);
  border: 1px solid rgba(197,165,90,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 22px;
}
.why-card__title {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card__desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.6; }

/* 14. ARTICLES
   ============================================================ */
.article-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--grey-200);
  transition: all var(--transition);
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.article-card__image { height: 200px; overflow: hidden; background: var(--grey-100); position: relative; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-card:hover .article-card__image img { transform: scale(1.05); }
.article-card__cat {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
}
.article-card__body { padding: 20px; }
.article-card__date { font-size: 11px; color: var(--grey-400); margin-bottom: 8px; }
.article-card__title {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 10px;
}
.article-card:hover .article-card__title { color: var(--gold-dark); }
.article-card__excerpt { font-size: 13px; color: var(--grey-600); line-height: 1.6; }
.article-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 14px;
}

/* 15. AI ADVISOR PROMO SECTION
   ============================================================ */
.ai-promo {
  background: linear-gradient(135deg, #0D0D0D 0%, #1a1218 50%, #0D0D0D 100%);
  border: 1px solid rgba(197,165,90,0.15);
  border-radius: var(--radius-lg);
  padding: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ai-promo::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,165,90,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.ai-promo__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(197,165,90,0.1);
  border: 1px solid rgba(197,165,90,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.ai-promo__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 16px;
}
.ai-promo__desc { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 440px; }

/* 16. NEWSLETTER SECTION
   ============================================================ */
.newsletter-section { background: var(--cream); padding: 80px 0; }
.newsletter-inner {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
}
.newsletter-input {
  flex: 1;
  border: 1px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-input:focus { border-color: var(--gold); }

/* 17. FOOTER
   ============================================================ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
}
.site-footer__main {
  padding: 80px 0 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand { max-width: 280px; }
.footer-brand__logo {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand__logo span { color: var(--gold); }
.footer-brand__desc { font-size: 13px; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social__link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: all var(--transition);
}
.footer-social__link:hover { background: var(--gold); color: var(--black); }

.footer-col__title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col__link {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  padding: 5px 0;
  transition: color var(--transition);
}
.footer-col__link:hover { color: var(--gold); }
.footer-col__gold { color: var(--gold); font-weight: 500; }

.site-footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}
.footer-bottom__legal { display: flex; gap: 24px; }
.footer-bottom__legal a { color: rgba(255,255,255,0.3); }
.footer-bottom__legal a:hover { color: var(--white); }

/* 18. BREADCRUMBS
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 16px 0;
}
.breadcrumb a { color: var(--grey-400); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb__sep { color: var(--grey-200); font-size: 10px; }
.breadcrumb__current { color: var(--white); }

/* 19. PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination .page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-600);
  border: 1px solid var(--grey-200);
  background: var(--white);
  transition: all var(--transition);
}
.pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.pagination .page-numbers.current { background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 700; }

/* 20. FORMS
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--grey-600); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-input {
  width: 100%;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 14px;
  color: var(--black);
  background: var(--white);
  transition: all var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,165,90,0.1); }

/* 21. SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* 22. RANGE SLIDER
   ============================================================ */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--grey-200);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* 23. LOADING SKELETON
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--grey-100) 25%, var(--grey-200) 50%, var(--grey-100) 75%);
  background-size: 400% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes skeleton-loading {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 24. MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .catalogue-layout { grid-template-columns: 1fr; padding-top: 100px; }
  .filter-sidebar { position: static; max-height: none; display: none; }
  .filter-sidebar.is-open { display: block; }
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }
  .vehicle-hero__inner { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ai-promo { padding: 40px; grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0; right: 0; bottom: 0;
    background: var(--black);
    padding: 32px 24px;
    gap: 8px;
    z-index: 999;
    overflow-y: auto;
  }
  .site-nav__link { font-size: 18px; padding: 14px; }
  .menu-toggle { display: flex; }
  .site-header__actions .btn { display: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .catalogue-grid { grid-template-columns: 1fr; }
  .hero-search { flex-direction: column; }
  .hero-search__select { width: 100%; }
  .hero-stats { gap: 24px; }
  .section { padding: 56px 0; }
  .newsletter-inner { grid-template-columns: 1fr; padding: 32px; }
  .newsletter-form { flex-direction: column; }
  .site-footer__main { grid-template-columns: 1fr; }
  .vehicle-sidebar { padding-top: 32px; }
  .why-grid { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .vehicle-card__image { height: 180px; }
}

@media (max-width: 480px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .site-hero__title { font-size: 42px; }
  .container { padding: 0 16px; }
}
