/* ═══════════════════════════════════════════════════════════════
   TENDANCE AUTO — style.css
   Brand: --red #E10600 · --black #0F0F0F · --white #FFFFFF · --gray #F5F5F5
   Fonts: Montserrat (titres) + Roboto (body)
═══════════════════════════════════════════════════════════════ */

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

/* ─── VARIABLES ──────────────────────────────────────────────── */
:root {
  --red:          #E10600;
  --red-dark:     #B30400;
  --red-light:    rgba(225,6,0,0.08);
  --black:        #0F0F0F;
  --charcoal:     #1A1A1A;
  --white:        #FFFFFF;
  --gray:         #F5F5F5;
  --gray-mid:     #CCCCCC;
  --gray-dark:    #888888;
  --gray-text:    #555555;
  --border:       rgba(0,0,0,0.08);

  --font-title:   'Montserrat', sans-serif;
  --font-body:    'Roboto', sans-serif;

  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
  --transition:   0.25s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.16);
  --shadow-red:   0 8px 32px rgba(225,6,0,0.28);

  --radius:       6px;
  --container:    1280px;
  --header-h:     68px;
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth; font-size: 16px;
  width: 100%; max-width: 100vw;
  overflow-x: hidden;
}
body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  width: 100%; max-width: 100vw;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  border: none;
}

/* ─── PAGE TRANSITION ────────────────────────────────────────── */
.page-transition {
  position: fixed; inset: 0;
  background: var(--black);
  z-index: 9999;
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ─── HEADER ─────────────────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 500;
  width: 100%; max-width: 100vw;
  height: var(--header-h);
  background: var(--black);
  display: flex; align-items: center;
  padding: 0 20px;
  gap: 16px;
  overflow-x: hidden;
  transition: box-shadow var(--transition);
}
header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.6); }
.header-accent {
  position: absolute; bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--red);
  transition: width 0.7s var(--ease);
}
header.scrolled .header-accent { width: 100%; }

/* Logo */
#nav-logo {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center;
}
#nav-logo img { height: 40px; width: auto; transition: transform var(--transition); }
#nav-logo img:hover { transform: scale(1.03); }

/* Hamburger */
#hamburger {
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  min-width: 44px; min-height: 44px;
  padding: 11px;
  z-index: 501;
}
#hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
#hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav links */
#nav-links { display: none; }
#nav-links.open {
  /* position: fixed (not absolute) deliberately escapes the sticky header's
     stacking context — WebKit/iOS Safari fails to paint an absolutely
     positioned descendant of a position:sticky ancestor above unrelated
     page content even with a high z-index. Fixed positioning roots the
     menu in the viewport/root stacking context instead, which paints
     correctly above all page content on every engine. */
  display: flex; flex-direction: column;
  position: fixed; top: var(--header-h); left: 0; width: 100%;
  background: var(--charcoal);
  padding: 16px 20px 20px;
  border-bottom: 2px solid var(--red);
  z-index: 9000;
}
#nav-links a {
  font-family: var(--font-title);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color var(--transition), padding-left var(--transition);
}
#nav-links a:last-child { border-bottom: none; }
#nav-links a:hover, #nav-links a.active { color: var(--white); padding-left: 6px; }
#nav-links a.active { color: var(--red); }

/* FR/EN toggle */
#lang-toggle {
  margin-left: auto;
  display: flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 3px;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  padding: 4px 14px;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  transition: all var(--transition);
}
.lang-btn.active {
  background: var(--red);
  color: var(--white);
}
.lang-btn:hover:not(.active) { color: var(--white); }

/* ─── COOKIE BANNER ──────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--charcoal);
  border-top: 2px solid var(--red);
  padding: 16px 20px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px;
  z-index: 800;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p {
  flex: 1; min-width: 200px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}
#cookie-banner a { color: var(--red); text-decoration: underline; }
#cookie-accept {
  font-family: var(--font-title);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 10px 20px;
  min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  transition: background var(--transition);
  flex-shrink: 0;
}
#cookie-accept:hover { background: var(--red-dark); }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
#back-to-top {
  position: fixed; bottom: 28px; right: 20px;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  opacity: 0; pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 400;
  box-shadow: var(--shadow-red);
}
#back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
#back-to-top:hover { background: var(--red-dark); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer; border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(225,6,0,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--charcoal); transform: translateY(-1px); }
.btn-arrow::after { content: '→'; font-size: 1rem; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* ─── SECTION HEADINGS (shared) ─────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-title);
  font-size: 1.8rem; font-weight: 800;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 14px;
}
.section-title em { font-style: normal; color: var(--red); }
.section-sub {
  font-size: 15px; font-weight: 300;
  color: var(--gray-text);
  line-height: 1.7;
  max-width: 600px;
}

/* ─── PAGE BANNER (inner pages) ─────────────────────────────── */
.page-banner {
  background: var(--black);
  padding: 52px 24px;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('../images/Banner.jpg') center/cover no-repeat;
  opacity: 0.12;
}
.page-banner-inner {
  position: relative; z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
}
.page-banner-eyebrow {
  display: block;
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.page-banner-title {
  font-family: var(--font-title);
  font-size: 2rem; font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.05;
}
.page-banner-subtitle {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  max-width: 480px;
  line-height: 1.65;
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 92vh; min-height: 520px; max-height: 900px;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.60) 55%,
    rgba(225,6,0,0.08) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 24px;
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
}
.hero-eyebrow {
  display: block;
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  opacity: 0; transform: translateY(10px);
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
}
.hero-title em { font-style: normal; color: var(--red); }
.hero-sub {
  font-size: 15px; font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  opacity: 0; transform: translateY(20px);
}

/* ─── STATS BAR ──────────────────────────────────────────────── */
.stats-bar {
  background: var(--red);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background-color: rgba(255,255,255,0.15);
}
.stat-item {
  background: var(--red);
  padding: 22px 16px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-title);
  font-size: 2.2rem; font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}

/* ─── BROWSE BY STYLE ────────────────────────────────────────── */
.browse-section {
  background: var(--gray);
  padding: 40px 24px;
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
}
.browse-title {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray-dark);
  text-align: center;
  margin-bottom: 24px;
}
.browse-swiper { overflow: visible; }
.browse-slide {
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  cursor: pointer; text-decoration: none;
  width: 110px;
  flex-shrink: 0;
}
.browse-slide img {
  width: 100%; height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(20%);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.browse-slide:hover img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  filter: grayscale(0%);
}
.browse-slide span {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-dark);
  white-space: nowrap;
  text-align: center;
}

/* ─── SERVICES SECTION (index.html preview) ─────────────────── */
.services-section {
  padding: 72px 24px;
  background: var(--white);
}
.services-section .section-head { margin-bottom: 48px; }
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
}
.service-card {
  background: var(--white);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: background var(--transition);
  cursor: pointer; position: relative;
  overflow: hidden;
  text-decoration: none; color: inherit;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height 0.3s var(--ease);
}
.service-card:hover::before { height: 100%; }
.service-card:hover { background: var(--gray); }
.service-icon {
  width: 44px; height: 44px;
  background: var(--red-light);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-icon svg { width: 22px; height: 22px; fill: var(--red); }
.service-name {
  font-family: var(--font-title);
  font-size: 0.82rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--black);
  line-height: 1.2;
}
.service-desc {
  font-size: 12.5px; font-weight: 300;
  color: var(--gray-text);
  line-height: 1.65;
}
.service-link {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto;
}
.service-link::after { content: '→'; transition: transform var(--transition); }
.service-card:hover .service-link::after { transform: translateX(4px); }

/* ─── FEATURED VEHICLES (Swiper carousel) ────────────────────── */
.featured-section {
  padding: 72px 24px;
  background: var(--gray);
  overflow: hidden;
}
.featured-section .section-head { margin-bottom: 40px; }
.vehicles-swiper { overflow: visible; position: relative; }
.featured-swiper-nav {
  display: none; /* mobile: swipe with fingers, no arrows */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(15,15,15,0.75);
  color: var(--white);
  z-index: 10;
  transition: background var(--transition), transform var(--transition);
}
.featured-swiper-nav:hover { background: var(--red); transform: translateY(-50%) scale(1.06); }
.featured-swiper-nav.prev { left: 8px; }
.featured-swiper-nav.next { right: 8px; }
.featured-swiper-nav.swiper-button-disabled { opacity: 0.35; pointer-events: none; }
@media (min-width: 768px) {
  .featured-swiper-nav { display: flex; }
}
.vehicle-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex; flex-direction: column;
}
.vehicle-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.vehicle-card-link { display: block; text-decoration: none; color: inherit; }
.vehicle-card-contact {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 48px;
  font-family: var(--font-title);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--red); color: var(--white);
  padding: 14px;
  text-decoration: none;
  transition: background var(--transition);
}
.vehicle-card-contact:hover { background: var(--red-dark); }
.vehicle-card-img {
  position: relative;
  overflow: hidden;
  height: 180px;
}
.vehicle-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.vehicle-card:hover .vehicle-card-img img { transform: scale(1.04); }
.vehicle-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 3px;
}
/* "En transit" / "Bientôt disponible" / "Arrivée prochaine" (any
   comingSoon state) all reuse this same flat badge as "En vedette" —
   same size/position/shape, just a different color+text, per the
   simplified badge design (diagonal corner-ribbon removed entirely). */
.vehicle-badge.coming-soon { background: #F97316; }
.vehicle-card-body { padding: 16px; }
.vehicle-make {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 3px;
}
.vehicle-model {
  font-family: var(--font-title);
  font-size: 1rem; font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}
.vehicle-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}
.vehicle-meta span {
  font-size: 11px;
  color: var(--gray-dark);
  background: var(--gray);
  padding: 3px 8px;
  border-radius: 20px;
}
.vehicle-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.vehicle-price-fcfa {
  font-family: var(--font-title);
  font-size: 1.25rem; font-weight: 900;
  color: var(--red);
}
.vehicle-price-usd {
  font-size: 0.75rem; font-weight: 300;
  color: var(--gray-dark);
}
.vehicle-price-on-request {
  font-family: var(--font-title);
  font-size: 1.25rem; font-weight: 900;
  color: var(--red);
}

/* ─── SKELETON LOADING ────────────────────────────────────────── */
.skeleton, .skeleton-shimmer, .skeleton-bar {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── TESTIMONIALS (Swiper) ──────────────────────────────────── */
.testimonials-section {
  padding: 72px 24px;
  background: var(--black);
  overflow: hidden;
}
.testimonials-section .section-title { color: var(--white); }
.testimonials-section .section-sub { color: rgba(255,255,255,0.5); }
.testimonials-swiper { overflow: visible; margin-top: 40px; }
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 14px; right: 20px;
  font-family: var(--font-title);
  font-size: 5rem; font-weight: 900;
  color: var(--red);
  opacity: 0.15;
  line-height: 1;
}
.testimonial-stars {
  display: flex; gap: 3px;
  margin-bottom: 14px;
}
.testimonial-stars span { color: #FFC107; font-size: 14px; }
.testimonial-text {
  font-size: 13.5px; font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex; align-items: center; gap: 12px;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: 0.85rem; font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-title);
  font-size: 0.78rem; font-weight: 700;
  color: var(--white);
}
.testimonial-location {
  font-size: 11.5px;
  color: rgba(255,255,255,0.4);
}

/* Swiper pagination/nav shared styles */
.swiper-pagination-bullet { background: rgba(255,255,255,0.3) !important; }
.swiper-pagination-bullet-active { background: var(--red) !important; }
.swiper-button-next, .swiper-button-prev {
  color: var(--red) !important;
  background: var(--white);
  width: 40px !important; height: 40px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 14px !important; font-weight: 900; }

/* ─── PARTNERS (Swiper) ──────────────────────────────────────── */
.partners-section {
  padding: 48px 24px;
  background: var(--gray);
  border-top: 1px solid var(--gray-mid);
  border-bottom: 1px solid var(--gray-mid);
  overflow: hidden;
}
.partners-label {
  font-family: var(--font-title);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gray-dark);
  text-align: center;
  margin-bottom: 28px;
}
.partners-swiper { overflow: hidden; }
.partner-slide {
  display: flex; align-items: center; justify-content: center;
  opacity: 0.45;
  transition: opacity var(--transition);
  font-family: var(--font-title);
  font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--black);
  height: 40px;
}
.partner-slide:hover { opacity: 1; }

/* ─── ABOUT SNIPPET (index.html) ─────────────────────────────── */
.about-snippet {
  background: var(--black);
  padding: 80px 24px;
  position: relative; overflow: hidden;
  text-align: center;
}
.about-snippet::before {
  content: 'TENDANCE';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 6rem; font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.025);
  white-space: nowrap; pointer-events: none;
  user-select: none;
}
.about-snippet .section-title { color: var(--white); }
.about-snippet .section-sub {
  color: rgba(255,255,255,0.5);
  margin: 0 auto 32px;
}
.about-snippet .section-label { justify-content: center; display: flex; }

/* ─── CTA STRIP ──────────────────────────────────────────────── */
.cta-strip {
  background: var(--red);
  padding: 48px 24px;
  text-align: center;
}
.cta-strip-title {
  font-family: var(--font-title);
  font-size: 1.5rem; font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.1;
}
.cta-strip-sub {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin-bottom: 24px;
}
.cta-strip .btn-outline {
  border-color: rgba(255,255,255,0.6);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 60px 24px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto 40px;
}
.footer-logo img { height: 68px; width: auto; margin-bottom: 16px; }
.footer-logo p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-title);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  padding: 5px 0;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-info { display: flex; flex-direction: column; gap: 10px; }
.footer-info-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}
.footer-info-item img { width: 13px; height: 13px; filter: invert(1); opacity: 0.35; flex-shrink: 0; margin-top: 2px; }
.footer-social { display: flex; gap: 8px; margin-top: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background var(--transition), border-color var(--transition);
  padding: 0 !important;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-social img { width: 17px; height: 17px; filter: invert(1); opacity: 0.65; }
.footer-social a:hover img { opacity: 1; }
.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: space-between;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

/* ─── INVENTORY PAGE ─────────────────────────────────────────── */
.inventory-section {
  padding: 48px 24px 80px;
  background: var(--white);
  max-width: var(--container);
  margin: 0 auto;
}
.inventory-toolbar {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 32px;
}
.inventory-search-wrap {
  display: flex; align-items: center;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 0 16px;
  gap: 10px;
  height: 48px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.inventory-search-wrap:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.1);
}
.inventory-search-wrap img { width: 16px; height: 16px; opacity: 0.4; flex-shrink: 0; }
.inventory-search-wrap input {
  flex: 1; background: none;
  font-size: 14px; color: var(--black);
}
.inventory-search-wrap input::placeholder { color: var(--gray-dark); }
.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.filter-group {
  display: flex; flex-direction: column; gap: 4px;
  flex: 1; min-width: 120px;
}
.filter-group label {
  font-family: var(--font-title);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-dark);
}
.filter-select {
  height: 40px;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 0 12px;
  font-size: 13px; color: var(--black);
  cursor: pointer;
  transition: border-color var(--transition);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.filter-select:focus { border-color: var(--red); }
.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.filter-tag {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 14px;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-mid);
  border-radius: 20px;
  color: var(--gray-text);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-tag.active, .filter-tag:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.inventory-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.inventory-count {
  font-family: var(--font-title);
  font-size: 0.72rem; font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: 0.05em;
}
.cars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}
@media (max-width: 767px) {
  .cars-grid .vehicle-card-img { height: 220px; overflow: hidden; }
  .cars-grid .vehicle-card-img img { width: 100%; height: 100%; object-fit: cover; }
}
.no-results,
.loading-state {
  text-align: center;
  padding: 64px 24px;
  color: var(--gray-dark);
  font-size: 14px;
  grid-column: 1/-1;
}


/* ─── VEHICLE DETAIL PAGE ────────────────────────────────────── */
/* Section itself is full-bleed (no max-width/padding) so the gallery can
   run edge-to-edge; the loading/not-found states and the specs column
   apply their own centering/padding individually. */
.vehicle-detail-section {
  background: var(--white);
}
#vehicleNotFound {
  padding: 64px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.vehicle-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 100vw;
}
.vehicle-gallery {
  display: flex; flex-direction: column;
  min-width: 0;
  max-width: 100%;
}
.vehicle-gallery-main {
  position: relative;
  overflow: hidden;
  background: var(--gray);
  width: 100%;
  min-height: 300px;
  height: 46vh;
}
.vehicle-gallery-main.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.vehicle-gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}
.vehicle-gallery-main .vehicle-badge {
  position: absolute; top: 14px; left: 14px;
}
.vehicle-gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,15,15,0.5);
  color: var(--white);
  border-radius: 50%;
  transition: background var(--transition);
  z-index: 5;
}
.vehicle-gallery-nav:hover { background: rgba(225,6,0,0.85); }
.vehicle-gallery-nav.prev { left: 14px; }
.vehicle-gallery-nav.next { right: 14px; }
.vehicle-thumb-strip {
  display: flex; gap: 8px;
  overflow-x: auto;
  max-width: 100%;
  padding: 12px 20px;
}
.vehicle-thumb {
  flex-shrink: 0;
  width: 72px; height: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity var(--transition), border-color var(--transition);
  padding: 0;
  cursor: pointer;
}
.vehicle-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-thumb:hover { opacity: 0.9; }
.vehicle-thumb.active { opacity: 1; border-color: var(--red); }

.vehicle-detail-specs {
  display: flex; flex-direction: column;
  padding: 28px 24px 40px;
  min-width: 0;
  max-width: 100%;
}
.vehicle-detail-make {
  font-family: var(--font-title);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gray-dark);
  margin-bottom: 4px;
}
.vehicle-detail-model {
  font-family: var(--font-title);
  font-size: 1.6rem; font-weight: 900;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 20px;
}
.vehicle-detail-price {
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.vehicle-detail-price-fcfa {
  font-family: var(--font-title);
  font-size: 2rem; font-weight: 900;
  color: var(--red);
}
.vehicle-detail-price-usd {
  font-size: 0.9rem; font-weight: 300;
  color: var(--gray-dark);
}
.vehicle-detail-price-on-request {
  font-family: var(--font-title);
  font-size: 2rem; font-weight: 900;
  color: var(--red);
}
.vehicle-spec-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.vehicle-spec-item {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--gray);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.vehicle-spec-label {
  font-family: var(--font-title);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-dark);
}
.vehicle-spec-value {
  font-size: 14px; font-weight: 500;
  color: var(--black);
}
.vehicle-detail-specs .btn { align-self: flex-start; }
.vehicle-video-btn { margin-bottom: 12px; }

/* ─── VIDEO MODAL (vehicle.html) ──────────────────────────────── */
.video-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 600;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.video-modal.open { opacity: 1; pointer-events: auto; }
.video-modal-close {
  position: fixed; top: 24px; right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 610;
}
.video-modal-close:hover { background: var(--red); }
.video-modal-inner {
  position: relative;
  width: 100%; max-width: 960px;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}
.video-modal.open .video-modal-inner { transform: translateY(0); }
.video-modal-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.video-modal-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ─── SERVICES PAGE ──────────────────────────────────────────── */
.services-page { padding: 72px 24px 80px; background: var(--white); }
.services-page-grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  max-width: var(--container); margin: 0 auto;
}
.service-full-card {
  display: flex; flex-direction: column; gap: 20px;
  padding: 36px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition), border-color var(--transition);
}
.service-full-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}
.service-full-card .service-icon {
  width: 56px; height: 56px;
}
.service-full-card .service-icon svg { width: 28px; height: 28px; }
.service-full-title {
  font-family: var(--font-title);
  font-size: 1.2rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  line-height: 1.1;
}
.service-full-title span {
  display: block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 4px;
}
.service-full-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.8;
}
.service-features {
  display: flex; flex-direction: column; gap: 8px;
}
.service-feature-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px;
  color: var(--gray-text);
}
.service-feature-item::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ─── ABOUT PAGE ─────────────────────────────────────────────── */
.about-page { padding: 64px 24px 80px; }
.about-page-inner { max-width: 800px; margin: 0 auto; }
.about-block {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
  opacity: 0; transform: translateY(24px);
}
.about-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.about-block-num {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
  display: block;
}
.about-block h2 {
  font-family: var(--font-title);
  font-size: 1.4rem; font-weight: 900;
  text-transform: uppercase;
  color: var(--black);
  position: relative; padding-left: 16px;
  margin-bottom: 14px;
  line-height: 1.1;
}
.about-block h2::before {
  content: '';
  position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 3px; background: var(--red);
}
.about-block p {
  font-size: 14.5px; font-weight: 300;
  color: var(--gray-text);
  line-height: 1.85;
  padding-left: 16px;
}

/* ─── TEAM ───────────────────────────────────────────────────── */
.team-section {
  background: var(--gray);
  padding: 64px 24px;
}
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--container); margin: 0 auto;
  margin-top: 40px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.team-avatar {
  width: 72px; height: 72px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: 1.4rem; font-weight: 900;
  color: var(--white);
  margin: 0 auto 14px;
}
.team-name {
  font-family: var(--font-title);
  font-size: 0.88rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 4px;
}
.team-role {
  font-size: 12px;
  color: var(--red);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ─── CONTACT PAGE ───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: var(--container);
  margin: 0 auto;
}
.contact-form-wrap {
  padding: 56px 24px 64px;
  background: var(--white);
}
.contact-info-wrap {
  background: var(--black);
  padding: 56px 24px 64px;
}
.contact-info-wrap .section-title { color: var(--white); }
.contact-info-list { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  color: rgba(255,255,255,0.65);
  font-size: 13.5px; line-height: 1.6;
}
.contact-info-icon {
  width: 40px; height: 40px;
  background: rgba(225,6,0,0.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 18px; height: 18px; fill: var(--red); }
.contact-info-label {
  font-family: var(--font-title);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 3px;
  display: block;
}
.map-embed {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.map-embed iframe { display: block; width: 100%; height: 220px; border: 0; }

/* ─── FORMS ──────────────────────────────────────────────────── */
.form-title {
  font-family: var(--font-title);
  font-size: 1.2rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 6px;
}
.form-sub {
  font-size: 13.5px; font-weight: 300;
  color: var(--gray-text);
  margin-bottom: 32px;
  line-height: 1.65;
}
.form-type-selector {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.type-btn {
  font-family: var(--font-title);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 9px 16px;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--gray-mid);
  border-radius: 20px;
  color: var(--gray-dark);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
}
.type-btn.active {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
  max-width: 100%;
}
.form-group label {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gray-dark);
}
.form-group label.required::after { content: ' *'; color: var(--red); }
.form-input {
  height: 48px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 14px; color: var(--black);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.1);
  outline: none;
}
.form-input.error { border-color: #cc0000; }
.form-textarea {
  min-height: 120px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px; color: var(--black);
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,6,0,0.1);
  outline: none;
}
.form-select {
  height: 48px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--gray);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 14px; color: var(--black);
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  transition: border-color var(--transition);
  cursor: pointer;
}
.form-select:focus { border-color: var(--red); outline: none; }
.field-error {
  font-size: 11.5px;
  color: #cc0000;
  display: none;
}
.field-error.visible { display: block; }
.form-submit {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 16px 36px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
  box-shadow: var(--shadow-red);
}
.form-submit:hover { background: var(--red-dark); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.form-success {
  text-align: center;
  padding: 48px 24px;
  display: none;
}
.form-success.visible { display: block; }
.form-success-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.form-success h3 {
  font-family: var(--font-title);
  font-size: 1.2rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 8px;
}
.form-success p { font-size: 13.5px; color: var(--gray-text); line-height: 1.65; }
.form-success a { color: var(--red); text-decoration: underline; }

/* ─── FAQ PAGE ───────────────────────────────────────────────── */
/* ─── TRUST BADGES (faq.html) ────────────────────────────────── */
.trust-badges-section { background: var(--gray); padding: 56px 24px; }
.trust-badges-inner { max-width: var(--container); margin: 0 auto; text-align: center; }
.trust-badges-section .section-title { text-align: center; margin: 0 auto 32px; }
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.trust-badge {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  box-shadow: var(--shadow-sm);
}
.trust-badge-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(225,6,0,0.1);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trust-badge-text { font-size: 13.5px; font-weight: 500; color: var(--black); line-height: 1.5; }

.faq-page { padding: 64px 24px 80px; }
.faq-page-inner { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 52px; }
.faq-category-title {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--red);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 8px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-family: var(--font-title);
  font-size: 0.88rem; font-weight: 700;
  color: var(--black);
  background: none; border: none;
  cursor: pointer;
  gap: 12px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-icon {
  width: 24px; height: 24px;
  background: var(--gray);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--red);
  transition: transform var(--transition), background var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--red); color: var(--white); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 13.5px; font-weight: 300;
  color: var(--gray-text);
  line-height: 1.8;
}

/* ─── BLOG PAGE ──────────────────────────────────────────────── */
.blog-page { padding: 64px 24px 80px; }
.blog-page-inner { max-width: var(--container); margin: 0 auto; }

.blog-section-header { margin-bottom: 40px; }
.blog-section-header .section-title { margin-bottom: 14px; }
.blog-section-underline {
  display: block;
  width: 64px; height: 3px;
  background: var(--red);
  border-radius: 2px;
}

.blog-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}
.blog-card {
  display: flex; flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--red);
}
.blog-card-img {
  height: 220px;
  background: var(--gray);
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--black) 0%, var(--charcoal) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: 3rem;
  color: rgba(255,255,255,0.1);
}
.blog-card-img-fallback {
  display: none;
  position: absolute; inset: 0;
  background: var(--red);
  color: var(--white);
  align-items: center; justify-content: center;
  text-align: center;
  padding: 20px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.35;
}
.blog-card-img.img-error .blog-card-img-fallback { display: flex; }
.blog-card-body {
  display: flex; flex-direction: column;
  flex: 1;
  padding: 20px;
}
.blog-meta {
  font-size: 11.5px;
  color: var(--gray-dark);
  margin-bottom: 10px;
}
.blog-title {
  font-family: var(--font-title);
  font-size: 1rem; font-weight: 800;
  color: var(--black);
  line-height: 1.35;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-excerpt {
  font-size: 13px; font-weight: 300;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-read-more {
  font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto;
}
.blog-read-more::after { content: '→'; transition: transform var(--transition); }
.blog-card:hover .blog-read-more::after { transform: translateX(4px); }

/* ─── ARTICLE MODAL — magazine style ─────────────────────────── */
.blog-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 600;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.blog-modal.open { opacity: 1; pointer-events: auto; }
.blog-modal-close {
  position: fixed; top: 24px; right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 610;
}
.blog-modal-close:hover { background: var(--red); }
.blog-modal-inner {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  max-width: 820px; width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  scroll-behavior: smooth;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}
.blog-modal.open .blog-modal-inner { transform: translateY(0); }

.blog-modal-header {
  position: relative;
  min-height: 280px;
  background: var(--gray);
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.blog-modal-header-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.blog-modal-header::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 55%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
}
.blog-modal-header.img-error { background-color: var(--red); }
.blog-modal-header.img-error::before { background: none; }
.blog-modal-header.img-error .blog-modal-header-text { align-items: center; text-align: center; }
.blog-modal-header-text {
  position: relative; z-index: 2;
  display: flex; flex-direction: column;
  padding: 40px 32px 28px;
  width: 100%;
}
.blog-modal-title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 10px;
}
.blog-modal-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.blog-modal-body { padding: 40px 32px 48px; }
.blog-modal-content {
  font-size: 16px; font-weight: 300;
  color: var(--gray-text);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto;
}
.blog-modal-content p { margin-bottom: 1.2em; }
.blog-modal-content h1,
.blog-modal-content h2 {
  font-family: var(--font-title);
  font-size: 1.3rem; font-weight: 800;
  color: var(--red);
  margin: 1.8em 0 0.7em;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
  display: inline-block;
}
.blog-modal-content h3 {
  font-family: var(--font-title);
  font-size: 1.1rem; font-weight: 700;
  color: var(--black);
  margin: 1.5em 0 0.5em;
}
.blog-modal-content strong { color: var(--black); font-weight: 700; }
.blog-modal-content ul, .blog-modal-content ol { margin: 0 0 1.2em 1.4em; }
.blog-modal-content li { margin-bottom: 0.5em; }

/* ─── PARTS PAGE ─────────────────────────────────────────────── */
.parts-page { padding: 64px 24px 80px; }
.parts-page-inner { max-width: var(--container); margin: 0 auto; }
.parts-layout {
  display: grid; grid-template-columns: 1fr; gap: 48px;
  margin-top: 40px;
}
.parts-catalog-title {
  font-family: var(--font-title);
  font-size: 1rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
}
.parts-categories {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 28px;
}
.parts-cat-btn {
  display: flex; align-items: center; gap: 8px;
  min-width: 0; min-height: 44px;
  padding: 12px 14px;
  background: var(--gray);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-title);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase;
  color: var(--gray-text);
  cursor: pointer;
  transition: all var(--transition);
}
.parts-cat-btn span:last-child { min-width: 0; overflow-wrap: break-word; }
.parts-cat-btn:hover, .parts-cat-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.parts-cat-btn span { font-size: 18px; }
.parts-list { display: flex; flex-direction: column; gap: 8px; }
.part-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.part-item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-sm);
}
.part-name {
  font-size: 13.5px; font-weight: 500;
  color: var(--black);
}
.part-ref {
  font-size: 11px;
  color: var(--gray-dark);
  margin-top: 2px;
}
.part-price {
  font-family: var(--font-title);
  font-size: 0.9rem; font-weight: 800;
  color: var(--red);
}

/* ─── DEALER PORTAL ──────────────────────────────────────────── */
.dealer-page { padding: 64px 24px 80px; }
.dealer-page-inner { max-width: 800px; margin: 0 auto; }
.dealer-intro {
  background: var(--black);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-bottom: 40px;
  display: flex; flex-direction: column; gap: 12px;
}
.dealer-intro-tag {
  font-family: var(--font-title);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--red);
}
.dealer-intro-title {
  font-family: var(--font-title);
  font-size: 1.2rem; font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
.dealer-intro p {
  font-size: 13.5px; font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}
.dealer-benefits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 12px;
}
.dealer-benefit {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.6);
}
.dealer-benefit::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ─── RESPONSIVE — 768px ──────────────────────────────────────── */
@media (min-width: 768px) {
  :root { --header-h: 72px; }

  header {
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }
  #hamburger { display: none; }
  #nav-links {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: nowrap;
    background: none;
    padding: 0;
    border: none;
    width: auto;
    gap: clamp(10px, 1.4vw, 20px);
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    align-self: center;
    z-index: auto;
    overflow: visible;
    order: 2;
  }
  #nav-links a {
    font-size: clamp(0.62rem, 0.85vw, 0.7rem);
    white-space: nowrap;
    color: rgba(255,255,255,0.6);
    padding: 0 !important;
    border: none !important;
    position: relative;
  }
  #nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: width var(--transition);
  }
  #nav-links a:hover, #nav-links a.active { color: var(--white); padding-left: 0 !important; }
  #nav-links a:hover::after, #nav-links a.active::after { width: 100%; }
  #nav-links a.active { color: var(--red); }

  #nav-logo {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
  }
  #nav-logo img { height: 44px; }
  #lang-toggle {
    margin-left: 0;
    align-self: center;
    flex-shrink: 0;
    order: 3;
  }

  .hero { height: 100vh; }
  .hero-content { padding: 0 80px; }

  .stats-bar { grid-template-columns: repeat(4, 1fr); }
  .stat-number { font-size: 2.6rem; }

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

  .page-banner { padding: 64px 80px; }
  .page-banner-title { font-size: 2.8rem; }

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

  .vehicle-detail-layout {
    grid-template-columns: 3fr 2fr; /* 60% image / 40% specs */
    align-items: stretch;
    height: calc(100vh - var(--header-h));
    overflow: hidden;
  }
  .vehicle-gallery { height: 100%; }
  .vehicle-gallery-main {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 120px);
  }
  .vehicle-thumb-strip { padding: 16px 32px; flex-shrink: 0; }
  .vehicle-detail-specs {
    padding: 48px 64px 48px 48px;
    justify-content: flex-start;
    height: 100%;
    overflow-y: auto;
  }
  .vehicle-detail-model { font-size: 2rem; }

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

  .about-page, .about-page-inner { padding: 80px 80px; }

  .services-page-grid { grid-template-columns: 1fr 1fr; }

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

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

/* ─── RESPONSIVE — 1024px ─────────────────────────────────────── */
@media (min-width: 1024px) {
  .services-section,
  .featured-section,
  .testimonials-section,
  .partners-section,
  .about-snippet,
  .cta-strip { padding: 88px 80px; }

  .inventory-section { padding: 56px 80px 88px; }
  .vehicle-detail-specs { padding: 56px 88px 56px 56px; }

  .contact-form-wrap,
  .contact-info-wrap { padding: 80px 80px; }

  .faq-page,
  .blog-page,
  .parts-page,
  .dealer-page,
  .services-page { padding: 80px 80px 100px; }

  .cars-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .services-page-grid { grid-template-columns: repeat(2, 1fr); }

  .browse-section { padding: 40px 80px; }

  .about-page { max-width: 100%; }
  .about-page-inner { max-width: 840px; }
}

/* ─── RESPONSIVE — 1440px ─────────────────────────────────────── */
@media (min-width: 1440px) {
  .hero-content { padding: 0 120px; }
  .services-grid { grid-template-columns: repeat(4, 1fr); }
  .browse-section { padding: 40px 120px; }
}

/* ─── UTILITY ────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; }
.section-head { max-width: 560px; }
.text-center { text-align: center; }
.text-center .section-head { margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(32px); }
.lazy { opacity: 0; transition: opacity 0.4s ease; }
.lazy.loaded { opacity: 1; }
