/* Jones Automotive Enterprise — global styles, mobile-first */

:root {
  --bg: #0a0a0a;
  --bg-card: #141414;
  --gold: #d4a017;
  --silver: #c0c0c0;
  --white: #f5f5f5;
  --gold-glow: 0 0 20px rgba(212, 160, 23, 0.3);
  --font-display: "Oswald", "Bebas Neue", Impact, sans-serif;
  --font-body: "Barlow", "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height: 4.25rem;
  --touch: 2.75rem;
}

@media (max-width: 991px) {
  :root {
    --nav-height: 3.5rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--silver);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

a:hover {
  color: #e8b82e;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.75rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 32px;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1rem;
}

.text-gold {
  color: var(--gold);
}

.price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--gold);
  letter-spacing: 0.04em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--bg);
  padding: 0.75rem 1rem;
  font-weight: 700;
  z-index: 100000;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.75rem;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--gold);
  color: var(--bg);
  box-shadow: var(--gold-glow);
}

.btn--primary:hover {
  background: #e8b82e;
  color: var(--bg);
  box-shadow: 0 0 24px rgba(212, 160, 23, 0.45);
}

.btn--ghost:hover {
  background: rgba(212, 160, 23, 0.12);
  box-shadow: var(--gold-glow);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ——— Nav ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: var(--bg);
  box-shadow: 0 2px 0 rgba(212, 160, 23, 0.15);
}

@media (max-width: 991px) {
  .site-header {
    background: #0a0a0a;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  .site-header.is-scrolled {
    background: #0a0a0a;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
  }

  body.menu-open .site-header {
    z-index: 2100;
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 768px) {
  .site-header__inner {
    padding: 0 1.75rem;
  }
}

@media (max-width: 991px) {
  .site-header__inner {
    padding: 0 1rem;
  }
}

.text-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.text-logo__jones {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.text-logo__auto {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: 6px;
}

@media (max-width: 768px) {
  .text-logo__jones,
  .text-logo__auto {
    font-size: 18px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--silver);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.nav-call {
  display: none;
}

@media (min-width: 992px) {
  .nav-call {
    display: inline-flex;
  }
}

.nav-mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch);
  height: var(--touch);
  background: transparent;
  border: 1px solid rgba(212, 160, 23, 0.4);
  color: var(--gold);
  cursor: pointer;
  padding: 0;
}

@media (max-width: 991px) {
  .nav-mobile-toggle {
    width: auto;
    min-width: 2.75rem;
    height: auto;
    min-height: 2.5rem;
    padding: 8px 10px;
    border: 1px solid #333;
    border-radius: 4px;
    color: var(--white);
  }

  .nav-mobile-icon,
  .nav-mobile-icon::before,
  .nav-mobile-icon::after {
    background: var(--white);
  }

  .nav-mobile-toggle[aria-expanded="true"] .nav-mobile-icon::before,
  .nav-mobile-toggle[aria-expanded="true"] .nav-mobile-icon::after {
    background: var(--white);
  }
}

.nav-mobile-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (min-width: 992px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile-icon {
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: background 0.2s;
}

.nav-mobile-icon::before,
.nav-mobile-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease);
}

.nav-mobile-icon::before {
  top: -6px;
}

.nav-mobile-icon::after {
  top: 6px;
}

.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-icon {
  background: transparent;
}

.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-mobile-toggle[aria-expanded="true"] .nav-mobile-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(10, 10, 10, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: calc(var(--nav-height) + 1.5rem) 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu__close {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  right: 16px;
  z-index: 2200;
  margin: 0;
  padding: 0.35rem 0.6rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--font-body);
}

.mobile-menu__close:hover {
  color: var(--gold);
}

.mobile-menu__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.mobile-menu__links a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.mobile-menu__links a:hover {
  color: var(--gold);
}

.menu-call {
  margin-top: 1.25rem;
  padding: 14px 28px;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.menu-call:hover {
  background: #e8b82e;
  color: #0a0a0a;
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none;
  }
}

/* ——— Floating mobile CTA ——— */
.floating-bar,
.mobile-cta-bar,
.bottom-bar,
.float-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #0a0a0a;
  border-top: 1px solid #222;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.floating-bar a,
.bottom-bar a,
.float-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.float-cta__call {
  background: #d4a017;
  color: #0a0a0a;
}

.float-cta__call:hover {
  background: #e8b82e;
  color: #0a0a0a;
}

.float-cta__schedule {
  border: none;
  border-left: 1px solid #222;
  color: #d4a017;
  background: #141414;
}

.float-cta__schedule:hover {
  background: rgba(212, 160, 23, 0.08);
  color: #d4a017;
}

.float-cta.float-cta--hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

@media (min-width: 992px) {
  .floating-bar,
  .mobile-cta-bar,
  .bottom-bar,
  .float-cta {
    display: none;
  }
}

body.has-float-cta {
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 992px) {
  body.has-float-cta {
    padding-bottom: 0;
  }
}

@media (max-width: 991px) {
  body.menu-open .float-cta {
    display: none;
  }
}

/** Hero */
.hero {
  position: relative;
  min-height: 85vh;
  min-height: 85dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-height) + 1.5rem) 0 2.75rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.45) 50%, transparent 100%);
  z-index: 1;
}

.hero__accent-line {
  position: absolute;
  bottom: 18%;
  left: -10%;
  width: 45%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.85;
  z-index: 2;
  animation: sweep 6s ease-in-out infinite;
}

@keyframes sweep {
  0%,
  100% {
    transform: translateX(0) scaleX(0.85);
    opacity: 0.5;
  }
  50% {
    transform: translateX(30%) scaleX(1.1);
    opacity: 1;
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 0 1.75rem;
  }
}

.hero__content h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--silver);
  max-width: 36ch;
  margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
  h1 {
    font-size: clamp(1.75rem, 7vw, 3rem);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 75vh;
    min-height: 75dvh;
    align-items: center;
    padding: 60px 0 2rem;
  }

  .hero__content {
    padding: 0 20px;
  }
}

/* Trust bar */
.trust-bar {
  position: relative;
  padding: 24px 0;
  background: var(--bg-card);
  border-top: 1px solid rgba(212, 160, 23, 0.2);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  margin-top: -1px;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 768px) {
  .trust-bar,
  .stats-section {
    padding: 32px 20px;
    text-align: center;
  }

  .trust-bar .container.trust-bar__grid {
    padding-left: 0;
    padding-right: 0;
  }

  .trust-bar__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.trust-bar__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.trust-bar__stat span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
}

/* Section shells — tighter vertical rhythm */
section:not(.hero):not(.trust-bar):not(.cta-banner),
.section {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}

@media (max-width: 767px) {
  section:not(.hero):not(.trust-bar):not(.cta-banner),
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

.section--angled {
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(60px + 24px);
}

@media (max-width: 767px) {
  .section--angled {
    padding-top: calc(40px + 24px);
  }
}

.heading-bar {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.heading-bar h2 {
  margin-bottom: 12px;
}

.heading-bar__line {
  height: 2px;
  width: 4rem;
  background: var(--gold);
}

/* Vehicle cards */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .vehicle-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

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

.vehicle-grid--home {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .vehicle-grid--home {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .vehicle-grid--home {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vehicle-card {
  background: var(--bg-card);
  border: 1px solid rgba(192, 192, 192, 0.12);
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.vehicle-card:hover,
.vehicle-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
}

.vehicle-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.vehicle-card__image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}

.vehicle-card__image-wrap img,
.vehicle-card img,
.inventory-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px 4px 0 0;
}

.vehicle-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}

.vehicle-card:hover .vehicle-card__overlay,
.vehicle-card:focus-within .vehicle-card__overlay {
  opacity: 1;
}

.vehicle-card__body {
  padding: 1rem;
}

.vehicle-card__title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.vehicle-card__specs {
  font-size: 0.8rem;
  color: var(--silver);
  line-height: 1.4;
}

.vehicle-skeleton {
  background: var(--bg-card);
  border: 1px solid rgba(192, 192, 192, 0.12);
  min-height: 300px;
  padding-bottom: 1rem;
}

.vehicle-skeleton__image {
  height: 200px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vehicle-skeleton__line {
  height: 14px;
  margin: 1rem;
  border-radius: 4px;
}

.vehicle-skeleton__line--short {
  width: 65%;
}

.shimmer {
  background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.1s infinite linear;
}

.inventory-empty-state {
  grid-column: 1 / -1;
  border: 1px dashed rgba(212, 160, 23, 0.35);
  background: #121212;
  text-align: center;
  padding: 1.25rem;
}

.inventory-empty-state p {
  margin: 0;
  color: var(--silver);
}

.view-all-wrap {
  margin-top: 1.25rem;
  text-align: center;
}

.link-arrow {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.link-arrow:hover {
  color: var(--white);
  border-color: var(--white);
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Why us cards */
.why-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.why-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 160, 23, 0.2);
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.why-card:hover {
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
}

.why-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

.why-card h3 {
  margin-bottom: 0.75rem;
}

.why-card p {
  margin: 0;
  font-size: 0.95rem;
}

/* Testimonials */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.35s var(--ease);
}

.testimonial-slide {
  min-width: 100%;
  flex-shrink: 0;
  padding: 0 0.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(192, 192, 192, 0.15);
  padding: 2rem 1.75rem;
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial-card__quote {
  font-family: Georgia, serif;
  font-size: 1.15rem;
  color: var(--white);
  font-style: italic;
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--gold);
}

.testimonial-card__meta {
  font-size: 0.9rem;
  color: var(--silver);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.testimonial-nav button {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--font-display);
  transition: background 0.2s, color 0.2s;
}

.testimonial-nav button:hover {
  background: var(--gold);
  color: var(--bg);
}

.testimonial-nav button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(180deg, #0f0f0f 0%, var(--bg) 100%);
  padding: 48px 0;
  text-align: center;
  clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%);
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .cta-banner {
    padding: 40px 0;
  }
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  color: var(--silver);
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  background: #070707;
  border-top: 1px solid rgba(212, 160, 23, 0.25);
  padding: 48px 0 24px;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.site-footer__grid > div {
  margin-top: 0;
  padding-top: 0;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.site-footer__brand-heading,
.site-footer h3 {
  font-size: 1rem;
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 1rem;
  color: var(--gold);
}

.footer-address {
  color: var(--silver);
  font-size: 0.9rem;
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.site-footer__tagline {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--silver);
}

.site-footer a {
  color: var(--silver);
  display: block;
  margin-bottom: 0.5rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.site-footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}

.site-footer__social a {
  display: inline-flex;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 160, 23, 0.45);
  margin: 0;
}

.site-footer__social a:hover {
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
}

.site-footer__bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #1a1a1a;
  text-align: center;
}

.site-footer__copyright {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.site-footer__credit-wrap {
  margin: 8px 0 0;
}

.site-footer__credit {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #444;
  transition: color 0.2s var(--ease);
}

.site-footer__credit:hover {
  color: var(--gold);
}

/* Page hero (inner pages) */
.page-hero {
  padding: calc(var(--nav-height) + 2rem) 0 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid rgba(212, 160, 23, 0.2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 0 100%);
}

.page-hero p {
  margin: 0;
  color: var(--silver);
  max-width: 42ch;
}

.page-hero--image {
  position: relative;
  overflow: hidden;
}

.page-hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.45) 55%, rgba(10, 10, 10, 0.72) 100%);
  z-index: 1;
}

.page-hero--image .container {
  position: relative;
  z-index: 2;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Inventory filters */
.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid rgba(212, 160, 23, 0.15);
}

@media (min-width: 768px) {
  .filter-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }
}

.filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  flex: 1;
  min-width: 140px;
}

.filter-bar select,
.filter-bar input[type="search"] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  background: var(--bg);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--white);
  border-radius: 0;
}

.filter-bar select:focus,
.filter-bar input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}

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

.modal {
  background: var(--bg-card);
  border: 1px solid rgba(212, 160, 23, 0.35);
  max-width: 920px;
  width: 100%;
  margin: 2rem auto;
  position: relative;
  box-shadow: var(--gold-glow);
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--gold);
  background: var(--bg);
  color: var(--gold);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}

.modal__close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.modal-gallery__main {
  aspect-ratio: 16 / 9;
  background: var(--bg);
}

.modal-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-gallery__thumbs {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem;
  overflow-x: auto;
  background: var(--bg);
}

.modal-gallery__thumbs[hidden] {
  display: none;
}

.modal-gallery__thumbs button {
  flex-shrink: 0;
  width: 72px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
}

.modal-gallery__thumbs button.is-active {
  border-color: var(--gold);
}

.modal-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__body {
  padding: 1.5rem;
}

.modal-title {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.modal__specs {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.modal__specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(192, 192, 192, 0.1);
  padding-bottom: 0.35rem;
}

.modal__specs span:first-child {
  color: var(--silver);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}

.modal-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.modal-share button,
.modal-share a {
  font-size: 0.8rem;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(212, 160, 23, 0.5);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  font-family: var(--font-body);
}

/* Contact page */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

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

.contact-info__block {
  margin-bottom: 1.5rem;
}

.map-embed {
  margin-top: 1rem;
  border: 1px solid rgba(212, 160, 23, 0.25);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 8px;
  filter: grayscale(0.3) contrast(1.05);
}

.contact-address h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.contact-address a {
  color: var(--silver);
  display: inline-block;
  line-height: 1.45;
  margin-bottom: 0;
}

.contact-address a:hover {
  color: var(--gold);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  background: var(--bg);
  border: 1px solid rgba(212, 160, 23, 0.3);
  color: var(--white);
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
}

.form-row-split {
  display: grid;
  gap: 1rem;
}

@media (min-width: 576px) {
  .form-row-split {
    grid-template-columns: 1fr 1fr;
  }
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(212, 160, 23, 0.12);
  border: 1px solid var(--gold);
  color: var(--white);
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

/* About: team & process */
.team-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 160, 23, 0.35);
  overflow: hidden;
  transition: box-shadow 0.25s;
}

.team-card:hover {
  box-shadow: var(--gold-glow);
}

.team-card--no-photo {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 0;
}

.team-card__anchor {
  align-self: center;
  width: 4.5rem;
  height: 4.5rem;
  margin: 1.25rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gold);
  border: 2px solid #d4a017;
  border-radius: 4px;
  background: rgba(212, 160, 23, 0.06);
}

.team-card__body {
  padding: 1.25rem;
}

.team-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.process {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .process {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
  }
}

.process-step {
  background: var(--bg-card);
  border: 1px solid rgba(192, 192, 192, 0.12);
  padding: 1.75rem;
  position: relative;
}

@media (min-width: 992px) {
  .process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.65rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.25rem;
    z-index: 1;
  }
}

.process-step h3 {
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.process-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 0.75rem;
}

/* Reviews page */
.review-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(192, 192, 192, 0.12);
  padding: 1.5rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.review-card:hover {
  border-color: var(--gold);
  box-shadow: var(--gold-glow);
}

.review-card__vehicle {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-top: 0.75rem;
}

/* Scroll reveal */
[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

[data-animate-stagger] > * {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

[data-animate-stagger].is-visible > * {
  opacity: 1;
  transform: none;
}

[data-animate-stagger].is-visible > *:nth-child(1) {
  transition-delay: 0ms;
}
[data-animate-stagger].is-visible > *:nth-child(2) {
  transition-delay: 45ms;
}
[data-animate-stagger].is-visible > *:nth-child(3) {
  transition-delay: 90ms;
}
[data-animate-stagger].is-visible > *:nth-child(4) {
  transition-delay: 135ms;
}
[data-animate-stagger].is-visible > *:nth-child(5) {
  transition-delay: 180ms;
}
[data-animate-stagger].is-visible > *:nth-child(6) {
  transition-delay: 225ms;
}
[data-animate-stagger].is-visible > *:nth-child(7) {
  transition-delay: 270ms;
}
[data-animate-stagger].is-visible > *:nth-child(8) {
  transition-delay: 315ms;
}
[data-animate-stagger].is-visible > *:nth-child(9) {
  transition-delay: 360ms;
}
[data-animate-stagger].is-visible > *:nth-child(10) {
  transition-delay: 405ms;
}
[data-animate-stagger].is-visible > *:nth-child(11) {
  transition-delay: 450ms;
}
[data-animate-stagger].is-visible > *:nth-child(12) {
  transition-delay: 495ms;
}

main:focus {
  outline: none;
}
