:root {
  --bg: #061735;
  --ink: #0b1f44;
  --text: #1e293b;
  --muted: #64748b;
  --soft: #eef6ff;
  --cream: #f8fbff;
  --line: #d7e5f6;
  --accent: #1d4ed8;
  --accent-dark: #0b2f82;
  --sky: #38bdf8;
  --sunrise: #facc15;
  --coral: #fb7185;
  --mint: #22c55e;
  --shadow: 0 18px 48px rgba(11, 31, 68, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(56,189,248,0.20), transparent 34rem),
    radial-gradient(circle at 85% 10%, rgba(250,204,21,0.16), transparent 26rem),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 38%, #eef6ff 100%);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  background: rgba(248, 251, 255, 0.92);
  border-bottom: 1px solid rgba(215, 229, 246, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--sky));
  color: white;
  font-weight: 900;
  font-size: 25px;
  box-shadow: 0 10px 28px rgba(29, 78, 216, 0.30);
}

.logo strong {
  color: var(--ink);
}

.logo small {
  display: block;
  color: var(--muted);
  margin-top: -4px;
}

nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 9px 13px;
  border-radius: 999px;
}

nav a:hover {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(56,189,248,0.34), transparent 20rem),
    radial-gradient(circle at 78% 18%, rgba(250,204,21,0.30), transparent 18rem),
    radial-gradient(circle at 92% 66%, rgba(251,113,133,0.18), transparent 22rem),
    linear-gradient(135deg, #061735 0%, #0b2f82 48%, #1d4ed8 100%);
  color: white;
  padding: 94px 0 90px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: -110px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}

.hero-grid,
.split,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  align-items: center;
  position: relative;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.13em;
  font-weight: 900;
}

.hero .eyebrow {
  color: #e0f2fe;
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(42px, 6vw, 72px);
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
}

.hero-text {
  font-size: 20px;
  color: #f8fafc;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn,
.vehicle-card a,
.contact-form button,
.lead-form button {
  display: inline-block;
  border-radius: 999px;
  padding: 13px 21px;
  font-weight: 900;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.contact-form button:hover,
.lead-form button:hover {
  transform: translateY(-2px);
}

.primary,
.contact-form button,
.lead-form button {
  background: linear-gradient(135deg, var(--accent), var(--sky));
  color: white;
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.30);
}

.secondary {
  color: white;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.10);
}

.hero-card,
.info-box,
.contact-form,
.lead-form,
.vehicle-card,
.review-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border: 1px solid rgba(215, 229, 246, 0.95);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
}

.hero-card h2 {
  color: var(--ink);
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
}

.hero-card li {
  margin: 10px 0;
}

.section {
  padding: 82px 0;
}

.alt {
  background: rgba(238, 246, 255, 0.82);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 17px;
}

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

.vehicle-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.vehicle-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 62px rgba(31, 41, 55, 0.16);
}

.vehicle-image {
  min-height: 200px;
  background:
    radial-gradient(circle at center, rgba(56,189,248,0.46), transparent 9rem),
    linear-gradient(135deg, #f1f5f9, #dbeafe);
  display: grid;
  place-items: center;
  color: #0b2f82;
  font-weight: 900;
}

.vehicle-body {
  padding: 24px;
}

.price {
  color: var(--accent);
  font-size: 25px;
  font-weight: 950;
  margin: 0 0 8px;
}

.vehicle-card a {
  padding: 0;
  color: var(--accent);
  box-shadow: none;
}

.info-box {
  padding: 30px;
}

.steps {
  display: grid;
  gap: 16px;
}

.steps div {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 19px;
  display: flex;
  gap: 15px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.06);
}

.steps strong {
  background: linear-gradient(135deg, var(--accent), var(--sky));
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.financing-section {
  background:
    radial-gradient(circle at 85% 12%, rgba(56,189,248,0.22), transparent 18rem),
    #ffffff;
}

.finance-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.contact-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(56,189,248,0.22), transparent 18rem),
    linear-gradient(135deg, #061735, #0b1f44);
  color: white;
}

.contact-section .eyebrow {
  color: #e0f2fe;
}

.contact-section .contact-form {
  box-shadow: none;
}

.contact-form,
.lead-form {
  padding: 30px;
  display: grid;
  gap: 15px;
}

.contact-form label,
.lead-form label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 15px;
  font: inherit;
  background: #f8fbff;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
  background: white;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form small,
.lead-form small {
  color: var(--muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  padding: 26px;
}

.review-card p {
  font-size: 18px;
  margin-top: 0;
}

.review-card strong {
  color: var(--accent);
}

.row-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.mini-link,
.drag-note {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  color: var(--accent-dark);
  background: #e0f2fe;
  border: 1px solid #bae6fd;
}

.vehicle-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 285px);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  padding: 8px 4px 18px;
}

.vehicle-row::-webkit-scrollbar {
  height: 10px;
}

.vehicle-row::-webkit-scrollbar-track {
  background: #dbeafe;
  border-radius: 999px;
}

.vehicle-row::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent), var(--sky));
  border-radius: 999px;
}

.compact-card {
  scroll-snap-align: start;
}

.compact-card .vehicle-image {
  min-height: 145px;
}

.compact-card .vehicle-body {
  padding: 19px;
}

.compact-card h3 {
  font-size: 21px;
}

.compact-card .price {
  font-size: 21px;
}

.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 950;
  color: var(--accent-dark);
  background: #dbeafe;
}

.pill.bright {
  color: #7c2d12;
  background: #fef3c7;
}

.value-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(250,204,21,0.20), transparent 18rem),
    radial-gradient(circle at 88% 12%, rgba(251,113,133,0.13), transparent 18rem),
    #f8fbff;
}

.value-disclaimer {
  border: 1px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff, #ffffff);
  color: var(--ink);
  border-radius: 24px;
  padding: 18px 20px;
  margin: -14px 0 24px;
  box-shadow: 0 12px 28px rgba(11, 31, 68, 0.07);
}

.value-card {
  border-color: #bfdbfe;
}

.value-card .vehicle-image {
  background:
    radial-gradient(circle at 50% 45%, rgba(250,204,21,0.52), transparent 8rem),
    linear-gradient(135deg, #dbeafe, #eff6ff);
}

.value-pill {
  color: #7c2d12;
  background: #fef3c7;
}

.add-card {
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,0.18), transparent 9rem),
    #ffffff;
}

.horizon-card {
  position: relative;
  overflow: hidden;
}

.sun-dot {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  right: 24px;
  top: 20px;
  background: radial-gradient(circle, var(--sunrise), #fb7185 78%);
  opacity: 0.88;
  box-shadow: 0 18px 45px rgba(250, 204, 21, 0.30);
}

.horizon-card h2,
.horizon-card ul {
  position: relative;
}

footer {
  background: #0b1120;
  color: #d1d5db;
  padding: 26px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 820px) {
  .nav,
  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    gap: 8px;
  }

  .hero-grid,
  .split,
  .contact-grid,
  .inventory-grid,
  .finance-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .row-heading {
    display: block;
  }

  .mini-link,
  .drag-note {
    display: inline-flex;
    margin-top: 12px;
  }

  .vehicle-row {
    grid-auto-columns: minmax(230px, 82vw);
  }

  .hero,
  .section {
    padding: 58px 0;
  }
}
