/* ============================================================
   AL LOUVER — MAIN CSS — Dark Luxury Design System
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  background: #000;
  color: #fff;
  font-family: 'Cairo', 'Inter', sans-serif;
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: 0.3s ease; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: 80px 0; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5 {
  font-family: 'Cairo', 'Inter', sans-serif;
  font-weight: 900;
  line-height: 1.2;
}

/* === SECTION HEADERS === */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: rgba(0,102,255,0.15);
  color: #0066ff;
  border: 1px solid rgba(0,102,255,0.3);
  padding: 4px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; color: #ffffff; }
.section-sub { color: rgba(255,255,255,0.85); font-size: 16px; }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: #0066ff; }
.breadcrumb span:last-child { color: #fff; }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0066ff, #0044cc);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid rgba(0,102,255,0.4);
  box-shadow: 0 0 20px rgba(0,102,255,0.3);
  transition: 0.3s ease;
  white-space: nowrap;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0080ff, #0055dd);
  box-shadow: 0 0 35px rgba(0,102,255,0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: 0.3s ease;
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.05);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25d366, #1da851);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s ease;
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background: linear-gradient(135deg, #30e070, #22c45e);
  box-shadow: 0 0 25px rgba(37,211,102,0.4);
  transform: translateY(-2px);
}

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s ease;
}
.btn-call:hover {
  box-shadow: 0 0 25px rgba(255,0,0,0.4);
  transform: translateY(-2px);
}

.btn-card {
  display: inline-flex;
  align-items: center;
  background: rgba(0,102,255,0.15);
  color: #0066ff;
  border: 1px solid rgba(0,102,255,0.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.3s ease;
  white-space: nowrap;
}
.btn-card:hover {
  background: rgba(0,102,255,0.3);
  color: #fff;
}

.btn-large { padding: 16px 36px; font-size: 17px; }
.btn-reset { font-size: 14px; padding: 10px 18px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: rgba(0,0,0,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left { display: flex; align-items: center; gap: 12px; font-size: 13px; color: #ffffff; }
.topbar-right { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #ffffff; }
.topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0066ff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: 0.2s ease;
  white-space: nowrap;
}
.topbar-phone svg { flex-shrink: 0; }
.topbar-phone span {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
.topbar-phone:hover { color: #3399ff; text-shadow: 0 0 12px rgba(0,102,255,0.5); }
.topbar-loc { display: flex; align-items: center; gap: 4px; }
.topbar-sep { color: rgba(255,255,255,0.2); }
.topbar-right a:hover { color: #0066ff; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid #ff0000;
  box-shadow: 0 4px 30px rgba(255,0,0,0.15);
  transition: 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

/* Logo */
.text-logo { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
}
.logo-sub { font-size: 11px; color: #ff0000; letter-spacing: 1px; font-weight: 600; }

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list li a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  transition: 0.3s ease;
  position: relative;
}
.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 14px;
  left: 14px;
  height: 2px;
  background: #0066ff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}
.nav-list li a:hover,
.nav-list li.current-menu-item > a { color: #fff; }
.nav-list li a:hover::after,
.nav-list li.current-menu-item > a::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: 6px;
  transition: 0.3s ease;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 998;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #000 url('https://images.unsplash.com/photo-1544636331-e26879cd4d9b?w=1920&q=80') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 36px 44px;
  max-width: 520px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
}
.hero-tag {
  font-size: 13px;
  color: #0066ff;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.hero-title {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 60%, rgba(0,102,255,0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #040a15;
}
.hero-swiper {
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: relative;
  display: flex !important;
  align-items: center;
  overflow: hidden;
}
.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vh;
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.hero-slide-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}
.hero-slide-content {
  padding-right: 40px;
}
.hs-brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}
.hs-title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  font-family: 'Inter', sans-serif;
}
.hs-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 480px;
}
.hs-desc p { margin-bottom: 8px; }
.hs-desc p:last-child { margin-bottom: 0; }

.hs-btn {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hs-btn-icon {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #0066ff;
  position: relative;
  transition: 0.3s ease;
}
.hs-btn-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #0066ff;
  border-radius: 50%;
  transition: 0.3s ease;
}
.hs-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: #fff;
}
.hs-btn:hover .hs-btn-icon { background: #0066ff; }
.hs-btn:hover .hs-btn-icon::after { background: #fff; }

.hero-slide-image {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
  transform: scale(0.95);
  transition: transform 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-slide.swiper-slide-active .hero-slide-image img {
  transform: scale(1);
}

.hs-nav {
  color: rgba(255,255,255,0.5);
  transition: 0.3s ease;
}
.hs-nav:hover { color: #fff; transform: scale(1.1); }
.hs-nav::after { font-size: 24px; }

@media (max-width: 992px) {
  .hero-slide-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 80px;
  }
  .hero-slide-content { padding-right: 0; }
  .hs-desc { margin: 0 auto 32px; }
}

/* ============================================================
   SEARCH FILTER (Home)
   ============================================================ */
.filter-section-home {
  padding: 48px 0;
  background: rgba(10,10,10,0.95);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.filter-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 40px;
  backdrop-filter: blur(10px);
}
.filter-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.9);
}
.filter-form { width: 100%; }
.filter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.filter-field { display: flex; flex-direction: column; gap: 6px; }
.filter-field label { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 600; letter-spacing: 0.5px; }
.filter-field select,
.filter-field input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  padding: 0 14px;
  height: 48px;
  line-height: normal;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}
.filter-field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px;
  padding-left: 36px;
}
.filter-field select:focus,
.filter-field input:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0,102,255,0.15);
}
.filter-field select option { background: #111; color: #fff; }
.filter-submit { padding: 11px 28px; white-space: nowrap; align-self: flex-end; }

/* Archive filter bar */
.archive-filter-section {
  padding: 24px 0;
  background: rgba(8,8,8,1);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky;
  top: 57px;
  z-index: 99;
}
.archive-filter-form .filter-fields {
  grid-template-columns: 1fr 1fr 1fr 1fr auto auto;
  align-items: center;
}
.archive-filter-form select,
.archive-filter-form input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  padding: 0 14px;
  height: 48px;
  line-height: normal;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
  transition: 0.3s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.archive-filter-form select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px;
  padding-left: 36px;
}
.archive-filter-form select:focus,
.archive-filter-form input:focus {
  border-color: #0066ff;
}
.archive-filter-form select option { background: #111; }

/* ============================================================
   CAR CARDS
   ============================================================ */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cars-grid-archive { grid-template-columns: repeat(3, 1fr); }

.car-card {
  background: rgba(18,18,18,0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: 0.35s ease;
  position: relative;
}
.car-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,102,255,0.4);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,102,255,0.2);
}

.card-img-link {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.car-card:hover .card-img { transform: scale(1.06); }

.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-size: 13px;
  min-height: 200px;
}

/* Badges */
.car-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  z-index: 2;
}
.badge-forsale   { background: #0066ff; color: #fff; }
.badge-reserved  { background: #ff8800; color: #fff; }
.badge-sold      { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.6); }

.card-views {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.card-views-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(255,0,0,0.85);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.card-body { padding: 20px; }
.card-meta { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.card-year, .card-trans, .card-cyl {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
}
.card-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.card-title a { color: #fff; }
.card-title a:hover { color: #0066ff; }
.card-mileage { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 16px; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.card-price { font-size: 18px; font-weight: 900; color: #ff0000; }

/* inventory preview CTA */
.view-all-wrap { text-align: center; margin-top: 48px; }

/* archive hero */
.archive-hero {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  padding: 80px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.archive-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.archive-hero-overlay { display: none; }
.archive-title { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.archive-sub { font-size: 16px; color: rgba(255,255,255,0.5); }

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
}
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-title { font-size: 24px; margin-bottom: 8px; }
.empty-desc { color: rgba(255,255,255,0.5); margin-bottom: 24px; }

/* Pagination */
.pagination-wrap { display: flex; justify-content: center; margin-top: 56px; }
.pagination-wrap .page-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  list-style: none;
}
.pagination-wrap .page-numbers li a,
.pagination-wrap .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s ease;
}
.pagination-wrap .page-numbers li a:hover { background: rgba(0,102,255,0.2); border-color: #0066ff; }
.pagination-wrap .page-numbers li span.current { background: #0066ff; border-color: #0066ff; }

/* ============================================================
   SINGLE CAR
   ============================================================ */
.single-breadcrumb {
  background: rgba(8,8,8,1);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px 0;
}
.single-car-page { background: #040404; }
.single-car-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.car-sidebar { display: flex; flex-direction: column; gap: 16px; }
.sidebar-box {
  background: rgba(18,18,18,0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 24px;
}
.sidebar-views { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 12px; }
.sidebar-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin: 12px 0 4px;
}
.price-currency { font-size: 18px; color: rgba(255,255,255,0.7); align-self: center; }
.price-amount { font-size: 38px; font-weight: 900; color: #ff0000; line-height: 1; }
.price-note { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 20px; }

.quick-specs { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; border-top: 1px solid rgba(255,255,255,0.07); padding-top: 16px; }
.quick-spec { display: flex; align-items: center; gap: 10px; }
.qs-icon { font-size: 18px; width: 28px; }
.qs-label { font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 600; }
.qs-val { font-size: 14px; font-weight: 700; }

.contact-box { display: flex; flex-direction: column; gap: 10px; }
.contact-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-box .btn-call,
.contact-box .btn-whatsapp { width: 100%; justify-content: center; }

.share-box h4 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}
.share-btn:hover { background: rgba(255,255,255,0.12); }
.share-wa { border-color: rgba(37,211,102,0.4); color: #25d366; }
.share-tw { border-color: rgba(29,161,242,0.4); color: #1da1f2; }

/* Content */
.car-content { min-width: 0; }
.car-header { margin-bottom: 24px; }
.car-header-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.badge-year, .badge-cat, .badge-brand {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.badge-year  { background: rgba(0,102,255,0.15); color: #0066ff; border: 1px solid rgba(0,102,255,0.3); }
.badge-cat   { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); }
.badge-brand { background: rgba(255,0,0,0.12); color: #ff4444; border: 1px solid rgba(255,0,0,0.25); }

.car-title { font-size: clamp(24px, 4vw, 38px); margin-bottom: 8px; }

.car-image-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid rgba(255,255,255,0.07);
  aspect-ratio: 16/9;
  background: rgba(15,15,15,1);
}
.car-main-img { width: 100%; height: 100%; object-fit: cover; }
.car-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.3);
  min-height: 300px;
}

.car-specs-section { margin-bottom: 40px; }
.specs-title {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 700;
  color: #fff;
  border-right: 3px solid #0066ff;
  padding-right: 12px;
}
.specs-subtitle {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin: 20px 0 10px;
  padding: 8px 14px;
  background: rgba(0,102,255,0.08);
  border-radius: 8px;
  border-right: 2px solid #0066ff;
}
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}
.specs-table tr { transition: background 0.2s ease; }
.specs-table tr:hover { background: rgba(255,255,255,0.04); }
.specs-table tr:not(:last-child) td { border-bottom: 1px solid rgba(255,255,255,0.07); }
.spec-label {
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  width: 45%;
  vertical-align: middle;
  background: rgba(255,255,255,0.04);
  white-space: nowrap;
}
.spec-icon { font-size: 16px; margin-left: 8px; }
.spec-val {
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
  vertical-align: middle;
}

/* Mobile */
@media (max-width: 600px) {
  .specs-table {
    border-radius: 10px;
  }
  .spec-label {
    font-size: 12px;
    padding: 10px 12px;
    width: 42%;
    white-space: normal;
    line-height: 1.4;
  }
  .spec-val {
    font-size: 14px;
    padding: 10px 12px;
  }
  .specs-title {
    font-size: 18px;
  }
}

.desc-title { font-size: 20px; margin-bottom: 16px; }
.desc-content {
  color: rgba(255,255,255,0.75);
  line-height: 1.9;
  font-size: 15px;
}
.desc-content p { margin-bottom: 12px; }

.car-cta-bottom {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: rgba(6,6,6,1);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: 0.3s ease;
}
.stat-item:hover { border-color: rgba(0,102,255,0.3); box-shadow: 0 0 30px rgba(0,102,255,0.1); }
.stat-number { font-size: 52px; font-weight: 900; color: #0066ff; line-height: 1; display: inline; }
.stat-plus { font-size: 36px; font-weight: 900; color: #ff0000; display: inline; }
.stat-label { display: block; font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 8px; font-weight: 600; }

/* Why Grid */
.why-section { background: #000; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: 0.35s ease;
}
.why-card:hover {
  background: rgba(0,102,255,0.05);
  border-color: rgba(0,102,255,0.25);
  transform: translateY(-4px);
}
.why-icon { font-size: 36px; margin-bottom: 16px; }
.why-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.why-desc { font-size: 14px; color: #fff; line-height: 1.7; }

/* CTA Section */
.cta-section {
  position: relative;
  background: linear-gradient(135deg, #000 0%, #0a0a1a 100%);
  padding: 100px 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,102,255,0.15);
  border-bottom: 1px solid rgba(0,102,255,0.15);
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-overlay { display: none; }
.cta-content { position: relative; text-align: center; }
.cta-content h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: rgba(255,255,255,0.6); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   BRANDS MARQUEE
   ============================================================ */
.brands-marquee-wrap {
  background: rgba(8,8,8,1);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 16px 0;
  overflow: hidden;
}
.brands-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee-rtl 40s linear infinite;
}
.brand-item {
  padding: 8px 32px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  border-right: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
  transition: color 0.3s ease;
  cursor: default;
  letter-spacing: 0.5px;
}
.brand-item:hover {
  color: #3399ff;
  text-shadow: 0 0 20px rgba(0,102,255,0.8);
}
@keyframes marquee-rtl {
  0%   { transform: translateX(0); }
  100% { transform: translateX(var(--marquee-end, -50%)); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #070707;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 56px 0;
}
.footer-logo { margin-bottom: 16px; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transition: 0.3s ease;
}
.social-btn:hover { background: rgba(0,102,255,0.2); border-color: rgba(0,102,255,0.5); color: #fff; }

.footer-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a {
  font-size: 14px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s ease;
}
.footer-links li a::before { content: '›'; color: #0066ff; }
.footer-links li a:hover { color: #3399ff; padding-right: 4px; }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #ffffff;
}
.footer-contact-list li svg { flex-shrink: 0; color: #0066ff; margin-top: 2px; }
.footer-contact-list li a { color: #ffffff; }
.footer-contact-list li a:hover { color: #0066ff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom-links { display: flex; gap: 12px; align-items: center; }
.footer-bottom-links a { color: rgba(255,255,255,0.75); }
.footer-bottom-links a:hover { color: #ffffff; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero, .contact-hero {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #080808 0%, #000 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}
.about-hero::before, .contact-hero::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.1) 0%, transparent 70%);
}
.about-hero-overlay, .contact-hero-overlay { display: none; }
.about-hero h1, .contact-hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.about-hero p, .contact-hero p { font-size: 16px; color: rgba(255,255,255,0.5); }

/* About Intro */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text h2 { font-size: clamp(26px, 3vw, 36px); margin: 12px 0 20px; }
.about-text p { color: rgba(255,255,255,0.65); font-size: 15px; margin-bottom: 16px; line-height: 1.9; }
.about-stats { display: flex; gap: 32px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.about-stat { text-align: center; }
.about-stat-num { display: block; font-size: 36px; font-weight: 900; color: #0066ff; }
.about-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); }

.about-img-glow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-card {
  background: rgba(0,102,255,0.05);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  box-shadow: 0 0 60px rgba(0,102,255,0.15);
}
.about-img-card p { font-size: 20px; font-weight: 700; margin-top: 20px; line-height: 1.5; }

/* Values */
.values-section { background: rgba(5,5,5,1); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 32px 24px;
  transition: 0.3s ease;
}
.value-card:hover { border-color: rgba(0,102,255,0.3); transform: translateY(-4px); }
.value-icon { font-size: 32px; margin-bottom: 16px; }
.value-card h4 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* Team */
.team-section { background: #000; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: 0.3s ease;
}
.team-card:hover { border-color: rgba(0,102,255,0.3); transform: translateY(-4px); }
.team-avatar { font-size: 52px; margin-bottom: 16px; }
.team-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.team-title { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #050505 0%, #000 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.contact-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(0,102,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.contact-hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 950;
  background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.contact-hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  margin: 0 auto;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 48px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px; height: 100px;
  background: radial-gradient(circle at top right, rgba(0,102,255,0.2), transparent 70%);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: 0.3s ease;
}
.contact-item:hover { transform: translateY(-5px); }

.ci-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0066ff;
  transition: 0.3s ease;
}
.contact-item:hover .ci-icon {
  background: #0066ff;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,102,255,0.4);
}

.ci-content h4 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.ci-content p, .ci-content a {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.social-links-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.social-links-wrap h4 { margin-bottom: 16px; font-size: 15px; color: #fff; }
.social-grid { display: flex; gap: 12px; }
.social-item {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}
.social-item:hover {
  background: #0066ff;
  border-color: #0066ff;
  transform: translateY(-4px) rotate(8deg);
}

.map-container {
  margin-top: 40px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  height: 300px;
  filter: grayscale(1) invert(0.9) contrast(1.2);
}

/* Form refinement */
.contact-form-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  border-radius: 12px;
  margin-top: 12px;
}

/* ============================================================
   BLOG (default WP styling override)
   ============================================================ */
.page .entry-content { max-width: 100%; }

/* ============================================================
   PAGE.PHP
   ============================================================ */
.page-generic { padding: 80px 0; min-height: 60vh; }
.page-generic .entry-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 32px; }
.page-generic .entry-content { color: rgba(255,255,255,0.75); line-height: 1.9; font-size: 16px; }
.page-generic .entry-content h2, .page-generic .entry-content h3 { margin: 28px 0 12px; }
.page-generic .entry-content p { margin-bottom: 16px; }
.page-generic .entry-content a { color: #0066ff; }

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

/* Stagger children */
.cars-grid .car-card:nth-child(2) { transition-delay: 0.1s; }
.cars-grid .car-card:nth-child(3) { transition-delay: 0.2s; }
.cars-grid .car-card:nth-child(4) { transition-delay: 0.05s; }
.cars-grid .car-card:nth-child(5) { transition-delay: 0.15s; }
.cars-grid .car-card:nth-child(6) { transition-delay: 0.25s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .cars-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .single-car-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .filter-fields { grid-template-columns: 1fr 1fr; }
  .archive-filter-form .filter-fields { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Mobile Nav */
  .hamburger { display: flex; }
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100vh;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255,255,255,0.08);
    padding: 80px 24px 32px;
    z-index: 999;
    transition: right 0.35s ease;
    overflow-y: auto;
  }
  .header-nav.open { right: 0; }
  .mobile-overlay.open { display: block; }
  .nav-list { flex-direction: column; align-items: flex-end; gap: 2px; }
  .nav-list li { width: 100%; }
  .nav-list li a { display: block; width: 100%; padding: 12px 8px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.05); }

  /* Hero */
  .hero-glass { padding: 32px 24px; }

  /* Filter */
  .filter-fields { grid-template-columns: 1fr 1fr; }
  .archive-filter-form .filter-fields { grid-template-columns: 1fr 1fr; }

  /* Cards */
  .cars-grid, .cars-grid-archive { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* About */
  .about-stats { flex-wrap: wrap; gap: 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* Specs */
  .spec-label { width: 40%; font-size: 13px; }

  /* CTA */
  .car-cta-bottom { flex-direction: column; }
  .car-cta-bottom .btn-call, .car-cta-bottom .btn-whatsapp { text-align: center; justify-content: center; }
}

@media (max-width: 480px) {
  .filter-fields { grid-template-columns: 1fr; }
  .section-pad { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-number { font-size: 38px; }
  .hero-btns { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .louver-contact-form .form-row { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .footer-bottom-inner { flex-direction: column; text-align: center; gap: 8px; }
}

/* ============================================================
   SINGLE CAR — CONTACT BOTTOM SECTION
   ============================================================ */
.car-contact-bottom {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.car-price-block { display: flex; flex-direction: column; gap: 8px; }
.price-bottom-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.price-currency-bottom { font-size: 16px; color: rgba(255,255,255,0.6); }
.price-amount-bottom { font-size: 36px; font-weight: 900; color: #ff0000; line-height: 1; }
.price-note { font-size: 13px; color: rgba(255,255,255,0.4); }

.car-contact-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-large {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
}
.btn-call {
  background: #0066ff;
  color: #fff;
  border: none;
}
.btn-call:hover { background: #0052cc; color: #fff; }
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: none;
}
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

.car-share-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.share-label { font-size: 13px; color: rgba(255,255,255,0.5); font-weight: 600; }

/* Mobile: stack everything, share always below contact buttons */
@media (max-width: 768px) {
  .car-contact-btns {
    flex-direction: column;
  }
  .btn-large {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .car-share-bottom {
    justify-content: center;
    margin-top: 4px;
  }
  .price-amount-bottom { font-size: 30px; }
}

/* Astra override — ensure black bg everywhere */
.ast-article-single,
.ast-plain-container,
.ast-container,
.site-content,
#page { background: #000 !important; }
.ast-header-break-point .main-header-bar { background: transparent !important; }

/* ============================================================
   11. SMART COUNSELOR
   ============================================================ */
.smart-counselor-wrap {
  margin: 32px auto 0;
  max-width: 900px;
  background: rgba(20,20,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.smart-counselor-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sc-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}
.sc-field label {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}
.sc-field select {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: #fff;
  padding: 0 14px 0 36px;
  height: 48px;
  line-height: normal;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.3s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 16px;
}
.sc-field select:focus {
  border-color: #0066ff;
  box-shadow: 0 0 0 3px rgba(0,102,255,0.2);
}
/* ============================================================
   BRANDS PAGE
   ============================================================ */
.brands-hero {
  position: relative;
  padding: 100px 0 60px;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brands-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,102,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.brands-hero h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 12px; }
.brands-hero p { font-size: 16px; color: rgba(255,255,255,0.5); }

.car-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}

.car-brand-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.car-brand-card:hover {
  background: rgba(0,102,255,0.05);
  border-color: rgba(0,102,255,0.3);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,102,255,0.2);
}
.car-brand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,102,255,0.1), transparent 70%);
  opacity: 0;
  transition: 0.4s ease;
}
.car-brand-card:hover::after { opacity: 1; }

.brand-img-container {
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: 0.4s ease;
  border: 1px solid rgba(255,255,255,0.05);
}
.car-brand-card:hover .brand-img-container {
  transform: scale(1.1);
  background: #fff;
}

.brand-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: 0.4s ease;
}
.car-brand-card:hover .brand-img {
  filter: none;
}

.car-brand-card p {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  transition: 0.3s ease;
}
.car-brand-card:hover p { color: #0066ff; }

/* Placeholder/Fallback icon if no image */
.brand-fallback {
  font-size: 32px;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 480px) {
  .car-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .car-brand-card { padding: 24px 15px; }
  .brand-img-container { width: 70px; height: 70px; padding: 14px; }
}

.brand-count {
  display: inline-block;
  background: rgba(0,102,255,0.1);
  color: #0066ff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 4px;
}
.car-brand-card:hover .brand-count {
  background: #0066ff;
  color: #fff;
}

/* --- UTILITIES --- */
.section-pad { padding: 80px 0; }
.section-pad-bottom { padding-bottom: 80px; }
.section-tag {
  display: inline-block;
  color: #0066ff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-size: 14px;
}
.section-title { font-size: clamp(32px, 5vw, 56px); margin-bottom: 16px; font-weight: 900; }
.section-sub { color: rgba(255,255,255,0.6); max-width: 600px; margin: 0 auto; }

/* ============================================================ */
.sc-submit {
  align-self: center;
  padding: 14px 40px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .sc-fields { grid-template-columns: 1fr; }
  .sc-submit { width: 100%; justify-content: center; }
  .smart-counselor-wrap { padding: 24px 16px; }
}

/* Results Area */
.smart-counselor-results {
  margin-top: 32px;
  min-height: 50px;
  display: none;
}
.smart-counselor-results.active {
  display: block;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
}
/* Skeleton Loader */
.sc-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 0;
}
.sc-loader-ring {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0,102,255,0.2);
  border-top-color: #0066ff;
  border-radius: 50%;
  animation: sc-spin 1s linear infinite;
}
.sc-loader-text {
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  animation: sc-pulse 1.5s ease-in-out infinite;
}
@keyframes sc-spin { to { transform: rotate(360deg); } }
@keyframes sc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* Results Grid */
.sc-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: right;
}
@media (max-width: 768px) { .sc-results-grid { grid-template-columns: 1fr; } }
.sc-result-card {
  background: rgba(10,10,10,0.95);
  position: relative;
}
.sc-match-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(4px);
}
.score-high { background: rgba(37,211,102,0.9); color: #fff; }
.score-med { background: rgba(0,102,255,0.9); color: #fff; }

/* VIP Message */
.sc-vip-message {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.02) 100%);
  border: 1px solid rgba(255,215,0,0.2);
  border-radius: 12px;
}
.sc-vip-icon {
  font-size: 40px;
  margin-bottom: 16px;
}
.sc-vip-title {
  font-size: 20px;
  color: #ffd700;
  margin-bottom: 8px;
}
.sc-vip-desc {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-bottom: 24px;
}

/* ============================================================
   13. SINGLE CAR SPECS TABLE
   ============================================================ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  border: none !important;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.specs-table th,
.specs-table td {
  border: none !important;
  padding: 14px 20px;
  vertical-align: middle;
}
.specs-table tbody tr:nth-child(odd) {
  background-color: #070707;
}
.specs-table tbody tr:nth-child(even) {
  background-color: #141414;
}
.specs-table td.spec-label {
  width: 40%;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.specs-table td.spec-val {
  width: 60%;
  color: #fff;
  font-weight: 700;
  text-align: right;
}
@media (max-width: 768px) {
  .specs-table td.spec-label, .specs-table td.spec-val { width: 50%; padding: 12px 14px; }
}

.car-title {
  color: #fff !important;
}

/* === BLOG & PAGE HEADERS FIX === */
.page-header {
    background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%) !important;
    padding: 140px 0 100px !important;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-top: -1px; /* Gap fix */
}

.page-header .section-title {
    color: #ffffff !important;
    font-size: clamp(32px, 5vw, 56px) !important;
    margin-bottom: 20px !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-weight: 900 !important;
}

.page-header .section-sub {
    color: rgba(255,255,255,0.8) !important;
    font-size: 18px !important;
    max-width: 700px;
    margin: 0 auto !important;
}

.al-louver-body {
    background-color: #000 !important;
}

/* Blog Cards Extra Visibility */
.blog-card {
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}
.blog-card-content h3 a {
    color: #ffffff !important;
}
.blog-excerpt {
    color: rgba(255,255,255,0.7) !important;
}

/* ============================================================
   CINEMATIC HERO EXPERIENCE
   ============================================================ */




/* ============================================================
   ARCHIVE & CONTACT TYPOGRAPHY OVERRIDES
   ============================================================ */
/* Archive Page */
.archive-hero .breadcrumb a,
.archive-hero .breadcrumb span,
.archive-title {
    color: #ffffff !important;
}
.archive-sub {
    color: rgba(255,255,255,0.8) !important;
}

.sc-header .sc-title {
    color: #ffffff !important;
}
.sc-header .sc-subtitle {
    color: rgba(255,255,255,0.8) !important;
}

/* Contact Page */
.contact-hero .breadcrumb a,
.contact-hero .breadcrumb span,
.contact-hero h1 {
    color: #ffffff !important;
}
.contact-hero p {
    color: rgba(255,255,255,0.8) !important;
}

.contact-card h2,
.contact-form-card h3 {
    color: #ffffff !important;
}
.contact-card > p,
.contact-form-card > p,
.contact-info-grid h4,
.contact-info-grid p,
.social-links-wrap h4 {
    color: rgba(255,255,255,0.8) !important;
}

/* 5. Endless Parallax Star Background */
.cinematic-stars {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    /* Optional dark gradient to pop the stars */
    background: radial-gradient(ellipse at bottom, rgba(27,39,53,0.3) 0%, rgba(9,10,15,0.7) 100%);
    opacity: 1;
}

.stars-layer {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.stars-layer--far {
    background-image: 
        radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 50px 160px, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255,255,255,0.7), transparent);
    background-size: 200px 200px;
    animation: starScrollFar 80s linear infinite;
    opacity: 0.5;
}
.stars-layer--mid {
    background-image: 
        radial-gradient(2px 2px at 40px 30px, rgba(255,255,255,0.7), transparent),
        radial-gradient(2px 2px at 100px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 150px 50px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 230px 180px, rgba(255,255,255,0.8), transparent);
    background-size: 300px 300px;
    animation: starScrollMid 50s linear infinite;
    opacity: 0.7;
}
.stars-layer--near {
    background-image: 
        radial-gradient(3px 3px at 50px 50px, rgba(255,255,255,0.9), transparent),
        radial-gradient(3px 3px at 150px 200px, rgba(255,255,255,1), transparent),
        radial-gradient(3px 3px at 250px 100px, rgba(255,255,255,0.9), transparent),
        radial-gradient(3px 3px at 300px 350px, rgba(255,255,255,0.8), transparent);
    background-size: 400px 400px;
    animation: starScrollNear 30s linear infinite;
    opacity: 1;
}
@keyframes starScrollFar { 0% { background-position: 0 0; } 100% { background-position: 200px 200px; } }
@keyframes starScrollMid { 0% { background-position: 0 0; } 100% { background-position: -300px 300px; } }
@keyframes starScrollNear { 0% { background-position: 0 0; } 100% { background-position: 400px 400px; } }

/* Mobile alignment tweak */
@media (max-width: 992px) {
    .hs-brand { display: none; }
}

/* ============================================================
   HERO SLIDER V2 — Animated Layer System (Revolution-style)
   ============================================================ */

/* Layout */
.hs-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 110px 24px 60px;
  direction: ltr;
}

/* Text side */
.hs-text { direction: rtl; }

.hs-brand-name {
  display: block;
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 5px;
  color: #1a2642;
  margin-bottom: 6px;
  opacity: 0;
}

.hs-model-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}

.hs-model-name {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1;
  color: #1a2642;
  margin: 0;
  opacity: 0;
}

.hs-model-year {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  letter-spacing: 3px;
  color: #1a2642;
  opacity: 0;
}

.hs-desc-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hs-desc-block p {
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #4a5568;
  margin: 0;
  opacity: 0;
}

/* Visual side */
.hs-visual {
  position: relative;
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Watermark — overflow hidden = clip mask, element slides down */
.hs-wm-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hs-wm-img {
  width: 105%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.22;
  transform: translateY(-100%);
}

/* Frame — overflow hidden = clip mask, element slides up */
.hs-frame-clip {
  position: absolute;
  top: 8px; right: 8px; bottom: 8px; left: 8px;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
}

.hs-frame-box {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(26, 38, 66, 0.3);
  border-radius: 4px;
  transform: translateY(100%);
}

/* Car — slides in from left */
.hs-car-img {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.2));
  transform: translateX(-60px);
  opacity: 0;
}

/* ── Keyframes ── */
@keyframes hs-fadeIn  { to { opacity: 1; } }
@keyframes hs-slideX  { to { opacity: 1; transform: translateX(0); } }
@keyframes hs-clipDown { to { transform: translateY(0); } }
@keyframes hs-clipUp   { to { transform: translateY(0); } }

/* ── Triggers: JS adds .hs-play to the active slide ── */

/* Car at 10ms (immediately) */
.hs-play .hs-car-img {
  animation: hs-slideX 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.01s forwards;
}

/* Watermark clip-down at 460ms */
.hs-play .hs-wm-img {
  animation: hs-clipDown 1.5s cubic-bezier(0.77, 0, 0.175, 1) 0.46s forwards;
}

/* Frame clip-up at 660ms */
.hs-play .hs-frame-box {
  animation: hs-clipUp 1.5s ease 0.66s forwards;
}

/* Brand at 1620ms */
.hs-play .hs-brand-name {
  animation: hs-fadeIn 1.5s ease 1.62s forwards;
}

/* Model name at 1780ms */
.hs-play .hs-model-name {
  animation: hs-fadeIn 1.5s ease 1.78s forwards;
}

/* Year at 1870ms */
.hs-play .hs-model-year {
  animation: hs-fadeIn 1.5s ease 1.87s forwards;
}

/* Description lines staggered */
.hs-play .hs-desc-block p:nth-child(1) { animation: hs-fadeIn 1.5s ease 2.17s forwards; }
.hs-play .hs-desc-block p:nth-child(2) { animation: hs-fadeIn 1.5s ease 2.41s forwards; }
.hs-play .hs-desc-block p:nth-child(3) { animation: hs-fadeIn 1.5s ease 2.55s forwards; }

/* Responsive */
@media (max-width: 992px) {
  .hs-layout {
    grid-template-columns: 1fr;
    padding-top: 90px;
    direction: rtl;
    text-align: right;
  }
  .hs-text  { order: 2; }
  .hs-visual { order: 1; height: 260px; }
  .hs-model-row { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .hs-visual { height: 200px; }
  .hs-model-name { font-size: 30px; }
}
