/* Палитра: глубокий синий и золото из логотипа, синяя стена, серые стены и песочный пол из фото зала */
:root {
  --navy-950: #061130;
  --navy-900: #0a1b3a;
  --navy-800: #122a55;
  --blue: #17366f;
  --slate: #63676b;
  --sand-500: #a59d89;
  --sand-200: #ddd6c6;
  --sand-100: #f3efe6;
  --gold: #e3bf84;
  --gold-light: #f0dfb9;
  --gold-dark: #7d5d28;
  --white: #fbf9f4;
  --ink: #0f2040;
  --ink-soft: #4d5564;
  --line-dark: rgba(227, 191, 132, .24);
  --line-light: rgba(15, 32, 64, .16);
  --serif: 'Cormorant', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy-900); color: var(--white); font: 400 17px/1.6 var(--sans); font-variant-numeric: lining-nums; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.section--sand :focus-visible { outline-color: var(--blue); }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy-900); padding: 8px 16px; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(38px, 5.2vw, 68px); }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow--dark { color: var(--gold-dark); }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 30px; border: 1px solid transparent; border-radius: var(--r); font: 600 16px/1.2 var(--sans); text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: 14px; }
.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-light); }
.btn--ghost { border-color: var(--line-dark); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--navy { background: var(--navy-900); color: var(--white); }
.btn--navy:hover { background: var(--blue); }

.btn--outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn .icon-tg { flex: none; width: 20px; height: 20px; margin-right: 10px; }
.icon-tg { fill: currentColor; fill-rule: evenodd; }

/* Плавающая кнопка Telegram */
.tg-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 20px 10px 16px; background: var(--gold); border-radius: 40px; box-shadow: 0 8px 24px rgba(6, 17, 48, .35); color: var(--navy-900); font-size: 15px; font-weight: 600; text-decoration: none; transition: background .2s, transform .2s; }
.tg-float:hover { background: var(--gold-light); transform: translateY(-2px); }
.tg-float .icon-tg { width: 24px; height: 24px; }

/* Шапка */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.header.is-stuck, .header.is-open { background: rgba(6, 17, 48, .94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__emblem { width: 50px; height: auto; }
.brand__word { width: 92px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--white); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav a:not(.btn):hover { color: var(--gold); border-color: var(--gold); }
.burger { display: none; width: 46px; height: 46px; padding: 0; background: none; border: 1px solid var(--line-dark); border-radius: var(--r); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--gold); transition: transform .2s, top .2s; }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.is-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.is-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

/* Первый экран */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding-top: 110px; overflow: hidden; background: radial-gradient(90% 70% at 78% 28%, #1a3a78 0%, transparent 62%), linear-gradient(180deg, var(--navy-950), var(--navy-900) 70%); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(24px, 4vw, 64px); flex: 1; position: relative; z-index: 1; }
.hero__title { font-size: clamp(46px, 6.4vw, 88px); line-height: .98; margin-bottom: 28px; }
.hero__title em { color: var(--gold); font-style: italic; font-weight: 400; }
.hero__lead { max-width: 34em; font-size: clamp(18px, 1.5vw, 21px); color: #dfe3ec; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__mark img { width: 100%; max-width: 520px; margin-inline: auto; animation: breathe 9s ease-in-out infinite; }
.hero__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-block: 32px 150px; position: relative; z-index: 1; }
.hero__facts p { border-top: 1px solid var(--line-dark); padding-top: 14px; }
.hero__facts b { display: block; font-weight: 600; }
.hero__facts span { font-size: 14px; color: #b9c0cf; }
.waves { position: absolute; left: 0; bottom: -1px; width: 200%; max-width: none; height: 130px; animation: drift 26s linear infinite; }
.waves path { fill: none; }
.waves__line { stroke: var(--gold); stroke-width: 1.5; opacity: .75; vector-effect: non-scaling-stroke; }
.waves__line--2 { opacity: .35; }
.waves .waves__fill { fill: var(--sand-100); }

@keyframes breathe { 50% { transform: translateY(-10px) scale(1.015); } }
@keyframes drift { to { transform: translateX(-50%); } }

/* Анонсы слайдами */
.hero--to-blue .waves .waves__fill { fill: var(--blue); }
.promo-section .link-arrow { color: var(--white); }
.promo-section .carousel__btn { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.promo-section .carousel__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.promo-section .carousel__dot::before { background: rgba(255, 255, 255, .4); }
.promo-section .carousel__dot:hover::before { background: var(--gold-light); }
.promo-section .carousel__dot[aria-current='true']::before { background: var(--gold); }
.promo-section { padding-bottom: clamp(48px, 6vw, 80px); }
.promo-section + .community { margin-top: -1px; padding-top: clamp(32px, 4vw, 56px); }
.carousel { position: relative; min-width: 0; }
.carousel__track { display: grid; grid-auto-columns: 100%; grid-auto-flow: column; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { display: flex; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.promo { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); width: 100%; overflow: hidden; background: var(--navy-900); border-radius: var(--r); color: var(--white); }
.promo__media { display: grid; place-items: center; min-height: 100%; background: radial-gradient(circle at 50% 40%, var(--blue), var(--navy-900) 78%); }
.promo__media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.promo__media img.promo__emblem { width: 40%; height: auto; aspect-ratio: auto; object-fit: contain; }
.promo__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 3vw, 40px); }
.promo__text .eyebrow { margin-bottom: 10px; }
.promo__title { margin-bottom: 10px; font-size: clamp(36px, 3.6vw, 52px); color: var(--gold); }
.promo__date { margin-bottom: 8px; font-weight: 600; }
.promo__excerpt { font-size: 15px; color: #dfe3ec; }
.promo .countdown { margin-top: 16px; }
.promo .countdown__part { background: var(--navy-800); }
.promo__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.promo__actions .btn { flex: 1 1 140px; min-height: 48px; padding-inline: 12px; font-size: 15px; }
.carousel__controls { display: flex; align-items: center; gap: 10px; padding-top: 16px; }
.carousel__btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; background: none; border: 1px solid var(--line-light); border-radius: 50%; color: var(--navy-900); font-size: 17px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.carousel__btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.carousel__btn--pause { margin-left: auto; font-size: 12px; }
.carousel__dots { display: flex; }
.carousel__dot { width: 28px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.carousel__dot::before { content: ''; display: block; width: 10px; height: 10px; margin-inline: auto; background: var(--sand-500); border-radius: 50%; transition: background .2s, transform .2s; }
.carousel__dot:hover::before { background: var(--navy-800); }
.carousel__dot[aria-current='true']::before { background: var(--navy-900); transform: scale(1.25); }
@media (max-width: 900px) {
  .promo { grid-template-columns: 1fr; }
  .promo__media { min-height: 0; }
}

/* Секции */
.section { padding-block: clamp(72px, 9vw, 130px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--sand { background: var(--sand-100); color: var(--ink); }
.section--navy { background: var(--navy-900); }
.section--blue { background: var(--blue); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.link-arrow { font-weight: 600; color: var(--ink); text-underline-offset: 5px; }
.link-arrow::after { content: ' →'; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* О студии */
.community { padding-bottom: 0; }
.community + .section { margin-top: -1px; }
.community__intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.community__text p + p { margin-top: 14px; color: var(--ink-soft); }
.community__lead { font: 500 clamp(24px, 2.4vw, 31px)/1.25 var(--serif); }
.community__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.community__list li { padding-top: 18px; border-top: 1px solid var(--gold-dark); }
.community__list h3 { margin-bottom: 10px; font-size: clamp(28px, 2.6vw, 34px); }
.community__list p { font-size: 16px; color: var(--ink-soft); }
.community__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(32px, 4vw, 52px); padding: clamp(22px, 3vw, 32px); background: var(--white); border-radius: var(--r); }
.community__cta p { flex: 1 1 320px; font: 500 clamp(24px, 2.2vw, 29px)/1.2 var(--serif); }
@media (max-width: 820px) {
  .community__intro, .community__list { grid-template-columns: 1fr; }
}

/* Направления */
.directions { border-top: 1px solid var(--line-light); }
.direction { border-bottom: 1px solid var(--line-light); }
.direction a { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.1fr) 32px; gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(24px, 3vw, 38px) 14px; text-decoration: none; color: inherit; transition: background .3s, color .3s; }
.direction a:hover { background: var(--navy-900); color: var(--white); }
.direction__num { font: 500 20px var(--serif); color: var(--gold-dark); }
.direction a:hover .direction__num, .direction a:hover .direction__kicker { color: var(--gold); }
.direction__main, .direction__side { display: block; }
.direction__kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--ink-soft); margin-bottom: 4px; }
.direction__title { display: block; font: 500 clamp(36px, 4.4vw, 58px)/1.05 var(--serif); }
.direction__text { display: block; margin-bottom: 12px; font-size: 16px; }
.direction__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 3px 12px; border: 1px solid currentColor; border-radius: 40px; font-size: 13px; font-weight: 500; opacity: .8; }
.direction__arrow { width: 32px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .25s; }
.direction a:hover .direction__arrow { transform: translateX(6px); stroke: var(--gold); }

/* Расписание */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 8px 18px; background: none; border: 1px solid var(--line-dark); border-radius: 40px; color: var(--white); font: 500 14px var(--sans); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--gold); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.day { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.day__name { padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--gold); font-size: 30px; color: var(--gold); }
.day__full { display: none; }
.day.is-empty { opacity: .4; }
.slot { --accent: var(--gold); display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; background: var(--navy-800); border-left: 3px solid var(--accent); border-radius: 0 var(--r) var(--r) 0; text-decoration: none; transition: background .2s, transform .2s; }
.slot:hover { background: #1b3a70; transform: translateY(-2px); }
.slot--lady { --accent: #e8a9a0; }
.slot--stretch { --accent: #8fb6ea; }
.slot--pilates { --accent: #9fd8c4; }
.slot__time { font: 500 27px/1.1 var(--serif); margin-bottom: 6px; white-space: nowrap; }
.slot__time small { font-size: 18px; color: #c6ccd9; }
.slot__title { font-weight: 600; font-size: 15px; line-height: 1.3; }
.slot__level { font-size: 14px; color: #dfe3ec; }
.slot__teacher { margin-top: 8px; font-size: 13px; color: #b9c0cf; }
.slot__hall { margin-top: 2px; font-size: 13px; font-weight: 600; color: var(--gold-light); }
.slot__note { margin-top: 2px; font-size: 13px; color: #b9c0cf; }
.slot__badge { align-self: flex-start; margin-top: 8px; padding: 2px 10px; background: var(--gold); border-radius: 40px; color: var(--navy-900); font-size: 12px; font-weight: 700; white-space: nowrap; }
.schedule__foot { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 36px; }
.callout { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px; border: 1px solid var(--line-dark); border-radius: var(--r); }
.callout .slot__badge { margin: 0; }
.callout b { font-weight: 600; }
.callout a { margin-top: auto; color: var(--gold); font-weight: 600; text-underline-offset: 4px; }

/* Описания занятий */
.trainings__title { margin-block: clamp(44px, 5vw, 64px) 20px; font-size: clamp(32px, 3.6vw, 46px); color: var(--white); }
.trainings { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.training { display: flex; flex-direction: column; padding: 22px; background: var(--navy-800); border-top: 3px solid var(--accent, var(--gold)); border-radius: 0 0 var(--r) var(--r); }
.training h4 { margin: 0; font: 500 30px/1.1 var(--serif); }
.training__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; font-size: 14px; color: var(--gold-light); }
.training__meta .slot__badge { margin: 0; }
.training__text { margin-top: 12px; font-size: 15px; line-height: 1.55; color: #dfe3ec; }
.training__when { display: grid; gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-dark); font-size: 13px; color: #c6ccd9; }
.training__when b { font-weight: 600; color: var(--white); }
.training__link { align-self: flex-start; margin-top: auto; padding-top: 14px; color: var(--gold); font-size: 15px; font-weight: 600; text-underline-offset: 4px; }

/* Бесплатное пробное */
.trial { background: linear-gradient(100deg, #d6ac6c, var(--gold) 45%, var(--gold-light)); color: var(--navy-900); }
.trial__row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 48px); align-items: center; padding-block: clamp(36px, 4vw, 54px); }
.trial__big { font: 500 clamp(36px, 4.4vw, 58px)/1.05 var(--serif); }

/* Цены */
.pricing { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.prices { border-top: 1px solid var(--line-light); }
.price { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; padding-block: 18px; border-bottom: 1px solid var(--line-light); }
.price__title { font-size: clamp(28px, 3vw, 38px); }
.price__note { margin-top: 2px; font-size: 14px; color: var(--ink-soft); }
.price__gift { display: inline-block; margin-top: 8px; padding: 2px 12px; background: var(--gold); border-radius: 40px; color: var(--navy-900); font-size: 13px; font-weight: 600; }
.price__value { flex: none; font: 500 clamp(36px, 4vw, 52px)/1 var(--serif); font-variant-numeric: lining-nums; white-space: nowrap; }
.terms { padding: clamp(24px, 3vw, 36px); background: var(--navy-900); border-radius: var(--r); color: var(--white); }
.terms h3 { margin-bottom: 18px; font-size: 32px; color: var(--gold); }
.terms li { padding-block: 14px; border-top: 1px solid var(--line-dark); }
.terms b { display: block; font-weight: 600; }
.terms span { display: block; margin-top: 4px; font-size: 15px; color: #dfe3ec; }
.terms .btn { width: 100%; margin-top: 18px; }

/* Преподаватели */
.teachers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.teacher__photo { aspect-ratio: 3 / 4; margin-bottom: 16px; overflow: hidden; background: var(--navy-900); border-radius: var(--r); }
.teacher__photo > img { width: 100%; height: 100%; object-fit: cover; }
.teacher__empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; padding: 12px; background: radial-gradient(circle at 50% 35%, var(--blue), var(--navy-900) 75%); color: var(--gold-light); font-size: 13px; text-align: center; }
.teacher__empty img { width: 58%; opacity: .75; }
.teacher h3 { font-size: 32px; }
.teacher__role { margin-top: 4px; font-size: 14px; color: var(--ink-soft); }
.teacher__bio { margin-top: 10px; font-size: 15px; }

/* Студия */
.studio { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.studio__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; border-radius: var(--r); }
.studio__info h2 { margin-bottom: 36px; }
.studio__info .eyebrow { color: var(--gold-light); }
.halls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 36px; }
.hall { padding: 22px 24px; background: rgba(6, 17, 48, .35); border-top: 1px solid var(--gold); }
.hall b { display: block; font: 500 clamp(58px, 7vw, 92px)/1 var(--serif); color: var(--gold); }
.hall small { margin-left: 6px; font-size: .36em; }
.perks li { display: flex; align-items: center; gap: 16px; padding-block: 13px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.perks svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Аренда */
.rent { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 5vw, 64px); background: var(--navy-900); border-radius: var(--r); scroll-margin-top: 100px; }
.rent__price { font: 500 clamp(56px, 7vw, 92px)/1 var(--serif); color: var(--gold); white-space: nowrap; }
.rent__price small { font-size: .4em; }
.rent__note { margin-top: 10px; color: #dfe3ec; }
.rent__body h2 { font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 16px; }
.rent__body p { margin-bottom: 26px; color: #dfe3ec; }

/* Анонсы */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.event-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.event-card__cover { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; margin-bottom: 18px; overflow: hidden; background: radial-gradient(circle at 50% 40%, var(--blue), var(--navy-900) 78%); border-radius: var(--r); }
.event-card__cover > img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.event-card__cover > img.event-card__emblem { width: 42%; height: auto; object-fit: contain; opacity: .7; }
.event-card:hover .event-card__cover > img { transform: scale(1.04); }
.event-card__cat { position: absolute; left: 12px; top: 12px; padding: 3px 12px; background: var(--gold); border-radius: 40px; color: var(--navy-900); font-size: 13px; font-weight: 600; }
.event-card__date { font-size: 14px; font-weight: 600; color: var(--gold-dark); }
.event-card__title { margin-block: 6px 8px; font: 500 32px/1.1 var(--serif); }
.event-card:hover .event-card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.event-card__text { font-size: 15px; color: var(--ink-soft); }
.event-card--past { opacity: .7; }
.events-empty { padding: 40px; border: 1px dashed var(--line-light); border-radius: var(--r); font: 500 26px/1.25 var(--serif); text-align: center; }
.events-past { margin-block: 64px 28px; font-size: 40px; }

/* Обратный отсчёт */
.countdown { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.countdown__part { display: grid; justify-items: center; min-width: 88px; padding: 12px 10px; background: var(--navy-800); border-top: 1px solid var(--gold); border-radius: var(--r); }
.countdown__part b { font: 500 44px/1 var(--serif); font-variant-numeric: lining-nums tabular-nums; color: var(--gold); }
.countdown__part small { margin-top: 4px; font-size: 13px; color: #dfe3ec; }
.countdown--small { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.countdown--small .countdown__part { min-width: 0; padding: 8px 2px; background: var(--navy-900); }
.countdown--small .countdown__part b { font-size: 26px; }
.countdown--small .countdown__part small { font-size: 11px; }

/* Контакты рядом с формой и в блоке пробного занятия */
.trial__actions { display: flex; flex-direction: column; gap: 10px; }
.signup__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 28px; }
.signup__contact > span { flex: 1 0 100%; font-size: 15px; color: #dfe3ec; }
.signup__phone { font: 500 27px/1.2 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); text-decoration: none; white-space: nowrap; }
.signup__phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__title--next { margin-top: 22px; }
@media (max-width: 1080px) {
  .trial__actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 520px) {
  .trial__actions { width: 100%; flex-direction: column; }
  .tg-float { right: 16px; bottom: 16px; width: 54px; height: 54px; min-height: 0; padding: 0; justify-content: center; }
  .tg-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* Запись */
.signup__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.signup__intro h2 { margin-bottom: 22px; }
.signup__lead { margin-bottom: 32px; color: #dfe3ec; }
.signup__address { display: grid; gap: 4px; padding-top: 18px; border-top: 1px solid var(--line-dark); font-style: normal; }
.signup__address span { font-size: 13px; color: #b9c0cf; }
.signup__address a { color: var(--gold); font-weight: 500; text-underline-offset: 4px; }
.signup__form { padding: clamp(22px, 3.4vw, 40px); background: var(--white); color: var(--ink); border-radius: var(--r); }
.lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { min-width: 0; }
.field--wide, .lead__alert { grid-column: 1 / -1; }
.field > label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.lead input[type='text'], .lead input[type='tel'], .lead select, .lead textarea { width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1px solid #a9adb5; border-radius: var(--r); color: var(--ink); font: 400 16px/1.4 var(--sans); }
.lead select { text-overflow: ellipsis; }
.lead textarea { resize: vertical; }
.lead input:focus, .lead select:focus, .lead textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field--error input:not([type='checkbox']), .field--error select { border-color: #b3261e; }
.field ul, .lead__alert ul { margin-top: 6px; color: #a3211a; font-size: 14px; font-weight: 500; }
.lead__alert { padding: 12px 14px; background: #fbeae8; border-radius: var(--r); color: #a3211a; font-size: 15px; }
.lead__alert ul { margin: 0; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent__row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.consent__row input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.lead__submit .btn { width: 100%; }
.lead__submit .btn--gold { background: var(--navy-900); color: var(--white); }
.lead__submit .btn--gold:hover { background: var(--blue); }
.lead-done { padding-block: 28px; text-align: center; outline: none; }
.lead-done img { margin: 0 auto 18px; padding: 10px; background: var(--navy-900); border-radius: 50%; width: 112px; height: 112px; object-fit: contain; }
.lead-done h3 { margin-bottom: 10px; font-size: 40px; }
.lead-done p { margin-bottom: 18px; }
.lead-done a { font-weight: 600; text-underline-offset: 4px; }
.map { height: clamp(300px, 36vw, 440px); margin-top: clamp(40px, 5vw, 64px); overflow: hidden; background: var(--navy-800); border-radius: var(--r); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Внутренние страницы */
.page-head { padding-block: 140px 56px; background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); }
.page-head h1 { font-size: clamp(44px, 6.4vw, 84px); }
.page-head__meta { margin-top: 18px; color: var(--gold-light); }
.back { display: inline-block; margin-bottom: 24px; color: #dfe3ec; font-size: 15px; text-underline-offset: 4px; }
.article { max-width: 820px; }
.article__cover { width: 100%; margin-bottom: 32px; border-radius: var(--r); }
.article__lead { margin-bottom: 22px; font: 500 28px/1.25 var(--serif); }
.article__body { margin-bottom: 32px; }
.article__body h2 { margin-block: 36px 10px; font-size: 34px; }

/* Описание мероприятия */
.article__lead { color: var(--gold-light); }
.rich { font-size: 17px; }
.rich > * + * { margin-top: 14px; }
.rich h2 { margin-block: 44px 16px; font-size: clamp(32px, 3.6vw, 44px); color: var(--gold); }
.rich__list { display: grid; gap: 10px; }
.rich__list li { position: relative; padding-left: 26px; }
.rich__list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 14px; height: 1px; background: var(--gold); }
.rich__note { padding: 16px 20px; background: var(--gold); border-radius: var(--r); color: var(--navy-900); font-weight: 600; }
.tickets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ticket { display: flex; flex-direction: column; padding: 22px; background: var(--navy-900); border-top: 1px solid var(--gold); border-radius: var(--r); }
.ticket h3 { font-size: 27px; }
.ticket__price { margin-top: 8px; font: 500 40px/1 var(--serif); font-variant-numeric: lining-nums; color: var(--gold); white-space: nowrap; }
.ticket__text { margin-top: 12px; font-size: 15px; color: #dfe3ec; }
.venue { margin-block: 44px 28px; padding: 24px; background: rgba(6, 17, 48, .35); border-top: 1px solid var(--gold); border-radius: var(--r); }
.venue .eyebrow { margin-bottom: 8px; }
.venue__place { margin-bottom: 10px; font: 500 clamp(26px, 3vw, 34px)/1.15 var(--serif); }
.venue a { color: var(--gold); font-weight: 500; text-underline-offset: 4px; }
@media (max-width: 620px) {
  .tickets { grid-template-columns: 1fr; }
}

/* Подвал */
.footer { padding-block: 64px 88px; background: var(--navy-950); font-size: 15px; }
.footer__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; align-items: start; }
.footer__logo { width: 190px; }
.footer__title { margin-bottom: 10px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer__links { display: grid; gap: 6px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--gold); text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: #b9c0cf; font-size: 14px; }

/* Адаптив */
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 0; height: calc(100dvh - 76px); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 32px; background: var(--navy-950); font-size: 20px; overflow-y: auto; }
  .is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
  .nav__cta { margin-top: 22px; min-height: 54px; font-size: 16px; }
  .week { grid-template-columns: 1fr; gap: 28px; }
  .day__short { display: none; }
  .day__full { display: inline; }
  .day.is-empty { display: none; }
  .day { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day__name { grid-column: 1 / -1; }
  .trial__row { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; padding-top: 12px; }
  .hero__mark { display: none; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); padding-block: 36px 130px; gap: 18px; }
  .direction a { grid-template-columns: minmax(0, 1fr) 28px; padding-inline: 4px; }
  .direction__num { display: none; }
  .direction__side { grid-column: 1 / -1; grid-row: 2; }
  .schedule__foot, .studio, .rent, .signup__grid, .events, .pricing { grid-template-columns: 1fr; }
  .teachers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn:not(.btn--sm) { width: 100%; }
  .hero__actions { flex-direction: column; }
  .day { grid-template-columns: 1fr; }
  .lead { grid-template-columns: 1fr; }
  .countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .countdown__part { min-width: 0; padding: 10px 2px; }
  .countdown__part b { font-size: 34px; }
  .countdown__part small { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Сокращённое свойство font сбрасывает вид цифр, поэтому у серифных блоков задаём его отдельно */
.slot__time, .hall b, .rent__price, .direction__num, .event-card__title, .trial__big, .article__lead, .events-empty, .direction__title { font-variant-numeric: lining-nums; }
