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

:root {
  --red: #e31e24;
  --red-dark: #b91519;
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --gray: #2a2a2a;
  --gray2: #444;
  --light: #f5f5f5;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666;
  --font: 'Montserrat', sans-serif;
  --font2: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font2);
  background: var(--white);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================
   NAVBAR
   ============================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.10);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.3px;
}

.logo-black { color: var(--black); }
.logo-red { color: var(--red); }

/* On hero, logo is white until scrolled */
.navbar:not(.scrolled) .logo-black { color: var(--white); }
.navbar:not(.scrolled) .logo-red { color: var(--red); }
.navbar:not(.scrolled) .nav-icon-btn { color: var(--white); }

.nav-icons { display: flex; gap: 8px; }

.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--black);
  font-size: 16px;
  transition: background var(--transition);
}
.nav-icon-btn:hover { background: rgba(0,0,0,0.07); }

.nav-search-bar {
  display: none;
  padding: 0 20px 12px;
  gap: 8px;
}
.nav-search-bar.visible { display: flex; }

.navbar.scrolled .nav-search-bar { background: var(--white); }
.navbar:not(.scrolled) .nav-search-bar { background: rgba(0,0,0,0.6); backdrop-filter: blur(10px); }

.nav-search-bar input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #ddd;
  font-size: 14px;
  font-family: var(--font2);
  outline: none;
  background: var(--white);
}
.nav-search-bar input:focus { border-color: var(--red); }
.nav-search-bar button {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  display: flex; align-items: center; justify-content: center;
}

/* ============================
   MENU OVERLAY
   ============================ */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.menu-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--white);
  padding: 30px 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.menu-overlay.open .menu-panel { transform: translateX(0); }

.menu-close {
  align-self: flex-end;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
}

.menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.menu-links a {
  display: block;
  padding: 12px 0;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  color: var(--black);
  border-bottom: 1px solid #f0f0f0;
  transition: color var(--transition);
}
.menu-links a:hover { color: var(--red); }

.menu-whatsapp {
  display: flex; align-items: center; gap: 10px;
  background: #25d366;
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  justify-content: center;
  margin-top: auto;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 550px;
  overflow: hidden;
}

.hero-slider { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 50%,
    rgba(0,0,0,0.3) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 120px;
  left: 20px;
  right: 20px;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(28px, 6vw, 64px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.hero-content h1 .red { color: var(--red); }

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(13px, 2vw, 17px);
  margin-bottom: 24px;
  line-height: 1.6;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red);
  color: white;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.7);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  transition: all var(--transition);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: white; }

.hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 5;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}
.dot.active {
  background: var(--red);
  width: 24px;
  border-radius: 4px;
}

/* ============================
   SEARCH SECTION
   ============================ */
.search-section {
  padding: 0 16px;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.search-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.search-card h2 {
  font-family: var(--font);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--black);
}

.search-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-filters select {
  flex: 1;
  min-width: 120px;
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font2);
  color: var(--text);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.search-filters select:focus { border-color: var(--red); }

.search-btn {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--red);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.search-btn:hover { background: var(--red-dark); }

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(18px, 4vw, 26px);
  color: var(--black);
}

.view-all {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  color: var(--red);
  display: flex; align-items: center; gap: 6px;
  transition: gap var(--transition);
}
.view-all:hover { gap: 10px; }

/* ============================
   FEATURED CARS
   ============================ */
.featured-section {
  padding: 32px 0 0;
}

.cars-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 16px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cars-scroll::-webkit-scrollbar { display: none; }

/* ============================
   CAR CARDS
   ============================ */
.car-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
  scroll-snap-align: start;
}
.car-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.car-card.compact { width: 200px; }

.car-card-img {
  position: relative;
  overflow: hidden;
  height: 140px;
}
.car-card.compact .car-card-img { height: 130px; }

.car-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.car-card:hover .car-card-img img { transform: scale(1.05); }

.wishlist-btn {
  position: absolute;
  top: 8px; right: 8px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: #666;
  transition: all var(--transition);
  z-index: 2;
}
.wishlist-btn:hover { background: white; color: var(--red); transform: scale(1.1); }

.car-badge {
  position: absolute;
  top: 8px; left: 8px;
  background: var(--red);
  color: white;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font);
  padding: 3px 8px;
  border-radius: 4px;
}

.car-card-info {
  padding: 12px;
}

.car-card-info h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.3;
}

.car-price {
  font-family: var(--font);
  font-weight: 800;
  font-size: 15px;
  color: var(--red);
  margin-bottom: 8px;
}

.car-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}
.car-meta span { display: flex; align-items: center; gap: 4px; }

/* ============================
   TRUST SECTION
   ============================ */
.trust-section {
  background: var(--black);
  padding: 24px 16px;
  margin: 32px 0 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.trust-item.visible { opacity: 1; transform: translateY(0); }

.trust-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-size: 18px;
}

.trust-item span {
  font-family: var(--font);
  font-weight: 600;
  font-size: 11px;
  color: var(--white);
  text-align: center;
  line-height: 1.3;
}

/* ============================
   CATEGORIES
   ============================ */
.categories-section {
  padding: 32px 0 0;
}

.categories-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 16px 20px;
  scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.category-item.visible { opacity: 1; transform: translateY(0); }

.cat-img-wrap {
  width: 72px; height: 56px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.category-item:hover .cat-img-wrap { transform: translateY(-3px); }

.cat-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.category-item span {
  font-family: var(--font);
  font-weight: 600;
  font-size: 12px;
  color: var(--black);
}

/* ============================
   CTA BANNER
   ============================ */
.cta-banner {
  margin: 32px 16px 0;
  background: var(--red);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: 28px 24px 0;
  position: relative;
  min-height: 160px;
}

.cta-content {
  flex: 1;
  z-index: 2;
}

.cta-content h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(20px, 4vw, 32px);
  color: white;
  line-height: 1.2;
  margin-bottom: 20px;
}

.btn-white {
  display: inline-flex; align-items: center;
  background: white;
  color: var(--black);
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 13px;
  transition: all var(--transition);
}
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }

.cta-img {
  width: 180px;
  align-self: flex-end;
  flex-shrink: 0;
}
.cta-img img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

/* ============================
   INVENTORY SECTION
   ============================ */
.inventory-section {
  padding: 40px 0 0;
}

.inventory-count {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  padding: 0 16px;
}

.inventory-grid .car-card {
  width: 100%;
  flex-shrink: unset;
}

.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 48px 0;
  color: var(--text-muted);
}
.no-results i { font-size: 48px; margin-bottom: 16px; color: #ddd; }
.no-results a { color: var(--red); font-weight: 600; }

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-section {
  padding: 40px 0 0;
}

.testimonials-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 16px 20px;
  scrollbar-width: none;
}
.testimonials-scroll::-webkit-scrollbar { display: none; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  min-width: 280px;
  max-width: 340px;
  flex-shrink: 0;
  border-left: 4px solid var(--red);
  position: relative;
}

.testimonial-card::after {
  content: '\201D';
  position: absolute;
  top: 12px; right: 16px;
  font-size: 64px;
  color: #f0f0f0;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.testimonial-top img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.stars { color: #f5a623; font-size: 14px; margin-bottom: 6px; }

.testimonial-top p {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.t-name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================
   ABOUT SECTION
   ============================ */
.about-section {
  padding: 40px 16px;
  background: var(--light);
  margin-top: 32px;
}

.about-content { max-width: 800px; margin: 0 auto; }

.about-content h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(20px, 4vw, 32px);
  color: var(--black);
  margin-bottom: 16px;
}

.about-content > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.about-stats {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.stat.visible { opacity: 1; transform: translateY(0); }

.stat-num {
  font-family: var(--font);
  font-weight: 900;
  font-size: 36px;
  color: var(--red);
  line-height: 1;
}

.stat span:last-child {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

/* ============================
   CONTACT
   ============================ */
.contact-section {
  padding: 40px 16px;
}

.contact-section > h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(20px, 4vw, 32px);
  color: var(--black);
  margin-bottom: 24px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.contact-card.visible { opacity: 1; transform: translateY(0); }

.contact-card > i {
  font-size: 32px;
  color: var(--red);
  margin-bottom: 4px;
}

.contact-card h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  color: var(--black);
}

.contact-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 32px 20px 100px;
}

.footer-top {
  margin-bottom: 20px;
}

.footer-logo {
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 8px;
}
.footer-logo .logo-black { color: var(--white); }

.footer-top p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--red); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

/* ============================
   BOTTOM NAV
   ============================ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  display: flex;
  box-shadow: 0 -2px 20px rgba(0,0,0,0.10);
  z-index: 900;
  padding-bottom: env(safe-area-inset-bottom);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  gap: 3px;
  color: var(--text-muted);
  font-size: 11px;
  font-family: var(--font);
  font-weight: 600;
  transition: color var(--transition);
}

.bottom-nav-item i { font-size: 20px; }
.bottom-nav-item.active { color: var(--red); }
.bottom-nav-item:hover { color: var(--red); }

/* ============================
   FLOATING WHATSAPP
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 999;
  width: 52px; height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

.wa-tooltip {
  position: absolute;
  right: 60px;
  white-space: nowrap;
  background: var(--black);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ============================
   MODAL
   ============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 3000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  background: var(--white);
  width: 100%;
  max-width: 680px;
  max-height: 90svh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  position: relative;
  transform: translateY(100%);
  transition: transform var(--transition);
  scrollbar-width: thin;
}
.modal-overlay.open .modal-panel { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: var(--light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  z-index: 10;
  transition: background var(--transition);
}
.modal-close:hover { background: #e0e0e0; }

.modal-img-wrap {
  height: 240px;
  overflow: hidden;
}
.modal-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.modal-details { padding: 20px; }

.modal-badge {
  display: inline-block;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.modal-details h2 {
  font-family: var(--font);
  font-weight: 900;
  font-size: 22px;
  color: var(--black);
  margin-bottom: 4px;
}
.modal-details h2 span { color: var(--text-muted); font-weight: 600; }

.modal-price {
  font-family: var(--font);
  font-weight: 900;
  font-size: 24px;
  color: var(--red);
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.spec-item {
  background: var(--light);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spec-item i {
  font-size: 16px;
  color: var(--red);
  margin-bottom: 2px;
}

.spec-item span {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.spec-item strong {
  font-size: 13px;
  color: var(--black);
  font-weight: 700;
  font-family: var(--font);
}

.modal-wa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: #25d366;
  color: white;
  padding: 16px;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
  transition: background var(--transition), transform var(--transition);
}
.modal-wa-btn:hover { background: #1ea855; transform: translateY(-1px); }
.modal-wa-btn i { font-size: 20px; }

.modal-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--red);
  color: white;
  padding: 14px;
  border-radius: 12px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.modal-call-btn:hover { background: var(--red-dark); }

/* ============================
   DESKTOP OVERRIDES (PC)
   ============================ */
@media (min-width: 768px) {

  .bottom-nav { display: none; }

  .whatsapp-float { bottom: 30px; right: 30px; width: 60px; height: 60px; font-size: 30px; }

  /* Desktop Navbar */
  .nav-container { padding: 18px 48px; }
  .nav-logo { font-size: 20px; }
  .nav-icons { gap: 12px; }

  /* Desktop Hero */
  .hero-content {
    left: 80px;
    bottom: 160px;
  }

  .hero-content h1 { font-size: 64px; }

  /* Desktop Search */
  .search-section { padding: 0 48px; margin-top: -40px; }
  .search-card { padding: 28px; }
  .search-card h2 { font-size: 22px; }
  .search-filters select { min-width: 160px; }

  /* Desktop Featured */
  .featured-section { padding: 48px 0 0; }
  .section-header { padding: 0 48px; margin-bottom: 20px; }
  .cars-scroll { padding: 4px 48px 24px; gap: 20px; }
  .car-card.compact { width: 240px; }
  .car-card.compact .car-card-img { height: 160px; }

  /* Desktop Trust */
  .trust-section { padding: 32px 48px; }
  .trust-icon { width: 56px; height: 56px; font-size: 22px; }
  .trust-item span { font-size: 13px; }

  /* Desktop Categories */
  .categories-section { padding: 48px 0 0; }
  .categories-scroll { padding: 4px 48px 24px; }
  .cat-img-wrap { width: 100px; height: 76px; }
  .category-item span { font-size: 13px; }

  /* CTA */
  .cta-banner { margin: 48px 48px 0; padding: 36px 48px 0; }
  .cta-img { width: 260px; }

  /* Inventory */
  .inventory-section { padding: 56px 0 0; }
  .inventory-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; padding: 0 48px; }
  .inventory-grid .car-card .car-card-img { height: 180px; }

  /* Testimonials */
  .testimonials-section { padding: 56px 0 0; }
  .testimonials-scroll { padding: 4px 48px 24px; }

  /* About */
  .about-section { padding: 56px 48px; }
  .stat-num { font-size: 48px; }

  /* Contact */
  .contact-section { padding: 56px 48px; }

  /* Footer */
  .footer { padding: 48px 48px 32px; }
  .footer-top { display: flex; justify-content: space-between; align-items: flex-start; }
  .footer-bottom p { text-align: center; }

  /* Modal desktop */
  .modal-overlay { align-items: center; }
  .modal-panel {
    max-height: 90vh;
    border-radius: 20px;
    max-width: 700px;
    width: 95%;
  }
  .modal-img-wrap { height: 320px; }
  .modal-details { padding: 28px; }

  /* Desktop Nav supplement */
  .nav-container .nav-icons::before {
    content: none;
  }
}

@media (min-width: 1024px) {
  .hero-content { left: 120px; }
  .nav-container { padding: 18px 80px; }
  .search-section { padding: 0 80px; }
  .section-header { padding: 0 80px; }
  .cars-scroll { padding: 4px 80px 24px; }
  .categories-scroll { padding: 4px 80px 24px; }
  .testimonials-scroll { padding: 4px 80px 24px; }
  .trust-section { padding: 32px 80px; }
  .cta-banner { margin: 48px 80px 0; }
  .inventory-grid { padding: 0 80px; }
  .about-section { padding: 56px 80px; }
  .contact-section { padding: 56px 80px; }
  .footer { padding: 56px 80px 32px; }

  .inventory-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .car-card.compact { width: 260px; }
  .trust-grid { gap: 24px; }
}

/* ============================
   ANIMATIONS
   ============================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content {
  animation: fadeInUp 0.8s ease 0.2s both;
}

/* Scroll pulse for WA button */
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
}
.whatsapp-float { animation: pulse 2.5s ease infinite; }
