:root {
  --bg: #f5efe4;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffaf2;
  --text: #1e1c1a;
  --muted: #645d56;
  --line: rgba(30, 28, 26, 0.1);
  --primary: #b6442c;
  --primary-dark: #8d2e1d;
  --accent: #1d4c63;
  --gold: #c8912d;
  --shadow: 0 20px 60px rgba(62, 39, 24, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(182, 68, 44, 0.14), transparent 30%),
    radial-gradient(circle at top right, rgba(29, 76, 99, 0.18), transparent 24%),
    linear-gradient(180deg, #f8f2e9 0%, #f3eadb 52%, #fffaf4 100%);
}

.hero {
  min-height: 100vh;
  padding: 24px clamp(20px, 5vw, 64px) 56px;
}

.nav,
.hero-content,
.section,
.contact-panel {
  max-width: 1160px;
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  background: rgba(255, 250, 242, 0.7);
}

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

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

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

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  max-width: 11ch;
  margin-bottom: 20px;
}

.hero-text,
.section-heading h2,
.contact-panel p,
.car-card p,
.benefit-card p,
.hero-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 58ch;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.56);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.hero-stats li,
.hero-card,
.car-card,
.benefit-card,
.contact-panel {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-stats li {
  display: grid;
  gap: 4px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.58);
  border-radius: 22px;
}

.hero-stats strong {
  font-size: 1.5rem;
}

.hero-stats span {
  color: var(--muted);
}

.hero-card {
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(29, 76, 99, 0.96), rgba(18, 38, 50, 0.94));
  color: white;
}

.hero-card-top,
.car-card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill {
  background: rgba(255, 255, 255, 0.14);
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-card h2 {
  margin: 18px 0 12px;
  font-size: 2rem;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.78);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.spec-grid div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.spec-grid span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.88rem;
}

.section {
  padding: 28px 20px 88px;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.section-heading h2 {
  margin-bottom: 0;
  max-width: 13ch;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.04;
}

.section-heading.narrow h2 {
  max-width: 16ch;
}

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

.car-card,
.benefit-card {
  padding: 24px;
  border-radius: 26px;
  background: var(--surface-strong);
}

.car-card h3,
.benefit-card h3 {
  margin: 16px 0 10px;
  font-size: 1.4rem;
}

.car-card ul {
  margin-bottom: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.accent-blue {
  background: linear-gradient(180deg, rgba(220, 236, 242, 0.95), rgba(255, 250, 242, 0.95));
}

.accent-red {
  background: linear-gradient(180deg, rgba(247, 226, 220, 0.95), rgba(255, 250, 242, 0.95));
}

.accent-gold {
  background: linear-gradient(180deg, rgba(247, 236, 214, 0.95), rgba(255, 250, 242, 0.95));
}

.accent-blue .tag {
  background: rgba(29, 76, 99, 0.12);
  color: var(--accent);
}

.accent-red .tag {
  background: rgba(182, 68, 44, 0.12);
  color: var(--primary);
}

.accent-gold .tag {
  background: rgba(200, 145, 45, 0.14);
  color: #8f6515;
}

.car-price {
  font-weight: 800;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.7);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  padding: 32px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(182, 68, 44, 0.96), rgba(137, 45, 28, 0.96));
  color: white;
}

.contact-panel .eyebrow,
.contact-panel p,
.contact-panel strong {
  color: white;
}

.contact-details {
  display: grid;
  align-content: center;
  gap: 8px;
}

@media (max-width: 920px) {
  .hero-content,
  .card-grid,
  .benefit-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-bottom: 32px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding-bottom: 64px;
  }
}

@media (max-width: 640px) {
  .nav {
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-content {
    padding-top: 42px;
  }

  h1 {
    max-width: none;
  }

  .hero-card,
  .car-card,
  .benefit-card,
  .contact-panel {
    border-radius: 22px;
  }

  .contact-panel {
    padding: 24px;
  }
}
