:root {
  --black: #0d0d0d;
  --ink: #171717;
  --muted: #6c6c6c;
  --red: #d50000;
  --red-dark: #9f0000;
  --silver: #d7d9dc;
  --line: rgba(255,255,255,.14);
  --shadow: 0 22px 70px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: #050505;
  color: #fff;
  font-size: .88rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13,13,13,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.11);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 210px; }
.brand img {
  width: 175px;
  max-height: 94px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 22px rgba(213,0,0,.2));
}
.brand-text { display: none; font-weight: 900; letter-spacing: .08em; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); color: #fff; padding: 10px 12px; border-radius: 4px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .dropbtn {
  color: #fff;
  font-weight: 750;
  font-size: .9rem;
  padding: 14px 11px;
  border-radius: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-links > a:hover, .drop:hover .dropbtn, .nav-links .active { background: rgba(255,255,255,.09); }
.drop { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  width: 310px;
  background: #111;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  padding: 8px;
  border-radius: 6px;
}
.dropdown a { display: block; color: #fff; padding: 10px 12px; border-radius: 4px; font-size: .9rem; }
.dropdown a:hover { background: rgba(213,0,0,.2); }
.drop:hover .dropdown { display: block; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-red { color: #fff; background: linear-gradient(135deg, var(--red), #ff2525); box-shadow: 0 16px 40px rgba(213,0,0,.28); }
.btn-dark { color: #fff; background: #111; border-color: rgba(255,255,255,.22); }
.btn-light { color: #111; background: #fff; border-color: #e4e4e4; }

.hero {
  min-height: calc(100vh - 110px);
  color: #fff;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.64), rgba(0,0,0,.14)),
    url("assets/hero-red-car.jpg") center right/cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, #0d0d0d, transparent);
}
.hero .wrap { position: relative; z-index: 1; padding: 64px 0 110px; }
.eyebrow { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; }
h1, h2, h3 { line-height: 1.05; margin: 0 0 16px; letter-spacing: 0; }
h1 { font-size: clamp(2.5rem, 7vw, 5.8rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { font-size: 1.3rem; }
.lead { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 740px; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-phone { margin-top: 22px; color: #fff; font-size: 1.1rem; font-weight: 800; }

.section { padding: 82px 0; }
.section.dark { background: #0d0d0d; color: #fff; }
.section.silver { background: linear-gradient(180deg, #f5f6f7, #fff); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-head p { max-width: 620px; color: var(--muted); margin: 0; }
.dark .section-head p, .dark .muted { color: rgba(255,255,255,.72); }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature, .card, .review, .faq-item, .vehicle-card {
  border-radius: 8px;
  background: #fff;
  border: 1px solid #ececec;
  box-shadow: 0 12px 36px rgba(0,0,0,.06);
}
.dark .feature, .dark .card, .dark .review, .dark .faq-item, .dark .vehicle-card {
  background: #151515;
  border-color: rgba(255,255,255,.1);
}
.inventory-empty {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.inventory-empty .hero-actions { justify-content: center; }
.feature { padding: 25px; }
.feature strong { display: block; font-size: 1.05rem; margin: 8px 0; }
.icon { width: 42px; height: 42px; border-radius: 4px; display: grid; place-items: center; color: #fff; background: var(--red); font-weight: 900; }
.card { overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(0,0,0,.13); }
.photo {
  min-height: 215px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.42), transparent 55%); }
.card-body { padding: 22px; }
.card-body p, .feature p, .review p, .faq-item p { color: var(--muted); margin: 0; }
.dark .card-body p, .dark .feature p, .dark .review p, .dark .faq-item p { color: rgba(255,255,255,.72); }

.brand-strip, .areas { display: flex; gap: 10px; flex-wrap: wrap; }
.brand-pill, .area-pill { border: 1px solid #e6e6e6; padding: 11px 15px; border-radius: 4px; font-weight: 850; background: #fff; }
.dark .brand-pill { background: #161616; border-color: rgba(255,255,255,.14); color: #fff; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; overflow: hidden; border-radius: 8px; border: 1px solid #e8e8e8; }
.compare div { min-height: 220px; background-size: cover; background-position: center; position: relative; }
.compare span { position: absolute; left: 12px; top: 12px; background: rgba(0,0,0,.82); color: #fff; padding: 6px 10px; border-radius: 4px; font-weight: 850; font-size: .78rem; }

.cta {
  background: linear-gradient(135deg, #111, #0d0d0d 55%, #300);
  color: #fff;
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cta p { color: rgba(255,255,255,.75); margin: 0; }

.page-hero {
  color: #fff;
  padding: 118px 0 76px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.5)),
    var(--hero-image, url("assets/hero-red-car.jpg")) center/cover;
}
.content-block { max-width: 850px; }
.list-check { padding: 0; margin: 18px 0 0; list-style: none; }
.list-check li { margin: 10px 0; padding-left: 28px; position: relative; }
.list-check li::before { content: ""; width: 10px; height: 10px; background: var(--red); position: absolute; left: 0; top: .55em; border-radius: 50%; }

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filterbar button { border: 1px solid #ddd; background: #fff; padding: 10px 13px; border-radius: 4px; font-weight: 850; cursor: pointer; }
.filterbar button.active { background: var(--red); border-color: var(--red); color: #fff; }

.form { display: grid; gap: 12px; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  min-height: 48px;
  padding: 12px;
  border-radius: 4px;
  font: inherit;
}
.form textarea { min-height: 130px; resize: vertical; }
.form .span-2 { grid-column: 1 / -1; }
details.faq-item { padding: 0; overflow: hidden; }
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-weight: 900;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item p { padding: 0 22px 22px; }
.map {
  min-height: 360px;
  border: 0;
  width: 100%;
  filter: grayscale(.2);
  border-radius: 8px;
}

.footer { background: #080808; color: #fff; padding: 58px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer img { width: 180px; margin-bottom: 14px; }
.footer a, .footer p { color: rgba(255,255,255,.74); }
.footer h3 { font-size: 1rem; }
.copyright { border-top: 1px solid rgba(255,255,255,.11); margin-top: 34px; padding-top: 20px; color: rgba(255,255,255,.58); font-size: .9rem; }

.floating {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-bar { display: none; }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #0d0d0d;
    padding: 10px 20px 18px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav-links.open { display: flex; }
  .drop:hover .dropdown, .dropdown { display: block; position: static; width: 100%; box-shadow: none; margin-top: 4px; }
  .grid-3, .grid-4, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head, .cta-inner { display: block; }
  .cta-inner .hero-actions { margin-top: 20px; }
  .floating { display: none; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px;
    background: rgba(8,8,8,.94);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  body { padding-bottom: 78px; }
}

@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .page-hero { padding: 94px 0 58px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .hero { min-height: 760px; }
  .brand img { width: 130px; }
  .btn { width: 100%; padding-left: 12px; padding-right: 12px; font-size: .86rem; }
  .mobile-bar .btn { min-height: 50px; }
  .compare { grid-template-columns: 1fr; }
}
