/* ============================================================
   Соня в Стрижах — style.css
   Палитра: ночное звёздное небо + золото
   ============================================================ */

:root {
  /* Цвета */
  --bg-deep:      #171233;   /* основной фон, глубокий фиолетово-синий */
  --bg-night:     #1e1745;   /* чуть светлее, секции */
  --bg-card:      #241c52;   /* карточки */
  --bg-card-2:    #2c2360;   /* карточки светлее / ховер */

  --gold:         #f5b942;   /* основное золото (кнопки) */
  --gold-light:   #ffd873;   /* светлое золото (градиенты, заголовки) */
  --gold-deep:    #e89b2a;   /* тёмное золото */
  --amber-text:   #ffcc5c;   /* акцентный текст */

  --text:         #ffffff;
  --text-soft:    #cfc8ee;   /* приглушённый текст */
  --text-muted:   #9b93c4;   /* подписи */
  --text-dark:    #3a2a08;   /* текст на золотых кнопках */

  --line:         rgba(255, 255, 255, .08);
  --glow:         rgba(245, 185, 66, .35);

  /* Типографика */
  --font-display: 'Rubik', sans-serif;
  --font-body:    'Nunito', sans-serif;

  /* Геометрия */
  --radius-lg:  28px;
  --radius-md:  20px;
  --radius-sm:  14px;
  --radius-btn: 999px;

  --container:      1200px;
  --container-wide: 1400px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image: url('img/bg.webp');
  background-repeat: repeat-y;
  background-position: top center;
  background-size: 100% auto;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

/* Звёздное небо (лёгкий декор поверх фона) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,.7), transparent),
    radial-gradient(1px 1px at 34% 64%, rgba(255,255,255,.5), transparent),
    radial-gradient(2px 2px at 58% 12%, rgba(255,216,115,.6), transparent),
    radial-gradient(1px 1px at 72% 48%, rgba(255,255,255,.45), transparent),
    radial-gradient(1.5px 1.5px at 88% 78%, rgba(255,255,255,.55), transparent),
    radial-gradient(1px 1px at 45% 88%, rgba(255,216,115,.4), transparent),
    radial-gradient(1px 1px at 8% 72%, rgba(255,255,255,.4), transparent);
}

/* ---------- Плейсхолдеры под картинки ---------- */
.img-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: rgba(255, 216, 115, .55);
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px),
    rgba(255, 255, 255, .03);
  border: 1.5px dashed rgba(245, 185, 66, .35);
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
}

/* ---------- Реальные картинки (заменяют плейсхолдеры) ---------- */
.ph-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background: none;
}
.ph-img--contain { object-fit: contain; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Контейнеры и секции ---------- */
.container       { max-width: var(--container);      margin: 0 auto; padding: 0 24px; }
.container-wide  { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.section         { position: relative; padding: 50px 0; z-index: 1; }

/* ---------- Заголовки секций ---------- */
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.12;
  text-align: center;
  margin-bottom: 44px;
  background: linear-gradient(180deg, var(--gold-light) 20%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 3px 12px rgba(232, 155, 42, .25));
}
.section-title--left { text-align: left; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--radius-btn);
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--text-dark);
  border: 2px solid #f2b74a;
  box-shadow: 0 8px 24px var(--glow), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px var(--glow); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  border: 2px solid #f2b74a;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
  flex-shrink: 0;
}

.btn--card {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  color: var(--text-dark);
  border: 2px solid #f2b74a;
  box-shadow: 0 6px 18px rgba(232, 155, 42, .25);
}
.btn--card:hover { transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .3s, box-shadow .3s;
}
.header--scrolled {
  background: rgba(23, 18, 51, .85);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header__logo { flex-shrink: 0; }
.img-ph--logo { width: 120px; height: 56px; border-radius: var(--radius-sm); font-size: 11px; }

.header__nav { display: flex; gap: 34px; }
.header__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-soft);
  transition: color .2s;
  position: relative;
}
.header__link:hover { color: var(--gold-light); }
.header__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width .25s;
}
.header__link:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 10px; }
.header__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--text-soft);
  transition: background .2s, color .2s;
}
.header__icon:hover { background: var(--gold); color: var(--text-dark); }
.header__icon img {
  width: 18px; height: 18px;
  filter: invert(1) brightness(1.4);
  transition: filter .2s;
}
.header__icon:hover img { filter: none; }

.header__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.header__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 0 70px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  border-radius: 0;
  border-left: none; border-right: none; border-top: none;
  font-size: 18px;
  z-index: 0;
}
/* Затемняющий градиент снизу для читаемости */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(23, 18, 51, .75) 85%, var(--bg-deep) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}
.hero__sound {
  position: absolute;
  top: 100px;
  right: 24px;
  z-index: 3;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(23, 18, 51, .55);
  border: 1px solid rgba(255, 216, 115, .25);
  backdrop-filter: blur(6px);
  color: var(--text);
  transition: background .2s, color .2s;
}
/* На десктопе в hero статичный постер — видео и кнопка звука только на мобильных */
.hero__bg--mobile,
.hero__sound { display: none; }
@media (max-width: 640px) {
  .hero__bg--desktop { display: none; }
  .hero__bg--mobile { display: block; }
  .hero__sound { display: inline-flex; }
}
.hero__sound:hover { background: var(--gold); color: var(--text-dark); }
.hero__sound-icon--on { display: none; }
.hero__sound[aria-pressed="true"] .hero__sound-icon--off { display: none; }
.hero__sound[aria-pressed="true"] .hero__sound-icon--on { display: block; }
.img-ph--title { width: min(640px, 90vw); height: 180px; font-size: 16px; }
.hero__subtitle {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.hero__badges { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  background: rgba(23, 18, 51, .55);
  border: 1px solid rgba(255, 216, 115, .25);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  color: var(--amber-text);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
/* остров крупнее — можно немного выходить за колонку */
.about__visual { position: relative; }
.img-ph--island {
  width: 118%;
  max-width: none;
  margin-left: -19%;
  aspect-ratio: 1 / .95;
  border-radius: var(--radius-lg);
  font-size: 15px;
}
.about__text {
  color: var(--text-soft);
  font-size: 17px;
  margin: 18px 0 28px;
}
.about__facts { display: flex; flex-direction: column; gap: 18px; }
.about__fact { display: flex; gap: 14px; align-items: flex-start; }
.about__fact p { color: var(--text-soft); font-size: 15px; }
.about__fact b { color: var(--text); }
.about__fact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(245, 185, 66, .12);
  border: 1px solid rgba(245, 185, 66, .3);
  color: var(--gold-light);
}
.about__fact-icon img { width: 21px; height: auto; }

/* ============================================================
   WATCH
   ============================================================ */
.watch__player {
  position: relative;
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 216, 115, .15);
}
.img-ph--player { width: 100%; border-radius: var(--radius-lg); font-size: 16px; }
.watch__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
  box-shadow: 0 0 0 12px rgba(245, 185, 66, .18), 0 12px 32px var(--glow);
  transition: transform .25s;
}
.watch__player:hover .watch__play { transform: translate(-50%, -50%) scale(1.08); }
.watch__play svg { margin-left: 4px; }
/* перья — в натуральную величину */
.watch__feather {
  position: absolute;
  width: auto;
  max-width: none;
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35));
  pointer-events: none;
  z-index: 3;
}
.watch__feather--1 {
  top: -110px; left: -90px;
  animation: featherFloat1 6s ease-in-out infinite;
}
.watch__feather--2 {
  top: -130px; right: -110px;
  animation: featherFloat2 7s ease-in-out infinite .4s;
}
.watch__feather--3 {
  bottom: -60px; left: 4%;
  animation: featherFloat3 6.5s ease-in-out infinite 1s;
}
.watch__feather--4 {
  bottom: -80px; right: 6%;
  animation: featherFloat4 5.5s ease-in-out infinite .7s;
}
@keyframes featherFloat1 {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-14px) rotate(-6deg); }
}
@keyframes featherFloat2 {
  0%, 100% { transform: translateY(0) rotate(20deg); }
  50% { transform: translateY(-16px) rotate(26deg); }
}
@keyframes featherFloat3 {
  0%, 100% { transform: translateY(0) rotate(8deg); }
  50% { transform: translateY(-12px) rotate(14deg); }
}
@keyframes featherFloat4 {
  0%, 100% { transform: translateY(0) rotate(-15deg); }
  50% { transform: translateY(-14px) rotate(-9deg); }
}
@media (prefers-reduced-motion: reduce) {
  .watch__feather { animation: none; }
}

/* ============================================================
   CHARACTERS
   ============================================================ */
.characters { overflow: hidden; }
/* большой верхний padding слайдера уже даёт отступ от заголовка */
.characters .section-title { margin-bottom: 0; }
/* 5 карточек (5×250 + 4×24 = 1346) + место под стрелки по бокам */
.characters__wrap {
  position: relative;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 76px;
}
.characters__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--text);
  transition: background .2s, color .2s, transform .2s;
  z-index: 4;
}
.characters__arrow--prev { left: 8px; }
.characters__arrow--next { right: 8px; }
.characters__arrow:hover { background: var(--gold); color: var(--text-dark); transform: translateY(-50%) scale(1.06); }
.characters__slider {
  position: relative;
  min-width: 0;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* сверху — запас, чтобы персонаж, выходящий за карточку, не обрезался */
  padding: 200px 0 34px;
}
.characters__slider::-webkit-scrollbar { display: none; }
.characters__track {
  display: flex;
  gap: 24px;
  align-items: stretch;
  padding-inline: calc(50% - 137px);
}
.char-card {
  flex: 0 0 var(--card-w, 250px);
  width: var(--card-w, 250px);
  min-width: 0;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 18px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card-2), var(--bg-card));
  border: 1px solid rgba(255, 216, 115, .22);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.char-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }

/* Персонаж выходит за верхнюю границу карточки, блик — за ним.
   Размер картинок — натуральный (×90%), чтобы персонажи не «уравнивались» по высоте. */
.char-card__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 260px;
  margin-top: -76px;
  margin-bottom: 2px;
  overflow: visible;
}
.char-card__media::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 2%;
  width: 165%;
  height: 62%;
  transform: translateX(-50%);
  background: url('img/blick.png') no-repeat center / contain;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}
.char-card__photo {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: auto;
  height: auto;
  max-width: none;
  zoom: .9;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45));
}
/* Дракон — кадр из общего постера, поэтому кадрируем, а не «вписываем» */
.char-card__photo--crop {
  zoom: 1;
  width: 214px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  filter: none;
}
.char-card__media:has(.char-card__photo--crop)::before { display: none; }
.char-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.char-card__quote {
  font-size: 13.5px;
  color: var(--text-muted);
  flex-grow: 1;
}

/* Центральная (активная в карусели) карточка — золотая */
.char-card--main {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 60%, var(--gold-deep) 100%);
  border: none;
  box-shadow: 0 18px 48px var(--glow);
  transform: scale(1.04);
  transition: transform .3s, box-shadow .3s, background .3s;
}
.char-card--main:hover { transform: scale(1.04) translateY(-6px); }
.char-card--main .char-card__name  { color: var(--text-dark); }
.char-card--main .char-card__quote { color: rgba(58, 42, 8, .75); }
.btn--card-main {
  background: rgba(255, 251, 240, .9);
  box-shadow: 0 6px 16px rgba(120, 80, 0, .25);
}

.characters__dots { display: flex; gap: 10px; justify-content: center; margin-top: 34px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  transition: background .2s, width .2s;
}
.dot--active { background: var(--gold); width: 26px; border-radius: 6px; }

/* ============================================================
   QUIZ
   ============================================================ */
.quiz__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 520px;
  background: url('img/victorin.png') no-repeat right center / cover;
  overflow: hidden;
}
.quiz__content {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 620px;
  padding: 54px 40px 54px 56px;
}
.quiz__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.15;
  background: linear-gradient(180deg, var(--gold-light) 20%, var(--gold-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.quiz__text { color: var(--text-soft); margin: 16px 0 28px; max-width: 420px; }
.quiz__stats { display: flex; gap: 30px; margin-bottom: 32px; flex-wrap: wrap; max-width: 400px;}
.quiz__stat { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.quiz__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(245, 185, 66, .12);
  border: 1px solid rgba(245, 185, 66, .35);
  color: var(--gold-light);
}
.quiz__stat-icon img { width: 24px; height: auto; }
.quiz__stat-icon--num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
}
.quiz__stat-label { font-size: 12.5px; color: var(--text-muted); line-height: 1.3; }
/* Затемнение слева, чтобы текст читался поверх фоновой картинки */
.quiz__card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ============================================================
   ACTIVITIES
   ============================================================ */
.activities__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}
.activities__text { color: var(--text-soft); font-size: 15px; margin-top: 18px; }
.activities__text b { color: var(--text); }
/* Условие получения приза — выделено */
.activities__text--accent {
  margin-top: 24px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(245, 185, 66, .1);
  border: 1px solid rgba(245, 185, 66, .3);
  color: var(--amber-text);
}
.activities__text--accent b { color: var(--gold-light); }
.activities__games {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 18px 22px;
  border-radius: var(--radius-lg);
 
  border: 1px solid #f2b74a;
  overflow: visible;
  transition: transform .25s, box-shadow .25s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.img-ph--game {
  width: 82%;
  max-width: 230px;
  height: auto;
  margin-top: -56px;
  border-radius: 0;
  font-size: 14px;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .4));
}

/* ============================================================
   GALLERY (сравнение кадров)
   ============================================================ */
.gallery__subtitle {
  text-align: center;
  color: var(--text-soft);
  max-width: 520px;
  margin: -24px auto 44px;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.compare-card__box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  cursor: ew-resize;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
  touch-action: none;
}
.compare-card__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
/* правая половина (реальность) обрезается по --pos */
.compare-card__img--real {
  clip-path: inset(0 0 0 var(--pos, 50%));
  background: rgba(60, 80, 60, .25);
}
.compare-card__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos, 50%);
  width: 3px;
  background: var(--gold);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px var(--glow);
}
.compare-card__handle span {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
}
.compare-card__tag {
  position: absolute;
  bottom: 12px;
  padding: 5px 14px;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  background: rgba(23, 18, 51, .7);
  border: 1px solid rgba(255, 216, 115, .3);
  color: var(--amber-text);
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.compare-card__tag--left  { left: 12px; }
.compare-card__tag--right { right: 12px; }
.compare-card__caption {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-soft);
}

/* ============================================================
   TOUR
   ============================================================ */
.tour {
  position: relative;
  padding: 130px 0 150px;
  overflow: hidden;
}
.tour__bg {
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 0;
  font-size: 16px;
  z-index: 0;
}
.tour::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.tour__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.tour__logo .img-ph--title { height: 220px; }
.tour__text {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-soft);
  text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.tour__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  background: rgba(23, 18, 51, .6);
  border: 1px solid rgba(255, 216, 115, .25);
  color: var(--amber-text);
  font-family: var(--font-display);
  font-size: 14px;
  backdrop-filter: blur(6px);
}
.tour__btn { margin-top: 8px; padding: 17px 40px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 1;
  background: #120e28;
  border-top: 1px solid var(--line);
  padding: 60px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  text-align: left;
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.img-ph--footer-logo { width: 150px; height: 80px; font-size: 12px; }
.footer__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer__list { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer__list li { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.footer__list--social li { flex-direction: row; }
.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 14.5px;
  transition: color .2s;
}
.footer__link:hover { color: var(--gold-light); }
.footer__link--static { cursor: default; }
.footer__link--static:hover { color: var(--text-soft); }
.footer__list--social img {
  width: 16px; height: 16px;
  filter: invert(1) brightness(1.3);
  opacity: .85;
  transition: opacity .2s;
}
.footer__list--social a:hover img { opacity: 1; }
.footer__hint { font-size: 12px; color: var(--text-muted); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}
.footer__link--policy { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* Юридические документы */
.legal-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.legal-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.legal-footer a:hover { color: var(--gold-light); }
.legal-footer .dot { color: var(--text-muted); opacity: .6; }

/* ============================================================
   СОГЛАСИЕ НА COOKIE
   ============================================================ */
.cookie {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 200;
  width: min(440px, calc(100vw - 48px));
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(23, 18, 51, .96);
  border: 1px solid rgba(255, 216, 115, .28);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
  backdrop-filter: blur(12px);
  animation: cookieIn .35s ease-out;
}
.cookie[hidden] { display: none; }
.cookie__text { font-size: 13px; color: var(--text-soft); line-height: 1.5; }
.cookie__text a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie__actions { flex-shrink: 0; }
.cookie__btn { padding: 11px 24px; font-size: 14px; }
@keyframes cookieIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    text-align: center;
  }
  .cookie__btn { width: 100%; }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1100px) {
  .quiz__card { padding: 40px; }
  .activities__inner { grid-template-columns: 1fr; gap: 40px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .section { padding: 64px 0; }

  .characters__arrow { display: none; }
  .characters__wrap { padding: 0 12px; }

  .header__nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 85vw);
    flex-direction: column;
    gap: 8px;
    padding: 100px 32px 32px;
    background: rgba(23, 18, 51, .97);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform .3s;
    z-index: 90;
  }
  .header__nav--open { transform: translateX(0); }
  .header__link { font-size: 18px; padding: 12px 0; }
  .header__burger { display: flex; z-index: 95; }
  .header__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header__burger--open span:nth-child(2) { opacity: 0; }
  .header__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* на мобильном в шапке оставляем только Telegram (2-я иконка) */
  .header__icon { display: none; }
  .header__icon:nth-of-type(2) { display: inline-flex; }

  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .img-ph--island { width: 100%; max-width: 520px; margin: 0 auto; }
  .section-title--left { text-align: center; }
  .about__text { text-align: center; }

  .quiz__card {
    text-align: center;
    min-height: 0;
    background-position: 72% center;
    padding-top: 220px;
  }
  .quiz__card::before {
    background: linear-gradient(180deg, transparent 18%, rgba(36, 28, 82, .9) 46%, var(--bg-card) 62%);
  }
  .quiz__content { max-width: none; padding: 0 24px 40px; }
  .quiz__text { margin-left: auto; margin-right: auto; }
  .quiz__stats { justify-content: center; }

  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero { padding: 120px 0 50px; }
  .img-ph--title { height: 120px; }
  .hero__subtitle { font-size: 15px; }
  .btn { padding: 14px 24px; font-size: 14px; }

  .watch__feather { display: none; }
  .watch__play { width: 64px; height: 64px; }
  /* постер крупнее и квадратный — во всю ширину экрана */
  .watch__player {  border-radius: 0; }
 

  .char-card { flex-basis: 78vw; }
  .char-card--main { flex-basis: 78vw; transform: none; }
  .char-card--main:hover { transform: translateY(-6px); }
  .characters__track { padding-inline: 11vw; }

  .activities__games { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .gallery__grid { grid-template-columns: 1fr; }

  /* на мобильном футер выравниваем по центру */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer__col,
  .footer__list,
  .footer__list li { align-items: center; }
  .footer__bottom { flex-direction: column; justify-content: center; text-align: center; }
  .legal-footer { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   MODAL — общий каркас
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 7, 26, .78);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.modal-overlay--open { opacity: 1; visibility: visible; }

.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 44px 40px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
  border: 1px solid rgba(255, 216, 115, .2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: translateY(24px) scale(.97);
  transition: transform .3s ease;
}
.modal-overlay--open .modal { transform: translateY(0) scale(1); }
.modal--wide { max-width: 760px; }
.modal--video { padding: 0; background: #000; overflow: hidden; }
.modal__body--video { display: flex; }
.video-modal__player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal__soon {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
  color: var(--text-soft);
  background: linear-gradient(180deg, var(--bg-card-2) 0%, var(--bg-card) 100%);
}
.video-modal__soon svg { color: var(--gold-light); }
.video-modal__soon h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}

/* ---------- Модалка «Подробнее о персонаже» ---------- */
.char-modal { text-align: center; }
.char-modal__photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
  border: 3px solid rgba(245, 185, 66, .35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.char-modal__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: linear-gradient(180deg, var(--gold-light) 20%, var(--gold-deep) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.char-modal__quote {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--amber-text);
  margin-bottom: 16px;
}
.char-modal__bio { color: var(--text-soft); font-size: 15px; line-height: 1.6; }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--text-soft);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: background .2s, color .2s, transform .2s;
  z-index: 5;
}
.modal__close:hover { background: var(--gold); color: var(--text-dark); transform: rotate(90deg); }

/* Общие заголовки внутри игр */
.game-head { text-align: center; margin-bottom: 24px; }
.game-head__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  background: linear-gradient(180deg, var(--gold-light) 20%, var(--gold-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}
.game-head__hint { color: var(--text-soft); font-size: 14.5px; }
.game-progress {
  display: inline-flex;
  margin-top: 14px;
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  background: rgba(245, 185, 66, .12);
  border: 1px solid rgba(245, 185, 66, .3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--amber-text);
}
.game-note { text-align: center; font-size: 12.5px; color: var(--text-muted); margin-top: 16px; }

/* ============================================================
   QUIZ (внутри модалки)
   ============================================================ */
.quiz-step { animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.quiz-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
}
.quiz-progress__seg {
  flex: 1;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
}
.quiz-progress__seg::after {
  content: '';
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transition: width .3s;
}
.quiz-progress__seg--done::after,
.quiz-progress__seg--active::after { width: 100%; }

.quiz-step__eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-text);
  margin-bottom: 10px;
}
.quiz-step__question {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 22px;
}
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  text-align: left;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  transition: border-color .2s, background .2s, transform .15s;
}
.quiz-option:hover { border-color: rgba(245, 185, 66, .5); background: rgba(245, 185, 66, .07); }
.quiz-option:active { transform: scale(.99); }
.quiz-option--correct {
  border-color: #6fd67f;
  background: rgba(111, 214, 127, .12);
  color: #a8f0b3;
}
.quiz-option--wrong {
  border-color: #e6636b;
  background: rgba(230, 99, 107, .12);
  color: #ffb3b8;
}
.quiz-option[disabled] { pointer-events: none; }

.quiz-result { text-align: center; padding-top: 6px; }
.quiz-result__score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 42px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}
.quiz-result__label { color: var(--text-soft); margin-bottom: 26px; }
.quiz-result__note {
  color: var(--text-soft);
  font-size: 14.5px;
  max-width: 380px;
  margin: 0 auto 22px;
}

/* Полоса прогресса по трём активностям */
.progress-bar { max-width: 320px; margin: 0 auto 22px; }
.progress-bar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.progress-bar__label {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.progress-bar__count {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--gold-light);
}
.progress-bar__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  box-shadow: 0 0 12px var(--glow);
  transition: width .5s ease;
}

/* Экран «осталось пройти» — когда активность взята, но не все три */
.progress-note { text-align: center; }
.progress-note__text {
  color: var(--text-soft);
  font-size: 14.5px;
  max-width: 400px;
  margin: 0 auto 18px;
}
.progress-note__list {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}
.progress-note__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
}
.progress-note__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .25);
  font-size: 13px;
  font-weight: 800;
}
.progress-note__item--done {
  border-color: rgba(245, 185, 66, .55);
  background: rgba(245, 185, 66, .12);
  color: var(--amber-text);
}
.progress-note__item--done .progress-note__mark {
  border: none;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
}

/* ============================================================
   HOTSPOT GAME
   ============================================================ */
.hotspot-scene {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: crosshair;
}
.img-ph--scene { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); font-size: 14px; }
.img-ph__note { display: block; font-size: 11px; margin-top: 6px; opacity: .7; }

/* Зоны поиска не подсвечены — в этом и смысл игры. Обводка появляется только после находки. */
.hotspot {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  width: 8%; height: 8%;
  border-radius: 50%;
  background: transparent;
  border: 3px solid transparent;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.hotspot--found {
  pointer-events: none;
  border-color: var(--gold-light);
  background: rgba(245, 185, 66, .18);
  box-shadow: 0 0 0 4px rgba(23, 18, 51, .45), 0 0 22px var(--glow);
}
.hotspot--found::after {
  content: '✓';
  position: absolute;
  top: -10px; right: -10px;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
}

/* Легенда: кого искать */
.hotspot-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.hotspot-legend__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text-soft);
  transition: opacity .25s, border-color .25s, background .25s;
}
.hotspot-legend__item img {
  width: 30px; height: 30px;
  object-fit: contain;
}
.hotspot-legend__item--found {
  border-color: rgba(245, 185, 66, .6);
  background: rgba(245, 185, 66, .12);
  color: var(--amber-text);
}
.hotspot-legend__item--found span { text-decoration: line-through; opacity: .8; }

/* ============================================================
   WORD GAME (упрощённая виселица → «гаснущие фонарики»)
   ============================================================ */
.word-clue {
  text-align: center;
  font-size: 13.5px;
  color: var(--amber-text);
  background: rgba(245, 185, 66, .08);
  border: 1px solid rgba(245, 185, 66, .2);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 18px;
}
.word-clue b { color: var(--gold-light); }
.word-lanterns {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 24px;
}
.word-lantern {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--gold-light), var(--gold-deep));
  box-shadow: 0 0 10px var(--glow);
  transition: opacity .3s, background .3s, box-shadow .3s;
}
.word-lantern--off {
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
  opacity: .5;
}

.word-display {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.word-letter {
  width: 40px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid rgba(255, 216, 115, .4);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
}

.word-keyboard {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.word-key {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  transition: background .15s, transform .15s, border-color .15s;
}
.word-key:hover:not([disabled]) { border-color: rgba(245, 185, 66, .5); background: rgba(245, 185, 66, .1); }
.word-key:active:not([disabled]) { transform: scale(.92); }
.word-key--correct { background: rgba(111, 214, 127, .18); border-color: #6fd67f; color: #a8f0b3; }
.word-key--wrong   { background: rgba(230, 99, 107, .15); border-color: #e6636b; color: #ffb3b8; }
.word-key[disabled] { opacity: .55; pointer-events: none; }

.word-status { text-align: center; font-size: 14px; color: var(--text-soft); min-height: 20px; margin-bottom: 6px; }

/* ============================================================
   LEAD FORM (общая форма сбора данных)
   ============================================================ */
.lead-form { text-align: center; padding-top: 4px; }
.lead-form__icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
}
.lead-form__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  background: linear-gradient(180deg, var(--gold-light) 20%, var(--gold-deep) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lead-form__subtitle {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
}
.lead-form__text { color: var(--text-soft); font-size: 14.5px; margin-bottom: 26px; }
.lead-form__fields { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; text-align: left; }
.lead-form__input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color .2s, background .2s;
}
.lead-form__input::placeholder { color: var(--text-muted); }
.lead-form__input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245, 185, 66, .06);
}
.lead-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-align: left;
  cursor: pointer;
}
.lead-form__consent input { margin-top: 2px; accent-color: var(--gold); }
.lead-form .btn { width: 100%; }

/* ---------- Форма «Заявка на экскурсию» ---------- */
.tour-form__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  margin-bottom: 8px;
}
.tour-form__lead { color: var(--text-soft); font-size: 14.5px; text-align: center; margin-bottom: 16px; }
.tour-form__perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(245, 185, 66, .06);
  border: 1px solid rgba(245, 185, 66, .18);
}
.tour-form__perks li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-soft);
}
.tour-form__perks li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.lead-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9c3e0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.lead-form__select option { background: var(--bg-card); color: var(--text); }
.tour-form__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-soft);
}
.tour-form__hint { color: var(--text-muted); font-weight: 400; }
.tour-form__checks { display: flex; flex-wrap: wrap; gap: 10px; }
.tour-form__check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid var(--line);
  font-size: 13.5px;
  color: var(--text-soft);
  cursor: pointer;
}
.tour-form__check input { accent-color: var(--gold); }
.tour-form__textarea { resize: vertical; min-height: 70px; font-family: var(--font-body); }

.lead-success { text-align: center; padding: 10px 0; }
.lead-success__icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--text-dark);
  box-shadow: 0 0 0 10px rgba(245, 185, 66, .14);
}
.lead-success__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 10px;
}
.lead-success__text { color: var(--text-soft); margin-bottom: 24px; line-height: 1.6; }
.lead-success__text a {
  color: var(--gold-light);
  font-weight: 700;
  white-space: nowrap;
}
.lead-success__text a:hover { text-decoration: underline; }

/* ============================================================
   Модалки — адаптив
   ============================================================ */
@media (max-width: 640px) {
  .modal { padding: 36px 22px 28px; border-radius: var(--radius-md); }
  .word-keyboard { grid-template-columns: repeat(6, 1fr); }
  .word-letter { width: 32px; height: 40px; font-size: 18px; }
  .hotspot { width: 12%; height: 12%; }
  .hotspot-legend__item { padding: 4px 10px 4px 4px; font-size: 12px; }
  .hotspot-legend__item img { width: 24px; height: 24px; }
}
