/* =========================================================
   Академия ДронСпорта: лендинг
   Палитра по брифу: синий, красный, белый. Футуристично, но дружелюбно.
   ========================================================= */
:root {
  --navy-950: #040c2b;
  --navy-900: #061440;
  --navy-800: #0b1f66;
  --blue-700: #1236c4;
  --blue-600: #1746f0;
  --blue-400: #3d7bff;
  --blue-200: #9db7ff;
  --blue-50:  #eef3ff;
  --cyan:     #2ee6ff;
  --red:      #f2283a;
  --red-700:  #c8102a;
  --yellow:   #ffd43b;
  --white:    #ffffff;
  --ink:      #0a1230;
  --ink-2:    #3b4466;
  --ink-3:    #6b7395;
  --line:     #dfe5f5;
  --tint:     #f3f6fc;

  --f-head: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --shadow: 0 18px 50px -20px rgba(11, 31, 102, .35);
  --shadow-red: 0 14px 40px -12px rgba(242, 40, 58, .65);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
main { display: block; overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); line-height: 1.1; letter-spacing: -.01em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 880px; }
@media (max-width: 600px) { .container { padding: 0 16px; } }

/* ---------- progress bar ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--blue-400) 40%, var(--red)); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  isolation: isolate;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--red { --bg: var(--red); --fg: var(--white); box-shadow: var(--shadow-red); }
.btn--red:hover { --bg: #ff3b4c; box-shadow: 0 18px 46px -10px rgba(242, 40, 58, .8); }
.btn--ghost { --bg: rgba(255,255,255,.06); --fg: var(--white); border-color: rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--white); --bg: rgba(255,255,255,.12); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--lg { padding: 18px 30px; font-size: 16px; }
.btn--xl { padding: 22px 40px; font-size: clamp(16px, 2vw, 20px); }
.btn--block { display: flex; width: 100%; white-space: normal; text-align: center; }
.btn--glow::before {
  content: ""; position: absolute; inset: -4px; border-radius: inherit; z-index: -1;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, rgba(255,255,255,.9) 80%, transparent 90%);
  animation: spin-border 3.2s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  padding: 2px;
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --a: 360deg; } }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background .3s, box-shadow .3s, height .3s;
}
.header.is-scrolled { background: rgba(6, 20, 64, .82); backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header__row { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); flex: none; }
.logo__mark { width: 42px; height: 42px; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-20deg); }
.logo__text { font-family: var(--f-head); font-size: 12px; line-height: 1.15; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.logo__text b { font-size: 15px; font-weight: 800; letter-spacing: .01em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: 15px; opacity: .85; transition: opacity .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.burger { display: none; margin-left: 12px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-900); padding: 24px 16px 40px; display: flex; flex-direction: column; gap: 24px; overflow: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--f-head); font-size: 22px; font-weight: 700; text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }

@media (max-width: 1080px) { .nav { gap: 18px; } .nav a { font-size: 14px; } }
@media (max-width: 960px) {
  .nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 420px) {
  .header__row { gap: 10px; }
  .logo { gap: 8px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text { font-size: 9.5px; }
  .logo__text b { font-size: 11.5px; }
  .header__cta { padding: 10px 14px; font-size: 12px; }
  .burger { margin-left: 0; }
}
@media (max-width: 340px) { .logo__text { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 90px;
  color: var(--white);
  background: radial-gradient(120% 90% at 70% 40%, var(--blue-700) 0%, var(--navy-800) 38%, var(--navy-950) 80%);
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -40% -10% 0 -10%;
  background-image:
    linear-gradient(rgba(157, 183, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(157, 183, 255, .13) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(700px) rotateX(62deg) translateY(var(--grid-y, 0px));
  transform-origin: 50% 100%;
  -webkit-mask: linear-gradient(to top, #000 10%, transparent 70%); mask: linear-gradient(to top, #000 10%, transparent 70%);
  animation: grid-run 6s linear infinite;
}
@keyframes grid-run { to { background-position: 0 64px, 0 0; } }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__glow--blue { width: 620px; height: 620px; right: -120px; top: 6%; background: var(--blue-600); }
.hero__glow--red { width: 380px; height: 380px; left: -140px; bottom: -140px; background: var(--red); opacity: .35; }
.hero__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-weight: 700; font-size: 14px; letter-spacing: .01em; }
.eyebrow--center { margin-inline: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(242,40,58,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(242,40,58,0); } 100% { box-shadow: 0 0 0 0 rgba(242,40,58,0); } }

.hero__title {
  font-size: clamp(40px, 5.9vw, 88px);
  font-weight: 900; line-height: .98; letter-spacing: -.035em;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero__title .hl {
  display: inline-block;
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue-400) 45%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: skewX(-8deg);
  padding-right: .08em;
}
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 560px; color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { padding: 11px 18px; border-radius: 14px; background: rgba(4, 12, 43, .45); border: 1px solid rgba(157,183,255,.22); font-size: 17px; font-weight: 600; color: rgba(255,255,255,.9); }
.hero__chips b { font-family: var(--f-head); color: var(--white); }

.hero__visual { position: relative; aspect-ratio: 1 / 1; width: 112%; max-width: 680px; justify-self: center; margin-right: -6%; }
.droneball { position: absolute; inset: 0; }
.droneball canvas { width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: pan-y; }
.droneball canvas:active { cursor: grabbing; }
.droneball__fallback { position: absolute; inset: 8%; width: 84%; height: 84%; animation: bob 4s ease-in-out infinite; }
.droneball.is-3d .droneball__fallback { display: none; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.hud { position: absolute; inset: 4%; pointer-events: none; z-index: 2; font-family: var(--f-head); font-size: 11px; letter-spacing: .08em; color: rgba(255,255,255,.75); }
.hud__c { position: absolute; width: 26px; height: 26px; border: 2px solid rgba(46,230,255,.75); }
.hud__c--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.hud__c--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.hud__c--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.hud__c--br { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }
.hud__top, .hud__bottom { position: absolute; left: 38px; right: 38px; display: flex; justify-content: space-between; }
.hud__top { top: 6px; }
.hud__top span:first-child { color: var(--red); animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.hud__bottom { bottom: 6px; }
.hud b { color: var(--cyan); font-variant-numeric: tabular-nums; }

.hero__badge {
  position: absolute; left: 0; bottom: 15%; z-index: 3;
  display: grid; gap: 2px;
  padding: 14px 20px; border-radius: 18px;
  background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.5);
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
}
.hero__badge-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.hero__badge b { font-family: var(--f-head); font-size: 18px; }
.hero__badge-count { font-size: 13px; font-weight: 700; color: var(--red); }
.hero__badge-count:empty { display: none; }
@keyframes float { 50% { transform: rotate(-4deg) translateY(-10px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 28px; height: 44px; margin-left: -14px; border-radius: 16px; border: 2px solid rgba(255,255,255,.4); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 960px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); padding-bottom: 70px; }
  .hero__row { grid-template-columns: 1fr; gap: 10px; }
  .hero__visual { order: -1; width: 100%; max-width: 440px; margin: -10px auto 0; }
  .hero__badge { left: 0; bottom: 4%; padding: 10px 14px; }
  .hero__badge b { font-size: 15px; }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .hero__visual { max-width: 290px; margin-top: -16px; margin-bottom: -6px; }
  .hero__badge { bottom: 2%; transform: rotate(-4deg) scale(.88); transform-origin: 0 100%; }
  .eyebrow { margin-bottom: 16px; font-size: 13px; }
  .hero__title { margin-bottom: 18px; }
  .hero__lead { margin-bottom: 24px; }
  .hud { font-size: 9px; }
  .hud__top, .hud__bottom { left: 30px; right: 30px; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; background: var(--red); color: var(--white); transform: rotate(1.6deg) scale(1.04); margin-top: -26px; box-shadow: 0 20px 40px -20px rgba(242,40,58,.6); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 18px 0; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--f-head); font-weight: 800; font-size: clamp(15px, 1.6vw, 20px); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.ticker i { width: 12px; height: 12px; flex: none; background: var(--white); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 140px) 0; }
.section--tint { background: var(--tint); }
.section--dark { color: var(--white); background: var(--navy-900); overflow: hidden; }
.section__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(23,70,240,.55), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgba(242,40,58,.25), transparent 70%),
    linear-gradient(rgba(157,183,255,.07) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(157,183,255,.07) 1px, transparent 1px) 0 0 / 48px 48px;
}
.section > .container { position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--row { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; }
@media (max-width: 860px) { .section__head--row { grid-template-columns: 1fr; } }

.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--red); }
.kicker--light { color: var(--cyan); }
.h2 { font-size: clamp(32px, 4.6vw, 60px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 22px; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; margin: clamp(56px, 7vw, 90px) 0 28px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.section--dark .lead, .partner .lead { color: rgba(255,255,255,.82); }
.section--dark p { color: rgba(255,255,255,.75); }

.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px 80px; align-items: start; }
.split p:last-child { margin-bottom: 0; }
.split--top { grid-template-columns: 1fr 1.1fr; align-items: center; }
@media (max-width: 960px) { .split, .split--top { grid-template-columns: 1fr; } }

/* ---------- benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { position: relative; padding: 28px 24px 26px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.benefit__num { position: absolute; top: 22px; right: 22px; font-family: var(--f-head); font-weight: 800; font-size: 14px; color: var(--blue-200); }
.benefit h4 { font-size: 18px; margin: 18px 0 10px; }
.benefit p { margin: 0; color: var(--ink-2); font-size: 16px; }
.icon { width: 52px; height: 52px; padding: 11px; border-radius: 14px; background: var(--blue-50); fill: none; stroke: var(--blue-600); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.benefit:nth-child(even) .icon { background: #fff0f1; stroke: var(--red); }
@media (max-width: 1020px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why__card { position: relative; overflow: hidden; padding: 30px 26px; border-radius: var(--r-md); background: var(--white); box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(11,31,102,.3); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why__card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(61,123,255,.18), transparent 70%); transition: transform .5s var(--ease); }
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why__card:hover::after { transform: scale(1.6); }
.why__icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-600), var(--navy-800)); box-shadow: 0 10px 24px -10px rgba(23,70,240,.7); }
.why__icon svg { width: 32px; height: 32px; fill: none; stroke: var(--white); stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.why__card:nth-child(2) .why__icon { background: linear-gradient(135deg, var(--red), var(--red-700)); box-shadow: 0 10px 24px -10px rgba(242,40,58,.7); }
.why__card h3 { font-size: 19px; margin-bottom: 10px; }
.why__card p { margin: 0; color: var(--ink-2); font-size: 16px; }
@media (max-width: 1020px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- route (program) ---------- */
.route { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: wp; }
.route::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 27px; height: 3px;
  background: repeating-linear-gradient(90deg, var(--blue-400) 0 10px, transparent 10px 18px);
  -webkit-mask: linear-gradient(90deg, #000 var(--route, 0%), transparent var(--route, 0%)); mask: linear-gradient(90deg, #000 var(--route, 0%), transparent var(--route, 0%));
  transition: --route 1.6s var(--ease);
}
.route.is-in::before { --route: 100%; }
@property --route { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
.route__wp { position: relative; padding-top: 74px; }
.route__wp::before { content: ""; position: absolute; top: 14px; left: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue-600); box-shadow: 0 0 0 6px var(--blue-50); }
.route__wp--finish::before { border-color: var(--red); box-shadow: 0 0 0 6px #ffe3e6; background: var(--red); }
.route__tag { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 8px; background: var(--navy-900); color: var(--cyan); font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.route__wp--finish .route__tag { background: var(--red); color: var(--white); }
.route h3 { font-size: 18px; margin-bottom: 10px; }
.route p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 1020px) {
  .route { grid-template-columns: 1fr; gap: 0; }
  .route::before { left: 14px; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--blue-400) 0 10px, transparent 10px 18px); -webkit-mask: linear-gradient(180deg, #000 var(--route, 0%), transparent var(--route, 0%)); mask: linear-gradient(180deg, #000 var(--route, 0%), transparent var(--route, 0%)); }
  .route__wp { padding: 0 0 34px 60px; }
  .route__wp::before { top: 0; }
}

/* ---------- droneball ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 0; }
.stat { padding: 18px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(157,183,255,.18); }
.stat dt { font-family: var(--f-head); font-weight: 800; font-size: clamp(26px, 3vw, 36px); color: var(--white); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat dd { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.7); }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }

.arena { border-radius: var(--r-lg); padding: 22px; background: rgba(4,12,43,.55); border: 1px solid rgba(157,183,255,.2); backdrop-filter: blur(8px); }
.arena__svg { width: 100%; height: auto; }
.arena__label { fill: var(--yellow); font-family: var(--f-body); font-weight: 700; font-size: 14px; }
.arena__dim { fill: rgba(255,255,255,.6); font-family: var(--f-head); font-size: 12px; font-weight: 600; }
.arena__striker { offset-path: path("M240 205 C 330 260, 420 280, 470 220 S 530 150, 538 160"); offset-rotate: 0deg; animation: strike 4.2s var(--ease) infinite; }
@keyframes strike { 0%, 10% { offset-distance: 0%; } 75%, 100% { offset-distance: 100%; } }
.arena__ring--red ellipse { animation: goal 4.2s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes goal { 0%, 72% { stroke-width: 6; filter: none; } 78% { stroke-width: 10; filter: drop-shadow(0 0 10px #f2283a); } 100% { stroke-width: 6; } }
.rules { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rules li { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,255,255,.05); }
.rules b { font-family: var(--f-head); font-size: 20px; color: var(--cyan); }
.rules span { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.78); }
@media (max-width: 560px) { .rules { grid-template-columns: 1fr; } .arena { padding: 14px; } }

/* ---------- schedule ---------- */
.groups { display: grid; grid-template-columns: 1fr 1fr 1.05fr; gap: 18px; align-items: stretch; }
.group { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--r-lg); color: var(--white); background: linear-gradient(150deg, var(--blue-600), var(--navy-800) 75%); box-shadow: var(--shadow); }
.group--alt { background: linear-gradient(150deg, var(--navy-800), var(--navy-950) 80%); }
.group::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; border: 2px solid rgba(255,255,255,.12); box-shadow: 0 0 0 30px rgba(255,255,255,.04), 0 0 0 60px rgba(255,255,255,.03); }
.group__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.group__id { font-family: var(--f-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pill--live { background: rgba(46,230,255,.14); color: var(--cyan); }
.pill--live i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: blink 1.4s infinite; }
.group__title { font-size: clamp(30px, 3.4vw, 44px); font-weight: 900; margin-bottom: 24px; }
.group__time { display: grid; gap: 10px; margin-bottom: 18px; }
.group__time div { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.08); }
.group__time span { font-weight: 600; color: rgba(255,255,255,.8); }
.group__time b { font-family: var(--f-head); font-size: 20px; font-variant-numeric: tabular-nums; }
.group__meta { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 22px; }
.group .btn { margin-top: auto; }

.howto { padding: 30px 28px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); display: flex; flex-direction: column; }
.howto h3 { font-size: 22px; margin-bottom: 20px; }
.steps { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { position: relative; padding-left: 48px; font-size: 16px; color: var(--ink-2); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--navy-900); color: var(--white); font-family: var(--f-head); font-weight: 700; font-size: 14px; }
.steps b { color: var(--ink); }
.code { position: relative; margin-top: auto; display: grid; gap: 8px; }
.code__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.code__value { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-radius: 14px; border: 2px dashed var(--blue-400); background: var(--white); color: var(--ink); transition: border-color .2s, background .2s; }
.code__value:hover { border-style: solid; background: var(--blue-50); }
.code__value b { font-family: var(--f-head); font-size: 26px; letter-spacing: .08em; }
.code__value svg { width: 22px; height: 22px; fill: none; stroke: var(--blue-600); stroke-width: 2; }
.code__toast { position: absolute; right: 0; top: -2px; font-size: 13px; font-weight: 700; color: var(--blue-600); opacity: 0; transition: opacity .3s; }
.code__toast.is-on { opacity: 1; }
@media (max-width: 1020px) { .groups { grid-template-columns: 1fr 1fr; } .howto { grid-column: 1 / -1; } }
@media (max-width: 640px) { .groups { grid-template-columns: 1fr; } .group, .howto { padding: 24px 20px; } }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; font-family: var(--f-head); font-weight: 700; font-size: clamp(16px, 1.6vw, 19px); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%231746f0' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(135deg); background-color: #ffe3e6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23f2283a' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); }
.faq__body { padding: 0 26px 22px; color: var(--ink-2); }
.faq__body p { margin: 0; }
.faq__body a { color: var(--blue-600); font-weight: 700; }

/* ---------- partners ---------- */
.partner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end;
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--r-lg);
  color: var(--white);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(46,230,255,.25), transparent 60%),
    linear-gradient(135deg, var(--blue-600) 0%, var(--navy-800) 60%, var(--navy-950) 100%);
  box-shadow: var(--shadow);
}
.partner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 40px 40px, linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px) 0 0 / 40px 40px; -webkit-mask: radial-gradient(70% 90% at 80% 20%, #000, transparent); mask: radial-gradient(70% 90% at 80% 20%, #000, transparent); pointer-events: none; }
.partner > * { position: relative; }
.checks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 8px; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.partner__now { display: grid; gap: 14px; padding: 26px; border-radius: var(--r-md); background: rgba(4,12,43,.5); border: 1px solid rgba(255,255,255,.14); }
.partner__now span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.65); }
.partner__now img { width: 100%; height: auto; }
@media (max-width: 860px) { .partner { grid-template-columns: 1fr; } }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: stretch; }
.contact-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }
.contact-list b { font-size: 19px; }
.contact-list a { font-weight: 700; color: var(--blue-600); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list__phone { font-family: var(--f-head); font-size: 26px; color: var(--ink) !important; }
.metro { display: flex; align-items: center; gap: 10px; }
.metro__dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.metro__dot--11 { background: #82c0c0; }
.metro__dot--7 { background: #943e90; }
.map { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; background: var(--blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 43s-13-13-13-23a13 13 0 0126 0c0 10-13 23-13 23z' fill='%23f2283a'/%3E%3Ccircle cx='24' cy='20' r='5' fill='white'/%3E%3C/svg%3E") center / 56px no-repeat; box-shadow: var(--shadow); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__link { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 6px 20px -8px rgba(0,0,0,.4); }
@media (max-width: 860px) { .contacts { grid-template-columns: 1fr; } .map { min-height: 340px; } }

/* ---------- final CTA ---------- */
.final { position: relative; overflow: hidden; padding: clamp(90px, 12vw, 160px) 0; color: var(--white); text-align: center; background: var(--navy-950); }
.final__bg { position: absolute; inset: 0; background:
  radial-gradient(40% 70% at 50% 110%, rgba(242,40,58,.55), transparent 70%),
  radial-gradient(60% 80% at 50% -10%, rgba(23,70,240,.7), transparent 70%); }
.final__bg::after { content: ""; position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; border: 2px solid rgba(157,183,255,.12); box-shadow: 0 0 0 80px rgba(157,183,255,.04), 0 0 0 160px rgba(157,183,255,.03); animation: radar 8s linear infinite; }
@keyframes radar { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.final__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__title { font-size: clamp(38px, 6.4vw, 88px); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 22px; }
.final__lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.8); margin-bottom: 40px; }

/* ---------- footer ---------- */
.footer { background: var(--navy-950); color: rgba(255,255,255,.7); padding: 60px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255,255,255,.08); }
.footer__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand p { margin: 16px 0 0; max-width: 320px; font-size: 15px; }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.footer__nav a { text-decoration: none; font-weight: 600; font-size: 15px; }
.footer__nav a:hover { color: var(--white); }
.footer__partner { display: grid; gap: 12px; }
.footer__partner span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.footer__partner img { width: 220px; height: auto; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.footer__bottom a { text-decoration: none; font-weight: 700; color: var(--white); }
@media (max-width: 860px) { .footer__row { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, rgba(4,12,43,.95), rgba(4,12,43,.7)); backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .4s var(--ease); }
  .sticky-cta.is-on { transform: none; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
}

/* ---------- tweaks after review ---------- */
.partner .h2 { font-size: clamp(28px, 3.4vw, 46px); }
.route::before { right: 18%; }

/* ---------- SEO-подзаголовок в H1 и кнопка в «Как записаться» ---------- */
.hero__h1-sub {
  display: block;
  margin-bottom: 14px;
  font-family: var(--f-body);
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
  color: var(--cyan);
}
.howto__cta { margin-top: 16px; }
.code { margin-top: auto; }
@media (max-width: 600px) { .hero__chips li { font-size: 15px; padding: 9px 14px; } }
