html {
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-white);
  color: var(--color-black);
  -webkit-font-smoothing: antialiased;
}

/* ─── Page wrapper ─── */
.page-wrapper {
  width: 1276px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}

/* Отступ header → hero */
.hero {
  margin-top: 20px;
}

/* Отступ между всеми остальными блоками */
.stats {
  margin-top: 120px;
}

/* ─── HEADER ─── */
.header {
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: block;
  width: 144px;
  height: 44px;
  flex-shrink: 0;
}

.header__logo img {
  display: block;
  width: 144px;
  height: 44px;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone-icon {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background-color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header__phone-icon img {
  width: 20px;
  height: 20px;
  display: block;
}

.header__phone-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header__phone-number {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-caption);
  color: var(--color-black);
  white-space: nowrap;
  text-decoration: none;
}

.header__phone-label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: 0.875rem;
  color: var(--color-grey-text);
  white-space: nowrap;
}

.btn-consult {
  background-color: var(--color-black);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 18px 32px;
  font-family: var(--font-family);
  font-size: var(--font-size-btn);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-btn);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.btn-consult:hover {
  background-color: var(--color-black-hover);
}

/* ─── HERO BLOCK ─── */
.hero {
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__main {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__heading {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  align-self: flex-start;
}

.hero__badge img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.hero__badge-text {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-caption);
  color: var(--color-black);
  white-space: nowrap;
}

/* H1 */
.hero__title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1);
  line-height: var(--line-height-h1);
  letter-spacing: var(--letter-spacing-h1);
  color: var(--color-black);
}

.hero__title-accent {
  color: var(--color-red);
}

/* Subtitle */
.hero__subtitle {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  color: var(--color-black);
}

/* CTA row */
.hero__cta {
  display: flex;
  align-items: center;
  gap: 40px;
}

.btn-cta {
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 22px 36px;
  font-family: var(--font-family);
  font-size: var(--font-size-btn);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-btn);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.btn-cta:hover {
  background-color: var(--color-red-hover);
}

/* Social proof */
.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 0 0;
  min-width: 0;
}

.hero__avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.hero__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-grey-bg);
}

.hero__avatar + .hero__avatar {
  margin-left: -12px;
}

.hero__avatar img {
  display: block;
  width: 36px;
  height: 36px;
  margin: -2px;
}

.hero__proof-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.hero__proof-count {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-small);
  color: var(--color-red);
}

.hero__proof-label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-small);
  color: var(--color-black);
}

/* Hero image */
.hero__image {
  width: 520px;
  height: 456px;
  flex-shrink: 0;
  overflow: hidden;
}

.hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── BULLETS ─── */
.hero__bullets {
  display: flex;
  gap: 20px;
}

.hero__bullet {
  flex: 1 0 0;
  min-width: 0;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero__bullet-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bullet-icon img {
  display: block;
  width: 32px;
  height: 32px;
}

.hero__bullet-text {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  color: var(--color-black);
  white-space: nowrap;
}

/* ─── STATS BLOCK ─── */
.stats {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.stats__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-black);
  text-align: center;
  width: 100%;
}

.stats__title-accent {
  color: var(--color-red);
}

.stats__row {
  display: flex;
  gap: 20px;
}

.stats__card {
  flex: 1 0 0;
  min-width: 0;
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.stats__icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats__icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stats__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 0 0;
  min-width: 0;
}

.stats__label {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-caption);
  color: var(--color-black);
}

.stats__value {
  font-size: var(--font-size-stat);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-stat);
  color: var(--color-red);
}

/* ─── QUIZ BLOCK ─── */
.quiz {
  background-color: var(--color-quiz-bg);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 120px;
}

#quiz-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Progress bar */
.quiz__progress {
  height: 12px;
  background-color: var(--color-quiz-progress-track);
  border-radius: 6px;
  width: 100%;
}

.quiz__progress-fill {
  height: 100%;
  background-color: var(--color-white);
  border-radius: 6px;
  transition: width 0.35s ease;
}

/* Heading */
.quiz__heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  color: var(--color-white);
}

.quiz__subtitle {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
}

.quiz__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
}

/* Answer grid */
.quiz__variants {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.quiz__option {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.quiz__radio {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: var(--radius-xs);
  border: 2px solid var(--color-quiz-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz__radio--checked {
  border-color: var(--color-quiz-bg);
}

.quiz__radio--checked img {
  display: block;
  width: 16px;
  height: 16px;
}

.quiz__option-text {
  flex: 1 0 0;
  min-width: 0;
  font-size: var(--font-size-btn);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-btn);
  color: var(--color-black);
}

/* Controls */
.quiz__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quiz__nav-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quiz__nav-btn img {
  display: block;
  width: 28px;
  height: 28px;
}

.quiz__nav-btn--back img {
  transform: rotate(180deg);
}

.quiz__counter {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  line-height: var(--font-size-small);
  letter-spacing: 0.56px;
  text-transform: uppercase;
  color: var(--color-quiz-counter);
  text-align: center;
}

/* ─── STEPS BLOCK ─── */
.steps {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 120px;
}

.steps__left {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.steps__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-black);
}

.steps__title-accent {
  color: var(--color-red);
}

.btn-steps {
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 22px 36px;
  font-family: var(--font-family);
  font-size: var(--font-size-btn);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-btn);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  align-self: flex-start;
  transition: background-color 0.2s ease;
}

.btn-steps:hover {
  background-color: var(--color-red-hover);
}

.steps__image {
  width: 620px;
  height: 544px;
  flex-shrink: 0;
}

.steps__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps__list {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps__item {
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.steps__badge {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  border: 2px solid var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.steps__badge--green {
  background-color: var(--color-green);
  border-color: var(--color-green);
}

.steps__badge-num {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-caption);
  color: var(--color-black);
}

.steps__badge--green img {
  display: block;
  width: 24px;
  height: 24px;
}

.steps__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.steps__step-title {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h4);
  color: var(--color-black);
}

.steps__step-desc {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5rem;
  color: var(--color-grey-text-2);
}

/* ─── DEBTS BLOCK ─── */
.debts {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.debts__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-black);
  text-align: center;
}

.debts__cols {
  display: flex;
  gap: 20px;
}

.debts__col {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.debts__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-sm);
}

.debts__col--green .debts__item {
  background-color: var(--color-green-light);
}

.debts__col--red .debts__item {
  background-color: var(--color-red-light);
}

.debts__item img {
  flex-shrink: 0;
}

.debts__item-text {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  color: var(--color-black);
}

/* ─── CONCERNS BLOCK ─── */
.concerns {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.concerns__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-black);
  text-align: center;
  width: 100%;
}

.concerns__title-accent {
  color: var(--color-red);
}

.concerns__cards {
  display: flex;
  gap: 20px;
}

.concerns__card {
  flex: 1 0 0;
  min-width: 0;
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concerns__card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.concerns__card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.concerns__card-text {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h4);
  color: var(--color-black);
}

/* ─── RESULTS BLOCK ─── */
.results {
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.results__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-black);
  text-align: center;
  width: 100%;
}

.results__title-accent {
  color: var(--color-red);
}

.results__cards {
  display: flex;
  gap: 20px;
}

.results__card {
  flex: 1 0 0;
  min-width: 0;
  background-color: var(--color-grey-bg);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.results__video {
  width: 100%;
  aspect-ratio: 224 / 126;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.results__video > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.results__video > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.results__play-btn {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  cursor: pointer;
}

.results__play-btn img {
  display: block;
  width: 20px;
  height: 20px;
}

.results__sum {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.results__sum-label {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-bold);
  line-height: 2rem;
  color: var(--color-black);
}

.results__sum-value {
  font-size: var(--font-size-sum);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-sum);
  color: var(--color-red);
}

.results__divider {
  height: 1px;
  background-color: var(--color-grey-border-2);
  width: 100%;
  flex-shrink: 0;
}

.results__info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-shrink: 0;
}

.results__info-icon {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.results__info-text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.results__info-label {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5rem;
  color: var(--color-black);
}

.results__info-value {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-body);
  color: var(--color-red);
  text-decoration: none;
}

.results__info-value--link {
  text-decoration: underline;
  text-decoration-color: rgba(180, 62, 65, 0.6);
  text-decoration-skip-ink: none;
  transition: text-decoration-color 0.2s ease;
}

.results__info-value--link:hover {
  text-decoration-color: transparent;
}

.results__badge {
  background-color: var(--color-green);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  width: 100%;
  flex-shrink: 0;
}

.results__badge img {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.results__badge-text {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: 1.25rem;
  color: var(--color-white);
  white-space: nowrap;
}

.results__caption {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.results__caption img {
  display: block;
  flex-shrink: 0;
}

.results__caption-text {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1rem;
  color: var(--color-black);
  white-space: nowrap;
}

/* ─── CTA BLOCK ─── */
.cta {
  margin-top: 120px;
  background-color: var(--color-gold);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta__content {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cta__main {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.cta__heading {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  align-self: flex-start;
}

.cta__badge img {
  display: block;
  flex-shrink: 0;
}

.cta__badge-text {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: 1.25rem;
  color: var(--color-black);
  white-space: nowrap;
}

.cta__title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-black);
}

.cta__title-accent {
  color: var(--color-red);
}

.cta__subtitle {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  color: var(--color-black);
}

.cta__button-row {
  display: flex;
  gap: 40px;
  align-items: center;
}

.btn-cta-block {
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 22px 36px;
  font-family: var(--font-family);
  font-size: var(--font-size-btn);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-btn);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.btn-cta-block:hover {
  background-color: var(--color-red-hover);
}

.cta__social-proof {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1 0 0;
  min-width: 0;
}

.cta__avatars {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.cta__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--color-gold);
}

.cta__avatar + .cta__avatar {
  margin-left: -12px;
}

.cta__avatar img {
  display: block;
  width: 36px;
  height: 36px;
  margin: -2px;
}

.cta__proof-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.cta__proof-count {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-small);
  color: var(--color-red);
}

.cta__proof-label {
  font-size: var(--font-size-small);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-small);
  color: var(--color-black);
}

.cta__image {
  width: 480px;
  height: 421px;
  flex-shrink: 0;
  overflow: hidden;
}

.cta__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta__bullets {
  display: flex;
  gap: 20px;
}

.cta__bullet {
  flex: 1 0 0;
  min-width: 0;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta__bullet-icon {
  display: block;
  flex-shrink: 0;
}

.cta__bullet-text {
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  color: var(--color-black);
  white-space: nowrap;
}

/* ─── FOOTER ─── */
.footer {
  margin-top: 120px;
  padding-bottom: 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__logo {
  display: block;
  width: 144px;
  height: 44px;
  flex-shrink: 0;
}

.footer__logo img {
  display: block;
  width: 144px;
  height: 44px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 412px;
}

.footer__link {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5rem;
  color: var(--color-grey-text-2);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--color-grey-text);
}

/* ─── QUIZ RESULT ─── */
.quiz__result {
  background-color: var(--color-red);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.quiz__result-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-white);
  text-align: center;
}

.quiz__result-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quiz__result-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quiz__result-input {
  width: 100%;
  background-color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  padding: 19px 20px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1rem;
  color: var(--color-black);
  outline: none;
}

.quiz__result-input::placeholder {
  color: var(--color-grey-text);
}

.quiz__result-btn {
  width: 100%;
  padding: 22px 36px;
  background-color: var(--color-gold);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1rem;
  color: var(--color-black);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quiz__result-btn:hover {
  background-color: var(--color-gold-hover);
}

.quiz__result-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.quiz__result-badge {
  background-color: #C05355;
  border-radius: 6px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.quiz__result-badge-text {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1rem;
  color: var(--color-white);
}

.quiz__result-disclaimer {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-caption);
  color: #E09A9C;
  text-align: center;
}

.quiz__result-disclaimer a {
  color: var(--color-white);
  text-decoration: underline;
  transition: text-decoration-color 0.2s ease;
}

.quiz__result-disclaimer a:hover {
  text-decoration-color: transparent;
}

/* Quiz disqualification screen */
.quiz__disqualify {
  background-color: var(--color-red);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.quiz__disqualify-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  color: var(--color-white);
}

.quiz__disqualify-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-h2);
  color: var(--color-white);
}

.quiz__disqualify-text {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.75rem;
  color: var(--color-white);
}

.quiz__disqualify-phone {
  color: var(--color-white);
  text-decoration: underline;
}

.quiz__disqualify-btn {
  width: 100%;
  padding: 22px 36px;
  background-color: var(--color-gold);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1rem;
  color: var(--color-black);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.quiz__disqualify-btn:hover {
  background-color: var(--color-gold-hover);
}

/* Quiz nav buttons states */
.quiz__nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.quiz__nav-btn--back.quiz__nav-btn--hidden {
  visibility: hidden;
  pointer-events: none;
}

/* ─── POPUP РЕКВИЗИТЫ ─── */
.popup-overlay {
  display: flex;
  position: fixed;
  inset: 0;
  background-color: rgba(28, 28, 28, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.popup-overlay--active {
  opacity: 1;
  visibility: visible;
}

.popup {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 60px;
  width: 628px;
  transform: translateY(12px);
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.popup-overlay--active .popup {
  transform: translateY(0);
  opacity: 1;
}

.popup__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup__title {
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  line-height: 2rem;
  color: var(--color-black);
  margin-bottom: 32px;
}

.popup__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.popup__item {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5rem;
  color: var(--color-black);
  padding: 12px 0;
}

.popup__item + .popup__item {
  border-top: 1px solid #ECECEC;
}

.popup__item:first-child {
  padding-top: 0;
}

.popup__item:last-child {
  padding-bottom: 0;
}

/* ─── MOBILE ≤ 768px ─── */
@media (max-width: 768px) {

  br {
    display: none;
  }

  .page-wrapper {
    width: 100%;
    padding: 16px;
  }

  .hero {
    margin-top: 16px;
  }

  .stats {
    margin-top: 52px;
  }

  /* Header */
  .header {
    padding: 12px;
    border-radius: 12px;
  }

  .header__logo {
    width: 92px;
    height: 28px;
  }

  .header__logo img {
    width: 92px;
    height: 28px;
  }

  .header__actions {
    gap: 10px;
  }

  .btn-consult {
    display: none;
  }

  .header__phone {
    gap: 10px;
  }

  .header__phone-icon {
    width: 28px;
    height: 28px;
    border-radius: 14px;
  }

  .header__phone-icon img {
    width: 14px;
    height: 14px;
  }

  .header__phone-info {
    gap: 4px;
  }

  .header__phone-number {
    font-size: 0.875rem;
    line-height: 0.875rem;
  }

  .header__phone-label {
    font-size: 0.625rem;
    line-height: 0.625rem;
  }

  /* Hero block */
  .hero {
    padding: 24px;
    border-radius: 24px;
    gap: 12px;
  }

  .hero__content {
    flex-direction: column;
    gap: 12px;
  }

  .hero__main {
    gap: 20px;
    width: 100%;
  }

  .hero__heading {
    gap: 16px;
  }

  .hero__badge {
    padding: 10px 16px;
  }

  .hero__badge img {
    width: 16px;
    height: 16px;
  }

  .hero__badge-text {
    font-size: 1rem;
    line-height: 1rem;
  }

  .hero__title {
    font-size: var(--font-size-h1-mobile);
    line-height: var(--line-height-h1-mobile);
    letter-spacing: var(--letter-spacing-h1-mobile);
  }

  .hero__subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* CTA: column, button full-width */
  .hero__cta {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
    padding: 18px 32px;
  }

  .hero__social-proof {
    flex: unset;
    width: 100%;
    gap: 12px;
  }

  /* Avatars */
  .hero__avatar {
    width: 32px;
    height: 32px;
  }

  .hero__avatar img {
    width: 32px;
    height: 32px;
    margin: -2px;
  }

  .hero__proof-count,
  .hero__proof-label {
    font-size: 0.75rem;
    line-height: 1.25rem;
  }

  /* Hero image: full width below text */
  .hero__image {
    width: 100%;
    height: auto;
    aspect-ratio: 520 / 456;
  }

  /* Bullets: vertical stack */
  .hero__bullets {
    flex-direction: column;
    gap: 8px;
  }

  .hero__bullet {
    border-radius: 12px;
    padding: 14px 20px;
    gap: 12px;
  }

  .hero__bullet-icon {
    width: 24px;
    height: 24px;
  }

  .hero__bullet-icon img {
    width: 24px;
    height: 24px;
  }

  .hero__bullet-text {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* Stats block */
  .stats {
    gap: 28px;
  }

  .stats__title-accent {
    display: block;
  }

  .stats__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .stats__row {
    flex-direction: column;
    gap: 16px;
  }

  .stats__card {
    padding: 24px;
    gap: 20px;
  }

  .stats__icon {
    width: 60px;
    height: 60px;
  }

  .stats__label {
    font-size: 1rem;
    line-height: 1rem;
  }

  .stats__value {
    font-size: var(--font-size-stat-mobile);
    line-height: var(--line-height-stat-mobile);
  }

  /* Quiz block */
  .quiz {
    margin-top: 52px;
    padding: 24px;
    border-radius: 24px;
    gap: 24px;
  }

  #quiz-body {
    gap: 24px;
  }

  .quiz__progress {
    height: 8px;
    border-radius: 4px;
  }

  .quiz__progress-fill {
    border-radius: 4px;
  }

  .quiz__subtitle {
    font-size: 0.875rem;
    line-height: 1.375rem;
  }

  .quiz__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .quiz__variants {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quiz__option {
    padding: 14px 20px;
    gap: 12px;
  }

  .quiz__radio {
    width: 24px;
    height: 24px;
  }

  .quiz__radio--checked img {
    width: 14px;
    height: 14px;
  }

  .quiz__option-text {
    font-size: 0.875rem;
    line-height: 0.875rem;
  }

  .quiz__counter {
    font-size: 0.75rem;
    line-height: 0.75rem;
    letter-spacing: 0.48px;
  }

  /* Quiz result (финальный экран) */
  .quiz__result {
    gap: 24px;
  }

  .quiz__result-title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .quiz__result-inputs {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .quiz__result-input {
    padding: 15px 20px;
  }

  .quiz__result-btn {
    padding: 18px 20px;
  }

  .quiz__result-badges {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quiz__result-badge {
    padding: 11px 20px;
  }

  .quiz__result-badge img {
    width: 14px;
    height: 14px;
  }

  .quiz__result-badge-text {
    font-size: 0.875rem;
    line-height: 0.875rem;
  }

  .quiz__result-disclaimer {
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-2xs);
  }

  /* Quiz disqualification screen — mobile */
  .quiz__disqualify {
    gap: 24px;
    border-radius: var(--radius-popup-mobile);
  }

  .quiz__disqualify-heading {
    gap: 16px;
  }

  .quiz__disqualify-title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .quiz__disqualify-text {
    font-size: 0.875rem;
    line-height: 1.375rem;
  }

  .quiz__disqualify-btn {
    padding: 18px 32px;
  }

  /* Steps block */
  .steps {
    flex-direction: column;
    gap: 20px;
    margin-top: 52px;
  }

  /* Порядок: заголовок → изображение → кнопка */
  .steps__title {
    order: 1;
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .steps__title-accent {
    display: block;
  }

  .steps__image {
    order: 2;
    width: 100%;
    height: auto;
    aspect-ratio: 520 / 456;
  }

  .btn-steps {
    order: 3;
    width: 100%;
    text-align: center;
    padding: 18px 32px;
    align-self: stretch;
  }

  .steps__left {
    gap: 20px;
    /* Полная ширина обязательна: .steps имеет align-items:flex-start,
       поэтому без этого колонка сжимается по содержимому и её ширина
       зависит от того, загрузилась ли картинка (lazy). Давало скачок
       вёрстки 313 -> 343 px при догрузке steps-man. */
    width: 100%;
  }

  .steps__list {
    gap: 16px;
  }

  .steps__item {
    padding: 24px;
    gap: 20px;
  }

  .steps__badge {
    width: 36px;
    height: 36px;
  }

  .steps__badge-num {
    font-size: 1rem;
    line-height: 1rem;
  }

  .steps__badge--green img {
    width: 16px;
    height: 16px;
  }

  .steps__text {
    gap: 8px;
  }

  .steps__step-title {
    font-size: 1rem;
    line-height: 1.25rem;
  }

  .steps__step-desc {
    font-size: 0.875rem;
    line-height: 1.375rem;
  }

  /* Debts block */
  .debts {
    margin-top: 52px;
    gap: 28px;
  }

  .debts__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .debts__cols {
    flex-direction: column;
    gap: 8px;
  }

  .debts__col {
    gap: 8px;
  }

  .debts__item {
    padding: 16px;
    gap: 12px;
  }

  .debts__item img {
    width: 24px;
    height: 24px;
  }

  .debts__item-text {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* Concerns block */
  .concerns {
    margin-top: 52px;
    gap: 28px;
  }

  .concerns__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .concerns__cards {
    flex-direction: column;
    gap: 16px;
  }

  .concerns__card {
    padding: 24px;
  }

  .concerns__card-text {
    font-size: 1rem;
    line-height: 1.25rem;
  }

  /* Results block */
  .results {
    margin-top: 52px;
    gap: 28px;
  }

  .results__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .results__cards {
    flex-direction: column;
    gap: 16px;
  }

  .results__card {
    padding: 24px;
    gap: 12px;
  }

  .results__sum-label {
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
  }

  .results__info-icon {
    width: 28px;
    height: 28px;
  }

  .results__info-label {
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
  }

  .results__info-value {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .results__badge {
    padding: 10px 20px;
  }

  .results__badge img {
    width: 16px;
    height: 16px;
  }

  .results__badge-text {
    font-size: 1rem;
    line-height: 1rem;
  }

  .results__caption img {
    width: 16px;
    height: 16px;
  }

  .results__caption-text {
    font-size: var(--font-size-small);
    line-height: var(--font-size-small);
  }

  /* CTA block */
  .cta {
    margin-top: 52px;
    padding: 24px;
    border-radius: 24px;
    gap: 12px;
  }

  .cta__content {
    flex-direction: column;
    gap: 12px;
  }

  .cta__main {
    gap: 20px;
  }

  .cta__heading {
    gap: 12px;
  }

  .cta__badge {
    padding: 10px 16px;
  }

  .cta__badge img {
    width: 16px;
    height: 16px;
  }

  .cta__badge-text {
    font-size: 1rem;
    line-height: 1rem;
  }

  .cta__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .cta__subtitle {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .cta__button-row {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .btn-cta-block {
    width: 100%;
    text-align: center;
    padding: 18px 32px;
  }

  .cta__social-proof {
    flex: unset;
    width: 100%;
    gap: 12px;
  }

  .cta__avatar {
    width: 32px;
    height: 32px;
  }

  .cta__avatar img {
    width: 32px;
    height: 32px;
  }

  .cta__proof-count,
  .cta__proof-label {
    font-size: 0.75rem;
    line-height: 1.25rem;
  }

  .cta__image {
    width: 100%;
    height: auto;
    aspect-ratio: 520 / 456;
  }

  .cta__bullets {
    flex-direction: column;
    gap: 8px;
  }

  .cta__bullet {
    border-radius: 12px;
    padding: 14px 20px;
    gap: 12px;
  }

  .cta__bullet-icon {
    width: 24px;
    height: 24px;
  }

  .cta__bullet-text {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* Footer */
  .footer {
    margin-top: 52px;
    padding-bottom: 16px;
    flex-direction: column;
    gap: 16px;
  }

  .footer__logo {
    width: 118px;
    height: 36px;
  }

  .footer__logo img {
    width: 118px;
    height: 36px;
  }

  .footer__links {
    width: 100%;
    gap: 4px;
  }

  .footer__link {
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
  }

  .popup-overlay {
    padding: 0 16px;
  }

  .popup {
    width: 100%;
    border-radius: var(--radius-popup-mobile);
    padding: 40px 24px;
  }

  .popup__close {
    top: 16px;
    right: 16px;
  }

  .popup__title {
    font-size: 1.25rem;
    line-height: 1.5rem;
    margin-bottom: 20px;
  }

  .popup__item {
    font-size: 0.875rem;
    line-height: 1.375rem;
    padding: 8px 0;
  }
}


