/* ==========================================================================
   HYBRID AUTO DEALERS — Modern Automotive Stylesheet
   Cardiff, UK | Japanese Hybrid Specialists
   ========================================================================== */

:root {
  --bg-dark: #070b0e;
  --bg-card: #0f161c;
  --bg-card-hover: #151e27;
  --bg-elevated: #1a2530;
  --teal-neon: #4fd8c9;
  --teal-dim: #2a8f86;
  --teal-glow: rgba(79, 216, 201, 0.25);
  --green-neon: #8fd13f;
  --green-glow: rgba(143, 209, 63, 0.25);
  --red-sold: #e53935;
  --red-sold-dark: #b71c1c;
  --silver-light: #f8fafc;
  --silver-mid: #cbd5e1;
  --silver-muted: #94a3b8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(79, 216, 201, 0.35);
  
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Rajdhani', 'Orbitron', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-neon: 0 0 20px rgba(79, 216, 201, 0.2);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--silver-light);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: #040608;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--silver-muted);
  padding: 8px 0;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar .divider {
  color: rgba(255, 255, 255, 0.2);
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal-neon);
}

.top-contact-link:hover {
  color: var(--silver-light);
}

.top-autotrader-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.badge-tag {
  background: #e51b24;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   STICKY NAVBAR & PROMINENT CENTERED LOGO
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 14, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: padding var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
  padding: 14px 0;
}

.site-header.scrolled {
  padding: 8px 0;
  background: rgba(5, 8, 10, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(79, 216, 201, 0.1);
  border-bottom-color: rgba(79, 216, 201, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Centered Logo — Noticeably Bigger */
.navbar-logo-center {
  flex: 0 0 auto;
  text-align: center;
  z-index: 10;
}

.brand-logo-link {
  display: inline-block;
}

.brand-logo-img {
  height: 85px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  transition: height var(--transition-smooth), transform var(--transition-smooth);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

.site-header.scrolled .brand-logo-img {
  height: 64px;
}

/* Desktop Nav Links */
.desktop-nav-left, .desktop-nav-right {
  flex: 1 1 0;
}

.desktop-nav-left .nav-list {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  padding-right: 32px;
}

.desktop-nav-right .nav-list {
  display: flex;
  justify-content: flex-start;
  gap: 28px;
  padding-left: 32px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--silver-mid);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--teal-neon);
  box-shadow: 0 0 8px var(--teal-neon);
  transition: width var(--transition-fast), left var(--transition-fast);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--teal-neon);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
  left: 0;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.action-icon-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--silver-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.action-icon-btn:hover {
  background: var(--teal-dim);
  color: #fff;
  border-color: var(--teal-neon);
  box-shadow: 0 0 12px var(--teal-glow);
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn .bar {
  width: 24px;
  height: 2px;
  background: var(--silver-light);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   BUTTONS & UI ATOMS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-neon), var(--teal-dim));
  color: #05080a;
  box-shadow: 0 4px 15px var(--teal-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6bf5e7, var(--teal-neon));
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(79, 216, 201, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--teal-neon);
  color: var(--teal-neon);
}

.btn-outline:hover {
  background: rgba(79, 216, 201, 0.1);
  color: #fff;
  border-color: #6bf5e7;
  transform: translateY(-2px);
  box-shadow: 0 0 15px var(--teal-glow);
}

.btn-whatsapp-card {
  background: #25d366;
  color: #fff;
  border: none;
}

.btn-whatsapp-card:hover {
  background: #20ba5a;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.btn-block {
  width: 100%;
}

.btn-disabled, .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: #2d3748 !important;
  color: #a0aec0 !important;
  border: none !important;
}

/* ==========================================================================
   HERO BANNER CAROUSEL (SPLIT-SCREEN DIAGONAL STUDIO STYLE)
   ========================================================================== */
.split-hero-section {
  position: relative;
  width: 100%;
  height: min(600px, calc(100vh - 120px));
  min-height: 520px;
  background: #05080b;
  overflow: hidden;
}

.split-hero-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 30;
}

.split-hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-neon), var(--lime-accent));
  transition: width 0.08s linear;
}

.split-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.split-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.split-hero-slide.active {
  opacity: 1;
  visibility: visible;
}

/* Left Half: Solid dark automotive panel with angled slant */
.split-hero-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 56%;
  height: 100%;
  z-index: 5;
  background: linear-gradient(135deg, #070b0e 0%, #0d161d 60%, #111b24 100%);
  clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.split-hero-panel-content {
  padding: 40px 40px 40px clamp(24px, 6vw, 90px);
  max-width: 620px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 6;
}

.split-hero-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--teal-neon);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tagline-dash {
  color: var(--teal-neon);
  opacity: 0.7;
  font-weight: 400;
}

.split-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}

.split-hero-meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.split-hero-price {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 800;
  color: var(--teal-neon);
  text-shadow: 0 0 16px rgba(79, 216, 201, 0.4);
}

.split-hero-meta-divider {
  color: var(--silver-dark);
  font-size: 14px;
}

.split-hero-meta-desc {
  font-size: 14px;
  color: var(--silver-mid);
  font-weight: 500;
}

.split-hero-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.split-spec-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--silver-light);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.split-spec-chip i {
  color: var(--teal-neon);
  font-size: 12px;
}

.split-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--teal-neon) 0%, #30b8a8 100%);
  color: #04070a;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(79, 216, 201, 0.35);
  transition: all 0.22s ease;
  cursor: pointer;
  border: none;
}

.btn-pill-cta:hover {
  background: #ffffff;
  color: #04070a;
  box-shadow: 0 6px 22px rgba(79, 216, 201, 0.6);
  transform: translateY(-2px);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 11px 22px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: all 0.22s ease;
  cursor: pointer;
}

.btn-pill-outline:hover {
  border-color: var(--teal-neon);
  color: var(--teal-neon);
  background: rgba(79, 216, 201, 0.08);
}

/* Angled seam neon accent line */
.split-hero-seam {
  position: absolute;
  top: 0;
  left: 0;
  width: 56%;
  height: 100%;
  z-index: 6;
  pointer-events: none;
  clip-path: polygon(calc(100% - 2.5px) 0, 100% 0, 86% 100%, calc(86% - 2.5px) 100%);
  background: linear-gradient(180deg, rgba(79, 216, 201, 0.2) 0%, var(--teal-neon) 45%, var(--lime-accent) 75%, rgba(143, 209, 63, 0.2) 100%);
  filter: drop-shadow(0 0 10px rgba(79, 216, 201, 0.7));
}

/* Right Half: Car photo fully covering entire section corner-to-corner */
.split-hero-stage {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 2;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #05080b;
}

.split-hero-stage-backdrop {
  display: none;
}

.split-hero-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: block;
}

.split-hero-car-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
  transform: none;
  filter: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.split-hero-slide.active .split-hero-car-img {
  transform: none;
}

.split-hero-car-shadow {
  display: none;
}

/* Carousel Controls (Far left & right edges) */
.split-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 11, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.split-carousel-btn.prev {
  left: 20px;
}

.split-carousel-btn.next {
  right: 20px;
}

.split-carousel-btn:hover {
  background: var(--teal-neon);
  color: #070b0e;
  border-color: var(--teal-neon);
  box-shadow: 0 0 15px var(--teal-glow);
}

.split-carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
  align-items: center;
}

.split-carousel-dot {
  width: 22px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
}

.split-carousel-dot.active {
  background: var(--teal-neon);
  width: 36px;
  box-shadow: 0 0 8px var(--teal-neon);
}

/* ==========================================================================
   SEMANTIC RESPONSIVE GRIDS
   ========================================================================== */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
  margin-bottom: 70px;
}

.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-showroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 70px;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 45px;
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-counter-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #090e12 0%, #06090c 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 24px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-neon);
}

.stat-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  color: var(--teal-neon);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-number-wrap {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-number {
  color: var(--teal-neon);
  text-shadow: 0 0 15px var(--teal-glow);
}

.stat-suffix {
  color: var(--green-neon);
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--silver-mid);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* ==========================================================================
   AUTOTRADER TRUST SECTION
   ========================================================================== */
.autotrader-section {
  padding: 50px 0;
  background: #090e12;
  border-bottom: 1px solid var(--border-subtle);
}

.autotrader-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(20, 30, 38, 0.7), rgba(10, 16, 22, 0.9));
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  padding: 30px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.autotrader-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #e51b24;
}

.at-brand-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.at-badge-large {
  background: #e51b24;
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.at-info h3 {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  margin-bottom: 4px;
}

.at-info p {
  color: var(--silver-mid);
  font-size: 15px;
}

.at-stars {
  color: #ffb800;
  letter-spacing: 2px;
}

/* ==========================================================================
   CAR CARDS & INVENTORY GRID
   ========================================================================== */
.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-neon);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--silver-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
}

.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.car-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.car-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), var(--shadow-neon);
}

/* Sold Card Greyed Out */
.car-card.is-sold {
  opacity: 0.82;
  filter: grayscale(45%);
  border-color: rgba(229, 57, 53, 0.35);
}

.car-card.is-sold:hover {
  border-color: var(--red-sold);
  box-shadow: 0 10px 30px rgba(229, 57, 53, 0.25);
}

.car-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #080d11;
}

.car-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-card-img {
  transform: scale(1.05);
}

/* BOLD RED SOLD RIBBON */
.sold-ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--red-sold), var(--red-sold-dark));
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 6px 45px;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  z-index: 10;
  text-transform: uppercase;
  pointer-events: none;
}

.card-year-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(5, 8, 10, 0.75);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(4px);
}

.car-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.car-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.car-card-make {
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-neon);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.car-card-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.car-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 48px;
}

.car-card-title a:hover {
  color: var(--teal-neon);
}

.car-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--silver-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.car-card-specs span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.car-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   SCROLL-TRIGGERED 4-STAGE QUALITY PROCESS SECTION
   ========================================================================== */
.process-scroll-section {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 30%, rgba(15, 25, 33, 0.7) 0%, #030608 80%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.process-scroll-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.process-timeline-wrapper {
  position: relative;
  margin-top: 50px;
}

.process-timeline-beam {
  position: absolute;
  top: 45px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1;
}

.process-timeline-beam::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-neon), var(--green-electric));
  box-shadow: 0 0 15px var(--teal-neon);
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.process-timeline-beam.active::after {
  width: 100%;
}

.process-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.process-card {
  background: rgba(11, 17, 22, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 30px 24px;
  position: relative;
  transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateY(45px) scale(0.96);
}

.process-card.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.process-card:hover {
  border-color: var(--teal-neon);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 25px rgba(79, 216, 201, 0.22);
  transform: translateY(-8px) scale(1.02);
}

.process-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.process-step-pill {
  font-family: var(--font-accent);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal-neon);
  background: rgba(79, 216, 201, 0.12);
  border: 1px solid rgba(79, 216, 201, 0.3);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.process-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(79, 216, 201, 0.08);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--teal-neon);
  box-shadow: 0 0 15px rgba(79, 216, 201, 0.15);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.process-card:hover .process-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  background: var(--teal-neon);
  color: #030608;
}

.process-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.process-card-text {
  font-size: 13px;
  color: var(--silver-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}

.process-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.process-card-checklist li {
  font-size: 12px;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.process-card-checklist li i {
  color: var(--green-electric);
  font-size: 11px;
}

/* ==========================================================================
   WHY CHOOSE US / TRUST PILLARS
   ========================================================================== */
.why-choose-section {
  padding: 80px 0;
  background: var(--bg-dark);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 30px 24px;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card);
}

.pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(79, 216, 201, 0.1);
  color: var(--teal-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.pillar-desc {
  color: var(--silver-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* ==========================================================================
   SHOP PAGE & FILTERS
   ========================================================================== */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
}

.shop-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 100px;
}

.filter-group {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.filter-select, .filter-input {
  width: 100%;
  background: #080d11;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.filter-select:focus, .filter-input:focus {
  outline: none;
  border-color: var(--teal-neon);
  box-shadow: 0 0 10px var(--teal-glow);
}

.filter-radio-group, .filter-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--silver-mid);
  cursor: pointer;
}

.price-range-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.shop-results-count {
  font-size: 14px;
  color: var(--silver-muted);
}

.shop-sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

/* ==========================================================================
   CAR DETAIL PAGE
   ========================================================================== */
.car-detail-section {
  padding: 40px 0 80px;
}

.car-detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Gallery Slider */
.car-gallery {
  position: relative;
}

.gallery-main-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  background: #080d11;
  border: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery-thumb {
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: all var(--transition-fast);
}

.gallery-thumb.active, .gallery-thumb:hover {
  opacity: 1;
  border-color: var(--teal-neon);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vehicle Overview & Action Card */
.car-overview-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 30px;
  height: fit-content;
}

.car-detail-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.car-detail-price-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.car-detail-price {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  color: var(--teal-neon);
  text-shadow: 0 0 15px var(--teal-glow);
}

.status-badge {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.status-badge.in_stock {
  background: rgba(143, 209, 63, 0.15);
  color: var(--green-neon);
  border: 1px solid var(--green-neon);
}

.status-badge.sold {
  background: rgba(229, 57, 53, 0.2);
  color: var(--red-sold);
  border: 1px solid var(--red-sold);
}

.car-key-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.key-spec-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 10px 14px;
}

.key-spec-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--silver-muted);
  margin-bottom: 2px;
}

.key-spec-val {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.car-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Full Specification Table */
.spec-table-wrap {
  margin-top: 40px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.spec-table th, .spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
}

.spec-table th {
  width: 35%;
  text-align: left;
  color: var(--silver-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.spec-table td {
  color: #fff;
  font-weight: 500;
}

/* ==========================================================================
   CONTACT PAGE & INQUIRY FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 36px;
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 26px;
  color: #fff;
  margin-bottom: 16px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(79, 216, 201, 0.1);
  color: var(--teal-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-action-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--silver-mid);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: #080d11;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-neon);
  box-shadow: 0 0 10px var(--teal-glow);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.map-container {
  width: 100%;
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 211, 102, 0.35);
  z-index: 9999;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: #090e12;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040608;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo-img {
  height: 68px;
  width: auto;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--silver-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  color: var(--teal-neon);
}

.footer-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--silver-muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--teal-neon);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--silver-muted);
}

.footer-contact-list svg {
  color: var(--teal-neon);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-light);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: var(--teal-neon);
  color: #000;
  transform: translateY(-2px);
}

.footer-autotrader-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 20px;
}

.at-badge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.at-logo-text {
  background: #e51b24;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 3px;
}

.at-rating {
  color: #ffb800;
  font-size: 12px;
}

.at-text {
  font-size: 13px;
  color: var(--silver-muted);
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  background: #090e12;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
}

.newsletter-btn {
  background: var(--teal-neon);
  color: #000;
  border: none;
  width: 42px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.newsletter-btn:hover {
  background: #6bf5e7;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--silver-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--teal-neon);
}

/* ==========================================================================
   SEARCH & MOBILE MODAL
   ========================================================================== */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 8, 10, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.search-modal.open {
  opacity: 1;
  visibility: visible;
}

.search-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  width: 90%;
  max-width: 640px;
  padding: 36px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

.search-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: var(--silver-muted);
  font-size: 28px;
  cursor: pointer;
}

.search-modal-close:hover {
  color: #fff;
}

.search-modal-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

.search-input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-input-wrap input {
  flex: 1;
  background: #080d11;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 16px;
}

.popular-search-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--silver-muted);
}

.popular-search-tags a {
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
}

.popular-search-tags a:hover {
  background: var(--teal-dim);
  color: #fff;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #070c10;
  border-right: 1px solid var(--border-subtle);
  z-index: 2100;
  transition: left var(--transition-smooth);
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  left: 0;
  box-shadow: 10px 0 40px rgba(0,0,0,0.8);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.drawer-logo {
  height: 55px;
  width: auto;
}

.drawer-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.drawer-menu li {
  margin-bottom: 14px;
}

.drawer-menu a {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--silver-mid);
  display: block;
}

.drawer-menu a:hover, .drawer-menu a.active {
  color: var(--teal-neon);
}

.drawer-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 18px 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 2050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}
