:root {
  --bg: #0d1b24;
  --card: rgba(235, 245, 255, 0.86);
  --card-border: rgba(0, 40, 60, 0.18);
  --text: #0c2230;
  --muted: rgba(12, 34, 48, 0.75);
  --white: #ffffff;
  --primary: #0b3b57;
  --primary-2: #0a2f45;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

.page {
  min-height: 100dvh;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("zadniy fon.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 16, 24, 0.78) 0%, rgba(2, 16, 24, 0.58) 40%, rgba(2, 16, 24, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
  padding: 36px clamp(16px, 4vw, 54px);
}

.hero__left {
  display: grid;
  align-items: center;
}

.hero__left-inner {
  max-width: 620px;
}

.hero__left-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.hero__note {
  display: inline;
  opacity: 0.9;
}

.hero__right {
  display: grid;
  justify-items: end;
  align-items: center;
}

.card {
  width: min(520px, 100%);
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px 18px 16px;
  backdrop-filter: blur(10px);
}

.card__logo {
  display: grid;
  justify-items: start;
  overflow: hidden;
  height: 96px;
  margin-bottom: 6px;
}

.card__logo img {
  width: min(320px, 100%);
  height: auto;
  display: block;
  transform: translateY(-6px);
}

.card__title {
  margin: 0 0 0;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary);
}

.card__subtitle {
  margin: 10px 0 16px;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.45;
  color: var(--muted);
}

.wizard {
  display: grid;
  gap: 14px;
}

.step {
  display: none;
}

.step--active {
  display: block;
}

.step__question {
  margin: 0 0 10px;
  font-size: clamp(12px, 1.05vw, 14px);
  line-height: 1.2;
  color: var(--primary-2);
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(11, 59, 87, 0.22);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 650;
  letter-spacing: 0.2px;
  color: var(--primary);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.option:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.step__hint {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(12, 34, 48, 0.82);
}

.stats {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(11, 59, 87, 0.16);
}

.stats .step__hint {
  margin: 0;
  font-size: 15px;
}

.stats__line {
  margin: 0 0 8px;
  font-weight: 600;
  color: rgba(10, 47, 69, 0.9);
}

.stats__line:last-child {
  margin-bottom: 0;
}

.stats__note {
  margin: 0;
}

.lead {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  font-size: 12px;
  color: rgba(12, 34, 48, 0.75);
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 59, 87, 0.2);
  background: rgba(255, 255, 255, 0.8);
  outline: none;
  font-size: 14px;
}

.field__input:focus {
  border-color: rgba(11, 59, 87, 0.45);
  box-shadow: 0 0 0 4px rgba(11, 59, 87, 0.12);
}

.cta {
  margin-top: 2px;
  border: none;
  border-radius: 999px;
  padding: 14px 16px;
  cursor: pointer;
  background: linear-gradient(180deg, #0b3b57 0%, #092a3d 100%);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.cta:hover {
  filter: brightness(1.06);
}

.lead__fineprint {
  margin: 0;
  font-size: 11px;
  color: rgba(12, 34, 48, 0.65);
}

.wizard__nav {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.nav-btn {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(11, 59, 87, 0.18);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}

.wizard__progress {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-top: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(11, 59, 87, 0.22);
}

.dot--active {
  background: rgba(11, 59, 87, 0.75);
}

@media (max-width: 980px) {
  .hero__content {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .hero__right {
    justify-items: stretch;
  }

  .card {
    width: 100%;
  }

  .hero__left-inner {
    max-width: 100%;
  }
}

@media (min-width: 981px) {
  body {
    overflow: hidden;
  }

  .hero {
    height: 100dvh;
  }

  .hero__content {
    gap: 0;
    padding: 0;
    min-height: 100dvh;
    height: 100%;
  }

  .hero__bg {
    display: none;
  }

  .hero__overlay {
    display: none;
  }

  .hero__left {
    padding: 28px 48px 22px;
    background-image:
      linear-gradient(0deg, rgba(3, 34, 54, 0.78), rgba(3, 34, 54, 0.78)),
      url("zadniy fon.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    align-items: start;
    overflow: auto;
  }

  .hero__left-inner {
    max-width: none;
    width: 100%;
    margin-top: 164px;
  }

  .hero__left-text {
    text-align: left;
    font-weight: 650;
    font-size: clamp(18px, 1.35vw, 22px);
    line-height: 1.65;
  }

  .hero__right {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 22px 48px;
    background: rgba(226, 239, 247, 1);
    overflow: auto;
  }

  .card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .card__logo {
    justify-items: start;
    height: 120px;
    margin-bottom: 50px;
  }

  .card__logo img {
    width: min(520px, 100%);
    transform: none;
  }

  .card__title {
    text-align: center;
    font-size: clamp(26px, 2.2vw, 34px);
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .card__subtitle {
    text-align: center;
    font-size: clamp(15px, 1.2vw, 18px);
    margin: 0 0 20px;
  }

  .step__question {
    font-size: clamp(14px, 1.1vw, 16px);
    margin-bottom: 20px;
  }

  .wizard {
    gap: 20px;
  }

  .options {
    gap: 20px;
  }

  .step[data-step="1"] > .stats {
    margin-top: 50px;
  }

  .lead {
    gap: 20px;
  }

  .option {
    text-align: left;
    background: linear-gradient(180deg, rgba(235, 244, 250, 0.95) 0%, rgba(189, 214, 228, 0.92) 100%);
    border: 1px solid rgba(10, 47, 69, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 10px 22px rgba(0, 0, 0, 0.1);
    padding: 14px 18px;
    font-size: 15px;
  }

  .field__input {
    background: linear-gradient(180deg, rgba(235, 244, 250, 0.95) 0%, rgba(189, 214, 228, 0.92) 100%);
    border: 1px solid rgba(10, 47, 69, 0.25);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    padding: 14px 18px;
    font-size: 15px;
  }

  .cta {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 26px rgba(0, 0, 0, 0.16);
    padding: 16px 18px;
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .option {
    transition: none;
  }
}
