/* ============================================================
   POWERINSIDE™ — Youth Strength Academy
   Design tokens
   ============================================================ */
:root {
  --bg:        #0b0b0d;
  --bg-2:      #0f0f12;
  --bg-3:      #141417;
  --card:      #161619;
  --card-2:    #1b1b1f;
  --line:      rgba(255, 255, 255, .08);
  --line-2:    rgba(255, 255, 255, .14);
  --red:       #e10600;
  --red-600:   #c30500;
  --red-700:   #9e0400;
  --red-glow:  rgba(225, 6, 0, .45);
  --text:      #f4f4f6;
  --muted:     #a6a6ae;
  --muted-2:   #8c8c95;

  --display: "Oswald", "Segoe UI", sans-serif;
  --body:    "Manrope", "Segoe UI", system-ui, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 22px 50px -18px rgba(0, 0, 0, .75);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* a11y utilities */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 50%; transform: translate(-50%, -140%); z-index: 300;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 8px;
  font-family: var(--display); font-weight: 600; letter-spacing: 1px; font-size: 14px;
  transition: transform .25s var(--ease);
}
.skip-link:focus-visible { transform: translate(-50%, 0); outline: 2px solid #fff; outline-offset: 2px; }
[inert] { pointer-events: none; }

/* language-scoped elements (e.g. per-language credential icons) */
html[lang="uk"] .lang-en-only { display: none !important; }
html[lang="en"] .lang-ua-only { display: none !important; }

/* atmospheric body texture */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(900px 500px at 78% -5%, rgba(225, 6, 0, .14), transparent 60%),
    radial-gradient(700px 600px at -10% 30%, rgba(225, 6, 0, .06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}
main, .footer { position: relative; z-index: 1; }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--red), #ff4338);
  z-index: 200; box-shadow: 0 0 12px var(--red-glow);
  transition: width .1s linear;
}

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(8, 8, 10, .85), rgba(8, 8, 10, 0));
}
.header.is-scrolled {
  background: rgba(10, 10, 12, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 14px 30px -22px rgba(0, 0, 0, .9);
  padding: 9px 0;
}
.header__inner { display: flex; align-items: center; gap: 24px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo__icon { color: var(--red); display: grid; place-items: center; filter: drop-shadow(0 0 10px var(--red-glow)); }
.logo__text { font-family: var(--display); line-height: .92; position: relative; letter-spacing: .5px; }
.logo__text b { font-weight: 700; font-size: 21px; letter-spacing: .5px; }
.logo__accent { color: var(--red); font-weight: 700; font-size: 21px; }
.logo__text sup { font-size: 9px; color: var(--muted); top: -1em; }
.logo__text small { display: block; font-family: var(--body); font-weight: 600; font-size: 8.5px; letter-spacing: 2.6px; color: var(--muted); margin-top: 1px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav__link {
  font-family: var(--display); font-weight: 500; font-size: 14px; letter-spacing: 1px;
  color: #d8d8dd; position: relative; padding: 6px 0; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .3s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: #fff; }

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

/* Lang switch */
.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.lang__btn {
  font-family: var(--display); font-weight: 600; font-size: 13px; letter-spacing: 1px;
  padding: 6px 11px; color: var(--muted); transition: .25s;
}
.lang__btn.is-active { background: var(--red); color: #fff; }
.lang__btn:not(.is-active):hover { color: #fff; }

/* Burger */
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; position: relative; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Mobile menu
   ============================================================ */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 150;
  background: #0d0d10; border-left: 1px solid var(--line);
  transform: translateX(105%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; padding: 92px 30px 36px;
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .9);
  overflow-y: auto; overscroll-behavior: contain;
}
@media (max-height: 560px) { .mobile-menu { padding-top: 70px; } .mobile-menu__cta { margin-top: 18px; } }
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__link {
  font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: 1px;
  padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .25s, padding-left .25s;
}
.mobile-menu__link:hover { color: var(--red); padding-left: 6px; }
.mobile-menu__cta { margin-top: 28px; justify-content: center; }
.mobile-menu__lang { display: flex; gap: 10px; margin-top: auto; padding-top: 24px; }
.mobile-menu__lang .lang__btn { border: 1px solid var(--line-2); border-radius: 8px; }

.overlay {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 140;
  opacity: 0; transition: opacity .35s; backdrop-filter: blur(2px);
}
.overlay.is-visible { opacity: 1; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: 1.2px;
  padding: 15px 26px; border-radius: 10px; transition: transform .2s var(--ease), box-shadow .3s, background .3s;
  white-space: nowrap;
}
.btn svg { transition: transform .25s var(--ease); }
.btn--primary {
  background: linear-gradient(180deg, #f01007, var(--red-600));
  color: #fff; box-shadow: 0 12px 28px -10px var(--red-glow), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -10px var(--red-glow); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--line-2); color: #fff; background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--red); color: #fff; background: rgba(225, 6, 0, .08); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: 90vh; padding: 130px 0 64px; overflow: hidden; background: #0b0b0d;
}
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center; z-index: 0;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,10,.97) 0%, rgba(8,8,10,.92) 26%, rgba(8,8,10,.6) 50%, rgba(8,8,10,.22) 76%, rgba(8,8,10,.05) 100%),
    linear-gradient(0deg, rgba(8,8,10,.6) 0%, transparent 30%),
    radial-gradient(640px 420px at 80% 32%, rgba(225,6,0,.16), transparent 62%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 560px; }

.hero__title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(46px, 6vw, 88px); line-height: .94; letter-spacing: -.5px; color: #fff;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .45);
}
.hero__title .accent { color: var(--red); text-shadow: 0 0 36px var(--red-glow); }
.hero__subtitle { color: #d6d6db; font-size: clamp(15px, 1.4vw, 18px); max-width: 440px; margin-top: 22px; }

.hero__features { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.hero__feature {
  display: flex; align-items: center; gap: 10px; position: relative; padding-right: 18px;
  font-family: var(--display); font-weight: 500; font-size: 12px; letter-spacing: 1px; line-height: 1.15; color: #cfcfd5;
}
.hero__feature-ic svg { width: 22px; height: 22px; }
.hero__feature:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 4px; bottom: 4px; width: 1px; background: var(--line-2); }
.hero__feature-ic { color: var(--red); display: grid; place-items: center; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero__cards { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.info-pill {
  display: flex; align-items: center; gap: 13px; padding: 13px 18px;
  background: rgba(20, 20, 24, .7); border: 1px solid var(--line); border-radius: 12px; backdrop-filter: blur(6px);
}
.info-pill__ic { color: var(--red); display: grid; place-items: center; }
.info-pill__text { overflow-wrap: anywhere; }
.info-pill__text small { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--muted); font-weight: 600; }
.info-pill__text b { font-family: var(--display); font-size: 15px; letter-spacing: .6px; line-height: 1.15; }


/* ============================================================
   Sections / titles
   ============================================================ */
.section { padding: 78px 0; position: relative; }
.section__title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .5px; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 48px;
}
.section__title::before, .section__title::after {
  content: ""; height: 3px; width: clamp(30px, 7vw, 80px);
  background: linear-gradient(90deg, transparent, var(--red)); border-radius: 3px;
}
.section__title::after { background: linear-gradient(90deg, var(--red), transparent); }
.section__title span { background: linear-gradient(180deg, #fff, #cfcfd5); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ============================================================
   Program cards
   ============================================================ */
.program { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.program__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.prog-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; display: flex; flex-direction: column;
}
.prog-card:hover { transform: translateY(-7px); border-color: rgba(225, 6, 0, .5); box-shadow: var(--shadow); }
.prog-card__media { position: relative; aspect-ratio: 28 / 17; overflow: hidden; }
.prog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prog-card:hover .prog-card__media img { transform: scale(1.07); }
.prog-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(11, 11, 13, .85)); }
.prog-card__title {
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .6px; text-transform: uppercase;
  padding: 16px 16px 6px; display: flex; align-items: baseline; gap: 7px;
}
.prog-card__title i { color: var(--red); font-style: normal; }
.prog-card__text { color: var(--muted); font-size: 13.5px; padding: 0 16px 18px; }

/* ============================================================
   Info columns
   ============================================================ */
.info { background: var(--bg-2); }
.info__grid { display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 22px; }
.info-col {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 30px;
  transition: border-color .35s, transform .35s var(--ease);
}
.info-col:hover { transform: translateY(-4px); border-color: var(--line-2); }
.info-col--accent { background: linear-gradient(180deg, #18181c, #141417); border-color: rgba(225, 6, 0, .28); }
.info-col__title {
  font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .8px; text-transform: uppercase;
  display: flex; align-items: center; gap: 11px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.info-col__ic { color: var(--red); display: grid; place-items: center; }

.check-list li, .dot-list li { position: relative; padding-left: 30px; color: #d4d4d9; font-size: 14.5px; margin-bottom: 13px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  background: rgba(225, 6, 0, .14);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat, linear-gradient(#000, #000);
}
.check-list li::after {
  content: ""; position: absolute; left: 0; top: 2px; width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px solid var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
  background: var(--red);
}
.dot-list li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px rgba(225, 6, 0, .15);
}

/* schedule table */
.sch-table { width: 100%; border-collapse: collapse; margin-bottom: 18px; font-size: 12.5px; line-height: 1.45; }
.sch-table th {
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px;
  font-size: 11px; color: var(--red); text-align: left; padding: 0 10px 10px 0; border-bottom: 1px solid var(--line-2);
}
.sch-table td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); color: #d4d4d9; vertical-align: top; }
.sch-table tr:last-child td { border-bottom: none; }
.sch-table td:first-child { font-family: var(--display); font-weight: 500; letter-spacing: .5px; color: #fff; white-space: nowrap; }
.sch-notes li { margin-bottom: 10px; }

/* ============================================================
   Coach
   ============================================================ */
.coach { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.coach__inner { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: center; }
.coach__media { position: relative; }
.coach__img {
  width: 100%; border-radius: 16px; border: 1px solid var(--line); aspect-ratio: 36 / 44; object-fit: cover;
  box-shadow: var(--shadow);
  -webkit-mask: linear-gradient(180deg, #000 80%, transparent);
  mask: linear-gradient(180deg, #000 80%, transparent);
}
.coach__media::after {
  content: ""; position: absolute; left: -14px; top: -14px; width: 60px; height: 60px;
  border-top: 3px solid var(--red); border-left: 3px solid var(--red); border-radius: 6px 0 0 0;
}
.eyebrow {
  display: inline-block; font-family: var(--display); font-weight: 600; letter-spacing: 4px; font-size: 13px;
  color: var(--red); padding: 5px 12px; border: 1px solid rgba(225, 6, 0, .4); border-radius: 6px; margin-bottom: 14px;
}
.coach__name {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: .5px; line-height: 1; margin-bottom: 24px;
}
.coach__content .check-list { margin-bottom: 30px; }
.coach__content .check-list li { font-size: 15.5px; }

.coach__creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.cred { display: flex; flex-direction: column; gap: 10px; }
.cred__ic { color: var(--red); }
.cred p { font-size: 13px; color: var(--muted); line-height: 1.45; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { padding: 8px 0; }
.gallery__track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery__item { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) contrast(1.05); transition: transform .55s var(--ease), filter .4s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(225, 6, 0, 0); transition: background .35s; }
.gallery__item:hover img { transform: scale(1.08); filter: grayscale(0); }
.gallery__item:hover::after { background: rgba(225, 6, 0, .14); }

/* ============================================================
   Competitions
   ============================================================ */
.comp { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.comp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.comp-item {
  text-align: center; padding: 34px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(22, 22, 26, .5); transition: transform .35s var(--ease), border-color .35s, background .35s; position: relative; overflow: hidden;
}
.comp-item::before {
  content: ""; position: absolute; left: 50%; top: -40%; width: 120px; height: 120px; transform: translateX(-50%);
  background: radial-gradient(circle, var(--red-glow), transparent 65%); opacity: 0; transition: opacity .4s;
}
.comp-item:hover { transform: translateY(-6px); border-color: rgba(225, 6, 0, .45); background: rgba(28, 20, 22, .6); }
.comp-item:hover::before { opacity: .5; }
.comp-item__ic { color: var(--red); display: grid; place-items: center; margin: 0 auto 16px; position: relative; }
.comp-item p { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: .8px; text-transform: uppercase; color: #e6e6ea; position: relative; }

/* athletes with verified results */
.athletes { margin-top: 62px; text-align: center; }
.athletes__title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px;
  letter-spacing: 1px; margin-bottom: 8px;
}
.athletes__sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.athletes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.ath-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 17px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--display); font-weight: 500; font-size: 15.5px; letter-spacing: .6px; color: #ededf0;
  transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.ath-card svg { color: var(--muted-2); flex-shrink: 0; transition: color .3s, transform .3s var(--ease); }
.ath-card:hover { transform: translateY(-3px); border-color: rgba(225, 6, 0, .5); background: #1a1a1e; }
.ath-card:hover svg { color: var(--red); transform: translate(2px, -2px); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-2); }
.faq__inner { max-width: 860px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .3s; }
.faq-item[open] { border-color: rgba(225, 6, 0, .4); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .4px; color: #ededf0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; flex: 0 0 20px; height: 20px; }
.faq-item summary i::before, .faq-item summary i::after {
  content: ""; position: absolute; top: 9px; left: 2px; right: 2px; height: 2px; background: var(--red); border-radius: 2px; transition: transform .3s var(--ease);
}
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-item__body p { padding: 4px 22px 22px; color: var(--muted); font-size: 14.5px; }
.faq-item__body strong { color: #ededf0; font-weight: 600; }
.faq-item[open] .faq-item__body { animation: faqIn .38s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ============================================================
   Pricing
   ============================================================ */
.pricing { background: var(--bg-2); }
.pricing__card {
  max-width: 620px; margin-inline: auto;
  background: radial-gradient(420px 260px at 100% 0, rgba(225, 6, 0, .1), transparent 60%), var(--card);
  border: 1px solid rgba(225, 6, 0, .35); border-radius: 18px; padding: 30px 34px; box-shadow: var(--shadow);
}
.pricing__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; font-size: 15px; color: #d4d4d9; }
.pricing__row + .pricing__row { border-top: 1px solid var(--line); }
.pricing__row b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .5px; color: #fff; white-space: nowrap; }
.pricing__row--total { border-top: 2px solid rgba(225, 6, 0, .5) !important; margin-top: 4px; padding-top: 19px; }
.pricing__row--total span { color: #fff; font-weight: 700; }
.pricing__row--total b { color: var(--red); font-size: 25px; text-shadow: 0 0 24px var(--red-glow); }
.pricing__note { margin-top: 14px; color: var(--muted); font-size: 12.5px; }

/* ============================================================
   Sign up form
   ============================================================ */
.signup { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.signup__box {
  display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px;
  background: radial-gradient(700px 400px at 100% 0, rgba(225, 6, 0, .12), transparent 55%), var(--card);
  border: 1px solid rgba(225, 6, 0, .35); border-radius: 20px; padding: 44px; box-shadow: var(--shadow);
}
.signup__aside { position: relative; }
.signup__title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3vw, 36px); line-height: 1.05; letter-spacing: .4px; }
.signup__text { color: var(--muted); margin-top: 16px; max-width: 320px; font-size: 15px; }
.signup__icon { color: rgba(225, 6, 0, .25); display: inline-block; margin-top: 26px; }

.signup__form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.field { position: relative; }
.field input, .field select {
  width: 100%; padding: 15px 16px; background: #101013; border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); font-size: 14.5px; transition: border-color .25s, box-shadow .25s, background .25s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%239a9aa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(225, 6, 0, .15); background: #131316; }
.field__err {
  display: block; color: #ff6a60; font-size: 11.5px; letter-spacing: .3px; margin-top: 5px; padding-left: 4px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .25s, opacity .25s;
}
.field.is-error input, .field.is-error select { border-color: #ff5046; }
.field.is-error .field__err { max-height: 30px; opacity: 1; }

.signup__submit { grid-column: 1 / -1; width: 100%; padding: 17px; font-size: 16px; margin-top: 4px; }
.signup__note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted-2); font-size: 12.5px; }
.signup__note svg { color: var(--red); flex-shrink: 0; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: #08080a; border-top: 1px solid var(--line); padding-top: 44px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.logo--footer .logo__text b, .logo--footer .logo__accent { font-size: 19px; }
.footer__social { display: flex; gap: 12px; }
.soc {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: #161619; border: 1px solid var(--line); color: var(--muted); transition: .3s;
}
.soc:hover { color: #fff; background: var(--red); border-color: var(--red); transform: translateY(-3px); box-shadow: 0 10px 22px -10px var(--red-glow); }
.footer__addr { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14.5px; }
.footer__addr svg { color: var(--red); flex-shrink: 0; }
.footer__bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); padding-bottom: 24px;
  color: var(--muted-2); font-size: 12.5px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap;
}
.footer__credit a { color: var(--muted); font-weight: 600; transition: color .25s; }
.footer__credit a:hover { color: var(--red); }
@media (max-width: 640px) { .footer__bottom { flex-direction: column; text-align: center; gap: 8px; } }

/* ============================================================
   Back to top + toast
   ============================================================ */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 12px;
  background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px var(--red-glow);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); transition: .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--red-600); transform: translateY(-3px); }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 160%); z-index: 300;
  background: #16161a; border: 1px solid rgba(225, 6, 0, .5); border-left: 4px solid var(--red);
  color: #fff; padding: 16px 22px; border-radius: 12px; box-shadow: var(--shadow); max-width: 90vw;
  font-size: 14.5px; transition: transform .5s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast b { color: var(--red); }

/* ============================================================
   Reveal animations
   ============================================================ */
/* hidden only when JS is active — без JS контент видно одразу */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive — Tablet
   ============================================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: block; }
  .program__grid { grid-template-columns: repeat(3, 1fr); }
  .comp__grid { grid-template-columns: repeat(2, 1fr); }
  .athletes__grid { grid-template-columns: repeat(2, 1fr); }
  .info__grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .coach__inner { grid-template-columns: 300px 1fr; gap: 32px; }
  /* drop floating vertical dividers once the row can wrap */
  .hero__features { gap: 16px 22px; }
  .hero__feature { padding-right: 0; }
  .hero__feature::after { display: none; }
}

@media (max-width: 900px) {
  .hero { padding-top: 116px; min-height: 82vh; }
  .hero__title { font-size: clamp(44px, 11vw, 72px); }
  .hero__subtitle { max-width: none; }
  .info__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .coach__inner { grid-template-columns: 1fr; gap: 30px; }
  .coach__media { max-width: 340px; }
  .coach__creds { grid-template-columns: 1fr 1fr; gap: 22px; }
  .signup__box { grid-template-columns: 1fr; gap: 30px; padding: 34px; }
  .signup__icon { display: none; }
  .gallery__track { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Responsive — Mobile
   ============================================================ */
@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding: 56px 0; }
  .section__title { margin-bottom: 36px; gap: 12px; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 10px; }
  .lang__btn { padding: 9px 13px; min-height: 40px; display: inline-flex; align-items: center; }

  .program__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .program__grid .prog-card:last-child { grid-column: 1 / -1; }
  .program__grid .prog-card:last-child .prog-card__media { aspect-ratio: 32 / 11; }
  .comp__grid { grid-template-columns: repeat(2, 1fr); }
  .athletes__grid { grid-template-columns: 1fr; }
  .pricing__card { padding: 22px 18px; border-radius: 14px; }
  .pricing__row b { font-size: 16px; }
  .pricing__row--total b { font-size: 22px; }
  .coach__creds { grid-template-columns: 1fr; gap: 16px; }

  /* gallery → horizontal snap strip (no orphan) */
  .gallery__track {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 0 18px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .gallery__track::-webkit-scrollbar { display: none; }
  .gallery__item { flex: 0 0 78%; scroll-snap-align: center; border-radius: 10px; }

  .signup__form { grid-template-columns: 1fr; }
  .signup__box { padding: 24px 18px; border-radius: 14px; }

  /* hero: full-bleed photo stays, stronger scrim for full-width text */
  .hero { min-height: 78vh; padding-top: 104px; align-items: center; }
  .hero__content { max-width: 100%; }
  .hero__photo { object-position: 62% center; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(8,8,10,.5) 0%, rgba(8,8,10,.64) 46%, rgba(8,8,10,.9) 100%),
      linear-gradient(90deg, rgba(8,8,10,.55), rgba(8,8,10,.12) 82%),
      radial-gradient(420px 320px at 70% 24%, rgba(225,6,0,.14), transparent 65%);
  }

  /* hero features → 2×2 grid, drop floating dividers */
  .hero__features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .hero__feature { padding-right: 0; }
  .hero__feature::after { display: none; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__cards { flex-direction: column; }
  .info-pill { width: 100%; }

  .footer__inner { flex-direction: column; text-align: center; gap: 22px; }
  .to-top { right: 16px; bottom: 16px; }
  .toast { bottom: 78px; max-width: calc(100vw - 32px); }
}

@media (max-width: 380px) {
  .program__grid { grid-template-columns: 1fr; }
  .program__grid .prog-card:last-child .prog-card__media { aspect-ratio: 28 / 17; }
  .hero__title { font-size: clamp(38px, 11vw, 72px); }
  .hero__feature { font-size: 11.5px; }
  .logo__text small { display: none; }
}

/* ============================================================
   Accessibility
   ============================================================ */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal, .reveal { opacity: 1 !important; transform: none !important; }
}
body.menu-open { overflow: hidden; }
