:root {
  --color-navy: #0b0b2e;
  --color-navy-soft: #151540;
  --color-gold: #d4af37;
  --color-gold-soft: #f1d98a;
  --color-white: #ffffff;
  --color-light: #f7f7f4;
  --color-text: #1f1f1f;
  --color-muted: #6b7280;
  --color-border: rgba(11, 11, 46, 0.12);
  --radius-card: 22px;
  --radius-pill: 999px;
  --shadow-card: 0 18px 45px rgba(11, 11, 46, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(11, 11, 46, .96);
  color: var(--color-white);
  box-shadow: 0 10px 28px rgba(11, 11, 46, .14);
}
.site-brand strong { display: block; color: var(--color-gold); font-size: 1.4rem; }
.site-brand span { font-size: .88rem; color: rgba(255,255,255,.76); }
.site-nav { display: flex; align-items: center; gap: 18px; font-weight: 800; }
.site-nav a { color: rgba(255,255,255,.86); }
.site-nav a:hover { color: var(--color-gold-soft); }
.site-nav .nav-call {
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
}
.mobile-menu-btn { display: none; }

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
  background: linear-gradient(135deg, var(--color-navy), var(--color-navy-soft));
  color: var(--color-white);
}
.page-hero.compact { display: block; padding-block: clamp(42px, 7vw, 76px); }
.hero h1,
.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.02;
  max-width: 900px;
}
.hero p,
.page-hero p { max-width: 760px; color: rgba(255,255,255,.82); font-size: 1.1rem; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--color-gold);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: .8rem;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-pills span,
.price-pill,
.status-badge {
  display: inline-flex;
  border-radius: var(--radius-pill);
  font-weight: 900;
}
.hero-pills span {
  padding: 8px 12px;
  background: rgba(255,255,255,.1);
  color: var(--color-white);
}
.hero-card,
.contact-card,
.form-card,
.vehicle-card,
.advantage-grid article,
.legal-content,
.empty-state {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  background: var(--color-white);
}
.hero-card {
  padding: 22px;
  color: var(--color-text);
}
.hero-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
  background: var(--color-light);
}
.hero-card strong { display: block; margin-top: 16px; color: var(--color-navy); font-size: 1.25rem; }
.hero-card span { color: var(--color-muted); }

.btn {
  min-height: 46px;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 900;
}
.btn-primary { background: var(--color-gold); color: var(--color-navy); }
.btn-secondary { background: var(--color-white); color: var(--color-navy); border: 1px solid var(--color-border); }
.section { padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px); }
.section-soft { background: var(--color-light); }
.section-title { max-width: 820px; margin-bottom: 28px; }
.section-title h2 { margin: 0 0 10px; color: var(--color-navy); font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.section-title.inline { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 18px; }

.advantage-grid,
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.advantage-grid article { padding: 22px; }
.advantage-grid strong { color: var(--color-navy); font-size: 1.1rem; }
.advantage-grid p { color: var(--color-muted); }

.vehicle-card {
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
@media (hover: hover) {
  .vehicle-card:hover { transform: translateY(-4px); }
}
.vehicle-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--color-light); }
.vehicle-card-body { padding: 18px; display: grid; gap: 14px; }
.vehicle-card h3 { margin: 8px 0 2px; color: var(--color-navy); font-size: 1.35rem; }
.vehicle-card p { margin: 0; color: var(--color-muted); }
.vehicle-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.vehicle-meta span { padding: 6px 9px; border-radius: var(--radius-pill); background: var(--color-light); font-size: .9rem; }
.price-pill { width: max-content; padding: 8px 12px; background: var(--color-gold); color: var(--color-navy); }
.price-pill.large { font-size: 1.2rem; }
.status-badge { padding: 5px 10px; background: #e5e7eb; color: var(--color-navy); font-size: .82rem; }
.status-badge.available { background: #dcfce7; color: #15803d; }
.status-badge.unavailable, .status-badge.maintenance { background: #fef3c7; color: #b45309; }
.vehicle-actions { display: grid; gap: 10px; }

.delivery-band,
.trust-band {
  background: var(--color-navy);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.delivery-band p { color: rgba(255,255,255,.82); max-width: 720px; }
.delivery-band h2 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 3rem); }
.trust-band { padding: 26px clamp(18px, 5vw, 72px); justify-content: center; text-align: center; }
.trust-band p { max-width: 980px; margin: 0; color: rgba(255,255,255,.86); }

.contact-card { padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.contact-card.stacked { display: grid; align-items: start; }
.contact-card h2 { margin: 0 0 8px; color: var(--color-navy); }
.contact-card p { color: var(--color-muted); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.contact-link { color: var(--color-navy); font-weight: 900; overflow-wrap: anywhere; }
.contact-infos { display: grid; gap: 8px; color: var(--color-muted); }

.vehicle-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: clamp(26px, 5vw, 54px);
  padding: clamp(42px, 7vw, 82px) clamp(18px, 5vw, 72px);
}
.detail-main-image { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-card); background: var(--color-light); box-shadow: var(--shadow-card); }
.thumb-grid { margin-top: 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.thumb-grid img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; }
.vehicle-detail-content h1 { color: var(--color-navy); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; margin: 12px 0; }
.lead { color: var(--color-muted); font-size: 1.1rem; }
.back-link { display: inline-flex; margin-bottom: 12px; color: var(--color-navy); font-weight: 900; }
.spec-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0; }
.spec-list div { padding: 14px; border: 1px solid var(--color-border); border-radius: 16px; }
.spec-list dt { color: var(--color-muted); }
.spec-list dd { margin: 0; font-weight: 900; color: var(--color-navy); }

.form-card { padding: 24px; display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 7px; font-weight: 900; color: var(--color-navy); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px;
  background: var(--color-white);
  color: var(--color-text);
}
label span, .form-error { color: #b91c1c; font-weight: 700; }
.check-line { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--color-text); }
.check-line input { width: auto; margin-top: 4px; }
.check-line a { color: var(--color-navy); font-weight: 900; text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; height: 1px; overflow: hidden; }

.legal-content { padding: clamp(22px, 4vw, 42px); max-width: 980px; margin: 0 auto; white-space: normal; }
.empty-state { padding: 32px; grid-column: 1 / -1; text-align: center; }
.flash { margin: 18px clamp(18px, 5vw, 72px) 0; padding: 14px 18px; border-radius: 16px; font-weight: 800; }
.flash.success { background: #dcfce7; color: #15803d; }
.flash.error { background: #fee2e2; color: #b91c1c; }
.flash.warning { background: #fef3c7; color: #92400e; }

.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(36px, 6vw, 64px) clamp(18px, 5vw, 72px) 22px;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 28px; }
.footer h2, .footer h3 { color: var(--color-gold); margin-top: 0; }
.footer a { display: block; color: rgba(255,255,255,.82); margin: 7px 0; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin: 28px 0 0; padding-top: 18px; color: rgba(255,255,255,.72); }

@media (max-width: 980px) {
  .mobile-menu-btn {
    display: inline-flex;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--color-white);
    padding: 9px 12px;
  }
  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 74px;
    display: none;
    padding: 16px;
    border-radius: 18px;
    background: var(--color-navy-soft);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  .hero,
  .vehicle-detail,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .advantage-grid,
  .vehicle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-title.inline,
  .delivery-band,
  .contact-card {
    display: grid;
  }
}

@media (max-width: 640px) {
  .advantage-grid,
  .vehicle-grid,
  .form-grid,
  .spec-list {
    grid-template-columns: 1fr;
  }
  .site-header { padding-inline: 14px; }
  .hero, .section, .vehicle-detail, .page-hero { padding-inline: 16px; }
  .hero-actions .btn,
  .contact-actions .btn,
  .vehicle-actions .btn,
  .form-card .btn {
    width: 100%;
  }
}
