@font-face {
  font-family: 'TT Firs Neue';
  src: url('./font/TT Firs Neue Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Firs Neue';
  src: url('./font/TT Firs Neue Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Firs Neue';
  src: url('./font/TT Firs Neue Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Firs Neue';
  src: url('./font/TT Firs Neue Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* --blue: #0057B6; */
  --blue: #edae0f;
  --blue-dark: #003e8a;
  --blue-light: #e8f0fb;
  --text-dark: #141414;
  --text-gray: #64748b;
  --border: #e5e9f0;
  --bg: #f7f4ed;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  display: flex;
  justify-content: center;
  min-height: 100vh;
  color: var(--text-dark);
}

.app {
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ============ PRELOADER ============ */
.preloader {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  background: #fff;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

.preloader img {
  max-width: 80px;
}

/* ============ BONUS POPUP ============ */
.bonus-popup {
  position: fixed;
  inset: 0;
  width: 100%;
  min-height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000001;
  padding: 15px;
}

.bonus-popup.active {
  display: flex;
  animation: fadeInBg 0.4s ease-out;
}

@keyframes fadeInBg {
  from {
    background: rgba(0, 0, 0, 0);
  }

  to {
    background: rgba(0, 0, 0, 0.5);
  }
}

.bonus-content {
  background: #000 url('./img/modal-bg.png') center top / cover no-repeat;
  border-radius: 20px;
  padding: 30px 20px;
  position: relative;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.bonus-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
}

.bonus-close:hover {
  color: #555;
}

.bonus-img {
  width: 160px;
  margin: 0 auto;
  display: block;
  animation: bounceGift 2s infinite ease-in-out;
}

@keyframes bounceGift {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.bonus-subtitle {
  font-size: 17px;
  font-weight: 600;
  color: #ffffffb3;
  margin: 10px 0;
  letter-spacing: 0.5px;
  text-align: center;
}

.bonus-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #fff;
  text-align: center;
}

.bonus-title span {
  color: #fad600;
}

.bonus-text {
  font-size: 19px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.4;
}

.bonus-text span {
  font-weight: 500;
  font-size: 16px;
}

.bonus-popup .btn {
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  padding: 16px 20px;
  font-family: inherit;
}

.bonus-popup .btn:active {
  transform: scale(0.98);
}

.bonus-popup .btn-yellow {
  background: linear-gradient(180deg, #ffd44d 0%, #f5a623 100%);
  color: #000;
  width: 100%;
  box-shadow: 0px 15.43px 41.14px 0px #f5a6234d;
  animation: pulseBtn 2s infinite;
}

.bonus-popup .btn-yellow:hover {
  background: #e5b63b;
}

@keyframes pulseBtn {
  0% {
    box-shadow: 0 0 0 0 rgba(253, 203, 69, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(253, 203, 69, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(253, 203, 69, 0);
  }
}

/* ============ QUIZ WRAPPER ============ */
.quiz-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #F8FAFC;
}

/* ============ QUIZ CARD (white card for each step) ============ */
.quiz-card {
  background: var(--white);
  border-radius: 20px;
  margin: 32px 12px 20px;
  padding: 20px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  border: 1px solid #E2E8F0;
  box-shadow: 0px 8px 24px 0px #0F172A08;

}

/* ============ QUIZ HEADER ============ */
.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.quiz-logo {
  width: 120px;
  object-fit: contain;
}

.logo-box {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.logo-box span {
  font-weight: 500;
  font-size: 10px;
  background: #FCD106;
  padding: 5px 10px;
  border-radius: 20px;

}

.quiz-header-right {
  text-align: right;
}

.quiz-header-program {
  font-size: 11px;
  color: var(--text-gray);
  line-height: 1.3;
  max-width: 160px;
}

.common-wrapper {
  /* background: linear-gradient(180deg, #252525 0%, #080c14 100%); */
  background: #F1EAE5;
  flex-grow: 1;

}

/* ============ PROGRESS BAR ============ */
.quiz-progress {
  margin: 15px 15px 30px;
}

.quiz-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.quiz-progress-label {
  font-weight: 600;
  color: #2c2c2c;
  /* Темный текст слева */
}

.quiz-progress-percent {
  color: #7a8b9e;
  /* Серый цвет для "Готово:" */
  font-weight: 500;
}

.quiz-progress-percent strong {
  color: #fdd835;
  /* Ярко-желтый цвет для процента */
  font-weight: 700;
}

.quiz-progress-track {
  height: 8px;
  background: #e8eef5;
  /* Светло-голубоватый/серый фон трека */
  border-radius: 4px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: #fdd835;
  /* Желтая заправка */
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* ============ STEP ICON ============ */
.step-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.quiz-step-text {
  margin-bottom: 10px;
}

.quiz-step-text p {
  color: #64748B;

}

/* ============ QUESTION TEXT ============ */
.question-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.question-sub {
  font-size: 14px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* ============ RADIO OPTIONS ============ */
.radio-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4px;
  flex: 1;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  /* border-bottom: 1px solid var(--border); */
  border: 1px solid #e6e8ec;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 16px;
  -webkit-tap-highlight-color: transparent;
}

.radio-item:active {
  background: var(--blue-light);
  border-radius: var(--radius);
}

.radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #c5cdd8;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    border-color 0.2s,
    background 0.2s;
  background: #fff;
}

.radio-circle.selected {
  border-color: var(--blue);
  background: var(--blue);
}

.radio-circle.selected::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.radio-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  flex: 1;
}

/* ============ CUSTOM DATE PICKER ============ */
.dp-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dp-field {
  position: relative;
  z-index: 1;
}

.dp-field.open {
  z-index: 10;
}

/* Trigger button */
.dp-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.dp-trigger:hover {
  border-color: #b0c0d8;
}

.dp-field.open .dp-trigger {
  border-color: var(--blue);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
  box-shadow: 0 -2px 8px rgba(0, 87, 182, 0.06);
}

.dp-trigger-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dp-trigger-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
}

.dp-trigger-value.placeholder {
  color: #b0bac7;
}

.dp-trigger-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #9ca3af;
}

.dp-chevron {
  transition: transform 0.25s ease;
  color: #6b7280;
}

.dp-field.open .dp-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

/* Panel (dropdown) */
.dp-panel {
  display: none;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-top: none;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 87, 182, 0.1);
  overflow: hidden;
  animation: dpFadeIn 0.2s ease-out;
}

@keyframes dpFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dp-field.open .dp-panel {
  display: block;
}

/* ---- Calendar grid (Day) ---- */
.dp-calendar {
  padding: 10px 8px 12px;
}

.dp-cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.dp-cal-weekday {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  padding: 4px 0;
}

.dp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dp-cal-day {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.dp-cal-day:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.dp-cal-day.today {
  background: #eef3ff;
  color: var(--blue);
  font-weight: 700;
}

.dp-cal-day.selected {
  background: var(--blue);
  color: #fff;
  font-weight: 700;
}

.dp-cal-day.other-month {
  color: #d1d5db;
  cursor: default;
  pointer-events: none;
}

/* ---- Arrow row (Month, Year) ---- */
.dp-arrow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
}

.dp-arrow-btn {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    border-color 0.15s;
  font-family: inherit;
}

.dp-arrow-btn:hover {
  background: var(--blue-light);
  border-color: var(--blue);
  color: var(--blue);
}

.dp-arrow-btn:active {
  transform: scale(0.94);
}

.dp-arrow-label {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.3px;
}

/* Legacy date-label */
.date-label {
  font-size: 12px;
  color: var(--text-gray);
  margin-bottom: 4px;
  font-weight: 500;
}

/* ============ CONTINUE BUTTON ============ */
.btn-continue {
  width: 100%;
  background: #FFDD2D;
  box-shadow: 0px 8px 20px 0px #2563eb40;
  color: #000;
  border: none;
  border-radius: var(--radius);
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 20px;
  transition:
    background 0.2s,
    transform 0.1s;
  font-family: inherit;
  text-align: center;
}

.btn-continue:hover {
  background: #eebe11;
}

.btn-continue:active {
  transform: scale(0.98);
}

.btn-continue:disabled {
  background: #b0c4de;
  cursor: not-allowed;
  transform: none;
}

/* ============ FOOTER TRUST ============ */
.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 0 0;
  color: var(--text-gray);
  line-height: 1.3;
}

.quiz-footer img {
  width: 35px;
}

.footer-text b {
  font-size: 14px;
}

.footer-text {
  font-size: 13px;
  letter-spacing: -0.5px;
}

/* ============ QUIZ STEP ANIMATION ============ */
.quiz-step {
  display: none;
  flex-direction: column;
  flex: 1;
  animation: stepFadeIn 0.35s ease-out;
}

.quiz-step.active {
  display: flex;
}

.quiz-step-top {
  display: flex;
  gap: 15px;
  align-items: start;
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============ FORM STEP ============ */


.form-step-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 100%;
  text-align: left;
  letter-spacing: 0%;

}

.form-step-sub {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: #64748B;
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: left;
}

.last-step-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px 13px 14px;
  font-size: 16px;
  color: var(--text-dark);
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.form-field input:focus {
  border-color: var(--blue);
}

.form-field input::placeholder {
  color: #b0bac7;
}

.form-field-icon {
  position: relative;
}

.form-field-icon::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0.4;
}

/* .form-field-icon.icon-phone::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230057B6' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
} */

.phone-hint {
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.3;
}

.phone-hint svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============ HERO / LANDING PAGE ============ */
.hero-page {
  display: none;
  flex-direction: column;
  height: 100vh !important;
  /* background: var(--white); */
}

.hero-page.active {
  display: flex;
}

header {
  /* background: linear-gradient(180deg, #0070F3 0%, #003FB4 100%); */
  /* border-bottom: 1px solid #ababab; */
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  padding: 15px;
}

.hero-top {
  /* Темно-синий фон с наложенной картинкой через blend-mode или rgba */
  /* background: linear-gradient(180deg, rgba(0, 62, 138, 0.9) 0%, rgba(0, 87, 182, 0.8) 100%),  */
  /* background: url('./img/Hero-bg.png') center/cover no-repeat; */
  padding: 44px 20px 20px;
  position: relative;
}

.hero-top::after {
  position: absolute;
  content: "";
  background: url('./img/phone.png') right center / contain no-repeat;
  width: 100%;
  height: 100%;
  max-width: 240px;
  right: 0;
  top: 0px;
  /* z-index: -1; */
}

.hero-amount {
  background: #FFDD2D;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: flex-start;
  z-index: 2;
  position: relative;
  margin-left: 0;
  margin: 30px 0;
  max-width: 180px;
}

.hero-amount span {
  font-size: 16px;
  font-weight: 600;
}

.hero-amount strong {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-items: flex-start;
}

.hero-logo {
  height: 40px;
  object-fit: contain;
}

.hero-timer-group {
  display: flex;
  align-items: center;
  margin-top: 10px;
  gap: 10px;

}

.hero-timer-texts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-timer-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 2px;
  line-height: 1;
}

.hero-timer-val {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  line-height: 1.1;
  letter-spacing: 1.5px;
}

.hero-timer-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  background-color: #000;
  border-radius: 50%;
}

.hero-headline {
  color: #000;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2 !important;
  letter-spacing: -4%;
  margin-bottom: 34px;
}

.hero-headline span {
  color: #000;
  display: block;
  font-weight: 600;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: -3%;
  line-height: 0.5;
}

.hero-sub {
  color: #8e96a4;
  font-size: 11px;
  margin-bottom: 28px;
  line-height: 1;
  max-width: 215px;
}

.hero-glass-features {
  /* background: rgba(1, 125, 239, 0.25);
  border: 1px solid rgba(1, 125, 239, 0.5); */
  /* border-radius: 16px; */
  /* padding: 16px; */
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 64px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-glass-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
}

.hero-glass-feature strong {
  font-size: 14px;
  font-weight: 700;
}

.hero-glass-feature img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hero-warning img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hero-warning_text {
  font-size: 11px;
  font-weight: 700;

  .blue {
    color: #B1B1B1;
  }
}

.hero-bonus-card {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.102);
  box-shadow: 0px 4px 17.9px 0px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;
  max-width: 254px;
  color: #333;
  z-index: 2;
}

.hero-bonus-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffc400;
  color: #1a1a2e;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.hero-bonus-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-bonus-text {
  color: #333;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.hero-bonus-text strong {
  color: #ffc400;
  font-size: 18px;
  display: block;
}

.hero-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff05;
  border: 1px solid #ffffff22;
  border-radius: 14px;
  padding: 12px;
  /* margin-bottom: 24px; */
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
}

.hero-warning span {
  color: #ffc400;
  font-weight: 700;
  font-size: 13px;
}

.hero-cta-wrap {
  width: 100%;
  padding: 0 16px;
  margin-bottom: 32px;
  position: relative;
  z-index: 100;
}

.btn-hero {
  width: 100%;
  background: #ffdd2d;
  border: 1px solid #ffffff22;
  box-shadow: 0px 4px 17.9px 0px #00000040;
  color: #333333;
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.1s;
  /* margin: 0 auto; */
}

.btn-hero:active {
  transform: scale(0.98);
}

.hero-disclaimer {
  color: #B1B1B1;
  margin-top: 30px;
  font-weight: 200;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;

}

.hero-footer {
  background: #333333;
  color: #9CA3AF;
  padding: 24px;
  font-size: 11px;
  text-align: center;
  line-height: 1.5;
  margin-top: auto;
}

/* Белая секция */
.hero-body {
  background: #fff;
  padding: 24px 20px;
}

.hero-white-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  background: #ffffff;
  border: 1px solid #e1e8ed;
  padding: 20px 20px 10px;
  border-radius: 12px;
}

.hw-card {
  display: flex;
  align-items: center;
  gap: 16px;
  /* border-bottom: 1px solid var(--border); */
  padding: 0 0 12px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); */
}

.hw-card:not(:last-child) {
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hw-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hw-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.hw-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}

.hw-text span {
  color: #f5b400;
  font-size: 16px;
  line-height: 1.6;
}

.hero-section-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.hero-v-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.hero-v-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-v-icon {
  border-radius: 50%;
  /* background: var(--blue); */

  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 87, 182, 0.2);
}

.hero-v-icon img {
  width: 48px;
  height: 48px;
  width: 100%;
}

.hero-v-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.hero-v-desc {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.4;
  max-width: 260px;
}

.hero-blue-list {
  background: linear-gradient(180deg, #0070f3 0%, #003fb4 100%);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.hb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.3;
}

.hb-item:not(:last-child) {
  border-bottom: 1px solid #ffffff26;
  padding-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.hb-item strong {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.hb-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hb-icon img {
  width: 40px;
  height: 40px;
  /* filter: brightness(0) invert(1); */
}

/* ============ REJECTION SCREEN ============ */
.reject-screen {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  min-height: 60vh;
  animation: stepFadeIn 0.35s ease-out;
}

.reject-screen.active {
  display: flex;
}

.reject-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.reject-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.reject-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.5;
}

/* ============ UTILITY ============ */
.hidden {
  display: none !important;
}

/* ============ OLD FORM OVERRIDES (для совместимости с form/js) ============ */
.iti {
  width: 100%;
}

.iti__flag-container {
  border-radius: var(--radius) 0 0 var(--radius);
}

/* Phone error */
.phone-eror-mess {
  color: #ef4444;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

/* Legal small */
.legal-text-bottom {
  font-size: 10px;
  color: var(--text-gray);
  text-align: center;
  margin-top: 14px;
  line-height: 1.2;
}

/* ============ LOADING OVERLAY ============ */
#loading-overlay {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 475px;
  margin: 0 auto;
}

/* ============ QUIZ WRAPPER ============ */
.quiz-header-custom {
  padding: 24px 24px 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.quiz-header-text {
  flex: 1;
  z-index: 2;
  padding-bottom: 34px;
  max-width: 240px;
}

.quiz-header-text h2 {
  margin-bottom: 8px;
  line-height: 1.2;
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.4px;
}

.quiz-header-text p {
  font-weight: 400;
  font-size: 13px;
  color: #333;
  margin-bottom: 16px;
  line-height: 1.4;
  letter-spacing: -0.4px;
}

.manager-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
  letter-spacing: -0.4px;
}

.quiz-header-image {
  position: absolute;
  bottom: -90px;
  right: -60px;
  width: 250px;
  z-index: 1;
}

.quiz-header-image img {
  width: 100%;
  display: block;
}

.quiz-card {
  background: var(--white);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: -15px;
  z-index: 3;
  position: relative;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}