/* ============================================================
   ROOT VARIABLES
============================================================ */
:root {
  --bg: #0f1112;
  --text: rgba(255,255,255,.95);
  --muted: rgba(255,255,255,.65);
  --gold: #d4af37;
  --gold2: #f4e5b0;
  --border: rgba(212,175,55,.25);
  --border2: rgba(212,175,55,.35);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --shadow-md: 0 12px 40px rgba(0,0,0,.45);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.35);
  --radius: 18px;
  --radius-lg: 22px;
  --nav-h: 86px;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 560px at 18% -10%, rgba(212,175,55,.14), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(212,175,55,.08), transparent 55%),
    radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,.04), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h2 { margin: 0 0 18px; font-size: 30px; font-weight: 950; letter-spacing: .2px; }
::selection { background: rgba(212,175,55,.28); }

/* ============================================================
   LAYOUT
============================================================ */
.page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
}

.container,
.panel-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.page-car .container { padding-top: 20px; }

.small { font-size: 15px; color: rgba(255,255,255,.62); }
.dot { margin: 0 8px; opacity: .7; }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--nav-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(8,8,10,.95), rgba(8,8,10,.90));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 1000;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
  letter-spacing: .6px;
  flex-shrink: 0;
  transition: color .2s ease;
}
.brand-name { font-size: 16px; }
.brand:hover { color: var(--gold2); }

.brand-badge {
  width: 80px;
  height: 80px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.35);
}

/* Nav Links */
#siteNav { display: block; }
#primaryNav {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

.navlinks {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 160px;
}

.navlinks a {
  position: relative;
  font-size: 13.5px;
  font-weight: 800;
  color: rgba(255,255,255,.86);
  padding: 10px 2px;
  transition: color .2s ease;
}
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  transition: width .2s ease;
}
.navlinks a:hover { color: var(--gold2); }
.navlinks a:hover::after { width: 100%; }

/* Nav Icons */
.navicons { display: flex; gap: 10px; flex-shrink: 0; }

.navtoggle {
  display: none !important;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gold);
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
  position: relative;
  z-index: 1001;
}

/* Desktop nav always visible */
#siteNav { display: block; }
#primaryNav { display: flex; gap: 20px; align-items: center; justify-content: center; }

/* Icon Buttons */
.iconbtn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(212,175,55,.26);
  background:
    radial-gradient(12px 12px at 30% 25%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(135deg, rgba(212,175,55,.10), rgba(212,175,55,.04));
  color: rgba(230,201,82,.95);
  box-shadow: 0 10px 22px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: .2s cubic-bezier(.34,1.56,.64,1);
}
.iconbtn:hover {
  border-color: rgba(212,175,55,.55);
  color: var(--gold2);
}
.iconbtn.primary {
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold2), var(--gold));
  color: #000;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(212,175,55,.30), 0 12px 30px rgba(0,0,0,.55);
}
.iconbtn.primary:hover { transform: scale(1.02); }
.iconbtn.search-only {
  background: transparent;
  border: none;
  box-shadow: none;
  color: var(--gold);
  font-size: 20px;
  padding: 6px;
}
.iconbtn.search-only:hover { color: var(--gold2); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 4px 0;
  background: var(--gold2);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
============================================================ */
.hero {
  width: 100%;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 84px 20px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.22), rgba(0,0,0,.08)),
    url("./hero.jpg") center 30% / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 35%, rgba(212,175,55,.14), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65));
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero h1 {
  margin: 0 0 14px;
  font-weight: 950;
  letter-spacing: -1px;
  line-height: 1.06;
  font-size: clamp(44px, 6.5vw, 92px);
  background: linear-gradient(135deg, #FFFF99 0%, #FFDD00 50%, #FFB700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}
.hero p {
  margin: 0 auto 26px;
  max-width: 860px;
  font-size: clamp(18px, 2.8vw, 28px);
  color: rgba(255,255,255,.90);
  text-shadow: 0 14px 26px rgba(0,0,0,.55);
}

.page-inventory .hero {
  background: linear-gradient(135deg, rgba(0,0,0,.92), rgba(0,0,0,.75)) !important;
  min-height: auto;
  padding: 48px 0;
}

/* ============================================================
   BUTTONS
============================================================ */
.btnrow {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  font-weight: 850;
  font-size: 14px;
  letter-spacing: .15px;
  cursor: pointer;
  transition: .2s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,.24);
}
.btn:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.16);
}
.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold2), var(--gold));
  color: #000;
  font-weight: 950;
  box-shadow: 0 0 30px rgba(212,175,55,.30), 0 12px 30px rgba(0,0,0,.55);
}
.btn.primary:hover { transform: scale(1.02); }
.btn.full { width: 100%; }
.btn.lg { padding: 16px 32px; font-size: 16px; border-radius: 8px; }
.hero .btn { padding: 16px 40px; font-size: 16px; }

/* FAQ buttons */
.faq-actions { justify-content: center; gap: 8px; }
.faq-actions .btn {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  transition: none;
}
.faq-actions .btn.primary {
  background: transparent;
  border: 1px solid rgba(212,175,55,0.08);
  color: rgba(212,175,55,0.6);
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: none;
}

/* ============================================================
   PANELS & SECTIONS
============================================================ */
.panel {
  width: 100%;
  padding: 48px 0;
  background: transparent;
  border: none;
  box-shadow: none;
}
.panel + .panel { padding-top: 100px; }
section.panel + section.panel { margin-top: 0; }

.panel h2 {
  position: relative;
  padding-bottom: 14px;
}
.panel h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(212,175,55,.9), rgba(212,175,55,0));
  opacity: .65;
}

/* ============================================================
   GRID & CARDS
============================================================ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  gap: 18px;
  justify-content: center;
}
.page-inventory .grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
}

.card {
  border: 1px solid rgba(212,175,55,.15);
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  padding: 0;
  box-shadow: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover {
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 0 12px rgba(212,175,55,.15);
}

.thumb {
  height: 200px;
  background: #ffffff;
  overflow: hidden;
  border-radius: 10px;
  margin: 10px 12px 8px 12px;
  display: block;
  padding: 2px;
  border: 1px solid rgba(0,0,0,0.04);
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.cardbody { padding: 12px 16px 14px; background: transparent; }
.title { margin: 0 0 6px; font-size: 16px; font-weight: 950; }
.title a { color: inherit; text-decoration: none; }
.title a:hover { color: var(--gold2); text-decoration: underline; }
.meta { margin: 6px 0 8px; color: rgba(255,255,255,.62); font-size: 13px; }
.price { margin: 10px 0; font-size: 16px; font-weight: 950; color: var(--gold2); }

/* Card buttons */
.card .cardbody .btnrow { margin-top: 4px; gap: 8px; justify-content: flex-start; }
.card .cardbody .btnrow .btn {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  font-weight: 800;
  box-shadow: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
}
.card .cardbody .btnrow .btn.primary {
  background: transparent;
  border: 1px solid rgba(212,175,55,0.08);
  color: rgba(212,175,55,0.7);
  box-shadow: none;
}

/* ============================================================
   BADGES
============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 8px;
}
.badge.available { border-color: rgba(75,222,121,.45); background: rgba(75,222,121,.12); color: #77ffab; }
.badge.reserved { border-color: rgba(255,196,56,.45); background: rgba(255,196,56,.12); color: #ffd36a; }
.badge.sold { border-color: rgba(255,80,80,.45); background: rgba(255,80,80,.12); color: #ff8a8a; }

/* ============================================================
   TYPE PILLS
============================================================ */
.typebar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
  align-items: center;
}

.type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  transition: .2s ease;
}
.type-item i {
  font-size: 28px;
  color: var(--gold2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.type-item:hover { color: var(--gold2); }

.typepill {
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(212,175,55,.22);
  background: rgba(0,0,0,.22);
  font-weight: 900;
  transition: .2s ease;
}
.typepill:hover {
  border-color: rgba(212,175,55,.55);
  color: var(--gold2);
}

.type-pill {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,215,0,0.4);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.type-pill:hover {
  background: linear-gradient(135deg, #d4af37, #f6e27a);
  color: #000;
  transform: translateY(-3px);
}
.type-pill.active {
  background: linear-gradient(135deg, #d4af37, #f6e27a);
  color: #000;
}

/* ============================================================
   FEATURED CARS SLIDER
============================================================ */
.featured { padding: 40px 0; }
.featured .btnrow { gap: 6px; }

.featured-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 24px) / 4);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 24px 30px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  will-change: scroll-position;
  contain: layout style paint;
}
.featured-track::-webkit-scrollbar { display: none; }
.featured-card { scroll-snap-align: start; }

/* ============================================================
   REVIEWS
============================================================ */
.review-card {
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid rgba(212,175,55,.22);
  background: linear-gradient(135deg, rgba(212,175,55,.06), rgba(0,0,0,.20));
  transition: transform .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 200px;
}
.review-card:hover { 
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.38); 
}
.review-name { font-weight: 950; font-size: 15px; margin-bottom: 8px; }
.review-stars { color: var(--gold2); letter-spacing: 2px; margin-bottom: 10px; }
.review-text { color: rgba(255,255,255,.75); font-style: italic; font-size: 14px; }
.review-text-full { color: rgba(255,255,255,.75); font-style: italic; font-size: 14px; }
.review-text.expandable { cursor: pointer; user-select: none; }
.review-text.expandable:hover { text-decoration: underline; color: rgba(255,255,255,.9); }
.review-card.expanded .review-text { display: none !important; }
.review-card.expanded .review-text-full { display: block !important; }

#reviews .featured-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 24px 20px;
  align-items: stretch;
  margin: 0 -24px;
  width: calc(100% + 48px);
  scrollbar-width: none;
  will-change: scroll-position;
  contain: layout style;
}
#reviews .featured-grid::-webkit-scrollbar { display: none; }
#reviews .featured-grid .review-card {
  flex: 0 0 auto;
  width: 320px;
  scroll-snap-align: start;
}

/* ============================================================
   VISIT / SHOWROOM SECTION
============================================================ */
.visit-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}
.visit-card {
  background: linear-gradient(135deg, rgba(0,0,0,.5), rgba(0,0,0,.3));
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.visit-card:hover {
  border-color: rgba(212,175,55,.45);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
}
.visit-content { display: flex; flex-direction: column; gap: 24px; }
.visit-details { display: flex; flex-direction: column; gap: 18px; }
.detail-item { display: flex; gap: 14px; align-items: flex-start; }
.detail-icon { font-size: 22px; flex-shrink: 0; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; }
.detail-item div { flex: 1; }
.detail-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(212,175,55,.8); font-weight: 700; margin-bottom: 4px; }
.detail-item p { margin: 0; font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.5; }
.visit-contact-section { border-top: 1px solid rgba(212,175,55,.2); padding-top: 20px; margin-top: 8px; }
.visit-contact-label { font-size: 13px; color: rgba(255,255,255,.65); margin: 0 0 8px 0; font-weight: 500; }
.visit-contact-link { display: inline-block; color: var(--gold2); font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; transition: all 0.3s ease; padding: 0; background: none; border: none; }
.visit-contact-link:hover { color: var(--gold); }
.visit-contact-icons { display: flex; gap: 12px; margin-top: 8px; }
.contact-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; font-size: 20px; border-radius: 10px; cursor: pointer; transition: all 0.3s ease; text-decoration: none; border: 2px solid; }
.contact-icon-btn i { font-size: 20px; }
.viber-icon { border-color: rgba(59,89,152,.4); background: rgba(59,89,152,.08); color: #5b72d4; }
.viber-icon:hover { border-color: rgba(59,89,152,.7); background: rgba(59,89,152,.15); color: #6b82e4; transform: translateY(-2px); }
.whatsapp-icon { border-color: rgba(37,211,102,.4); background: rgba(37,211,102,.08); color: #25d366; }
.whatsapp-icon:hover { border-color: rgba(37,211,102,.7); background: rgba(37,211,102,.15); color: #35e376; transform: translateY(-2px); }
.visit-map-wrapper { border-radius: 16px; overflow: hidden; border: 1px solid rgba(212,175,55,.25); box-shadow: 0 12px 32px rgba(0,0,0,.35); height: 100%; min-height: 450px; }
.visit-mapbox { margin-top: 0; border: 0; border-radius: 0; box-shadow: none; height: 100%; }
.visit-mapbox iframe { display: block; width: 100%; height: 100%; }

/* ============================================================
   MAP
============================================================ */
.mapbox {
  margin-top: 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.22);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   OVERLAY / MODAL
============================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 999;
}
.overlaybox {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,175,55,.25);
  background: linear-gradient(135deg, rgba(20,20,28,.95), rgba(12,12,18,.98));
  box-shadow: 0 26px 70px rgba(0,0,0,.55);
  padding: 28px;
}
.input {
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(15,15,22,.70);
  color: var(--text);
}
.input:focus {
  outline: none;
  border-color: rgba(212,175,55,.55);
  box-shadow: 0 0 0 3px rgba(212,175,55,.14);
}

/* ============================================================
   SEARCH OVERLAY
============================================================ */
.search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0b0b0f;
  padding: 30px 0;
  z-index: 9999;
}
.search-overlay.active { display: flex; }

.search-row {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
}
.search-bar-wrap {
  width: 50%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.95);
  background: transparent;
  position: relative;
}
.search-bar-wrap form { flex: 1; position: relative; }
.search-bar-wrap input {
  width: 100%;
  padding: 14px 18px;
  padding-right: 64px;
  border: none;
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 16px;
  outline: none;
  border-radius: 12px;
}
.search-bar-wrap input::placeholder { color: rgba(255,255,255,.6); }
.search-bar-wrap .btn.primary {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: none;
  border: none;
  background: transparent;
  color: var(--gold);
}
.search-close {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  cursor: pointer;
  color: var(--gold);
}

/* ============================================================
   FAQ / ACCORDION
============================================================ */
.accordion {
  margin-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 980px;
}
.accordion-item,
.faq-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: transparent;
}
.accordion-toggle,
.faq-accordion .accordion-toggle {
  width: 100%;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,.92);
  padding: 18px 6px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
}
.accordion-toggle::after,
.faq-accordion .accordion-toggle::after { content: "+"; color: rgba(212,175,55,.9); font-weight: 900; }
.accordion-item.open .accordion-toggle::after,
.faq-accordion .accordion-item.open .accordion-toggle::after { content: "−"; }
.accordion-panel,
.faq-accordion .accordion-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 6px;
  transition: max-height .35s ease, padding .25s ease;
}
.accordion-item.open .accordion-panel,
.faq-accordion .accordion-item.open .accordion-panel { padding: 0 6px 18px; }
.accordion-panel p { margin: 0; color: rgba(255,255,255,.70); line-height: 1.6; }
.faq-accordion .accordion-panel p { color: rgba(255,255,255,.72); line-height: 1.65; font-size: 14px; }
.faq-actions { justify-content: flex-start; margin-top: 10px; }
.faq-mobile-actions { display: none; gap: 10px; margin: 10px 0 18px; }

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.about-thumb {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(212,175,55,.25);
  background: rgba(0,0,0,.35);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
}
.about-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.about-thumb:hover img { transform: scale(1.05); }
.about-copy { max-width: 520px; }
.about-lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.95); margin-bottom: 14px; }
.about-copy p { color: rgba(255,255,255,.70); }
.about-actions { justify-content: flex-start; margin-top: 18px; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  width: 100%;
  padding: 30px 0;
  background: rgba(0,0,0,.95);
  margin-top: auto;
  flex-shrink: 0;
}
.footer a { color: rgba(255,255,255,.82); }
.footer a:hover { color: var(--gold2); text-decoration: none; }

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.footer-top-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  margin-bottom: 25px;
}
.footer-logo-box { flex-shrink: 0; width: 100px; height: 70px; display: flex; align-items: center; justify-content: center; background: transparent; }
.footer-logo { max-width: 95%; max-height: 95%; object-fit: contain; }
.footer-center { flex: 1; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.inquire-heading { font-size: 16px; font-weight: 700; color: var(--gold); letter-spacing: 1px; }
.footer-social-icons { display: flex; gap: 12px; justify-content: center; align-items: center; }
.icon-circle { width: 36px; height: 36px; border: 1.5px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); transition: all 0.3s ease; }
.icon-circle:hover { background: var(--gold); color: #000; }
.icon-circle svg { width: 18px; height: 18px; fill: currentColor; }
.footer-links-right { flex-shrink: 0; text-align: right; display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 12px; }
.footer-links-right a { color: rgba(255,255,255,.82); transition: color 0.3s ease; }
.footer-links-right a:hover { color: var(--gold2); }
.link-divider { color: rgba(255,255,255,.5); }
.footer-bottom-section { background: rgba(0,0,0,.3); padding: 16px 40px; border-top: 1px solid rgba(212,175,55,.2); text-align: center; }
.footer-description { margin: 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.8); }
.footer-description strong { color: var(--gold); font-weight: 600; }

/* ============================================================
   CAR DETAIL PAGE
============================================================ */
.car-layout {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
  margin-top: 30px;
}

.car-gallery {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* ===== MAIN IMAGE - DESKTOP ===== */
.main-image-wrapper {
  width: 100%;
  height: 500px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,.35);
}
.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ===== THUMBNAILS ===== */
.thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  position: relative;
}
.thumbs-track {
  display: flex;
  gap: 12px;
  overflow: hidden;
  scroll-behavior: smooth;
  flex: 1;
}
.car-gallery .thumb {
  width: 110px;
  height: 75px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  opacity: .6;
  transition: all .25s ease;
  flex-shrink: 0;
  border: 2px solid transparent;
}
.thumb:hover { opacity: 1; transform: scale(1.05); }
.thumb.active { opacity: 1; border: 2px solid var(--gold2); }

/* ===== ARROWS ===== */
.thumb-arrow {
  background: #1a1d24;
  border: 1px solid rgba(212,175,55,.4);
  color: var(--gold2);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: .2s;
}
.thumb-arrow:hover { background: rgba(212,175,55,.2); }

/* ===== CAR SIDEBAR ===== */
.car-sidebar { display: flex; flex-direction: column; gap: 20px; }

.card-box {
  background: #111318;
  padding: 22px;
  border-radius: 18px;
  border: 1.5px solid rgba(212,175,55,.3);
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.price-card h2 { margin: 0 0 6px; }
.price-card .small { margin: 0; font-size: 20px; font-weight: 800; color: var(--text); line-height: 1.1; }
.submeta { color: #aaa; font-size: 14px; margin-bottom: 16px; }
.big-price { font-size: 28px; font-weight: 900; margin-bottom: 16px; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spec-grid span { display: block; font-size: 13px; color: #aaa; }
.spec-grid strong { font-size: 16px; }

.comp-card h3 { margin-top: 0; }
.comp-title { margin: 0 0 10px 0; text-align: left; font-size: 18px; font-weight: 900; letter-spacing: 0.6px; }
.dp-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dp-amount { font-size: 20px; font-weight: 900; color: var(--gold2); }
.dp-note { font-size: 13px; color: var(--muted); font-weight: 400; }
.compline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.term { color: var(--muted); font-weight: 600; }
.price-wrap { display: flex; align-items: center; gap: 8px; }
.amount { font-weight: 900; color: var(--gold2); }
.per-month { font-weight: 600; color: var(--text); }

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  .visit-container { grid-template-columns: 1fr; gap: 18px; }
  .visit-card { padding: 24px; }
  .visit-map-wrapper { min-height: 380px; }
  .featured-track { grid-auto-columns: calc((100% - 24px) / 2.2); }
}

/* ============================================================
   RESPONSIVE — TABLET/NAV (max 992px)
============================================================ */
@media (max-width: 992px) {
  .car-layout { grid-template-columns: 1fr; gap: 24px; }
  .car-sidebar { gap: 16px; }
  .card-box { padding: 18px; }
  .footer-top-section { flex-direction: column; gap: 15px; align-items: center; margin-bottom: 15px; }
  .footer-links-right { flex-direction: row; text-align: center; }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV (max 900px)
============================================================ */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .navtoggle { display: flex; }
  .navlinks {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100vw;
    background: rgba(8,8,10,0.98);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 0 16px 0;
    border-bottom: 1px solid rgba(212,175,55,.12);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    z-index: 1200;
    display: none;
    pointer-events: auto;
  }
  .navlinks.open { display: flex; }
  .navlinks a { width: 100%; padding: 16px 24px; border-bottom: 1px solid rgba(212,175,55,.08); font-size: 18px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .about-wrap { grid-template-columns: 1fr; text-align: center; }
  .about-actions { justify-content: center; }
  .about-copy { max-width: 100%; }
  .faq-mobile-actions { display: flex; justify-content: center; align-items: center; }
  .faq-mobile-actions .btn { padding: 10px 12px; font-size: 14px; border-radius: 8px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
============================================================ */
@media (max-width: 768px) {

  /* Nav */
  .brand > div:not(.brand-badge) { display: none; }
  .navtoggle { display: inline-flex !important; }
  .nav-inner { flex-wrap: nowrap; padding: 10px 14px; }
  .nav-right { margin-left: auto; }
  #siteNav {
    display: none;
    width: 100%;
    background: rgba(0,0,0,.92);
    border-top: 1px solid rgba(255,255,255,.08);
    position: absolute;
    left: 0;
    top: 100%;
  }
  #siteNav.open { display: block; }
  #primaryNav { flex-direction: column; align-items: flex-start; gap: 12px; padding: 14px 16px 18px; }

  /* Grid */
  .grid { grid-template-columns: 1fr; }

  /* Search */
  .search-bar-wrap { width: 92%; }
  .search-bar-wrap .btn.primary { width: 36px; height: 36px; right: 6px; }

  /* Featured slider */
  .featured-grid {
    display: flex !important;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 20px;
    padding: 6px 20px 14px;
    margin: 0 -20px;
    scrollbar-width: none;
    will-change: scroll-position;
    contain: layout style;
  }
  .featured-grid::-webkit-scrollbar { display: none; }
  .featured-grid .card { flex: 0 0 auto; width: min(78vw, 320px); scroll-snap-align: start; }
  .featured .btnrow .btn { padding: 8px 10px; font-size: 12px; }

  /* Reviews */
  .review-card { padding: 16px; }
  .review-card:hover { transform: none; }
  .review-name { font-size: 13px; margin-bottom: 6px; }
  .review-stars { font-size: 12px; margin-bottom: 8px; }
  .review-text, .review-text-full { font-size: 13px; line-height: 1.6; }
  .review-text.expandable:active { color: rgba(212,175,55,.8); }
  #reviews .featured-grid { margin: 0 -20px; width: calc(100% + 40px); padding: 6px 20px 14px; }
  #reviews .featured-grid .review-card { width: min(78vw, 320px); }

  /* Footer */
  .footer-top-section { gap: 12px; }
  .footer-logo-box { width: 80px; height: 60px; }
  .inquire-heading { font-size: 14px; }
  .footer-social-icons { gap: 10px; }
  .icon-circle { width: 32px; height: 32px; }
  .footer-description { font-size: 11px; }

  /* Car detail */
  .car-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    gap: 16px;
    margin-top: 16px;
  }
  .car-gallery { width: 100%; max-width: 100%; overflow: hidden; }

  /* ===== MAIN IMAGE - MOBILE ===== */
  .main-image-wrapper {
    width: 100%;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
  }
  .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }

  /* Thumbnails mobile */
  .thumbs {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }
  .thumbs::-webkit-scrollbar { height: 6px; }
  .thumbs::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 10px; }
  .thumbs::-webkit-scrollbar-thumb { background: rgba(212,175,55,.4); border-radius: 10px; }
  .thumbs::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,.6); }
  .thumbs button { flex-shrink: 0; }
  .thumbs-wrapper { margin-top: 12px; }
  .thumbs-track { gap: 8px; }
  .car-gallery .thumb { width: 80px; height: 58px; }

  /* Specs */
  .price-card .small { font-size: 16px; }
  .submeta { font-size: 13px; }
  .spec-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Inventory list view */
  .page-inventory .grid { display: flex; flex-direction: column; gap: 18px; }
  .page-inventory .card { display: flex; flex-direction: row; align-items: flex-start; gap: 14px; max-width: 100%; padding: 12px; }
  .page-inventory .thumb { width: 115px; height: 85px; margin: 0; border-radius: 12px; flex-shrink: 0; }
  .page-inventory .thumb img { border-radius: 12px; }
  .page-inventory .cardbody { padding: 0; flex: 1; }
  .page-inventory .title { font-size: 15px; line-height: 1.3; margin-bottom: 4px; }
  .page-inventory .meta { font-size: 12px; margin: 4px 0; }
  .page-inventory .price { font-size: 15px; margin-top: 6px; }
  .page-inventory .btnrow { display: none; }

  /* Visit section */
  .visit-card { padding: 20px; }
  .visit-details { gap: 14px; }
  .detail-item { gap: 10px; }
  .detail-label { font-size: 11px; }
  .detail-item p { font-size: 13px; }
  .visit-contact-label { font-size: 12px; }
  .visit-contact-link { font-size: 14px; }
  .contact-icon-btn { width: 36px; height: 36px; font-size: 18px; }
  .visit-map-wrapper { min-height: 300px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 600px)
============================================================ */
@media (max-width: 600px) {
  .price-card .small { font-size: 16px; }
  .featured-track { grid-auto-columns: 85%; }
  .featured .btnrow .btn { padding: 8px 10px; font-size: 12px; }
  .visit-card { padding: 20px; }
}