:root {
  --red: #e10600;
  --red-dark: #b80500;
  --red-glow: rgba(225, 6, 0, 0.35);
  --black: #0a0a0a;
  --dark: #141414;
  --dark-2: #1e1e1e;
  --white: #ffffff;
  --gray: #9a9a9a;
  --gray-light: #d4d4d4;
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.section-title span {
  color: var(--red);
}

.section-note {
  color: var(--gray);
  margin-bottom: 2rem;
  font-size: 0.9rem;
  max-width: 640px;
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 30px var(--red-glow);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--black);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-link img {
  height: 52px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-light);
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--red);
}

.header-cta {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(10, 10, 10, 0.97) 0%,
      rgba(10, 10, 10, 0.88) 32%,
      rgba(10, 10, 10, 0.55) 55%,
      rgba(10, 10, 10, 0.2) 78%,
      rgba(10, 10, 10, 0.05) 100%
    ),
    url("../images/hero.png?v=2") center/cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--black));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-left: clamp(1.25rem, 4vw, 3.5rem);
  margin-right: auto;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid var(--red);
  color: var(--red);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.9),
    0 1px 4px rgba(0, 0, 0, 0.95);
}

.hero h1 .accent {
  color: var(--red);
  display: block;
  text-shadow:
    0 2px 24px rgba(0, 0, 0, 0.9),
    0 1px 4px rgba(0, 0, 0, 0.95),
    0 0 40px rgba(225, 6, 0, 0.35);
}

.hero-sub {
  font-size: 1.15rem;
  color: #f2f2f2;
  max-width: 540px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.85);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.8);
}

.hero-stat span {
  font-size: 0.8rem;
  color: #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
}

/* About */
.about {
  background: var(--dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--red);
  border-radius: var(--radius);
  transform: translate(12px, 12px);
  z-index: -1;
}

/* Awards */
.awards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.award-card {
  background: var(--dark-2);
  border: 1px solid rgba(225, 6, 0, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.award-card:hover {
  border-color: var(--red);
  transform: translateY(-4px);
}

.award-card .star {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.award-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--red);
}

.award-card p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  background: linear-gradient(145deg, var(--dark-2), var(--dark));
  border-radius: var(--radius);
  padding: 1.75rem;
  border-left: 4px solid var(--red);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateX(6px);
}

.benefit-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(225, 6, 0, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Training */
.training {
  background: var(--dark);
}

.training-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.training-content {
  display: flex;
  flex-direction: column;
}

.training-content .section-title {
  margin-bottom: 1rem;
}

.training-desc {
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.training-image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.training-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.training-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 2rem;
}

.training-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--dark-2);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.training-list li::before {
  content: "★";
  color: var(--red);
  font-size: 1.2rem;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why-card .num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: rgba(225, 6, 0, 0.25);
  line-height: 1;
}

.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.5rem 0;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Coaches */
.coaches {
  background: var(--dark);
}

.coaches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.coach-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s;
}

.coach-card:hover {
  border-color: rgba(225, 6, 0, 0.4);
}

.coach-photo {
  height: 280px;
  background: linear-gradient(180deg, var(--dark-2), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.coach-photo .placeholder {
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(225, 6, 0, 0.2);
}

.coach-info {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}

.coach-info h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.coach-info p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.45;
  margin: 0;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.price-card {
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, transform 0.3s;
}

.price-card.featured {
  border-color: var(--red);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.12), var(--dark-2));
  transform: scale(1.03);
}

.price-card:hover {
  border-color: var(--red);
}

.price-card .age {
  font-size: 0.8rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--red);
  margin: 0.5rem 0;
}

.price-card .location {
  font-size: 0.85rem;
  color: var(--gray-light);
}

/* Age groups */
.price-card.age-card {
  border: 1px solid rgba(225, 6, 0, 0.25);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.06) 0%, var(--dark-2) 100%);
}

.price-card.age-card:hover {
  border-color: var(--red);
  box-shadow: 0 12px 40px var(--red-glow);
  transform: translateY(-4px);
}

.price-card.age-card .price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: #e10600;
  color: var(--red);
  margin: 0.5rem 0;
  line-height: 1;
  letter-spacing: 0.04em;
}

.price-card.age-card .age-card-unit {
  font-size: 0.55em;
  letter-spacing: 0.06em;
  color: inherit;
}

.price-card.age-card .age-card-category {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-light);
  line-height: 1.4;
  text-transform: lowercase;
  margin: 0;
}

/* Gallery */
.gallery-desc {
  color: var(--gray);
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 520px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.gallery-nav {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.gallery-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--dark-2);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
}

.gallery-nav-btn:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.gallery-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.gallery-slider-outer {
  position: relative;
  margin-right: calc(50% - 50vw);
}

.gallery-slider {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--dark-2);
  padding: 0.25rem 0 1.25rem;
}

.gallery-slider::-webkit-scrollbar {
  height: 6px;
}

.gallery-slider::-webkit-scrollbar-track {
  background: var(--dark-2);
  border-radius: 999px;
}

.gallery-slider::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 999px;
}

.gallery-item {
  flex: 0 0 auto;
  width: min(280px, 72vw);
  height: 380px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.gallery-item:hover {
  border-color: rgba(225, 6, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(10, 10, 10, 0.55));
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* News */
.news {
  background: var(--dark);
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 0;
  background: var(--dark-2);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: pointer;
}

.news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-left-color: var(--white);
}

.news-item-thumb {
  height: 100%;
  min-height: 140px;
  overflow: hidden;
}

.news-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-item:hover .news-item-thumb img {
  transform: scale(1.06);
}

.news-item-body {
  padding: 1.25rem 1.5rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.news-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.news-item:hover h3 {
  color: var(--red);
}

.news-item p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.5;
}

.news-read-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Article page */
.article-page {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  min-height: 70vh;
}

.article-loading {
  color: var(--gray);
  text-align: center;
  padding: 4rem 0;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.article-breadcrumb a:hover {
  color: var(--red);
}

.article-breadcrumb span:last-child {
  color: var(--gray-light);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-header {
  margin-bottom: 2rem;
}

.article-date {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--red);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1.05;
}

.article-cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.article-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.article-content {
  max-width: 720px;
  margin-bottom: 3rem;
}

.article-content p {
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-gallery-title,
.article-more-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.article-gallery-item {
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--dark-2);
  aspect-ratio: 4/3;
}

.article-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.article-gallery-item:hover img {
  transform: scale(1.08);
}

.article-more {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-more-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.article-more-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--dark-2);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s;
  overflow: hidden;
}

.article-more-card:hover {
  border-color: var(--red);
}

.article-more-card img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.article-more-card time {
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 700;
}

.article-more-card h3 {
  font-size: 0.95rem;
  margin-top: 0.25rem;
  line-height: 1.3;
}

.article-not-found {
  text-align: center;
  padding: 4rem 1rem;
}

.article-not-found h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-not-found p {
  color: var(--gray);
  margin-bottom: 2rem;
}

/* Reviews */
.reviews-section {
  overflow: hidden;
}

.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.reviews-nav {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.reviews-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--dark-2);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
}

.reviews-nav-btn:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

.reviews-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-slider-outer {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.reviews-slider-outer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(120px, 15vw);
  background: linear-gradient(270deg, var(--black) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.reviews-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--dark-2);
  padding: 0.25rem max(4vw, calc((100vw - min(1200px, 92vw)) / 2)) 1.25rem
    max(4vw, calc((100vw - min(1200px, 92vw)) / 2));
}

.reviews-slider::-webkit-scrollbar {
  height: 6px;
}

.reviews-slider::-webkit-scrollbar-track {
  background: var(--dark-2);
  border-radius: 999px;
}

.reviews-slider::-webkit-scrollbar-thumb {
  background: var(--red);
  border-radius: 999px;
}

.review-card {
  flex: 0 0 min(340px, 82vw);
  scroll-snap-align: start;
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  border-color: rgba(225, 6, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.review-card::before {
  content: """;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(225, 6, 0, 0.15);
  line-height: 1;
}

.review-card p {
  font-size: 0.95rem;
  color: var(--gray-light);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-card .author {
  font-weight: 700;
  font-size: 0.9rem;
}

.review-card .stars {
  color: var(--red);
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

/* Signup */
.signup {
  background: linear-gradient(135deg, var(--dark) 0%, rgba(225, 6, 0, 0.15) 100%);
  position: relative;
  overflow: hidden;
}

.signup::before {
  content: "";
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border: 40px solid rgba(225, 6, 0, 0.08);
  border-radius: 50%;
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.signup-form {
  position: relative;
  background: var(--dark-2);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(225, 6, 0, 0.2);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  color: var(--gray-light);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%239a9a9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--red);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  margin-top: 3px;
  accent-color: var(--red);
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success h3 {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-error {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #ff6b6b;
  text-align: center;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.signup-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.signup-info .highlight {
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.signup-info p {
  color: var(--gray-light);
}

/* Branches */
.branches {
  background: var(--dark);
}

.branches-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.price-card.branch-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 168px;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(225, 6, 0, 0.25);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.06) 0%, var(--dark-2) 100%);
  overflow: hidden;
}

.price-card.branch-card:hover {
  border-color: var(--red);
  box-shadow: 0 12px 40px var(--red-glow);
  transform: translateY(-4px);
}

.price-card.branch-card .price {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  color: #e10600;
  color: var(--red);
  margin: 0 0 0.75rem;
  line-height: 1.15;
  letter-spacing: 0.03em;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.price-card.branch-card .location {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.5;
  margin: 0;
  width: 100%;
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--dark-2);
  border-radius: var(--radius);
}

.contact-card .icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-card h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 0.25rem;
}

.contact-card a,
.contact-card p {
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 48px;
  height: 48px;
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  transition: background 0.2s, border-color 0.2s;
}

.social-links a:hover {
  background: var(--red);
  border-color: var(--red);
}

.yandex-map {
  background: var(--dark-2);
  border-radius: var(--radius);
  height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.yandex-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.map-placeholder {
  background: var(--dark-2);
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer img {
  height: 40px;
}

.footer p {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-nav-link {
  font-size: 0.8rem;
  color: var(--gray);
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}

.footer-nav-link:hover {
  color: var(--red);
}

/* Legal modal */
.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.legal-modal[hidden] {
  display: none;
}

.legal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
}

.legal-modal-panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.legal-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: var(--red);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.legal-modal-content {
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.legal-modal-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1rem;
  padding-right: 2.5rem;
}

.legal-modal-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 1.75rem 0 0.75rem;
}

.legal-modal-content p {
  margin-bottom: 0.75rem;
}

.legal-modal-content ul {
  margin: 0.5rem 0 1rem 1.25rem;
}

.legal-modal-content li {
  margin-bottom: 0.4rem;
}

.legal-modal-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-modal-content a:hover {
  color: var(--white);
}

.legal-modal-date {
  font-size: 0.8rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.legal-inline-link {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.legal-inline-link:hover {
  color: var(--red-dark);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--red);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid,
  .training-wrap,
  .signup-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .coaches-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .awards,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav,
  .header .btn-primary {
    display: none;
  }

  .burger {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .hero-bg {
    background:
      linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.9) 50%,
        rgba(10, 10, 10, 0.95) 100%
      ),
      url("../images/hero.png?v=2") center/cover no-repeat;
  }

  .hero-bg::after {
    height: 120px;
  }

  .hero-content {
    width: calc(100% - 2.5rem);
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    padding: 1.75rem 1.25rem;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  .hero h1,
  .hero h1 .accent {
    text-shadow:
      0 2px 20px rgba(0, 0, 0, 0.95),
      0 1px 3px rgba(0, 0, 0, 1);
  }

  .hero-sub {
    font-size: 1.05rem;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    margin-top: 2rem;
    padding-top: 1.5rem;
    gap: 1.25rem 2rem;
  }

  .hero-stat span {
    color: #f0f0f0;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item-body {
    padding: 1.25rem;
  }

  .news-item-thumb {
    min-height: 180px;
  }

  .article-more-card {
    grid-template-columns: 1fr;
  }

  .article-more-card img {
    width: 100%;
    height: 140px;
  }

  .price-card.featured {
    transform: none;
  }

  .legal-modal {
    padding: 0.5rem;
  }

  .legal-modal-content {
    padding: 2.25rem 1.25rem 1.5rem;
  }

  .legal-modal-content h2 {
    font-size: 1.6rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.25rem;
  }

  .gallery-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-nav {
    align-self: flex-end;
  }

  .gallery-item {
    width: min(240px, 78vw);
    height: 320px;
  }

  .reviews-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .reviews-nav {
    align-self: flex-end;
  }

  .review-card {
    flex-basis: min(300px, 88vw);
  }
}
