:root {
  --black: #060607;
  --white: #ffffff;
  --muted: #72757d;
  --red: #ff4242;
  --yellow: #f5c513;
  --blue: #227bdd;
  --line: #d9dce2;
  --soft: #f5f6f8;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--black);
  font-family: Roboto, Arial, Helvetica, sans-serif;
  background: var(--white);
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: min(1150px, calc(100% - 48px));
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  color: var(--white);
}

.logo img {
  display: block;
  width: 300px;
  max-width: 48vw;
  height: auto;
}

.phone-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 70% 35%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.76) 50%, rgba(0, 0, 0, 0.35)),
    repeating-linear-gradient(115deg, #101010 0 12px, #151515 12px 18px, #0b0b0b 18px 30px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(125deg, transparent 0 46%, rgba(255, 255, 255, 0.11) 47%, transparent 48%),
    linear-gradient(35deg, transparent 0 61%, rgba(255, 255, 255, 0.07) 62%, transparent 63%);
  background-size: 420px 320px, 500px 360px;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55));
}

.hero__car {
  position: absolute;
  z-index: 2;
  top: 120px;
  right: -250px;
  width: min(900px, 72vw);
  max-width: none;
  filter: drop-shadow(0 35px 30px rgba(0, 0, 0, 0.55));
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(1150px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 140px;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  color: var(--red);
  font-weight: 800;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 34px 0 30px;
  font-size: 22px;
  line-height: 1.4;
}

.hero__note::before {
  content: "👉";
  font-size: 34px;
}

.hero__note strong {
  color: var(--red);
}

.benefit-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 300px));
  gap: 30px;
  margin: 0 0 38px;
}

.mini-card {
  min-height: 100px;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  color: var(--black);
  background: rgba(244, 244, 244, 0.95);
  box-shadow: 3px 2px 10px rgba(0, 0, 0, 0.28);
}

.mini-card img {
  width: 66px;
  max-height: 68px;
  object-fit: contain;
}

.mini-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}

.hero__lead {
  max-width: 390px;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 300;
}

.primary-cta {
  width: min(380px, 100%);
  min-height: 95px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  border-radius: 10px;
  color: #000;
  background: var(--yellow);
  box-shadow: 0 7px 0 rgba(245, 197, 19, 0.35);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.primary-cta:hover {
  background: #e7c33d;
  transform: translateY(-2px);
}

.container {
  width: min(1150px, calc(100% - 48px));
  margin: 0 auto;
}

.saving-band {
  position: relative;
  z-index: 4;
  padding: 32px 0 50px;
  color: var(--white);
  background: #080808;
}

.saving-band h2 {
  margin: 0 0 24px;
  font-size: 16px;
}

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

.saving-grid p {
  min-height: 50px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border: 1px solid #000;
  border-radius: 10px;
  color: var(--black);
  background: #f4f4f4;
  box-shadow: 3px 2px 8px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}

.quiz-section {
  scroll-margin-top: 18px;
  padding: 80px 0 74px;
  background: var(--white);
}

.quiz-shell {
  width: min(1150px, calc(100% - 48px));
  min-height: 560px;
  margin: 0 auto;
}

.quiz-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.quiz-head h2 {
  max-width: 680px;
  margin: 0;
  font-size: 32px;
  line-height: 1.18;
}

.quiz-counter {
  min-width: 82px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.progress {
  height: 5px;
  margin-bottom: 44px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceef3;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
  transition: width 0.25s ease;
}

.quiz-form {
  position: relative;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.step {
  display: none;
  min-height: 310px;
}

.step.is-active {
  display: block;
}

.step h3 {
  margin: 0 0 34px;
  font-size: 30px;
  line-height: 1.2;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
}

.text-input,
.select-input,
.textarea-input {
  width: min(550px, 100%);
  height: 56px;
  border: 1px solid #bcc2cc;
  border-radius: 4px;
  padding: 0 16px;
  color: var(--black);
  background: var(--white);
  outline: none;
}

.textarea-input {
  height: 120px;
  padding-top: 14px;
  resize: vertical;
}

.text-input:focus,
.select-input:focus,
.textarea-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(34, 123, 221, 0.16);
}

.range-wrap {
  width: min(620px, 100%);
}

.range-value {
  display: inline-flex;
  min-width: 72px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--black);
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 14px;
}

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

.option {
  position: relative;
}

.option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option span {
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.option span::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 16px;
  height: 16px;
  border: 2px solid #c7ccd5;
  border-radius: 50%;
  background: var(--white);
}

.option input[type="checkbox"] + span::before {
  border-radius: 4px;
}

.option input:checked + span {
  border-color: var(--blue);
  background: rgba(34, 123, 221, 0.07);
  box-shadow: 0 0 0 3px rgba(34, 123, 221, 0.13);
}

.option input:checked + span::before {
  border-color: var(--blue);
  background: radial-gradient(circle, var(--blue) 0 42%, var(--white) 46%);
}

.option input[type="checkbox"]:checked + span::before {
  background: var(--blue);
  box-shadow: inset 0 0 0 3px var(--white);
}

.file-box {
  width: min(550px, 100%);
  display: grid;
  gap: 16px;
}

.file-trigger {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed #aab2bf;
  border-radius: 8px;
  background: var(--soft);
  cursor: pointer;
}

.file-trigger input {
  display: none;
}

.file-name {
  color: var(--muted);
  font-size: 14px;
}

.error-text {
  min-height: 24px;
  margin-top: 10px;
  color: #c71919;
  font-size: 14px;
}

.quiz-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.round-btn,
.next-btn {
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.round-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #d9d9d9;
  font-size: 24px;
}

.next-btn {
  min-width: 112px;
  height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue);
  font-weight: 800;
}

.round-btn:hover,
.next-btn:hover {
  transform: translateY(-1px);
}

.round-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.enter-hint {
  color: #9aa0aa;
  font-size: 13px;
}

.is-hidden {
  display: none !important;
}

.trust-section {
  padding: 70px 0;
  background: #101010;
  color: var(--white);
}

.trust-section h2 {
  margin: 0 0 28px;
  font-size: 32px;
}

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

.trust-grid article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.trust-grid h3 {
  margin: 0 0 12px;
  color: var(--yellow);
}

.trust-grid p {
  margin: 0;
  color: #e1e1e1;
  line-height: 1.55;
}

.site-footer {
  padding: 34px 24px;
  color: var(--white);
  background: #000;
  text-align: center;
}

.site-footer a {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  color: #d6d6d6;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.72);
}

.modal.is-open {
  display: flex;
}

.modal__card {
  position: relative;
  width: min(560px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  padding: 34px;
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.92);
  box-shadow: var(--shadow);
}

.modal__card h2 {
  margin: 0 0 12px;
}

.modal__card p {
  margin: 0 0 20px;
  line-height: 1.5;
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  color: var(--white);
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

#leadPreview {
  margin: 0;
  padding: 16px;
  overflow: auto;
  border-radius: 6px;
  color: #111;
  background: #f4f4f4;
  white-space: pre-wrap;
}

.thanks-page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.78)),
    repeating-linear-gradient(115deg, #101010 0 12px, #151515 12px 18px, #0b0b0b 18px 30px);
}

.thanks-screen {
  width: min(760px, calc(100% - 30px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  margin: 0 auto;
  padding: 42px 0;
}

.thanks-logo img {
  width: 300px;
  max-width: 80vw;
}

.thanks-card {
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.thanks-card h1 {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.15;
}

.thanks-card p {
  margin: 0 0 28px;
  color: #f0f0f0;
  font-size: 18px;
  line-height: 1.55;
}

.thanks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.thanks-phone {
  color: var(--white);
}

@media (max-width: 900px) {
  .site-header {
    height: 118px;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    min-height: 1180px;
  }

  .hero__content {
    padding-top: 155px;
    display: flex;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero__car {
    top: 575px;
    right: -70px;
    width: 720px;
  }

  .benefit-pair,
  .saving-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .benefit-pair {
    max-width: 360px;
    order: 5;
    margin-top: 420px;
  }

  .hero__lead {
    order: 3;
    margin-top: 26px;
  }

  .primary-cta {
    order: 4;
  }

  .saving-band {
    padding: 28px 0 44px;
  }

  .quiz-section {
    padding-top: 70px;
  }

  .options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero__content,
  .container,
  .quiz-shell {
    width: min(360px, calc(100% - 30px));
  }

  .logo img {
    width: 250px;
  }

  .phone-link {
    font-size: 18px;
  }

  .hero {
    min-height: 1190px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__note {
    font-size: 18px;
  }

  .hero__car {
    top: 610px;
    right: -95px;
    width: 520px;
  }

  .benefit-pair {
    margin-top: 330px;
  }

  .primary-cta {
    min-height: 84px;
    font-size: 23px;
  }

  .saving-band {
    padding: 26px 0 42px;
  }

  .quiz-head {
    display: block;
  }

  .quiz-counter {
    margin-top: 18px;
  }

  .quiz-head h2,
  .trust-section h2 {
    font-size: 28px;
  }

  .step h3 {
    font-size: 27px;
  }

  .quiz-actions {
    flex-wrap: wrap;
  }

  .enter-hint {
    width: 100%;
    padding-left: 62px;
  }

  .thanks-card {
    padding: 28px;
  }

  .thanks-card h1 {
    font-size: 32px;
  }
}
