/* «Челентано» — музыкальная школа в Адлере. Основные стили. */

@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/golos-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/golos-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/golos-latext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/unbounded-cyr.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/unbounded-lat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/unbounded-latext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+20A0-20AB, U+20AD-20C4, U+2113; }

:root {
  --pink: #ff0070;          /* фирменный, из логотипа */
  --pink-btn: #e6006a;      /* кнопки: белый текст проходит AA */
  --pink-ink: #c8005c;      /* розовый текст на светлом фоне */
  --pink-soft: #ffe3ee;
  --ink: #141218;
  --stage: #0d0b10;
  --stage-2: #1a1720;
  --paper: #fff9f5;
  --cream: #fbefe8;
  --muted: #5e5a66;
  --muted-dark: #b9b3c0;
  --line: #eadfd8;
  --sun: #ffc23d;
  --ok: #1f8a4c;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgb(20 18 24 / .25);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --head: "Unbounded", "Arial Black", system-ui, sans-serif;
  --body: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
/* overflow-x: clip — страховка от горизонтальной прокрутки на мобильных; в отличие от hidden не ломает sticky-шапку */
html { overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--paper); overflow-x: hidden; overflow-x: clip; }
h1, h2, h3 { overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--pink-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(30px, 5.4vw, 60px); }
h2 { font-size: clamp(25px, 3.6vw, 42px); }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin: .25em 0; }
strong { font-weight: 700; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 820px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section--cream { background: var(--cream); }
.section--stage { background: var(--stage); color: #f3eff7; }
.section--stage a:not(.btn) { color: #ff6aa8; }
.section--stage .muted { color: var(--muted-dark); }
.section--pink { background: var(--pink-btn); color: #fff; }
.section--pink a:not(.btn) { color: #fff; }
.muted { color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--pink-ink); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.section--stage .eyebrow { color: var(--pink); }
.section--pink .eyebrow { color: #fff; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); }
.section--stage .section-head p { color: var(--muted-dark); }

/* Рукописное подчёркивание, как на прайсе школы */
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .42em; z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M3 15c40-6 80-9 120-8 30 1 22 5 60 3 40-2 70-6 114-7-50 6-90 9-140 12-30 2-70 4-150 6' fill='%23ff0070' opacity='.9'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.section--pink .mark::after { filter: brightness(0) invert(1); opacity: .5; }

/* Кнопки */
.btn { --bg: var(--pink-btn); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px;
  font: 700 16px/1.2 var(--body); color: var(--fg); background: var(--bg); border: 2px solid var(--bg); border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; box-shadow: 0 8px 22px -10px rgb(230 0 106 / .7); text-align: center; }
.btn:hover { color: var(--fg); transform: translateY(-2px); --bg: #c8005c; }
.btn:active { transform: none; }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; border-color: var(--ink); }
.section--stage .btn--ghost, .hero .btn--ghost { --fg: #fff; }
.section--stage .btn--ghost:hover, .hero .btn--ghost:hover { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.btn--white { --bg: #fff; --fg: var(--pink-ink); box-shadow: none; }
.btn--white:hover { --bg: var(--ink); --fg: #fff; }
.btn--dark { --bg: var(--ink); --fg: #fff; box-shadow: none; }
.btn--dark:hover { --bg: #000; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgb(255 249 245 / .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-color: var(--line); }
.header__in { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 24px; height: 50px; object-fit: contain; }
.logo__word { width: 132px; height: 30px; object-fit: contain; }
.logo__sub { display: block; font: 600 10.5px/1.1 var(--body); color: var(--muted); letter-spacing: .02em; margin-top: 2px; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 8px 11px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; border-radius: 999px; }
.nav__list a:hover, .nav__list a[aria-current="page"] { background: var(--pink-soft); color: var(--pink-ink); }
.header__phone { font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: 16px; }
.header__phone:hover { color: var(--pink-ink); }
.header__cta { flex: none; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 1100px) { .header__phone { display: none; } }
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .burger { display: inline-flex; }
}
/* Закрытое меню не сдвигаем за правый край: мобильные браузеры (Яндекс, MIUI) из-за этого расширяли страницу */
.mnav { position: fixed; inset: 0; z-index: 60; width: 100%; max-width: 100vw; background: var(--stage); color: #fff; padding: 20px var(--gutter) 120px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; visibility: hidden; }
.mnav.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mnav__close { width: 46px; height: 46px; border: 0; border-radius: 12px; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.mnav__list { list-style: none; margin: 0 0 24px; padding: 0; }
.mnav__list a { display: block; padding: 12px 0; font: 700 21px/1.2 var(--head); color: #fff; text-decoration: none; border-bottom: 1px solid #2a2530; }
.mnav__list a:hover { color: var(--pink); }
.mnav__sub { list-style: none; padding: 4px 0 8px 14px; margin: 0; }
.mnav__sub a { font: 600 16px/1.3 var(--body); border: 0; padding: 7px 0; color: var(--muted-dark); }
.mnav .btn { width: 100%; margin-top: 10px; }

/* Хлебные крошки */
.crumbs { font-size: 14px; color: var(--muted); padding: 18px 0 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "→"; margin-right: 6px; color: #c9bfc8; }
.crumbs a { color: var(--muted); }

/* Первый экран главной */
.hero { position: relative; color: #fff; background: var(--stage); overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* Фото первого экрана сменяют друг друга (main.js); без JS видно первое */
.hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: 0; transition: opacity 1.6s ease, transform 9s linear; }
.hero__img img.is-on { opacity: 1; }
.hero__img.is-playing img.is-on { transform: scale(1.06); }
.hero__cap { position: absolute; right: 18px; bottom: 14px; z-index: 1; font-size: 12.5px; color: rgb(255 255 255 / .72); text-shadow: 0 1px 2px rgb(0 0 0 / .6); }
@media (max-width: 560px) { .hero__cap { display: none; } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(13 11 16 / .92) 0%, rgb(13 11 16 / .75) 42%, rgb(13 11 16 / .2) 75%),
  linear-gradient(0deg, rgb(13 11 16 / .85) 0%, transparent 45%); }
.hero__in { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: center; padding: 72px 0 56px; }
.hero__text { max-width: 700px; }
.hero h1 { font-size: clamp(31px, 5.2vw, 62px); margin-bottom: .4em; }
.hero h1 .accent { color: var(--pink); }
.hero .lead { color: #ede8f2; max-width: 560px; margin-bottom: 28px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); font-size: 14px; font-weight: 600; color: #fff; backdrop-filter: blur(6px); }
.badge b { color: var(--sun); }
.hero__doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 560px; }
.door { display: block; padding: 18px 20px; border-radius: var(--radius); text-decoration: none; color: #fff; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .25); transition: background-color .15s, transform .15s; backdrop-filter: blur(6px); }
.door:hover { background: var(--pink-btn); border-color: var(--pink-btn); color: #fff; transform: translateY(-2px); }
.door--main { background: var(--pink-btn); border-color: var(--pink-btn); }
.door--main:hover { background: #c8005c; }
.door__t { display: block; font: 800 18px/1.15 var(--head); margin-bottom: 4px; }
.door__d { display: block; font-size: 14px; color: rgb(255 255 255 / .85); line-height: 1.35; }
@media (max-width: 560px) {
  .hero::before { background: linear-gradient(0deg, rgb(13 11 16 / .95) 0%, rgb(13 11 16 / .8) 55%, rgb(13 11 16 / .45) 100%); }
  .hero__in { min-height: auto; padding: 120px 0 40px; }
  .hero__doors { grid-template-columns: 1fr; }
}

/* Шапка внутренних страниц */
.phero { padding: clamp(28px, 5vw, 56px) 0 clamp(36px, 5vw, 64px); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.phero__grid--solo { grid-template-columns: minmax(0, 860px); gap: 0; }
.phero h1 { font-size: clamp(28px, 4.4vw, 52px); hyphens: auto; }
/* Длинные отчества («Александровна») на узком экране не влезали в строку */
@media (max-width: 380px) { .phero h1 { font-size: 25px; } }
.phero__media { position: relative; }
.phero__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.phero__media--portrait img { aspect-ratio: 4 / 5; max-height: 560px; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; padding: 0; list-style: none; }
.phero__facts li { margin: 0; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.sticker { position: absolute; left: -14px; bottom: 22px; background: var(--pink-btn); color: #fff; padding: 12px 16px; border-radius: 14px; font: 700 14px/1.25 var(--body); max-width: 230px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.sticker b { display: block; font: 800 20px/1.1 var(--head); }
@media (max-width: 860px) {
  .phero__grid { grid-template-columns: minmax(0, 1fr); }
  .phero__media { order: -1; }
  .sticker { left: 10px; bottom: 10px; }
}

/* Сетки и карточки */
.grid { display: grid; gap: clamp(14px, 2vw, 24px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .grid--4 { grid-template-columns: 1fr; } }

.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); }
.section--cream .card { border-color: #f1e2d9; }
.section--stage .card { background: var(--stage-2); border-color: #2a2530; color: #f3eff7; }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: inherit; }
.card__more { margin-top: auto; padding-top: 14px; font-weight: 700; color: var(--pink-ink); display: inline-flex; gap: 6px; align-items: center; }
.card__more svg { flex: none; width: 18px; height: 18px; transition: transform .15s; }
.card--link:hover .card__more svg { transform: translateX(3px); }
.section--stage .card__more { color: var(--pink); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--pink-soft); color: var(--pink-ink); display: grid; place-items: center; margin-bottom: 16px; }
.card__icon svg { width: 28px; height: 28px; }
.section--stage .card__icon { background: rgb(255 0 112 / .16); color: var(--pink); }

/* Карточка направления с фото */
.dcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.dcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.dcard__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream); }
.dcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.dcard:hover .dcard__img img { transform: scale(1.04); }
.dcard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.dcard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.dcard__tags li { margin: 0; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--pink-soft); color: var(--pink-ink); }
.dcard__price { margin-top: auto; padding-top: 12px; font-weight: 700; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dcard__price span { color: var(--pink-ink); }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--radius); overflow: hidden; }
.stat { padding: clamp(18px, 2.5vw, 28px); border-right: 1px solid rgb(255 255 255 / .12); }
.stat:last-child { border-right: 0; }
.stat__n { display: block; font: 800 clamp(30px, 4vw, 48px)/1 var(--head); color: var(--pink); letter-spacing: -.03em; margin-bottom: 8px; }
.stat__t { display: block; font-size: 15px; color: var(--muted-dark); line-height: 1.35; }
.stats--light .stat { border-color: var(--line); }
.stats--light .stat__n { color: var(--pink-ink); }
.stats--light .stat__t { color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / .12); } .stats--light .stat:nth-child(-n+2) { border-color: var(--line); } }

/* Полоса доверия под первым экраном */
.trust { background: var(--stage); color: #fff; border-top: 1px solid #221e27; }
.trust__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding: 18px 0; }
.trust__item { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: #e9e4ee; text-decoration: none; }
.trust__item:hover { color: #fff; }
.trust__item b { font: 800 20px/1 var(--head); color: var(--sun); }
.stars { color: var(--sun); letter-spacing: 1px; }

/* Педагоги */
.tcard { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.tcard__img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--cream); margin-bottom: 14px; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tcard:hover .tcard__img img { transform: scale(1.04); }
.tcard__role { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.tcard__role span { background: rgb(13 11 16 / .78); color: #fff; font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.tcard h3 { margin-bottom: 4px; }
.tcard p { color: var(--muted); font-size: 15px; margin: 0; }
.section--stage .tcard p { color: var(--muted-dark); }
.tcard:hover h3 { color: var(--pink-ink); }
.section--stage .tcard:hover h3 { color: var(--pink); }

/* Обещание сцены */
.promise { position: relative; border-radius: calc(var(--radius) + 8px); overflow: hidden; background: var(--stage); color: #fff; display: grid; grid-template-columns: 1fr 1fr; isolation: isolate; }
.promise__text { padding: clamp(28px, 5vw, 64px); align-self: center; }
.promise__text h2 { font-size: clamp(24px, 3.2vw, 40px); }
.promise__text h2 em { font-style: normal; color: var(--pink); }
.promise__img { min-height: 320px; }
.promise__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .promise { grid-template-columns: 1fr; } .promise__img { min-height: 240px; order: -1; } }

/* Шаги */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps li { counter-increment: s; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pink-btn); color: #fff; font: 800 17px/1 var(--head); margin-bottom: 14px; }
.steps h3 { font-size: 17px; }
.steps p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Дорожная карта результата */
.road { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.road__item { padding: 0 18px 0 0; position: relative; }
.road__item::before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, var(--pink), #ff7ab0); border-radius: 4px; margin: 0 0 18px; }
.road__when { display: inline-block; font: 800 13px/1 var(--head); text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: #fff; padding: 7px 11px; border-radius: 8px; margin-bottom: 12px; }
.road__item p { font-size: 15.5px; margin: 0; }
@media (max-width: 860px) { .road { grid-template-columns: 1fr 1fr; gap: 26px 0; } }
@media (max-width: 520px) { .road { grid-template-columns: 1fr; } }

/* Список с галочками */
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 32px; margin: .55em 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--pink-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.crosses li::before { background-color: #9d97a6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; grid-auto-flow: dense; gap: 10px; }
.gallery figure { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--stage-2); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 5px 11px; border-radius: 999px; background: rgb(20 14 28 / .62); color: #fff; font-size: 13px; line-height: 1.3; }
.gallery--lessons { grid-auto-rows: 210px; }
@media (max-width: 760px) { .gallery figcaption { left: 6px; bottom: 6px; max-width: calc(100% - 12px); font-size: 11.5px; padding: 4px 8px; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery, .gallery--lessons { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; } }

/* Вертикальные видео и фото (9:16) */
.shorts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 270px)); justify-content: center; gap: 16px; }
.short { margin: 0; min-width: 0; }
.short:only-child { grid-column: 1 / -1; justify-self: center; width: min(100%, 270px); }
.short video, .short img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: #000; }
.short figcaption { margin-top: 8px; font-size: 14px; text-align: center; color: var(--muted); }
.section--stage .short figcaption { color: var(--muted-dark); }
@media (max-width: 560px) { .shorts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .short figcaption { font-size: 12.5px; } }

/* Фото в тексте */
.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; object-fit: cover; }
.figure figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Афиша */
.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.section--stage .event { background: var(--stage-2); border-color: #2a2530; }
.event__date { text-align: center; border-right: 1px solid var(--line); padding-right: 18px; }
.section--stage .event__date { border-color: #2a2530; }
.event__date b { display: block; font: 800 16px/1.15 var(--head); color: var(--pink-ink); letter-spacing: -.02em; hyphens: auto; }
.section--stage .event__date b { color: var(--pink); }
.event__date span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.section--stage .event__date span { color: var(--muted-dark); }
.event h3 { margin-bottom: 4px; font-size: 18px; }
.event p { margin: 0; font-size: 15px; color: var(--muted); }
.section--stage .event p { color: var(--muted-dark); }
.event__tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; margin-left: 2px; white-space: nowrap; vertical-align: 2px; background: var(--pink-soft); color: var(--pink-ink); }
.event__tag--free { background: #e2f6ea; color: var(--ok); }
.posters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 8px; }
.poster { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.poster__img { display: block; background: var(--stage); }
.poster__img img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s ease; }
.poster__img:hover img { transform: scale(1.02); }
.poster__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 20px 22px; }
.poster__body p { margin: 0; font-size: 15px; color: var(--muted); }
.poster h3 { margin: 0; font-size: 19px; }
.poster__when { font: 800 17px/1.2 var(--head); color: var(--pink-ink); letter-spacing: -.01em; }
.poster__when .event__tag { vertical-align: 2px; }
.poster__place { display: flex; gap: 6px; align-items: flex-start; font-size: 14px !important; }
.poster__place svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--pink-ink); }
.poster .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .posters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .posters { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .event { grid-template-columns: 92px minmax(0, 1fr); padding: 16px; gap: 14px; } .event__date { padding-right: 12px; } .event__date b { font-size: 14px; } .event .btn { grid-column: 1 / -1; } }

/* Победы */
.wins { display: grid; gap: 10px; }
.win { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.win:last-child { border-bottom: 0; }
.win__date { font: 700 14px/1.3 var(--head); color: var(--pink-ink); }
.win h3 { font-size: 17px; margin-bottom: 4px; }
.win p { margin: 0; font-size: 15.5px; color: var(--muted); }
.win__res { display: inline-block; font-weight: 700; color: var(--ink); background: #fff3c9; padding: 1px 8px; border-radius: 6px; }
.win__list { list-style: none; margin: 0; padding: 0; font-size: 15.5px; color: var(--muted); }
.win__list li { margin: 0 0 6px; }
.win__list li:last-child { margin-bottom: 0; }
.win__t { white-space: nowrap; }
.wins__year { font: 800 28px/1 var(--head); color: var(--ink); margin: 34px 0 4px; }
.wins__year:first-child { margin-top: 0; }
.diplomas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.diplomas figure { margin: 0; }
.diplomas img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); background: #fff; }
.diplomas figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.35; }
@media (max-width: 760px) { .diplomas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .diplomas figure:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); } }
@media (max-width: 560px) { .win { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
@media (max-width: 420px) { .win__t { white-space: normal; } }
.hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.hl .card { background: var(--stage); color: #fff; border: 0; }
.hl .card__n { font: 800 34px/1 var(--head); color: var(--sun); display: block; margin-bottom: 12px; }
.hl .card p { color: var(--muted-dark); }
@media (max-width: 480px) { .hl { grid-template-columns: 1fr; } }

/* Отзывы */
.reviews { columns: 3 300px; column-gap: 16px; }
.review { break-inside: avoid; margin: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section--stage .review { background: var(--stage-2); border-color: #2a2530; }
.review__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.section--stage .review__head { color: var(--muted-dark); }
.review__name { font-weight: 700; color: var(--ink); font-size: 15.5px; }
.section--stage .review__name { color: #fff; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.55; }
.review__src { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rating-cards { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.rating-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.rating-card b { font: 800 30px/1 var(--head); }
.rating-card small { display: block; color: var(--muted); font-size: 13.5px; }
.rating-card:hover { border-color: var(--pink); color: inherit; }

/* Цены */
.prices { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.prices th, .prices td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices tr:last-child td { border-bottom: 0; }
.prices thead th { background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.prices td:nth-child(2), .prices th:nth-child(2) { white-space: nowrap; font-weight: 800; font-family: var(--head); font-size: 17px; }
.prices thead th:nth-child(2) { font-family: var(--body); font-size: 14px; }
.prices td:nth-child(3) { color: var(--muted); font-size: 15px; }
.prices .is-hot td { background: #fff4f8; }
.prices small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; margin-top: 2px; }
@media (max-width: 640px) { .prices thead { display: none; } .prices tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); } .prices tr:last-child { border-bottom: 0; } .prices td { border: 0; padding: 2px 0; } .prices td:nth-child(3) { grid-column: 1 / -1; } }
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; }
.pcard--hot { border: 2px solid var(--pink-btn); position: relative; }
.pcard__flag { position: absolute; top: -13px; left: 22px; background: var(--pink-btn); color: #fff; font-size: 12.5px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.pcard__name { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.pcard__price { font: 800 34px/1.1 var(--head); letter-spacing: -.03em; margin-bottom: 4px; }
.pcard__per { color: var(--pink-ink); font-weight: 700; font-size: 15px; margin-bottom: 16px; }
.pcard .ticks { font-size: 15.5px; }
.pcard .btn { margin-top: auto; }
@media (max-width: 860px) { .pcards { grid-template-columns: 1fr; } }

/* Вопросы и ответы */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.section--stage .faq details { background: var(--stage-2); border-color: #2a2530; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--pink-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8005c' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--pink-ink); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }
.section--stage .faq__a { color: var(--muted-dark); }
.faq__a p:last-child { margin: 0; }

/* Форма заявки */
.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.lead-box__text h2 { font-size: clamp(25px, 3.4vw, 40px); }
@media (max-width: 860px) { .lead-box { grid-template-columns: 1fr; } }
.form { background: #fff; color: var(--ink); border-radius: calc(var(--radius) + 4px); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form__row { grid-template-columns: 1fr; } }
.field { display: block; margin-bottom: 14px; }
.field__label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: 400 17px/1.3 var(--body); color: var(--ink); background: var(--paper); border: 1.5px solid #e2d6cf; border-radius: 12px; padding: 13px 14px; min-height: 50px; transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 4px rgb(255 0 112 / .14); background: #fff; }
.field.is-invalid input, .field.is-invalid select { border-color: #d22; }
.field__err { display: none; color: #c11; font-size: 13.5px; margin-top: 4px; }
.field.is-invalid .field__err { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 14px; }
.chips legend { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1.5px solid #e2d6cf; font-weight: 600; font-size: 15px; background: var(--paper); transition: all .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: var(--muted); margin: 6px 0 16px; }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--pink-btn); }
.check.is-invalid { color: #c11; }
.form__note { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__ok { text-align: center; padding: 20px 6px; }
.form__ok svg { width: 64px; height: 64px; color: var(--ok); margin: 0 auto 12px; }
.form__ok h3 { font-size: 22px; }
.form__fail { background: #fff1f1; color: #a10; border-radius: 10px; padding: 10px 14px; font-size: 15px; margin-bottom: 12px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Квиз */
.modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; background: rgb(13 11 16 / .72); backdrop-filter: blur(4px); }
.modal.is-open { display: flex; }
.modal__box { position: relative; width: min(100%, 560px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 22px; padding: clamp(22px, 4vw, 34px); }
.modal__close { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); font-size: 24px; line-height: 1; cursor: pointer; color: var(--ink); }
.quiz__progress { height: 6px; background: var(--cream); border-radius: 6px; margin: 0 44px 22px 0; overflow: hidden; }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--pink-btn); transition: width .25s; }
.quiz__q { font: 800 21px/1.2 var(--head); margin-bottom: 16px; }
.quiz__opts { display: grid; gap: 8px; }
.quiz__opt { text-align: left; font: 600 16px/1.3 var(--body); padding: 14px 16px; border-radius: 14px; border: 1.5px solid #e2d6cf; background: var(--paper); cursor: pointer; color: var(--ink); }
.quiz__opt:hover, .quiz__opt:focus-visible { border-color: var(--pink); background: #fff4f8; }
.quiz__back { margin-top: 14px; background: none; border: 0; color: var(--muted); font: 600 15px var(--body); cursor: pointer; padding: 6px 0; }
.quiz__res { background: var(--cream); border-radius: 14px; padding: 16px 18px; margin-bottom: 16px; }
.quiz__res b { color: var(--pink-ink); }

/* Контакты и карта */
.contacts { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } }
.contacts__list { list-style: none; padding: 0; margin: 0 0 20px; }
.contacts__list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; margin: 0 0 16px; }
.contacts__list svg { width: 24px; height: 24px; color: var(--pink-ink); margin-top: 2px; }
.section--stage .contacts__list svg { color: var(--pink); }
.contacts__list b { display: block; }
.map { position: relative; min-height: 380px; border-radius: var(--radius); overflow: hidden; background: #e9e2dd url(/assets/img/map-placeholder.svg) center / cover; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__btn { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; }
.messengers { display: flex; flex-wrap: wrap; gap: 8px; }
.msg { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15px; }
.msg:hover { border-color: var(--pink); color: var(--pink-ink); }
.msg svg { width: 20px; height: 20px; }
.section--stage a.msg { background: var(--stage-2); border-color: #2a2530; color: #fff; }
.routes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 640px) { .routes { grid-template-columns: 1fr; } }

/* Подвал */
.footer { background: var(--stage); color: var(--muted-dark); padding: 56px 0 110px; font-size: 15px; }
.footer a { color: #e9e4ee; text-decoration: none; }
.footer a:hover { color: var(--pink); }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; margin-bottom: 36px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { font: 700 14px/1.2 var(--body); color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 8px; }
.footer__logo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.logo-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; flex: none; }
.logo-tile img { width: 20px; height: 42px; object-fit: contain; }
.footer__phone { font: 800 20px/1.2 var(--head); color: #fff !important; }
.footer__legal { border-top: 1px solid #241f29; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; }
.footer__legal a { color: var(--muted-dark); text-decoration: underline; }
.footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer__social a { display: inline-flex; align-items: center; gap: 7px; }
.footer__social svg { width: 18px; height: 18px; }
.footer__note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-dark); }
@media (min-width: 961px) { .footer { padding-bottom: 56px; } }

/* Нижняя панель на мобильных */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: none; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgb(255 255 255 / .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.mbar a, .mbar button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; border-radius: 14px; font: 700 12.5px/1 var(--body); text-decoration: none; color: var(--ink); background: var(--cream); border: 0; cursor: pointer; }
.mbar svg { width: 22px; height: 22px; }
.mbar .mbar__main { flex: 1.6; background: var(--pink-btn); color: #fff; font-size: 15px; flex-direction: row; gap: 8px; }
@media (max-width: 960px) { .mbar { display: flex; } }

/* Плашка cookie */
.cookie { position: fixed; z-index: 70; left: 16px; bottom: 16px; max-width: 420px; background: var(--ink); color: #eee; padding: 16px 18px; border-radius: 16px; font-size: 14px; box-shadow: var(--shadow); display: none; }
.cookie.is-shown { display: block; }
.cookie p { margin: 0 0 12px; }
.cookie a { color: #ff8cbc; }
@media (max-width: 960px) { .cookie { left: 10px; right: 10px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: none; } }

/* Текстовые страницы */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); }
.note { background: #fff; border-left: 4px solid var(--pink-btn); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 1.2em; }
.section--cream .note { background: #fff; }
.quote { font: 700 clamp(20px, 2.4vw, 28px)/1.35 var(--head); letter-spacing: -.01em; margin: 0; }
.quote cite { display: block; margin-top: 14px; font: 600 15px/1.4 var(--body); font-style: normal; color: var(--muted); }
.section--stage .quote cite { color: var(--muted-dark); }

/* Таблица сравнения */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--ink); color: #fff; font-size: 14px; }
.compare thead th:nth-child(2) { background: var(--pink-btn); }
.compare td:first-child { font-weight: 700; width: 26%; }
.compare td:nth-child(2) { background: #fff7fa; }
@media (max-width: 640px) { .compare, .compare tbody, .compare tr, .compare td { display: block; width: 100% !important; } .compare thead { display: none; } .compare tr { border-bottom: 2px solid var(--line); } .compare td { border: 0; padding: 6px 16px; } .compare td:first-child { padding-top: 14px; } .compare td:nth-child(2)::before { content: "«Челентано»: "; font-weight: 700; color: var(--pink-ink); } .compare td:nth-child(3)::before { content: "Обычная ДМШ: "; font-weight: 700; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.tags li { margin: 0; }
.tags a, .tags span { display: inline-block; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14.5px; text-decoration: none; color: var(--ink); }
.tags a:hover { border-color: var(--pink); color: var(--pink-ink); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }

/* Плавное появление (только если пользователь не просил уменьшить анимацию) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Длинные подписи кнопок («Записаться к Ольге Александровне») переносятся, а не вылезают за экран */
@media (max-width: 420px) { .btn { max-width: 100%; text-align: center; padding-inline: 20px; } }

/* ---------- Новости (блог) ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2vw, 24px); margin-top: 24px; }
.ncard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.ncard:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.ncard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ncard__body { padding: 18px 20px 22px; }
.ncard__body h3 { font-size: 18px; margin: 4px 0 8px; }
.ncard:hover h3 { color: var(--pink-ink); }
.ncard__body p { color: var(--muted); font-size: 15px; margin: 0; }
.ncard__date { display: block; font-size: 14px; color: var(--pink-ink); font-weight: 600; }
.section--stage .ncard { color: var(--ink); }
.article h1 { margin-top: 6px; }
.article__cover { margin: 20px 0 24px; }
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.article .shorts { margin: 24px 0; }
.article__gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; margin: 24px 0; }
.article__gallery figure { margin: 0; }
.article__gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.article__links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 24px; }
