/* ═══════════════ АС клуб — стили сайта ═══════════════ */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/unbounded-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('/fonts/unbounded-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-cyr.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-lat.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #050a1d;
  --navy-900: #0a1433;
  --navy-850: #0d1a40;
  --navy-800: #12214d;
  --navy-700: #1b2d66;
  --ring: #273772;
  --blue: #1b4788;
  --blue-400: #4a83f0;
  --sky: #a9c6ff;
  --lime: #d6f54a;
  --lime-deep: #b8db20;
  --paper: #f2f4fa;
  --paper-2: #e6eaf5;
  --white: #ffffff;
  --ink: #0a1433;
  --ink-2: #39446a;
  --muted: #69739a;
  --on-dark: #eef2ff;
  --on-dark-2: rgba(226, 233, 255, .7);
  --line-d: rgba(169, 198, 255, .14);
  --line-l: rgba(10, 20, 51, .1);
  --r-sm: 12px;
  --r: 22px;
  --r-lg: 34px;
  --ff-d: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --ff: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, .9, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4.2vw, 56px);
  --maxw: 1320px;
  --hdr: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 12px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--ff); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--navy-950); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--lime); color: var(--navy-900); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 12px; }

/* ─── логотип ─── */
.ac-logo .lg-ring { fill: var(--ring); }
.ac-logo .lg-gap { fill: #fff; }
.ac-logo .lg-disk { fill: var(--blue); }
.ac-logo .lg-letters { fill: #fff; }

/* ─── кнопки ─── */
.btn { --bh: 50px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--ff); font-weight: 800; font-size: 15px; letter-spacing: .01em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s; isolation: isolate; overflow: hidden; }
.btn .arr { font-style: normal; display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(120px 120px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .45), transparent 70%); opacity: 0; transition: opacity .3s; }
.btn:hover::after { opacity: 1; }
.btn-lg { --bh: 60px; padding: 0 32px; font-size: 16px; }
.btn-sm { --bh: 42px; padding: 0 18px; font-size: 14px; }
.btn-lime { background: var(--lime); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(214, 245, 74, .55); }
.btn-lime:hover { box-shadow: 0 16px 40px -12px rgba(214, 245, 74, .75); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--on-dark); border-color: rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--navy-900); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(10, 20, 51, .25); }
.btn-outline:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ─── шапка ─── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--hdr); transition: transform .5s var(--ease), background-color .35s, backdrop-filter .35s; }
.site-header.is-scrolled { background: rgba(5, 10, 29, .72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 var(--line-d); }
.site-header.is-hidden { transform: translateY(-100%); }
.hdr { height: 100%; display: flex; align-items: center; gap: 28px; color: var(--on-dark); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-logo { width: 42px; height: 42px; transition: transform .8s var(--ease); }
.brand:hover .brand-logo { transform: rotate(360deg); }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--ff-d); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.brand-tag { font-size: 12px; color: var(--on-dark-2); font-weight: 600; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav-a { position: relative; padding: 10px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--on-dark-2); transition: color .25s, background-color .25s; }
.nav-a:hover, .nav-a.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.hdr-cta { flex: 0 0 auto; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .05); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.scroll-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden; }
.scroll-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--lime), var(--blue-400)); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

.mobile-menu { position: fixed; inset: 0; z-index: 55; background: var(--navy-950); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hdr) + 24px) var(--gut) 32px; clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease-out); visibility: hidden; }
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.mm-nav { display: flex; flex-direction: column; gap: 6px; }
.mm-nav a { font-family: var(--ff-d); font-weight: 700; font-size: clamp(30px, 9vw, 52px); text-decoration: none; display: flex; align-items: baseline; gap: 14px; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(.08s * var(--i) + .15s); }
.mm-nav a small { font-family: var(--ff); font-size: 13px; color: var(--lime); font-weight: 800; }
.menu-open .mm-nav a { opacity: 1; transform: none; }
.mm-foot { display: flex; flex-direction: column; gap: 14px; font-weight: 700; }
.mm-foot a:not(.btn) { color: var(--on-dark-2); text-decoration: none; font-size: 20px; }

/* ─── общие секции ─── */
.sec { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.sec-light { background: var(--paper); color: var(--ink); }
.sec-dark { background: var(--navy-950); color: var(--on-dark); }
.sec-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 64px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.kicker::before { content: ''; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.sec-dark .kicker, .hero .kicker { color: var(--lime); }
.hero .kicker::before { display: none; }
.h2 { font-family: var(--ff-d); font-weight: 800; font-size: clamp(32px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.02em; }
.lead { margin-top: 20px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 640px; }
.sec-dark .lead { color: var(--on-dark-2); }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-i { display: inline-block; will-change: transform; }

/* ─── прелоадер ─── */
.preloader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--navy-950); }
.no-preloader .preloader, .editing .preloader { display: none; }
.pl-inner { display: grid; justify-items: center; gap: 22px; }
.pl-logo { width: min(34vw, 180px); height: auto; }
.pl-logo .lg-ring, .pl-logo .lg-disk { transform-origin: 1000px 1000px; }
.pl-logo .lg-letters { fill: transparent; stroke: #fff; stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl-count { font-family: var(--ff-d); font-weight: 700; color: var(--lime); font-size: 14px; letter-spacing: .2em; }
.pl-wipe { position: absolute; inset: 0; background: var(--lime); transform: scaleY(0); transform-origin: 50% 100%; }

/* ─── курсор ─── */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1.5px solid rgba(214, 245, 74, .9); opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, opacity .3s; mix-blend-mode: difference; }
.cursor i { position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px; border-radius: 50%; background: var(--lime); }
.has-cursor .cursor { opacity: 1; }
.cursor.is-hover { width: 74px; height: 74px; margin: -37px 0 0 -37px; background: rgba(214, 245, 74, .15); }

/* ─── герой ─── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--on-dark); background: var(--navy-950); overflow: hidden; padding: calc(var(--hdr) + 40px) 0 120px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .7; will-change: transform; }
.orb-1 { width: 58vw; height: 58vw; left: -16vw; top: -22vw; background: radial-gradient(circle, rgba(27, 71, 136, .95), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.orb-2 { width: 46vw; height: 46vw; right: -12vw; top: 8vh; background: radial-gradient(circle, rgba(74, 131, 240, .55), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.orb-3 { width: 30vw; height: 30vw; left: 30vw; bottom: -14vw; background: radial-gradient(circle, rgba(214, 245, 74, .28), transparent 65%); animation: drift3 16s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-6vw, 10vh) scale(.92); } }
@keyframes drift3 { to { transform: translate(10vw, -8vh) scale(1.2); } }
.hero-grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 60%; background-image: linear-gradient(rgba(169, 198, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 198, 255, .09) 1px, transparent 1px); background-size: 64px 64px; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%; mask-image: linear-gradient(to top, #000 10%, transparent 80%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 80%); animation: gridmove 6s linear infinite; }
@keyframes gridmove { to { background-position: 0 64px, 0 0; } }
.noise { position: absolute; inset: -50%; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -4%); } 60% { transform: translate(-3%, 5%); } 80% { transform: translate(5%, 2%); } 100% { transform: translate(0, 0); } }
.hero-inner { position: relative; display: block; }
.hero-copy { position: relative; z-index: 2; }
.hero-title { font-family: var(--ff-d); font-weight: 900; font-size: clamp(36px, 8.4vw, 140px); line-height: .94; letter-spacing: -.035em; text-transform: uppercase; margin: 6px 0 30px; }
.wd { display: inline-block; white-space: nowrap; }
.ht-line { display: block; overflow: hidden; padding: .04em 0 .06em; margin: -.04em 0 -.06em; }
.ht-in { display: inline-block; }
.ht-line:nth-child(2) .ht-in { padding-left: .6em; }
.hl { color: var(--lime); text-shadow: 0 0 40px rgba(214, 245, 74, .35); }
.ch { display: inline-block; will-change: transform; }
.hero-lead { max-width: 560px; font-size: clamp(17px, 1.45vw, 20px); color: var(--on-dark-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.k-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(214, 245, 74, .18); }
.next-chip { display: inline-flex; align-items: center; gap: 14px; margin-top: 40px; padding: 12px 20px 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); text-decoration: none; backdrop-filter: blur(10px); transition: border-color .3s, background-color .3s; max-width: 100%; }
.next-chip:hover { border-color: rgba(214, 245, 74, .5); background: rgba(255, 255, 255, .08); }
.pulse { position: relative; flex: 0 0 auto; width: 12px; height: 12px; border-radius: 50%; background: var(--lime); }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lime); animation: ping 1.8s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.nc-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.nc-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--on-dark-2); font-weight: 700; }
.nc-txt strong { font-family: var(--ff-d); font-weight: 700; font-size: 16px; color: #fff; }
.nc-txt [data-next-what] { font-size: 14px; color: var(--on-dark-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-mark { position: absolute; z-index: 1; right: -2%; top: 50%; margin-top: calc(min(44vw, 600px) / -2); aspect-ratio: 1; width: min(44vw, 600px); pointer-events: none; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .o { fill: none; stroke: rgba(169, 198, 255, .22); stroke-width: 1.2; }
.orbit .o1 { stroke-dasharray: 2 10; }
.orbit .o2 { stroke: rgba(169, 198, 255, .14); }
.orbit .o3 { stroke-dasharray: 60 14; stroke: rgba(214, 245, 74, .3); }
.orbit .traj { fill: none; stroke: rgba(214, 245, 74, .55); stroke-width: 1.5; stroke-dasharray: 3 9; stroke-linecap: round; }
.orbit .t2 { stroke: rgba(169, 198, 255, .35); }
.sat-g { transform-origin: 300px 300px; }
.sat { fill: var(--lime); filter: drop-shadow(0 0 8px rgba(214, 245, 74, .9)); }
.sat-b { fill: var(--sky); filter: drop-shadow(0 0 6px rgba(169, 198, 255, .9)); }
.sat-c { fill: #fff; }
.g1 { animation: spin 14s linear infinite; }
.g2 { animation: spin 22s linear infinite reverse; }
.g3 { animation: spin 9s linear infinite; }
.orbit .o1 { transform-origin: 300px 300px; animation: spin 80s linear infinite; }
.orbit .o3 { transform-origin: 300px 300px; animation: spin 40s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.mark-logo { position: absolute; inset: 21%; border-radius: 50%; box-shadow: 0 40px 120px -20px rgba(27, 71, 136, .9), 0 0 0 1px rgba(255, 255, 255, .06); will-change: transform; }
.hero-logo { width: 100%; height: 100%; }
.hero-logo .lg-letters { stroke: #fff; stroke-width: 0; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); text-decoration: none; }
.scroll-cue i { width: 1.5px; height: 46px; background: linear-gradient(var(--lime), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ─── бегущая строка ─── */
.marquee { position: relative; z-index: 2; background: var(--lime); color: var(--navy-900); overflow: hidden; padding: 20px 0; transform: rotate(-1.4deg) scale(1.02); margin: -26px 0; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .5); }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--ff-d); font-weight: 800; font-size: clamp(20px, 2.6vw, 36px); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.mq-item i { font-style: normal; font-size: .7em; color: var(--blue); }

/* ─── секции клуба ─── */
.directions { overflow: hidden; }
.dir-pin { position: relative; }
.dir-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; padding-inline: var(--gut); max-width: var(--maxw); margin: 0 auto; }
.dir-card { position: relative; display: flex; flex-direction: column; gap: 14px; min-height: 440px; padding: 30px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-l); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .5s, color .5s; }
.dir-card::before { content: ''; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(74, 131, 240, .18), transparent 70%); transition: transform .8s var(--ease); }
.dir-card:hover { transform: translateY(-8px); box-shadow: 0 40px 80px -40px rgba(10, 20, 51, .45); background: var(--navy-900); color: var(--on-dark); }
.dir-card:hover::before { transform: scale(1.8); }
.dir-top { display: flex; justify-content: space-between; align-items: flex-start; }
.dir-num { font-family: var(--ff-d); font-weight: 900; font-size: clamp(54px, 5vw, 80px); line-height: .9; color: rgba(10, 20, 51, .09); transition: color .5s; }
.dir-card:hover .dir-num { color: var(--lime); }
.dir-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background-color .5s, transform .8s var(--ease); }
.dir-card:hover .dir-icon { background: var(--lime); transform: rotate(-12deg) scale(1.06); }
.ico { width: 44px; height: 44px; fill: none; stroke: var(--navy-900); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico .ico-dot { fill: var(--navy-900); }
.ico .ico-trail { stroke-dasharray: 2 5; }
.ico .ico-arc { stroke-dasharray: 90; stroke-dashoffset: 0; }
.dir-card:hover .ico .ico-arc { animation: arcdraw 1.2s var(--ease) both; }
@keyframes arcdraw { from { stroke-dashoffset: 90; } to { stroke-dashoffset: 0; } }
.dir-title { font-family: var(--ff-d); font-weight: 800; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; margin-top: auto; padding-top: 30px; }
.dir-age { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-weight: 800; font-size: 13px; color: var(--blue); }
.dir-card:hover .dir-age { background: rgba(214, 245, 74, .14); color: var(--lime); }
.dir-text { color: var(--ink-2); font-size: 15.5px; }
.dir-card:hover .dir-text { color: var(--on-dark-2); }
.dir-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; text-decoration: none; margin-top: 6px; }
.dir-link .arr { font-style: normal; transition: transform .35s var(--ease); }
.dir-link:hover .arr { transform: translateX(5px); }
.dir-card:hover .dir-link { color: var(--lime); }
/* горизонтальная прокрутка на широких экранах — включает app.js */
.dir-h .directions { height: 100vh; min-height: 680px; padding: calc(var(--hdr) + 16px) 0 36px; display: flex; flex-direction: column; justify-content: center; }
.dir-h .directions .sec-head { margin-bottom: 28px; }
.dir-h .dir-track { display: flex; flex-wrap: nowrap; max-width: none; margin: 0; width: max-content; padding-inline: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut))); }
.dir-h .dir-card { width: min(430px, 33vw); min-height: min(500px, 54vh); flex: 0 0 auto; }

/* ─── цифры ─── */
.stats { background: var(--navy-900); color: var(--on-dark); padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid var(--line-d); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 8px 0 8px 22px; border-left: 1px solid var(--line-d); }
.stat-v { font-family: var(--ff-d); font-weight: 800; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.03em; background: linear-gradient(180deg, #fff 30%, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-l { margin-top: 10px; color: var(--on-dark-2); font-weight: 600; max-width: 220px; }

/* ─── расписание ─── */
.schedule { background: radial-gradient(1200px 600px at 85% 0%, rgba(27, 71, 136, .45), transparent 60%), var(--navy-950); }
.loc-tabs { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; padding: 6px; border-radius: 26px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); max-width: 100%; }
.loc-tab { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 24px; border: 0; border-radius: 20px; background: transparent; text-align: left; color: var(--on-dark-2); transition: color .35s; min-width: 0; }
.loc-tab.is-active { color: var(--navy-900); }
.lt-name { font-family: var(--ff-d); font-weight: 700; font-size: clamp(15px, 1.4vw, 19px); white-space: nowrap; }
.lt-sub { font-size: 13px; font-weight: 700; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.loc-pill { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 20px; background: var(--lime); box-shadow: 0 10px 30px -10px rgba(214, 245, 74, .6); transition: transform .6s var(--ease), width .6s var(--ease); }
.sched-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 26px 0 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-d); background: transparent; color: var(--on-dark-2); font-weight: 800; font-size: 14px; transition: all .3s; }
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.chip.is-active { background: #fff; color: var(--navy-900); border-color: #fff; }
.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-d); }
.vt { padding: 9px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--on-dark-2); font-weight: 800; font-size: 14px; transition: all .3s; }
.vt.is-active { background: var(--blue); color: #fff; }
.loc-panel { display: none; }
.loc-panel.is-active { display: block; }
.loc-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--line-d); }
.loc-addr { font-family: var(--ff-d); font-weight: 600; font-size: clamp(17px, 1.6vw, 21px); color: #fff; }
.loc-intro { margin-top: 6px; color: var(--on-dark-2); max-width: 720px; }
.map-link { flex: 0 0 auto; font-weight: 800; color: var(--lime); text-decoration: none; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(214, 245, 74, .35); transition: background-color .3s; }
.map-link:hover { background: rgba(214, 245, 74, .1); }
.view { display: none; }
.view.is-active { display: block; }
.groups-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.g-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r); background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025)); border: 1px solid var(--line-d); transition: transform .5s var(--ease), border-color .4s, opacity .4s, filter .4s; overflow: hidden; }
.g-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px 160px at var(--mx, 50%) var(--my, 0%), rgba(214, 245, 74, .12), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.g-card:hover { transform: translateY(-4px); border-color: rgba(214, 245, 74, .35); }
.g-card:hover::after { opacity: 1; }
.g-card.is-dim, .day-item.is-dim { opacity: .18; filter: grayscale(1); }
.g-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.g-age { font-weight: 800; font-size: 13px; color: var(--lime); }
.g-kind { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--on-dark-2); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-d); white-space: nowrap; }
.g-title { font-family: var(--ff-d); font-weight: 700; font-size: 21px; line-height: 1.15; color: #fff; }
.g-note { color: var(--on-dark-2); font-size: 15px; margin-top: -4px; }
.g-note:empty { display: none; }
.g-sessions { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: grid; gap: 6px; border-top: 1px dashed var(--line-d); }
.g-sessions li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); font-variant-numeric: tabular-nums; }
.g-sessions .sd { font-weight: 800; color: #fff; }
.g-sessions .st { font-weight: 700; color: var(--sky); }
.g-sessions li.is-today { background: var(--lime); }
.g-sessions li.is-today .sd, .g-sessions li.is-today .st { color: var(--navy-900); }
.g-empty { color: var(--on-dark-2); }
.days-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.day-col { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line-d); min-width: 0; }
.day-col.is-today { border-color: var(--lime); box-shadow: inset 0 0 0 1px var(--lime); }
.day-h { font-family: var(--ff-d); font-weight: 700; font-size: 14px; color: #fff; padding: 2px 4px 8px; }
.day-col.is-today .day-h { color: var(--lime); }
.dh-short { display: none; }
.day-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 11px; border-radius: 12px; background: rgba(27, 71, 136, .45); border-left: 3px solid var(--blue-400); transition: opacity .4s, filter .4s; }
.day-item[data-kind="wrestling"] { border-left-color: #ff7a59; background: rgba(255, 122, 89, .1); }
.day-item[data-kind="combo"] { border-left-color: var(--lime); background: rgba(214, 245, 74, .08); }
.day-item[data-kind="family"] { border-left-color: #c48bff; background: rgba(196, 139, 255, .1); }
.di-t { font-weight: 800; font-size: 13.5px; color: #fff; font-variant-numeric: tabular-nums; }
.di-n { font-weight: 700; font-size: 13.5px; color: #fff; line-height: 1.25; }
.di-a { font-size: 12.5px; color: var(--on-dark-2); line-height: 1.25; }
.day-none { font-size: 13px; color: rgba(226, 233, 255, .35); padding: 4px; }
.loc-bottom { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; margin-top: 30px; }
.price-list { padding: 28px; border-radius: var(--r-lg); background: #fff; color: var(--ink); }
.price-list h3 { font-family: var(--ff-d); font-size: 20px; margin-bottom: 14px; }
.price-list ul { list-style: none; margin: 0; padding: 0; }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line-l); }
.pl-l { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pl-t { font-weight: 800; }
.pl-n { font-size: 14px; color: var(--muted); }
.pl-n:empty { display: none; }
.pl-p { font-family: var(--ff-d); font-weight: 800; font-size: 20px; white-space: nowrap; color: var(--blue); }
.rules { display: grid; gap: 10px; align-content: start; }
.rule { border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); overflow: hidden; }
.rule summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 800; color: #fff; cursor: pointer; }
.rule summary::-webkit-details-marker { display: none; }
.rule summary i, .t-more summary i { font-style: normal; font-size: 22px; line-height: 1; transition: transform .4s var(--ease); color: var(--lime); }
.rule[open] summary i, .t-more[open] summary i { transform: rotate(45deg); }
.rule-text { padding: 0 22px 20px; color: var(--on-dark-2); font-size: 15.5px; }

/* ─── тарифы ─── */
.tariffs { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; perspective: 1400px; }
.t-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-l); transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.t-card:hover { box-shadow: 0 40px 70px -40px rgba(10, 20, 51, .45); }
.t-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px 220px at var(--mx, 50%) var(--my, 0%), rgba(74, 131, 240, .14), transparent 70%); opacity: 0; transition: opacity .4s; }
.t-card:hover .t-glow { opacity: 1; }
.t-card.is-featured { background: var(--navy-900); color: var(--on-dark); border-color: transparent; box-shadow: 0 30px 80px -30px rgba(27, 71, 136, .9); }
.t-card.is-featured::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--ang, 0deg), var(--lime), transparent 30%, var(--blue-400) 55%, transparent 80%, var(--lime)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: rot 6s linear infinite; pointer-events: none; }
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes rot { to { --ang: 360deg; } }
.t-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.t-title { font-family: var(--ff-d); font-weight: 700; font-size: 18px; line-height: 1.2; }
.t-badge { flex: 0 0 auto; padding: 5px 12px; border-radius: 999px; background: var(--lime); color: var(--navy-900); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.t-badge.is-empty { display: none; }
.t-price { display: flex; align-items: baseline; gap: 8px; margin-top: 18px; }
.t-num { font-family: var(--ff-d); font-weight: 800; font-size: clamp(40px, 4vw, 54px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.t-cur { font-family: var(--ff-d); font-weight: 700; font-size: 24px; color: var(--blue); }
.is-featured .t-cur { color: var(--lime); }
.t-cur-free { font-size: 20px; }
.t-free:empty { display: none; }
.t-unit { font-weight: 700; color: var(--muted); font-size: 14px; }
.is-featured .t-unit, .is-featured .t-short { color: var(--on-dark-2); }
.t-short { color: var(--ink-2); font-size: 15px; }
.t-more { border-top: 1px solid var(--line-l); margin-top: 4px; }
.is-featured .t-more { border-color: var(--line-d); }
.t-more.is-empty { display: none; }
.t-more summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 0 4px; font-weight: 800; font-size: 14px; cursor: pointer; }
.t-more summary::-webkit-details-marker { display: none; }
.t-details { font-size: 14px; color: var(--muted); padding-bottom: 6px; }
.is-featured .t-details { color: var(--on-dark-2); }
.t-pay { margin-top: auto; width: 100%; }
.t-card > .t-pay { margin-top: 14px; }

/* ─── оплата ─── */
.pay { background: radial-gradient(900px 500px at 10% 10%, rgba(27, 71, 136, .5), transparent 60%), var(--navy-950); }
.notices { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.notices li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 20px; border-radius: 18px; background: rgba(214, 245, 74, .07); border: 1px solid rgba(214, 245, 74, .22); color: var(--on-dark); font-weight: 600; }
.nt-ico { flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--lime); color: var(--navy-900); display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.notices a { color: var(--lime); }
.pay-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr); gap: 20px; align-items: start; }
.pay-box { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8); }
.pay-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; counter-reset: s; }
.pay-steps li { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 0 12px; font-weight: 800; color: var(--muted); font-size: 14px; }
.pay-steps li::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--paper-2); }
.pay-steps li::before { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; border-radius: 3px; width: 0; background: var(--blue); z-index: 1; transition: width .6s var(--ease); }
.pay-steps li.is-active::before, .pay-steps li.is-done::before { width: 100%; }
.pay-steps li.is-active, .pay-steps li.is-done { color: var(--ink); }
.pay-steps b { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; background: var(--paper-2); font-size: 13px; transition: background-color .4s, color .4s; }
.pay-steps li.is-active b { background: var(--blue); color: #fff; }
.pay-steps li.is-done b { background: var(--lime); color: var(--navy-900); }
.pay-step { display: none; }
.pay-step.is-active { display: block; animation: stepin .6s var(--ease-out); }
@keyframes stepin { from { opacity: 0; transform: translateY(16px); } }
.opts { border: 0; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.opts legend { font-family: var(--ff-d); font-weight: 700; font-size: 17px; margin-bottom: 12px; padding: 0; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-box { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line-l); background: var(--paper); transition: border-color .25s, background-color .25s, transform .3s var(--ease); }
.opt:hover .opt-box { border-color: rgba(27, 71, 136, .5); }
.opt input:checked + .opt-box { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(74, 131, 240, .18); }
.opt input:focus-visible + .opt-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt-t { font-weight: 800; font-size: 15px; line-height: 1.3; }
.opt-p { font-size: 14px; color: var(--muted); font-weight: 700; }
.opt input:checked + .opt-box .opt-p { color: var(--blue); }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1 1 220px; min-width: 0; }
.fld > span { font-weight: 800; font-size: 14px; }
.fld small { font-weight: 600; color: var(--muted); }
.fld input { height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-l); background: var(--paper); font-size: 16px; transition: border-color .25s, box-shadow .25s, background-color .25s; width: 100%; }
.fld input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(74, 131, 240, .15); }
.fld input.is-bad { border-color: #e5484d; }
.fld-row { display: flex; flex-wrap: wrap; gap: 0 14px; }
.fld-hint { margin: -6px 0 16px; font-size: 14px; color: var(--muted); }
.pay-chosen { margin-bottom: 18px; padding: 12px 16px; border-radius: 14px; background: var(--paper); font-weight: 700; font-size: 15px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 12px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); }
.check a { color: var(--blue); font-weight: 700; }
.form-err { min-height: 0; color: #d0302f; font-weight: 700; font-size: 14px; }
.form-err:not(:empty) { margin-bottom: 12px; }
.pay-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.pay-nav .btn-ghost { color: var(--ink); border-color: var(--line-l); background: transparent; }
.pay-total { margin-left: auto; font-weight: 700; color: var(--muted); }
.pay-total b { display: block; font-family: var(--ff-d); font-size: 24px; color: var(--ink); }
.qr-result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.qr-col { display: grid; gap: 12px; justify-items: center; }
.qr-col .btn-ghost { color: var(--ink); border-color: var(--line-l); background: transparent; }
.qr-card { position: relative; width: 250px; padding: 16px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line-l), 0 30px 60px -30px rgba(10, 20, 51, .5); }
.qr-img svg, .qr-img img { width: 100%; height: auto; }
.qr-logo { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; padding: 3px; }
.qr-logo .ac-logo { width: 100%; height: 100%; }
.qr-sum { font-family: var(--ff-d); font-weight: 800; font-size: clamp(30px, 3vw, 40px); line-height: 1; margin-bottom: 14px; }
.purpose { position: relative; padding: 14px 16px; border-radius: 16px; background: var(--paper); margin-bottom: 14px; }
.p-lbl { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.purpose p { font-weight: 700; margin: 4px 0 8px; word-break: break-word; }
.qr-hint, .qr-after, .qr-bso { font-size: 14.5px; color: var(--ink-2); margin-bottom: 10px; }
.copy { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-l); background: #fff; font-size: 12.5px; font-weight: 800; color: var(--blue); transition: background-color .2s, color .2s; }
.copy:hover { background: var(--blue); color: #fff; }
.copy.is-done { background: var(--lime); color: var(--navy-900); border-color: var(--lime); }
.requisites { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); color: var(--on-dark); }
.requisites h3 { font-family: var(--ff-d); font-size: 18px; margin-bottom: 14px; }
.requisites dl { margin: 0; display: grid; gap: 0; }
.rq { padding: 10px 0; border-top: 1px solid var(--line-d); }
.rq.is-empty { display: none; }
.rq dt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-2); }
.rq dd { margin: 3px 0 0; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 700; font-variant-numeric: tabular-nums; word-break: break-word; }
.requisites .copy { background: transparent; border-color: var(--line-d); color: var(--lime); flex: 0 0 auto; }
.requisites .copy:hover { background: var(--lime); color: var(--navy-900); }

/* ─── руководитель и команда ─── */
.coach-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.coach-photo { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; position: relative; z-index: 1; filter: saturate(1.05); }
.cp-ring { position: absolute; inset: -18px; border-radius: 50%; border: 2px dashed rgba(27, 71, 136, .35); animation: spin 40s linear infinite; }
.cp-ring::after { content: ''; position: absolute; top: 8%; right: 10%; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 6px rgba(214, 245, 74, .25); }
.coach-role { margin-top: 10px; font-weight: 800; color: var(--blue); font-size: 18px; }
.coach-text { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 620px; }
.coach-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.team-band { background: var(--paper); padding: 0 0 clamp(60px, 8vw, 110px); }
.team-fig { position: relative; margin: 0 auto; width: 100%; max-width: 100%; overflow: hidden; border-radius: var(--r-lg); will-change: clip-path; }
.team-fig img { width: 100%; height: clamp(300px, 50vw, 760px); object-fit: cover; object-position: 50% 82%; transform: scale(1.12); will-change: transform; }
.team-fig figcaption { position: absolute; left: var(--gut); bottom: clamp(18px, 3vw, 40px); padding: 10px 18px; border-radius: 999px; background: rgba(5, 10, 29, .65); backdrop-filter: blur(10px); color: #fff; font-weight: 800; font-size: 15px; }

/* ─── контакты ─── */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.c-loc { border-radius: var(--r-lg); overflow: hidden; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-d); display: flex; flex-direction: column; }
.c-map { position: relative; height: 260px; background: linear-gradient(135deg, var(--navy-800), var(--blue)); }
.c-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.c-map-ph { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 800; text-decoration: none; background-image: linear-gradient(rgba(169, 198, 255, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 198, 255, .12) 1px, transparent 1px); background-size: 34px 34px; }
.c-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.c-body h3 { font-family: var(--ff-d); font-size: 22px; color: #fff; }
.c-name { font-weight: 800; color: var(--lime); }
.c-addr { color: var(--on-dark-2); }
.link-arrow { margin-top: 10px; font-weight: 800; color: #fff; text-decoration: none; }
.link-arrow:hover { color: var(--lime); }
.c-card, .c-signup { padding: 30px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 10px; }
.c-card { background: rgba(255, 255, 255, .045); border: 1px solid var(--line-d); }
.c-card h3, .c-signup h3 { font-family: var(--ff-d); font-size: 22px; }
.c-card a { color: var(--on-dark); text-decoration: none; font-weight: 700; }
.c-card a:hover { color: var(--lime); }
.c-big { font-family: var(--ff-d); font-size: clamp(24px, 2.6vw, 34px) !important; color: #fff !important; }
.c-socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.soc { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-d); }
.c-signup { background: var(--lime); color: var(--navy-900); position: relative; overflow: hidden; }
.c-signup::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgba(10, 20, 51, .08); }
.c-signup p { font-weight: 600; max-width: 420px; }
.c-signup .btn { align-self: flex-start; margin-top: auto; background: var(--navy-900); color: #fff; box-shadow: none; position: relative; z-index: 1; }

/* ─── подвал ─── */
.footer { background: var(--navy-950); color: var(--on-dark-2); padding: 0 0 30px; overflow: hidden; border-top: 1px solid var(--line-d); }
.footer-big { padding: 40px 0 30px; overflow: hidden; }
.fb-track { display: flex; width: max-content; animation: fbmove 40s linear infinite; }
.fb-track span { font-family: var(--ff-d); font-weight: 900; text-transform: uppercase; font-size: clamp(60px, 12vw, 190px); line-height: 1; white-space: nowrap; color: rgba(169, 198, 255, .07); }
@keyframes fbmove { to { transform: translateX(-50%); } }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-top: 10px; }
.f-brand { display: flex; gap: 16px; align-items: center; }
.f-logo { width: 64px; height: 64px; }
.f-brand b { display: block; font-family: var(--ff-d); color: #fff; font-size: 20px; }
.f-col { display: flex; flex-direction: column; gap: 8px; }
.f-col h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.f-col a { text-decoration: none; font-weight: 600; }
.f-col a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-d); font-size: 13px; }
.admin-link { color: rgba(226, 233, 255, .35); text-decoration: none; }
.admin-link:hover { color: var(--lime); }

/* ─── документы ─── */
.doc-hero { position: relative; overflow: hidden; padding: calc(var(--hdr) + 70px) 0 70px; }
.doc-hero .container { position: relative; }
.back-link { display: inline-block; margin-bottom: 26px; color: var(--lime); font-weight: 800; text-decoration: none; }
.doc-title { font-family: var(--ff-d); font-weight: 800; font-size: clamp(30px, 5vw, 64px); line-height: 1.05; letter-spacing: -.02em; color: #fff; max-width: 980px; }
.doc-sub { margin-top: 16px; color: var(--on-dark-2); font-size: 18px; max-width: 760px; }
.nf .btn { margin-top: 30px; }
.doc-wrap { background: var(--paper); padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); }
.doc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.prose { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 56px); font-size: 16.5px; line-height: 1.7; color: var(--ink-2); box-shadow: 0 30px 60px -50px rgba(10, 20, 51, .5); min-width: 0; overflow-wrap: anywhere; }
.prose h2 { font-family: var(--ff-d); font-size: 21px; color: var(--ink); margin: 34px 0 12px; line-height: 1.25; }
.prose h3 { font-size: 17px; color: var(--ink); margin: 20px 0 8px; }
.prose p { margin: 0 0 10px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin: 4px 0; }
.prose a { color: var(--blue); font-weight: 700; }
.prose > :first-child { margin-top: 0; }
.doc-aside { background: var(--navy-900); }
.doc-aside .rq dd { flex-direction: column; align-items: flex-start; gap: 6px; }

/* ─── всплывающее сообщение ─── */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 30px); opacity: 0; visibility: hidden; padding: 14px 22px; border-radius: 16px; background: var(--navy-900); color: #fff; font-weight: 700; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); border: 1px solid var(--line-d); transition: transform .5s var(--ease), opacity .4s, visibility .4s; max-width: calc(100vw - 32px); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast.is-err { background: #b4232a; }

/* ─── стартовые состояния анимаций (только если JS запустил анимации) ─── */
.js-anim [data-anim="up"] { opacity: 0; transform: translateY(26px); }
.js-anim .ht-in { transform: translateY(105%); }
.js-anim .hero-mark { opacity: 0; transform: scale(.85) rotate(-10deg); }
.js-anim.anim-failsafe [data-anim="up"], .js-anim.anim-failsafe .ht-in, .js-anim.anim-failsafe .hero-mark { opacity: 1 !important; transform: none !important; }

/* ─── адаптив ─── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-cta { margin-left: auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .loc-bottom, .pay-layout, .doc-grid { grid-template-columns: 1fr; }
  .doc-aside { position: static; }
  .days-grid { grid-template-columns: repeat(7, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
  .day-col { scroll-snap-align: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --hdr: 66px; }
  .hero { padding-top: calc(var(--hdr) + 24px); padding-bottom: 96px; min-height: auto; }
  .hero-mark { position: relative; order: -1; right: auto; top: auto; margin: 0 auto 6px; width: min(62vw, 300px); }
  .hero-inner { display: flex; flex-direction: column; }
  .hero-title { margin-bottom: 22px; }
  .ht-line:nth-child(2) .ht-in { padding-left: .3em; }
  .scroll-cue { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-photo { max-width: 300px; }
  .qr-result { grid-template-columns: 1fr; justify-items: center; }
  .qr-info { width: 100%; }
  .loc-info { flex-direction: column; align-items: flex-start; }
  .loc-tabs { display: grid; width: 100%; }
  .loc-tab { padding: 12px 14px; }
  .lt-name { white-space: normal; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-tag { display: none; }
  .hdr { gap: 12px; }
  .hdr-cta { --bh: 40px; padding: 0 14px; font-size: 13px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 15px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .next-chip { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .stat { padding-left: 14px; }
  .dir-card { min-height: 0; padding: 26px 22px; }
  .dir-title { padding-top: 14px; }
  .groups-grid { grid-template-columns: 1fr; }
  .tariffs { grid-template-columns: 1fr; }
  .pay-steps li span { display: none; }
  .pay-steps li { justify-content: center; }
  .pay-total { margin-left: 0; width: 100%; order: -1; }
  .pay-nav .btn { flex: 1 1 auto; }
  .opts { grid-template-columns: 1fr; }
  .price-list { padding: 22px 18px; }
  .price-list li { flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .marquee { padding: 14px 0; }
  .sched-tools { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .view-toggle { align-self: flex-start; }
  .c-card, .c-signup { padding: 24px 22px; }
  .rq dd { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .preloader { display: none; }
}
