/* Публичная страница клуба. Использует токены из app.css. */

.landing { --ink: #141416; --max: 1180px; background: var(--paper); overflow-x: clip; }
/* Якоря не прячутся под липкой шапкой. */
.landing [id] { scroll-margin-top: 84px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--text); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- Шапка ---------- */
.l-head {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 16px;
  padding: 12px clamp(16px, 4vw, 40px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t) ease;
}
.l-head .brand-name { font-size: 1rem; }
.l-nav { display: flex; gap: 4px; margin-left: auto; }
.l-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .l-nav a:hover { color: var(--text); background: var(--surface-2); } }
.l-login { min-height: 44px; padding: 0 14px; font-size: .92rem; }
.l-cta { min-height: 44px; padding: 0 16px; font-size: .92rem; }
@media (max-width: 1100px) { .l-nav { display: none; } .l-login { margin-left: auto; } }
/* На узком телефоне в шапке знак клуба без надписи: иначе кнопка «Записаться» сжимается. */
@media (max-width: 420px) { .l-head .brand-name { display: none; } .l-head { gap: 8px; } }
.l-cta { white-space: nowrap; flex-shrink: 0; }

/* ---------- Первый экран ---------- */
.hero { position: relative; isolation: isolate; min-height: min(92svh, 900px); display: grid; align-items: center; padding: 48px clamp(16px, 4vw, 40px) 64px; overflow: hidden; }
.hero-inner { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-text { container-type: inline-size; min-width: 0; }
@media (min-width: 1000px) { .hero-inner { grid-template-columns: 1.35fr .65fr; gap: 48px; } }

/* Фото на первом экране — красный круг клуба: круглый кадр в красной обводке, как на логотипе.
   Появляется раскрытием из центра, сам кадр чуть «доезжает». */
.hero-visual { display: grid; place-items: center; }
.hero-photo {
  position: relative; margin: 0; width: min(100%, 460px); aspect-ratio: 1; border-radius: 50%;
  box-shadow: 0 0 0 clamp(8px, 1.2vw, 14px) var(--red), 0 0 0 clamp(18px, 2.6vw, 30px) color-mix(in srgb, var(--red) 18%, transparent),
              0 40px 80px -30px rgb(0 0 0 / .5);
  animation: circle-in 900ms var(--ease-out) 150ms both;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 58%; display: block; border-radius: 50%;
  animation: iris 1100ms var(--ease-out) 250ms both, settle 1600ms var(--ease-out) 250ms both;
}
.hero-photo figcaption {
  position: absolute; left: 50%; bottom: -6px; translate: -50% 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px;
  background: #fff; color: #141416; font-weight: 700; font-size: .85rem; box-shadow: 0 8px 24px -10px rgb(0 0 0 / .4);
}
.hero-photo .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
@keyframes circle-in { from { opacity: 0; transform: scale(0.86); } to { opacity: 1; transform: none; } }
@keyframes iris { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(50% at 50% 50%); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }
@media (max-width: 999px) { .hero-photo { width: min(78vw, 380px); margin: 12px 0 18px; } }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 14px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; animation: rise 600ms var(--ease-out) both; }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.8s var(--ease-in-out) infinite; }
.hero-title { font: 800 clamp(2.1rem, 8.1vw, 6.4rem)/.94 var(--display); font-size: clamp(1.5rem, 9cqi, 6.4rem); letter-spacing: -.05em; margin: 0 0 28px; text-transform: uppercase; }
/* Окно строки шире самой строки: иначе обрезаются дужка «Й», хвост «Ц» и верх букв.
   Отрицательные отступы возвращают прежнюю плотность строк. */
.hero-title .line { display: block; overflow: hidden; padding: .16em 0 .14em; margin: -.16em 0 -.14em; }
.hero-title .line > span { display: inline-block; animation: line-up 900ms var(--ease-out) both; }
.hero-title .line:nth-child(2) > span { animation-delay: 90ms; }
.hero-title .line:nth-child(3) > span { animation-delay: 180ms; }
.hero-title .line:nth-child(4) > span { animation-delay: 270ms; }
.hero-title .dot-red { color: var(--accent-text); }
/* Над красным кругом текст остаётся цвета текста: красное на красном не читается. */
@keyframes line-up { from { transform: translateY(125%); } to { transform: none; } }
.hero-sub { max-width: 34ch; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.45; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.btn.big { min-height: 58px; padding: 0 24px; font-size: 1.02rem; border-radius: 14px; }
.btn .icon { transition: transform var(--t) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .icon { transform: translateX(3px); } }
.btn.ghost-l { background: transparent; }
.hero-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta .icon { width: 18px; height: 18px; color: var(--accent-text); }
@media (max-width: 999px) { .hero { min-height: auto; } }
@media (max-width: 700px) { .hero { padding-top: 28px; } .hero-cta .btn { flex: 1 1 100%; } }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 0; font: 700 clamp(1.1rem, 2.6vw, 1.7rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee i { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--red); margin: 0 .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Факты ---------- */
.facts { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.fact { padding: 36px clamp(16px, 2.5vw, 28px); border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font: 800 clamp(2.4rem, 5vw, 3.8rem)/1 var(--display); letter-spacing: -.04em; color: var(--accent-text); }
.fact span { display: block; margin-top: 10px; color: var(--muted); font-weight: 500; max-width: 18ch; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- Секции ---------- */
.l-section { max-width: var(--max); margin: 0 auto; padding: clamp(64px, 10vw, 120px) clamp(16px, 4vw, 40px) 0; }
.eyebrow-l { margin: 0 0 14px; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); display: flex; align-items: center; gap: 10px; }
.eyebrow-l::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.eyebrow-l.light { color: #ff6b74; }
.l-h2 { font: 700 clamp(1.8rem, 4.6vw, 3.4rem)/1.04 var(--display); letter-spacing: -.035em; margin: 0 0 clamp(28px, 5vw, 48px); max-width: 20ch; }
.l-h3 { font-size: 1.1rem; margin: 56px 0 8px; }

.coaches { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .coaches { grid-template-columns: repeat(3, 1fr); } }
.coach { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); overflow: hidden; }
.coach { padding: 0; }
.coach > :not(.coach-photo) { margin-left: clamp(22px, 3vw, 34px); margin-right: clamp(22px, 3vw, 34px); }
.coach-photo { position: relative; aspect-ratio: 5 / 4; overflow: hidden; margin-bottom: 22px; background: var(--surface-2); }
.coach-photo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1200ms var(--ease-out); }
.coach.is-in .coach-photo img { transform: none; }
/* Тренер без фото (портрет ещё не прислали): крупные инициалы на том же фоне. */
.coach-photo.no-photo { display: grid; place-items: center; }
.coach-photo.no-photo span { font: 700 clamp(2.2rem, 5vw, 3.2rem)/1 var(--display); color: var(--muted); letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { .coach:hover .coach-photo img { transform: scale(1.03); transition-duration: 600ms; } }
.coach h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 0 0 4px; }
.coach-title { color: var(--accent-text); font-weight: 700; margin: 0 0 18px; }
/* Нижний отступ списка — отступ карточки: у .coach нет своего padding (фото во всю ширину). */
.coach ul { list-style: none; margin: 0 0 clamp(22px, 3vw, 34px); padding: 0; display: grid; gap: 10px; }
.coach li { position: relative; padding-left: 22px; line-height: 1.4; }
.coach li::before { content: ''; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.ages { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .ages { grid-template-columns: 1fr; } }
.age { border-top: 3px solid var(--ink); padding-top: 18px; }
.age strong { display: block; font: 800 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.03em; margin-bottom: 12px; }
.age p { margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.55; max-width: 46ch; }

.training { list-style: none; margin: 0 0 12px; padding: 0; border-top: 1px solid var(--line); }
.training li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.training .num { font: 700 1rem/1.6 var(--display); color: var(--accent-text); }
.training strong { font-size: 1.1rem; }
.training p { margin: 4px 0 0; color: var(--muted); }

/* ---------- Что даст дзюдо ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .benefits { grid-template-columns: 1fr; } }
.benefit { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.benefit-num { font: 800 .9rem/1 var(--display); color: var(--accent-text); }
.benefit h3 { font-size: 1.2rem; margin: 18px 0 10px; }
.benefit p { margin: 0; color: var(--muted); line-height: 1.55; }
.benefit::after { content: ''; position: absolute; right: -36px; top: -36px; width: 96px; height: 96px; border-radius: 50%; background: var(--red); opacity: .08;
  transform: scale(.6); transition: transform 900ms var(--ease-out); }
.benefit.is-in::after { transform: none; }
.l-lead { font-size: 1.1rem; color: var(--muted); margin: -24px 0 28px; max-width: 52ch; }

/* ---------- FAQ: плавное раскрытие там, где браузер умеет анимировать высоту до auto ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0;
  cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface-2); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; border-radius: 2px; translate: -50% -50%;
  transition: transform var(--t) var(--ease-out); }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--red); color: #fff; }
.faq-item[open] .faq-plus::after { transform: rotate(0deg); }
.faq-item::details-content { block-size: 0; overflow: hidden; transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
.faq-item[open]::details-content { block-size: auto; }
.faq-a p { margin: 0 0 20px; color: var(--muted); max-width: 64ch; line-height: 1.6; }

/* ---------- Форма заявки ---------- */
.lead-box { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 56px);
  border-radius: clamp(22px, 3vw, 36px); background: var(--ink); color: #fff; }
@media (max-width: 860px) { .lead-box { grid-template-columns: 1fr; } }
.lead-intro .l-h2 { color: #fff; }
.lead-intro p { color: rgb(255 255 255 / .75); font-size: 1.05rem; }
.lead-or a, .lead-done a { color: #fff; font-weight: 700; }
.lead-form-public { background: var(--surface); color: var(--text); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px);
  display: grid; gap: 18px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.lf-field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lf-field legend { width: 100%; }
.lf-field label, .lf-field legend { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0;
  font-weight: 700; font-size: .95rem; }
.lf-opt { font-weight: 500; font-size: .78rem; color: var(--muted); }
.lead-form-public input[type=text], .lead-form-public input[type=tel] {
  width: 100%; height: 56px; padding: 0 16px; font: 500 1.05rem/1 var(--font); color: var(--text);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 14px;
  transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease, background-color var(--t-fast) ease;
}
.lead-form-public input::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); font-weight: 400; }
.lead-form-public input:focus { outline: none; border-color: var(--red); background: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 16%, transparent); }
.lf-field.has-error input { border-color: var(--bad); }
.lf-field .error, .lf-consent .error, .lf-error { margin: 0; }

/* Возраст — кнопками: нажать проще, чем листать список. */
.age-pills { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
/* Сетку возраста решает ширина самой формы: на ноутбуке форма в половину экрана. */
.lead-form-public { container-type: inline-size; }
@container (max-width: 520px) { .age-pills { grid-template-columns: repeat(5, 1fr); } }
.age-pill { position: relative; display: block; cursor: pointer; }
.age-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.age-pill span { display: grid; place-items: center; width: 100%; height: 48px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  font: 700 1rem/1 var(--display); font-variant-numeric: tabular-nums;
  transition: background-color var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease, transform var(--t-fast) var(--ease-out); }
.age-pill input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.age-pill input:focus-visible + span { box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 25%, transparent); }
.age-pill:active span { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .age-pill:hover span { border-color: color-mix(in srgb, var(--red) 50%, var(--line)); } }
.lf-hint { margin: 0; font-size: .8rem; color: var(--muted); }

/* Своя галочка согласия. */
.lf-check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .9rem; line-height: 1.45; }
.lf-check input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.lf-box { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--paper);
  transition: background-color var(--t-fast) ease, border-color var(--t-fast) ease; }
.lf-box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 220ms var(--ease-out); }
.lf-check input:checked + .lf-box { background: var(--red); border-color: var(--red); }
.lf-check input:checked + .lf-box svg { stroke-dashoffset: 0; }
.lf-check input:focus-visible + .lf-box { box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 25%, transparent); }
.lf-consent.has-error .lf-box { border-color: var(--bad); }
.lf-check a { color: var(--accent-text); }
.lf-submit { margin-top: 4px; white-space: nowrap; }
/* На телефоне форма во всю ширину тёмного блока: двойные поля съедали место. */
@media (max-width: 560px) {
  .lead-box { padding: 22px 12px 12px; gap: 18px; }
  .lead-intro { padding: 0 8px; }
  .lead-form-public { padding: 18px 16px; }
}
.lf-note { margin: -6px 0 0; text-align: center; font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-done { grid-column: 1 / -1; text-align: center; padding: 20px 0; }
.lead-done .l-h2 { color: #fff; margin: 18px auto 12px; }
.lead-done p { color: rgb(255 255 255 / .8); max-width: 46ch; margin: 0 auto; font-size: 1.05rem; }
.lead-check { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--red);
  animation: pop 500ms var(--ease-out) both; }
.lead-check .icon { width: 36px; height: 36px; color: #fff; stroke-width: 2.6; }
.price-saving { margin: 10px 0 0; display: inline-block; padding: 6px 10px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: .85rem; }

/* ---------- Документы ---------- */
.doc-body { max-width: 760px; margin: 0 auto; padding: 24px clamp(16px, 4vw, 40px) 80px; }
.doc-body h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 12px 0 18px; }
.doc-body h2 { margin-top: 32px; }
.doc-body p, .doc-body li { line-height: 1.65; }
.doc-note { padding: 12px 14px; border-radius: 12px; background: color-mix(in srgb, var(--warn) 14%, transparent); color: var(--text); font-weight: 600; }
.foot-link { font-weight: 500 !important; color: var(--muted) !important; }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(140px, 17vw, 230px); gap: 12px; }
.g-item { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.08); transition: transform 1400ms var(--ease-out); }
.g-item.is-in img { transform: none; }
.g-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgb(20 20 22 / .72); color: #fff; font-size: .82rem; font-weight: 600; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.g-1 { grid-column: span 2; grid-row: span 2; }
.g-2 { grid-column: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
  .g-1 { grid-column: span 2; grid-row: span 1; }
  .g-2 { grid-column: span 2; }
}

/* ---------- Видео ---------- */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; }
.video > img, .video > picture > img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.55) saturate(.9); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video.is-playing > picture, .video.is-playing > img, .video.is-playing .video-play, .video.is-playing .video-note { display: none; }
.video-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: clamp(72px, 10vw, 104px); aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgb(212 31 44 / .6); animation: ring 2.4s var(--ease-out) infinite;
  transition: transform var(--t) var(--ease-out);
}
.video-play svg { width: 42%; height: 42%; fill: currentColor; margin-left: 6%; }
.video-play:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .video-play:hover { transform: scale(1.06); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgb(212 31 44 / .55); } 100% { box-shadow: 0 0 0 28px rgb(212 31 44 / 0); } }
.video-note { position: absolute; left: 0; right: 0; bottom: 14px; margin: 0; text-align: center; color: rgb(255 255 255 / .8); font-size: .85rem; }

/* ---------- Внутри клуба ---------- */
.inside {
  margin: clamp(64px, 10vw, 120px) clamp(8px, 2vw, 24px) 0; border-radius: clamp(22px, 3vw, 36px);
  background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 72px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; overflow: hidden;
}
@media (max-width: 860px) { .inside { grid-template-columns: 1fr; } }
.inside .l-h2 { color: #fff; }
.inside-text > p { color: rgb(255 255 255 / .75); font-size: 1.08rem; max-width: 46ch; }
.belts { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 28px; max-width: 440px; }
.belts span { height: 16px; border-radius: 4px; transform: scaleX(0); transform-origin: left; transition: transform 600ms var(--ease-out); transition-delay: calc(var(--i) * 90ms + 200ms); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .4); }
.belts.is-in span { transform: none; }
.phone {
  justify-self: center; width: min(320px, 100%); border-radius: 40px; padding: 12px; background: #2a2a2f;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .8), inset 0 0 0 1px rgb(255 255 255 / .08);
  rotate: 4deg;
}
.phone-screen { border-radius: 30px; background: var(--paper); color: var(--text); padding: 26px 16px 18px; }
.phone-name { font: 700 1.25rem/1.1 var(--display); margin: 6px 0 4px; }
.level-card.mini { padding: 16px; margin: 12px 0; }
.level-card.mini .level-name { font-size: 1.4rem; margin: 2px 0 10px; }
.mini-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.mini-badges span { font-size: .78rem; font-weight: 600; padding: 6px 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }
.price { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.price h3 { margin: 0; color: var(--muted); font-family: var(--font); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }
.price-num { font: 800 clamp(2rem, 4vw, 2.6rem)/1 var(--display); letter-spacing: -.035em; margin: 14px 0 10px; }
.price-note { margin: 0; color: var(--muted); }
.price-per { margin: 6px 0 0; font-weight: 700; }
.price-body { flex: 1; }
.price .btn { margin-top: 24px; }
.price.featured { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; overflow: hidden; }
.price.featured::after { content: 'Выгоднее'; position: absolute; top: 18px; right: 18px; font-size: .75rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--red); color: #fff; }
.price.featured h3, .price.featured .price-note { color: rgb(255 255 255 / .7); }

/* ---------- Контакты ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  margin: clamp(64px, 10vw, 120px) clamp(8px, 2vw, 24px) 0; border-radius: clamp(22px, 3vw, 36px);
  background: var(--red); color: #fff; padding: clamp(40px, 7vw, 96px) clamp(20px, 5vw, 72px);
}
.cta-circle { position: absolute; z-index: -1; right: -12%; bottom: -60%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .1); }
.cta .eyebrow-l { color: #fff; }
.cta .l-h2 { color: #fff; max-width: 16ch; }
.cta-phone { display: inline-block; font: 800 clamp(1.9rem, 6vw, 4.2rem)/1 var(--display); letter-spacing: -.03em; color: #fff; text-decoration: none; margin-bottom: 26px; }
.cta-meta { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; font-size: 1.05rem; }
.cta-meta li { display: flex; gap: 10px; align-items: flex-start; }
.cta-meta .icon { margin-top: 1px; }
.btn.light { background: #fff; color: var(--red); border-color: #fff; }

/* ---------- Подвал ---------- */
.l-foot { max-width: var(--max); margin: 0 auto; padding: 40px clamp(16px, 4vw, 40px) 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .9rem; }
.l-foot > div { display: flex; gap: 14px; align-items: flex-start; }
.l-foot > div:last-child { flex-direction: column; gap: 4px; }
.l-foot p { margin: 0; }
.l-foot span { font-size: .8rem; }
.l-foot a { font-weight: 700; color: var(--text); }
.l-foot .brand-mark { width: 40px; height: 40px; }

/* ---------- Появление при прокрутке ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.phone[data-reveal] { transform: translateY(40px); }
.phone[data-reveal].is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .faq-item::details-content { transition: none; }
  .faq-plus::before, .faq-plus::after, .benefit::after { transition: none; }
  .lead-check { animation: none; }
  .lf-box svg { transition: none; }
  .hero-photo, .hero-photo img, .video-play { animation: none !important; clip-path: none; }
  .coach-photo img, .g-item img { transform: none !important; transition: none; }
  .hero-title .line > span, .kicker, .kicker .dot { animation: none !important; }
  .marquee-track { animation-play-state: paused; }
  [data-reveal], .phone[data-reveal] { transform: none; transition: opacity 300ms ease; }
  .belts span { transform: none; transition: none; }
}
@media (prefers-color-scheme: dark) {
  .landing { --ink: #000; }
}
.mini-badges .icon { width: 14px; height: 14px; margin-right: 4px; vertical-align: -2px; color: var(--accent); }

/* <picture> с облегчёнными WebP не меняет раскладку: стили по-прежнему видят img. */
picture { display: contents; }

/* Короткие факты и настоящее расписание: переносятся и на узком телефоне. */
.l-quick-facts {
  max-width: var(--max); margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px); list-style: none;
  display: grid; grid-template-columns: .85fr 1fr 1.4fr; gap: clamp(16px, 3vw, 36px); border-top: 1px solid var(--line);
}
.l-quick-facts li { display: flex; align-items: center; gap: 16px; min-width: 0; }
.l-quick-facts li + li { border-left: 1px solid var(--line); padding-left: clamp(16px, 3vw, 36px); }
.l-quick-icon { width: 28px; height: 28px; flex: none; color: var(--accent-text); }
.l-quick-facts strong { display: block; color: var(--text); font: 600 clamp(1rem, 1.5vw, 1.2rem)/1.35 var(--display); letter-spacing: -.025em; }
.l-quick-facts span { display: block; margin-top: 5px; color: var(--muted); font: 400 .9rem/1.45 var(--font); }
@media (max-width: 700px) {
  .l-quick-facts { grid-template-columns: 1fr; gap: 0; padding-block: 8px; }
  .l-quick-facts li { padding: 18px 0; gap: 18px; }
  .l-quick-facts li + li { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .l-quick-facts strong { font-size: 1.05rem; }
}
.l-schedule { margin: 0; padding: 8px 20px; overflow-x: auto; }
.l-schedule table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.l-schedule th, .l-schedule td { padding: 14px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.l-schedule tr:last-child > * { border-bottom: 0; }
.l-schedule thead th { padding-block: 10px; color: var(--muted); font-weight: 600; }
.l-schedule abbr { text-decoration: none; }
.l-schedule tbody th { text-align: left; font-weight: 600; padding-left: 0; }
.l-schedule-age { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; font-size: .875em; }
.l-schedule td > span { color: var(--muted); opacity: .5; }
.l-schedule time + time { display: block; }
@media (max-width: 560px) {
  .l-schedule { padding: 4px 14px; }
  .l-schedule th, .l-schedule td { padding: 12px 2px; font-size: .8125rem; }
}

.club-life-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.club-life-grid figure{margin:0;overflow:hidden;border-radius:18px;background:var(--surface-2)}.club-life-grid img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;display:block}.club-life-grid figcaption{padding:16px;font-size:16px;line-height:1.4}@media(max-width:760px){.club-life-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.club-life-grid figcaption{padding:12px;font-size:14px}}

/* Separate the account entry from the quieter document links. */
.l-foot .foot-account { display: inline-flex; align-items: center; min-height: 44px; }
.l-foot .foot-link { font-weight: 400; text-underline-offset: 3px; }

/* Match portrait framing without modifying the original photographs. */
.landing .coach-photo picture { display:block; position:absolute; width:var(--portrait-size,100%); height:var(--portrait-size,100%); left:50%; top:var(--portrait-top,0%); transform:translateX(-50%); }
.landing .coach-photo img { transform:none!important; transition:none!important; }
.landing .portrait-iksanov { --portrait-size:110%; --portrait-top:-8%; }
.landing .portrait-kozhanova { --portrait-size:125%; --portrait-top:0%; }
.landing .coach h3 { font-size:clamp(1.2rem,1.85vw,1.75rem); line-height:1.22; }
@media(min-width:761px) { .landing .coach h3 { min-height:2.44em; } .landing .coach .coach-title { min-height:3em; } }
