/* =====================================================================
   Стили страницы новогодней акции (шаблон «Новогодняя акция»).
   Все классы начинаются с ny- и не пересекаются со стилями темы.

   ЦВЕТА задаются один раз ниже, в блоке .ny-page { --ny-...: ...; }
   Чтобы поменять цвет на всей странице — поменяйте его только там.
   ===================================================================== */

.ny-page {
  --ny-night: #0d2742;     /* тёмно-синий фон первого экрана */
  --ny-night-2: #17406a;   /* второй оттенок для градиента */
  --ny-teal: #52bba4;      /* фирменный бирюзовый фонда */
  --ny-sea: #00acb9;       /* фирменный морской */
  --ny-red: #d55342;       /* фирменный красный (кнопки) */
  --ny-red-hover: #c4412f;
  --ny-gold: #f2c46d;      /* праздничный золотой */
  --ny-ink: #1d2b36;       /* основной цвет текста */
  --ny-muted: #5f6f7a;     /* серый текст */
  --ny-line: #e3eaee;      /* рамки полей */
  --ny-snow: #f4f8fa;      /* светлый фон секций */
  --ny-white: #ffffff;
  --ny-radius: 20px;

  color: var(--ny-ink);
  font-family: "IBM Plex Sans", "Arial", sans-serif;
  background-color: var(--ny-white);
  overflow: hidden; /* чтобы снег и декор не давали горизонтальную прокрутку */
}

/* убираем отступы темы у заголовков и абзацев (:where — чтобы правила ниже легко их перебивали) */
.ny-page :where(h1, h2, h3, p) {
  margin: 0;
}

.ny-container {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.ny-accent {
  color: var(--ny-gold);
}

/* ---------- Кнопки ---------- */

.ny-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ny-btn:hover {
  transform: translateY(-2px);
}

.ny-btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.ny-btn--red {
  color: var(--ny-white);
  background-color: var(--ny-red);
  box-shadow: 0 10px 24px rgba(213, 83, 66, 0.35);
}

.ny-btn--red:hover,
.ny-btn--red:focus {
  color: var(--ny-white);
  background-color: var(--ny-red-hover);
}

.ny-btn--ghost {
  color: var(--ny-white);
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

.ny-btn--ghost:hover,
.ny-btn--ghost:focus {
  color: var(--ny-night);
  background-color: var(--ny-white);
}

.ny-btn--gold {
  color: var(--ny-night);
  background-color: var(--ny-gold);
  box-shadow: 0 10px 24px rgba(242, 196, 109, 0.35);
}

.ny-btn--gold:hover,
.ny-btn--gold:focus {
  color: var(--ny-night);
  background-color: #f7d48e;
}

.ny-btn--wide {
  width: 100%;
}

.ny-link {
  color: var(--ny-teal);
  text-decoration: none;
  border-bottom: 1px dashed currentColor;
}

.ny-link:hover {
  color: var(--ny-sea);
}

.ny-pill {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 16px;
  color: var(--ny-gold);
  border: 1px solid rgba(242, 196, 109, 0.5);
  border-radius: 999px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =====================================================================
   1. ПЕРВЫЙ ЭКРАН
   ===================================================================== */

.ny-hero {
  position: relative;
  padding: 90px 0 140px;
  color: var(--ny-white);
  /* ночное небо: градиент + «звёзды» из маленьких точек */
  background:
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 25% 70%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 40% 30%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 55% 85%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 70% 15%, rgba(255, 255, 255, 0.8), transparent),
    radial-gradient(1px 1px at 85% 55%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(2px 2px at 92% 25%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(ellipse at 80% 0%, rgba(82, 187, 164, 0.25), transparent 55%),
    linear-gradient(160deg, var(--ny-night) 0%, var(--ny-night-2) 100%);
}

.ny-hero__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.ny-hero__title {
  margin-bottom: 24px;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.12;
}

.ny-hero__lead {
  max-width: 560px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 19px;
  line-height: 1.55;
}

.ny-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ny-hero__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  z-index: 1;
}

.ny-hero__wave path {
  fill: var(--ny-white);
}

/* Снег. Снежинки (span) создаёт newyear.js */
.ny-snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ny-snow span {
  position: absolute;
  top: -10px;
  border-radius: 50%;
  background: var(--ny-white);
  opacity: 0.8;
  animation: ny-fall linear infinite;
}

@keyframes ny-fall {
  to {
    transform: translate(30px, 110vh);
  }
}

/* ---------- Обратный отсчёт ---------- */

.ny-countdown {
  padding: 32px 28px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ny-radius);
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ny-countdown__title {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ny-countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ny-countdown__cell {
  padding: 14px 4px 10px;
  border-radius: 14px;
  background: rgba(13, 39, 66, 0.55);
}

.ny-countdown__num {
  display: block;
  color: var(--ny-gold);
  font-family: "Abril-fatface", "IBM Plex Sans", serif; /* декоративный шрифт темы — для цифр */
  font-size: 38px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ny-countdown__label {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.ny-countdown__date {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

/* когда время пришло — JS добавляет этот класс */
.ny-countdown.is-done .ny-countdown__grid {
  display: none;
}

/* =====================================================================
   ОБЩЕЕ ДЛЯ СЕКЦИЙ
   ===================================================================== */

.ny-section {
  padding: 90px 0;
}

.ny-section__title {
  margin-bottom: 14px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.ny-section__subtitle {
  max-width: 620px;
  margin: 0 auto 50px;
  color: var(--ny-muted);
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
}

/* =====================================================================
   2. КАК ЭТО РАБОТАЕТ
   ===================================================================== */

.ny-how {
  padding-top: 40px;
}

.ny-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ny-step {
  position: relative;
  padding: 36px 30px 32px;
  border-radius: var(--ny-radius);
  background: var(--ny-snow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.ny-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(13, 39, 66, 0.1);
}

.ny-step__num {
  position: absolute;
  top: 24px;
  right: 26px;
  color: rgba(82, 187, 164, 0.25);
  font-family: "Abril-fatface", "IBM Plex Sans", serif;
  font-size: 56px;
  line-height: 1;
}

.ny-step__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  fill: none;
  stroke: var(--ny-teal);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ny-step__title {
  margin-bottom: 10px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.ny-step__text {
  color: var(--ny-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* =====================================================================
   3. ФОРМА
   ===================================================================== */

.ny-form-section {
  padding-top: 20px;
}

.ny-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ny-white);
  box-shadow: 0 30px 70px rgba(13, 39, 66, 0.16);
}

/* ---------- Левая цветная колонка ---------- */

.ny-card__aside {
  position: relative;
  padding: 44px 36px;
  color: var(--ny-white);
  background: linear-gradient(160deg, var(--ny-sea) 0%, var(--ny-teal) 100%);
}

.ny-card__bauble {
  display: block;
  width: 96px;
  height: 120px;
  margin: -44px 0 18px;
}

.ny-card__string { stroke: rgba(255, 255, 255, 0.7); stroke-width: 2; }
.ny-card__cap    { fill: var(--ny-gold); }
.ny-card__ball   { fill: var(--ny-red); }
.ny-card__shine  { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 5; stroke-linecap: round; }
.ny-card__heart  { fill: var(--ny-white); }

.ny-card__bauble {
  transform-origin: 50% 0;
  animation: ny-swing 4s ease-in-out infinite;
}

@keyframes ny-swing {
  0%, 100% { transform: rotate(-5deg); }
  50%      { transform: rotate(5deg); }
}

.ny-card__label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ny-card__sum {
  margin: 6px 0 4px;
  font-family: "Abril-fatface", "IBM Plex Sans", serif;
  font-size: 54px;
  line-height: 1.1;
}

.ny-card__date {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
}

.ny-checklist {
  margin: 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.ny-checklist li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.45;
}

/* белая галочка в кружке */
.ny-checklist li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.ny-checklist li::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 7px;
  width: 5px;
  height: 9px;
  border: solid var(--ny-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Правая колонка: форма ---------- */

.ny-card__main {
  padding: 44px 52px;
}

.ny-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
  color: var(--ny-muted);
  font-size: 14px;
}

.ny-stepper__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.ny-stepper__item b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ny-snow);
  font-size: 13px;
  transition: background-color 0.2s, color 0.2s;
}

.ny-stepper__item.is-active {
  color: var(--ny-ink);
  font-weight: 500;
}

.ny-stepper__item.is-active b {
  color: var(--ny-white);
  background: var(--ny-teal);
}

.ny-stepper__line {
  flex: 1;
  height: 2px;
  background: var(--ny-line);
}

.ny-form__step[hidden] {
  display: none;
}

.ny-form__title {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.ny-form__hint {
  margin-bottom: 26px;
  color: var(--ny-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ny-form__hint b {
  color: var(--ny-ink);
}

/* Кнопки с суммами */
.ny-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.ny-chip {
  position: relative;
  cursor: pointer;
}

/* сам кружок радио-кнопки прячем, рисуем свою «плашку» */
.ny-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ny-chip span {
  display: block;
  padding: 16px 6px;
  border: 2px solid var(--ny-line);
  border-radius: 14px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.ny-chip:hover span {
  border-color: var(--ny-teal);
}

.ny-chip input:checked + span {
  color: var(--ny-white);
  border-color: var(--ny-teal);
  background: var(--ny-teal);
}

.ny-chip input:focus-visible + span {
  outline: 3px solid rgba(82, 187, 164, 0.4);
  outline-offset: 2px;
}

/* Поля ввода */
.ny-field {
  display: block;
  margin-bottom: 16px;
}

.ny-field__label {
  display: block;
  margin-bottom: 6px;
  color: var(--ny-muted);
  font-size: 13px;
}

.ny-field input {
  display: block;
  width: 100%;
  margin: 0;
  padding: 14px 18px;
  color: var(--ny-ink);
  border: 2px solid var(--ny-line);
  border-radius: 14px;
  background: var(--ny-white);
  font-family: inherit;
  font-size: 16px; /* 16px — чтобы iPhone не увеличивал страницу при вводе */
  line-height: 22px;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}

.ny-field input::-webkit-outer-spin-button,
.ny-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ny-field input::placeholder {
  color: #a3b0b8;
}

.ny-field input:hover,
.ny-field input:focus {
  border-color: var(--ny-teal);
  outline: none;
}

.ny-field__wrap {
  position: relative;
  display: block;
}

.ny-field__suffix {
  position: absolute;
  top: 50%;
  right: 18px;
  color: var(--ny-muted);
  font-size: 16px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* красная рамка при ошибке (класс ставит JS) */
.ny-amounts.is-error .ny-chip span,
.ny-field input.is-error {
  border-color: var(--ny-red);
}

/* Выбор способа привязки: карта или СБП (две плитки, как кнопки сумм) */
.ny-paymethods {
  min-width: 0;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.ny-paymethods__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ny-paymethod {
  position: relative;
  cursor: pointer;
}

/* кружок радио-кнопки прячем, рисуем свою плитку */
.ny-paymethod input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ny-paymethod__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
  height: 100%;
  padding: 14px 16px;
  border: 2px solid var(--ny-line);
  border-radius: 14px;
  background: var(--ny-white);
  transition: border-color 0.2s, background-color 0.2s;
}

/* кружок-отметка в правом верхнем углу */
.ny-paymethod__box::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ny-line);
  border-radius: 50%;
  background: var(--ny-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ny-paymethod__icon {
  width: 30px;
  height: 30px;
  margin-bottom: 6px;
  fill: none;
  stroke: var(--ny-teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ny-paymethod__title {
  color: var(--ny-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.ny-paymethod__text {
  color: var(--ny-muted);
  font-size: 13px;
  line-height: 1.35;
}

.ny-paymethod:hover .ny-paymethod__box {
  border-color: var(--ny-teal);
}

.ny-paymethod input:checked + .ny-paymethod__box {
  border-color: var(--ny-teal);
  background: rgba(82, 187, 164, 0.08);
}

.ny-paymethod input:checked + .ny-paymethod__box::after {
  border-color: var(--ny-teal);
  box-shadow: inset 0 0 0 4px var(--ny-white), inset 0 0 0 10px var(--ny-teal);
}

.ny-paymethod input:focus-visible + .ny-paymethod__box {
  outline: 3px solid rgba(82, 187, 164, 0.4);
  outline-offset: 2px;
}

/* Галочка согласия */
.ny-check {
  display: flex;
  gap: 12px;
  margin: 8px 0 18px;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

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

.ny-check__box {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--ny-line);
  border-radius: 6px;
  transition: background-color 0.2s, border-color 0.2s;
}

.ny-check input:checked + .ny-check__box {
  border-color: var(--ny-teal);
  background: var(--ny-teal);
}

.ny-check input:checked + .ny-check__box::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--ny-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ny-check input:focus-visible + .ny-check__box {
  outline: 3px solid rgba(82, 187, 164, 0.4);
}

.ny-check__text {
  color: var(--ny-muted);
}

.ny-check__text a {
  color: var(--ny-teal);
  text-decoration: none;
}

.ny-check__text a:hover {
  text-decoration: underline;
}

.ny-form__note {
  margin-bottom: 18px;
  padding: 12px 16px;
  color: #2f6f61;
  border-radius: 12px;
  background: rgba(82, 187, 164, 0.12);
  font-size: 14px;
  line-height: 1.45;
}

.ny-form__back {
  display: table;
  margin: 18px auto 0;
  font-size: 14px;
}

.ny-form__error {
  margin-top: 12px;
  color: var(--ny-red);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

.ny-form__error:empty {
  display: none;
}

/* ---------- Сообщения (успех / ждём / ошибка) ---------- */

.ny-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding: 20px 0;
  text-align: center;
}

.ny-message__icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ny-teal);
}

/* галочка для успеха */
.ny-message--success .ny-message__icon::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 28px;
  width: 16px;
  height: 30px;
  border: solid var(--ny-white);
  border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}

/* крестик для ошибки */
.ny-message--error .ny-message__icon {
  background: var(--ny-red);
}

.ny-message--error .ny-message__icon::before,
.ny-message--error .ny-message__icon::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 36px;
  width: 4px;
  height: 32px;
  border-radius: 2px;
  background: var(--ny-white);
  transform: rotate(45deg);
}

.ny-message--error .ny-message__icon::after {
  transform: rotate(-45deg);
}

/* песочные часы для ожидания */
.ny-message--wait .ny-message__icon {
  background: var(--ny-gold);
}

.ny-message__title {
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
}

.ny-message__text {
  max-width: 460px;
  margin-bottom: 26px;
  color: var(--ny-muted);
  font-size: 16px;
  line-height: 1.6;
}

.ny-message__hint {
  max-width: 420px;
  padding-top: 20px;
  color: var(--ny-muted);
  border-top: 1px solid var(--ny-line);
  font-size: 14px;
  line-height: 1.5;
}

.ny-loader {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border: 4px solid var(--ny-line);
  border-top-color: var(--ny-teal);
  border-radius: 50%;
  animation: ny-spin 0.9s linear infinite;
}

@keyframes ny-spin {
  to { transform: rotate(360deg); }
}

/* =====================================================================
   4. ПОЧЕМУ В ПОЛНОЧЬ
   ===================================================================== */

.ny-why {
  background: var(--ny-snow);
}

.ny-why__quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.ny-why__star {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  fill: var(--ny-gold);
}

.ny-why__quote p,
.ny-why__content {
  margin-bottom: 16px;
  font-size: 19px;
  line-height: 1.65;
}

.ny-why__content {
  color: var(--ny-muted);
}

/* =====================================================================
   5. ВОПРОСЫ И ОТВЕТЫ
   ===================================================================== */

.ny-faq__inner {
  max-width: 820px;
}

.ny-faq .ny-section__title {
  margin-bottom: 40px;
}

.ny-faq__item {
  margin-bottom: 12px;
  border: 1px solid var(--ny-line);
  border-radius: 16px;
  background: var(--ny-white);
  transition: border-color 0.2s;
}

.ny-faq__item[open] {
  border-color: var(--ny-teal);
}

.ny-faq__item summary {
  position: relative;
  padding: 20px 60px 20px 24px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.ny-faq__item summary::-webkit-details-marker {
  display: none;
}

/* плюсик справа, превращается в минус при открытии */
.ny-faq__item summary::before,
.ny-faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 16px;
  height: 2px;
  background: var(--ny-teal);
  transition: transform 0.2s;
}

.ny-faq__item summary::after {
  transform: rotate(90deg);
}

.ny-faq__item[open] summary::after {
  transform: rotate(0);
}

.ny-faq__item p {
  padding: 0 24px 22px;
  color: var(--ny-muted);
  font-size: 16px;
  line-height: 1.6;
}

.ny-faq__item a {
  color: var(--ny-teal);
}

/* =====================================================================
   6. ФИНАЛЬНЫЙ ПРИЗЫВ
   ===================================================================== */

.ny-final {
  padding: 80px 0;
  color: var(--ny-white);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(242, 196, 109, 0.25), transparent 60%),
    linear-gradient(160deg, var(--ny-night) 0%, var(--ny-night-2) 100%);
}

.ny-final__title {
  margin-bottom: 30px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
}

/* =====================================================================
   АДАПТИВ: планшеты и телефоны
   ===================================================================== */

@media (max-width: 1023px) {
  .ny-hero {
    padding: 60px 0 120px;
  }

  .ny-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ny-hero__title {
    font-size: 40px;
  }

  .ny-card {
    grid-template-columns: 1fr;
  }

  .ny-card__aside {
    padding: 36px 28px 28px;
  }

  .ny-card__bauble {
    position: absolute;
    top: 0;
    right: 24px;
    margin: 0;
    width: 70px;
    height: 88px;
  }

  /* чтобы текст не заезжал под шарик */
  .ny-card__label,
  .ny-card__sum {
    padding-right: 80px;
  }

  .ny-card__main {
    padding: 36px 28px;
  }

  .ny-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .ny-container {
    padding: 0 16px;
  }

  .ny-hero {
    padding: 40px 0 100px;
  }

  .ny-hero__title {
    font-size: 30px;
  }

  .ny-hero__lead {
    font-size: 16px;
  }

  .ny-hero__actions .ny-btn {
    width: 100%;
  }

  .ny-countdown {
    padding: 24px 14px;
  }

  .ny-countdown__num {
    font-size: 28px;
  }

  .ny-section {
    padding: 60px 0;
  }

  .ny-how {
    padding-top: 20px;
  }

  .ny-section__title {
    font-size: 28px;
  }

  .ny-section__subtitle {
    margin-bottom: 32px;
    font-size: 16px;
  }

  .ny-card {
    border-radius: 20px;
  }

  .ny-card__sum {
    font-size: 42px;
  }

  .ny-card__main {
    padding: 28px 20px;
  }

  .ny-amounts {
    grid-template-columns: repeat(2, 1fr);
  }

  .ny-form__title,
  .ny-message__title {
    font-size: 23px;
  }

  .ny-why__quote p {
    font-size: 17px;
  }

  .ny-final__title {
    font-size: 26px;
  }

  .ny-final .ny-btn {
    width: 100%;
  }
}

/* Если у человека в системе включено «уменьшить движение» — отключаем анимации */
@media (prefers-reduced-motion: reduce) {
  .ny-snow,
  .ny-card__bauble,
  .ny-loader {
    animation: none;
  }

  .ny-snow {
    display: none;
  }
}
