:root {
  --bg: #04070f;
  --bg-soft: #0b111f;
  --bg-card: rgba(12, 18, 30, 0.85);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.7);
  --accent: #ff7a18;
  --accent-2: #36e7b7;
  --stroke: rgba(255, 255, 255, 0.08);
  --font-main: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Unbounded', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  background: radial-gradient(circle at top right, rgba(6, 48, 82, 0.6), transparent 50%),
    linear-gradient(120deg, rgba(26, 33, 56, 0.9), rgba(4, 7, 15, 0.98));
  min-height: 100vh;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section {
  padding: 80px 0;
}

.section__head {
  max-width: 720px;
  margin-bottom: 50px;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  margin: 10px 0 15px;
  letter-spacing: -0.02em;
}

.section__head p {
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  color: var(--accent-2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.btn--primary {
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c);
  color: #0b0f18;
}

.btn--glow {
  box-shadow: 0 0 30px rgba(255, 138, 44, 0.5);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
  background: transparent;
}

.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero__noise,
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__noise {
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04) 0, transparent 40%),
    radial-gradient(circle at 80% 0, rgba(255, 255, 255, 0.03) 0, transparent 35%),
    radial-gradient(circle at 0 80%, rgba(255, 255, 255, 0.03) 0, transparent 45%);
  opacity: 0.4;
  mix-blend-mode: screen;
}

.hero__glow {
  background: radial-gradient(circle at 70% 30%, rgba(47, 130, 255, 0.35), transparent 50%);
}

.hero__content {
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero__text h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 58px);
  line-height: 1.1;
  margin: 12px 0;
}

.hero__text h1 span {
  color: var(--accent-2);
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.hero__list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.hero__list li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 6px;
}

.hero__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 2px;
  background: var(--accent);
}

.hero__card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
}

.hero__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero__image {
  height: 300px;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.hero__card-content {
  padding: 28px;
}

.hero__card h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.hero__card p {
  color: var(--muted);
  margin: 0 0 16px;
}

.hero__card-stats {
  display: flex;
  gap: 30px;
}

.hero__card-stats span {
  display: block;
  font-weight: 600;
  font-size: 20px;
}

.section--metrics {
  background: linear-gradient(180deg, rgba(6, 8, 20, 0), rgba(6, 8, 20, 0.8));
}

.metrics__grid,
.services__grid,
.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--stroke);
  padding: 32px;
  border-radius: 20px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-card__value {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-2);
}

.metric-card__label {
  color: var(--muted);
  margin: 0;
}

.service-card {
  background: rgba(11, 17, 31, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  border-radius: 24px;
  min-height: 220px;
  backdrop-filter: blur(8px);
}

.service-card h3 {
  margin-top: 0;
  font-size: 22px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.step {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
}

.step span {
  font-size: 14px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
}

.step h3 {
  margin: 10px 0;
  font-size: 22px;
}

.step p {
  color: var(--muted);
  margin: 0;
}

.guarantee {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  border: 1px solid var(--stroke);
  border-radius: 32px;
  padding: 50px;
  background: rgba(9, 13, 24, 0.85);
}

.guarantee ul {
  padding-left: 20px;
  color: var(--muted);
}

.guarantee__badge {
  border-left: 1px solid var(--stroke);
  padding-left: 40px;
}

.guarantee__badge h3 {
  margin: 6px 0 12px;
  font-size: 24px;
}

.guarantee__badge span {
  color: var(--muted);
  font-size: 14px;
}

.section--cta {
  padding: 80px 0 100px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px;
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(5, 11, 30, 0.95), rgba(8, 31, 65, 0.9));
  border: 1px solid var(--stroke);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.cta__note {
  color: var(--muted);
  margin-top: 12px;
}

.section--quiz {
  padding-bottom: 120px;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  background: rgba(4, 6, 14, 0.95);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.footer__list {
  list-style: none;
  padding: 0;
  color: var(--muted);
}

.footer__list li {
  margin-bottom: 12px;
}

.footer__list span {
  color: var(--text);
  font-weight: 500;
  margin-right: 4px;
}

.footer__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer__copy {
  margin-top: 50px;
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero__card-stats {
    flex-direction: column;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .guarantee {
    padding: 30px;
  }

  .guarantee__badge {
    border-left: none;
    padding-left: 0;
  }

  .cta {
    padding: 30px;
  }
}





/* === ПОЧЕМУ ВЫБИРАЮТ НАС — ЦЕНТРОВКА + GLOW, БЕЗ ИЗМЕНЕНИЯ СТЕКЛА === */

.section--metrics .metric-card {
  display: flex;
  flex-direction: column;
  align-items: center;       /* центрируем горизонтально */
  justify-content: center;   /* центрируем вертикально */
  text-align: center;        /* центр текста */
  position: relative;
}

/* Смайлик — идеально по центру */
.section--metrics .metric-card__value {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 42px;
  margin-bottom: 12px;
}

/* Текст тоже по центру */
.section--metrics .metric-card__label {
  text-align: center;
  line-height: 1.35;
}

/* ——— ПРЕМИАЛЬНОЕ СИЯНИЕ ПОЗАДИ КАРТОЧКИ ——— */
.section--metrics .metric-card::before {
  content: "";
  position: absolute;
  inset: -8px;                 /* свечения больше самой карточки */
  z-index: -1;

  background: radial-gradient(
      circle at center,
      rgba(255, 220, 160, 0.35),
      rgba(255, 200, 120, 0.1) 45%,
      transparent 75%
  );

  filter: blur(22px);
  opacity: 0.75;

  transition: opacity 0.4s ease, filter 0.4s ease;
  border-radius: 18px;        /* повторяем форму */
}

/* Усиление glow при наведении */
.section--metrics .metric-card:hover::before {
  opacity: 1;
  filter: blur(28px);
}

/* === КВИЗ — ПРЕМИАЛЬНЫЙ СТИЛЬ === */

.section--quiz .quiz-shell {
  max-width: 720px;
  margin: 0 auto;
}

.section--quiz .quiz-container {
  background: var(--bg-card);
  border-radius: 28px;
  border: 1px solid var(--stroke);
  padding: 32px 28px 32px;
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

/* прогресс-бар */
.section--quiz .progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 28px;
}

.section--quiz .progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff8f2b, #ff4e1c);
  border-radius: inherit;
  transition: width 0.4s ease;
}

/* шаги квиза */
.section--quiz .quiz-step {
  display: none;
}

.section--quiz .quiz-step.active {
  display: block;
}

.section--quiz .quiz-step h2 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: 0 0 8px;
  text-align: center;
}

.section--quiz .quiz-step p {
  margin: 0 0 20px;
  text-align: center;
  color: var(--muted);
}

/* блок с вариантами / полями */
.section--quiz .quiz-step_radio_cont {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

/* ВОПРОС 1 — ввод города: делаем нормальное окно */

.section--quiz #question01 {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(5, 10, 22, 0.85);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.section--quiz #question01::placeholder {
  color: rgba(245, 247, 251, 0.45);
}

.section--quiz #question01:focus {
  border-color: var(--accent);
  background: rgba(8, 14, 30, 0.95);
  box-shadow: 0 0 0 1px rgba(255, 138, 44, 0.4), 0 0 24px rgba(255, 138, 44, 0.3);
}

/* ВОПРОСЫ 2–3 — варианты как премиальные кнопки */

.section--quiz .quiz-step_radio_cont label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 15px;
  color: var(--text);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

/* скрываем стандартный кружок радио */
.section--quiz .quiz-step_radio_cont input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* кастомный маркер слева */
.section--quiz .quiz-step_radio_cont label::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  box-sizing: border-box;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* hover */
.section--quiz .quiz-step_radio_cont label:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* выбранный вариант */
.section--quiz .quiz-step_radio_cont input[type="radio"]:checked + *::before {
  border-color: transparent;
  background: linear-gradient(120deg, #ff8f2b, #ff4e1c);
  box-shadow: 0 0 12px rgba(255, 138, 44, 0.7);
}

.section--quiz .quiz-step_radio_cont input[type="radio"]:checked + * {
  border-color: rgba(255, 138, 44, 0.9);
  background: linear-gradient(
    120deg,
    rgba(255, 143, 43, 0.18),
    rgba(255, 78, 28, 0.12)
  );
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

/* ряд с кнопками Назад/Далее/Отправить */

.section--quiz .btn-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.section--quiz .btn-row .next-btn,
.section--quiz .btn-row .prev-btn {
  min-width: 140px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(6, 10, 22, 0.9);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.section--quiz .btn-row .next-btn {
  border-color: transparent;
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c);
  color: #0b0f18;
}

.section--quiz .btn-row .next-btn:hover,
.section--quiz .btn-row .prev-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

/* последний шаг — поля Имя и Телефон в том же стиле */

.section--quiz .quiz-step__form_ctn {
  margin-top: 10px;
  display: grid;
  gap: 14px;
}

.section--quiz .quiz-step__form_ctn .form__tel input[type="text"],
.section--quiz .quiz-step__form_ctn .form__tel input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(5, 10, 22, 0.9);
  color: var(--text);
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.section--quiz .quiz-step__form_ctn .form__tel input::placeholder {
  color: rgba(245, 247, 251, 0.45);
}

.section--quiz .quiz-step__form_ctn .form__tel input:focus {
  border-color: var(--accent-2);
  background: rgba(8, 14, 30, 0.98);
  box-shadow: 0 0 0 1px rgba(54, 231, 183, 0.45), 0 0 24px rgba(54, 231, 183, 0.3);
}

/* кнопка отправки в конце квиза */

.section--quiz .quiz-step__form_ctn__btn {
  width: 100%;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c);
  color: #0b0f18;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  margin-top: 4px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 0 28px rgba(255, 138, 44, 0.45);
}

.section--quiz .quiz-step__form_ctn__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

/* мобильная адаптация */

@media (max-width: 600px) {
  .section--quiz .quiz-container {
    padding: 24px 18px 26px;
  }

  .section--quiz .quiz-step h2 {
    font-size: 20px;
  }

  .section--quiz .quiz-step p {
    font-size: 14px;
  }
}
/* === ПОЧИНАЕМ КЛИКАБЕЛЬНОСТЬ ВАРИАНТОВ ОТВЕТОВ === */

/* возвращаем нормальные клики для radio-кнопок */
.section--quiz .quiz-step_radio_cont input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: auto; /* ← теперь клики работают */
}

/* корректный выбор варианта: подсветка всего label */
.section--quiz .quiz-step_radio_cont input[type="radio"]:checked + label,
.section--quiz .quiz-step_radio_cont label:has(input[type="radio"]:checked) {
  border-color: rgba(255, 138, 44, 0.9);
  background: linear-gradient(
    120deg,
    rgba(255, 143, 43, 0.18),
    rgba(255, 78, 28, 0.12)
  );
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

/* каскад на hover */
.section--quiz .quiz-step_radio_cont label:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-1px);
}

/* === УБИРАЕМ КРУЖКИ В ПЕРВОМ ВОПРОСЕ === */

/* применяем кружки только там, где есть radio — НЕ text input */
.section--quiz .quiz-step_radio_cont label::before {
  display: none !important; /* убираем кружки полностью */
}
/* Плейсхолдер в имени и телефоне — виден даже при фокусе */
.section--quiz .quiz-step__form_ctn .form__tel input::placeholder {
  color: rgba(245, 247, 251, 0.65) !important; /* мягкий светлый текст */
  opacity: 1 !important;
}

.section--quiz .quiz-step__form_ctn .form__tel input:focus::placeholder {
  color: rgba(245, 247, 251, 0.65) !important;
  opacity: 1 !important; /* не прятать при фокусе */
}
/* ================================
   PREMIUM MOTION / ANIMATIONS
   ================================ */

/* 1. Живое свечение фона в hero */
@keyframes heroGlowDrift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate3d(20px, -10px, 0) scale(1.08);
    opacity: 0.9;
  }
  100% {
    transform: translate3d(-10px, 10px, 0) scale(1.02);
    opacity: 0.7;
  }
}

@keyframes heroNoiseDrift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-15px, 10px, 0); }
  100% { transform: translate3d(10px, -8px, 0); }
}

.hero__glow {
  animation: heroGlowDrift 16s ease-in-out infinite alternate;
}

.hero__noise {
  animation: heroNoiseDrift 22s linear infinite;
}

/* 2. Плавное «плавание» карточек и премиальных блоков */

@keyframes floatCard {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(0, -8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* hero-карточка и крупные блоки CTA */
.hero__card,
.cta {
  transform-origin: center;
  animation: floatCard 18s ease-in-out infinite;
}

/* карточки фестивалей и метрик — лёгкий флотационный эффект */
.case-card,
.metric-card,
.service-card,
.step,
.quiz-container {
  transform-origin: center;
  animation: floatCard 22s ease-in-out infinite;
}

/* 3. Премиальный подсвет и дыхание карточек */

@keyframes cardGlowPulse {
  0% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }
  50% {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.65);
  }
  100% {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  }
}

.hero__card,
.cta,
.section--quiz .quiz-container {
  animation: floatCard 18s ease-in-out infinite,
             cardGlowPulse 16s ease-in-out infinite;
}

/* 4. Премиальная анимация кнопок (блик) */

@keyframes buttonShine {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

/* только на «главных» кнопках */
.btn--primary,
.btn--glow {
  position: relative;
  overflow: hidden;
}

.btn--primary::after,
.btn--glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: translateX(-130%);
  opacity: 0;
  pointer-events: none;
}

.btn--primary:hover::after,
.btn--glow:hover::after {
  opacity: 1;
  animation: buttonShine 0.8s ease-out forwards;
}

/* лёгкий «тап»-эффект */
.btn:active {
  transform: translateY(0) scale(0.97);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

/* 5. Плавное появление секций при загрузке */

@keyframes fadeUpSoft {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.section,
.hero {
  animation: fadeUpSoft 0.8s ease-out;
  animation-fill-mode: backwards;
}

/* небольшие задержки, чтобы блоки входили каскадом */
.hero        { animation-delay: 0.1s; }
.section--metrics { animation-delay: 0.25s; }
.section--cta     { animation-delay: 0.45s; }
.section--quiz    { animation-delay: 0.55s; }

/* 6. Плавная смена шагов квиза */

@keyframes quizStepIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.section--quiz .quiz-step {
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.98);
}

.section--quiz .quiz-step.active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  animation: quizStepIn 0.45s ease-out;
}

/* 7. Лёгкий shimmer-эффект для прогресс-бара квиза */

.section--quiz .progress-bar {
  position: relative;
  overflow: hidden;
}

.section--quiz .progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: translateX(-130%);
  pointer-events: none;
  animation: buttonShine 2.4s ease-in-out infinite;
  opacity: 0.4;
}

/* 8. Мягкое «дыхание» свечения у метрик (ПОЧЕМУ ВЫБИРАЮТ НАС) */

@keyframes metricGlowPulse {
  0%   { opacity: 0.6; filter: blur(20px); }
  50%  { opacity: 1;   filter: blur(26px); }
  100% { opacity: 0.6; filter: blur(20px); }
}

.section--metrics .metric-card::before {
  animation: metricGlowPulse 12s ease-in-out infinite;
}

/* 10. Микродвижение иконок / смайликов в метриках */

@keyframes iconBreathe {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

.metric-card__value {
  animation: iconBreathe 10s ease-in-out infinite;
}
html {
  scroll-behavior: smooth;
}
/* Центровка активного шага квиза по вертикали */
.section--quiz .quiz-step.active {
  display: flex !important;
  flex-direction: column;
  justify-content: center;    /* ← вертикальное центрирование */
  min-height: 100vh;           /* или 70vh, если хочешь выше */
}
/* Поднимаем кнопку ДАЛЕЕ в квизе */
.section--quiz .btn-row {
  margin-top: 22px !important;   /* поднимает кнопку вверх */
  margin-bottom: 10px !important; /* добавляет "воздух" снизу */
}

/* Дополнительно — если кнопка всё ещё близко к краю */
.section--quiz .quiz-step {
  padding-bottom: 20px !important;
}
/* === ЕДИНЫЙ ПРЕМИАЛЬНЫЙ ФОН ДЛЯ ВСЕГО САЙТА === */

body {
  background: radial-gradient(circle at 30% 10%, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.92) 60%),
              linear-gradient(180deg, #090b14 0%, #090b14 100%);
  background-attachment: fixed;
  background-size: cover;
}
/* Убираем фон у всех секций, чтобы не было "кусков" */
.section {
  background: transparent !important;
  box-shadow: none !important;
}
/* Лёгкая прозрачность на карточках, чтобы фон плавно просвечивал */
.section .container {
  background: transparent;
}
.hero {
  background: transparent !important;
}

.hero__noise,
.hero__glow {
  mix-blend-mode: screen; /* мягкое наложение */
  opacity: 0.45;          /* плавное выравнивание */
}
/* ==========================================================
   1. УМЕНЬШАЕМ КВИЗ (фикс ширины и высоты, как раньше)
   ========================================================== */

.page .section.section--quiz .quiz-shell {
  max-width: 520px !important;
  margin: 0 auto 60px !important;
}

.page .section.section--quiz .quiz-container {
  max-width: 520px !important;
  margin: 0 auto !important;
}

.page .section.section--quiz .quiz-step.active {
  display: block !important;
  min-height: auto !important;
  height: auto !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* ==========================================================
   2. ЕДИНЫЙ СТИЛЬ ПОЛЕЙ (как вопрос №1)
   ========================================================== */

.section--quiz #question01,
.section--quiz #question11 {
  width: 100%;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(5, 10, 22, 0.85);
  color: var(--text);
  font-size: 16px;
  box-sizing: border-box;
}

/* Общий стиль placeholder */
.section--quiz #question01::placeholder,
.section--quiz #question11::placeholder {
  color: rgba(245, 247, 251, 0.45);
}

/* Фокус (как был у первого вопроса) */
.section--quiz #question01:focus,
.section--quiz #question11:focus {
  border-color: var(--accent);
  background: rgba(8, 14, 30, 0.95);
  box-shadow: 
    0 0 0 1px rgba(255, 138, 44, 0.4),
    0 0 24px rgba(255, 138, 44, 0.3);
}

/* ==========================================================
   1. ФИКС РАЗМЕРА КВИЗА (ГЛОБАЛЬНО)
   ========================================================== */

/* Делаем квиз чуть уже и ниже по странице */
.section--quiz .quiz-shell {
  max-width: 520px !important;
  margin: 0 auto 60px !important;
}

/* Убираем растяжение активного шага на весь экран */
.section--quiz .quiz-step.active {
  display: block !important;
  min-height: auto !important;
  height: auto !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

/* Немного воздуха снизу у шагов */
.section--quiz .quiz-step {
  padding-bottom: 20px !important;
}

/* ==========================================================
   2. PREMIUM-ДИЗАЙН ТОЛЬКО ДЛЯ ПОСЛЕДНЕГО ШАГА (ШАГ 4)
   ========================================================== */

/* Карточка последнего шага */
.section--quiz .quiz-step[data-step="4"] {
  padding: 36px 30px !important;
  background: rgba(11, 15, 28, 0.9);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
}

/* Заголовок "Последний шаг" */
.section--quiz .quiz-step[data-step="4"] h2 {
  font-size: 26px !important;
  line-height: 1.25 !important;
  font-weight: 600;
  margin-bottom: 14px !important;
  text-align: left !important;
  color: #ffffff !important;
}

/* Подзаголовок / текст под заголовком */
.section--quiz .quiz-step[data-step="4"] p {
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  margin-bottom: 24px !important;
  text-align: left !important;
}

/* ===== ПОЛЯ ИМЯ / ТЕЛЕФОН — компактные, премиальные ===== */

.section--quiz .quiz-step[data-step="4"] .form__tel input[type="text"],
.section--quiz .quiz-step[data-step="4"] .form__tel input[type="tel"] {
  width: 100%;
  padding: 9px 13px;                     /* поля поменьше */
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 14px;
  box-sizing: border-box;
  outline: none;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}

/* Разнос между полями */
.section--quiz .quiz-step[data-step="4"] .form__tel {
  margin-bottom: 16px !important;
}

/* Плейсхолдеры */
.section--quiz .quiz-step[data-step="4"] .form__tel input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Фокус — без яркого свечения */
.section--quiz .quiz-step[data-step="4"] .form__tel input:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none !important;
  transform: translateY(-1px);
}

/* ===== КНОПКА "ОТПРАВИТЬ ЗАЯВКУ" — основная ===== */

.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn {
  width: 100%;
  margin-top: 8px;
  padding: 13px 18px !important;
  font-size: 15px !important;
  font-weight: 600;
  border-radius: 14px !important;
  border: none !important;
  background: linear-gradient(135deg, #ff8a2c 0%, #ff6a00 100%) !important;
  color: #ffffff !important;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 120, 40, 0.45);
}

.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(255, 120, 40, 0.35);
  opacity: 0.9;
}

/* ===== КНОПКА "НАЗАД" — самая маленькая и аккуратная ===== */

.section--quiz .quiz-step[data-step="4"] .btn-row {
  margin-top: 16px !important;
}

.section--quiz .quiz-step[data-step="4"] .btn-row .prev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 11px !important;       /* минимальная кнопка */
  font-size: 11px !important;
  line-height: 1.2 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: rgba(255, 255, 255, 0.65) !important;
  cursor: pointer;
  width: auto !important;
  min-width: 0 !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.section--quiz .quiz-step[data-step="4"] .btn-row .prev-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1px);
}

.section--quiz .quiz-step[data-step="4"] .btn-row .prev-btn:active {
  transform: translateY(0);
}

/* ==========================================================
   3. ЛЁГКИЙ МОБИЛЬНЫЙ ТЮНИНГ ДЛЯ ФИНАЛЬНОГО ШАГА
   ========================================================== */

@media (max-width: 767px) {
  .section--quiz .quiz-step[data-step="4"] {
    padding: 26px 18px !important;
    border-radius: 22px;
  }

  .section--quiz .quiz-step[data-step="4"] h2 {
    font-size: 22px !important;
    margin-bottom: 10px !important;
  }

  .section--quiz .quiz-step[data-step="4"] p {
    font-size: 14px !important;
    margin-bottom: 18px !important;
  }

  .section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn {
    font-size: 14px !important;
    padding: 12px 16px !important;
  }

  .section--quiz .quiz-step[data-step="4"] .btn-row .prev-btn {
    font-size: 11px !important;
    padding: 4px 10px !important;
  }
}
/* ==========================================================
   1. КНОПКА "ОСТАВИТЬ ЗАЯВКУ" — ПРЕМИУМ СТИЛЬ + БЛИК
   ========================================================== */

.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn {
  width: 100% !important;
  padding: 14px 24px !important;
  border-radius: 100px !important;
  background: linear-gradient(115deg, #FFA336 0%, #FF7A1A 100%) !important;
  border: none !important;

  /* Тёмный текст */
  color: #0A0D14 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-transform: none !important;

  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;

  /* Анимация */
  transition:
    transform 0.28s ease,
    box-shadow 0.35s ease,
    background-position 0.35s ease !important;

  background-size: 150% 150% !important;
  box-shadow: 0 12px 32px rgba(255, 140, 44, 0.45) !important;
}

/* Реальный премиальный БЛИК — накладываем поверх кнопки */
.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn::after {
  content: "";
  position: absolute;
  top: -200%;
  left: -50%;
  width: 200%;
  height: 400%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.0) 50%
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn:hover::after {
  opacity: 0.45;
  transform: translateX(150%) rotate(25deg);
}

.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn:hover {
  transform: translateY(-3px);
  background-position: 100% 0 !important;
  box-shadow: 0 18px 44px rgba(255, 120, 32, 0.55) !important;
}

.section--quiz .quiz-step[data-step="4"] .quiz-step__form_ctn__btn:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(255, 120, 32, 0.35) !important;
  opacity: 0.95;
}

/* ==========================================================
   2. КНОПКА "НАЗАД" — ВЕРНУТЬ ПРЕЖНИЙ НОРМАЛЬНЫЙ РАЗМЕР
   ========================================================== */

.section--quiz .quiz-step[data-step="4"] .btn-row .prev-btn {
  min-width: 160px !important;
  padding: 12px 22px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 100px !important;

  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: rgba(255, 255, 255, 0.85) !important;

  transition: 0.25s ease !important;
}

.section--quiz .quiz-step[data-step="4"] .btn-row .prev-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-1px);
}

.section--quiz .quiz-step[data-step="4"] .btn-row .prev-btn:active {
  transform: translateY(0);
}

/* ==========================================================
   3. ПОЛЯ ИМЯ / ТЕЛЕФОН — ДОБАВИТЬ ЗЕЛЁНОЕ СВЕЧЕНИЕ
   ========================================================== */

.section--quiz .quiz-step[data-step="4"] .form__tel input[type="text"],
.section--quiz .quiz-step[data-step="4"] .form__tel input[type="tel"] {
  padding: 10px 14px !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: #fff !important;
  transition: 0.35s ease !important;
}

.section--quiz .quiz-step[data-step="4"] .form__tel input[type="text"]:focus,
.section--quiz .quiz-step[data-step="4"] .form__tel input[type="tel"]:focus {
  border-color: #41f3b5 !important;
  background: rgba(255,255,255,0.08) !important;
  box-shadow:
    0 0 0 1px rgba(54, 231, 183, 0.45),
    0 0 20px rgba(54, 231, 183, 0.3) !important;
}
/* === Кнопка "Отправить заявку" — как ВСЕ оранжевые кнопки квиза === */

.section--quiz .quiz-step__form_ctn__btn {
  width: 100% !important;
  padding: 14px 24px !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;

  /* Градиент из основного стиля кнопок */
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c) !important;

  /* Тёмный текст, как на всех btn--primary */
  color: #0B0F18 !important;

  font-size: 16px !important;
  font-weight: 600 !important;

  cursor: pointer !important;
  transition: 0.25s ease !important;
}

/* Ховер — такой же, как у остальных кнопок */
.section--quiz .quiz-step__form_ctn__btn:hover {
  opacity: 0.9 !important;
  transform: translateY(-2px);
}

/* ==========================================================
   1. Стеклянный стиль для кнопок типа .btn--ghost
   (включая "Получить скидку 10%")
   ========================================================== */

.btn.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  /* стеклянный фон */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.10),
    rgba(255, 255, 255, 0.03)
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(255, 255, 255, 0.08);
}

.btn.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.04)
  );
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.75),
    0 0 24px rgba(255, 255, 255, 0.12);
}

/* ==========================================================
   2. Раздел "ПОЧЕМУ ВЫБИРАЮТ НАС" — стеклянные карточки
   и лёгкое покачивание при наведении
   (.metric-card в .section--metrics)
   ========================================================== */

.section--metrics .metric-card {
  /* стеклянный фон */
  background: linear-gradient(
    140deg,
    rgba(255, 255, 255, 0.08),
    rgba(5, 9, 20, 0.96)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.85),
    0 0 26px rgba(0, 0, 0, 0.55);

  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* hover: лёгкое, но заметное "покачивание" */
.section--metrics .metric-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(0, 0, 0, 0.75);
  animation: metricWobble 0.45s ease-out;
}

/* Анимация лёгкого покачивания / дрожания */
@keyframes metricWobble {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  20% {
    transform: translate3d(-2px, -1px, 0) rotate(-0.4deg);
  }
  40% {
    transform: translate3d(2px, -1px, 0) rotate(0.4deg);
  }
  60% {
    transform: translate3d(-1px, 0, 0) rotate(-0.25deg);
  }
  80% {
    transform: translate3d(1px, -1px, 0) rotate(0.15deg);
  }
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}
/* ==========================================================
   ПОЧЕМУ ВЫБИРАЮТ НАС — стеклянные карточки + glass icons
   ========================================================== */

/* Убираем старые эффекты/анимации и задаём строгий стеклянный стиль */
.section--metrics .metric-card {
  background: rgba(12, 16, 28, 0.9);                 /* тёмный стеклянный фон */
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 22px 22px 20px;
  min-height: 150px;

  display: flex;
  align-items: center;
  gap: 16px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);       /* без внутреннего свечения */
  transition:
    transform 0.25s ease,
    box-shadow 0.28s ease,
    border-color 0.25s ease;
}

/* На всякий случай гасим старую анимацию и цвет у metric-card__value, если где-то осталась */
.section--metrics .metric-card__value {
  animation: none !important;
  color: inherit !important;
}

/* Стеклянный кружок под иконку */
.section--metrics .metric-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.14),
    rgba(7, 11, 22, 0.9)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.7),
    0 0 18px rgba(255, 255, 255, 0.08);
}

/* SVG внутри — тонкая премиальная линия */
.section--metrics .metric-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-2);      /* твой неоновый зелёно-голубой */
  opacity: 0.95;
  fill: none;
}

/* Подпись */
.section--metrics .metric-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Ховер: лёгкая “дорогая” анимация — без колхоза */
.section--metrics .metric-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 20px rgba(0, 0, 0, 0.8);
}
/* === ПОЧЕМУ ВЫБИРАЮТ НАС — дорогой стеклянный стиль, без жёлтого glow === */

.section--metrics .metric-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 18px 20px;
  min-height: 140px;

  /* стеклянный фон */
  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.12), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(54, 231, 183, 0.06), transparent 55%),
    rgba(8, 12, 24, 0.92);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.85),
    0 0 20px rgba(0, 0, 0, 0.75);

  /* убираем «плавание» именно у этих карточек */
  animation: none !important;

  transform-origin: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.3s ease,
    border-color 0.25s ease;
}

/* полностью гасим старое жёлтое свечение и его анимацию */
.section--metrics .metric-card::before {
  content: none !important;
  animation: none !important;
}

/* стеклянная иконка слева */
.section--metrics .metric-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.16),
    rgba(6, 10, 22, 0.95)
  );
  border: 1px solid rgba(255, 255, 255, 0.35);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(255, 255, 255, 0.08);
}

.section--metrics .metric-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent-2);
  stroke-width: 1.7;
  fill: none;
  opacity: 0.95;
}

/* текстовый блок */
.section--metrics .metric-card__label {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* hover — лёгкий «дорогой» эффект, без тряски */
.section--metrics .metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 26px rgba(0, 0, 0, 0.85);
}

/* лёгкий тюнинг на мобилке */
@media (max-width: 600px) {
  .section--metrics .metric-card {
    padding: 14px 15px;
    gap: 12px;
  }

  .section--metrics .metric-card__icon {
    width: 38px;
    height: 38px;
  }

  .section--metrics .metric-card__label {
    font-size: 14px;
  }
}
/* === ПОЧЕМУ ВЫБИРАЮТ НАС — иконка по центру и квадратная === */

.section--metrics .metric-card {
  flex-direction: column;      /* иконка сверху, текст ниже */
  align-items: center;         /* центр по горизонтали */
  text-align: center;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.section--metrics .metric-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;         /* квадрат с мягкими углами, не «пилюля» */
}

.section--metrics .metric-card__label {
  text-align: center;          /* текст центрируем под иконкой */
}
/* === Скролл-анимации для основных секций лендинга === */
/* Секции: benefits, services, cases, process, guarantee, cta, quiz */

.section-animated {
  will-change: opacity, transform;
  transition:
    opacity 0.85s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Скрытое состояние (включаем только через JS) */
.section-animated.section-animated--hidden {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
}

/* Видимое состояние */
.section-animated.section-animated--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Варианты направлений (скрытое положение) */

/* 1) Плавный выезд слева */
.section-animated.section-animated--from-left.section-animated--hidden {
  transform: translate3d(-60px, 0, 0);
}

/* 2) Плавный выезд справа */
.section-animated.section-animated--from-right.section-animated--hidden {
  transform: translate3d(60px, 0, 0);
}

/* 3) Подъём снизу */
.section-animated.section-animated--from-bottom-soft.section-animated--hidden {
  transform: translate3d(0, 70px, 0);
}

/* 4) Зум + лёгкий подъём */
.section-animated.section-animated--zoom-in.section-animated--hidden {
  transform: translate3d(0, 40px, 0) scale(0.94);
}

/* 5) Мягкий fade с небольшим смещением */
.section-animated.section-animated--fade-soft.section-animated--hidden {
  transform: translate3d(0, 16px, 0);
}

/* ====== "Печатающийся" eyebrow (подзаголовок) ====== */

.section-eyebrow-typed {
  position: relative;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
}

/* "Курсор" */
.section-eyebrow-typed::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: currentColor;
  opacity: 0;
}

/* Запускаем "печать" когда секция стала видимой */
.section-animated.section-animated--visible .section-eyebrow-typed {
  animation: eyebrow-typing 4.2s steps(26, end) forwards;
}

.section-animated.section-animated--visible .section-eyebrow-typed::after {
  animation:
    eyebrow-caret 4.2s steps(26, end) forwards,
    eyebrow-caret-blink 0.8s steps(1, end) 4.2s 6;
}


/* Кадры "печати": раскрываем содержимое по ширине */
@keyframes eyebrow-typing {
  from { max-width: 0; }
  to { max-width: 100%; }
}

@keyframes eyebrow-caret {
  from { opacity: 1; }
  to { opacity: 1; }
}

@keyframes eyebrow-caret-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

/* Уважение к настройкам "уменьшить анимацию" в системе */
@media (prefers-reduced-motion: reduce) {
  .section-animated,
  .section-animated.section-animated--hidden,
  .section-animated.section-animated--visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .section-eyebrow-typed,
  .section-animated.section-animated--visible .section-eyebrow-typed {
    animation: none !important;
    max-width: none !important;
  }

  .section-eyebrow-typed::after {
    display: none !important;
  }
}

/* === override: ещё медленнее печать и скрытие курсора через 2s === */

/* Печать заголовка — медленнее (3 секунды) */
.section-animated.section-animated--visible .section-eyebrow-typed {
  animation: eyebrow-typing 3s steps(26, end) forwards;
}

/* Курсор: виден во время печати + мигает 2s, потом исчезает */
.section-animated.section-animated--visible .section-eyebrow-typed::after {
  animation: eyebrow-caret-all 5s linear forwards;
}

/* 3s печатаем, ещё 2s — лёгкое мигание, затем курсор пропадает */
@keyframes eyebrow-caret-all {
  /* 0–3s: курсор просто виден */
  0%, 60% {
    opacity: 1;
  }

  /* 3–5s: пара миганий */
  65%, 75%, 85%, 95%, 100% {
    opacity: 0;
  }

  70%, 90% {
    opacity: 1;
  }
}

/* === Exit-intent popup: стеклянное окно + блюр заднего фона === */

.exit-popup {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease-out;
}

/* Когда попап активен */
.exit-popup.exit-popup--visible {
  opacity: 1;
  pointer-events: auto;
}

/* Задний фон с блюром */
.exit-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 7, 15, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Стеклянная карточка */
.exit-popup__content {
  position: relative;
  max-width: 460px;
  width: 100%;

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(54, 231, 183, 0.10), transparent 55%),
    rgba(10, 14, 26, 0.96);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  padding: 22px 22px 20px;
  color: var(--text);
  font-family: var(--font-main);

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(0, 0, 0, 0.85);

  transform: translate3d(0, 24px, 0) scale(0.94);
  opacity: 0;
}

/* Анимация появления панели */
.exit-popup.exit-popup--visible .exit-popup__content {
  animation: exit-popup-up 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes exit-popup-up {
  from {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Кнопка закрытия (крестик) */
.exit-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 10, 22, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.exit-popup__close:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
}

.exit-popup__close-line {
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(245, 247, 251, 0.9);
}

.exit-popup__close-line:first-child {
  transform: rotate(45deg);
}

.exit-popup__close-line:last-child {
  transform: rotate(-45deg);
}

/* Текст */
.exit-popup__eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: rgba(245, 247, 251, 0.6);
}

.exit-popup__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
}

.exit-popup__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* Кнопка */
.exit-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.exit-popup__btn {
  font-size: 14px;
  padding-inline: 24px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .exit-popup {
    align-items: flex-end;
    padding: 0 12px 18px;
  }

  .exit-popup__content {
    padding: 18px 18px 16px;
    border-radius: 18px;
  }

  .exit-popup__title {
    font-size: 18px;
  }
}

/* Уважение к prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .exit-popup,
  .exit-popup__content {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
}
/* === Виджет "Онлайн консультация" справа, фиксированный === */

.consult-widget {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 999;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(54, 231, 183, 0.12), transparent 55%),
    rgba(10, 14, 26, 0.96);
  box-shadow:
    0 5px 70px rgba(0, 0, 0, 0.9),
    0 0 7px rgba(0, 0, 0, 0.8);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  text-decoration: none;
  color: var(--text);
  font-family: var(--font-main);
  cursor: pointer;

  transform: translate3d(0, 0, 0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.consult-widget__indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(54, 231, 183, 0.7);
  animation: consult-widget-pulse 1.8s ease-out infinite;
}

/* Пульсация "онлайн" индикатора */
@keyframes consult-widget-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(54, 231, 183, 0.7);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(54, 231, 183, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(54, 231, 183, 0);
  }
}

.consult-widget__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.consult-widget__eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.consult-widget__title {
  font-size: 13px;
  font-weight: 600;
}

/* Ховер — чуть поднимаем и усиливаем тень */
.consult-widget:hover {
  transform: translate3d(0, -3px, 0) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(0, 0, 0, 0.9);
}

/* Мобильная адаптация: делаем компактнее */
@media (max-width: 768px) {
  .consult-widget {
    right: 16px;
    bottom: 22px;
    padding: 9px 14px;
  }

  .consult-widget__eyebrow {
    display: none;
  }

  .consult-widget__title {
    font-size: 13px;
  }
}

/* Сильное ограничение анимаций по настройкам системы */
@media (prefers-reduced-motion: reduce) {
  .consult-widget__indicator {
    animation: none !important;
    box-shadow: none !important;
  }

  .consult-widget {
    transition: none !important;
  }
}
/* === Виджет онлайн-консультации с разворачивающимся квизом === */

.consult-widget {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 999;
  font-family: var(--font-main);
}

/* Кнопка-свитчер (свернутое состояние) */
.consult-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(54, 231, 183, 0.12), transparent 55%),
    rgba(10, 14, 26, 0.96);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(0, 0, 0, 0.8);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  cursor: pointer;
  color: var(--text);
  text-align: left;
  border: none;
  outline: none;

  transform: translate3d(0, 0, 0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.consult-widget__toggle:hover {
  transform: translate3d(0, -2px, 0) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(0, 0, 0, 0.9);
}

.consult-widget__indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(54, 231, 183, 0.7);
  animation: consult-indicator-pulse 1.8s ease-out infinite;
}

@keyframes consult-indicator-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(54, 231, 183, 0.7);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(54, 231, 183, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(54, 231, 183, 0);
  }
}

.consult-widget__toggle-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.consult-widget__toggle-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.consult-widget__toggle-title {
  font-size: 13px;
  font-weight: 600;
}

/* Панель квиза (разворачивающаяся часть) */

/* Панель виджета: всегда по центру экрана на десктопе */
.consult-widget__panel {
  position: fixed;
  left: 50%;
  top: 50%;

  /* на больших экранах — не шире 440px, но и не шире окна */
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);

  opacity: 0;
  pointer-events: none;

  /* слегка приподнята для анимации появления */
  transform: translate(-50%, -48%) scale(0.95);
  transform-origin: center center;

  transition:
    opacity 0.3s ease-out,
    transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}


.consult-widget__panel-inner {
  position: relative;
  width: 100%;
  height: 100%;

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(54, 231, 183, 0.10), transparent 55%),
    rgba(10, 14, 26, 0.98);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(0, 0, 0, 0.85);

  padding: 18px 18px 16px;
  overflow: hidden;
}



/* Крестик */

.consult-widget__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 10, 22, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.consult-widget__close:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
}

.consult-widget__close-line {
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: rgba(245, 247, 251, 0.9);
}

.consult-widget__close-line:first-child {
  transform: rotate(45deg);
}

.consult-widget__close-line:last-child {
  transform: rotate(-45deg);
}

/* Заголовок внутри панели */

.consult-widget__head {
  margin-bottom: 12px;
}

.consult-widget__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 247, 251, 0.6);
}

.consult-widget__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
}

/* Форма и шаги */

.consult-widget__form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.consult-widget__progress {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 6px;
}

.consult-widget__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--accent-2),
    var(--accent-1)
  );
  transition: width 0.4s ease-out;
}

.widget-quiz-step {
  display: none;
}

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

.widget-quiz-step__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
}

.widget-quiz-step__subtitle {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

.widget-quiz-step__field input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 8, 18, 0.85);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.widget-quiz-step__field input::placeholder {
  color: rgba(245, 247, 251, 0.5);
}

.widget-quiz-step__field input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(54, 231, 183, 0.4);
  background: rgba(4, 8, 18, 0.95);
}

.widget-quiz-step__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-quiz-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 6, 14, 0.9);
  cursor: pointer;
  font-size: 13px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.widget-quiz-option input {
  flex-shrink: 0;
}

.widget-quiz-option span {
  display: inline-block;
}

.widget-quiz-option:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(7, 11, 22, 0.98);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
}

/* Кнопки шагов */

.widget-quiz-step__controls {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.widget-quiz-btn {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 24, 0.96);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.widget-quiz-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  color: #020308;
  font-weight: 600;
}

.widget-quiz-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.75);
}

/* Мобильный вид — делаем компактнее и чуть выше от низа */

@media (max-width: 768px) {
  .consult-widget {
    right: 12px;
    bottom: 22px;
  }

  .consult-widget__toggle {
    padding: 9px 14px;
  }

  .consult-widget__panel {
    width: 320px;
  }

  .consult-widget__title {
    font-size: 16px;
  }
}

/* Меньше анимации, если так настроена система */

@media (prefers-reduced-motion: reduce) {
  .consult-widget__indicator {
    animation: none !important;
    box-shadow: none !important;
  }

  .consult-widget,
  .consult-widget__panel,
  .consult-widget__panel-inner,
  .widget-quiz-btn {
    transition: none !important;
  }
}
/* Виджет-консультация: все "Далее" и "Отправить заявку" такие же цветные */
.consult-widget .widget-quiz-btn--primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1)) !important;
  color: #020308 !important;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(54, 231, 183, 0.6);
  transform: translate3d(0, 0, 0);
}

.consult-widget .widget-quiz-btn--primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(54, 231, 183, 0.8);
}
/* === OVERRIDE: более заметные кнопки и зелёное свечение выбора === */

/* Кнопки "Далее" и "Отправить заявку" в виджете */
.consult-widget .widget-quiz-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1));
  color: #020308;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(54, 231, 183, 0.55);
  transform: translate3d(0, 0, 0);
}

.consult-widget .widget-quiz-btn--primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(54, 231, 183, 0.7);
  background: linear-gradient(135deg, var(--accent-2), #ffffff);
}

.consult-widget .widget-quiz-btn--primary:focus-visible {
  outline: 2px solid rgba(54, 231, 183, 0.8);
  outline-offset: 2px;
}

/* 3-й вопрос: зелёное свечение выбранного варианта */
.consult-widget .widget-quiz-option {
  position: relative;
}

/* Современные браузеры: зелёный глоу для всей карточки */
.consult-widget .widget-quiz-option:has(input:checked) {
  border-color: rgba(54, 231, 183, 0.9);
  background:
    radial-gradient(circle at 0 0, rgba(54, 231, 183, 0.22), transparent 55%),
    rgba(7, 11, 22, 0.98);
  box-shadow:
    0 0 0 1px rgba(54, 231, 183, 0.7),
    0 14px 32px rgba(0, 0, 0, 0.9);
}

/* Подсветка текста выбранного варианта (fallback и усиление) */
.consult-widget .widget-quiz-option input:checked + span {
  color: var(--text);
  font-weight: 500;
}

/* Немного больше воздуха между полями имени и телефона на последнем шаге */
.consult-widget .widget-quiz-step[data-step="3"] .widget-quiz-step__field + .widget-quiz-step__field {
  margin-top: 8px;
}
/* === КНОПКА "ДАЛЕЕ" — ОРАНЖЕВАЯ, БЕЗ ЗЕЛЁНОГО СВЕТА === */

/* Основной квиз (блок КВИЗ) */
.section--quiz .btn-row .next-btn {
  border-color: transparent !important;
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c) !important; /* оранжевый */
  color: #0b0f18 !important;
  font-weight: 600;
  font-size: 15px;

  /* убираем зелёный glow полностью */
  box-shadow: none !important;
  transform: translate3d(0, 0, 0);
}

.section--quiz .btn-row .next-btn:hover {
  transform: translate3d(0, -2px, 0);
  /* тоже без зелёного свечения */
  box-shadow: none !important;
}


/* Виджет-консультация: все "Далее" и "Отправить заявку" такие же цветные */
.consult-widget .widget-quiz-btn--primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--accent-2), var(--accent-1)) !important;
  color: #020308 !important;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(54, 231, 183, 0.6);
  transform: translate3d(0, 0, 0);
}

.consult-widget .widget-quiz-btn--primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(54, 231, 183, 0.8);
}
/* Виджет: убираем кружки (радио) перед ответами 3-го вопроса */
.consult-widget .widget-quiz-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
/* === Виджет онлайн-консультации: "Далее" и "Отправить заявку" всегда зелёные === */

.consult-widget .widget-quiz-btn--primary {
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--accent-2), #3cf1c2) !important;
  color: #020308 !important;

  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;

  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.85),
    0 0 16px rgba(54, 231, 183, 0.65);
  transform: translate3d(0, 0, 0);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.consult-widget .widget-quiz-btn--primary:hover {
  transform: translate3d(0, -2px, 0);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(54, 231, 183, 0.85);
}

.consult-widget .widget-quiz-btn--primary:focus-visible {
  outline: 2px solid rgba(54, 231, 183, 0.8);
  outline-offset: 2px;
}
/* === Основной квиз: вернуть старую оранжевую кнопку "Далее" === */

.section--quiz .btn-row .next-btn {
  border-color: transparent !important;
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c) !important;
  color: #0b0f18 !important;
}

.section--quiz .btn-row .next-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}
/* === КВИЗ: подпрыгивание карточек + лёгкая подсветка без тени === */

/* слегка готовим карточки */
.section--quiz .quiz-step_radio_cont label {
  will-change: transform, border-color, background;
}

/* анимация подпрыгивания при наведении */
@keyframes quiz-card-bounce {
  0%   { transform: translateY(0) rotate(0); }
  25%  { transform: translateY(-3px) rotate(-0.4deg); }
  55%  { transform: translateY(-1px) rotate(0.4deg); }
  100% { transform: translateY(0) rotate(0); }
}

/* hover — только анимация и подсветка, БЕЗ тени */
.section--quiz .quiz-step_radio_cont label:hover {
  animation: quiz-card-bounce 0.55s ease-in-out infinite;
  border-color: rgba(54, 231, 183, 0.7);
  background: rgba(6, 14, 26, 0.95);
  box-shadow: none !important;
}

/* выбранный вариант — зелёная подсветка вместо оранжевой тени */
.section--quiz .quiz-step_radio_cont input[type="radio"]:checked + *::before {
  border-color: transparent;
  background: linear-gradient(120deg, var(--accent-2), #3cf1c2);
  box-shadow: none !important;
}

.section--quiz .quiz-step_radio_cont input[type="radio"]:checked + * {
  border-color: rgba(54, 231, 183, 0.9);
  background: linear-gradient(
    120deg,
    rgba(54, 231, 183, 0.20),
    rgba(6, 18, 26, 0.98)
  );
  box-shadow: none !important;
}

/* если у пользователя отключены анимации — не трясём карточки */
@media (prefers-reduced-motion: reduce) {
  .section--quiz .quiz-step_radio_cont label:hover {
    animation: none !important;
    transform: none !important;
  }
}

/* Ключевые кадры — лёгкое подёргивание и подпрыгивание */
@keyframes caseCardHover {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  20% {
    transform: translate3d(-1px, -6px, 0) scale(1.02) rotate(-0.15deg);
  }
  40% {
    transform: translate3d(1px, -4px, 0) scale(1.015) rotate(0.15deg);
  }
  60% {
    transform: translate3d(-1px, -8px, 0) scale(1.03) rotate(-0.1deg);
  }
  80% {
    transform: translate3d(0, -5px, 0) scale(1.02) rotate(0deg);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* Отключаем подпрыгивание у карточек/полей квиза */
.section--quiz .quiz-step_radio_cont label:hover {
  animation: none !important; /* убираем тряску */
}
/* ==========================================================
   КВИЗ — 1–3 ВОПРОСЫ
   Только оранжевая обводка у полей ввода,
   без синих/зелёных подсветок
   ========================================================== */

/* 1) Текстовые поля (Вопрос 1 и 2): только оранжевый фокус, без синего outline */

.section--quiz #question01,
.section--quiz #question11 {
  outline: none !important;
}

.section--quiz #question01:focus,
.section--quiz #question11:focus {
  outline: none !important;
  border-color: var(--accent) !important;
  background: rgba(8, 14, 30, 0.95) !important;
  box-shadow:
    0 0 0 1px rgba(255, 138, 44, 0.4),
    0 0 24px rgba(255, 138, 44, 0.3) !important;
}

/* 2) Общий стиль для карточек-ответов (контейнеры label в вопросах 1–3) */

.section--quiz .quiz-step_radio_cont label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  box-shadow: none !important;
  transform: none !important;
}

/* лёгкий нейтральный hover без цвета/свечения */

.section--quiz .quiz-step_radio_cont label:hover {
  border-color: rgba(255, 255, 255, 0.35) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
  transform: none !important;
  animation: none !important;
}

/* убираем любые кружки/светящиеся маркеры у вариантов */

.section--quiz .quiz-step_radio_cont label::before {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* 3) Радио-кнопки (Вопрос 3): кликабельность + без зелёного свечения */

/* гарантируем, что radio кликаются */
.section--quiz .quiz-step_radio_cont input[type="radio"] {
  pointer-events: auto !important;
}

/* выбранный вариант — только лёгкая оранжевая рамка, без зеленого/синего свечения */
.section--quiz .quiz-step_radio_cont label:has(> input[type="radio"]:checked) {
  border-color: var(--accent) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: none !important;
}
/* Полностью прячем надпись "Отправлено!" под кнопкой квиза */
.section--quiz .quiz-step__form_ctn__success {
  display: none !important;
}
/* ==========================================================
   ОНЛАЙН-КОНСУЛЬТАЦИЯ — исправляем зону клика крестика
   ========================================================== */

.consult-widget__close {
  position: absolute;
  top: 12px;
  right: 12px;

  width: 28px;                     /* делаем чёткую кликабельную область */
  height: 28px;
  padding: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 9999;                   /* на всякий случай */
}

/* Линии креста должны находиться внутри кнопки и не выходить за границы */
.consult-widget__close-line {
  position: absolute;
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  top: 50%;
  left: 50%;
  transform-origin: center;
  pointer-events: none;            /* ЛИНИИ не мешают нажатию */
}

/* Теперь повороты будут работать корректно */
.consult-widget__close-line:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}
.consult-widget__close-line:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}
/* === ЕДИНЫЙ СТИЛЬ ОРАНЖЕВЫХ КНОПОК В КВИЗЕ === */
/* "Далее" + "Отправить заявку" */

.section--quiz .btn-row .next-btn,
.section--quiz .quiz-step__form_ctn__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 160px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;

  /* общий оранжевый градиент */
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c);
  color: #0b0f18;

  font-weight: 600;
  font-size: 16px;
  text-align: center;

  cursor: pointer;
  overflow: hidden;

  /* полностью убираем постоянное свечение */
  box-shadow: none;
  outline: none;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

/* hover — лёгкий подъём, без неонового glow */
.section--quiz .btn-row .next-btn:hover,
.section--quiz .quiz-step__form_ctn__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

/* активное нажатие */
.section--quiz .btn-row .next-btn:active,
.section--quiz .quiz-step__form_ctn__btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* убираем любые системные подсветки при фокусе */
.section--quiz .btn-row .next-btn:focus,
.section--quiz .quiz-step__form_ctn__btn:focus {
  outline: none;
  box-shadow: none;
}

/* === МЕТАЛЛИЧЕСКИЙ БЛИК НА ОРАНЖЕВЫХ КНОПКАХ КВИЗА === */

.section--quiz .btn-row .next-btn::after,
.section--quiz .quiz-step__form_ctn__btn::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -50%;
  width: 200%;
  height: 400%;

  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.55) 40%,
    rgba(255, 255, 255, 0.0) 80%
  );

  transform: translateX(-120%) rotate(20deg);
  opacity: 0;
  pointer-events: none;
}

/* запуск блика при наведении */
.section--quiz .btn-row .next-btn:hover::after,
.section--quiz .quiz-step__form_ctn__btn:hover::after {
  opacity: 0.75;
  transform: translateX(130%) rotate(20deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* "Далее" и "Отправить заявку" — единый стиль */
#order .quiz-main-next,
#order .quiz-main-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 180px;
  padding: 13px 24px;

  border-radius: 999px;
  border: 1px solid transparent;

  /* ОРАНЖЕВЫЙ ГРАДИЕНТ */
  background: linear-gradient(110deg, #ff8f2b, #ff4e1c);
  color: #0b0f18;

  font-weight: 600;
  font-size: 15px;
  text-align: center;

  cursor: pointer;
  overflow: hidden;

  /* УБИРАЕМ ВСЕ ГЛОУ/ПОДСВЕТКИ */
  box-shadow: none;
  outline: none;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* hover — лёгкое движение, без зелёного свечения */
#order .quiz-main-next:hover,
#order .quiz-main-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.55);
}

/* active */
#order .quiz-main-next:active,
#order .quiz-main-submit:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* убираем синие/зелёные контуры фокуса */
#order .quiz-main-next:focus,
#order .quiz-main-next:focus-visible,
#order .quiz-main-submit:focus,
#order .quiz-main-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px rgba(255, 143, 43, 0.7);
}

/* Металлический блик */
#order .quiz-main-next::after,
#order .quiz-main-submit::after {
  content: "";
  position: absolute;
  top: -150%;
  left: -50%;
  width: 200%;
  height: 400%;

  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.55) 40%,
    rgba(255, 255, 255, 0.0) 80%
  );

  transform: translateX(-130%) rotate(20deg);
  opacity: 0;
  pointer-events: none;
}

/* Запускаем блик при наведении */
#order .quiz-main-next:hover::after,
#order .quiz-main-submit:hover::after {
  opacity: 0.8;
  transform: translateX(130%) rotate(20deg);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* === ВИДЖЕТ ОНЛАЙН-КОНСУЛЬТАЦИИ (badge + выезжающий квиз) === */

.consult-widget {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 999;
  font-family: var(--font-main);
}

/* Кнопка-переключатель (свернутое состояние) */
.consult-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(54, 231, 183, 0.12), transparent 55%),
    rgba(10, 14, 26, 0.96);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    0 0 24px rgba(0, 0, 0, 0.8);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  cursor: pointer;
  color: var(--text);
  text-align: left;
  border: none;
  outline: none;

  transform: translate3d(0, 0, 0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.consult-widget__toggle:hover {
  transform: translate3d(0, -2px, 0) scale(1.02);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.95),
    0 0 30px rgba(0, 0, 0, 0.9);
}

/* Индикатор "онлайн" */
.consult-widget__indicator {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 0 rgba(54, 231, 183, 0.7);
  animation: consult-indicator-pulse 1.8s ease-out infinite;
}

@keyframes consult-indicator-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(54, 231, 183, 0.7);
  }
  70% {
    transform: scale(1.4);
    box-shadow: 0 0 0 8px rgba(54, 231, 183, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(54, 231, 183, 0);
  }
}

.consult-widget__toggle-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.consult-widget__toggle-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.consult-widget__toggle-title {
  font-size: 13px;
  font-weight: 600;
}

/* Панель с квизом (выезжающая часть) */
/* Панель виджета: всегда по центру экрана на десктопе */
.consult-widget__panel {
  position: fixed;
  left: 50%;
  top: 0.01%;

  /* на больших экранах — не шире 440px, но и не шире окна */
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);

  opacity: 0;
  pointer-events: none;

  /* слегка приподнята для анимации появления */
  transform: translate(-50%, -48%) scale(0.95);
  transform-origin: center center;

  transition:
    opacity 0.3s ease-out,
    transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}


.consult-widget__panel-inner {
  position: relative;
  width: 100%;
  height: 100%;

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.14), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(54, 231, 183, 0.10), transparent 55%),
    rgba(10, 14, 26, 0.98);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.95),
    0 0 32px rgba(0, 0, 0, 0.85);

  padding: 18px 18px 16px;
  overflow: hidden;
}

/* Открытое состояние: делаем видимой, но оставляем по центру */
.consult-widget.consult-widget--open .consult-widget__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}


/* Крестик закрытия */
.consult-widget__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(7, 10, 22, 0.96);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.consult-widget__close:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.7);
}

.consult-widget__close-line {
  position: absolute;
  width: 13px;
  height: 2px;
  border-radius: 999px;
  background: rgba(245, 247, 251, 0.9);
}

.consult-widget__close-line:first-child {
  transform: rotate(45deg);
}

.consult-widget__close-line:last-child {
  transform: rotate(-45deg);
}

/* Шапка внутри виджета */
.consult-widget__head {
  margin-bottom: 12px;
}

.consult-widget__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(245, 247, 251, 0.6);
}

.consult-widget__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
}

/* Форма / шаги квиза */
.consult-widget__form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Прогрессбар */
.consult-widget__progress {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin-bottom: 6px;
}

.consult-widget__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--accent-2),
    var(--accent)
  );
  transition: width 0.4s ease-out;
}

/* Шаги */
.widget-quiz-step {
  display: none;
}

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

.widget-quiz-step__title {
  margin: 0 0 2px;
  font-size: 14px;
  font-weight: 600;
}

.widget-quiz-step__subtitle {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Поля ввода (город, имя, телефон и т.п.) */
.widget-quiz-step__field input {
  width: 100%;
  padding: 9px 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(4, 8, 18, 0.85);
  color: var(--text);
  font-size: 13px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.widget-quiz-step__field input::placeholder {
  color: rgba(245, 247, 251, 0.5);
}

.widget-quiz-step__field input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 1px rgba(54, 231, 183, 0.4);
  background: rgba(4, 8, 18, 0.95);
}

/* Варианты ответа (радио-карточки) */
.widget-quiz-step__options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.widget-quiz-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 6, 14, 0.9);
  cursor: pointer;
  font-size: 13px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

/* Скрываем "кружок" radio, оставляем только карточку */
.widget-quiz-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.widget-quiz-option span {
  display: inline-block;
}

.widget-quiz-option:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(7, 11, 22, 0.98);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
}

/* Активный вариант — зелёная подсветка */
.widget-quiz-option:has(input:checked) {
  border-color: rgba(54, 231, 183, 0.9);
  background:
    radial-gradient(circle at 0 0, rgba(54, 231, 183, 0.22), transparent 55%),
    rgba(7, 11, 22, 0.98);
  box-shadow:
    0 0 0 1px rgba(54, 231, 183, 0.7),
    0 14px 32px rgba(0, 0, 0, 0.9);
}

/* На случай старых браузеров без :has */
.widget-quiz-option input:checked + span {
  color: var(--text);
  font-weight: 500;
}

/* Кнопки шагов */
.widget-quiz-step__controls {
  margin-top: 10px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.widget-quiz-btn {
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 12, 24, 0.96);
  color: var(--text);
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.widget-quiz-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.75);
}

/* Основная кнопка "Далее" / "Отправить заявку" — зелёный градиент */
.widget-quiz-btn--primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent-2), #3cf1c2);
  color: #020308;
  font-weight: 600;
}

.widget-quiz-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(54, 231, 183, 0.7);
}

.widget-quiz-btn--primary:focus-visible {
  outline: 2px solid rgba(54, 231, 183, 0.8);
  outline-offset: 2px;
}

/* Адаптация под мобильные */
@media (max-width: 768px) {
  .consult-widget {
    right: 12px;
    bottom: 22px;
  }

  .consult-widget__toggle {
    padding: 9px 14px;
  }

  .consult-widget__panel {
    width: 320px;
  }

  .consult-widget__title {
    font-size: 16px;
  }

  .consult-widget__toggle-eyebrow {
    display: none;
  }
}

/* Меньше анимации, если в системе включено "уменьшить движение" */
@media (prefers-reduced-motion: reduce) {
  .consult-widget__indicator {
    animation: none !important;
    box-shadow: none !important;
  }

  .consult-widget,
  .consult-widget__panel,
  .consult-widget__panel-inner,
  .widget-quiz-btn {
    transition: none !important;
  }
}
<style>
  /* Кнопки на последнем шаге: "Оставить заявку" над "Назад" */
  #quiz .quiz-step[data-step="4"] .btn-row.btn-row--last {
    display: flex !important;
    flex-direction: column !important;  /* в столбик */
    align-items: flex-start;            /* можно заменить на center, если хочешь по центру */
    gap: 10px;
    margin-top: 16px;
  }

  /* Заодно слегка увеличим кнопку "Оставить заявку" */
  #quiz .quiz-step[data-step="4"] #btn1 {
    padding: 18px 48px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
  }
</style>
/* === КЕЙС → КВИЗ: подсветка карточки квиза при переходе === */

.section--quiz .quiz-container {
  position: relative;
  overflow: hidden; /* чтобы эффект не вылезал за края */
}

/* Оранжевый "ореол", который вспыхивает при переходе */
.section--quiz .quiz-container::before {
  content: "";
  position: absolute;
  inset: -35%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 143, 43, 0.22), transparent 65%);
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 0.55s ease-out,
    transform 0.55s ease-out;
  pointer-events: none;
}

/* Активное состояние — когда мы добавляем класс через JS */
.section--quiz .quiz-container.quiz-container--focus::before {
  opacity: 1;
  transform: scale(1);
}

/* Дополнительно усиливаем тень у квиза в момент фокуса */
.section--quiz .quiz-container.quiz-container--focus {
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(255, 143, 43, 0.55);
}


