/* =========================================================
   Сибирский экспресс 2.0 — черновой лендинг
   ========================================================= */

/* TD Volshebstvo — в макете заголовок набран этим шрифтом.
   Если шрифт установлен в системе, он подхватится автоматически;
   иначе используется Ruslan Display как ближайшая замена. */
@font-face {
  font-family: "TD Volshebstvo";
  src: local("TD Volshebstvo"), local("TDVolshebstvo-Regular");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-900: #030c2a;
  --navy-800: #06123c;
  --navy-700: #081a52;
  --navy-600: #0c2366;
  --blue-500: #1b3c9c;
  --ink: #eef3ff;
  --muted: #b3c3e6;
  --gold: #f2d49b;
  --gold-2: #dfb46a;
  --gold-3: #c99b4e;
  --red: #c22433;
  --red-deep: #8f1421;
  --cream: #f7f2e6;
  --container: 1180px;
  --header-h: 78px;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-display: "TD Volshebstvo", "Ruslan Display", "Times New Roman", serif;
  --font-year: "Unbounded", "Montserrat", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(52, 88, 190, 0.28), transparent 60%),
    linear-gradient(180deg, #06133f 0%, #07164a 45%, #050f36 100%);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: rgba(242, 212, 155, 0.85);
  color: #16122e;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- typography ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: 0.015em;
}

.gold {
  background: linear-gradient(180deg, #fff5d6 0%, #f2d49b 42%, #d3a558 78%, #e8c88e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(242, 212, 155, 0.18));
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0;
}

.section-title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 62px);
}

.section-head {
  max-width: 820px;
  margin: 0 auto clamp(34px, 4vw, 56px);
  text-align: center;
}

.section-sub {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.65;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(145deg, #d33142, var(--red-deep));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.badge--light {
  background: #fff;
  color: var(--navy-800);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 28px;
  border: 1px solid rgba(242, 212, 155, 0.55);
  border-radius: 999px;
  background: rgba(6, 16, 48, 0.35);
  color: var(--gold);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.pill--white {
  background: #fff;
  border-color: #fff;
  color: #b2192a;
  font-weight: 700;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #dbe5ff;
  font-size: 12px;
  line-height: 1.4;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn--primary {
  background: linear-gradient(145deg, #d33142, #a41123);
  box-shadow:
    0 12px 30px rgba(170, 20, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(170, 20, 40, 0.5);
}

.btn--ghost {
  border-color: rgba(242, 212, 155, 0.55);
  background: rgba(8, 20, 60, 0.35);
  color: var(--gold);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.btn--ghost:hover {
  background: rgba(242, 212, 155, 0.12);
}

.btn--small {
  padding: 12px 22px;
  font-size: 11px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--navy-800);
  font-size: 13px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: none;
}

/* ---------- header ---------- */

.header {
  position: fixed;
  z-index: 60;
  inset: 0 0 auto;
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    backdrop-filter 0.3s ease;
}

.header.is-scrolled {
  background: rgba(4, 12, 38, 0.86);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.brand__spark {
  width: 20px;
  height: auto;
  opacity: 0.9;
}

.brand__text {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

.brand__num {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__list a {
  position: relative;
  color: #d7e2fb;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav__list a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__list a:hover {
  color: var(--gold);
}

.nav__list a:hover::after {
  transform: scaleX(1);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  background: rgba(6, 16, 48, 0.45);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.nav-open .burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header.nav-open .burger span:nth-child(2) {
  opacity: 0;
}

.header.nav-open .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- hero (титул 1920×1080 по макету ТИТУЛ.pdf) ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 0;
  background: #071448;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #0a1d63 url("../assets/web/bg-title.webp") center / cover no-repeat;
}

.hero__sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* сцена повторяет кадр 1920×1080 из макета, все размеры — проценты от ширины */
.hero__stage {
  position: relative;
  width: min(100%, 177.7778svh);
  aspect-ratio: 16 / 9;
  container-type: inline-size;
}

.hero__spark {
  position: absolute;
  width: 5cqw;
  height: 5cqw;
  pointer-events: none;
}

.hero__spark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__spark--1 {
  top: 17.396cqw;
  left: 72.708cqw;
}

.hero__spark--2 {
  top: 29.583cqw;
  left: 19.063cqw;
}

.hero__spark--3 {
  top: 45.417cqw;
  left: 56.615cqw;
}

.kicker {
  position: absolute;
  top: 13.605cqw;
  left: 50.76%;
  width: max-content;
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 2.7703cqw;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.2221;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero__title {
  position: absolute;
  top: 23.839cqw;
  left: 22.734cqw;
  width: 55.594cqw;
  margin: 0;
  line-height: 0;
}

.hero__title-art {
  display: block;
  width: 100%;
  height: auto;
}

.hero__year {
  position: absolute;
  top: 44.28cqw;
  left: 50%;
  margin: 0;
  color: #fff;
  font-family: var(--font-year);
  font-size: 2.7703cqw;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1;
  transform: translateX(-50%);
}

/* ---------- about (страница «ЭКСПРЕСС — ЭТО», кадр 1920×1080) ---------- */

.about {
  position: relative;
  display: grid;
  padding: 0;
  background: #071448;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.about__bg {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #0a1d63 url("../assets/web/bg-about.webp") center / cover no-repeat;
}

.about__stage {
  position: relative;
  width: min(100%, 177.7778svh);
  aspect-ratio: 16 / 9;
  container-type: inline-size;
}

.about__stage > * {
  position: absolute;
}

.about__santa {
  top: -1.094cqw;
  left: 39.479cqw;
  width: 71.5625cqw;
  height: auto;
  pointer-events: none;
}

.about__spark {
  width: 5cqw;
  height: 5cqw;
  pointer-events: none;
}

.about__spark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.about__spark--1 {
  top: 39.167cqw;
  left: 46.51cqw;
}

.about__spark--2 {
  top: 6.5625cqw;
  left: 82.604cqw;
}

.about__title {
  top: 8.111cqw;
  left: 7.299cqw;
  width: 37.699cqw;
  margin: 0;
  line-height: 0;
}

.about__title img {
  display: block;
  width: 100%;
  height: auto;
}

.about__lead {
  top: 15.303cqw;
  left: 7.344cqw;
  width: max-content;
  margin: 0;
  color: #fff;
  font-size: 1.8398cqw;
  font-weight: 400;
  line-height: 2.5521cqw;
}

.about__route {
  inset: 0;
  pointer-events: none;
}

.about__pin {
  position: absolute;
  width: 2.656cqw;
  height: auto;
}

.about__pin--1 {
  top: 25.156cqw;
  left: 7.135cqw;
}

.about__pin--2 {
  top: 25.156cqw;
  left: 25.078cqw;
}

.about__pin--3 {
  top: 25.156cqw;
  left: 43.021cqw;
}

.about__dash {
  position: absolute;
  top: 26.354cqw;
  height: 0.104cqw;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.55) 0 0.417cqw,
    transparent 0.417cqw 0.903cqw
  );
}

.about__dash--1 {
  left: 9.792cqw;
  width: 15.365cqw;
}

.about__dash--2 {
  left: 27.76cqw;
  width: 15.365cqw;
}

.about__stations {
  display: contents;
}

.about__station {
  position: absolute;
  margin: 0;
  color: #fff;
  font-size: 1.3542cqw;
  font-weight: 500;
  letter-spacing: 0.024em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.about__station--1 {
  top: 28.87cqw;
  left: 7.135cqw;
}

.about__station--2 {
  top: 28.87cqw;
  left: 18.984cqw;
}

.about__station--3 {
  top: 28.87cqw;
  left: 39.271cqw;
}

.about__fact-title {
  margin: 0;
  color: #fff;
  font-size: 1.71875cqw;
  font-weight: 700;
  letter-spacing: 0.012em;
  line-height: 1;
}

.about__fact-title--1 {
  top: 35.745cqw;
  left: 7.344cqw;
}

.about__fact-title--2 {
  top: 35.734cqw;
  left: 28.177cqw;
}

.about__rule {
  width: 2.5cqw;
  height: 0.2083cqw;
  border-radius: 0.104cqw;
  background: #a8ccf9;
}

.about__rule--1 {
  top: 38.333cqw;
  left: 7.344cqw;
}

.about__rule--2 {
  top: 38.333cqw;
  left: 28.177cqw;
}

.about__fact-text {
  margin: 0;
  color: #fff;
  font-size: 1.25cqw;
  font-weight: 400;
  line-height: 1.6667cqw;
}

.about__fact-text--1 {
  top: 39.979cqw;
  left: 7.344cqw;
}

.about__fact-text--2 {
  top: 40.073cqw;
  left: 28.177cqw;
}

.about__outro {
  top: 47.094cqw;
  left: 7.344cqw;
  margin: 0;
  color: #fff;
  font-size: 1.5625cqw;
  font-weight: 400;
  letter-spacing: 0.008em;
  line-height: 2.1875cqw;
}

/* ---------- stats ---------- */

.section--stats {
  background: linear-gradient(180deg, transparent, rgba(5, 13, 42, 0.55) 30%, transparent);
}

.stats__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}

.stats__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(22px, 2.9vw, 40px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.stats__numbers {
  display: flex;
  justify-content: space-evenly;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(28px, 3.4vw, 46px);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stats__num {
  background: linear-gradient(180deg, #fff5d6, #f2d49b 45%, #c99b4e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 108px);
  line-height: 0.85;
  -webkit-text-fill-color: transparent;
}

.stats__label {
  max-width: 170px;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.45;
}

.stats__badge {
  margin-top: clamp(18px, 2vw, 26px);
  padding: 8px 16px;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
  transform: rotate(-1.5deg);
}

.stats__text {
  max-width: 420px;
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  padding-top: clamp(20px, 2.4vw, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: clamp(16px, 1.5vw, 24px);
  line-height: 1.6;
}

.comfort-card {
  position: relative;
  padding: clamp(26px, 3.2vw, 42px);
  border-radius: clamp(24px, 2.4vw, 34px);
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  color: #454d6b;
}

.comfort-card__title {
  margin: 0 0 clamp(18px, 2vw, 26px);
  color: #b31c2f;
  font-size: clamp(22px, 2.5vw, 34px);
}

.comfort-list {
  display: grid;
  gap: clamp(14px, 1.5vw, 22px);
  margin: 0;
  padding: 0;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.5;
  list-style: none;
}

.comfort-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.comfort-list strong {
  color: #161d40;
  font-weight: 700;
}

.comfort-list__dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- schedule ---------- */

.section--schedule {
  background:
    linear-gradient(rgba(4, 12, 42, 0.78), rgba(4, 12, 42, 0.86)),
    url("../assets/web/bg-frost.jpg") center / cover no-repeat;
}

.dates {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(10px, 1.6vw, 22px);
  max-width: 980px;
  margin: 0 auto;
}

.date-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 48px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 38, 110, 0.8), rgba(8, 20, 66, 0.85));
  color: #fff;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.date-card::before,
.date-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 25px;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: #0a1b57;
}

.date-card::before {
  left: 18%;
}

.date-card::after {
  right: 18%;
}

.date-card__top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  padding: 8px 0;
  border-radius: 15px 15px 0 0;
  background: linear-gradient(180deg, #d02a3b, #a91425);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.date-card__day {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1;
}

.date-card__weekday {
  color: #a9bce6;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.date-card:hover {
  border-color: rgba(242, 212, 155, 0.5);
  transform: translateY(-4px);
}

.date-card.is-active {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(30, 58, 150, 0.9), rgba(10, 26, 84, 0.95));
  box-shadow:
    0 0 0 2px rgba(242, 212, 155, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.date-card.is-active .date-card__day {
  color: var(--gold);
}

.schedule__sub {
  margin: 46px 0 20px;
  color: #dbe5ff;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}

.times {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.time-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(21, 44, 120, 0.75), rgba(9, 23, 74, 0.8));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.time-chip svg {
  box-sizing: content-box;
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d33142, #a41123);
  color: #fff;
}

.time-chip:hover {
  border-color: rgba(242, 212, 155, 0.55);
  transform: translateY(-2px);
}

.time-chip.is-active {
  border-color: #f6dfb0;
  background: linear-gradient(180deg, #f6dfb0, #d9ae68);
  color: #1a1330;
}

.time-chip.is-active svg {
  background: #a91425;
}

.schedule__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 30px auto 0;
}

.schedule__selected {
  min-height: 1em;
  margin: 0;
  color: #c3d1ef;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.schedule__route {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 880px;
  margin: clamp(30px, 4vw, 44px) auto 0;
  padding: 16px 26px;
  border: 1px solid rgba(242, 212, 155, 0.4);
  border-radius: 999px;
  background: rgba(6, 17, 52, 0.55);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.schedule__arrow {
  color: var(--gold);
}

.schedule__duration {
  padding: 6px 14px;
  border-left: 1px solid rgba(242, 212, 155, 0.35);
  color: var(--gold);
}

/* ---------- team ---------- */

.section--team {
  background: radial-gradient(90% 60% at 50% 0%, rgba(28, 60, 150, 0.28), transparent 60%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  align-items: start;
}

.hero-card {
  position: relative;
  text-align: center;
}

.hero-card__region {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  color: #cbd8f5;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-card__region::before,
.hero-card__region::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-card__img {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(220px, 24vw, 310px);
  margin-bottom: 18px;
}

.hero-card__img::before {
  content: "";
  position: absolute;
  inset: 6% 8% 0;
  background: radial-gradient(closest-side, rgba(86, 124, 228, 0.32), transparent 70%);
  filter: blur(6px);
}

.hero-card__img img {
  position: relative;
  width: auto;
  max-height: 100%;
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.45));
  transition: transform 0.4s var(--ease);
}

.hero-card:hover .hero-card__img img {
  transform: translateY(-8px) scale(1.02);
}

.hero-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-card p:not(.hero-card__region) {
  margin: 0;
  color: #aabce4;
  font-size: 12px;
  line-height: 1.55;
}

.guests {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(46px, 6vw, 80px);
}

.guest-card {
  position: relative;
  overflow: hidden;
  padding: clamp(20px, 2.6vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(19, 41, 118, 0.65), rgba(7, 19, 64, 0.55));
}

.guest-card__label {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.guest-card__row {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 12px;
  align-items: center;
}

.guest-card__text h3 {
  margin: 8px 0 10px;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: uppercase;
}

.guest-card__text p {
  margin: 0;
  color: #b3c2e7;
  font-size: 13px;
  line-height: 1.6;
}

.guest-card img {
  width: 100%;
  height: clamp(140px, 17vw, 220px);
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.35));
}

/* ---------- program ---------- */

.section--program {
  background: linear-gradient(180deg, transparent, rgba(9, 23, 74, 0.6), transparent);
}

.program-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 36px;
}

.program-note__text {
  color: #e9d3a7;
  font-size: clamp(18px, 2.2vw, 26px);
}

.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 30px);
}

.program-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(242, 212, 155, 0.25);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(22, 45, 124, 0.72), rgba(8, 20, 66, 0.6));
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.program-card::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 212, 155, 0.16), transparent 70%);
}

.program-card:hover {
  border-color: rgba(242, 212, 155, 0.5);
  transform: translateY(-4px);
}

.program-card__age {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1;
}

.program-card__name {
  margin: 22px 0 0;
  color: #fff;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.45;
}

/* ---------- kids banner ---------- */

.section--kids-banner {
  padding-top: clamp(20px, 3vw, 40px);
}

.kids-banner {
  position: relative;
  display: grid;
  min-height: clamp(420px, 46vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(242, 212, 155, 0.28);
  border-radius: 30px;
  background: url("../assets/web/bg-tomsk.jpg") center / cover no-repeat;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  place-items: center;
}

.kids-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 10, 34, 0.35), rgba(3, 10, 34, 0.55)),
    radial-gradient(70% 60% at 50% 45%, rgba(3, 10, 34, 0.55), transparent 70%);
}

.kids-banner__inner {
  position: relative;
  padding: clamp(40px, 6vw, 70px) 24px;
  text-align: center;
}

.kids-banner__title {
  margin: 0 0 22px;
  font-size: clamp(42px, 6.4vw, 84px);
}

.kids-banner__age {
  margin: 18px 0 0;
  color: #dce6ff;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kids-banner__name {
  max-width: 470px;
  margin: 14px auto 0;
  color: #fff;
  font-size: clamp(15px, 1.7vw, 20px);
  font-weight: 500;
  line-height: 1.5;
}

/* ---------- kids detail ---------- */

.section--kids-detail {
  padding-top: clamp(50px, 6vw, 80px);
}

.kids__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.kids__text .section-title {
  margin-top: 20px;
}

.kids__sub {
  margin: 10px 0 22px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.9vw, 24px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kids__text > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-pills li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #cfdbf7;
  font-size: 11.5px;
  line-height: 1.45;
}

.feature-pills strong {
  color: #fff;
}

.feature-pills__icon {
  display: grid;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(145deg, #d33142, var(--red-deep));
  color: #fff;
  place-items: center;
}

.kids__media {
  position: relative;
  text-align: center;
}

.kids__media::before {
  content: "";
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(closest-side, rgba(86, 124, 228, 0.35), transparent 70%);
  filter: blur(10px);
}

.kids__media > img:not(.kids__spark) {
  position: relative;
  width: min(100%, 480px);
  margin-inline: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45));
}

.kids__spark {
  position: absolute;
  top: 4%;
  right: 8%;
  width: 46px;
  animation: twinkle 4s ease-in-out infinite;
}

.route-block {
  margin-top: clamp(60px, 8vw, 100px);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 30px);
}

.route-item {
  position: relative;
  text-align: center;
}

.route-item__num {
  position: absolute;
  z-index: 2;
  top: -6px;
  right: calc(50% - 88px);
  display: grid;
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: linear-gradient(145deg, #d33142, #a41123);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  place-items: center;
}

.route-item__ring {
  position: relative;
  display: grid;
  width: clamp(130px, 15vw, 168px);
  margin: 0 auto 18px;
  padding: 12px;
  border: 1px dashed rgba(242, 212, 155, 0.55);
  border-radius: 50%;
  aspect-ratio: 1;
  place-items: center;
}

.route-item__ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.route-item__ring img {
  width: auto;
  max-height: 100%;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.4));
}

.route-item__region {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(145deg, #c82435, #961323);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.route-item h4 {
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.route-item p {
  margin: 0;
  color: #a9bbe2;
  font-size: 12px;
  line-height: 1.6;
}

.route-note {
  max-width: 860px;
  margin: clamp(30px, 4vw, 44px) auto 0;
  padding: 20px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: #c6d3f0;
  font-size: 13px;
  line-height: 1.65;
  text-align: center;
}

/* ---------- teens ---------- */

.section--teens {
  background:
    radial-gradient(90% 50% at 50% 18%, rgba(74, 36, 140, 0.35), transparent 65%),
    linear-gradient(180deg, transparent, rgba(5, 13, 42, 0.5));
}

.teens-intro {
  position: relative;
  max-width: 720px;
  margin: 0 auto clamp(30px, 4vw, 50px);
  padding: clamp(30px, 6vw, 70px) 0;
  text-align: center;
}

.teens-intro__ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(196, 150, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
}

.teens-intro__ring::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(120, 200, 255, 0.16);
  border-radius: 50%;
}

.teens-intro .section-title {
  font-size: clamp(30px, 4.4vw, 56px);
}

.teens-intro .pill {
  margin-top: 22px;
  border-color: #fff;
  background: #fff;
  color: #a91425;
  font-weight: 700;
}

.teens-intro__age {
  margin: 12px 0 0;
  color: #c2d0ef;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.teens-intro__lead {
  margin: 14px 0 0;
  color: var(--gold);
  font-size: clamp(14px, 1.5vw, 17px);
}

.rhythm {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(20px, 4vw, 50px);
  align-items: center;
  overflow: hidden;
  margin-bottom: clamp(50px, 7vw, 90px);
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background: linear-gradient(120deg, rgba(27, 51, 140, 0.7), rgba(57, 32, 120, 0.55));
}

.rhythm::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -160px;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(104, 88, 255, 0.35), transparent 70%);
}

.rhythm__text {
  position: relative;
}

.rhythm__title {
  margin: 18px 0 6px;
  font-size: clamp(34px, 4.4vw, 56px);
}

.rhythm__sub {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(15px, 1.7vw, 20px);
  text-transform: uppercase;
}

.rhythm__text p:not(.rhythm__sub) {
  color: #c6d4f1;
  font-size: 14px;
  line-height: 1.75;
}

.rhythm__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.rhythm__figure {
  position: relative;
  margin: 0;
}

.rhythm__figure img {
  width: auto;
  height: clamp(260px, 32vw, 420px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

.rhythm__figure figcaption {
  position: absolute;
  bottom: 18px;
  left: 50%;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: #111c46;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.rhythm__figure--offset {
  margin-left: -40px;
}

.rhythm__figure--offset img {
  height: clamp(250px, 31vw, 400px);
}

.elements {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  margin-bottom: clamp(50px, 7vw, 90px);
}

.elements__title {
  margin: 18px 0 14px;
  font-size: clamp(32px, 4.2vw, 52px);
}

.elements__text > p {
  max-width: 520px;
  color: #bccbeb;
  font-size: 14px;
  line-height: 1.75;
}

.elements__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
  margin: 22px 0;
}

.element-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.element-btn__icon {
  display: grid;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 212, 155, 0.45);
  border-radius: 50%;
  color: var(--gold);
  place-items: center;
}

.element-btn__icon--fire {
  color: #ffb07a;
}

.element-btn__icon--water {
  color: #8ed0ff;
}

.element-btn__icon--earth {
  color: #b5dd93;
}

.element-btn__icon--air {
  color: #dceaff;
}

.element-btn:hover,
.element-btn.is-active {
  border-color: var(--gold);
  background: rgba(242, 212, 155, 0.12);
  transform: translateY(-2px);
}

.elements__slogan {
  margin-top: 8px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.4;
  text-transform: uppercase;
}

.elements__media {
  text-align: center;
}

.elements__media img {
  width: min(100%, 520px);
  margin-inline: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.45));
}

.inside {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  padding-top: clamp(40px, 5vw, 70px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.inside__title {
  margin: 18px 0 26px;
  font-size: clamp(32px, 4.2vw, 52px);
}

.inside-list {
  display: grid;
  max-width: 560px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.inside-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inside-list li:last-child {
  border-bottom: 0;
}

.inside-list__num {
  display: grid;
  flex: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(242, 212, 155, 0.6);
  border-radius: 50%;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  place-items: center;
}

.inside-list p {
  margin: 0;
  color: #c3d0ee;
  font-size: 13.5px;
  line-height: 1.6;
}

.inside-list strong {
  color: #fff;
  font-weight: 600;
}

.inside__media {
  text-align: center;
}

.inside__media img {
  width: auto;
  height: clamp(300px, 38vw, 480px);
  margin-inline: auto;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.45));
}

/* ---------- reviews ---------- */

.section--reviews {
  background: linear-gradient(180deg, transparent, rgba(9, 23, 74, 0.55));
}

.reviews__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}

.reviews__media {
  position: relative;
  text-align: center;
}

.reviews__media img {
  width: min(100%, 420px);
  margin-inline: auto;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.5));
}

.reviews__content .section-sub {
  margin: 12px 0 26px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.review {
  position: relative;
  margin: 0;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, #fbf8ef, #efe7d6);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
  color: #1b2547;
  font-size: 12.5px;
  line-height: 1.55;
}

.review::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: #7fbf6a;
}

.review p {
  margin: 0;
}

.review footer {
  margin-top: 10px;
  color: #8b93a8;
  font-size: 10px;
  text-align: right;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.video-link__play {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(242, 212, 155, 0.6);
  border-radius: 50%;
  place-items: center;
  transition: background 0.25s ease, color 0.25s ease;
}

.video-link:hover {
  color: #ffe9bd;
}

.video-link:hover .video-link__play {
  background: var(--gold);
  color: #1a1330;
}

/* ---------- price ---------- */

.section--price {
  background: radial-gradient(80% 60% at 50% 40%, rgba(29, 58, 150, 0.3), transparent 65%);
  text-align: center;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 30px);
  max-width: 880px;
  margin: 0 auto;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: clamp(26px, 3.4vw, 38px) clamp(18px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(21, 43, 120, 0.7), rgba(7, 19, 64, 0.6));
}

.price-card--early {
  border-color: rgba(242, 212, 155, 0.55);
  box-shadow: inset 0 0 60px rgba(242, 212, 155, 0.08);
}

.price-card__date {
  margin: 18px 0 2px;
  color: #b9c8ea;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-card__value {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
}

.price-card__value small {
  display: block;
  margin-top: 8px;
  color: #9fb3e0;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-note {
  max-width: 640px;
  margin: 28px auto 0;
  color: #a9bbe2;
  font-size: 12.5px;
  line-height: 1.7;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 22px auto 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(145deg, #c82435, #961323);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.price__cta {
  margin-top: 30px;
}

/* ---------- final ---------- */

.section--final {
  padding-bottom: clamp(70px, 9vw, 120px);
  background:
    linear-gradient(rgba(4, 12, 42, 0.72), rgba(4, 12, 42, 0.72)),
    url("../assets/web/bg-frost.jpg") center / cover no-repeat;
}

.final__inner {
  max-width: 880px;
  text-align: center;
}

.final__lead {
  margin: 22px auto 0;
  color: #d5e0f8;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: 1.65;
}

.final__lead strong {
  color: #fff;
}

.final__ribbon {
  display: inline-block;
  max-width: 720px;
  margin: 28px auto 0;
  padding: 18px 30px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbf6e8, #f1e5cb);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  color: #b2192a;
  font-size: clamp(13px, 1.5vw, 16px);
  line-height: 1.55;
}

.final__call {
  margin: 30px 0 20px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(16px, 2.1vw, 24px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.phone-card {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 16px 28px;
  border: 1px solid rgba(242, 212, 155, 0.5);
  border-radius: 999px;
  background: rgba(8, 20, 60, 0.55);
  text-decoration: none;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.phone-card:hover {
  border-color: var(--gold);
  background: rgba(242, 212, 155, 0.1);
}

.phone-card__numbers {
  display: flex;
  flex-direction: column;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.phone-card__social {
  padding-left: 22px;
  border-left: 1px solid rgba(242, 212, 155, 0.35);
  color: #c8d5f2;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- footer ---------- */

.footer {
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #040d2c;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__brand img {
  width: 18px;
  height: auto;
}

.footer__info {
  margin: 0;
  color: #8fa2cc;
  font-size: 11px;
}

.footer__links {
  display: flex;
  gap: 18px;
  font-size: 11px;
}

.footer__links a {
  color: #b9c8ea;
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--gold);
}

.footer__copy {
  width: 100%;
  margin: 0;
  color: #6c7ea8;
  font-size: 10px;
}

/* ---------- reveal ---------- */

.reveal-init {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal-init.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .stats__grid,
  .kids__grid,
  .reviews__grid,
  .rhythm,
  .elements,
  .inside {
    grid-template-columns: 1fr;
  }

  .stats__grid .comfort-card {
    max-width: 620px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }

  .rhythm__media {
    justify-content: center;
  }

  .inside__media img {
    height: 400px;
  }

  .reviews__media {
    order: -1;
  }

  .reviews__media img {
    width: min(100%, 380px);
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    right: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(5, 14, 45, 0.97);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }

  .header.nav-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__list a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
  }

  .nav__list a:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav__list a::after {
    display: none;
  }

  .nav__cta {
    margin-top: 6px;
  }

  .burger {
    display: flex;
  }

  .kids-banner {
    min-height: 440px;
  }

  .program-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    max-width: 520px;
  }

  .route-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 18px;
  }

  .route-item__num {
    right: calc(50% - 80px);
  }

  .teens-intro__ring {
    inset: 10px 0;
    border-radius: 48% / 40%;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 56px 0;
  }

  .hero {
    padding: calc(var(--header-h) + 56px) 24px 64px;
  }

  .hero__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    aspect-ratio: auto;
    container-type: normal;
  }

  .kicker {
    position: static;
    width: auto;
    margin-bottom: 20px;
    font-size: clamp(13px, 4.4vw, 20px);
    letter-spacing: 0;
    line-height: 1.3;
    transform: none;
  }

  .hero__title {
    position: static;
    width: 100%;
  }

  .hero__year {
    position: static;
    margin-top: 18px;
    font-size: clamp(16px, 5vw, 24px);
    transform: none;
  }

  .hero__spark {
    display: none;
  }

  .about {
    display: block;
    padding: calc(var(--header-h) + 48px) 24px 0;
  }

  .about__stage {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    aspect-ratio: auto;
    container-type: normal;
  }

  .about__stage > * {
    position: static;
  }

  .about__santa {
    order: 10;
    width: min(100%, 460px);
    margin: 8px -24px -24px;
    align-self: flex-end;
  }

  .about__spark,
  .about__route {
    display: none;
  }

  .about__title {
    width: 76%;
    margin-bottom: 18px;
    line-height: 0;
  }

  .about__lead {
    width: auto;
    margin-bottom: 22px;
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.42;
  }

  .about__stations {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 26px;
  }

  .about__station {
    position: static;
    font-size: clamp(10px, 2.9vw, 13px);
    letter-spacing: 0.04em;
  }

  .about__station + .about__station::before {
    content: "→";
    margin-right: 8px;
    color: #a8ccf9;
  }

  .about__fact-title {
    margin-bottom: 8px;
    font-size: clamp(18px, 5vw, 24px);
  }

  .about__rule {
    width: 40px;
    height: 3px;
    margin-bottom: 16px;
  }

  .about__fact-text {
    margin-bottom: 24px;
    font-size: clamp(13px, 3.6vw, 16px);
    line-height: 1.7;
  }

  .about__outro {
    font-size: clamp(15px, 4.2vw, 20px);
    line-height: 1.5;
  }

  .dates {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .date-card {
    flex: 0 0 122px;
    scroll-snap-align: start;
  }

  .times {
    gap: 8px;
  }

  .time-chip {
    padding: 9px 16px 9px 9px;
    font-size: 13px;
  }

  .schedule__route {
    gap: 10px;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 9.5px;
  }

  .schedule__duration {
    padding: 0;
    border-left: 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 14px;
  }

  .hero-card__img {
    height: 210px;
  }

  .guest-card__row {
    grid-template-columns: 1fr;
  }

  .guest-card img {
    height: 190px;
    object-position: center bottom;
  }

  .route-grid {
    gap: 28px 16px;
  }

  .route-item__ring {
    width: 120px;
    padding: 9px;
  }

  .route-item__num {
    right: calc(50% - 70px);
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .rhythm {
    padding: 24px 18px;
  }

  .rhythm__media {
    margin-top: 10px;
  }

  .rhythm__figure img {
    height: 280px;
  }

  .rhythm__figure--offset {
    margin-left: -24px;
  }

  .rhythm__figure--offset img {
    height: 270px;
  }

  .elements__buttons {
    gap: 8px;
  }

  .element-btn {
    gap: 8px;
    padding: 10px 12px;
    font-size: 10px;
  }

  .element-btn__icon {
    width: 32px;
    height: 32px;
  }

  .inside__media img {
    height: 340px;
  }

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

  .price-card__value {
    font-size: clamp(54px, 17vw, 72px);
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .phone-card {
    gap: 14px;
    padding: 14px 20px;
  }

  .phone-card__social {
    padding-left: 14px;
  }

  .final__ribbon {
    padding: 16px 18px;
  }

}

@media (max-width: 480px) {
  .brand__text {
    max-width: 180px;
    font-size: 10.5px;
  }

  .stats__numbers {
    gap: 28px;
  }

  .stats__num {
    font-size: 64px;
  }

  .stats__label {
    font-size: 13px;
  }

  .stats__badge {
    font-size: 9px;
    transform: none;
    text-align: left;
  }

  .comfort-list {
    font-size: 13px;
  }

  .dates .date-card {
    flex-basis: 108px;
  }

  .date-card__day {
    font-size: 34px;
  }

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

  .route-item__ring {
    width: 150px;
  }

  .route-item__num {
    right: calc(50% - 85px);
  }

  .teens-intro .section-title {
    font-size: 28px;
  }

  .rhythm__figure img {
    height: 230px;
  }

  .rhythm__figure--offset img {
    height: 220px;
  }

  .rhythm__figure figcaption {
    bottom: 10px;
    padding: 6px 8px;
    font-size: 8px;
  }

  .inside__media img {
    height: 300px;
  }

  .phone-card {
    flex-direction: column;
    gap: 10px;
    border-radius: 24px;
    padding: 16px 24px;
  }

  .phone-card__social {
    padding-left: 0;
    border-left: 0;
  }

  .free-badge {
    border-radius: 20px;
    font-size: 9.5px;
    text-align: left;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-init {
    opacity: 1;
    transform: none;
  }
}

/* ---------- development overlay ---------- */

.dev-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  padding: 24px;
  background: rgba(4, 12, 38, 0.55);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  backdrop-filter: blur(10px) saturate(120%);
  place-items: center;
  animation: dev-fade-in 0.5s var(--ease) both;
}

.dev-overlay__box {
  max-width: 800px;
  padding: clamp(28px, 5vw, 52px) clamp(24px, 5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(22, 45, 124, 0.92), rgba(7, 19, 64, 0.92));
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
}

.dev-overlay__spark {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
  animation: twinkle 4s ease-in-out infinite;
}

.dev-overlay__title {
  margin: 0;
  background: linear-gradient(180deg, #fff5d6 0%, #f2d49b 42%, #d3a558 78%, #e8c88e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(34px, 7vw, 64px);
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(242, 212, 155, 0.2));
}

.dev-overlay__text {
  margin: 16px 0 0;
  color: #c6d4f1;
  font-size: clamp(13px, 1.6vw, 16px);
  line-height: 1.6;
}

@keyframes dev-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* если у пользователя включено уменьшение движения — без анимаций */
@media (prefers-reduced-motion: reduce) {
  .dev-overlay,
  .dev-overlay__spark {
    animation: none;
  }
}