:root {
  color-scheme: dark;
  --ink: #f7f4ec;
  --muted: #b8bdc8;
  --navy: #070d19;
  --navy-2: #101827;
  --panel: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.16);
  --gold: #c99b3b;
  --gold-2: #f2d38a;
  --black: #03060c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(201, 155, 59, 0.25), transparent 35rem),
    linear-gradient(135deg, var(--black), var(--navy) 45%, #111a2b);
  color: var(--ink);
}

a {
  color: inherit;
}

.hero {
  min-height: auto;
  padding: 22px clamp(18px, 4vw, 58px) 40px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -8rem -10rem auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(201, 155, 59, 0.13);
  filter: blur(3px);
  pointer-events: none;
}

.nav,
.hero-grid,
.section,
footer {
  max-width: 1180px;
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 2;
}

.brand,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.star {
  color: var(--gold-2);
  font-size: 1.1rem;
}

.nav-actions a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #101014;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(201, 155, 59, 0.25);
}

.button.small {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  color: var(--gold-2);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 211, 138, 0.5);
  padding-bottom: 3px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(26px, 5vw, 54px);
  align-items: center;
  padding: 56px 0 28px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold-2);
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  font-size: clamp(2.45rem, 5.8vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.5;
}

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

.price-card div,
.vehicle-card,
.section,
.feature-grid article,
.contact-card,
.form {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.price-card div {
  padding: 18px;
  border-radius: 22px;
}

.label,
.price-card span:last-child {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.price-card strong {
  display: block;
  color: var(--gold-2);
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.08em;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vehicle-card {
  border-radius: 30px;
  padding: clamp(16px, 3vw, 24px);
}

.photo-frame {
  min-height: 300px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 70% 32%, rgba(255, 255, 255, 0.7), transparent 0.35rem),
    linear-gradient(135deg, #eef1f5 0 44%, #c99b3b 44% 50%, #07101f 50% 100%);
  overflow: hidden;
}

.vehicle-shape {
  width: min(92%, 470px);
  height: 190px;
  position: relative;
  transform: translateY(24px);
}

.body,
.roof {
  position: absolute;
  background: linear-gradient(145deg, #02050b, #172236 52%, #05070b);
  border: 3px solid rgba(255, 255, 255, 0.25);
}

.body {
  inset: 70px 10px 38px;
  border-radius: 48px 70px 28px 28px;
}

.roof {
  width: 270px;
  height: 92px;
  left: 95px;
  top: 20px;
  border-radius: 130px 150px 0 0;
}

.window {
  position: absolute;
  background: linear-gradient(135deg, #dce8f6, #7f96ad);
  top: 48px;
  height: 54px;
  border-radius: 28px 28px 8px 8px;
}

.window.front {
  left: 232px;
  width: 95px;
}

.window.rear {
  left: 118px;
  width: 100px;
}

.grille {
  position: absolute;
  left: 46px;
  top: 104px;
  width: 92px;
  height: 30px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, #f5f7fb 0 4px, #0a0f1d 4px 9px);
  border: 2px solid #d8dce5;
}

.wheel {
  position: absolute;
  bottom: 8px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: radial-gradient(circle, #eef1f5 0 16%, #121927 17% 45%, #010205 46% 100%);
  border: 5px solid #313b4c;
}

.wheel.left {
  left: 86px;
}

.wheel.right {
  right: 72px;
}

.vehicle-card p {
  color: var(--muted);
  margin: 18px 4px 0;
  line-height: 1.55;
}

.section {
  margin-bottom: 22px;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
}

.carfax-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: start;
}

.value-card {
  border: 1px solid rgba(201, 155, 59, 0.42);
  border-radius: 22px;
  padding: 20px;
  background: rgba(201, 155, 59, 0.12);
}

.value-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.value-card strong {
  color: var(--gold-2);
  font-size: 2.2rem;
  letter-spacing: -0.05em;
}

.carfax-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.carfax-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.carfax-grid strong,
.carfax-grid span {
  display: block;
}

.carfax-grid strong {
  margin-bottom: 8px;
  color: var(--ink);
}

.carfax-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.service-strip span {
  border: 1px solid rgba(201, 155, 59, 0.35);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--gold-2);
  background: rgba(201, 155, 59, 0.08);
  font-weight: 800;
  font-size: 0.92rem;
}

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

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

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

.checklist span {
  padding: 16px 16px 16px 46px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  position: relative;
  font-weight: 800;
}

.checklist span::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--gold-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.feature-grid article {
  border-radius: 20px;
  padding: 18px;
}

.feature-grid span {
  display: block;
  color: var(--gold-2);
  font-weight: 900;
  margin-bottom: 18px;
}

.specs {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

dl div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

dt {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

dd {
  margin: 4px 0 0;
  font-size: 1.1rem;
  font-weight: 800;
}

.appointment {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 6px;
  border-radius: 24px;
  padding: 22px;
  margin-top: 28px;
}

.contact-card span {
  color: var(--muted);
  font-weight: 800;
}

.contact-card a {
  color: var(--gold-2);
  font-size: 1.65rem;
  font-weight: 900;
  text-decoration: none;
}

.form,
.calendar-frame {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.report-page {
  padding: 26px clamp(18px, 4vw, 58px) 50px;
}

.report-page .section {
  max-width: 980px;
}

.report-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.report-list li {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.055);
}

.history-table {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.history-table div {
  display: grid;
  grid-template-columns: 110px 110px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.history-table span {
  color: var(--muted);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-note {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 58px) 44px;
  color: var(--muted);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--gold-2);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .hero-grid,
  .highlights,
  .specs,
  .appointment {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .carfax-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .carfax-header {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
  }

  .nav-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .price-card,
  .checklist,
  .feature-grid,
  .carfax-grid,
  dl {
    grid-template-columns: 1fr;
  }

  .photo-frame {
    min-height: 250px;
  }

  .vehicle-shape {
    transform: translateY(20px) scale(0.72);
  }

  footer {
    display: grid;
  }

  .history-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
