:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --ink: #151515;
  --muted: #64615b;
  --line: #ddd6cb;
  --accent: #d63f24;
  --accent-dark: #a82d19;
  --forest: #173d34;
  --steel: #26343b;
  --gold: #c89a45;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(22, 24, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.brand,
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
}

.header-phone {
  justify-self: end;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 10, 11, 0.86), rgba(7, 10, 11, 0.34) 55%, rgba(7, 10, 11, 0.72)),
    linear-gradient(0deg, rgba(7, 10, 11, 0.82), rgba(7, 10, 11, 0.08) 45%),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=2200&q=82") center / cover;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 130px 0 58px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(42px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 48px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 0 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin: 0;
  background: rgba(255, 255, 255, 0.24);
}

.hero-stats div {
  padding: 18px;
  background: rgba(13, 18, 19, 0.62);
}

.hero-stats dt {
  font-size: 28px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.quick-form {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 36px));
  margin: -34px auto 0;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  gap: 14px;
}

.lead-form.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 63, 36, 0.16);
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section,
.band {
  padding: 92px clamp(18px, 5vw, 70px);
}

.section-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head p,
.split p,
.lead-layout p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.car-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.car-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 45px rgba(21, 21, 21, 0.08);
}

.car-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.car-card div {
  padding: 22px;
}

.car-card p {
  color: var(--muted);
  line-height: 1.55;
}

.car-card span {
  color: var(--accent);
  font-weight: 900;
}

.band {
  color: #fff;
  background: var(--forest);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.16);
}

.steps article {
  min-height: 270px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  color: var(--gold);
  font-weight: 900;
}

.steps p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.6;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.9fr);
  gap: 54px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--steel);
  line-height: 1.5;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
}

.trust-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.price-row strong {
  color: var(--ink);
  text-align: right;
}

.price-row.total {
  border-bottom: 0;
  color: var(--ink);
  font-size: 19px;
}

.dark {
  color: #fff;
  background: var(--steel);
}

.lead-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 46px;
  width: min(1180px, 100%);
  margin: 0 auto;
  align-items: start;
}

.lead-layout p {
  color: rgba(255, 255, 255, 0.75);
}

.lead-form.full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.full label span {
  color: rgba(255, 255, 255, 0.78);
}

.wide {
  grid-column: 1 / -1;
}

.faq {
  display: grid;
  gap: 12px;
  width: min(860px, 100%);
  margin: 0 auto;
}

details {
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(21, 21, 21, 0.06);
}

summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 850;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 70px);
  color: #fff;
  background: #101314;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.64);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.16s;
}

.reveal.delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .reveal {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .lead-form.compact,
  .car-grid,
  .steps,
  .split,
  .lead-layout {
    grid-template-columns: 1fr;
  }

  .steps article {
    min-height: auto;
  }
}

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

  .brand span:last-child,
  .header-phone {
    font-size: 13px;
  }

  .hero {
    min-height: 96vh;
  }

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

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

  .section,
  .band {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .lead-form.full {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .footer {
    display: grid;
  }
}
