@import url("/assets/fonts/fonts.css");

/* ==========================================================================
   Старлайт — школа чир спорта, Челябинск
   Дизайн-система: тёмная «чернильная» база + фирменный фиолетовый из логотипа
   (#423090). Цвет держим на коротком поводке — акценты, а не заливка;
   цвет в макет приносят фотографии.
   ========================================================================== */

:root {
  /* Поверхности */
  --ink:        #08080c;
  --ink-2:      #0b0b11;
  --surface:    #101017;
  --surface-2:  #15151f;
  --line:       rgba(255, 255, 255, .08);
  --line-2:     rgba(255, 255, 255, .14);

  /* Текст */
  --text:   #ececf1;
  --text-2: #a5a5b6;
  /* Самый тихий оттенок, который всё ещё проходит WCAG AA (4.5:1) на всех
     фонах — вплоть до --surface-2. Используется для подписей 12-13px. */
  --text-3: #81819a;

  /* Фирменный фиолетовый (взят пипеткой из логотипа) */
  --violet-deep: #423090;
  --violet:      #6c5ce7;
  --violet-lift: #8f80ff;
  --violet-dim:  rgba(108, 92, 231, .16);

  --danger: #ff7a7a;

  /* Метрика */
  --max: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 72px;

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   База
   -------------------------------------------------------------------------- */

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

[hidden] { display: none !important; }

html {
  background: var(--ink);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.028em;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--violet); color: #fff; }

:focus-visible {
  outline: 2px solid var(--violet-lift);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus-visible { transform: none; }

.shell {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Типографика — утилиты
   -------------------------------------------------------------------------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: none;
  background: var(--violet-lift);
  /* четырёхлучевая «искра» — отсылка к звезде из логотипа */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.2 10.8 12 12-6.8 1.2-11.4 5.8-12 12-.6-6.2-5.2-10.8-12-12C6.8 10.8 11.4 6.2 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.2 10.8 12 12-6.8 1.2-11.4 5.8-12 12-.6-6.2-5.2-10.8-12-12C6.8 10.8 11.4 6.2 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.kicker--plain::before { display: none; }

.lede {
  max-width: 62ch;
  color: var(--text-2);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: color .2s var(--ease), border-color .2s var(--ease), gap .2s var(--ease);
}
.text-link::after { content: "→"; color: var(--violet-lift); transition: transform .2s var(--ease); }
.text-link:hover { color: #fff; border-color: var(--violet); }
.text-link:hover::after { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   Кнопки
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.button:active { transform: translateY(1px); }

.button.primary {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(108, 92, 231, .55);
}
.button.primary:hover {
  background: var(--violet-lift);
  box-shadow: 0 14px 36px -8px rgba(108, 92, 231, .7);
}

.button.ghost {
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .03);
  color: var(--text);
  backdrop-filter: blur(6px);
}
.button.ghost:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .07);
}

.button.full { width: 100%; }

/* --------------------------------------------------------------------------
   Шапка
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  min-height: var(--header-h);
  padding: 12px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.site-header.is-stuck {
  background: rgba(8, 8, 12, .78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex: none;
}
.brand__text { display: grid; min-width: 0; }
.brand__text strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.brand__text small {
  color: var(--text-3);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.2;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  backdrop-filter: blur(10px);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.site-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.site-nav a.is-active {
  color: #fff;
  background: var(--violet-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-2);
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.icon-link svg,
.icon-link img { width: 22px; height: 22px; display: block; object-fit: contain; }
.icon-link:hover {
  color: #fff;
  border-color: var(--line-2);
  background: rgba(255, 255, 255, .05);
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 42px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.phone-link svg { width: 16px; height: 16px; color: var(--violet-lift); flex: none; }
.phone-link:hover { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }

/* Бургер. Полоски позиционируем абсолютно от центра кнопки: так они
   гарантированно сходятся в крестик, не завися от того, как грид разложит
   строки (авто-строки растягиваются по высоте кнопки). */
.menu-button {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.menu-button span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin: 0;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.menu-button span:first-child { transform: translate(-50%, -50%) translateY(-3.5px); }
.menu-button span:last-child  { transform: translate(-50%, -50%) translateY(3.5px); }
.menu-button[aria-expanded="true"] span:first-child { transform: translate(-50%, -50%) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child  { transform: translate(-50%, -50%) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Секции
   -------------------------------------------------------------------------- */

.section {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-block: clamp(64px, 9vw, 120px);
}
.section--tight { padding-block: clamp(48px, 6vw, 76px); }

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.section-head__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(30px, 4.2vw, 50px); }
.section-head .lede { margin-top: 4px; }

/* Тонкая линейка с номером раздела — «редакционный» ритм */
.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
}
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

/* --------------------------------------------------------------------------
   Главный экран
   -------------------------------------------------------------------------- */

/* Главный экран: фото во всю ширину, текст поверх, вуаль под текстом. */
.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: grid;
  align-items: end;
  margin-top: calc(var(--header-h) * -1 - 12px);
  padding: calc(var(--header-h) + 90px) var(--gutter) clamp(40px, 5vw, 64px);
  isolation: isolate;
  overflow: hidden;
}
/* Подложку кладём в общий стек героя (z-index 0), а контент — поверх (z-index 1).
   Без отрицательных z-index: так слой не рискует уйти за фон предка. */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: saturate(.72) contrast(1.04) brightness(.72);
  transform: scale(1.03);
}
/* Двойная вуаль: вертикальная — под текст, боковая — чтобы кадр «дышал» */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 8, 12, .72) 0%, rgba(8, 8, 12, .28) 34%, rgba(8, 8, 12, .92) 84%, var(--ink) 100%),
    linear-gradient(90deg, rgba(8, 8, 12, .78) 0%, rgba(8, 8, 12, .1) 62%),
    radial-gradient(120% 90% at 12% 88%, rgba(66, 48, 144, .42), transparent 62%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--max), 100%);
  margin-inline: auto;
}
.hero__content { max-width: 780px; }
.hero h1 {
  margin: 18px 0 0;
  font-size: clamp(52px, 9.5vw, 118px);
  line-height: .9;
  letter-spacing: -.045em;
}
.hero__sub {
  max-width: 32ch;
  margin-top: 22px;
  color: var(--text-2);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 27px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
  text-wrap: balance;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

/* Полоса фактов — вынута из реальных достижений школы */
.hero__stats {
  width: min(var(--max), 100%);
  margin: clamp(44px, 5vw, 64px) auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.hero__stats div {
  padding: 20px 22px;
  background: rgba(12, 12, 18, .74);
}
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero__stats span {
  display: block;
  margin-top: 5px;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Направления и широкая фотополоса
   -------------------------------------------------------------------------- */

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.discipline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.discipline:hover { border-color: var(--line-2); background: var(--surface-2); }
.discipline__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--violet-dim);
  color: var(--violet-lift);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
}
.discipline h3 { font-size: 19px; letter-spacing: -.02em; }
.discipline p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.discipline__note {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 13.5px;
}

/* Фотополоса во всю ширину — даёт странице дыхание между тёмными блоками */
.band {
  position: relative;
  height: clamp(240px, 34vw, 460px);
  margin-block: clamp(8px, 2vw, 24px);
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 12, .92), rgba(8, 8, 12, .12) 52%, rgba(8, 8, 12, .55)),
    linear-gradient(180deg, rgba(8, 8, 12, .5), transparent 30%, rgba(8, 8, 12, .5));
}
.band__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 1;
}
.band__text {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.band__text p {
  max-width: 17ch;
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.12;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Шапка внутренних страниц
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
  padding-block: clamp(48px, 7vw, 92px) clamp(28px, 3vw, 44px);
}
.page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -.04em;
  max-width: 20ch;
}
.page-hero .lede { margin-top: 22px; }
.page-hero::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: clamp(32px, 4vw, 48px);
  background: linear-gradient(90deg, var(--violet), var(--line), transparent 72%);
}

/* --------------------------------------------------------------------------
   Три опоры (Сила / Команда / Сцена)
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pillar {
  position: relative;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet), transparent);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.pillar:hover { transform: translateY(-3px); border-color: var(--line-2); }
.pillar:hover::before { opacity: .8; }
.pillar__num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--violet-lift);
}
.pillar h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  letter-spacing: -.02em;
}
.pillar p { color: var(--text-2); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   Раскладка «текст + панель»
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}
.split--narrow { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.split h2 { font-size: clamp(28px, 3.6vw, 44px); }
.split .lede { margin-top: 20px; }
.split .text-link { margin-top: 28px; }

/* --------------------------------------------------------------------------
   Хронология достижений
   -------------------------------------------------------------------------- */

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
  padding: 17px 0 17px 0;
  border-bottom: 1px solid var(--line);
}
.timeline li:first-child { padding-top: 0; }
.timeline li:last-child { border-bottom: 0; }
.timeline time {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-3);
  letter-spacing: -.01em;
  padding-top: 1px;
  transition: color .2s var(--ease);
}
.timeline li:hover time { color: var(--violet-lift); }
.timeline p {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
}
.timeline li.is-highlight p { color: var(--text); font-weight: 500; }
.timeline li.is-highlight time { color: var(--violet-lift); }

/* Компактный список с «искрой» вместо маркера */
.star-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.star-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.55;
}
.star-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 11px;
  height: 11px;
  background: var(--violet);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.2 10.8 12 12-6.8 1.2-11.4 5.8-12 12-.6-6.2-5.2-10.8-12-12C6.8 10.8 11.4 6.2 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.2 10.8 12 12-6.8 1.2-11.4 5.8-12 12-.6-6.2-5.2-10.8-12-12C6.8 10.8 11.4 6.2 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.section-head__hint { color: var(--text-3); font-size: 13.5px; }

/* Клубы: живое фото + список партнёрств.
   Фото закрывает пустоту, которая раньше оставалась справа от текста. */
.club-stack { display: grid; gap: 16px; }
.club-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.club-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 30%;
}

/* Панель с клубами */
.club-panel {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.club-panel article {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: var(--surface);
}
.club-panel h3 { font-size: 17px; letter-spacing: -.01em; }
.club-panel p { color: var(--text-3); font-size: 13.5px; margin-top: 4px; }
.club-panel time {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--violet-lift);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Тренеры
   -------------------------------------------------------------------------- */

.coach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.coach-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.coach-card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.coach-card a { text-decoration: none; display: block; }
.coach-card__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}
.coach-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(.85);
  transition: transform .5s var(--ease), filter .3s var(--ease);
}
.coach-card:hover .coach-card__photo img { transform: scale(1.04); filter: saturate(1); }
.coach-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
}
.coach-card__body h3 { font-size: 19px; letter-spacing: -.02em; }
.coach-card__body p { color: var(--text-3); font-size: 13.5px; margin-top: 3px; }
.coach-card__body span {
  color: var(--violet-lift);
  font-size: 18px;
  transition: transform .2s var(--ease);
  flex: none;
}
.coach-card:hover .coach-card__body span { transform: translateX(3px); }

/* Карточка тренера — страница */
.coach-profile {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 5vw, 68px);
  align-items: start;
}
/* У каждого тренера ровно одно пригодное фото — показываем его крупно,
   без дублей и без «заглушек». */
.coach-profile__media {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  margin: 0;
}
.coach-profile__media img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 50% 20%;
  aspect-ratio: 4 / 5;
  filter: saturate(.92);
}
.coach-profile__copy p { color: var(--text-2); font-size: 16.5px; }
.coach-profile__copy > p + p { margin-top: 14px; }
.coach-profile__copy h2 {
  margin: 40px 0 22px;
  font-size: clamp(22px, 2.4vw, 28px);
}
.coach-profile__copy .button { margin-top: 40px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .01em;
}

/* --------------------------------------------------------------------------
   Прайс
   -------------------------------------------------------------------------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--ink-2));
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.price-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.price-card.is-featured {
  border-color: rgba(108, 92, 231, .42);
  background: linear-gradient(180deg, rgba(66, 48, 144, .2), var(--ink-2) 62%);
}
/* Заголовок и бейдж — в одной строке. min-height держит карточки
   без бейджа на той же высоте, чтобы цены выстроились по одной линии. */
.price-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
}
.price-card__badge {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  white-space: nowrap;
}
.price-card h3 { font-size: 18px; letter-spacing: -.01em; color: var(--text); }
.price-card__cost {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 18px 0 14px;
}
.price-card__cost strong {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.price-card__cost span { color: var(--text-3); font-size: 14px; }
.price-card p { color: var(--text-2); font-size: 15px; flex: 1; }
.price-card .button { margin-top: 26px; }

.price-note {
  margin-top: 22px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--violet);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-2);
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Галерея
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery button {
  position: relative;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
}
.gallery button:nth-child(1),
.gallery button:nth-child(8) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) brightness(.94);
  transition: transform .5s var(--ease), filter .35s var(--ease);
}
.gallery button:hover img { transform: scale(1.05); filter: saturate(1) brightness(1); }

/* Лайтбокс */
/* display задаём только для открытого диалога: авторский стиль перебивает
   встроенное правило dialog:not([open]) { display: none } */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  place-items: center;
  padding: clamp(16px, 4vw, 48px);
  border: 0;
  background: rgba(5, 5, 8, .94);
  backdrop-filter: blur(8px);
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(5, 5, 8, .9); }
.lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: rgba(20, 20, 30, .8);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--violet); border-color: var(--violet); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__count {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-3);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   Залы / контакты
   -------------------------------------------------------------------------- */

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
}
.venue {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.venue:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 92, 231, .4);
  background: var(--surface-2);
}
.venue__name {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--violet-lift);
}
.venue__addr { color: var(--text); font-size: 16.5px; font-weight: 500; line-height: 1.4; }
.venue__map {
  margin-top: auto;
  padding-top: 12px;
  color: var(--text-3);
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.venue:hover .venue__map { color: var(--text-2); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 44px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.contact-card:hover { border-color: var(--line-2); background: var(--surface-2); }
.contact-card__label {
  color: var(--text-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.contact-card__hint { color: var(--text-3); font-size: 13.5px; }

/* --------------------------------------------------------------------------
   Таблицы
   -------------------------------------------------------------------------- */

.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 480px; }
thead th {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
  color: var(--text-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}
tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--text-2);
  font-size: 15px;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .18s var(--ease); }
tbody tr:hover { background: rgba(255, 255, 255, .028); }
tbody td:first-child {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
td a { color: var(--violet-lift); text-decoration: none; }
td a:hover { text-decoration: underline; }
.is-ours td { background: rgba(108, 92, 231, .09); }
.is-ours td:first-child { color: var(--violet-lift); }
.is-ours td:nth-child(2) { color: var(--text); font-weight: 600; }

/* Фильтр тайминга */
.table-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.table-toolbar input {
  flex: 1;
  min-width: 220px;
  max-width: 360px;
}
.table-toolbar__count { color: var(--text-3); font-size: 14px; }

/* --------------------------------------------------------------------------
   Документы
   -------------------------------------------------------------------------- */

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.doc-list { display: grid; gap: 14px; }
.doc-link {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.doc-link:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 92, 231, .4);
  background: var(--surface-2);
}
.doc-link__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--violet-dim);
  color: var(--violet-lift);
}
.doc-link__icon svg { width: 20px; height: 20px; }
.doc-link strong { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.45; }
.doc-link small { color: var(--text-3); font-size: 13px; }
.doc-link__go { color: var(--text-3); font-size: 17px; }

.requisites {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.requisites h2 { font-size: 20px; margin-bottom: 4px; }
.requisites > p { color: var(--text-3); font-size: 13.5px; }
.requisites dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.requisites dt { color: var(--text-3); font-size: 13.5px; }
.requisites dd {
  margin: 0;
  color: var(--text);
  font-size: 14.5px;
  font-variant-numeric: tabular-nums;
  word-break: break-word;
}
.requisites dd a { color: var(--violet-lift); text-decoration: none; }
.requisites dd a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Формы / оплата
   -------------------------------------------------------------------------- */

.pay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.pay-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pay-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text-2);
  font-size: 13.5px;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--ink-2);
  color: var(--text);
  font: inherit;
  font-size: 15.5px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
input::placeholder { color: var(--text-3); }
select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2381819a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px var(--violet-dim);
}
input:user-invalid { border-color: var(--danger); }

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--violet-lift);
  font-size: 14px;
}
.form-status.error { color: var(--danger); }

.pay-aside { display: grid; gap: 16px; }
.pay-summary {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(66, 48, 144, .18), var(--ink-2) 70%);
}
.pay-summary h2 { font-size: 18px; margin-bottom: 16px; }
.pay-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--line-2);
}
.pay-summary__total span { color: var(--text-3); font-size: 14px; }
.pay-summary__total strong {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.pay-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.pay-steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--text-2);
  font-size: 14.5px;
  counter-increment: step;
}
.pay-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--violet-dim);
  color: var(--violet-lift);
  font-size: 12px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Финальный призыв
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin: 0 auto clamp(64px, 8vw, 100px);
  padding: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(90% 130% at 12% 8%, rgba(66, 48, 144, .5), transparent 58%),
    linear-gradient(180deg, var(--surface), var(--ink-2));
  overflow: hidden;
}
.cta__inner { position: relative; max-width: 620px; }
.cta h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 18px 0 0; }
.cta p { margin-top: 18px; color: var(--text-2); font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* Крупная «искра» как фоновая графика */
.cta__star {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 380px;
  height: 380px;
  background: linear-gradient(160deg, rgba(143, 128, 255, .16), transparent 62%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.2 10.8 12 12-6.8 1.2-11.4 5.8-12 12-.6-6.2-5.2-10.8-12-12C6.8 10.8 11.4 6.2 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.6 6.2 5.2 10.8 12 12-6.8 1.2-11.4 5.8-12 12-.6-6.2-5.2-10.8-12-12C6.8 10.8 11.4 6.2 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Подвал
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-2);
}
.footer-top {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-block: clamp(48px, 6vw, 72px);
}
.footer-brand-block p {
  margin-top: 20px;
  max-width: 42ch;
  color: var(--text-3);
  font-size: 15px;
}
.site-footer h2 {
  margin-bottom: 20px;
  color: var(--text-3);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer-links { display: grid; gap: 11px; align-content: start; }
.footer-links a {
  color: var(--text-2);
  font-size: 15px;
  text-decoration: none;
  width: fit-content;
  transition: color .2s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-contact { display: grid; gap: 16px; align-content: start; }
.footer-contact a {
  display: grid;
  gap: 2px;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: color .2s var(--ease);
}
.footer-contact a small {
  color: var(--text-3);
  font-size: 12.5px;
  font-weight: 400;
}
.footer-contact a:hover { color: var(--violet-lift); }

.footer-bottom {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}
.footer-bottom small { color: var(--text-3); font-size: 13px; }

/* --------------------------------------------------------------------------
   Появление при скролле
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-button { display: block; }

  .site-header {
    grid-template-columns: auto 1fr;
    row-gap: 0;
  }
  .site-header .header-actions { justify-self: end; }

  /* Раскрытое мобильное меню.
     Меню — грид-элемент шапки, а для абсолютно спозиционированного грид-элемента
     containing block — это его грид-ячейка (узкая средняя колонка), из-за чего
     left/right: 0 схлопывали панель. Растягиваем ячейку на все колонки
     (grid-column: 1 / -1) и вылезаем за паддинги шапки отрицательным inset,
     чтобы панель шла от края до края. */
  .site-nav.is-open {
    position: absolute;
    grid-column: 1 / -1;
    /* justify-self: center с десктопной «таблетки» продолжает действовать и на
       абсолютном грид-элементе: коробка сжимается по контенту и центрируется,
       игнорируя inset. Возвращаем растяжение. */
    justify-self: stretch;
    top: 100%;
    inset-inline: calc(var(--gutter) * -1);
    z-index: 39;
    display: grid;
    gap: 2px;
    padding: 14px var(--gutter) 22px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(8, 8, 12, .97);
    backdrop-filter: blur(20px);
    animation: nav-in .22s var(--ease);
  }
  .site-nav.is-open a {
    justify-content: flex-start;
    min-height: 50px;
    padding: 0 16px;
    border-radius: var(--radius-sm);
    font-size: 16px;
  }
  @keyframes nav-in {
    from { opacity: 0; transform: translateY(-8px); }
  }

  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .discipline-grid { grid-template-columns: 1fr; }
  .split,
  .split--narrow,
  .doc-layout,
  .pay-layout,
  .coach-profile { grid-template-columns: 1fr; }
  .coach-profile__media { position: static; max-width: 460px; }
  .pillars { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand-block { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gallery button:nth-child(8) { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  .phone-link span { display: none; }
  .phone-link { width: 42px; padding: 0; justify-content: center; }
  .phone-link svg { width: 18px; height: 18px; }
  .brand__text small { display: none; }

  /* Кнопки не помещаются в строку: у .button стоит white-space: nowrap,
     поэтому на узких экранах раскладываем их столбцом во всю ширину. */
  .hero__actions,
  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .button,
  .cta__actions .button { width: 100%; }
  .hero { min-height: 620px; }
  .hero__media img { object-position: 25% 32%; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .hero__stats div { padding: 16px 18px; }
  .discipline { grid-template-columns: 1fr; gap: 14px; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery button:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }

  .pay-form__row { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 14px; }
  .club-panel article { flex-direction: column; align-items: flex-start; gap: 6px; }
  .footer-top { grid-template-columns: 1fr; }
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav.prev { left: 8px; }
  .lightbox__nav.next { right: 8px; }
  .requisites dl { grid-template-columns: 1fr; gap: 4px 0; }
  .requisites dd { margin-bottom: 10px; }
}

@media (max-width: 420px) {
  .hero__stats { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Печать и доступность
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js-ready [data-reveal] { opacity: 1; transform: none; }
}
