/* ==========================================================================
   Тяга к спорту — base: tokens, reset, type, buttons, header, footer
   ========================================================================== */

:root {
  --ink: #070A10;
  --ink-1: #0A0F17;
  --ink-2: #0E1521;
  --ink-3: #131D2B;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .18);
  --snow: #F2F5FA;
  --snow-dim: #C9D3E2;
  --muted: #8C9AAF;
  --red: #E5382B;
  --red-2: #FF5A3C;
  --ice: #8FE3F5;
  --ok: #43D89B;

  --font-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --font-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shell: 1264px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --radius-sm: 14px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .6s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}
html.no-anim { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--snow);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

:focus-visible {
  outline: 2px solid var(--ice);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--snow);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ── textures ─────────────────────────────────────────────────────────── */

.noise {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--red-2);
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s, width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), background .25s;
  mix-blend-mode: normal;
  will-change: transform;
}
.cursor-dot.is-on { opacity: 1; }
.cursor-dot.is-big { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(229, 56, 43, .22); }
@media (max-width: 980px), (hover: none) { .cursor-dot { display: none; } }

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

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 128px);
}

.section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
  flex-wrap: wrap;
}

.section__lead {
  margin-top: 20px;
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
}

/* ── type ─────────────────────────────────────────────────────────────── */

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--snow-dim);
}
.label > span:first-child {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.label--light { color: rgba(255, 255, 255, .62); }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.03;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-wrap: balance;
}

.note {
  margin-top: 32px;
  color: var(--muted);
  font-size: 14px;
}

.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
}

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

.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  cursor: pointer;
  background: var(--btn-bg);
  transition: transform .35s var(--ease), background-color .3s, border-color .3s, color .3s, box-shadow .35s;
  will-change: transform;
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(120deg, var(--red-2), var(--red) 55%, #C92A1F);
  color: #fff;
  box-shadow: 0 12px 34px -12px rgba(229, 56, 43, .75), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -14px rgba(255, 90, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--snow);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, .4);
  background: rgba(255, 255, 255, .08);
  transform: translateY(-2px);
}

.btn--sm { padding: 12px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--pick {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 800;
  background: transparent;
}
.btn--pick:hover { background: var(--red); border-color: var(--red); }
.btn--pick.is-picked {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 10px 24px -12px rgba(229, 56, 43, .8);
}

/* ── reveal ───────────────────────────────────────────────────────────── */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out) var(--d, 0s), transform .9s var(--ease-out) var(--d, 0s);
}
[data-reveal].is-in { opacity: 1; transform: none; }

.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
.no-anim .marquee__track { animation: none !important; }
.no-anim .hero__snow { display: none; }
.no-anim .hero { min-height: 780px; }
.no-anim .side-msg,
.no-anim .cta-bar,
.no-anim .cookie { display: none !important; }

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: 18px;
  background: rgba(7, 10, 16, .87);
  backdrop-filter: blur(14px) saturate(130%);
  transition: background-color .4s var(--ease), backdrop-filter .4s, padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header.is-stuck {
  padding-block: 10px;
  background: rgba(7, 10, 16, .93);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo { height: 40px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-inline: auto;
}
.nav a {
  position: relative;
  padding-block: 6px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255, 255, 255, .74);
  transition: color .25s;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--red-2);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: 14px; flex: none; }

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--snow);
}
.phone .ico { color: var(--red-2); }
.phone:hover { color: var(--red-2); }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 13px;
  width: 18px;
  height: 1.8px;
  background: var(--snow);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 24px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.scrollbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1.5px;
  background: transparent;
}
.scrollbar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  transition: width .1s linear;
}

/* ── mobile nav ───────────────────────────────────────────────────────── */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 96px var(--gutter) 36px;
  background: rgba(7, 10, 16, .97);
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.mobile-nav__foot { display: grid; gap: 16px; justify-items: center; }

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

.footer {
  padding-block: clamp(48px, 6vw, 72px) 40px;
  border-top: 1px solid var(--line);
  background: var(--ink-1);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer__brand img { height: 34px; width: auto; }
.footer__brand p {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
}
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a { color: var(--snow-dim); font-size: 14.5px; }
.footer__nav a:hover { color: var(--red-2); }
.footer__legal { display: grid; gap: 8px; color: var(--muted); font-size: 13px; justify-items: start; }
.footer__legal a:hover { color: var(--snow); }
.footer__credit { max-width: 32ch; opacity: .65; }

/* ── custom select ────────────────────────────────────────────────────── */

.select { position: relative; width: 100%; }

.select__native {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  border: 0;
}

.select__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, .28);
  color: var(--snow);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.select__btn:hover { border-color: var(--line-strong); background: rgba(0, 0, 0, .36); }
.select.is-open .select__btn {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 56, 43, .16);
}
.select__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select__chevron {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: -4px;
  border-right: 1.9px solid var(--muted);
  border-bottom: 1.9px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .3s var(--ease), border-color .25s;
}
.select.is-open .select__chevron {
  transform: rotate(225deg);
  margin-top: 4px;
  border-color: var(--red-2);
}

.select__panel {
  position: absolute;
  z-index: 130;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: rgba(12, 18, 28, .97);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
  max-height: 286px;
  overflow: auto;
  animation: select-in .18s var(--ease-out);
  overscroll-behavior: contain;
}
@keyframes select-in {
  from { opacity: 0; transform: translateY(-6px) scale(.985); }
}

.select__opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--snow-dim);
  font-family: inherit;
  font-size: 14.5px;
  text-align: left;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.select__opt:hover,
.select__opt:focus-visible {
  background: rgba(255, 255, 255, .07);
  color: #fff;
  outline: none;
}
.select__opt.is-selected { color: #fff; background: rgba(229, 56, 43, .15); }
.select__check { flex: none; width: 15px; height: 15px; color: var(--red-2); opacity: 0; }
.select__opt.is-selected .select__check { opacity: 1; }

html.select-open { overflow: hidden; }