:root {
  color-scheme: light;
  --ink: #18212b;
  --muted: #5e6875;
  --paper: #fffdf8;
  --teal: #00a5b5;
  --orange: #ff8f1f;
  --red: #df3b47;
  --blue: #2867d9;
  --lime: #bbd833;
  --line: rgba(24, 33, 43, 0.14);
  --shadow: 0 22px 55px rgba(13, 26, 38, 0.18);
}

* {
  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;
  background: var(--paper);
  color: var(--ink);
}

img,
input,
select,
textarea,
button {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
  color: var(--ink);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), var(--red), var(--teal));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 750;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-open .site-nav a:hover {
  background: rgba(0, 165, 181, 0.12);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 84px) 62px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/showroom-hero.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 20, 28, 0.82), rgba(9, 20, 28, 0.44) 43%, rgba(9, 20, 28, 0.08)),
    linear-gradient(0deg, rgba(9, 20, 28, 0.62), rgba(9, 20, 28, 0) 46%);
}

.hero-content {
  position: relative;
  width: min(720px, 100%);
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3.9rem, 12vw, 8.7rem);
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.button.primary {
  background: var(--orange);
  color: #1d1307;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.button.dark {
  background: var(--ink);
  color: #ffffff;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: #ffffff;
}

.stats-band div {
  min-width: 0;
  padding: 28px clamp(18px, 3vw, 42px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.stats-band strong {
  display: block;
  color: var(--lime);
  font-size: clamp(1.35rem, 3vw, 2.4rem);
}

.stats-band span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 84px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.inventory-section {
  background: linear-gradient(180deg, #fffdf8 0%, #eefbfc 100%);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vehicle-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(11, 33, 40, 0.1);
}

.vehicle-swatch {
  min-height: 180px;
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.68), transparent 24%),
    linear-gradient(135deg, var(--teal), var(--blue));
}

.vehicle-swatch.red {
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.68), transparent 24%),
    linear-gradient(135deg, var(--red), var(--orange));
}

.vehicle-swatch.blue {
  background:
    radial-gradient(circle at 28% 72%, rgba(255, 255, 255, 0.72), transparent 22%),
    linear-gradient(135deg, var(--blue), #232a75);
}

.vehicle-body {
  padding: 22px;
}

.vehicle-body span {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vehicle-body p,
.feature-list p,
.finance-panel p,
.contact-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 86px);
  background: #ffffff;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature-list div {
  border-left: 5px solid var(--teal);
  padding: 4px 0 4px 20px;
}

.feature-list div:nth-child(2) {
  border-color: var(--orange);
}

.feature-list div:nth-child(3) {
  border-color: var(--red);
}

.destination-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 143, 31, 0.18), rgba(0, 165, 181, 0.14)),
    #ffffff;
}

.destination-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.destination-grid span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(11, 33, 40, 0.08);
  color: var(--ink);
  font-weight: 900;
}

.destination-grid span:nth-child(3n + 1) {
  border-top: 5px solid var(--teal);
}

.destination-grid span:nth-child(3n + 2) {
  border-top: 5px solid var(--orange);
}

.destination-grid span:nth-child(3n + 3) {
  border-top: 5px solid var(--red);
}

.finance-section {
  background:
    linear-gradient(135deg, rgba(0, 165, 181, 0.94), rgba(40, 103, 217, 0.92)),
    var(--blue);
}

.finance-panel {
  width: min(760px, 100%);
  color: #ffffff;
}

.finance-panel .eyebrow {
  color: #ffe08a;
}

.finance-panel p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #fff7e9;
}

.lead-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(24, 33, 43, 0.18);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fbfcfd;
  color: var(--ink);
}

.lead-form textarea {
  resize: vertical;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(20px, 6vw, 84px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer strong {
  color: #ffffff;
}

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: 88vh;
    padding-top: 110px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 20, 28, 0.82), rgba(9, 20, 28, 0.36)),
      linear-gradient(0deg, rgba(9, 20, 28, 0.64), rgba(9, 20, 28, 0.05) 52%);
  }

  .stats-band,
  .inventory-grid,
  .split-section,
  .destination-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .section-heading {
    display: block;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .hero {
    min-height: 86vh;
    padding-inline: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 4.8rem);
  }

  .contact-section {
    grid-template-columns: minmax(0, 1fr);
  }
}
