/* ==========================================================
   Айкөл — танцевальная студия
   Палитра взята с постера: ночная сцена, фиолетовая пачка,
   золотые буквы и атлас пуантов
   ========================================================== */

:root {
  --night: #060129;
  --night-2: #0B0333;
  --night-3: #110641;
  --violet: #2B0F66;
  --orchid: #B65CF0;
  --lilac: #D9B8FF;
  --gold: #E7C07A;
  --gold-hi: #FCEABE;
  --gold-grad: linear-gradient(180deg, #FCEABE 0%, #E7C07A 52%, #B98B45 100%);
  --ink: #1A0838;

  --text: #EFE7FF;
  --muted: #A99BC9;
  --line: rgba(255, 255, 255, .09);
  --line-gold: rgba(231, 192, 122, .3);
  --surface: linear-gradient(165deg, rgba(255,255,255,.07), rgba(255,255,255,.025));

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --radius: 28px;
  --header-h: 76px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --reveal-t: opacity 0s;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--night); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

svg {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--night-3); color: #fff; padding: 10px 16px; border-radius: 12px;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

/* Золотой текст, как буквы на постере */
.h2 em, .hero__title em, .brand span, .stat strong {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin-top: 14px;
  color: #FBF7FF;
  text-wrap: balance;
}
.h2 em { font-style: italic; padding-right: .08em; }

/* ---------- Кнопки ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s, filter .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.4) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .35s var(--ease); }
.btn:hover .btn__icon:not(.btn__icon--left) { transform: translateX(4px); }

.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }

/* Главная кнопка — золото постера */
.btn--primary {
  background: var(--gold-grad); color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 12px 30px -12px rgba(231,192,122,.6);
}
.btn--primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 18px 38px -14px rgba(231,192,122,.75); }
.btn--glass {
  background: rgba(255,255,255,.07); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); }
.btn--light { background: #F6EEFF; color: var(--violet); }
.btn--light:hover { background: #fff; }
.btn--wa { background: #1FAF54; color: #fff; box-shadow: 0 14px 30px -12px rgba(31,175,84,.85); }
.btn--wa:hover { background: #18994A; box-shadow: 0 18px 34px -12px rgba(31,175,84,.9); }
.btn--outline { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn--outline:hover { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

.link {
  background: none; border: 0; padding: 0;
  color: var(--gold); font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link:hover { color: #fff; }

/* ---------- Шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: transform .5s var(--ease), background-color .4s, box-shadow .4s, -webkit-backdrop-filter .4s, backdrop-filter .4s;
}
.header.is-scrolled {
  background: rgba(6, 1, 41, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line), 0 14px 34px -24px rgba(0,0,0,.8);
}
.header.is-hidden { transform: translateY(-100%); }
/* Размытие фона делает шапку контейнером для fixed-меню — на время меню отключаем */
.header.nav-open { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.header__inner { display: flex; align-items: center; gap: 16px; height: 76px; }

.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 38px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -.02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px;
  font-weight: 600; font-size: 15px; color: rgba(239,231,255,.86);
  transition: background-color .3s, color .3s;
}
.nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav a.is-active { color: var(--gold); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px; margin-left: -2.5px;
  border-radius: 50%; background: var(--gold);
}
.nav__cta { display: none; }

/* Переключатель языка */
.lang {
  position: relative; z-index: 2; display: inline-flex; padding: 4px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lang button {
  position: relative; z-index: 1; border: 0; background: none;
  min-width: 38px; padding: 6px 9px; border-radius: 999px;
  font-weight: 800; font-size: 12.5px; letter-spacing: .05em; color: var(--muted);
  transition: color .35s;
}
.lang button:hover { color: #fff; }
.lang button[aria-pressed="true"] { color: var(--ink); }
.lang__pill {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px;
  background: var(--gold-grad); box-shadow: 0 6px 14px -6px rgba(231,192,122,.7);
  transition: left .5s var(--ease-out), width .5s var(--ease-out);
}

.burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 22.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 22.5px; transform: rotate(-45deg); }

/* Объявление из таблицы */
.announce {
  background: linear-gradient(90deg, #1B0A4A, #3A1475 50%, #1B0A4A);
  border-bottom: 1px solid var(--line-gold);
  color: #F5EDFF; font-size: 14px; font-weight: 600;
}
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-block: 6px; }
.announce p { text-align: center; }
.announce__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); color: rgba(231,192,122,.7); box-shadow: 0 0 0 0 currentColor; animation: ping 2s infinite; flex-shrink: 0; }
.announce__close {
  display: grid; place-items: center; width: 28px; height: 28px; margin-left: 6px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; font-size: 16px;
}
.announce__close:hover { background: rgba(255,255,255,.2); }

/* ---------- Первый экран ---------- */
/* Компьютер: постер слева во всю высоту, текст справа */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 24px) 0 72px;
  background: var(--night);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
  animation: drift 24s ease-in-out infinite alternate;
}
.hero__glow--1 { width: 620px; height: 620px; left: 34%; top: 8%; background: rgba(139, 63, 217, .34); }
.hero__glow--2 { width: 520px; height: 520px; right: -8%; bottom: -16%; background: rgba(182, 92, 240, .2); animation-duration: 28s; animation-delay: -8s; }
.grain {
  position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.hero__art {
  position: absolute; left: 0; top: var(--header-h); z-index: 0;
  height: calc(100% - var(--header-h)); aspect-ratio: 962 / 1280;
  animation: fadeIn 1.6s var(--ease-out) both;
}
/* Свечение пачки продолжается за краем постера */
.hero__art::before {
  content: ""; position: absolute; z-index: -1; right: -32%; top: 12%; width: 70%; height: 76%;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(176, 79, 224, .5), transparent);
  filter: blur(30px);
  animation: breathe 8s ease-in-out infinite;
}
.hero__art picture { display: block; width: 100%; height: 100%; }
.hero__poster {
  width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, #000 70%, transparent 99%), linear-gradient(to top, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 70%, transparent 99%), linear-gradient(to top, transparent 0, #000 14%);
  mask-composite: intersect;
  transform-origin: 30% 40%;
  animation: posterIn 2.6s var(--ease-out) both;
  translate: calc(var(--px, 0) * -10px) calc(var(--py, 0) * -8px);
  transition: translate 1.2s var(--ease-out);
}
/* Блик, пробегающий по золотой надписи постера */
.hero__shine {
  position: absolute; left: 3%; top: 16%; width: 54%; height: 29%;
  pointer-events: none; mix-blend-mode: overlay;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 244, 214, .9) 50%, transparent 62%) no-repeat;
  background-size: 260% 100%; background-position: 160% 0;
  animation: shine 7s ease-in-out 2.4s infinite;
}
.spark {
  position: absolute; color: var(--gold-hi);
  filter: drop-shadow(0 0 8px rgba(252, 234, 190, .85));
  animation: twinkle 4s ease-in-out infinite;
  translate: calc(var(--px, 0) * 22px) calc(var(--py, 0) * 22px); transition: translate .9s var(--ease-out);
}
.spark svg { width: 100%; height: 100%; fill: currentColor; stroke: none; }
.spark--1 { width: 18px; height: 18px; left: 12%; top: 60%; }
.spark--2 { width: 28px; height: 28px; right: 9%; top: 9%; animation-delay: -1.3s; }
.spark--3 { width: 12px; height: 12px; left: 30%; top: 84%; animation-delay: -2.6s; }
.spark--4 { width: 20px; height: 20px; left: 50%; top: 52%; color: var(--lilac); animation-delay: -3.4s; }

.hero__inner { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.hero__copy { width: min(560px, 46%); }

.hero__eyebrow {
  color: var(--gold-hi); padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-gold);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); color: rgba(231,192,122,.6); box-shadow: 0 0 0 0 currentColor; animation: ping 2.2s infinite; }

.hero__title {
  margin-top: 20px;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: .95; letter-spacing: -.035em;
  color: #FBF7FF;
}
.hero__title .line { display: block; overflow: hidden; padding: .02em 0 .12em; margin-bottom: -.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { position: relative; font-style: italic; white-space: nowrap; padding-right: .1em; }
.hero__title em::after {
  content: ""; position: absolute; left: 2%; right: 6%; bottom: -.04em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 15C60 4 140 2 297 9' fill='none' stroke='%23E7C07A' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  transform-origin: left; transform: scaleX(0);
  animation: draw 1.1s var(--ease-out) 1.2s forwards;
}

.hero__lead { margin-top: 22px; max-width: 40ch; font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; color: rgba(239, 231, 255, .82); font-weight: 500; text-shadow: 0 2px 20px rgba(6, 1, 41, .8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero__chips li {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__chips .hero__rating { padding: 0; background: rgba(231,192,122,.12); border-color: var(--line-gold); color: var(--gold-hi); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.hero__chips .hero__rating:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(231,192,122,.55); }
.hero__rating a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; color: inherit; border-radius: inherit; }
.hero__rating-arrow { width: 14px; height: 14px; stroke-width: 2.2; transform: rotate(-45deg); transition: transform .35s var(--ease); }
.hero__rating a:hover .hero__rating-arrow { transform: rotate(-45deg) translateX(3px); }

/* Появление первого экрана */
.intro { animation: fadeUp 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 300ms); }
.hero__title .intro { animation-name: lineUp; animation-duration: 1.15s; }

.next-card {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 24px;
  padding: 12px 20px 12px 12px; border-radius: 22px;
  background: rgba(17, 7, 52, .55);
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 24px 50px -24px rgba(0,0,0,.7);
  animation: fadeUp .9s var(--ease-out) both;
  transition: box-shadow .4s, border-color .4s, scale .4s var(--ease);
}
.next-card:hover { scale: 1.03; border-color: var(--line-gold); box-shadow: 0 30px 60px -24px rgba(139,63,217,.6); }
.next-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-grad); color: var(--ink); }
.next-card__icon svg { width: 22px; height: 22px; }
.next-card__text { display: grid; gap: 1px; line-height: 1.3; }
.next-card__label { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.next-card strong { font-size: 16px; color: #fff; }
.next-card__text > span:last-child { font-size: 14px; color: var(--muted); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.3);
  animation: fadeIn 1s 1.6s both;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 2s ease-in-out infinite; }

/* Телефон, планшет и узкие окна: постер сверху, текст под ним */
@media (max-width: 960px), (max-aspect-ratio: 4/3) {
  .hero { display: block; min-height: 0; padding: var(--header-h) 0 64px; }
  .hero__art { position: relative; top: 0; height: auto; width: min(100%, 620px); margin-inline: auto; }
  .hero__art::before { right: -10%; width: 60%; }
  .hero__poster {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 88%, transparent), linear-gradient(to top, transparent 0, #000 18%);
    mask-image: linear-gradient(to right, transparent 0, #000 3%, #000 88%, transparent), linear-gradient(to top, transparent 0, #000 18%);
  }
  .hero__glow--1 { left: 50%; top: 4%; translate: -50% 0; width: 420px; height: 420px; }
  .hero__inner { justify-content: flex-start; margin-top: -8px; }
  .hero__copy { width: 100%; max-width: 620px; margin-inline: auto; }
  .hero__title { font-size: clamp(44px, 11vw, 76px); }
  .scroll-cue { display: none; }
}

/* ---------- Бегущая строка ---------- */
.marquee {
  overflow: hidden; position: relative; padding: 20px 0;
  background: var(--night-2);
  border-block: 1px solid var(--line-gold);
}
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -.01em; color: var(--gold); }
.marquee i { font-style: normal; color: var(--orchid); margin: 0 26px; font-size: 18px; }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Секции ---------- */
.section { position: relative; padding: clamp(84px, 11vw, 144px) 0; }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }
.section__head--center { text-align: center; margin-inline: auto; }
.section__lead { margin-top: 18px; max-width: 54ch; font-size: 18px; color: var(--muted); }

/* Появление при прокрутке */
[data-reveal] {
  --rd: calc(var(--i, 0) * 90ms);
  --reveal-t: opacity .9s var(--ease-out) var(--rd), transform .9s var(--ease-out) var(--rd);
  opacity: 0; transform: translateY(32px);
  transition: var(--reveal-t);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Направления ---------- */
.directions { background: radial-gradient(900px circle at 100% 0%, rgba(139,63,217,.16), transparent 60%), var(--night); }
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  grid-column: span 2;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  min-height: 310px; padding: 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: var(--reveal-t), translate .55s var(--ease), box-shadow .55s var(--ease), border-color .4s;
}
.card:hover { translate: 0 -6px; box-shadow: 0 34px 60px -34px rgba(139,63,217,.65); border-color: var(--line-gold); }
.card__glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(182,92,240,.22), transparent 45%);
}
.card:hover .card__glow { opacity: 1; }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: rgba(231,192,122,.1); border: 1px solid rgba(231,192,122,.22); color: var(--gold);
  transition: transform .6s var(--ease);
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); }
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 27px; letter-spacing: -.015em; line-height: 1.15; margin-top: 6px; color: #fff; }
.card p { color: var(--muted); font-size: 16px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--lilac); font-size: 13px; font-weight: 700; }
.card__link {
  margin-top: auto; padding: 6px 0 0; border: 0; background: none;
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; color: var(--gold);
}
.card__link svg { width: 18px; height: 18px; stroke-width: 2; transition: transform .35s var(--ease); }
.card__link:hover svg { transform: translateX(5px); }

/* Две карточки в ряд (на компьютере) */
.card--half { grid-column: span 3; }

/* Карточка цвета пачки */
.card--feature {
  grid-column: span 4;
  color: #fff; border-color: transparent;
  background:
    radial-gradient(600px circle at 100% 100%, rgba(214,140,255,.55), transparent 60%),
    linear-gradient(140deg, #2A0B63 0%, #6A23B8 55%, #B04FE0 100%);
}
.card--feature h3 { font-size: clamp(30px, 3.2vw, 40px); }
.card--feature p { color: rgba(255,255,255,.86); max-width: 46ch; }
.card--feature .card__icon { background: rgba(255,255,255,.14); border-color: transparent; color: var(--gold-hi); }
.card--feature .tags li { background: rgba(255,255,255,.16); color: #fff; }
.card--feature .card__link { color: var(--gold-hi); }
.card--feature .card__glow { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.18), transparent 45%); }
.card__art {
  position: absolute; right: -40px; bottom: -50px; width: 300px; z-index: -1;
  opacity: .16; transform: rotate(-6deg); transition: transform 1s var(--ease), opacity .6s;
}
.card--feature:hover .card__art { transform: rotate(0) translate(-10px, -12px) scale(1.04); opacity: .24; }

/* Карточка в золотой рамке */
.card--wide {
  grid-column: 1 / -1; min-height: 0;
  flex-direction: row; align-items: center; gap: 26px; padding: 30px 34px;
  color: #fff; border-color: var(--line-gold);
  background: linear-gradient(120deg, rgba(231,192,122,.14), rgba(231,192,122,.03) 60%), var(--night-2);
}
.card--wide__body { flex: 1; display: grid; gap: 8px; }
.card--wide h3 { margin: 0; }
.card--wide p { color: rgba(255,255,255,.72); max-width: 62ch; }
.card--wide .card__glow { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(231,192,122,.18), transparent 45%); }

/* ---------- Расписание ---------- */
.schedule { background: var(--night-2); overflow: hidden; isolation: isolate; }
.schedule__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px circle at 0% 0%, rgba(139,63,217,.4), transparent 60%),
    radial-gradient(600px circle at 100% 100%, rgba(182,92,240,.22), transparent 60%),
    radial-gradient(500px circle at 85% 10%, rgba(231,192,122,.08), transparent 60%);
}

.sync { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.72); padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.sync__dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); }
.sync.is-live .sync__dot { background: #4ADE80; color: rgba(74,222,128,.6); box-shadow: 0 0 0 0 currentColor; animation: ping 2s infinite; }
.sync.is-demo .sync__dot { background: var(--gold); }
.sync.is-error .sync__dot { background: #F87171; }

.days {
  position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%;
  padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  overflow-x: auto; scrollbar-width: none;
}
.days::-webkit-scrollbar { display: none; }
.days__pill {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px;
  background: var(--gold-grad); box-shadow: 0 8px 20px -10px rgba(231,192,122,.7);
  transition: left .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
}
.day {
  position: relative; z-index: 1; flex-shrink: 0;
  min-width: 64px; padding: 11px 18px; border: 0; border-radius: 999px; background: none;
  font-weight: 800; font-size: 15px; color: rgba(255,255,255,.72);
  transition: color .35s;
}
.day:hover { color: #fff; }
.day[aria-selected="true"] { color: var(--ink); }
.day.is-empty { color: rgba(255,255,255,.3); }
.day.is-today::after {
  content: ""; position: absolute; top: 7px; right: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--orchid);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(255,255,255,.18);
  font-weight: 700; font-size: 14px; color: rgba(255,255,255,.82);
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.chip:hover { border-color: rgba(255,255,255,.4); transform: translateY(-1px); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--orchid)); }
.chip.is-active .chip__dot { background: var(--ink); }

.slots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; min-height: 220px; align-content: start; }
.slot {
  --c: var(--orchid);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 20px;
  padding: 20px 22px 20px 26px; border-radius: 22px;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  transition: background-color .35s, border-color .35s, translate .45s var(--ease);
}
.slot::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.slot:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); translate: 0 -2px; }
.slot.is-enter { animation: slotIn .6s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms); }
.slot.is-past { opacity: .5; }
.slot__time { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; color: #fff; letter-spacing: -.02em; }
.slot__time small { display: block; margin-top: 6px; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.55); letter-spacing: 0; }
.slot__info { display: grid; gap: 4px; min-width: 0; }
.slot__title { font-size: 18px; font-weight: 800; color: #fff; line-height: 1.25; }
.slot__meta { font-size: 14px; color: rgba(255,255,255,.66); }
.slot__note { font-size: 13px; color: var(--lilac); font-style: italic; }
.slot__side { display: grid; justify-items: end; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--open { background: rgba(74,222,128,.13); color: #86EFAC; }
.badge--few { background: rgba(251,191,36,.14); color: #FCD34D; }
.badge--closed { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.slots__empty {
  grid-column: 1 / -1; display: grid; place-items: center; gap: 8px; text-align: center;
  padding: 48px 24px; border-radius: 22px; border: 1.5px dashed rgba(255,255,255,.16); color: rgba(255,255,255,.7);
  animation: fadeUp .6s var(--ease-out) both;
}
.slots__empty strong { font-family: var(--font-display); font-size: 24px; color: #fff; font-weight: 600; }
.slot--skeleton { min-height: 96px; background: linear-gradient(100deg, rgba(255,255,255,.04) 30%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.04) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
.slot--skeleton::before { display: none; }

.schedule__hint { margin-top: 30px; color: rgba(255,255,255,.7); font-size: 16px; }

/* ---------- Как начать ---------- */
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: var(--reveal-t), translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.step:hover { translate: 0 -5px; border-color: var(--line-gold); box-shadow: 0 30px 60px -36px rgba(139,63,217,.6); }
.step__num {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--ink);
  background: var(--gold-grad);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 12px 24px -12px rgba(231,192,122,.8);
}
.step h3 { margin-top: 22px; font-family: var(--font-display); font-weight: 600; font-size: 25px; letter-spacing: -.01em; color: #fff; }
.step p { margin-top: 10px; color: var(--muted); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 62px; right: -20px; width: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 4px, transparent 4px 8px);
}

/* ---------- Достижения ---------- */
.achievements { background: linear-gradient(180deg, var(--night) 0%, var(--night-3) 100%); overflow: hidden; }
.carousel-nav { display: flex; gap: 10px; }
.round-btn {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 0; box-shadow: inset 0 0 0 1.5px var(--line-gold); background: transparent; color: var(--gold);
  transition: background-color .3s, color .3s, transform .3s var(--ease);
}
.round-btn svg { width: 20px; height: 20px; stroke-width: 2; }
.round-btn:hover { background: var(--gold); color: var(--ink); transform: scale(1.05); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 52px; }
.stat { padding-top: 18px; border-top: 2px solid rgba(231,192,122,.45); display: grid; gap: 8px; }
.stat strong { font-family: var(--font-display); font-weight: 700; font-size: clamp(60px, 7.5vw, 96px); line-height: .95; letter-spacing: -.04em; font-variant-numeric: tabular-nums; justify-self: start; }
.stat span { color: var(--muted); font-size: 15.5px; max-width: 26ch; }

.track {
  --pad: max(var(--gutter), calc((100vw - var(--container)) / 2));
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--pad) 30px; scroll-padding-inline: var(--pad);
  scrollbar-width: none; cursor: grab;
}
.track::-webkit-scrollbar { display: none; }
.track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.track.is-dragging * { pointer-events: none; }
.award {
  position: relative; overflow: hidden; flex: 0 0 clamp(280px, 30vw, 360px); min-height: 300px;
  display: flex; flex-direction: column; gap: 12px;
  padding: 30px 28px 108px; border-radius: var(--radius); scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--line); user-select: none; color: #fff;
  transition: var(--reveal-t), translate .5s var(--ease), box-shadow .5s var(--ease);
}
.award:hover { translate: 0 -6px; box-shadow: 0 30px 60px -34px rgba(139,63,217,.65); }
.award__place { font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lilac); }
.award h3 { font-family: var(--font-display); font-weight: 600; font-size: 27px; line-height: 1.12; letter-spacing: -.015em; }
.award p { color: var(--muted); max-width: 30ch; }
.award__icon { position: absolute; right: 20px; bottom: 20px; width: 72px !important; height: 72px !important; stroke-width: 1.1 !important; color: rgba(231,192,122,.18); transition: transform .8s var(--ease); }
.award:hover .award__icon { transform: rotate(-12deg) scale(1.12); }
.award--gold { background: linear-gradient(160deg, #2E1066, #12063D); border-color: var(--line-gold); }
.award--gold .award__place { color: var(--gold); }
.award--gold p { color: rgba(255,255,255,.76); }
.award--gold .award__icon { color: rgba(231,192,122,.45); }
.award--plum { background: linear-gradient(160deg, #5B1FB0, #A64BE6); border-color: transparent; }
.award--plum .award__place { color: #F3E3FF; }
.award--plum p { color: rgba(255,255,255,.85); }
.award--plum .award__icon { color: rgba(255,255,255,.22); }
/* Цвет атласных пуантов */
.award--pink { background: linear-gradient(160deg, #F8DDD6, #E8B9B4); border-color: transparent; color: var(--ink); }
.award--pink .award__place { color: #6B21A8; }
.award--pink p { color: rgba(26,8,56,.78); }
.award--pink .award__icon { color: rgba(107,33,168,.25); }

/* ---------- Педагоги и сертификаты ---------- */
.team { background: var(--night-3); padding-top: 0; }
.team__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 20px; }
.coach {
  position: relative; overflow: hidden;
  display: grid; align-content: start; gap: 18px;
  padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transition: var(--reveal-t), translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.coach:hover { translate: 0 -5px; border-color: var(--line-gold); box-shadow: 0 30px 60px -36px rgba(139,63,217,.6); }
.coach__avatar {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 30px; color: #fff;
  background: linear-gradient(140deg, var(--orchid), #5B1FB0);
  box-shadow: 0 14px 30px -14px rgba(139,63,217,.9);
}
.coach__avatar--gold { background: var(--gold-grad); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(231,192,122,.8); }
.coach__avatar--lav { background: linear-gradient(140deg, #D9B8FF, #7C4DCC); }
.coach__body { display: grid; gap: 8px; }
.coach__role { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.coach h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.15; letter-spacing: -.015em; color: #fff; }
.coach p { color: var(--muted); }
.coach__facts { display: grid; gap: 8px; margin-top: 8px; }
.coach__facts li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.5; color: rgba(239,231,255,.88); }
.coach__facts li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); }
.coach--lead {
  grid-template-columns: auto 1fr; border-color: var(--line-gold);
  background:
    radial-gradient(500px circle at 100% 0%, rgba(182,92,240,.45), transparent 60%),
    linear-gradient(150deg, #170848 0%, #4A1896 100%);
}
.coach--lead .coach__avatar { background: var(--gold-grad); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(231,192,122,.8); }
.coach--lead .coach__role { color: var(--gold-hi); }
.coach--lead p { color: rgba(255,255,255,.8); }

.certs { margin-top: clamp(56px, 7vw, 88px); }
.certs__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.certs__head h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.02em; color: #fff; }
.certs__head p { color: var(--muted); font-size: 15px; }
.certs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cert {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  padding: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--night-2);
  box-shadow: 0 20px 40px -30px rgba(0,0,0,.8);
  transition: var(--reveal-t), translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
  cursor: zoom-in;
}
.cert:hover { translate: 0 -5px; border-color: var(--line-gold); box-shadow: 0 34px 60px -30px rgba(139,63,217,.7); }
.cert img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cert--tall img { object-position: center 20%; }
.cert:hover img { transform: scale(1.06); }
.cert__cap {
  position: absolute; inset: auto 0 0; display: grid; gap: 2px; text-align: left;
  padding: 40px 18px 16px; color: rgba(255,255,255,.85); font-size: 13.5px; font-weight: 600;
  background: linear-gradient(to top, rgba(6,1,41,.9), rgba(6,1,41,0));
}
.cert__cap strong { color: #fff; font-size: 16px; font-weight: 800; }

/* Просмотр сертификата */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff;
}
.lightbox::backdrop { background: rgba(4, 1, 24, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .35s ease both; }
.lightbox[open]::backdrop { animation: fadeIn .35s ease both; }
.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 64px 16px 24px; max-width: 100%; }
.lightbox__figure img {
  max-width: min(92vw, 1100px); max-height: calc(100dvh - 170px); width: auto; height: auto;
  border-radius: 14px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8);
  animation: modalIn .45s var(--ease-out) both;
}
.lightbox__figure figcaption { max-width: 70ch; text-align: center; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.85); }
.lightbox__close, .lightbox__nav {
  position: fixed; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; transition: background-color .3s, transform .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.24); transform: scale(1.06); }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; stroke-width: 2; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; margin-top: -26px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }

/* ---------- Цены ---------- */
.prices { background: var(--night-3); padding-top: 0; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; max-width: 920px; margin-inline: auto; }

/* Карточки «Детям» / «Взрослым» */
.price-card {
  display: flex; flex-direction: column; gap: 18px;
  padding: 30px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  animation: fadeUp .8s var(--ease-out) both;
  transition: translate .5s var(--ease), box-shadow .5s var(--ease), border-color .4s;
}
.price-card:hover { translate: 0 -5px; border-color: var(--line-gold); box-shadow: 0 30px 60px -36px rgba(139,63,217,.6); }
.price-card--adults {
  border-color: transparent;
  background: radial-gradient(500px circle at 100% 0%, rgba(214,140,255,.4), transparent 60%), linear-gradient(150deg, #2A0B63, #7A2FC8);
}
.price-card__head { display: flex; align-items: center; gap: 14px; }
.price-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(231,192,122,.1); border: 1px solid rgba(231,192,122,.22); color: var(--gold); }
.price-card--adults .price-card__icon { background: rgba(255,255,255,.14); border-color: transparent; color: var(--gold-hi); }
.price-card__icon svg { width: 24px; height: 24px; }
.price-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 28px; letter-spacing: -.015em; color: #fff; }
.price-card__list { display: grid; }
.price-card__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px dashed var(--line); }
.price-card--adults .price-card__list li { border-color: rgba(255,255,255,.2); }
.price-card__list div { display: grid; gap: 2px; }
.price-card__list strong { font-size: 17px; color: #fff; }
.price-card__list span, .price-card__list small { font-size: 14px; color: var(--muted); }
.price-card--adults .price-card__list span, .price-card--adults .price-card__list small { color: rgba(255,255,255,.75); }
.price-card__list b { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -.02em; white-space: nowrap; color: var(--gold); }
.price-card--adults .price-card__list b { color: #fff; }
.price-card .btn { margin-top: auto; }

/* ---------- Instagram ---------- */
.insta-section { padding-top: 0; background: var(--night-3); }
.insta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  padding: clamp(32px, 6vw, 72px); border-radius: 40px; color: #fff;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(700px circle at 0% 0%, rgba(182,92,240,.7), transparent 60%),
    linear-gradient(135deg, #12063D 0%, #4A1896 55%, #B04FE0 130%);
  box-shadow: 0 40px 80px -40px rgba(139,63,217,.7);
  transition: var(--reveal-t), translate .6s var(--ease), box-shadow .6s var(--ease);
}
.insta:hover { translate: 0 -5px; box-shadow: 0 50px 90px -40px rgba(139,63,217,.85); }
.insta__mark { position: absolute; right: -80px; top: -60px; width: 460px; z-index: -1; opacity: .08; transform: rotate(10deg); transition: transform 1.2s var(--ease), opacity .6s; }
.insta:hover .insta__mark { transform: rotate(0) scale(1.06); opacity: .13; }
.insta .h2 { margin-bottom: 30px; }
.insta__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta__tiles li {
  aspect-ratio: 1; display: flex; align-items: flex-end; padding: 12px; border-radius: 20px;
  font-weight: 800; font-size: 14px; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s);
}
.insta__tiles li:nth-child(1) { background: linear-gradient(160deg, rgba(214,140,255,.85), rgba(91,31,176,.6)); }
.insta__tiles li:nth-child(5) { background: linear-gradient(160deg, rgba(252,234,190,.9), rgba(185,139,69,.75)); color: var(--ink); }
.insta__tiles li:nth-child(3) { background: linear-gradient(160deg, rgba(243,207,200,.85), rgba(182,92,240,.6)); }

/* ---------- Контакты ---------- */
.contacts { background: radial-gradient(800px circle at 0% 100%, rgba(139,63,217,.16), transparent 60%), var(--night); }
.contacts__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-list { margin-top: 30px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: rgba(231,192,122,.1); border: 1px solid rgba(231,192,122,.22); color: var(--gold); flex-shrink: 0; }
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list__label { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list strong, .contact-list a { font-size: 18px; font-weight: 700; color: #fff; }
.contact-list a { transition: color .3s; }
.contact-list a:hover { color: var(--gold); }
.contact-list small { display: block; color: var(--muted); font-size: 14px; }
.contacts__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.contacts__actions .btn--wa { --h: 60px; padding: 0 30px; font-size: 17px; }
.contacts__actions .btn--wa .btn__icon { width: 22px; height: 22px; }
.map {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 36px; background: var(--night-3); border: 1px solid var(--line);
  box-shadow: 0 40px 70px -46px rgba(0,0,0,.85);
  transition: var(--reveal-t);
}
.map iframe { width: 100%; height: clamp(360px, 42vw, 500px); border: 0; display: block; background: #1A0B45; }
.map__card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 18px; border-top: 1px solid var(--line);
}
.map__card img { width: 34px; height: auto; }
.map__card > div { flex: 1; min-width: 0; display: grid; line-height: 1.3; }
.map__card strong { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--gold); }
.map__card span { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Плавающая кнопка WhatsApp */
.fab-wa {
  position: fixed; right: 24px; bottom: 24px; z-index: 45;
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: #1FAF54; color: #fff;
  box-shadow: 0 18px 36px -12px rgba(31,175,84,.8);
  transform: scale(0); transition: transform .55s var(--ease-out), background-color .3s;
}
.fab-wa.is-visible { transform: scale(1); }
.fab-wa:hover { background: #18994A; }
.fab-wa svg { width: 30px; height: 30px; stroke-width: 1.8; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1FAF54; animation: fabPulse 2.4s ease-out infinite; }
.fab-wa__tip {
  position: absolute; right: calc(100% + 12px); white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; background: var(--night-3); border: 1px solid var(--line); color: #fff; font-weight: 700; font-size: 14px;
  opacity: 0; translate: 8px 0; transition: opacity .3s, translate .4s var(--ease); pointer-events: none;
}
.fab-wa:hover .fab-wa__tip, .fab-wa:focus-visible .fab-wa__tip { opacity: 1; translate: 0 0; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- Подвал ---------- */
.footer { background: #04011F; border-top: 1px solid var(--line-gold); color: rgba(255,255,255,.7); padding: 72px 0 calc(44px + env(safe-area-inset-bottom)); }
.footer__inner { display: flex; align-items: center; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer__logo { width: 190px; height: auto; }
.footer__cols { display: grid; gap: 18px; flex: 1; min-width: 260px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.footer nav a { color: #fff; font-weight: 700; transition: color .3s; }
.footer nav a:hover { color: var(--gold); }
.footer__note { font-size: 14px; }
.footer__copy { font-size: 14px; color: rgba(255,255,255,.45); }

/* ---------- Мобильная кнопка ---------- */
.mobile-cta { display: none; }

/* ---------- Окно записи ---------- */
.modal {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 32px;
  background: linear-gradient(180deg, #170846, #0E0436); color: var(--text);
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.85);
}
.modal::backdrop { background: rgba(3,0,20,.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn .5s var(--ease-out) both; }
.modal[open]::backdrop { animation: fadeIn .4s ease both; }
.modal.is-closing { animation: modalOut .28s ease both; }
.modal.is-closing::backdrop { animation: fadeOut .28s ease both; }
.modal__body { position: relative; padding: 34px 32px 28px; }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 18px;
  transition: transform .4s var(--ease), background-color .3s;
}
.modal__close:hover { transform: rotate(90deg); background: rgba(255,255,255,.16); }
.modal__title { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 32px; letter-spacing: -.02em; line-height: 1.1; padding-right: 40px; color: #fff; }
.modal__lead { margin: 10px 0 22px; color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 13px; font-weight: 800; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0 16px;
  border: 1.5px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.05);
  font: inherit; font-size: 16px; color: #fff;
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.field input::placeholder { color: rgba(255,255,255,.4); }
.field textarea { padding: 12px 16px; resize: vertical; min-height: 76px; }
.field select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E7C07A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option, .field select optgroup { color: var(--ink); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background-color: rgba(255,255,255,.08); box-shadow: 0 0 0 4px rgba(231,192,122,.2); }
.field.is-invalid input { border-color: #FB7185; box-shadow: 0 0 0 4px rgba(251,113,133,.18); animation: shake .4s; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal__note { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; min-height: 1em; }
.field > span i { font-style: normal; font-weight: 600; opacity: .7; }

.send__label { margin: 6px 0 10px; font-size: 13px; font-weight: 800; color: var(--muted); }
.send { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.send__btn {
  display: flex; align-items: center; gap: 12px; text-align: left;
  padding: 14px 16px; border: 0; border-radius: 18px; color: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .3s, background-color .3s;
}
.send__btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.send__btn:active { transform: scale(.98); }
.send__btn svg { width: 28px; height: 28px; stroke-width: 1.8; padding: 6px; box-sizing: content-box; border-radius: 12px; background: rgba(255,255,255,.18); }
.send__btn span { display: grid; gap: 1px; line-height: 1.25; }
.send__btn strong { font-size: 16px; }
.send__btn small { font-size: 12.5px; opacity: .85; font-weight: 600; }
/* WhatsApp — главная кнопка; Telegram и Instagram — запасные, спокойнее */
.send__btn--wa { background: #1FAF54; box-shadow: 0 14px 28px -14px rgba(31,175,84,.8); grid-column: 1 / -1; padding: 18px 18px; }
.send__btn--wa strong { font-size: 18px; }
.send__btn--tg, .send__btn--ig { background: rgba(255,255,255,.07); padding: 11px 14px; }
.send__btn--tg:hover, .send__btn--ig:hover { background: rgba(255,255,255,.12); filter: none; }
.send__btn--tg strong, .send__btn--ig strong { font-size: 15px; }
.send__btn--tg small, .send__btn--ig small { color: var(--muted); opacity: 1; }
.send__btn--tg svg { background: #229ED9; color: #fff; width: 22px; height: 22px; }
.send__btn--ig svg { background: linear-gradient(120deg, #F58529, #DD2A7B 45%, #8134AF); color: #fff; width: 22px; height: 22px; }
.send.no-tg .send__btn--ig { grid-column: 1 / -1; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90;
  padding: 14px 22px; border-radius: 999px; background: var(--night-3); border: 1px solid var(--line-gold); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.7);
  opacity: 0; translate: -50% 20px; pointer-events: none;
  transition: opacity .4s var(--ease), translate .5s var(--ease-out);
}
.toast.is-shown { opacity: 1; translate: -50% 0; }

/* ---------- Анимации ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lineUp { from { transform: translateY(108%) rotate(2deg); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes posterIn { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }
@keyframes shine { 0% { background-position: 160% 0; } 45%, 100% { background-position: -60% 0; } }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.08); }
  100% { transform: translate(-30px, 40px) scale(.95); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(25deg); opacity: .45; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
@keyframes slotIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes modalOut { to { opacity: 0; transform: translateY(20px) scale(.97); } }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card--wide { grid-column: span 1; }
  .card--feature, .card--wide, .card--fill { grid-column: span 2; }
  .team__grid { grid-template-columns: 1fr 1fr; }
  .coach--lead { grid-column: span 2; }
}

@media (max-width: 1100px) {
  .burger { display: block; z-index: 2; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 6px;
    padding: 100px 24px 40px;
    background: rgba(6, 1, 41, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; clip-path: circle(0 at calc(100% - 44px) 38px);
    transition: clip-path .7s var(--ease-out), opacity .4s, visibility 0s .7s;
  }
  .nav.is-open { opacity: 1; visibility: visible; clip-path: circle(150% at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease-out), opacity .3s, visibility 0s; }
  .nav a { font-family: var(--font-display); font-weight: 600; font-size: 34px; padding: 8px 18px; color: #fff; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), background-color .3s; }
  .nav.is-open a { opacity: 1; transform: none; }
  .nav.is-open a:nth-child(2) { transition-delay: .06s; }
  .nav.is-open a:nth-child(3) { transition-delay: .12s; }
  .nav.is-open a:nth-child(4) { transition-delay: .18s; }
  .nav.is-open a:nth-child(5) { transition-delay: .24s; }
  .nav.is-open a:nth-child(6) { transition-delay: .3s; }
  .nav a.is-active::after { bottom: 0; }
  .nav__cta { display: inline-flex; margin-top: 24px; }
}

@media (max-width: 960px) {
  .steps__list { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }

  .contacts__inner { grid-template-columns: 1fr; }
  .insta { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .slots { grid-template-columns: 1fr; }
  .slot { grid-template-columns: 76px 1fr; gap: 14px 16px; padding: 18px 18px 18px 22px; }
  .slot__time { font-size: 26px; }
  .slot__side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .stat { grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
  .stat strong { min-width: 1.2em; }

  .mobile-cta {
    display: flex; gap: 10px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
    transform: translateY(160%); transition: transform .6s var(--ease-out);
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { --h: 56px; flex: 1; box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 20px 40px -16px rgba(0,0,0,.8); }
  .mobile-cta__wa {
    flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #1FAF54; color: #fff; box-shadow: 0 20px 40px -16px rgba(31,175,84,.9);
  }
  .mobile-cta__wa svg { width: 28px; height: 28px; stroke-width: 1.8; }
  .fab-wa { display: none; }
  .contacts__actions .btn { flex: 1 1 auto; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .card, .card--feature, .card--wide, .card--fill { grid-column: span 1; }
  .team__grid { grid-template-columns: 1fr; }
  .coach--lead { grid-column: span 1; }
  .certs__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cert__cap { padding: 10px 12px; font-size: 12px; }
  .cert__cap strong { font-size: 13.5px; }
  .send { grid-template-columns: 1fr; }
  .lightbox__nav { display: none; }
  .card { min-height: 0; padding: 26px; }
  .card--wide { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; }
  .section__head--split { align-items: flex-start; }
  .award h3 { font-size: 24px; }
  .insta__tiles { display: none; }
  .modal { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 28px 28px 0 0; max-height: 94dvh; }
  .modal__body { padding: 28px 20px calc(24px + env(safe-area-inset-bottom)); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .modal[open] { animation-name: sheetIn; }
  .modal.is-closing { animation-name: sheetOut; }
}
@keyframes sheetIn { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetOut { to { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .hero__shine { display: none; }
}
