/* ─── Shared tokens (identical to original palette) ───── */
:root {
  --blue:      #60a5fa;
  --blue-deep: #3b82f6;
  --blue-bg:   rgba(59,130,246,.14);
  --blue-brd:  rgba(59,130,246,.55);
  --ink:       #020617;
  --navy:      #0f172a;
  --panel:     #111827;
  --text-1:    #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #cbd5e1;
  --brd:       rgba(255,255,255,.1);
  --brd-hover: rgba(255,255,255,.18);
  --blur-bg:   rgba(2,6,23,.72);
  --radius-sm: .75rem;
  --radius-md: 1.2rem;
  --radius-lg: 1.6rem;
  --radius-xl: 2rem;
  --py:        5rem;
}

/* ─── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text-1); -webkit-font-smoothing: antialiased; }
img  { display: block; width: 100%; height: 100%; object-fit: cover; }
a    { text-decoration: none; color: inherit; }

/* ─── Page wrapper ──────────────────────────────────────── */
.page-wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 3rem);
}

/* ─── Shared typography ─────────────────────────────────── */
.section-kicker {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-1);
  margin-top: .6rem;
}

/* ─── Shared buttons ────────────────────────────────────── */
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  background: var(--blue-deep);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.primary-btn:hover { background: #2563eb; transform: translateY(-2px); }

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.6rem;
  background: transparent;
  color: var(--text-1);
  font-weight: 700;
  font-size: .9rem;
  border: 1px solid var(--brd-hover);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  white-space: nowrap;
}
.secondary-btn:hover { border-color: var(--blue-brd); background: var(--blue-bg); }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  background: rgba(255,255,255,.06);
  color: var(--text-1);
  font-weight: 700;
  font-size: .9rem;
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}
.ghost-btn:hover { background: rgba(255,255,255,.1); border-color: var(--brd-hover); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--brd);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--blue-brd); color: var(--blue); }

.btn-ico { width: 16px; height: 16px; flex-shrink: 0; }

/* ─── Shared card ───────────────────────────────────────── */
.premium-card {
  background: rgba(15,23,42,.85);
  border: 1px solid var(--brd);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
}

.premium-input {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--brd);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-size: .9rem;
  padding: .7rem 1rem;
  outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.premium-input::placeholder { color: var(--text-2); }
.premium-input:focus { border-color: var(--blue-brd); }

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

/* media */
.hero-media, .hero-video, .hero-image, .hero-overlay {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-video, .hero-image { object-fit: cover; }
.hero-image { display: none; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,6,23,.95) 0%, rgba(15,23,42,.7) 45%, rgba(15,23,42,.15) 100%),
    linear-gradient(0deg, #020617 0%, transparent 40%);
}
@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-image { display: block; }
  .hero-overlay {
    background:
      linear-gradient(0deg, #020617 0%, rgba(2,6,23,.88) 45%, rgba(2,6,23,.5) 100%);
  }
}

/* content layer */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(7rem,14vh,10rem) clamp(1rem,4vw,3rem) clamp(3rem,6vh,5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 3rem;
}

/* hero left */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem 1.1rem;
  border: 1px solid rgba(96,165,250,.3);
  border-radius: 999px;
  background: rgba(59,130,246,.1);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #93c5fd;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px var(--blue);
  flex-shrink: 0;
}

.hero-h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  color: #fff;
}

.hero-h1-accent { color: #93c5fd; }

.hero-p {
  font-size: clamp(.95rem, 2vw, 1.1rem);
  color: var(--text-2);
  line-height: 1.75;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* hero right: vertical stat stack */
.hero-right { align-self: center; }

.stat-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  background: rgba(15,23,42,.7);
  border: 1px solid var(--brd);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(18px);
  padding: .5rem 0;
  min-width: 140px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.2rem 1.6rem;
  gap: .2rem;
  text-align: center;
}

.stat-item strong {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-item span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
}

.stat-divider {
  width: 60%;
  height: 1px;
  background: var(--brd);
}

.stat-cta-item { gap: .5rem; }

.stat-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  background: var(--blue-deep);
  border-radius: 50%;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.stat-arrow-btn:hover { background: #2563eb; transform: translateY(3px); }

/* ─── HERO MOBILE ─── */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
  }

  .hero-media,
  .hero-video,
  .hero-image,
  .hero-overlay {
    position: absolute;
    min-height: 100%;
  }

  .hero-image {
    object-position: center top;
  }

  .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding-top: 5.75rem;
    padding-bottom: 2rem;
    gap: 1.5rem;
  }

  .hero-right { display: none; }  /* hidden on mobile — stats move below */

  .hero-left { gap: 1.05rem; }

  .hero-badge {
    max-width: 100%;
    white-space: normal;
  }

  .hero-h1 {
    font-size: clamp(2.7rem, 12vw, 3.6rem);
    line-height: .96;
  }

  .hero-p {
    max-width: 22rem;
  }

  /* Mobile stat row under hero */
  .hero-mobile-stats {
    display: flex;
    overflow-x: auto;
    gap: .75rem;
    padding: 0 clamp(1rem,4vw,3rem) 1.5rem;
    scrollbar-width: none;
  }
  .hero-mobile-stats::-webkit-scrollbar { display: none; }

  .hmstat {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    background: rgba(15,23,42,.8);
    border: 1px solid var(--brd);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    min-width: 130px;
    backdrop-filter: blur(12px);
  }
  .hmstat strong { font-size: 1.4rem; font-weight: 800; color: #fff; line-height: 1; }
  .hmstat span { font-size: .67rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text-2); }
}

@media (min-width: 768px) {
  .hero-mobile-stats { display: none; }
}

/* ════════════════════════════════════════════════════════
   CATEGORY STRIP
════════════════════════════════════════════════════════ */
.cat-strip {
  padding: 2.5rem 0;
  background: rgba(15,23,42,.6);
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
}

.cat-strip .page-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cat-strip .page-wrap { flex-direction: row; align-items: center; gap: 2rem; }
}

.cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--brd);
  border-radius: 999px;
  color: var(--text-3);
  font-size: .85rem;
  font-weight: 700;
  transition: border-color .2s, background .2s, color .2s;
}
.cat-pill:hover { border-color: var(--blue-brd); background: var(--blue-bg); color: #fff; }

.cat-ico { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════
   INVENTORY SECTION
════════════════════════════════════════════════════════ */
#inventory {
  padding: var(--py) 0;
  background: rgba(2,6,23,.25);
}

/* Filter bar */
.filter-bar {
  background: rgba(15,23,42,.8);
  border: 1px solid var(--brd);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  margin-bottom: 3.5rem;
  backdrop-filter: blur(12px);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1 1 140px;
}

.filter-field label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-2);
}

.filter-btns {
  display: flex;
  gap: .5rem;
  align-items: flex-end;
  flex-shrink: 0;
}

/* Mobile filter: stack */
@media (max-width: 639px) {
  .filter-row { flex-direction: column; }
  .filter-field { flex: unset; width: 100%; }
  .filter-btns { width: 100%; }
  .filter-btns .primary-btn { flex: 1; justify-content: center; }
}

/* Inventory header */
.inv-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .inv-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.inv-meta { text-align: right; }
@media (max-width: 767px) { .inv-meta { text-align: left; } }

.inv-count {
  display: inline-block;
  background: rgba(59,130,246,.12);
  border: 1px solid rgba(59,130,246,.3);
  color: #93c5fd;
  font-size: .8rem;
  font-weight: 800;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: .4rem;
}

.inv-meta > p { font-size: .85rem; color: var(--text-2); max-width: 280px; }

/* Car cards — identical to original */
.car-item { display: block; }
.car-item.hidden-item { display: none; }
.show-all .car-item.hidden-item { display: block; animation: reveal .45s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.car-card {
  overflow: hidden;
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(2,6,23,.28);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.car-card:hover { transform: translateY(-7px); border-color: var(--blue-brd); box-shadow: 0 30px 90px rgba(2,6,23,.42); }

.car-image-wrap { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #020617; }
.car-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.car-card:hover .car-image-wrap img { transform: scale(1.07); }

.car-badge, .favorite-btn, .car-view { position: absolute; z-index: 2; }

.car-badge {
  left: 1rem; top: 1rem;
  border-radius: 999px;
  background: var(--blur-bg);
  border: 1px solid var(--brd-hover);
  color: white;
  font-size: .78rem;
  font-weight: 800;
  padding: .45rem .75rem;
  backdrop-filter: blur(12px);
}

.favorite-btn {
  right: 1rem; top: 1rem;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid var(--brd-hover);
  border-radius: 999px;
  background: var(--blur-bg);
  color: white;
  backdrop-filter: blur(12px);
}

.car-view {
  left: 1rem; right: 1rem; bottom: 1rem;
  border-radius: 999px;
  background: rgba(59,130,246,.95);
  color: white;
  font-size: .82rem;
  font-weight: 800;
  padding: .75rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}
.car-card:hover .car-view { opacity: 1; transform: translateY(0); }

.car-card h3 { color: white; font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.car-card p  { margin-top: .25rem; color: var(--text-2); font-size: .9rem; }
.car-card strong { color: #93c5fd; font-size: 1.12rem; white-space: nowrap; }

.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .7rem; border-top: 1px solid var(--brd); padding-top: 1rem; }
.spec-grid span { display: flex; align-items: center; gap: .45rem; min-width: 0; color: var(--text-3); font-size: .86rem; }
.spec-grid svg { width: 1rem; height: 1rem; flex: none; color: var(--blue); }

.load-more { margin-top: 3rem; text-align: center; }

/* ════════════════════════════════════════════════════════
   TRUST
════════════════════════════════════════════════════════ */
.trust-section {
  padding: var(--py) 0;
  background: rgba(15,23,42,.5);
}

.trust-label-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.trust-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--brd), transparent);
}

.trust-ticker {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 1024px) { .trust-ticker { grid-template-columns: repeat(4, 1fr); } }

/* identical styles from original */
.trust-card {
  border: 1px solid var(--brd);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17,24,39,.9), rgba(15,23,42,.9));
  padding: 1.5rem;
  transition: transform .25s ease, border-color .25s ease;
}
.trust-card:hover { transform: translateY(-5px); border-color: var(--blue-brd); }
.trust-card svg { color: var(--blue); width: 2rem; height: 2rem; }
.trust-card h3 { margin-top: 1.25rem; color: white; font-size: 1.08rem; font-weight: 800; }
.trust-card p  { margin-top: .65rem; color: var(--text-2); line-height: 1.7; }

@media (max-width: 479px) {
  .trust-ticker { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════ */
.about-section { padding: var(--py) 0; }

.about-wrap {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-wrap { grid-template-columns: 1fr 1fr; gap: 5rem; }
}

/* identical media styles from original */
.about-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 34rem;
  border: 1px solid var(--brd);
}
.about-media img { width: 100%; height: 100%; min-height: 34rem; object-fit: cover; }
.about-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(2,6,23,.55), transparent);
}

.about-float {
  position: absolute;
  left: 1.25rem; bottom: 1.25rem; z-index: 2;
  max-width: 14rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--brd-hover);
  background: var(--blur-bg);
  padding: 1.2rem;
  backdrop-filter: blur(14px);
}
.about-float strong { display: block; color: white; font-size: 2.5rem; font-weight: 800; line-height: 1; }
.about-float span   { color: var(--text-3); font-size: .88rem; }

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-desc { font-size: 1rem; color: var(--text-2); line-height: 1.8; }

/* mini-stats identical to original */
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: .5rem; }

.mini-stat {
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
  padding: 1rem;
}
.mini-stat strong { display: block; color: #93c5fd; font-size: 1.6rem; font-weight: 800; }
.mini-stat span   { color: var(--text-2); font-size: .82rem; }

/* ════════════════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════════════════ */
.cta-section { padding: 4rem 0; }

.cta-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(1.5rem,4vw,3rem);
}

@media (min-width: 900px) {
  .cta-block { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ════════════════════════════════════════════════════════
   CONTACT
════════════════════════════════════════════════════════ */
.contact-section { padding: var(--py) 0; }

.contact-wrap {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-desc { font-size: .95rem; color: var(--text-2); line-height: 1.75; }

.contact-rows { display: flex; flex-direction: column; gap: 1rem; margin-top: .5rem; }

/* identical contact-row from original */
.contact-row {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--brd);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.04);
  padding: 1rem;
}
.contact-row > svg {
  flex: none;
  width: 2.8rem; height: 2.8rem;
  border-radius: 1rem;
  background: var(--blue-bg);
  color: var(--blue);
  padding: .7rem;
}
.contact-row h4    { color: white; font-weight: 800; }
.contact-row p, .contact-row small { color: var(--text-2); line-height: 1.7; }

/* Form card */
.contact-form-card { padding: 2.5rem; }

.form-heading {
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.75rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form label {
  display: grid;
  gap: .5rem;
}

.contact-form label span {
  color: var(--text-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 479px) { .form-2col { grid-template-columns: 1fr; } }

/* ─── Utility ─────────────────────────────── */
.mt-8 { margin-top: 2rem; }
.w-full { width: 100%; justify-content: center; }
