/* BatyrPro.cy — стили сайта
   Собраны из макета BatyrPro Home.dc.html. Значения цветов, размеров и
   таймингов перенесены один в один; изменилась только форма записи:
   вместо инлайновых style/style-hover — классы и настоящие :hover.

   Museo Sans Cyrl нет в Google Fonts. Пока подставляется Mulish той же
   насыщенности. Если появятся лицензионные файлы — положить их в
   /public/fonts и добавить @font-face, класс менять не придётся. */

:root {
  --bg:        #0a0a0a;
  --bg-alt:    #1a1a1a;
  --bg-deep:   #050505;
  --bg-tile:   #151515;
  --bg-field:  #121212;

  --ink:       #f0ece4;
  --ink-2:     #d6d1c8;
  --muted:     #9a9590;
  --dim:       #6b6560;

  --accent:      #c8a87c;
  --accent-soft: #dcc19a;

  --line:      #2a2a2a;
  --line-2:    #2f2f2f;
  --line-3:    #333;
  --line-soft: #1f1f1f;

  --display: 'Museo Sans Cyrl', 'Museo Sans', Mulish, sans-serif;
  --body:    'Source Sans 3', sans-serif;
  --serif:   'Playfair Display', Georgia, serif;

  --gutter: max(80px, calc((100% - 1280px) / 2));
  --header-h: 72px;

  --ease:  cubic-bezier(.4, 0, .2, 1);
  --ease-o: cubic-bezier(.22, .61, .36, 1);
}

/* ─────────────────────────────────────────────────────────────  base  ── */

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

/* Правило браузера для hidden слабее любого нашего display,
   поэтому усиливаем его один раз — иначе скрытое всплывает. */
[hidden] { display: none !important; }

html { scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
  overflow-x: clip;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; }
input, button, select, textarea { font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent) !important; }
::placeholder { color: var(--dim); opacity: 1; }
::selection { background: var(--accent); color: var(--bg); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn  { from { opacity: 0; transform: translateY(10px) scale(.985) } to { opacity: 1; transform: none } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ───────────────────────────────────────────────────────────  layout  ── */

.section { padding: 140px var(--gutter) 150px; background: var(--bg); }
.section--alt { background: var(--bg-alt); }
.section--flush { padding-left: 0; padding-right: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; }

/* ─────────────────────────────────────────────────────────  typography ── */

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ''; display: block; width: 22px; height: 1px; background: var(--accent); }

.h2 {
  margin: 0; font-family: var(--display); font-weight: 900;
  font-size: 64px; line-height: 1; letter-spacing: -.025em; color: var(--ink);
}

.lead { margin: 0; font-size: 17px; line-height: 1.55; color: var(--muted); }

.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 72px;
}
.sec-head__title { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }

.head-grid {
  display: grid; grid-template-columns: 1fr 480px; gap: 96px;
  align-items: end; margin-bottom: 64px;
}
.head-grid .lead { margin-bottom: 6px; }

/* ─────────────────────────────────────────────────────────────  media ── */

/* Слот изображения: когда картинки нет, показывает подпись вместо пустоты. */
.media { position: absolute; inset: 0; overflow: hidden; background: var(--bg-tile); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--empty {
  display: flex; align-items: center; justify-content: center; padding: 24px;
  border: 1px dashed #3a3a3a; text-align: center;
  font-size: 13px; line-height: 1.45; color: var(--dim);
}
.media-zoom { position: absolute; inset: 0; transition: transform .9s var(--ease-o); }
.media-zoom > .media { position: absolute; inset: 0; }

/* ───────────────────────────────────────────────────────────  buttons ── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; font-family: var(--display); font-weight: 900;
  font-size: 14px; cursor: pointer; border: 0;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.btn--primary { background: var(--accent); color: var(--bg); padding: 19px 28px; }
.btn--primary:hover { background: var(--accent-soft); color: var(--bg); }
.btn--ghost {
  background: none; color: var(--ink);
  border: 1px solid rgba(240, 236, 228, .3); padding: 18px 26px;
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 17px 26px; }
.btn--block { width: 100%; }

.link-arrow {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--display); font-weight: 900; font-size: 14px;
  color: var(--accent); transition: color .3s var(--ease);
}
.link-arrow:hover { color: var(--ink); }

.link-underline {
  font-family: var(--display); font-weight: 900; font-size: 14px;
  color: var(--accent); padding-bottom: 6px;
  border-bottom: 1px solid rgba(200, 168, 124, .35);
  transition: color .3s var(--ease);
}
.link-underline:hover { color: var(--ink); }

.dot { display: block; width: 4px; height: 4px; background: var(--accent); flex: none; }
.dot--round { width: 7px; height: 7px; border-radius: 50%; }
.dot--sm { width: 5px; height: 5px; }

/* ────────────────────────────────────────────────────────────  header ── */

.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h); margin-bottom: calc(-1 * var(--header-h));
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
}
.header.is-solid {
  background: rgba(10, 10, 10, .78);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 28px; }

.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  font-family: var(--display); font-weight: 500; font-size: 13px;
  color: var(--ink); transition: color .3s var(--ease);
}
.nav a:hover, .nav a[aria-current='page'] { color: var(--accent); }

.header__right { display: flex; align-items: center; gap: 28px; }

.lang { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: .08em; }
.lang a { color: var(--muted); transition: color .3s var(--ease); }
.lang a:hover { color: var(--ink); }
.lang a.is-active { color: var(--ink); }
.lang span { color: var(--dim); }

.header .btn--primary { padding: 12px 22px; font-size: 13px; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -10px;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  background: none; border: 0; cursor: pointer;
}
.burger i { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.burger[aria-expanded='true'] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded='true'] i:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 35;
  background: rgba(10, 10, 10, .97); backdrop-filter: blur(20px);
  padding: 104px 24px 36px; display: flex; flex-direction: column; overflow: auto;
  animation: fadeIn .3s ease-out both;
}
.menu[hidden] { display: none; }
.menu a.menu__link {
  font-family: var(--display); font-weight: 900; font-size: 36px; letter-spacing: -.02em;
  color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease);
}
.menu a.menu__link:hover { color: var(--accent); }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 22px; padding-top: 40px; }
.menu__foot .btn--primary { font-size: 15px; }

/* ──────────────────────────────────────────────────────────────  hero ── */

.hero {
  position: relative; height: clamp(920px, 56vw, 1080px);
  overflow: hidden; background: var(--bg); padding: 0;
}
.hero__sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 160px; pointer-events: none; }

.hero__img { position: absolute; inset: 0; }
.hero__img .media { position: absolute; inset: 0; }

.hero__scrim, .hero__scrim-v { position: absolute; inset: 0; pointer-events: none; }
.hero__scrim {
  background: linear-gradient(90deg, rgba(10,10,10,.1) 0%, rgba(10,10,10,.08) 34%,
              rgba(10,10,10,.7) 60%, rgba(10,10,10,.84) 100%);
}
.hero__scrim-v {
  background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 24%,
              rgba(10,10,10,0) 52%, rgba(10,10,10,.92) 84%, #0a0a0a 100%);
}

.hero__ornament {
  position: absolute; right: -140px; top: -100px;
  width: 760px; height: 760px; opacity: .06; pointer-events: none;
}

.hero__text {
  position: absolute; left: calc(50% - 80px); width: 720px; top: 136px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 30px;
  pointer-events: none;
}
.hero__text .hero__ctas { pointer-events: auto; }

.hero__h1 {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: 80px;
  line-height: .97; letter-spacing: -.025em; color: var(--ink);
}
.hero__sub { margin: 0; max-width: 470px; font-size: 18px; line-height: 1.5; color: var(--ink-2); }
.hero__ctas { display: flex; gap: 14px; margin-top: 6px; }

/* split-раскладка: фото справа от центра, текст в левой половине */
.hero--split .hero__img,
.hero--split .hero__scrim { left: calc(50% + 40px); right: 0; top: 0; bottom: 0; inset: auto; }
.hero--split .hero__scrim {
  background: linear-gradient(90deg, #0a0a0a 0%, rgba(10,10,10,.6) 18%, rgba(10,10,10,0) 45%);
}
.hero--split .hero__scrim-v {
  background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 22%,
              rgba(10,10,10,0) 60%, #0a0a0a 100%);
}
.hero--split .hero__ornament { right: auto; left: calc(50% - 200px); top: -60px; width: 820px; height: 820px; opacity: .07; }
.hero--split .hero__text { left: calc(50% - 640px); width: 640px; top: 150px; pointer-events: auto; }

.hero__strip {
  position: absolute; left: calc(50% - 640px); width: 1280px; bottom: 52px; z-index: 2;
  display: grid; grid-template-columns: 210px 1fr auto auto; align-items: center;
  gap: 40px; padding-top: 22px; border-top: 1px solid rgba(240, 236, 228, .18);
}
.hero__strip-label {
  font-weight: 600; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.hero__strip-event { display: flex; align-items: baseline; gap: 22px; }
.hero__strip-name {
  font-family: var(--display); font-weight: 900; font-size: 24px;
  letter-spacing: -.01em; color: var(--ink);
}
.hero__strip-when { font-size: 16px; color: var(--ink-2); }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.status i { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200, 168, 124, .18); }
.status--closed { color: var(--muted); }
.status--closed i { background: var(--dim); box-shadow: none; }

/* ─────────────────────────────────────────────────────────────  about ── */

.about { padding-top: 170px; display: grid; grid-template-columns: 560px 1fr; gap: 0 96px; }
.about__left { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.about__photo { position: relative; width: 560px; height: 400px; margin-top: 44px; overflow: hidden; }
.about__caption {
  font-weight: 600; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-top: -12px;
}
.about__right { display: flex; flex-direction: column; padding-top: 14px; }
.about__lead {
  margin: 0 0 56px; font-size: 26px; line-height: 1.38;
  color: var(--ink); text-wrap: pretty;
}

.thesis {
  display: grid; grid-template-columns: 56px 230px 1fr; gap: 0 24px;
  padding: 24px 0; border-top: 1px solid var(--line);
  color: inherit; align-items: baseline; transition: background .3s var(--ease);
}
.thesis:hover { background: rgba(255, 255, 255, .015); color: inherit; }
.thesis__n { font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.thesis__title {
  font-family: var(--display); font-weight: 900; font-size: 22px;
  letter-spacing: -.01em; color: var(--ink); line-height: 1.1;
}
.thesis__copy { font-size: 16px; line-height: 1.5; color: var(--muted); }
.rule { border-top: 1px solid var(--line); }
.rule--2 { border-top-color: var(--line-2); }

/* ──────────────────────────────────────────────────────────  programs ── */

.prog-grid { display: grid; grid-template-columns: 1fr 480px; gap: 0 96px; align-items: start; }
.prog-list { display: flex; flex-direction: column; }

.prog-row {
  display: grid; grid-template-columns: 56px 1fr 48px; gap: 0 24px;
  padding: 40px 0; border-top: 1px solid var(--line-2);
  cursor: pointer; text-align: left; background: none; border-left: 0; border-right: 0; border-bottom: 0;
  color: inherit; transition: background .3s var(--ease); width: 100%;
}
.prog-row:hover { background: rgba(255, 255, 255, .02); }
.prog-row__n { font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--accent); padding-top: 12px; }
.prog-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.prog-row__kicker {
  font-weight: 600; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.prog-row__title {
  font-family: var(--display); font-weight: 900; font-size: 52px; line-height: 1;
  letter-spacing: -.025em; color: var(--ink); transition: color .3s var(--ease);
}
.prog-row.is-active .prog-row__title, .prog-row:hover .prog-row__title { color: var(--accent); }
.prog-row__copy { font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 460px; }
.prog-row__meta {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 6px;
  font-size: 14px; color: var(--ink);
}
.prog-row__meta .muted { color: var(--muted); }
.prog-row__arrow {
  font-family: var(--display); font-weight: 500; font-size: 30px;
  color: var(--accent); padding-top: 34px; text-align: right;
}

.prog-preview {
  position: sticky; top: 112px; width: 480px; height: 620px;
  overflow: hidden; background: var(--bg);
}
.prog-preview__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s var(--ease-o);
}
.prog-preview__img.is-active { opacity: 1; }
.prog-preview__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.85) 100%);
}
.prog-preview__cap {
  position: absolute; left: 28px; right: 28px; bottom: 26px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.prog-preview__cap span:first-child {
  font-weight: 600; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.prog-preview__cap span:last-child {
  font-weight: 600; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}

/* ────────────────────────────────────────────────────────────  events ── */

.event-list { display: flex; flex-direction: column; }
.event-row {
  display: grid; grid-template-columns: 200px 1fr 170px 130px 230px 170px;
  align-items: center; gap: 0 24px; padding: 30px 0;
  border-top: 1px solid var(--line); transition: background .3s var(--ease);
}
.event-row:hover { background: rgba(255, 255, 255, .02); }
.event-row__date { display: flex; align-items: baseline; gap: 12px; }
.event-row__day {
  font-family: var(--display); font-weight: 900; font-size: 46px;
  line-height: 1; letter-spacing: -.03em; color: var(--ink); white-space: nowrap;
}
.event-row__mon {
  font-weight: 600; font-size: 13px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent);
}
.event-row__title {
  font-family: var(--display); font-weight: 900; font-size: 26px;
  letter-spacing: -.015em; color: var(--ink);
}
.event-row__type {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.event-row__city { font-size: 16px; color: var(--ink); }
.event-row__status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.event-row__status.is-closed { color: var(--muted); }
.event-row .link-arrow { justify-self: end; }
.event-empty { padding: 72px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 19px; color: var(--muted); }
.section__foot { margin-top: 56px; }

/* ───────────────────────────────────────────────────────────  trainer ── */

.trainer { position: relative; min-height: 1000px; background: var(--bg-alt); overflow: hidden; padding: 0; }
.trainer__portrait { position: absolute; left: calc(50% + 40px); right: 0; top: 0; bottom: 0; }
.trainer__portrait .media { position: absolute; inset: 0; }
.trainer__grad-h, .trainer__grad-v { position: absolute; pointer-events: none; }
.trainer__grad-h {
  left: calc(50% + 40px); right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, #1a1a1a 0%, rgba(26,26,26,.9) 22%,
              rgba(26,26,26,0) 62%, rgba(26,26,26,0) 88%, rgba(26,26,26,.55) 100%);
}
.trainer__grad-v {
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,.4) 0%, rgba(26,26,26,0) 25%,
              rgba(26,26,26,0) 70%, #1a1a1a 100%);
}
.trainer__head {
  position: absolute; left: calc(50% - 640px); top: 130px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
}
.trainer__name {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: 108px;
  line-height: .94; letter-spacing: -.035em; color: var(--ink); white-space: nowrap;
}
.trainer__role { font-size: 17px; color: var(--muted); margin-top: -6px; }
.trainer__body {
  position: absolute; left: calc(50% - 640px); top: 420px; width: 540px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 30px;
}
.trainer__quote {
  margin: 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 30px; line-height: 1.32; color: var(--ink); text-wrap: pretty;
}
.trainer__bio { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 500px; }
.trainer__stats {
  display: flex; gap: 56px; padding-top: 28px;
  border-top: 1px solid var(--line-3); width: 100%; flex-wrap: wrap;
}
.trainer__stat { display: flex; flex-direction: column; gap: 6px; }
.trainer__stat b {
  font-family: var(--display); font-weight: 900; font-size: 44px;
  line-height: 1; letter-spacing: -.03em; color: var(--accent);
}
.trainer__stat span {
  font-weight: 600; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}
.trainer__facts {
  position: absolute; left: calc(50% - 20px); top: 426px; width: 290px;
  display: flex; flex-direction: column;
}
.trainer__facts h3 {
  margin: 0; font-weight: 600; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
  padding-bottom: 16px; border-bottom: 1px solid var(--line-3);
}
.trainer__facts li {
  display: flex; gap: 14px; align-items: flex-start; padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  font-size: 14px; line-height: 1.4; color: var(--ink-2);
}
.trainer__facts ul { margin: 0; padding: 0; list-style: none; }
.trainer__facts li i { display: block; flex: none; width: 5px; height: 5px; margin-top: 7px; background: var(--accent); }

/* ─────────────────────────────────────────────────────────  community ── */

.community { padding-top: 150px; }
.act-tags {
  margin: 0 0 64px; font-family: var(--display); font-weight: 900; font-size: 40px;
  line-height: 1.3; letter-spacing: -.02em; color: var(--ink); text-wrap: balance;
}
.act-tags i { font-style: normal; color: var(--accent); }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 244px; gap: 16px; }
.tile { position: relative; overflow: hidden; background: var(--bg-tile); color: inherit; }
.tile:hover .media-zoom { transform: scale(1.03); }
.tile:hover { color: inherit; }
.tile__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,10,10,.82) 100%);
}
.tile--big .tile__scrim { background: linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.82) 100%); }
.tile__cap {
  position: absolute; left: 24px; right: 24px; pointer-events: none;
  display: flex; flex-direction: column; gap: 4px;
}
.tile__cap--top { top: 22px; }
.tile__cap--bottom { bottom: 22px; }
.tile--big .tile__cap { left: 28px; right: 28px; gap: 6px; }
.tile--big .tile__cap--bottom { bottom: 26px; }
.tile__title {
  font-family: var(--display); font-weight: 900; font-size: 24px;
  letter-spacing: -.015em; color: var(--ink);
}
.tile--big .tile__title { font-size: 28px; }
.tile__copy { font-size: 13px; color: var(--ink-2); }
.tile--big .tile__copy { font-size: 14px; }

/* ───────────────────────────────────────────────────────────  reviews ── */

.filters { display: flex; gap: 8px; padding-bottom: 6px; flex-wrap: wrap; }
.filter {
  background: transparent; color: var(--ink); border: 1px solid #3a3a3a;
  border-radius: 17px; padding: 9px 16px; font-family: var(--display);
  font-weight: 500; font-size: 12px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter:hover { border-color: var(--accent); }
.filter.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.video-item { display: flex; flex-direction: column; gap: 18px; }
.video-item--offset { margin-top: 56px; }
.video-tile {
  position: relative; height: 520px; overflow: hidden;
  background: var(--bg); cursor: pointer; width: 100%; border: 0; padding: 0; display: block;
}
.video-tile:hover .media-zoom { transform: scale(1.03); }
.video-tile__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.1) 0%, rgba(10,10,10,.35) 100%);
}
.video-tile__play {
  position: absolute; left: 50%; top: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%; border: 1px solid rgba(240, 236, 228, .7);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; background: rgba(10, 10, 10, .25);
}
.video-tile__dur {
  position: absolute; left: 18px; top: 18px; font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink); pointer-events: none;
}
.video-item__name {
  font-family: var(--display); font-weight: 900; font-size: 19px;
  letter-spacing: -.01em; color: var(--ink);
}
.video-item__meta { font-size: 14px; color: var(--muted); }

.text-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 110px; }
.text-item {
  display: flex; flex-direction: column; gap: 22px;
  padding: 0 40px 0 40px; border-left: 1px solid var(--line-2);
}
.text-item:first-child { padding-left: 0; border-left-color: transparent; }
.text-item__quote {
  font-family: var(--display); font-weight: 900; font-size: 56px;
  line-height: .6; color: var(--accent);
}
.text-item p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.text-item__who { display: flex; flex-direction: column; gap: 5px; margin-top: 6px; }
.text-item__name { font-family: var(--display); font-weight: 900; font-size: 16px; color: var(--ink); }
.text-item__meta {
  font-weight: 600; font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

.reviews-empty {
  padding: 96px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.reviews-empty[hidden] { display: none; }
.reviews-empty b {
  font-family: var(--display); font-weight: 900; font-size: 28px;
  letter-spacing: -.015em; color: var(--ink);
}
.reviews-empty span { font-size: 16px; color: var(--muted); }

/* ──────────────────────────────────────────────────────────────  news ── */

.news-grid { display: grid; grid-template-columns: 1fr 464px; gap: 0 96px; align-items: start; }
.news-hero { display: flex; flex-direction: column; gap: 22px; color: inherit; }
.news-hero:hover { color: inherit; }
.news-hero__img { position: relative; height: 440px; overflow: hidden; background: var(--bg-tile); }
.news-hero:hover .media-zoom { transform: scale(1.03); }
.news-meta {
  font-weight: 600; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.news-hero__title {
  font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1.08;
  letter-spacing: -.02em; color: var(--ink); max-width: 600px;
}
.news-hero__copy { font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 560px; }
.news-read { font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--accent); }

.news-side { display: flex; flex-direction: column; }
.news-item {
  display: flex; flex-direction: column; gap: 14px; padding: 32px 0;
  border-top: 1px solid var(--line); color: inherit; transition: background .3s var(--ease);
}
.news-item:hover { background: rgba(255, 255, 255, .02); color: inherit; }
.news-item__title {
  font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1.1;
  letter-spacing: -.02em; color: var(--ink);
}
.news-item__copy { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ─────────────────────────────────────────────────────────  instagram ── */

.instagram { padding: 40px 0 0; }
.instagram .sec-head { padding: 0 var(--gutter) 40px; margin-bottom: 0; }
.instagram .sec-head__title { gap: 18px; }
.instagram__heading {
  font-family: var(--display); font-weight: 900; font-size: 34px;
  line-height: 1; letter-spacing: -.02em; color: var(--ink);
}
.ig-grid { display: grid; grid-template-columns: 1.25fr .9fr 1.1fr .8fr 1.15fr .95fr; gap: 4px; height: 340px; }
.ig-cell { position: relative; overflow: hidden; background: var(--bg-tile); }
.ig-cell:hover .media-zoom { transform: scale(1.04); }

/* ───────────────────────────────────────────────────────────  cta/end ── */

.final { position: relative; height: 780px; overflow: hidden; background: var(--bg); padding: 0; }
.final__bg { position: absolute; inset: 0; }
.final__bg .media { position: absolute; inset: 0; }
.final__scrim { position: absolute; inset: 0; pointer-events: none; background: rgba(10, 10, 10, .62); }
.final__scrim-v {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, #0a0a0a 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 70%, #0a0a0a 100%);
}
.final__content {
  position: absolute; left: calc(50% - 640px); width: 1280px; top: 150px;
  display: grid; grid-template-columns: 1fr 440px; gap: 120px; align-items: start;
}
.final__left { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
.final__h2 {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: 68px;
  line-height: .98; letter-spacing: -.03em; color: var(--ink); max-width: 720px;
}
.final__when {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-weight: 600; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.final__left .btn { margin-top: 10px; }

.inline-form { display: flex; flex-direction: column; gap: 26px; padding-top: 8px; }
.inline-form__note { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.inline-form input {
  background: transparent; border: 0; border-bottom: 1px solid rgba(240, 236, 228, .3);
  padding: 14px 0; color: var(--ink); font-size: 17px; border-radius: 0;
  width: 100%; transition: border-color .3s var(--ease);
}
.inline-form input:hover { border-bottom-color: rgba(240, 236, 228, .6); }
.inline-form .btn--primary { margin-top: 8px; padding: 20px 28px; font-size: 15px; }
.inline-form__consent { font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-error { font-size: 14px; color: #e0785e; }
.form-error[hidden] { display: none; }

/* ────────────────────────────────────────────────────────────  footer ── */

.footer { padding: 72px var(--gutter) 36px; background: var(--bg); border-top: 1px solid var(--line-soft); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 64px; padding-bottom: 64px; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.footer__brand img { height: 30px; }
.footer__about { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 340px; }
.footer__loc { font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h3 {
  margin: 0 0 6px; font-weight: 600; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.footer__col a { font-size: 15px; color: var(--ink-2); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; border-top: 1px solid var(--line-soft);
}
.footer__bottom > span { font-size: 12px; color: var(--dim); }
.footer__legal { display: flex; gap: 28px; }
.footer__legal a { font-size: 12px; color: var(--muted); transition: color .3s var(--ease); }
.footer__legal a:hover { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────  popup ── */

.overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 5, .74); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .25s ease-out both; padding: 24px;
}
.overlay[hidden] { display: none; }

.popup {
  width: 520px; max-height: calc(100vh - 48px); overflow: auto;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 22px;
  position: relative; box-shadow: 0 40px 120px rgba(0, 0, 0, .6);
  animation: popIn .4s var(--ease-o) both;
}
.popup__close {
  position: absolute; right: 18px; top: 16px; background: none; border: 0;
  color: var(--muted); font-size: 22px; cursor: pointer; line-height: 1;
  transition: color .3s var(--ease); padding: 4px 8px;
}
.popup__close:hover { color: var(--ink); }
.popup__kicker { font-weight: 600; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.popup__head { display: flex; flex-direction: column; gap: 8px; }
.popup__title {
  font-family: var(--display); font-weight: 900; font-size: 32px;
  line-height: 1.05; letter-spacing: -.02em; color: var(--ink);
}
.popup__meta { font-size: 15px; color: var(--muted); }
.popup form { display: flex; flex-direction: column; gap: 14px; margin-top: 4px; }
.popup input[type=text], .popup input[type=tel], .popup input[type=email],
.popup select, .popup textarea {
  background: var(--bg-field); border: 1px solid var(--line); border-radius: 6px;
  padding: 15px 16px; color: var(--ink); font-size: 15px; width: 100%;
  transition: border-color .3s var(--ease);
}
.popup input:hover, .popup select:hover, .popup textarea:hover { border-color: #3f3f3f; }
.popup select {
  appearance: none; cursor: pointer; padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8a87c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.popup textarea { resize: vertical; min-height: 96px; }
.popup__consent {
  display: flex; gap: 12px; align-items: flex-start; font-size: 13px;
  line-height: 1.45; color: var(--muted); margin-top: 4px;
}
.popup__consent input { margin: 3px 0 0; accent-color: var(--accent); width: auto; }
.popup .btn--primary { margin-top: 8px; padding: 18px 28px; font-size: 15px; }

.popup__done { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 16px 0 8px; }
.popup__done[hidden], .popup__form[hidden] { display: none; }
.popup__tick {
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 24px;
}
.popup__done b {
  font-family: var(--display); font-weight: 900; font-size: 32px;
  line-height: 1.05; letter-spacing: -.02em; color: var(--ink);
}
/* pre-line, потому что этот текст обновляется из JS через textContent —
   иначе перенос строки из админки пропал бы. */
.popup__done p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--muted); white-space: pre-line; }
.popup__done .btn--ghost { margin-top: 8px; padding: 15px 24px; }

/* ── просмотр фотографий ── */

[data-gallery] img { cursor: zoom-in; }
[data-gallery] a img { cursor: pointer; }   /* ссылка ведёт наружу, не в просмотр */

.photobox {
  padding: 0; gap: 0;
  background: rgba(5, 5, 5, .94); backdrop-filter: blur(14px);
}
.photobox__stage {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: min(1400px, 92vw); max-height: 92vh;
}
.photobox__stage img {
  max-width: 100%; max-height: calc(92vh - 60px);
  object-fit: contain; border-radius: 4px;
  animation: fadeIn .2s ease-out both;
}
.photobox__stage figcaption {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
  font-size: 14px; color: var(--ink-2); text-align: center; min-height: 20px;
}
.photobox__count {
  font-weight: 600; font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}

.photobox__close, .photobox__nav {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 10, 10, .5); border: 1px solid rgba(240, 236, 228, .22);
  color: var(--ink); cursor: pointer; border-radius: 50%;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.photobox__close:hover, .photobox__nav:hover { background: rgba(10, 10, 10, .8); border-color: var(--accent); }
.photobox__close { top: 20px; right: 20px; width: 44px; height: 44px; font-size: 24px; line-height: 1; }
.photobox__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; }
.photobox__nav--prev { left: 20px; }
.photobox__nav--next { right: 20px; }
.photobox__nav[hidden] { display: none; }

@media (max-width: 767px) {
  .photobox__nav { width: 42px; height: 42px; margin-top: -21px; }
  .photobox__nav--prev { left: 8px; }
  .photobox__nav--next { right: 8px; }
  .photobox__close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .photobox__stage { max-width: 96vw; }
}

/* video lightbox */
.lightbox__frame {
  width: min(1100px, 92vw); aspect-ratio: 16 / 9; background: #000;
  border-radius: 8px; overflow: hidden; position: relative;
}
.lightbox__frame iframe, .lightbox__frame video { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close {
  position: absolute; right: -4px; top: -44px; background: none; border: 0;
  color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer;
}

/* ══════════════════════════════════════════  раздел «Программы»  ═══════ */

/* Первый экран внутренней страницы: без фото, отступ сверху под шапку. */
.page-hero {
  padding-top: 210px; padding-bottom: 96px;
  display: grid; grid-template-columns: 1fr 480px; gap: 96px; align-items: end;
}
.page-hero__h1 {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: 80px;
  line-height: .97; letter-spacing: -.025em; color: var(--ink);
}
.page-hero__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding-bottom: 8px; }
.page-hero__lead { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); }

.catalog {
  padding-top: 0; padding-bottom: 150px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 64px;
}

.pcard {
  display: flex; flex-direction: column; gap: 22px; color: inherit;
  padding-top: 28px; border-top: 1px solid var(--line-2);
}
.pcard:hover { color: inherit; }
.pcard__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-tile); }
.pcard__img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-o);
}
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border: 1px dashed #3a3a3a; font-size: 13px; color: var(--dim);
}
.pcard__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,0) 40%, rgba(10,10,10,.55) 100%);
}
.pcard__kicker, .pcard__n {
  position: absolute; top: 20px; font-weight: 600; font-size: 11px;
  text-transform: uppercase; pointer-events: none;
}
.pcard__kicker { left: 22px; letter-spacing: .2em; color: var(--ink); }
.pcard__n { right: 22px; letter-spacing: .14em; color: var(--accent); }

.pcard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pcard__title {
  font-family: var(--display); font-weight: 900; font-size: 34px;
  line-height: 1; letter-spacing: -.025em; color: var(--ink);
}
.pcard__copy { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 480px; }
.pcard__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px;
  font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.pcard__meta > span { white-space: nowrap; }

.pcard__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .06); margin-top: auto;
}
.pcard__date { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.pcard__date--muted { color: var(--muted); }
.pcard__date .muted { color: var(--muted); }
.pcard__dot { flex: none; box-shadow: 0 0 0 4px rgba(200, 168, 124, .18); }
.pcard__dot--ring { background: transparent; border: 1px solid var(--accent); box-shadow: none; }
.pcard__dot--off { background: var(--dim); box-shadow: none; }
.pcard__more {
  font-family: var(--display); font-weight: 900; font-size: 14px;
  color: var(--accent); white-space: nowrap; transition: color .3s var(--ease);
}
.pcard:hover .pcard__more { color: var(--ink); }

/* ══════════════════════════════════════════  страница программы  ═══════ */

.hero--program .hero__scrim {
  background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.6) 45%, rgba(10,10,10,.15) 100%);
}
.hero--program .hero__scrim-v {
  background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 25%,
              rgba(10,10,10,0) 55%, #0a0a0a 100%);
}
.hero--program .hero__text {
  left: calc(50% - 640px); right: auto; width: 760px; top: 150px; pointer-events: auto;
}
.hero__h1--program { font-size: 96px; line-height: .95; letter-spacing: -.03em; }
.hero__offer {
  margin: 0; max-width: 620px; font-family: var(--display); font-weight: 900;
  font-size: 30px; line-height: 1.15; letter-spacing: -.015em; color: var(--ink);
}
.kicker--link { transition: color .3s var(--ease); }
.kicker--link:hover { color: var(--ink); }
.kicker--link:hover::before { background: var(--ink); }

.audience-row {
  display: grid; grid-template-columns: 56px 1fr; gap: 0 24px;
  padding: 22px 0; border-top: 1px solid var(--line); align-items: baseline;
}
.audience-row__n { font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.audience-row__text { font-size: 18px; line-height: 1.45; color: var(--ink); }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.grid3--gap { gap: 24px; align-items: start; }

.result { display: flex; flex-direction: column; gap: 14px; padding: 32px 0; border-top: 1px solid var(--line-2); }
.result__n { font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--accent); }
.result__title {
  font-family: var(--display); font-weight: 900; font-size: 24px;
  line-height: 1.1; letter-spacing: -.015em; color: var(--ink);
}
.result__copy { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* аккордеон «Программа по дням» */
.accordion { display: flex; flex-direction: column; }
.acc { border-top: 1px solid var(--line); }
.acc__h { margin: 0; font-size: inherit; font-weight: inherit; }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: 200px 1fr 48px;
  align-items: center; gap: 24px; padding: 32px 0;
  background: none; border: 0; text-align: left; cursor: pointer; color: inherit;
  transition: background .3s var(--ease);
}
.acc__btn:hover { background: rgba(255, 255, 255, .02); }
.acc__n {
  font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1;
  letter-spacing: -.03em; color: var(--muted); transition: color .3s var(--ease);
}
.acc__btn[aria-expanded='true'] .acc__n, .acc__btn:hover .acc__n { color: var(--accent); }
.acc__title {
  font-family: var(--display); font-weight: 900; font-size: 26px;
  letter-spacing: -.015em; color: var(--ink);
}
.acc__sign {
  font-family: var(--display); font-weight: 500; font-size: 30px; color: var(--accent);
  text-align: right; display: inline-block; transition: transform .4s var(--ease-o);
}
.acc__btn[aria-expanded='true'] .acc__sign { transform: rotate(45deg); }
.acc__panel { animation: fadeIn .35s ease-out both; }
.acc__panel[hidden] { display: none; }
.acc__panel p {
  margin: 0; padding: 0 0 36px 224px; max-width: 900px;
  font-size: 17px; line-height: 1.6; color: var(--muted);
}

/* Шире общей строки событий: здесь к месяцу добавляется год («ноя 2026»). */
.event-row--program { grid-template-columns: 250px 1fr 130px 230px 170px; }
.dates-note { margin: 28px 0 0; font-size: 15px; color: var(--muted); }
.link-inline {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  color: var(--accent); transition: color .3s var(--ease);
}
.link-inline:hover { color: var(--ink); }

/* тренер на странице программы — фото слева, текст справа */
.trainer-split {
  display: grid; grid-template-columns: 480px 1fr; gap: 0 96px;
  align-items: center; padding-top: 150px;
}
.trainer-split__photo { position: relative; height: 600px; overflow: hidden; background: var(--bg-tile); }
.trainer-split__body { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.trainer-split__name {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: 72px;
  line-height: .95; letter-spacing: -.03em; color: var(--ink);
}
.trainer-split__bio { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 560px; }

.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 96px; }
.quote { display: flex; flex-direction: column; gap: 22px; padding-top: 32px; border-top: 1px solid var(--line-2); }
.quote p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }

.ig-grid--four { grid-template-columns: 1.3fr .9fr 1.1fr .9fr; height: 380px; }

/* Финальный блок страницы программы — в потоке, а не фиксированной высоты. */
.final--flow { height: auto; padding: 190px var(--gutter) 170px; }
.final--flow .final__content { position: relative; left: auto; top: auto; width: auto; }
.final__scrim--strong { background: rgba(10, 10, 10, .66); }

/* ═══════════════════════════════════════════════  страница календаря  ══ */

.cal { padding-top: 0; padding-bottom: 150px; }
.cal__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}

.viewswitch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; flex: none;
}
.viewswitch__btn {
  background: transparent; color: var(--ink); border: 0; padding: 11px 18px;
  font-family: var(--display); font-weight: 900; font-size: 12px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.viewswitch__btn.is-active { background: var(--accent); color: var(--bg); }

.cal__selects { display: flex; gap: 12px; margin-bottom: 56px; flex-wrap: wrap; }
.cal__selects select {
  background-color: var(--bg-field); border: 1px solid var(--line); border-radius: 6px;
  padding: 13px 48px 13px 16px; color: var(--ink); font-size: 14px;
  appearance: none; cursor: pointer; transition: border-color .3s var(--ease);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8a87c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
.cal__selects select:hover { border-color: #3f3f3f; }

/* Заголовок месяца: показывается только в режиме «Календарь». */
.cal__month {
  font-weight: 600; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); padding: 48px 0 16px;
}
.cal__month[hidden] { display: none; }

.event-row--cal { grid-template-columns: 200px 1fr 170px 230px 190px; align-items: center; }
.event-row--cal[hidden] { display: none; }
.cal__what { display: flex; flex-direction: column; gap: 6px; }
.cal__desc { font-size: 15px; color: var(--muted); }
.cal__where { display: flex; flex-direction: column; gap: 4px; }
.cal__place { font-size: 13px; color: var(--muted); }
.cal__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cal__more {
  font-family: var(--display); font-weight: 900; font-size: 14px;
  color: var(--ink); transition: color .3s var(--ease);
}
.cal__more:hover { color: var(--accent); }

.cal__empty {
  padding: 72px 0; display: flex; flex-direction: column;
  align-items: flex-start; gap: 14px;
}
.cal__empty[hidden] { display: none; }
.cal__empty b {
  font-family: var(--display); font-weight: 900; font-size: 28px;
  letter-spacing: -.015em; color: var(--ink);
}
.cal__empty span { font-size: 16px; color: var(--muted); }
.cal__empty--none { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal__empty .btn { margin-top: 8px; }

/* Программы без назначенной даты — отдельным блоком под списком. */
.cal__pending { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 72px; }
.pending-row {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.pending-row__what { display: flex; flex-direction: column; gap: 6px; }
.pending-row__title {
  font-family: var(--display); font-weight: 900; font-size: 22px;
  letter-spacing: -.015em; color: var(--ink); transition: color .3s var(--ease);
}
.pending-row__title:hover { color: var(--accent); }
.pending-row__state {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
}

/* ══════════════════════════════════════════════  раздел «Новости»  ═════ */

.catalog--news { display: block; }
.filters--news { margin-bottom: 56px; gap: 8px; }
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px 32px; }

.ncard { display: flex; flex-direction: column; gap: 20px; color: inherit; }
.ncard:hover { color: inherit; }
.ncard[hidden] { display: none; }
.ncard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tile); }
.ncard:hover .media-zoom { transform: scale(1.03); }
.ncard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ncard__title {
  font-family: var(--display); font-weight: 900; font-size: 26px;
  line-height: 1.1; letter-spacing: -.02em; color: var(--ink);
}
.ncard__copy { font-size: 15px; line-height: 1.55; color: var(--muted); }
.ncard:hover .news-read { color: var(--ink); }
.news-read { transition: color .3s var(--ease); }

/* ── страница публикации ── */

.art-top { padding: 190px var(--gutter) 0; background: var(--bg); }
.art-head {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 26px;
}
.art-h1 {
  margin: 0; font-family: var(--display); font-weight: 900; font-size: 72px;
  line-height: .98; letter-spacing: -.03em; color: var(--ink);
}
.art-meta { font-size: 15px; color: var(--muted); }
.art-cover {
  position: relative; aspect-ratio: 16 / 8; max-width: 1280px;
  margin: 64px auto 0; overflow: hidden; background: var(--bg-tile);
}

.art-body { padding: 96px var(--gutter) 140px; background: var(--bg); }
/* Текст держим в узкой колонке, картинки пускаем шире — как в макете. */
.art-col { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.art-col + .art-col { margin-top: 28px; }
.art-lead { margin: 0; font-size: 24px; line-height: 1.4; color: var(--ink); text-wrap: pretty; }
.art-p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.art-h2 {
  margin: 16px 0 0; font-family: var(--display); font-weight: 900; font-size: 32px;
  line-height: 1.15; letter-spacing: -.02em; color: var(--ink);
}
.art-quote {
  margin: 24px 0; padding: 8px 0 8px 32px; border-left: 2px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 28px;
  line-height: 1.35; color: var(--ink); text-wrap: pretty;
}
.art-quote span {
  display: block; margin-top: 14px; font-family: var(--body); font-style: normal;
  font-weight: 600; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted);
}

.art-figure { margin: 72px auto; max-width: 1000px; }
.art-figure .media { position: relative; inset: auto; aspect-ratio: 16 / 9; }
.art-figure figcaption {
  margin-top: 14px; font-size: 14px; line-height: 1.5;
  color: var(--muted); text-align: center;
}
.art-video {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: var(--bg-tile); border: 1px solid var(--line); cursor: pointer; padding: 0;
}
.art-video .video-tile__play { pointer-events: none; }

.art-actions { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }

/* Финальный блок новостей: текст и кнопка выровнены по низу заголовка. */
.final--end .final__content--end { align-items: end; }
.final__right { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

/* ══════════════════════════════════════════  раздел «Активности»  ══════ */

.filters--acts { margin-bottom: 64px; flex-wrap: wrap; }

.acard { display: flex; flex-direction: column; gap: 20px; color: inherit; }
.acard:hover { color: inherit; }
.acard[hidden] { display: none; }
.acard__img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-tile); }
.acard__img img { width: 100%; height: 100%; object-fit: cover; }
.acard:hover .media-zoom { transform: scale(1.03); }
.acard__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.05) 0%, rgba(10,10,10,0) 45%, rgba(10,10,10,.6) 100%);
}
.acard__cat {
  position: absolute; left: 22px; top: 20px; pointer-events: none;
  font-weight: 600; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink);
}
.acard__title {
  position: absolute; left: 22px; right: 22px; bottom: 20px; pointer-events: none;
  font-family: var(--display); font-weight: 900; font-size: 28px;
  line-height: 1; letter-spacing: -.02em; color: var(--ink);
}
.acard__body { display: flex; flex-direction: column; gap: 14px; }
.acard__copy { font-size: 16px; line-height: 1.55; color: var(--muted); }
.acard__foot {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.acard:hover .pcard__more { color: var(--ink); }

/* ═══════════════════════════════════════════  страница «О команде»  ════ */

.trainer--hero { min-height: clamp(920px, 56vw, 1080px); }
.trainer__head--wide { width: min(900px, calc(100% - 2 * var(--gutter))); }
.trainer__quote--hero { margin-top: 12px; max-width: 560px; font-size: 30px; }

.story__stats { margin-top: 24px; border-top-color: var(--line); }
.story__bio { margin: 0 0 48px; font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 600px; }

/* Факты о тренере, сгруппированные по темам. */
.factblock {
  display: grid; grid-template-columns: 200px 1fr; gap: 0 24px;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.factblock__label {
  font-weight: 600; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); padding-top: 4px;
}
.factblock__items { display: flex; flex-direction: column; gap: 10px; }
.factblock__item {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; line-height: 1.45; color: var(--ink-2);
}
.factblock__item i { display: block; flex: none; width: 5px; height: 5px; margin-top: 8px; background: var(--accent); }

.mcard { display: flex; flex-direction: column; gap: 20px; }
.mcard__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-tile); }
.mcard:hover .media-zoom { transform: scale(1.03); }
.mcard__body {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08);
}
.mcard__name {
  font-family: var(--display); font-weight: 900; font-size: 24px;
  letter-spacing: -.015em; color: var(--ink);
}
.mcard__role {
  font-weight: 600; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.mcard__copy { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ═══════════════════════════════════════════  страница «Контакты»  ═════ */

.contacts {
  padding-top: 0; padding-bottom: 150px;
  display: grid; grid-template-columns: 1fr 520px; gap: 0 96px; align-items: start;
}
.contacts__list { display: flex; flex-direction: column; }
.contact-row {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 22px 0;
  border-top: 1px solid var(--line); color: inherit; align-items: baseline;
  transition: background .3s var(--ease);
}
.contact-row:hover { background: rgba(255, 255, 255, .02); color: inherit; }
.contact-row--plain:hover { background: none; }
.contact-row__label {
  font-weight: 600; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); padding-top: 6px;
}
.contact-row__value {
  font-family: var(--display); font-weight: 900; font-size: 26px;
  letter-spacing: -.015em; color: var(--ink); overflow-wrap: anywhere;
}
.contacts__note {
  margin-top: 28px; font-size: 15px; line-height: 1.55;
  color: var(--muted); max-width: 480px;
}

.contacts__form { position: sticky; top: 112px; }
.cform {
  display: flex; flex-direction: column; gap: 22px; padding: 40px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
}
.cform[hidden] { display: none; }
.cform--done { align-items: flex-start; gap: 18px; }
.cform__head { display: flex; flex-direction: column; gap: 8px; }
.cform__title {
  font-family: var(--display); font-weight: 900; font-size: 28px;
  line-height: 1.05; letter-spacing: -.02em; color: var(--ink);
}
.cform__note { font-size: 15px; color: var(--muted); }
/* Поля в форме контактов — подчёркнутые, без рамок, как в макете. */
.cform input[type=text], .cform input[type=tel], .cform input[type=email],
.cform select, .cform textarea {
  background: transparent; border: 0; border-bottom: 1px solid rgba(240, 236, 228, .3);
  border-radius: 0; padding: 14px 0; color: var(--ink); font-size: 17px;
  width: 100%; transition: border-color .3s var(--ease);
}
.cform input:hover, .cform select:hover, .cform textarea:hover { border-bottom-color: rgba(240, 236, 228, .6); }
.cform select {
  appearance: none; cursor: pointer; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8a87c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
}
.cform textarea { resize: vertical; min-height: 80px; }
.cform .popup__consent input { width: 16px; height: 16px; }

/* ═════════════════════════════════════════  текстовые страницы  ════════ */

.art-top--legal { padding-bottom: 0; }
.art-h1--legal { font-size: 56px; }
.art-body--legal { padding-top: 64px; }
.legal-notice {
  margin: 0; padding: 20px 24px; border-left: 2px solid var(--accent);
  background: rgba(200, 168, 124, .07); font-size: 16px; line-height: 1.6; color: var(--ink-2);
}
.footer__plain { font-size: 15px; color: var(--ink-2); }

/* ═══════════════════════════════════════════════════════  responsive  ══ */

@media (max-width: 1439px) {
  :root { --gutter: 64px; }
  .h2, .instagram__heading { font-size: clamp(44px, 4.5vw, 64px); }
  .trainer__name { font-size: clamp(64px, 7.6vw, 108px); }
  .final__h2 { font-size: clamp(40px, 4.8vw, 68px); }
  .hero__h1 { font-size: clamp(56px, 5.6vw, 80px); }
  .hero__text { left: auto; right: var(--gutter); width: min(720px, calc(100% - 128px)); }
  .hero--split .hero__text { left: var(--gutter); right: auto; width: min(640px, 46%); }
  .hero__strip, .final__content { left: var(--gutter); width: calc(100% - 128px); }
  .trainer__head, .trainer__body { left: var(--gutter); }
  .prog-grid { grid-template-columns: 1fr 400px; gap: 0 64px; }
  .prog-preview { width: 400px; height: 520px; }
  .event-row { grid-template-columns: 170px 1fr 150px 110px 200px 150px; }

  .page-hero__h1 { font-size: clamp(56px, 5.6vw, 80px); }
  .hero__h1--program { font-size: clamp(60px, 6.6vw, 96px); }
  .hero--program .hero__text { left: var(--gutter); width: min(760px, calc(100% - 128px)); }
  .trainer-split { grid-template-columns: 400px 1fr; gap: 0 64px; }
  .trainer-split__name { font-size: clamp(48px, 5vw, 72px); }
  .event-row--program { grid-template-columns: 210px 1fr 110px 200px 150px; }
  .event-row--cal { grid-template-columns: 170px 1fr 150px 190px 160px; }
  .catalog { gap: 64px 48px; }
  .art-h1 { font-size: clamp(48px, 5vw, 72px); }
  .art-h1--legal { font-size: clamp(40px, 4.4vw, 56px); }
  .ngrid { gap: 56px 24px; }
  .contacts { grid-template-columns: 1fr 440px; gap: 0 64px; }
  .trainer__head--wide { left: var(--gutter); }
}

@media (max-width: 1023px) {
  :root { --gutter: 40px; --header-h: 64px; }

  .nav, .lang { display: none; }
  .burger { display: flex; }

  .section { padding-top: 96px; padding-bottom: 96px; }
  .about { padding-top: 96px; }
  .community { padding-top: 96px; }
  .instagram { padding-top: 0; padding-bottom: 0; }
  .instagram .sec-head { padding-top: 0; padding-bottom: 40px; }

  .hero {
    height: auto; min-height: 720px;
    display: flex; flex-direction: column; justify-content: flex-end;
  }
  .hero__img { right: auto; width: 150%; }
  .hero--split .hero__img, .hero--split .hero__scrim { left: 0; width: 150%; }
  .hero__text, .hero--split .hero__text {
    position: relative; left: auto; right: auto; top: auto; width: auto;
    padding: min(48vh, 400px) var(--gutter) 0; pointer-events: auto;
  }
  .hero__ornament { display: none; }
  .hero__strip {
    position: relative; left: auto; bottom: auto; width: auto;
    margin: 56px var(--gutter) 48px; grid-template-columns: 1fr; gap: 14px;
  }

  .about, .head-grid, .prog-grid, .news-grid { grid-template-columns: 1fr; gap: 48px; }
  .about__photo { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .prog-preview { display: none; }

  .event-row { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .event-row .link-arrow { justify-self: start; }

  .trainer, .final { height: auto; min-height: 0; padding: 96px var(--gutter); display: flex; flex-direction: column; gap: 40px; }
  .trainer__portrait, .trainer__head, .trainer__body, .trainer__facts, .final__content, .final__bg {
    position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto;
  }
  .trainer__portrait { height: 520px; order: -1; margin: 0 calc(-1 * var(--gutter)); }
  .trainer__grad-h, .trainer__grad-v, .final__scrim, .final__scrim-v { display: none; }
  .trainer__name { white-space: normal; }
  .final { background: var(--bg-alt); }
  .final__bg { height: 320px; order: -1; margin: 0 calc(-1 * var(--gutter)); }
  .final__content { display: grid; grid-template-columns: 1fr; gap: 48px; }

  .mosaic { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .tile { grid-column: span 2 !important; }
  .tile--big { grid-column: span 6 !important; grid-row: span 2 !important; }

  .sec-head { flex-direction: column; align-items: flex-start; gap: 28px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .text-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 80px; }
  .text-item { padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .text-item:first-child { border-top-color: var(--line-2); }

  .ig-grid, .ig-grid--four { grid-template-columns: repeat(3, 1fr); height: auto; grid-auto-rows: 220px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 48px; }

  /* программы */
  .page-hero { padding-top: 150px; grid-template-columns: 1fr; gap: 40px; }
  .catalog { grid-template-columns: 1fr; gap: 56px; }
  .hero--program .hero__text {
    position: relative; left: auto; top: auto; width: auto;
    padding: min(44vh, 360px) var(--gutter) 0;
  }
  .hero__offer { font-size: 26px; }
  .grid3, .quote-grid { grid-template-columns: 1fr; gap: 0; }
  .grid3--gap { gap: 24px; }
  .quote-grid { gap: 40px; margin-top: 64px; }
  .acc__btn { grid-template-columns: 140px 1fr 32px; gap: 16px; }
  .acc__n { font-size: 34px; }
  .acc__panel p { padding-left: 156px; }
  .event-row--program { grid-template-columns: 1fr 1fr; }
  .trainer-split { grid-template-columns: 1fr; gap: 40px; padding-top: 96px; }
  .trainer-split__photo { height: 480px; margin: 0 calc(-1 * var(--gutter)); }
  .final--flow { padding: 96px var(--gutter); }
  .final--flow .final__bg { height: 320px; margin: 0 calc(-1 * var(--gutter)); }

  /* календарь */
  .event-row--cal { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .cal__actions { align-items: flex-start; flex-direction: row; gap: 24px; }
  .cal__pending { grid-template-columns: 1fr; }
  .cal__head { flex-direction: column; align-items: flex-start; }

  /* новости */
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 24px; }
  .art-top { padding-top: 140px; }
  .art-cover { margin-top: 48px; }
  .art-body { padding-top: 64px; padding-bottom: 96px; }
  .art-figure { margin: 48px auto; }
  .final--end .final__content--end { align-items: start; }

  /* активности, команда, контакты */
  .trainer--hero { min-height: 0; }
  .trainer--hero .trainer__portrait { height: 520px; }
  .trainer__head--wide { width: auto; }
  .factblock { grid-template-columns: 1fr; gap: 12px; }
  .contacts { grid-template-columns: 1fr; gap: 56px; }
  .contacts__form { position: static; }
  .cform { padding: 32px 24px; }
  .art-body--legal { padding-top: 48px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; }

  .header__logo img { height: 24px; }
  .header .btn--primary { padding: 10px 16px; font-size: 12px; }

  .section { padding-top: 72px; padding-bottom: 72px; }
  .about, .community { padding-top: 72px; }
  .instagram { padding-top: 0; padding-bottom: 0; }

  .hero { min-height: 0; }
  .hero__img, .hero--split .hero__img, .hero--split .hero__scrim { right: auto; width: 220%; }
  .hero__text, .hero--split .hero__text { padding: min(46vh, 340px) var(--gutter) 0; gap: 22px; }
  .hero__h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .hero__ctas { flex-wrap: wrap; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .hero__strip {
    margin: 48px var(--gutter) 40px; grid-template-columns: 1fr;
    gap: 12px; align-items: start; padding-top: 20px;
  }
  .hero__strip-event { flex-direction: column; gap: 4px; align-items: flex-start; }
  .hero__strip-when { font-size: 15px; }
  .hero__strip .link-arrow { justify-self: start; padding: 8px 0; }

  .h2, .instagram__heading { font-size: clamp(36px, 10vw, 48px); }
  .trainer__name { font-size: clamp(40px, 11vw, 56px); }
  .final__h2 { font-size: clamp(34px, 9vw, 44px); }
  .about__lead, .head-grid .lead { font-size: 19px; }

  .thesis { grid-template-columns: 40px 1fr; gap: 8px 16px; }
  .thesis__copy { grid-column: 2; }

  .prog-row { grid-template-columns: 30px 1fr 24px; column-gap: 12px; padding: 28px 0; }
  .prog-row__title { font-size: clamp(30px, 8.5vw, 40px); }
  .prog-row__arrow { padding-top: 20px; font-size: 24px; }
  .prog-row__meta { flex-wrap: wrap; gap: 6px 18px; }
  .prog-row__meta > span { white-space: nowrap; }
  .prog-row__meta .dot { display: none; }

  .event-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .event-row .link-arrow, .sec-head a, .head-grid a { padding: 8px 0; }

  .trainer, .final { padding: 72px var(--gutter); }
  .trainer__portrait { height: 420px; }
  .trainer__stats { gap: 32px; }

  .act-tags { font-size: clamp(24px, 6.5vw, 32px); }
  .mosaic { grid-auto-rows: 220px; gap: 12px; }
  .tile, .tile--big { grid-column: span 6 !important; grid-row: span 1 !important; }

  .video-grid { grid-template-columns: 1fr; }
  .video-item--offset { margin-top: 0; }
  .video-tile { height: 460px; }

  .news-hero__img { height: 240px; }
  .ig-grid, .ig-grid--four { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }

  /* программы */
  .page-hero { padding-top: 120px; }
  .page-hero__h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .hero__h1--program { font-size: clamp(42px, 12vw, 60px); }
  .hero__offer { font-size: clamp(21px, 5.6vw, 26px); }
  .pcard__title { font-size: clamp(28px, 8vw, 34px); }
  .pcard__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .acc__btn { grid-template-columns: 1fr 28px; gap: 4px 12px; padding: 24px 0; }
  .acc__n { grid-column: 1; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
  .acc__title { grid-column: 1; font-size: clamp(22px, 6vw, 26px); }
  .acc__sign { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .acc__panel p { padding: 0 0 28px; }
  .audience-row { grid-template-columns: 40px 1fr; gap: 0 16px; }
  .audience-row__text { font-size: 17px; }
  .trainer-split__photo { height: 400px; }
  .final--flow { padding: 72px var(--gutter); }

  /* календарь */
  .event-row--cal { grid-template-columns: 1fr; gap: 10px; }
  .cal__selects { flex-direction: column; margin-bottom: 40px; }
  .cal__selects select { width: 100%; }
  .viewswitch { width: 100%; }
  .viewswitch__btn { flex: 1; }
  .cal__month { padding: 36px 0 12px; }

  /* новости */
  .ngrid { grid-template-columns: 1fr; gap: 48px; }
  .art-top { padding-top: 110px; }
  .art-h1 { font-size: clamp(34px, 9vw, 46px); }
  .art-cover { aspect-ratio: 4 / 3; margin-top: 32px; }
  .art-lead { font-size: 20px; }
  .art-p { font-size: 17px; }
  .art-h2 { font-size: 26px; }
  .art-quote { font-size: 22px; padding-left: 20px; margin: 16px 0; }
  .art-figure { margin: 36px auto; }
  .art-actions .btn { width: 100%; justify-content: center; }
  .filters--news, .filters--acts { margin-bottom: 40px; }

  /* активности, команда, контакты */
  .acard__title { font-size: clamp(22px, 6vw, 28px); }
  .acard__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .trainer--hero .trainer__portrait { height: 420px; }
  .trainer__quote--hero { font-size: 22px; }
  .contact-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .contact-row__label { padding-top: 0; }
  .contact-row__value { font-size: clamp(20px, 6vw, 26px); }
  .art-h1--legal { font-size: clamp(30px, 8vw, 40px); }
  .legal-notice { padding: 16px 18px; font-size: 15px; }

  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__col { gap: 2px; }
  .footer__col a { padding: 9px 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__legal { flex-wrap: wrap; gap: 8px 24px; }
  .footer__legal a { padding: 8px 0; }

  .menu a.menu__link { font-size: 30px; padding: 18px 0; }

  .popup { width: 100%; padding: 32px 24px 28px; }
  .overlay { padding: 16px; }
  input, select, textarea { font-size: 16px !important; }
}
