@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/cormorant-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0;
}

:root {
  --navy: #0b1f33;
  --navy-2: #123049;
  --navy-3: #1a3d5c;
  --gold: #c9a227;
  --gold-2: #e0bd4a;
  --gold-dark: #9a7a14;
  --cream: #f6f3ee;
  --paper: #fffdf8;
  --ink: #15202b;
  --muted: #5b6773;
  --line: #e4ddd0;
  --ok: #1f7a4d;
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.12);
  --radius: 18px;
  --max: 1180px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Header */
.topbar {
  background: var(--navy);
  color: #d7e0e8;
  font-size: 0.85rem;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--gold-2); }
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 238, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.logo-text { font-size: 1.45rem; color: var(--navy); line-height: 1; }
.logo-text span { display: block; font-family: system-ui, "Segoe UI", sans-serif; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 2px; }
nav ul { display: flex; gap: 6px; list-style: none; align-items: center; }
nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy);
}
nav a:hover, nav a.active { background: #ece6d8; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.18s ease;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-outline { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.nav-cta { margin-left: 8px; }
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--navy); margin: 7px 8px; }

/* Hero */
.hero {
  position: relative;
  color: #fff;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--navy);
}
.hero-media {
  position: absolute; inset: 0;
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgba(11,31,51,.88) 0%, rgba(11,31,51,.55) 48%, rgba(11,31,51,.28) 100%),
    url("../images/hero-sprinter.jpg");
  background-image:
    linear-gradient(90deg, rgba(11,31,51,.88) 0%, rgba(11,31,51,.55) 48%, rgba(11,31,51,.28) 100%),
    image-set(
      url("../images/hero-sprinter.webp") type("image/webp"),
      url("../images/hero-sprinter.jpg") type("image/jpeg")
    );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero .wrap { position: relative; padding: 90px 0 70px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 16px;
}
h1, h2, h3, .serif { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1.05; max-width: 16ch; }
.hero p.lead { max-width: 42ch; font-size: 1.15rem; color: #dbe4ec; margin: 18px 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 160px));
  gap: 18px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stats strong { display: block; font-size: 1.4rem; color: var(--gold-2); font-family: "Cormorant Garamond", serif; }
.hero-stats span { font-size: 0.86rem; color: #c9d4de; }

/* Sections */
section { padding: 84px 0; }
.section-kicker { color: var(--gold-dark); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; }
h2 { font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.15; color: var(--navy); margin: 8px 0 14px; }
.intro { max-width: 62ch; color: var(--muted); font-size: 1.08rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.45rem; color: var(--navy); margin-bottom: 8px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: #efe6cf; color: var(--navy);
  display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 14px;
}
.check { list-style: none; }
.check li { position: relative; padding-left: 26px; margin: 8px 0; }
.check li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); position: relative; }
.step-nr { font-family: "Cormorant Garamond", serif; font-size: 2rem; color: var(--gold); line-height: 1; }

/* Calculator */
.calc-wrap {
  background: var(--navy);
  color: #fff;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}
.calc-form, .calc-result { padding: 36px; }
.calc-form h2, .calc-result h2 { color: #fff; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.86rem; margin-bottom: 6px; color: #c9d4de; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--navy-2);
  border: 1px solid #2a4a66;
  color: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
}
.light-form .field input, .light-form .field select, .light-form .field textarea {
  background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.light-form .field label { color: var(--muted); }
.range-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: #9fb0bf; }
.calc-result { background: #0e263d; display: flex; flex-direction: column; justify-content: center; }
.price { font-size: clamp(2.6rem, 5vw, 4rem); font-family: "Cormorant Garamond", serif; color: var(--gold-2); line-height: 1; }
.price small { font-size: 1rem; color: #c9d4de; font-family: system-ui, "Segoe UI", sans-serif; }
img, picture { max-width: 100%; }
picture { display: block; }
.calc-meta { margin: 18px 0 24px; color: #c9d4de; }
.disclaimer { font-size: 0.8rem; color: #8ea0af; }

/* Inventory */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; cursor: pointer; font-weight: 600; color: var(--navy);
}
.chip.active, .chip:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.car {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.car img { height: 190px; width: 100%; object-fit: cover; background: #eceff3; }
.car-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.car h3 { font-size: 1.3rem; }
.specs { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 16px; color: var(--muted); font-size: 0.86rem; }
.specs span { background: var(--cream); padding: 4px 8px; border-radius: 8px; }
.car-price { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; }
.car-price strong { font-size: 1.35rem; color: var(--navy); }

/* Page hero */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: 72px 0 56px;
}
.page-hero h1 { max-width: 18ch; }
.page-hero p { color: #d7e0e8; max-width: 56ch; margin-top: 12px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.info-list { list-style: none; }
.info-list li { margin: 0 0 16px; }
.info-list strong { display: block; color: var(--navy); }
.form-success { display: none; background: #e8f6ee; color: var(--ok); padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; }

/* Footer */
footer { background: #081624; color: #c3ced8; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
footer h3 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
footer a { color: #c3ced8; }
footer a:hover { color: var(--gold-2); }
footer ul { list-style: none; }
footer li { margin: 8px 0; }
.legal { border-top: 1px solid #1c3348; margin-top: 32px; padding-top: 16px; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* WhatsApp float */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  background: #25d366; color: #083b1c; width: 56px; height: 56px;
  border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.25); font-weight: 800;
}
.wa:hover { transform: translateY(-2px); }

.prose { max-width: 78ch; }
.prose p, .prose li { margin-bottom: 12px; color: #33404c; }
.prose h2 { margin-top: 28px; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
th { background: var(--navy); color: #fff; font-weight: 600; }

@media (max-width: 980px) {
  nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; }
  .burger { display: block; }
  .grid-3, .steps, .cars, .footer-grid, .calc-wrap, .grid-2, .contact-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 56px 0; }
  .hero .wrap { padding: 64px 0 48px; }
}
