/* ================================================
   AutoGallery Premium - Main Stylesheet
   Font: Figtree | Theme: Dark Premium | Accent: Red
   ================================================ */

:root {
  --black: #0a0a0a;
  --dark-1: #111111;
  --dark-2: #161616;
  --dark-3: #1e1e1e;
  --dark-4: #252525;
  --dark-5: #2e2e2e;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --white: #ffffff;
  --white-90: rgba(255,255,255,0.9);
  --white-70: rgba(255,255,255,0.7);
  --white-50: rgba(255,255,255,0.5);
  --white-20: rgba(255,255,255,0.2);
  --white-10: rgba(255,255,255,0.1);
  --white-5: rgba(255,255,255,0.05);

  --red: #DC2626;
  --red-light: #EF4444;
  --red-dark: #B91C1C;
  --red-glow: rgba(220,38,38,0.3);
  --red-subtle: rgba(220,38,38,0.1);

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

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.6);
  --shadow-red: 0 8px 32px rgba(220,38,38,0.25);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Figtree', sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-1); }
::-webkit-scrollbar-thumb { background: var(--dark-5); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ================================================
   Layout
   ================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* Section Header */
.section-header { margin-bottom: 60px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
}
.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--white);
}
.section-title span { color: var(--red); }
.section-subtitle {
  font-size: 16px;
  color: var(--white-50);
  margin-top: 16px;
  max-width: 560px;
  line-height: 1.7;
}

/* ================================================
   Buttons
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(220,38,38,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white-20);
}
.btn-outline:hover {
  background: var(--white-10);
  border-color: var(--white-50);
  transform: translateY(-2px);
}
.btn-ghost {
  background: var(--white-5);
  color: var(--white-70);
  border: 1px solid var(--white-10);
}
.btn-ghost:hover {
  background: var(--white-10);
  color: var(--white);
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }

/* ================================================
   Navigation
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--white-10);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.navbar-logo { flex-shrink: 0; }
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.navbar-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-70);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.navbar-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: var(--transition);
}
.navbar-menu a:hover, .navbar-menu a.active {
  color: var(--white);
}
.navbar-menu a:hover::after, .navbar-menu a.active::after {
  transform: scaleX(1);
}
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white-70);
  transition: var(--transition);
}
.btn-phone:hover { color: var(--red); }
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ================================================
   Hero Section
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--black);
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('/public/images/ui/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  opacity: 0.35;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.hero-bg-image.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,10,10,0.98) 0%,
    rgba(10,10,10,0.85) 40%,
    rgba(10,10,10,0.4) 70%,
    rgba(10,10,10,0.2) 100%
  );
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-subtle);
  border: 1px solid rgba(220,38,38,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero-title {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero-title .line { display: block; }
.hero-title .accent {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
}
.hero-title .red { color: var(--red); }
.hero-subtitle {
  font-size: 17px;
  color: var(--white-60, rgba(255,255,255,0.6));
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--white-10);
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}
.hero-stat-value {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--white);
  line-height: 1;
}
.hero-stat-value span { color: var(--red); }
.hero-stat-label {
  font-size: 12px;
  color: var(--white-50);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 4px;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s 1.5s forwards;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--white-50));
  animation: scrollLine 2s ease-in-out infinite;
}
.hero-scroll-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-50);
  writing-mode: vertical-rl;
}

/* ================================================
   Car Cards
   ================================================ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.car-card {
  background: var(--dark-2);
  border: 1px solid var(--white-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.car-card:hover {
  transform: translateY(-8px);
  border-color: var(--white-10);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(220,38,38,0.1);
}
.car-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--dark-3);
}
.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.car-card:hover .car-card-image img { transform: scale(1.08); }
.car-card-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 1;
}
.label-new { background: var(--red); color: white; }
.label-featured { background: rgba(245,158,11,0.9); color: white; }
.label-popular { background: rgba(16,185,129,0.9); color: white; }
.label-sold { background: rgba(107,114,128,0.9); color: white; }

.car-card-actions {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(-4px);
  transition: var(--transition);
  z-index: 1;
}
.car-card:hover .car-card-actions { opacity: 1; transform: translateY(0); }
.car-action-btn {
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
  border: 1px solid var(--white-20);
}
.car-action-btn:hover { background: var(--red); border-color: var(--red); }

.car-card-body { padding: 24px; }
.car-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.car-model {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}
.car-specs {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--white-5);
}
.car-spec {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--white-50);
}
.car-spec svg { color: var(--red); flex-shrink: 0; }
.car-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.car-price-label {
  font-size: 11px;
  color: var(--white-40, rgba(255,255,255,0.4));
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.car-price {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--white);
}
.car-monthly {
  font-size: 12px;
  color: var(--white-40, rgba(255,255,255,0.4));
  margin-top: 2px;
}
.car-monthly strong { color: var(--red-light); }

/* ================================================
   Featured Section
   ================================================ */
.featured-section { background: var(--dark-1); }
.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 60px;
}

/* ================================================
   About Preview
   ================================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-image-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  background: var(--dark-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.about-accent-number {
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: -2px;
  line-height: 1;
}
.about-accent-text {
  font-size: 13px;
  color: var(--white-50);
  margin-top: 4px;
}
.about-content { padding: 20px 0; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--red-subtle);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.about-feature-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.about-feature-text { font-size: 13px; color: var(--white-50); }

/* ================================================
   CTA Banner
   ================================================ */
.cta-banner {
  position: relative;
  background: var(--dark-2);
  border: 1px solid var(--white-5);
  border-radius: var(--radius-xl);
  padding: 80px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.cta-banner-bg {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(to left, var(--red-subtle), transparent);
}
.cta-banner-content { position: relative; max-width: 500px; }
.cta-banner-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.cta-banner-text { color: var(--white-50); line-height: 1.7; }
.cta-banner-actions {
  position: relative;
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ================================================
   Blog Cards
   ================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--dark-2);
  border: 1px solid var(--white-5);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--white-10);
  box-shadow: var(--shadow-md);
}
.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark-3);
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.06); }
.blog-card-body { padding: 28px; }
.blog-meta {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}
.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.blog-read-more:hover { gap: 10px; }

/* ================================================
   Filter Bar
   ================================================ */
.filter-bar {
  background: var(--dark-2);
  border: 1px solid var(--white-5);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}
.filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white-50);
}
.filter-select {
  background: var(--dark-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  appearance: none;
  cursor: pointer;
  transition: var(--transition);
}
.filter-select:focus {
  outline: none;
  border-color: var(--red);
}
.filter-select option { background: var(--dark-3); }

/* ================================================
   Detail Page
   ================================================ */
.detail-hero {
  padding-top: 100px;
  background: var(--dark-1);
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.detail-slider { border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-3); }
.detail-main-image { aspect-ratio: 16/10; }
.detail-main-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.detail-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.detail-thumb.active { border-color: var(--red); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-sidebar { position: sticky; top: 100px; }
.detail-sidebar-card {
  background: var(--dark-2);
  border: 1px solid var(--white-5);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.detail-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.detail-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.detail-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -2px;
  margin: 20px 0 8px;
}
.detail-monthly {
  font-size: 14px;
  color: var(--white-50);
}
.detail-monthly strong { color: var(--red-light); }
.detail-quick-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
  padding: 24px 0;
  border-top: 1px solid var(--white-5);
  border-bottom: 1px solid var(--white-5);
}
.detail-spec-item { display: flex; align-items: center; gap: 10px; }
.detail-spec-icon {
  width: 36px;
  height: 36px;
  background: var(--dark-3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.detail-spec-val { font-size: 14px; font-weight: 700; }
.detail-spec-key { font-size: 11px; color: var(--white-50); }
.detail-actions { display: flex; flex-direction: column; gap: 12px; }
.detail-actions .btn { justify-content: center; }

.detail-content { padding: 48px 0; }
.detail-section-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--white-5);
}
.detail-description { color: var(--white-70); line-height: 1.8; }
.specs-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.specs-table tr:nth-child(even) td { background: var(--dark-3); }
.specs-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 4px;
}
.specs-table td:first-child { color: var(--white-50); font-weight: 500; }
.specs-table td:last-child { font-weight: 700; text-align: right; }
.features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--white-70);
}
.feature-item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ================================================
   Contact / Forms
   ================================================ */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-50);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  background: var(--dark-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  padding: 14px 18px;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-glow);
}
.form-control::placeholder { color: var(--white-30, rgba(255,255,255,0.3)); }
textarea.form-control { min-height: 140px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ================================================
   Page Hero (internal pages)
   ================================================ */
.page-hero {
  padding: 160px 0 80px;
  background: var(--dark-1);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.page-hero-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.page-hero-sub { font-size: 16px; color: var(--white-50); }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--white-40, rgba(255,255,255,0.4));
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--white-50); transition: var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--white-20); }

/* ================================================
   Pagination
   ================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 60px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--white-10);
  background: var(--dark-2);
  color: var(--white-50);
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current {
  background: var(--red);
  border-color: var(--red);
  color: white;
}

/* ================================================
   WhatsApp Float
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}

/* ================================================
   Footer
   ================================================ */
.footer {
  background: var(--dark-1);
  border-top: 1px solid var(--white-5);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-desc {
  font-size: 14px;
  color: var(--white-50);
  line-height: 1.7;
  margin: 20px 0 24px;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  background: var(--dark-3);
  border: 1px solid var(--white-10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-50);
  transition: var(--transition);
}
.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--white-50);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--red); padding-left: 4px; }
.footer-contact li {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  color: var(--white-50) !important;
  font-size: 14px;
}
.footer-contact li svg { flex-shrink: 0; margin-top: 2px; color: var(--red); }
.footer-contact li a { color: var(--white-50); }
.footer-contact li a:hover { color: var(--red); padding-left: 0 !important; }
.footer-bottom {
  border-top: 1px solid var(--white-5);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--white-30, rgba(255,255,255,0.3));
}

/* ================================================
   Animations
   ================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================================================
   Utility
   ================================================ */
.text-red { color: var(--red); }
.text-muted { color: var(--white-50); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 16px; }
.mt-8 { margin-top: 32px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-red { background: var(--red-subtle); color: var(--red-light); border: 1px solid rgba(220,38,38,0.2); }

/* Alert / Toast */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}
.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-error { background: var(--red-subtle); border-color: rgba(220,38,38,0.3); color: #fca5a5; }

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 1024px) {
  .cars-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .navbar-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }
  .navbar-menu.open { display: flex; }
  .navbar-menu a { font-size: 24px; font-weight: 700; }
  .navbar-toggle { display: flex; position: relative; z-index: 1001; }
  .btn-phone { display: none; }
  .cars-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 32px; }
  .cta-banner { padding: 48px 32px; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .about-features { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .features-list { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; }
  .hero-title { letter-spacing: -2px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .detail-quick-specs { grid-template-columns: 1fr 1fr; }
}
