/* ========================================
   BYD Antasari — Main Stylesheet
   ======================================== */

/* === CSS Custom Properties === */
:root {
  --color-black: #0a0a0a;
  --color-dark: #1a1a1a;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  --color-primary: #1a1a1a;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --header-height: 72px;
  --container-max: 1280px;
  --container-padding: clamp(1rem, 5vw, 4rem);

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

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  --z-header: 1000;
  --z-dropdown: 999;
  --z-floating: 900;
  --z-overlay: 800;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-900);
  background: var(--color-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

ul {
  list-style: none;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  text-transform: uppercase;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-gray-800);
  border-color: var(--color-gray-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-white);
  color: var(--color-black);
  transform: translateY(-1px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-outline-dark:hover,
.btn-outline-dark:focus-visible {
  background: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  border: 2px solid var(--color-whatsapp);
  font-size: 1rem;
  padding: 14px 32px;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* === Header (DARK DEFAULT) === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-header);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Header dark variant (explicit class for subpages) */
.header.dark {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

.logo-text strong {
  color: #fff;
  font-weight: 700;
}

/* === Nav === */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link,
.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover,
.dropdown-trigger:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.chevron {
  transition: transform var(--transition-normal);
}

.has-dropdown.open .chevron {
  transform: rotate(180deg);
}

.has-dropdown.open > .dropdown-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* === Dropdowns === */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-gray-200);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: var(--z-dropdown);
}

.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

/* Model Dropdown */
.model-dropdown {
  width: 720px;
  padding: 20px;
}

.model-dropdown .dropdown-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.model-card:hover {
  background: var(--color-gray-50);
}

.model-card img {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.model-card span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-700);
  text-align: center;
}

/* Simple Dropdown (Aftersales) */
.simple-dropdown {
  min-width: 240px;
  padding: 8px;
}

.simple-dropdown a {
  display: block;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.simple-dropdown a:hover {
  background: var(--color-gray-50);
  color: var(--color-black);
}

/* === Hamburger Menu === */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hide desktop hamburger, keep only mobile X transform */
.nav-toggle {
  display: none;
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: var(--color-black);
  margin-top: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.hero-slide picture,
.hero-slide picture img {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 3;
  max-width: 700px;
  padding: 0 1.5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-weight: 400;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

/* Slider Controls */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  color: var(--color-white);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.dot.active {
  background: var(--color-white);
  width: 28px;
  border-radius: 5px;
}

/* ========================================
   CAR SHOWCASE SECTIONS
   ======================================== */
.car-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.car-bg-wrap {
  position: absolute;
  inset: 0;
}

.car-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.car-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.car-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.car-name {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.car-tagline {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.car-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   INFO SECTIONS (DM Tech, About, Contact)
   ======================================== */
.info-section {
  padding: 100px var(--container-padding);
  text-align: center;
}

.info-container {
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: 32px;
}

/* DM Tech Section */
.dm-tech-section {
  background: var(--color-gray-50);
}

/* Aftersales Section */
.aftersales-section {
  background: var(--color-white);
}

.aftersales-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
  margin-top: 40px;
}

.aftersales-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition-normal);
}

.aftersales-card:hover {
  border-color: var(--color-gray-300);
  box-shadow: var(--shadow-md);
}

.aftersales-icon {
  color: var(--color-black);
  margin-bottom: 16px;
}

.aftersales-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-black);
}

.aftersales-card p {
  font-size: 0.925rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  margin-bottom: 16px;
}

.text-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
  transition: all var(--transition-fast);
}

.text-link:hover {
  opacity: 0.7;
}

/* About Section */
.about-section {
  background: var(--color-gray-50);
}

/* Pricelist Section */
.pricelist-section {
  background: var(--color-black);
  color: var(--color-white);
}

.pricelist-section .section-title {
  color: var(--color-white);
}

.pricelist-section .section-desc {
  color: rgba(255, 255, 255, 0.75);
}

/* Contact Section */
.contact-section {
  background: var(--color-white);
  padding-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  text-align: left;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 14px;
  color: var(--color-gray-600);
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-black);
}

.contact-item strong {
  display: block;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.925rem;
  line-height: 1.55;
}

.contact-item a {
  color: var(--color-black);
  font-weight: 600;
  border-bottom: 1px solid var(--color-black);
}

.contact-item a:hover {
  opacity: 0.7;
}

.contact-cta {
  background: var(--color-black);
  color: var(--color-white);
  padding: 40px;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.65;
}

/* ========================================
   EXPLORE MORE
   ======================================== */
.explore-section {
  padding: 0;
}

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.explore-card {
  position: relative;
  overflow: hidden;
  height: 400px;
  display: block;
}

.explore-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.explore-card:hover img {
  transform: scale(1.05);
}

.explore-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.35);
  transition: background var(--transition-normal);
}

.explore-card:hover .explore-card-content {
  background: rgba(0, 0, 0, 0.45);
}

.explore-card-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

/* ========================================
   BOTTOM BANNER
   ======================================== */
.bottom-banner {
  position: relative;
  width: 100%;
  min-height: 400px;
  overflow: hidden;
}

.bottom-banner picture,
.bottom-banner img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.bottom-banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  color: var(--color-white);
  padding: 2rem;
}

.bottom-banner-overlay h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.bottom-banner-overlay p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
}

/* ========================================
   FLOATING WHATSAPP
   ======================================== */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: var(--z-floating);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-whatsapp);
  color: var(--color-white);
  padding: 14px 22px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  background: var(--color-whatsapp-dark);
}

.floating-wa-text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 60px var(--container-padding) 30px;
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--color-gray-400);
}

.footer-brand strong {
  color: var(--color-white);
  font-weight: 700;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.follow-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-gray-400);
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all var(--transition-fast);
  opacity: 0.7;
}

.social-links a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
}

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

.footer-links a {
  font-size: 0.8125rem;
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
  line-height: 1.8;
}

.footer-address {
  color: var(--color-gray-600);
}

/* ========================================
   RESPONSIVE — TABLET
   ======================================== */
@media (max-width: 1024px) {
  /* Nav */
  .nav-link,
  .dropdown-trigger {
    font-size: 0.75rem;
    padding: 8px 10px;
  }

  /* Model dropdown */
  .model-dropdown {
    width: 560px;
  }

  .model-dropdown .dropdown-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Car section */
  .car-section {
    min-height: 70vh;
  }

  /* Explore */
  .explore-card {
    height: 300px;
  }

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

  /* Aftersales */
  .aftersales-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   RESPONSIVE — MOBILE
   ======================================== */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  /* Header */
  .header-inner {
    padding: 0 1rem;
  }

  .logo-text {
    display: none;
  }

  /* Hamburger */
  .nav-toggle {
    display: flex;
  }

  /* Mobile Nav — Sidebar Drawer */
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 88%;
    max-width: 420px;
    height: 100vh;
    height: 100dvh;
    background: #0a0a0a;
    flex-direction: column;
    padding: 72px 0 30px;
    transition: right 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
    overflow-y: auto;
    z-index: 1000;
  }

  .header-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0 20px;
  }

  .nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-link,
  .dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 16px 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 0;
    color: #fff;
  }

  .nav-link:hover,
  .dropdown-trigger:hover {
    background: transparent;
    color: #fff;
  }

  /* Accordion Dropdowns */
  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(255,255,255,0.03);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .has-dropdown.open .dropdown {
    max-height: 1200px;
    padding-top: 8px;
    padding-bottom: 12px;
  }

  /* Chevron rotation */
  .dropdown-trigger .chevron {
    transition: transform 0.3s ease;
  }

  .has-dropdown.open > .dropdown-trigger .chevron {
    transform: rotate(180deg);
  }

  /* MODEL dropdown — grid card style */
  .model-dropdown {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .model-dropdown .dropdown-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 4px 8px;
  }

  .model-card {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 14px 10px;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.06);
    transition: background 0.2s;
  }

  .model-card span {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
  }

  .model-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
  }

  .model-card:hover span {
    color: #fff;
  }

  .model-card img {
    width: 100px;
    height: auto;
    margin: 0 auto;
  }

  /* AFTERSALES dropdown — stacked list */
  .simple-dropdown {
    min-width: auto;
    width: 100%;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .simple-dropdown a {
    display: block;
    color: rgba(255,255,255,0.7);
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s;
    text-align: left;
  }

  .simple-dropdown a:hover,
  .simple-dropdown a:active {
    background: rgba(255,255,255,0.06);
    color: #fff;
    padding-left: 24px;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Hero */
  .hero-slider {
    height: 70vh;
    min-height: 480px;
  }

  .hero-content {
    bottom: 20%;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }

  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }

  /* Car sections */
  .car-section {
    min-height: 60vh;
  }

  .car-buttons {
    flex-direction: column;
    align-items: center;
  }

  .car-buttons .btn {
    width: 220px;
  }

  /* Explore */
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .explore-card {
    height: 250px;
  }

  /* Info sections */
  .info-section {
    padding: 60px 1.25rem;
  }

  /* Contact */
  .contact-cta {
    padding: 28px;
  }

  /* Floating WA */
  .floating-wa {
    bottom: 20px;
    right: 16px;
    padding: 12px 18px;
  }

  .floating-wa-text {
    font-size: 0.75rem;
  }

  /* Footer */
  .footer {
    padding: 40px 1rem 24px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 16px;
  }
}

/* ========================================
   RESPONSIVE — SMALL MOBILE
   ======================================== */
@media (max-width: 480px) {
  .hero-slider {
    height: 55vh;
    min-height: 380px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-desc {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.8125rem;
  }

  .car-name {
    font-size: 1.6rem;
  }

  .car-section {
    min-height: 50vh;
  }

  .car-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

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

  .model-card img {
    width: 70px;
  }

  .footer-social {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

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

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   SUBPAGE STYLES (about-byd, pricelist)
   ======================================== */

/* Page Hero */
.page-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  overflow: hidden;
  margin-top: var(--header-height);
}

.page-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.page-hero-overlay h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.page-hero-overlay p {
  font-size: 1.05rem;
  opacity: 0.85;
}

/* Page Content Container */
.page-content {
  padding: 80px var(--container-padding);
}

.page-container {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Content Block */
.content-block {
  margin-bottom: 60px;
}

.content-block h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.content-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 12px;
  margin-top: 32px;
}

.content-block p {
  font-size: 1.025rem;
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-block .btn {
  margin-top: 8px;
}

/* Feature List */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}

.feature-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--color-gray-600);
  font-size: 0.975rem;
  line-height: 1.5;
}

.feature-list li::before {
  content: '▸';
  position: absolute;
  left: 4px;
  color: var(--color-black);
  font-weight: 700;
}

/* Content Grid (2 columns) */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 32px 0 60px;
}

/* Content Card */
.content-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
}

.content-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 12px;
}

.content-card p {
  font-size: 0.925rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  margin-bottom: 8px;
}

.content-card .feature-list li {
  font-size: 0.9rem;
}

/* Highlight Box */
.highlight-box {
  background: #f9fafb;
  border-left: 4px solid var(--color-black);
  padding: 28px 32px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* CTA Section */
.cta-section {
  background: var(--color-black);
  padding: 80px var(--container-padding);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 28px;
}

/* Responsive: content grid 1-col on mobile */
@media (max-width: 768px) {
  .page-hero {
    height: 35vh;
    min-height: 260px;
  }

  .page-content {
    padding: 48px 1.25rem;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-block {
    margin-bottom: 40px;
  }

  .highlight-box {
    padding: 20px;
  }

  .cta-section {
    padding: 60px 1.25rem;
  }
}

/* ========================================
   ORDER MODAL
   ======================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: #e0e0e0;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-col { padding: 40px; }

.modal-col-left {
  background: #f9fafb;
  border-radius: 20px 0 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-car-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}

.modal-car-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
  isolation: isolate;
  line-height: 0;
}

.modal-car-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: transparent;
  mix-blend-mode: multiply;
  opacity: 0.45;
  border-radius: 4px;
  pointer-events: none;
  display: none;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.modal-color-section { text-align: center; }

.modal-color-section h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.color-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-swatch:hover { transform: scale(1.05); }

.color-swatch.selected .swatch-dot { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #0a0a0a; }

.swatch-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.1);
  transition: box-shadow 0.2s;
}

.swatch-label {
  font-size: 0.7rem;
  color: #666;
  text-align: center;
  max-width: 60px;
  line-height: 1.2;
}

.modal-col-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-col-right h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.modal-variant-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.variant-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.variant-option:hover {
  border-color: #aaa;
}

.variant-option.selected {
  border-color: #0a0a0a;
  background: #fafafa;
}

.variant-option .variant-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1a1a1a;
}

.variant-option .variant-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0a0a0a;
}

.modal-price-display {
  text-align: center;
  margin: 4px 0 20px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #0a0a0a;
}

.btn-lg {
  padding: 16px 32px !important;
  font-size: 1rem !important;
}

.modal-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #999;
  text-align: center;
}

/* Mobile Modal */
@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-col-left {
    border-radius: 20px 20px 0 0;
    padding: 28px 20px;
  }

  .modal-col-right {
    padding: 24px 20px 32px;
  }

  .modal-col-right h2 {
    font-size: 1.3rem;
  }

  .modal-car-img {
    max-width: 220px;
    margin-bottom: 16px;
  }

  .swatch-dot {
    width: 30px;
    height: 30px;
  }
}
