/* ==========================================================
   Спорткомбинат «Строитель» — «Лёд и энергия»
   ========================================================== */
:root {
  --ink: #0a1626;
  --ink-2: #10223a;
  --ink-3: #1a3352;
  --ice: #eaf3fb;
  --ice-2: #d6e8f7;
  --blue: #1f6bff;
  --blue-d: #1553d1;
  --cyan: #3fd0ff;
  --accent: #ff5b2e;
  --accent-d: #e2441a;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --text: #0e1b2c;
  --muted: #5a6b82;
  --line: #dfe7f1;
  --ok: #18a058;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 10px 30px -12px rgba(10, 22, 38, .18);
  --shadow-l: 0 30px 60px -20px rgba(10, 22, 38, .35);
  --wrap: 1240px;
  --f-head: "Unbounded", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 var(--f-body); font-weight: 500;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.ico { flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 15px/1 var(--f-body); letter-spacing: .01em; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -10px rgba(255, 91, 46, .7); }
.btn--accent:hover { background: var(--accent-d); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -10px rgba(31, 107, 255, .7); }
.btn--blue:hover { background: var(--blue-d); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); }
.btn--line { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn--line:hover { border-color: var(--blue); color: var(--blue); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- плашка-объявление ---------- */
.alert-bar { background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; }
.alert-bar .wrap { display: flex; align-items: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; }
.alert-bar a { text-decoration: underline; text-underline-offset: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- шапка ---------- */
.topbar { background: var(--ink); color: #b9c8db; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 20px; padding-top: 8px; padding-bottom: 8px; }
.topbar__group { display: flex; gap: 22px; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 900px) { .topbar__hide { display: none !important; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(10, 22, 38, .06);
}
.header .wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff;
  font: 800 22px/1 var(--f-head); box-shadow: 0 8px 18px -8px rgba(31, 107, 255, .8);
  position: relative; overflow: hidden;
}
.logo__mark::after { content: ""; position: absolute; inset: auto -10px -14px auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); }
.logo__mark span { position: relative; z-index: 1; }
.logo__text b { display: block; font: 700 16px/1.15 var(--f-head); }
.logo__text small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav > li { position: relative; list-style: none; }
.nav { padding: 0; margin-top: 0; margin-bottom: 0; }
.nav > li > a {
  display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 12px;
  font-weight: 700; font-size: 15px; color: var(--text); transition: background .15s, color .15s;
}
.nav > li > a:hover, .nav > li > a.is-active { background: var(--ice); color: var(--blue); }
.nav .drop {
  position: absolute; top: calc(100% + 8px); left: -10px; min-width: 300px; padding: 10px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-l); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.nav > li:hover .drop, .nav > li:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.drop a:hover { background: var(--ice); color: var(--blue); }
.drop .drop__head { font: 700 11px/1 var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding: 12px 12px 6px; }
.drop .tag { margin-left: auto; }
.header__cta { flex: none; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; color: var(--text); }
@media (max-width: 1100px) {
  .nav, .header__cta { display: none; }
  .burger { display: grid; }
}

.mnav { position: fixed; inset: 0; z-index: 100; background: var(--ink); color: #fff; padding: 20px 16px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
.mnav.is-open { transform: none; }
.mnav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mnav__top .logo__text small { color: #8ea3bd; }
.mnav__close { width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.mnav a { display: block; padding: 14px 4px; font: 700 20px/1.2 var(--f-head); border-bottom: 1px solid rgba(255,255,255,.08); }
.mnav .btn { margin-top: 24px; font-family: var(--f-body); font-size: 16px; border: 0; }
body.no-scroll { overflow: hidden; }

/* ---------- метки ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font: 700 12px/1 var(--f-body); background: var(--ice); color: var(--blue); white-space: nowrap;
}
.tag--accent { background: #ffe8e0; color: var(--accent-d); }
.tag--ok { background: #dcf5e7; color: var(--ok); }
.tag--dark { background: rgba(255,255,255,.12); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 800 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--accent); }

/* ---------- герой ---------- */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; transform: scale(1.04); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(63, 208, 255, .35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(31, 107, 255, .45), transparent 60%),
    linear-gradient(100deg, rgba(10, 22, 38, .96) 25%, rgba(10, 22, 38, .55) 70%, rgba(10, 22, 38, .3));
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -120px; width: 520px; height: 520px; z-index: -1;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08);
  box-shadow: 0 0 0 60px rgba(255,255,255,.025), 0 0 0 120px rgba(255,255,255,.02);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .85fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 120px; }
.hero__kicker { color: var(--cyan); }
.hero__kicker::before { background: var(--accent); }
.hero h1 { font-size: clamp(38px, 6vw, 76px); margin: 22px 0 22px; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), #9be7ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 19px; color: #c5d3e4; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__stats b { display: block; font: 800 38px/1 var(--f-head); }
.hero__stats b i { font-style: normal; color: var(--accent); }
.hero__stats > div > span { font-size: 14px; color: #9fb1c7; }

.today {
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(18px); border-radius: 26px; padding: 26px; box-shadow: var(--shadow-l);
}
.today__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.today__head h3 { font-size: 18px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #9be7ff; }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3dff9a; box-shadow: 0 0 0 0 rgba(61,255,154,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61,255,154,0); } 100% { box-shadow: 0 0 0 0 rgba(61,255,154,0); } }
.today__list { display: flex; flex-direction: column; gap: 10px; }
.today__item { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); transition: background .2s; }
.today__item:hover { background: rgba(255, 255, 255, .12); }
.today__time { font: 700 15px/1.2 var(--f-head); }
.today__time small { display: block; font: 600 12px/1.3 var(--f-body); color: #8ea3bd; }
.today__title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.today__place { font-size: 13px; color: #9fb1c7; }
.today__empty { color: #9fb1c7; font-size: 15px; padding: 10px 0; }
.today__foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #9fb1c7; }
.today__foot a { color: #fff; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero__stats { gap: 28px; margin-top: 40px; }
}

/* быстрые плитки под героем */
.quick { margin-top: -56px; position: relative; z-index: 3; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.quick__item {
  display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.quick__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-l); }
.quick__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--ice); color: var(--blue); flex: none; }
.quick__item:nth-child(2) .quick__icon { background: #e0f7ff; color: #0b8fc0; }
.quick__item:nth-child(3) .quick__icon { background: #ffe8e0; color: var(--accent-d); }
.quick__item:nth-child(4) .quick__icon { background: #e4f7ec; color: var(--ok); }
.quick__item b { display: block; font: 700 16px/1.2 var(--f-head); }
.quick__item span { font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .quick__grid { grid-template-columns: repeat(2, 1fr); } .quick { margin-top: -36px; } }
@media (max-width: 520px) { .quick__grid { grid-template-columns: 1fr; } }

/* ---------- блоки ---------- */
.block { padding: 96px 0; }
.block--tight { padding: 64px 0; }
.block--dark { background: var(--ink); color: #fff; }
.block--ice { background: linear-gradient(180deg, var(--ice), var(--bg)); }
.block__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.block__head h2 { font-size: clamp(30px, 4vw, 48px); margin-top: 14px; max-width: 760px; }
.block__head p { color: var(--muted); max-width: 520px; margin: 14px 0 0; font-size: 17px; }
.block--dark .block__head p { color: #9fb1c7; }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--blue); }
.more-link:hover { gap: 12px; }
.block--dark .more-link { color: var(--cyan); }
@media (max-width: 640px) { .block { padding: 64px 0; } .block__head { margin-bottom: 28px; } }

/* ---------- карточки объектов ---------- */
.fgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.fcard {
  grid-column: span 4; position: relative; min-height: 340px; border-radius: var(--radius); overflow: hidden;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px;
  background: var(--ink-3); isolation: isolate; box-shadow: var(--shadow);
}
.fcard:nth-child(1), .fcard:nth-child(2) { grid-column: span 6; min-height: 400px; }
.fcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.fcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,22,38,0) 30%, rgba(10,22,38,.92)); }
.fcard:hover img { transform: scale(1.06); }
.fcard__top { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; }
.fcard__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); }
.fcard__go { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); transform: rotate(-45deg); transition: transform .3s, background .3s; }
.fcard:hover .fcard__go { transform: none; background: var(--accent); color: #fff; }
.fcard h3 { font-size: 24px; margin-bottom: 8px; }
.fcard p { color: #c5d3e4; margin: 0; font-size: 15px; max-width: 480px; }
.fcard__nophoto { position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, var(--ink-3), var(--blue-d)); }
@media (max-width: 980px) { .fcard, .fcard:nth-child(1), .fcard:nth-child(2) { grid-column: span 6; min-height: 300px; } }
@media (max-width: 640px) { .fcard, .fcard:nth-child(1), .fcard:nth-child(2) { grid-column: span 12; } }

/* ---------- секции ---------- */
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.scard {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); color: #fff; overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s; min-height: 250px;
}
.scard:hover { transform: translateY(-6px); border-color: rgba(63,208,255,.5); background: var(--ink-3); }
.scard__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.scard--ice .scard__icon { background: linear-gradient(135deg, #5aa9ff, #b9e6ff); color: var(--ink); }
.scard--water .scard__icon { background: linear-gradient(135deg, #00a6d6, #3fd0ff); }
.scard--ball .scard__icon { background: linear-gradient(135deg, var(--accent), #ffad5b); }
.scard--health .scard__icon { background: linear-gradient(135deg, #18a058, #7be0a6); }
.scard--combat .scard__icon { background: linear-gradient(135deg, #8a3ffc, #c49bff); }
.scard__age { position: absolute; top: 22px; right: 22px; font: 800 26px/1 var(--f-head); color: rgba(255,255,255,.14); }
.scard h3 { font-size: 20px; }
.scard p { color: #9fb1c7; font-size: 14px; margin: 0; }
.scard__foot { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.sgrid--light .scard { background: #fff; color: var(--text); border-color: var(--line); box-shadow: var(--shadow); }
.sgrid--light .scard:hover { background: #fff; border-color: var(--blue); }
.sgrid--light .scard p { color: var(--muted); }
.sgrid--light .scard__age { color: var(--ice-2); }
@media (max-width: 1100px) { .sgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .sgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .sgrid { grid-template-columns: 1fr; } }

/* ---------- о комбинате ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: 28px; aspect-ratio: 4/3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow-l); }
.about__badge {
  position: absolute; right: -24px; bottom: -28px; background: var(--accent); color: #fff; border-radius: 24px; padding: 22px 26px;
  box-shadow: 0 20px 40px -14px rgba(255,91,46,.7);
}
.about__badge b { display: block; font: 800 44px/1 var(--f-head); }
.about__badge span { font-size: 14px; font-weight: 700; }
.about h2 { font-size: clamp(30px, 4vw, 46px); margin: 16px 0 22px; }
.about p { color: var(--muted); font-size: 17px; }
.about__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.about__fact { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.about__fact .ico { color: var(--blue); margin-top: 2px; }
.about__fact b { display: block; font-size: 15px; }
.about__fact span { font-size: 13px; color: var(--muted); }
@media (max-width: 980px) { .about { grid-template-columns: 1fr; gap: 56px; } .about__badge { right: 16px; } }
@media (max-width: 520px) { .about__facts { grid-template-columns: 1fr; } }

/* ---------- новости ---------- */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ncard { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.ncard:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); }
.ncard__img { aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, var(--ice), var(--ice-2)); position: relative; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ncard:hover .ncard__img img { transform: scale(1.05); }
.ncard__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); opacity: .5; }
.ncard__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ncard__date { font-size: 13px; color: var(--muted); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.ncard h3 { font: 700 18px/1.3 var(--f-body); }
.ncard p { color: var(--muted); font-size: 14px; margin: 0; }
.ncard--wide { grid-column: span 2; flex-direction: row; }
.ncard--wide .ncard__img { aspect-ratio: auto; flex: 1.1; min-height: 320px; }
.ncard--wide .ncard__body { flex: 1; padding: 34px; justify-content: center; }
.ncard--wide h3 { font: 700 26px/1.2 var(--f-head); }
@media (max-width: 980px) { .ngrid { grid-template-columns: repeat(2, 1fr); } .ncard--wide { grid-column: span 2; } }
@media (max-width: 640px) { .ngrid { grid-template-columns: 1fr; } .ncard--wide { grid-column: span 1; flex-direction: column; } .ncard--wide .ncard__img { min-height: 220px; } .ncard--wide .ncard__body { padding: 22px 24px 26px; } .ncard--wide h3 { font-size: 20px; } }

/* ---------- полоса-призыв ---------- */
.cta {
  position: relative; border-radius: 32px; padding: 56px; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(120deg, var(--blue-d), var(--blue) 50%, #2aa8ff);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
}
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; right: -100px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.1); z-index: -1; }
.cta::after { content: ""; position: absolute; width: 260px; height: 260px; left: 40%; bottom: -180px; border-radius: 50%; background: var(--accent); opacity: .9; z-index: -1; filter: blur(2px); }
.cta h2 { font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.cta p { color: #dbe7ff; font-size: 17px; margin: 0; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- форма ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font: 600 15px/1.4 var(--f-body); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,107,255,.14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.form-card { background: #fff; border-radius: 26px; padding: 32px; box-shadow: var(--shadow-l); color: var(--text); border: 1px solid var(--line); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; }
@media (max-width: 520px) { .form-card { padding: 22px; } }

.flash { padding: 16px 20px; border-radius: 16px; font-weight: 700; display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.flash--success { background: #dcf5e7; color: #0f6b3a; }
.flash--error { background: #ffe4dc; color: #a3300f; }

/* ---------- внутренние страницы ---------- */
.phead { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.phead::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(700px 360px at 90% 0%, rgba(63,208,255,.3), transparent 60%), radial-gradient(600px 300px at 0% 120%, rgba(31,107,255,.45), transparent 60%);
}
.phead--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.phead .wrap { padding-top: 64px; padding-bottom: 64px; }
.phead h1 { font-size: clamp(32px, 5vw, 60px); margin: 18px 0 14px; max-width: 900px; }
.phead p { color: #c5d3e4; font-size: 18px; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #8ea3bd; font-weight: 600; }
.crumbs a:hover { color: #fff; }
.crumbs span::before { content: "/"; margin-right: 8px; opacity: .5; }
.phead__meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 24px; font-size: 15px; color: #c5d3e4; }
.phead__meta span, .phead__meta a { display: inline-flex; align-items: center; gap: 8px; }
.phead__meta a:hover { color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.layout__side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; } .layout__side { position: static; } }

.card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.card + .card { margin-top: 20px; }
.card h2 { font-size: 24px; margin-bottom: 18px; }
.card h3 { font-size: 18px; margin-bottom: 12px; }
@media (max-width: 520px) { .card { padding: 20px; } }

.prose { font-size: 17px; line-height: 1.75; color: #23344a; overflow-wrap: anywhere; }
.prose h2 { font-size: 26px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 16px; margin: 1em 0; height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 12px; }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 14px 14px 0; }

.info-list { display: flex; flex-direction: column; gap: 16px; }
.info-list > div { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { color: var(--blue); margin-top: 2px; }
.info-list small { display: block; font-size: 12px; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.info-list b, .info-list a { font-size: 16px; font-weight: 700; white-space: pre-line; }
.info-list a:hover { color: var(--blue); }

/* прайс */
.price-group + .price-group { margin-top: 28px; }
.price-group h3 { font: 700 17px/1.3 var(--f-body); margin-bottom: 4px; }
.price-group__note { font-size: 14px; color: var(--muted); margin-bottom: 10px; }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-weight: 600; }
.price-row__name small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; }
.price-row__val { font: 700 19px/1.2 var(--f-head); color: var(--ink); text-align: right; white-space: nowrap; }
.price-row__val small { display: block; font: 700 12px/1.4 var(--f-body); color: var(--ok); }

/* недельное расписание */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.week__day { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 10px; min-height: 140px; }
.week__day.is-today { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,107,255,.12); }
.week__head { text-align: center; margin-bottom: 10px; }
.week__head b { display: block; font: 700 15px/1 var(--f-head); }
.week__head span { font-size: 12px; color: var(--muted); font-weight: 700; }
.week__day.is-today .week__head b { color: var(--blue); }
.slot { background: var(--ice); border-radius: 10px; padding: 7px 8px; font-size: 12.5px; line-height: 1.3; margin-bottom: 6px; }
.slot b { display: block; font-size: 13px; }
.slot span { color: var(--muted); font-weight: 600; }
.week__empty { text-align: center; color: #a8b5c6; font-size: 13px; padding-top: 18px; }
@media (max-width: 1000px) { .week { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .week { grid-template-columns: 1fr 1fr; } }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.tabs a { padding: 11px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; transition: .15s; }
.tabs a:hover { border-color: var(--blue); color: var(--blue); }
.tabs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.stable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.stable th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 14px 10px; }
.stable td { padding: 14px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stable td:first-child { border-left: 1px solid var(--line); border-radius: 14px 0 0 14px; font-weight: 800; }
.stable td:last-child { border-right: 1px solid var(--line); border-radius: 0 14px 14px 0; }
.stable tr + tr td { border-top: 0; }
.slots-list { display: flex; flex-direction: column; gap: 8px; }
.slots-list li { list-style: none; display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--ice); }
.slots-list { padding: 0; margin: 0; }
.slots-list b { font-family: var(--f-head); font-size: 15px; }
.slots-list span { color: var(--muted); font-weight: 600; font-size: 14px; }

.trainer { display: flex; gap: 14px; align-items: center; }
.trainer__ava { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; display: grid; place-items: center; font: 700 18px/1 var(--f-head); flex: none; overflow: hidden; }
.trainer__ava img { width: 100%; height: 100%; object-fit: cover; }
.trainer b { display: block; }
.trainer span, .trainer a { font-size: 14px; color: var(--muted); font-weight: 600; }
.trainer a:hover { color: var(--blue); }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tgrid .card { margin: 0; }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tgrid { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--ice); }
.gallery a:nth-child(5n+1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 12, 22, .94); display: none; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 12px; }

.docs { display: flex; flex-direction: column; gap: 10px; }
.doc { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .15s, transform .15s; }
.doc:hover { border-color: var(--blue); transform: translateX(4px); }
.doc__ext { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #ffe8e0; color: var(--accent-d); font: 800 11px/1 var(--f-body); flex: none; }
.doc b { display: block; font-size: 15px; line-height: 1.35; }
.doc span { font-size: 13px; color: var(--muted); }

.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-weight: 800; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

.search { display: flex; gap: 10px; max-width: 520px; margin-top: 26px; }
.search input { flex: 1; min-width: 0; padding: 14px 18px; border-radius: 999px; border: 0; font: 600 15px var(--f-body); }
.search input:focus { outline: 3px solid rgba(63,208,255,.5); }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--ice); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ico { color: var(--ice-2); margin: 0 auto 14px; }

/* ---------- подвал ---------- */
.footer { background: var(--ink); color: #9fb1c7; padding: 80px 0 36px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo__text b { color: #fff; }
.footer .logo__text small { color: #8ea3bd; }
.footer h4 { font: 700 13px/1 var(--f-body); color: #fff; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer a:hover { color: #fff; }
.footer__about { font-size: 14px; margin-top: 18px; max-width: 320px; }
.footer__phone { font: 700 22px/1.2 var(--f-head); color: #fff; display: block; margin-bottom: 6px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { height: 42px; padding: 0 16px; border-radius: 12px; background: rgba(255,255,255,.08); display: inline-flex; align-items: center; font-weight: 800; color: #fff; font-size: 14px; }
.footer__social a:hover { background: var(--blue); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.footer__credit { margin: 14px 0 0; font-size: 11px; letter-spacing: .04em; color: #8ea3bd; opacity: .6; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer { padding-top: 56px; } }

/* появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- мобильные правки шапки ---------- */
.logo { min-width: 0; }
.logo__text { min-width: 0; }
.logo__text b, .logo__text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mnav { visibility: hidden; transition: transform .3s, visibility 0s .3s; }
.mnav.is-open { visibility: visible; transition: transform .3s; }
@media (max-width: 560px) {
  .header .wrap { height: 66px; gap: 12px; }
  .logo__mark { width: 40px; height: 40px; font-size: 19px; border-radius: 12px; }
  .logo__text b { font-size: 14px; }
  .logo__text small { font-size: 11px; }
  .burger { width: 42px; height: 42px; flex: none; }
  .topbar .wrap { gap: 12px; }
  .hero__stats b { font-size: 30px; }
  .today { padding: 18px; }
  .about__media img { aspect-ratio: 4/3; }
}
.about__media img { object-position: 30% 50%; }

/* обложка новости и просмотр фото */
.news-cover { display: block; margin-bottom: 24px; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.news-cover img { width: 100%; transition: transform .4s; }
.news-cover:hover img { transform: scale(1.02); }
.gallery a { cursor: zoom-in; }
.lightbox { touch-action: pan-y; }
.lightbox img { cursor: default; user-select: none; -webkit-user-drag: none; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; backdrop-filter: blur(6px);
}
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-prev { left: 20px; } .lb-next { right: 20px; }
.lb-close { top: 20px; right: 20px; transform: none; font-size: 24px; }
.lb-count { pointer-events: none; position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #c5d3e4; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; width: 48px; height: 48px; } .lb-prev { left: 16px; } .lb-next { right: 16px; } }

/* Галерея: скрытые до «Показать все» */
.gallery a[hidden] { display: none; }
.gallery-more { text-align: center; margin-top: 20px; }
.muted-count { font-size: .55em; color: var(--muted, #6b7a90); font-weight: 600; vertical-align: middle; margin-left: 6px; }

/* СпортРядом и виджет Госуслуг */
.block--tight-bottom { padding-bottom: 0; }
.sapp { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: center; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.sapp__logo { width: 100%; border-radius: 16px; }
.sapp h3 { font-size: 24px; margin: 6px 0 10px; }
.sapp p { color: var(--muted); margin: 0 0 18px; }
.sapp__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sapp--compact { grid-template-columns: 1fr; gap: 16px; padding: 22px; }
.sapp--compact .sapp__logo { max-width: 220px; }
.sapp--compact h3 { font-size: 19px; }
@media (max-width: 760px) { .sapp { grid-template-columns: 1fr; gap: 18px; padding: 20px; } .sapp__logo { max-width: 260px; } }
.pos { margin-top: 56px; }
.pos__title { font-size: 22px; margin-bottom: 14px; }
.pos__frame { border-radius: 20px; overflow: hidden; }

/* ---------- «Что сейчас идёт» ---------- */
.live.is-closed { color: #ffb59e; }
.live.is-closed::before { background: #ff8a65; animation: none; }
.live--dark { color: var(--ok); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.block--now { padding-top: 72px; }
.nowblock__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; margin-bottom: 26px; }
.nowblock__head h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 12px; }
.nowblock__head p { color: var(--muted); max-width: 440px; margin: 0; font-size: 15px; }
.nowblock__head p a { color: var(--blue); font-weight: 700; white-space: nowrap; }
.block--tight .nowblock { margin-bottom: 48px; }
.nowgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.now {
  position: relative; display: flex; gap: 14px; padding: 20px; border-radius: var(--radius-s);
  background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s;
}
.now:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.now__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--ice); color: var(--blue); }
.now__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.now__state { display: inline-flex; align-items: center; gap: 7px; font: 800 12px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.now__title { font: 700 17px/1.25 var(--f-head); }
.now__detail { font-weight: 700; font-size: 14px; color: var(--text); }
.now__place { font-size: 13px; color: var(--muted); }
.now--now { border-color: rgba(24,160,88,.45); background: linear-gradient(135deg, #effbf4, #fff 60%); }
.now--now .now__icon { background: #dcf5e7; color: var(--ok); }
.now--now .now__state { color: var(--ok); }
.now--now .now__state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(24,160,88,.6); animation: pulse-ok 1.8s infinite; }
@keyframes pulse-ok { 70% { box-shadow: 0 0 0 8px rgba(24,160,88,0); } 100% { box-shadow: 0 0 0 0 rgba(24,160,88,0); } }
.now--soon { border-color: rgba(255,91,46,.4); }
.now--soon .now__icon { background: #ffe8e0; color: var(--accent-d); }
.now--soon .now__state { color: var(--accent-d); }
.now--later .now__state { color: var(--blue); }
.now--off { background: var(--bg); }
.now--off .now__icon { background: #fff; color: var(--muted); }
.now--off .now__title { color: var(--muted); }

/* мультяшные сценки на фоне карточек «Что сейчас идёт» */
.now { overflow: hidden; }
.now__icon, .now__body { position: relative; z-index: 1; }
.scene { position: absolute; right: 4px; bottom: 2px; width: 132px; height: 88px; color: var(--blue); opacity: .16; pointer-events: none; -webkit-mask-image: linear-gradient(to right, transparent, #000 35%); mask-image: linear-gradient(to right, transparent, #000 35%); }
.scene * { transform-box: fill-box; }
.now--now .scene { color: var(--ok); opacity: .24; }
.now--soon .scene { color: var(--accent); opacity: .2; }
.now--off .scene { color: var(--muted); opacity: .12; }
.now--off .scene * { animation-play-state: paused !important; }
html[data-a11y] .scene { display: none; }

.sc-waves { animation: sc-waves 3s linear infinite; }
.sc-swim { animation: sc-bob 1.5s ease-in-out infinite; }
.sc-arm { transform-origin: 50% 100%; animation: sc-stroke 1.5s linear infinite; }
.sc-kick { transform-origin: 0 50%; animation: sc-kick .5s ease-in-out infinite alternate; }
@keyframes sc-waves { to { transform: translateX(40px); } }
@keyframes sc-bob { 50% { transform: translateY(2px); } }
@keyframes sc-stroke { to { transform: rotate(-360deg); } }
@keyframes sc-kick { to { transform: rotate(-25deg); } }

.sc-bar { animation: sc-press 2.4s ease-in-out infinite; }
.sc-arms line { vector-effect: non-scaling-stroke; transform-origin: 50% 100%; animation: sc-arms 2.4s ease-in-out infinite; }
.sc-body { animation: sc-dip 2.4s ease-in-out infinite; }
@keyframes sc-press { 0%, 20% { transform: translateY(0); } 45%, 65% { transform: translateY(-19px); } 90%, 100% { transform: translateY(0); } }
@keyframes sc-arms { 0%, 20% { transform: scaleY(1); } 45%, 65% { transform: scaleY(7.3); } 90%, 100% { transform: scaleY(1); } }
@keyframes sc-dip { 0%, 12%, 30%, 100% { transform: translateY(0); } 20% { transform: translateY(2px); } }

.sc-skate { animation: sc-glide 5s linear infinite; }
.sc-lean { transform-origin: 50% 100%; animation: sc-lean 1.25s ease-in-out infinite alternate; }
.sc-push { transform-origin: 100% 0; animation: sc-push .625s ease-in-out infinite alternate; }
.sc-trail { animation: sc-trail .8s linear infinite; }
@keyframes sc-glide { 0% { transform: translateX(-20px); opacity: 0; } 10%, 85% { opacity: 1; } 100% { transform: translateX(140px); opacity: 0; } }
@keyframes sc-lean { from { transform: rotate(-6deg); } to { transform: rotate(4deg); } }
@keyframes sc-push { to { transform: rotate(-35deg); } }
@keyframes sc-trail { to { stroke-dashoffset: 16; } }

.sc-ballx { animation: sc-roll 3s linear infinite; }
.sc-bally { animation: sc-bounce .75s cubic-bezier(.3, 0, .7, 1) infinite alternate; }
.sc-spin { transform-origin: 50% 50%; animation: sc-spin .9s linear infinite; }
@keyframes sc-roll { 0% { transform: translateX(-10px); opacity: 0; } 10%, 80% { opacity: 1; } 100% { transform: translateX(104px); opacity: 0; } }
@keyframes sc-bounce { from { transform: translateY(26px); } to { transform: translateY(63px); } }
@keyframes sc-spin { to { transform: rotate(360deg); } }

.sc-dribble { animation: sc-dribble .6s cubic-bezier(.5, 0, 1, .5) infinite alternate; }
.sc-shadow { transform-origin: 50% 50%; animation: sc-shadow .6s cubic-bezier(.5, 0, 1, .5) infinite alternate; }
@keyframes sc-dribble { from { transform: translateY(24px); } to { transform: translateY(62px); } }
@keyframes sc-shadow { from { transform: scale(.5); opacity: .15; } to { transform: scale(1); } }

.sc-steam path { animation: sc-steam 2.4s ease-in-out infinite; }
.sc-steam path:nth-child(2) { animation-delay: -.8s; }
.sc-steam path:nth-child(3) { animation-delay: -1.6s; }
@keyframes sc-steam { 0% { transform: translateY(6px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }

.quizcta {
  margin-top: 28px; display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--ink); color: #fff; background-image: radial-gradient(500px 200px at 100% 0%, rgba(63,208,255,.25), transparent 70%);
}
.quizcta > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.quizcta b { font: 700 19px/1.25 var(--f-head); }
.quizcta > span:nth-child(2) span { color: #9fb1c7; font-size: 15px; }
.quizcta__icon { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.1); color: var(--cyan); }
@media (max-width: 720px) { .quizcta { flex-wrap: wrap; padding: 22px; } .quizcta .btn { width: 100%; } .quizcta__icon { display: none; } }

/* ---------- подбор секции ---------- */
.phead__btn { margin-top: 26px; }
.quiz { position: relative; max-width: 920px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow); }
.quiz__progress { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--ice); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .4s ease; }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: qin .35s ease; }
@keyframes qin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz__num { font: 800 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.quiz h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 14px 0 26px; }
.quiz__hint { color: var(--muted); margin: -14px 0 22px; }
.quiz__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.qopt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 22px; border-radius: var(--radius-s);
  border: 2px solid var(--line); background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--text);
  transition: border-color .15s, transform .15s, background .15s;
}
.qopt .ico { color: var(--blue); margin-bottom: 8px; }
.qopt b { font: 700 17px/1.25 var(--f-head); }
.qopt span { font-size: 14px; color: var(--muted); }
.qopt:hover { border-color: var(--blue); transform: translateY(-2px); }
.qopt.is-on { border-color: var(--blue); background: var(--ice); box-shadow: inset 0 0 0 1px var(--blue); }
.quiz__age { display: flex; align-items: center; justify-content: center; gap: 28px; margin: 10px 0 18px; }
.quiz__age output { font: 800 clamp(44px, 7vw, 72px)/1 var(--f-head); color: var(--blue); min-width: 4ch; text-align: center; }
.quiz__pm { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--line); background: #fff; font: 700 28px/1 var(--f-body); color: var(--text); cursor: pointer; }
.quiz__pm:hover { border-color: var(--blue); color: var(--blue); }
.quiz__range { width: 100%; accent-color: var(--blue); height: 32px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.quiz__nav .btn[disabled] { opacity: .45; cursor: default; transform: none; }
.quiz__res { display: grid; gap: 16px; }
.quiz__maybe { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.quiz__maybe h3 { font-size: 22px; margin-bottom: 18px; }
.qres { display: grid; grid-template-columns: 220px 1fr; border: 1px solid var(--line); border-radius: var(--radius-s); overflow: hidden; }
.qres img, .qres__nophoto { width: 100%; height: 100%; min-height: 170px; object-fit: cover; background: linear-gradient(135deg, var(--ice-2), var(--ice)); }
.qres__body { padding: 20px 22px; }
.qres__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.qres h3 { font-size: 20px; margin-bottom: 8px; }
.qres p { color: var(--muted); margin: 0 0 6px; font-size: 15px; }
.qres__where { font-weight: 700; color: var(--text) !important; font-size: 14px !important; }
.qres__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.tag--line { background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 640px) {
  .quiz { padding: 32px 18px 24px; border-radius: var(--radius-s); }
  .quiz__opts { grid-template-columns: 1fr; }
  .qopt { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 16px 18px; }
  .qopt .ico { margin: 0; }
  .qopt span { flex-basis: 100%; padding-left: 44px; margin-top: -4px; }
  .qres { grid-template-columns: 1fr; }
  .qres img, .qres__nophoto { min-height: 150px; max-height: 180px; }
  .quiz__nav .btn { flex: 1; }
}

/* ---------- история ---------- */
.myshkin { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.myshkin__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; z-index: -2; }
.myshkin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(800px 500px at 100% 0%, rgba(63,208,255,.25), transparent 60%), linear-gradient(180deg, rgba(10,22,38,.4), var(--ink)); }
.myshkin__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: start; }
.myshkin h2 { font-size: clamp(36px, 5vw, 64px); margin: 16px 0 14px; }
.myshkin__role { font-size: 19px; color: var(--cyan); font-weight: 700; margin-bottom: 26px; }
.myshkin p { color: #c5d3e4; font-size: 17px; line-height: 1.7; }
.myshkin__note { padding: 18px 22px; border-left: 4px solid var(--accent); background: rgba(255,255,255,.06); border-radius: 0 14px 14px 0; color: #fff !important; font-weight: 700; }
.myshkin__awards { margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px !important; color: #9fb1c7 !important; }
.medals { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.medal { padding: 22px 20px; border-radius: var(--radius-s); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.medal b { display: block; font: 800 34px/1 var(--f-head); color: #fff; margin-bottom: 10px; }
.medal span { font-weight: 700; font-size: 15px; line-height: 1.35; }
.medal small { font-weight: 600; font-size: 13px; color: #9fb1c7; }
.medal--gold { grid-column: span 2; background: linear-gradient(135deg, rgba(255,196,61,.28), rgba(255,255,255,.04)); border-color: rgba(255,196,61,.45); }
.medal--gold b { color: #ffd166; font-size: 52px; }
.medal--silver b { color: #d6e2ef; }
@media (max-width: 980px) { .myshkin__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 420px) { .medal b { font-size: 28px; } .medal--gold b { font-size: 42px; } .medal { padding: 18px 16px; } }

.tline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 900px; }
.tline::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--blue), var(--cyan)); opacity: .35; }
.tline li { position: relative; display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 0 0 34px; }
.tline li::after { content: ""; position: absolute; left: 112px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.tline__year { font: 800 22px/1.2 var(--f-head); color: var(--blue); text-align: right; }
.tline h3 { font-size: 20px; margin-bottom: 8px; }
.tline p { color: var(--muted); margin: 0; font-size: 16px; }
.tline__now li::after, .tline .tline__now::after { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(255,91,46,.18); }
.tline__now .tline__year { color: var(--accent); font-size: 17px; }
@media (max-width: 640px) {
  .tline::before { left: 6px; }
  .tline li { grid-template-columns: 1fr; gap: 6px; padding-left: 34px; }
  .tline li::after { left: 0; }
  .tline__year { text-align: left; }
}

.arenas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.arenas .card { margin: 0; }
.arenas .card .ico { color: var(--blue); margin-bottom: 14px; }
.arenas .card p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 1000px) { .arenas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .arenas { grid-template-columns: 1fr; } }

.champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.champ { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.champ img, .champ__nophoto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.champ__nophoto { display: grid; place-items: center; background: linear-gradient(135deg, var(--ice-2), var(--ice)); color: var(--blue); }
.champ__body { padding: 18px 20px 22px; }
.champ h3 { font-size: 18px; margin: 10px 0 6px; }
.champ p { color: var(--muted); margin: 0; font-size: 15px; }
.sources { font-size: 13px; color: var(--muted); }
.sources a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- версия для слабовидящих ---------- */
.topbar__a11y { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: #fff; font: 700 13px/1 var(--f-body); cursor: pointer; }
.topbar__a11y:hover { color: var(--cyan); }
.a11y { display: none; background: #fff; color: #000; border-bottom: 3px solid #000; }
html[data-a11y] .a11y { display: block; }
.a11y .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 12px; padding-bottom: 12px; }
.a11y__group { display: flex; align-items: center; gap: 6px; }
.a11y__group span { font-weight: 700; margin-right: 4px; }
.a11y button { min-width: 44px; min-height: 44px; padding: 6px 12px; border: 2px solid #000; border-radius: 6px; background: #fff; color: #000; font: 700 18px/1 Arial, sans-serif; cursor: pointer; }
.a11y button[aria-pressed="true"] { outline: 3px solid #000; outline-offset: 2px; text-decoration: underline; }
.a11y [data-a11y-fs="2"] { font-size: 22px; }
.a11y [data-a11y-fs="3"] { font-size: 26px; }
.a11y [data-a11y-scheme="wb"] { background: #fff !important; color: #000 !important; }
.a11y [data-a11y-scheme="bw"] { background: #000 !important; color: #fff !important; border-color: #000 !important; }
.a11y [data-a11y-scheme="blue"] { background: #9dd1ff !important; color: #063462 !important; border-color: #063462 !important; }
.a11y .a11y__off { margin-left: auto; }

html[data-a11y] { --a-bg: #fff; --a-fg: #000; --a-link: #0000cc; }
html[data-scheme="bw"] { --a-bg: #000; --a-fg: #fff; --a-link: #ffff66; }
html[data-scheme="blue"] { --a-bg: #9dd1ff; --a-fg: #063462; --a-link: #063462; }
html[data-a11y] body, html[data-a11y] body *:not(.a11y [data-a11y-scheme]) {
  background-color: var(--a-bg) !important; background-image: none !important; color: var(--a-fg) !important;
  border-color: var(--a-fg) !important; box-shadow: none !important; text-shadow: none !important;
  font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em !important;
  backdrop-filter: none !important; animation: none !important;
}
html[data-a11y] body *::before, html[data-a11y] body *::after { background-image: none !important; box-shadow: none !important; }
html[data-a11y] body * { overflow-wrap: anywhere; }
html[data-a11y] a { text-decoration: underline !important; }
html[data-a11y] main a, html[data-a11y] footer a { color: var(--a-link) !important; }
html[data-a11y] .btn, html[data-a11y] .qopt, html[data-a11y] .now, html[data-a11y] .card, html[data-a11y] input, html[data-a11y] select, html[data-a11y] textarea { border: 2px solid var(--a-fg) !important; }
html[data-a11y] .reveal { opacity: 1 !important; transform: none !important; }
html[data-a11y] .hero__bg, html[data-a11y] .myshkin__bg, html[data-a11y] .phead--photo > img { display: none !important; }
html[data-a11y] .hero::before, html[data-a11y] .hero::after, html[data-a11y] .phead::before, html[data-a11y] .myshkin::before { display: none !important; }
html[data-a11y] .header { position: static; }
html[data-a11y] .drop { display: none !important; }
html[data-img="off"] main img, html[data-img="off"] .fcard img { display: none !important; }
html[data-fs="1"] body *:not(.a11y *) { font-size: 18px !important; line-height: 1.5 !important; }
html[data-fs="2"] body *:not(.a11y *) { font-size: 22px !important; line-height: 1.5 !important; }
html[data-fs="3"] body *:not(.a11y *) { font-size: 26px !important; line-height: 1.5 !important; }
html[data-a11y] body h1:not(.a11y *) { font-size: 1.8em !important; line-height: 1.2 !important; }
html[data-a11y] body h2:not(.a11y *) { font-size: 1.5em !important; line-height: 1.2 !important; }
html[data-a11y] body h3:not(.a11y *) { font-size: 1.2em !important; }
html[data-a11y] .header .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
html[data-a11y] .nav { flex-wrap: wrap; }
html[data-a11y] .btn, html[data-a11y] .tag, html[data-a11y] .nowblock__head p a { white-space: normal !important; }
html[data-a11y] .logo { min-width: 0; flex: 1 1 auto; }
html[data-a11y] .logo__text, html[data-a11y] .logo__text * { white-space: normal !important; min-width: 0; }
@media (max-width: 640px) { html[data-a11y] .logo__mark { display: none; } html[data-a11y] .logo__text small { display: none; } }
.topbar span, .topbar a, .topbar__a11y { white-space: nowrap; }
@media (max-width: 1500px) { .topbar__wide { display: none !important; } }
@media (max-width: 1200px) { .topbar__group span.topbar__hide:first-child { display: none !important; } }
html[data-a11y] .topbar .wrap, html[data-a11y] .topbar__group { flex-wrap: wrap; }
html[data-a11y] .topbar span, html[data-a11y] .topbar a, html[data-a11y] .topbar__a11y { white-space: normal !important; }
