/* ==========================================================================
   Школа Единоборств Новогорск | Роман Гончарук
   Дизайн-система строго по референсу IMG_4263.JPEG
   Ровно 2 шрифта: Oswald (Display) + Inter (Body/UI)
   Единые отступы: var(--section-padding)
   Никакой подсветки / неона на кнопках
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  /* Палитра строго по референсу */
  --color-red: #c81e27;
  --color-red-hover: #ad1820;
  --color-red-active: #94131a;

  --color-bg-dark: #121417;
  --color-surface-dark: #191c21;
  --color-surface-dark-card: #20242a;
  --color-surface-dark-hover: #262b32;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  --color-border-dark-subtle: rgba(255, 255, 255, 0.06);

  --color-awards-bg: #0c0e10;

  --color-bg-light: #f5f6f8;
  --color-surface-light: #ffffff;
  --color-border-light: #e4e7eb;

  --color-gold: #e5b342;
  --color-gold-muted: #c99b32;

  --color-text-white: #ffffff;
  --color-text-gray: #a2a8b3;
  --color-text-muted: #737b88;
  --color-text-dark: #121417;
  --color-text-dark-muted: #5d6470;

  /* Ровно 2 шрифта */
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Одинаковые вертикальные отступы между всеми блоками */
  --section-padding: 96px 0;
  --section-padding-mobile: 56px 0;

  /* Сетка и контейнер: 1240px — признанный UX/UI золотой стандарт для лендингов */
  --container-max: 1240px;
  --container-padding: 24px;

  /* Фиксированная высота хедера (НЕ МЕНЯЕТСЯ ПРИ СКРОЛЛЕ) */
  --header-height: 72px;
  --header-height-mobile: 64px;

  /* Скругления строго как в макете */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-pill: 9999px;

  /* Переходы */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s ease;
}

/* Сброс стилей */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  line-height: 1.5;
  background-color: var(--color-bg-dark);
  color: var(--color-text-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button,
input,
select,
textarea {
  font-family: inherit;
}

/* Контейнер */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* ==========================================================================
   Кнопки — строгий спортивный стиль БЕЗ подсветки и свечения
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  text-decoration: none;
  box-shadow: none;
  /* Запрет свечения и размытия */
  outline: none;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Главная красная кнопка */
.btn-primary {
  background-color: var(--color-red);
  color: #ffffff;
  border-color: var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-red-hover);
  border-color: var(--color-red-hover);
}

.btn-primary:active {
  background-color: var(--color-red-active);
  border-color: var(--color-red-active);
}

/* Контурная строгая кнопка */
.btn-outline {
  background-color: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border-color: var(--color-border-dark);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Белая кнопка для красного баннера */
.btn-white {
  background-color: #ffffff;
  color: var(--color-red);
  border-color: #ffffff;
}

.btn-white:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Круглая кнопка со стрелкой */
.btn-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-circle:hover {
  background-color: var(--color-red-hover);
  transform: translateX(2px);
}

.btn-circle svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Шапка (Header)
   ВЫСОТА НЕ МЕНЯЕТСЯ (всегда 72px)
   Сначала прозрачная, при скролле мягко заливается тёмным цветом
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-normal), border-color var(--transition-normal), backdrop-filter var(--transition-normal), box-shadow var(--transition-normal);
}

/* Состояние после скролла: строго та же высота 72px без малейших скачков */
.site-header.is-scrolled {
  background-color: rgba(18, 20, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-dark);
  height: var(--header-height);
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: auto;
  height: 38px;
  max-width: 48px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-gray);
  line-height: 1.1;
}

.logo-main {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  white-space: nowrap;
}

/* Навигация */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-gray);
  padding: 6px 0;
  position: relative;
}

.nav-link:hover {
  color: #ffffff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-text-gray);
  padding-right: 18px;
  border-right: 1px solid var(--color-border-dark);
}

.header-location svg {
  width: 18px;
  height: 18px;
  color: var(--color-text-white);
  flex-shrink: 0;
}

.header-location-text {
  line-height: 1.25;
}

.header-location-city {
  font-weight: 600;
  color: #ffffff;
}

.burger-btn {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
}

.burger-btn svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Главный экран (Hero Section)
   - Фото на всю высоту первого экрана (100vh) — без белых полос снизу
   - Фото Романа крупное, четкое, на весь правый план
   - Титулы и награды не привязаны к низу экрана, а идут естественным потоком
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 110vh;
  min-height: 110dvh;
  display: flex;
  align-items: center;
  background-color: var(--color-awards-bg);
  background-image:
    /* Градиент ТОЛЬКО слева строго под колонкой текста; фигура и лицо Романа справа яркие и без затемнения */
    linear-gradient(to right,
      rgba(15, 17, 20, 0.98) 0%,
      rgba(15, 17, 20, 0.94) 38%,
      rgba(15, 17, 20, 0.50) 48%,
      rgba(15, 17, 20, 0) 58%,
      transparent 100%),
    /* Мягкий переход в самом низу под плашкой наград */
    linear-gradient(to top,
      #0c0e10 0%,
      rgba(12, 14, 16, 0.75) 4%,
      transparent 10%),
    url('../images/hero-bg.jpg');
  background-size: 100% 100%, 100% 100%, cover;
  background-position: right top;
  /* Рома не обрезается по голове */
  background-repeat: no-repeat;
  padding-top: calc(var(--header-height) + 30px);
  padding-bottom: 40px;
  border-bottom: none;
}

@media (min-width: 1200px) {
  .hero-section {
    background-size: 100% 100%, 100% 100%, 112% auto;
    /* Фото Романа заметно крупнее и мощнее */
    background-position: right top;
  }
}

.hero-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  padding-top: 100px;
  /* Опустили весь текст и карточки заметно ниже */
  margin-bottom: 16px;
}

.hero-eyebrow,
.hero-title,
.hero-subtitle,
.hero-tags,
.hero-features,
.hero-actions,
.hero-audience-strip {
  max-width: 620px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-gray);
  margin-bottom: 12px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.4vw, 4.4rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 8px;
}

.hero-title span {
  color: var(--color-red);
  display: block;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-tags {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-gray);
  margin-bottom: 22px;
}

/* 4 достоинства с вертикальными разделителями */
.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 24px;
}

.hero-feature-item {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--transition-fast);
}

.hero-feature-item:first-child {
  padding-left: 0;
}

.hero-feature-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-feature-item:hover {
  transform: translateY(-2px);
}

.hero-feature-icon {
  width: 24px;
  height: 24px;
  color: var(--color-red);
  flex-shrink: 0;
}

.hero-feature-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.24;
  color: #ffffff;
}

/* Кнопки Hero */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

/* Полоса аудитории */
.hero-audience-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border-dark);
}

.audience-pill {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-gray);
  position: relative;
}

.audience-pill:not(:last-child)::after {
  content: '|';
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Полоса наград и титулов (Hero Awards Card) — внутри Hero-экрана
   ========================================================================== */
.hero-awards-card {
  width: 100%;
  max-width: 980px;
  margin-top: 36px;
  /* Опустили немножко вниз */
  background: transparent;
  /* Убрали черный фон */
  border: none;
  /* Убрали внешнюю обводку */
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: 100%;
  align-items: center;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 4px;
}

.award-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.award-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.45));
}

.award-text {
  display: flex;
  flex-direction: column;
}

.award-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  color: #ffffff;
}

.award-year {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-top: 1px;
}

/* ==========================================================================
   Секция: Направления подготовки (СВЕТЛЫЙ БЛОК)
   Одинаковый вертикальный отступ: var(--section-padding)
   ========================================================================== */
.section-programs {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 50px 0;
  box-sizing: border-box;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
}

.section-programs>.container {
  width: 100%;
  max-width: var(--container-max);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  flex-wrap: wrap;
  gap: 24px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.section-title-dark {
  color: #ffffff;
}

.section-lead {
  max-width: 480px;
  font-size: 1.05rem;
  color: var(--color-text-dark-muted);
  line-height: 1.5;
}

.programs-mobile-hint {
  display: none;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background-color: var(--color-surface-light);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.program-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #1a1a1a;
}

.program-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.program-card:hover .program-card-thumb img {
  transform: scale(1.06);
}

.program-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-header {
  margin-bottom: 10px;
}

.program-card-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  line-height: 1.1;
}

.program-card-badge {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.program-card-hook {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.25;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.program-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-dark-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.program-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
  margin-top: auto;
}

.program-card-price-wrap {
  display: flex;
  flex-direction: column;
}

.program-card-price {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text-dark);
  line-height: 1;
  letter-spacing: 0.02em;
}

.program-card-duration {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-dark-muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.program-card-footer .btn-circle {
  width: 44px;
  height: 44px;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.program-card:hover .program-card-footer .btn-circle {
  transform: scale(1.08);
  background-color: var(--color-red-hover);
}

/* ==========================================================================
   Секция: О тренере (ТЁМНЫЙ БЛОК) — ВЫСОТА 100vh, ТОЧНО ПО РЕФЕРЕНСУ
   ========================================================================== */
.section-coach {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 40px 0;
  box-sizing: border-box;
  background-color: #0c0e10;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(200, 30, 39, 0.08) 0%, transparent 55%),
    linear-gradient(to right, rgba(12, 14, 16, 1) 0%, rgba(12, 14, 16, 0.95) 100%);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  overflow: hidden;
}

.coach-container {
  width: 100%;
  max-width: var(--container-max);
}

.coach-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(250px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

/* Левая и центральная зона: портрет крупно, инфо + таймлайн */
.coach-primary-area {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.coach-top-row {
  display: grid;
  grid-template-columns: minmax(320px, 460px) 1fr;
  align-items: start;
  gap: 24px;
  position: relative;
}

/* Фото тренера: крупное, увеличено и выдвинуто влево в свободное пространство без изменения сетки текста */
.coach-portrait-wrap {
  position: relative;
  z-index: 3;
  margin-left: -240px;
  /* Фото еще мощнее увеличено и выдвинуто влево в свободное пространство */
  margin-right: -30px;
  /* Наплыв на текстовый блок сохраняется */
  width: calc(100% + 240px);
  margin-bottom: -18px;
  /* Кулак и рука ложатся прямо над линией ПУТЬ В СПОРТЕ */
  display: flex;
  align-items: flex-end;
  align-self: end;
  justify-content: flex-end;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.85));
}

.coach-portrait-img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: center bottom;
  -webkit-mask-image:
    linear-gradient(to right, black 80%, transparent 99%),
    linear-gradient(to bottom, black 93%, transparent 100%);
  mask-image:
    linear-gradient(to right, black 80%, transparent 99%),
    linear-gradient(to bottom, black 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75));
}

/* Текстовая колонка */
.coach-info-content {
  position: relative;
  z-index: 2;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  align-self: start;
}

.coach-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 6px;
  display: block;
  line-height: 1;
}

.coach-name {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 6px;
}

.coach-fullname {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-gray);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.coach-lead-role {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.coach-title-line {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.4;
}

.coach-title-desc {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 2px;
}

.coach-bio-text {
  font-size: 0.95rem;
  color: #9aa1ad;
  line-height: 1.6;
  max-width: 520px;
}

/* Нижний горизонтальный таймлайн: Путь в спорте */
.coach-timeline-bottom {
  margin-top: 24px;
  /* Опустили немного путь в спорте */
  padding-top: 10px;
  border-top: none;
  position: relative;
  z-index: 4;
}

.timeline-heading {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
}

.timeline-horizontal-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.timeline-step {
  display: flex;
  flex-direction: column;
}

.timeline-marker {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #0c0e10;
  border: 2px solid var(--color-red);
  box-shadow: 0 0 8px rgba(200, 30, 39, 0.8);
  flex-shrink: 0;
}

.timeline-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(200, 30, 39, 0.6), rgba(255, 255, 255, 0.15));
  margin-left: 6px;
}

.timeline-data {
  display: flex;
  flex-direction: column;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: 0.78rem;
  color: #8c94a2;
  line-height: 1.25;
}

/* Правая часть: список достижений (8 пунктов) */
.coach-achievements-sidebar {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Подняли блок наверх на один уровень с О ТРЕНЕРЕ */
}

.achievements-sidebar-heading {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-red);
  /* Красный цвет как у О ТРЕНЕРЕ */
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.achievements-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  list-style: none;
}

.achievement-side-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.achievement-gold-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
  margin-top: 1px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.achievement-side-content {
  display: flex;
  flex-direction: column;
}

.achievement-side-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
}

.achievement-side-desc {
  font-size: 0.8rem;
  color: #8c94a2;
  line-height: 1.25;
  margin-top: 1px;
}

/* ==========================================================================
   Секция: База в Новогорске (Gym & Facilities)
   Широкий панорамный блок с залом, заголовком слева и 4 фичами справа
   ========================================================================== */
.section-facility {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-color: #0c0e10;
  background-image: url('../images/zal.webp');
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 60px 0;
  border-bottom: none;
}

.facility-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    /* Затемнение слева под заголовок и справа под плашку с фичами */
    linear-gradient(to right,
      rgba(10, 12, 14, 0.96) 0%,
      rgba(10, 12, 14, 0.90) 24%,
      rgba(10, 12, 14, 0.35) 45%,
      rgba(10, 12, 14, 0.15) 55%,
      rgba(10, 12, 14, 0.88) 80%,
      rgba(10, 12, 14, 0.97) 100%),
    /* Смягчение только верхнего края без полос снизу */
    linear-gradient(to bottom,
      rgba(10, 12, 14, 0.65) 0%,
      transparent 18%);
  pointer-events: none;
  z-index: 1;
}

.facility-banner-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  gap: 48px;
}

/* Левая часть: заголовок, описание и кнопка перехода */
.facility-banner-left {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.facility-banner-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.facility-banner-desc {
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 22px 0;
}

.facility-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 26px;
  background-color: var(--color-red);
  border: 1px solid var(--color-red);
  border-radius: var(--radius-xs);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
}

.facility-banner-btn svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.facility-banner-btn:hover {
  background-color: #b80710;
  border-color: #b80710;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.5);
}

.facility-banner-btn:hover svg {
  transform: translateX(4px);
}

/* Правая часть: список 4 ключевых зон зала */
.facility-banner-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 340px;
  max-width: 440px;
  background: linear-gradient(155deg, rgba(24, 28, 34, 0.90) 0%, rgba(12, 14, 17, 0.96) 100%);
  padding: 30px 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.facility-side-item {
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform var(--transition-fast);
  cursor: default;
}

.facility-side-item:hover {
  transform: translateX(4px);
}

.facility-side-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.12) 0%, rgba(12, 14, 18, 0.85) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  padding: 6px;
  box-sizing: border-box;
  transition: all var(--transition-fast);
}

.facility-side-item:hover .facility-side-icon-wrap {
  border-color: var(--color-red);
  box-shadow: 0 0 20px rgba(200, 30, 39, 0.45);
  transform: scale(1.06);
}

.facility-side-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.facility-side-icon-wrap svg {
  width: 32px;
  height: 32px;
  display: block;
}

.facility-side-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.15;
}

.facility-side-desc {
  font-size: 0.88rem;
  color: #a0a7b4;
  margin-top: 4px;
  line-height: 1.25;
}

.facility-mobile-preview {
  display: none;
}

/* ==========================================================================
   Красный финальный CTA-баннер
   ========================================================================== */
.section-cta {
  background-color: var(--color-red);
  color: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-content {
  max-width: 680px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.cta-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: fit-content;
  max-width: 100%;
  gap: 12px;
}

.cta-action .btn-white {
  width: 100%;
  min-height: 56px;
  padding: 16px 28px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
}

.cta-action .btn-white svg {
  width: 18px;
  height: 18px;
}

.cta-location-tag {
  font-family: var(--font-heading);
  font-size: clamp(0.74rem, 2.5vw, 0.85rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  white-space: normal;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================================================
   Контакты и Подвал (Footer)
   Одинаковый вертикальный отступ: var(--section-padding)
   ========================================================================== */
.site-footer {
  padding: 44px 0 24px 0;
  background-color: #0b0c0e;
  border-top: 1px solid var(--color-border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 36px;
  margin-bottom: 24px;
}

.footer-col-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--color-text-gray);
  max-width: 380px;
  line-height: 1.5;
}

.footer-nav-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  font-size: 0.88rem;
  color: var(--color-text-gray);
}

.footer-nav-link:hover {
  color: #ffffff;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-phone-link {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.contact-phone-link:hover {
  color: var(--color-red);
}

.contact-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid var(--color-border-dark-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer-privacy-link {
  color: var(--color-text-gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.footer-privacy-link:hover {
  color: #ffffff;
}

.form-privacy-note {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-top: 6px;
  text-align: center;
}

.form-privacy-note a {
  color: var(--color-text-gray);
  text-decoration: underline;
}

.form-privacy-note a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Модальное окно онлайн-записи
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background-color: var(--color-surface-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xs);
  width: 100%;
  max-width: 480px;
  padding: 32px 28px;
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.modal-overlay.is-active .modal-window {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--color-text-gray);
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: #ffffff;
}

.modal-close-btn svg {
  width: 24px;
  height: 24px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--color-text-gray);
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
}

.form-input {
  background-color: var(--color-bg-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-red);
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.form-success-message.is-visible {
  display: block;
}

/* ==========================================================================
   Уведомление Cookie (152-ФЗ РФ)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 20, 23, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  z-index: 1500;
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-text {
  font-size: 0.84rem;
  color: var(--color-text-gray);
  line-height: 1.45;
}

.cookie-banner-text a.cookie-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--transition-fast);
}

.cookie-banner-text a.cookie-link:hover {
  color: var(--color-red);
}

.cookie-banner-actions {
  flex-shrink: 0;
}

.btn-cookie {
  padding: 10px 24px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* ==========================================================================
   Модальное окно политики конфиденциальности (152-ФЗ РФ)
   ========================================================================== */
.privacy-modal-overlay {
  z-index: 2500;
}

.privacy-modal-window {
  max-width: 800px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  padding: 32px 36px;
  background-color: #16181d;
  border: 1px solid var(--color-border-dark);
}

.privacy-modal-header {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border-dark);
  margin-bottom: 18px;
  padding-right: 32px;
}

.privacy-modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.privacy-modal-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.privacy-modal-body {
  overflow-y: auto;
  padding-right: 14px;
  font-size: 0.88rem;
  color: var(--color-text-gray);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-modal-body::-webkit-scrollbar {
  width: 6px;
}

.privacy-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

.privacy-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.privacy-modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 10px;
  margin-bottom: 2px;
}

.privacy-modal-body ul {
  padding-left: 20px;
  margin-top: -4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-modal-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-dark);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Адаптивность (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-section {
    background-position: 75% top;
  }

  .coach-grid {
    grid-template-columns: 1fr 1fr;
  }

  .coach-achievements-col {
    grid-column: span 2;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .facility-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  .coach-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .coach-achievements-sidebar {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 24px;
  }

  .timeline-horizontal-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ==========================================================================
   Адаптивность (Mobile & Tablet) — Высокий стандарт UX/UI
   ========================================================================== */

/* Блокировка скролла страницы при открытом мобильном меню */
body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

/* Элементы, скрытые на десктопе по умолчанию */
.hero-mobile-badges,
.nav-mobile-bottom,
.nav-overlay,
.programs-mobile-hint,
.programs-mobile-dots,
.footer-mobile-actions {
  display: none;
}

@media (max-width: 820px) {
  :root {
    --section-padding: var(--section-padding-mobile);
  }

  /* 1. ШАПКА И МОБИЛЬНОЕ МЕНЮ */
  .site-header {
    height: var(--header-height-mobile);
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color var(--transition-normal), border-color var(--transition-normal), backdrop-filter var(--transition-normal);
  }

  .site-header.is-scrolled,
  .site-header.menu-open {
    height: var(--header-height-mobile);
    background-color: rgba(14, 16, 18, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-dark);
  }

  .header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header-location,
  .header-right .btn-primary {
    display: none !important;
  }

  /* Анимированная кнопка-бургер (превращение в крестик ✕) */
  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xs);
    cursor: pointer;
    z-index: 1000;
    transition: border-color var(--transition-fast);
  }

  .burger-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
  }

  .burger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }

  .burger-btn.is-active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-btn.is-active .burger-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .burger-btn.is-active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Затемняющий оверлей страницы */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Выпадающее мобильное меню */
  .nav-menu {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-height-mobile));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #15181d;
    border-bottom: 1px solid var(--color-border-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    padding: 0;
    transform: translateY(-115%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.3s;
    z-index: 999;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    padding: 16px 20px 10px;
    gap: 2px;
  }

  .nav-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ffffff;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .nav-link::after {
    display: none !important;
  }

  .nav-mobile-bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    padding: 22px 24px 28px 24px;
    background: #0f1114;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
  }

  .nav-mobile-phone svg {
    width: 20px;
    height: 20px;
    color: var(--color-red);
    flex-shrink: 0;
  }

  .nav-mobile-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-gray);
    width: 100%;
  }

  .nav-mobile-location svg {
    width: 18px;
    height: 18px;
    color: var(--color-red);
    flex-shrink: 0;
  }

  .nav-mobile-cta {
    width: 100%;
    margin-top: 4px;
    padding: 16px 20px;
    font-size: 1.02rem;
    justify-content: center;
    box-sizing: border-box;
  }

  /* 2. ГЛАВНЫЙ ЭКРАН (HERO) — на весь экран смартфона (100dvh) */
  .hero-section {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: calc(var(--header-height-mobile) + 24px);
    padding-bottom: 40px;
    box-sizing: border-box;
    background-image: 
      /* Сплошное затемнение от края до края: лицо Романа сверху чистое и открытое,
         ниже шеи глубокий градиент на всю ширину и плотное затемнение снизу */
      linear-gradient(180deg, 
        rgba(10, 12, 14, 0) 0%, 
        rgba(10, 12, 14, 0) 30%, 
        rgba(10, 12, 14, 0.65) 48%, 
        rgba(10, 12, 14, 0.94) 70%, 
        #0b0d10 100%
      ),
      url('../images/hero-bg-mobile.jpg'),
      url('../images/hero-bg.jpg');
    background-position: 72% top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero-container {
    width: 100%;
    margin-top: auto;
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
    margin: 0;
    background: none;
  }

  .hero-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  .hero-title {
    font-size: clamp(2.3rem, 9.2vw, 3.2rem);
    line-height: 1.0;
    margin-bottom: 8px;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.98), 0 0 24px rgba(0, 0, 0, 0.9);
  }

  .hero-subtitle {
    font-size: 1.02rem;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  .hero-tags {
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    margin-bottom: 16px;
    color: #b0b7c3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  }

  /* Скрываем громоздкие десктопные блоки Hero на мобильном */
  .hero-features,
  .hero-audience-strip,
  .hero-awards-card {
    display: none !important;
  }

  /* Кнопки действий на Hero */
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 6px;
    margin-bottom: 0;
  }

  .hero-actions .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1.02rem;
    box-shadow: 0 6px 22px rgba(200, 30, 39, 0.4);
  }

  .hero-actions .hero-more-btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.92rem;
  }

  /* 3. БЛОК НАПРАВЛЕНИЙ (ПРОГРАММЫ) — просторный белый фон снизу */
  .section-programs {
    min-height: auto;
    border-top: 3px solid #121417;
    padding-top: 52px;
    padding-bottom: 74px;
    overflow: hidden;
  }

  .section-head {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .section-title {
    font-size: clamp(2.0rem, 7.5vw, 2.5rem);
    line-height: 1.05;
  }

  .section-lead {
    font-size: 0.92rem;
    line-height: 1.45;
  }

  /* Подсказка свайпа — без переноса и с аккуратными стрелками */
  .programs-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-red);
    font-weight: 700;
    margin-top: 4px;
    margin-bottom: 14px;
    white-space: nowrap;
  }

  .programs-mobile-hint .hint-arrow {
    width: 16px;
    height: 16px;
    animation: hintArrowBounce 1.6s infinite ease-in-out;
  }

  @keyframes hintArrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
  }

  /* Горизонтальный свайп-слайдер */
  .programs-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 4px var(--container-padding) 16px var(--container-padding);
    margin-left: calc(-1 * var(--container-padding));
    margin-right: calc(-1 * var(--container-padding));
    scrollbar-width: none;
  }

  .programs-grid::-webkit-scrollbar {
    display: none;
  }

  .program-card {
    flex: 0 0 85%;
    max-width: 320px;
    min-width: 260px;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .program-card-thumb {
    height: 175px;
    overflow: hidden;
  }

  .program-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .program-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 18px 16px;
  }

  .program-card-title {
    font-size: 1.35rem;
  }

  .program-card-desc {
    font-size: 0.86rem;
    line-height: 1.45;
    flex-grow: 1;
    margin-bottom: 16px;
  }

  .program-card-footer {
    margin-top: auto;
  }

  /* Точки-буллеты пагинации */
  .programs-mobile-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    margin-bottom: 0;
  }

  .prog-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .prog-dot.is-active {
    width: 22px;
    border-radius: 4px;
    background: var(--color-red);
  }

  /* 4. БЛОК О ТРЕНЕРЕ — просторный глубокий черный фон сверху */
  .section-coach {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 60px;
  }

  .coach-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .coach-top-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Фото тренера */
  .coach-portrait-wrap {
    margin: 0 auto 14px auto;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .coach-portrait-img {
    width: 100%;
    max-width: 390px;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.8));
  }

  .coach-info-content {
    padding-left: 0;
    text-align: left;
  }

  .coach-label {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
  }

  .coach-name {
    font-size: clamp(2.1rem, 8.5vw, 2.7rem);
    margin-bottom: 8px;
  }

  .coach-fullname {
    font-size: 0.88rem;
    color: var(--color-text-gray);
    margin-bottom: 10px;
  }

  .coach-lead-role {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.86rem;
    line-height: 1.35;
    margin-bottom: 14px;
    color: #e5e8ee;
  }

  .coach-title-line {
    font-size: 0.88rem;
    line-height: 1.35;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
  }

  .coach-title-desc {
    font-size: 0.78rem;
    line-height: 1.35;
    color: var(--color-gold);
    margin-bottom: 2px;
  }

  .coach-bio-text {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    line-height: 1.55;
    margin-bottom: 18px;
  }

  /* Путь в спорте (Timeline) — адаптирован на мобильном */
  .coach-timeline-bottom {
    display: block !important;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .timeline-heading {
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    color: var(--color-red);
    margin-bottom: 14px;
  }

  .timeline-horizontal-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .timeline-step {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xs);
    padding: 10px 12px;
  }

  .timeline-marker,
  .timeline-dot,
  .timeline-line {
    display: none !important;
  }

  .timeline-year {
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 700;
  }

  .timeline-desc {
    font-size: 0.76rem;
    color: var(--color-text-gray);
    line-height: 1.25;
  }

  /* Ключевые достижения — эстетичная сетка 2 колонки на мобильном */
  .coach-achievements-sidebar {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 0;
    padding-top: 18px;
    margin-top: 12px;
    margin-bottom: 16px;
  }

  .achievements-sidebar-heading {
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    color: var(--color-gold);
    margin-bottom: 14px;
    padding-bottom: 6px;
  }

  .achievements-sidebar-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .achievement-side-item {
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-xs);
    gap: 8px;
    align-items: center;
  }

  .achievement-gold-icon {
    width: 20px;
    height: 20px;
  }

  .achievement-side-title {
    font-size: 0.78rem;
    line-height: 1.15;
  }

  .achievement-side-desc {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  /* 5. БАЗА КЛУБА В НОВОГОРСКЕ */
  .section-facility {
    min-height: auto;
    padding-top: 48px !important;
    padding-bottom: 48px;
  }

  .facility-banner-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .facility-banner-left {
    display: contents;
  }

  .facility-banner-title {
    order: 1;
    font-size: clamp(2.0rem, 7.5vw, 2.6rem);
    line-height: 1.05;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  }

  .facility-banner-desc {
    order: 2;
    font-size: 0.94rem;
    color: #e5e9f0;
    line-height: 1.45;
    margin-bottom: 6px;
    padding: 10px 14px;
    background: rgba(10, 12, 15, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-xs);
    border-left: 3px solid var(--color-red);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  }

  /* Блок с фотками скрыт на мобильной версии по запросу, но просторное спортивное оформление сохранено */
  .facility-mobile-preview {
    display: none !important;
  }

  .facility-banner-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  /* 4 характеристики зала */
  .facility-banner-right {
    order: 4;
    width: 100%;
    min-width: auto;
    background: rgba(12, 14, 16, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 16px 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .facility-side-icon-wrap {
    width: 44px;
    height: 44px;
    padding: 5px;
    flex-shrink: 0;
  }

  .facility-side-title {
    font-size: 0.95rem;
  }

  .facility-side-desc {
    font-size: 0.82rem;
  }

  .facility-banner-btn {
    order: 5;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
    padding: 15px 20px;
    margin-top: 2px;
  }

  /* 6. ФУТЕР И CTA */
  .section-cta {
    padding: 40px 0;
  }

  .cta-inner {
    padding: 28px 18px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .cta-title {
    font-size: clamp(1.85rem, 7.5vw, 2.3rem);
    line-height: 1.05;
    text-align: center;
  }

  .cta-sub {
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: center;
    max-width: 440px;
    margin: 0 auto;
  }

  .cta-action {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }

  .cta-action .btn-white {
    width: 100%;
    justify-content: center;
    padding: 15px 20px;
    font-size: 1.05rem;
  }

  .cta-location-tag {
    font-size: 0.78rem;
    margin-top: 4px;
    text-align: center;
    justify-content: center;
  }

  .site-footer {
    padding: 36px 0 24px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Скрываем дублирующее текстовое меню ссылок в футере на мобильном */
  .footer-grid > div:nth-child(2) {
    display: none;
  }

  .footer-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .footer-mobile-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 0.92rem;
    gap: 10px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding-top: 20px;
  }

  /* 7. МОДАЛЬНЫЕ ОКНА И КУКИ */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  .modal-window {
    padding: 24px 18px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 16px;
  }

  .privacy-modal-window {
    padding: 20px 16px;
    max-height: 90vh;
    margin: 16px;
  }

  .privacy-modal-title {
    font-size: 1.2rem;
  }

  /* Аккуратный плавающий баннер Cookie на мобильном */
  .cookie-banner {
    z-index: 9999 !important;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 12px 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0;
  }

  .cookie-banner-text {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .btn-cookie {
    width: 100%;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}

/* Компактные смартфоны (< 480px) */
@media (max-width: 480px) {
  .logo-sub {
    display: none;
  }

  .logo-main {
    font-size: 1.05rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .program-card {
    flex: 0 0 86%;
  }

  .hero-title {
    font-size: clamp(2.0rem, 8.8vw, 2.6rem);
  }

  /* Сохраняем 2 колонки для компактности и удобства */
  .achievements-sidebar-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .achievement-side-item {
    padding: 8px 6px;
    gap: 6px;
  }

  .achievement-side-title {
    font-size: 0.74rem;
  }

  .achievement-side-desc {
    font-size: 0.68rem;
  }

  .timeline-horizontal-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .timeline-step {
    padding: 8px 10px;
  }
}

/* Сверхкомпактные экраны (< 360px) */
@media (max-width: 360px) {
  .site-header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo {
    gap: 8px;
  }

  .logo-main {
    font-size: 0.92rem;
    letter-spacing: 0.02em;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
  }

  .burger-btn {
    width: 38px;
    height: 38px;
    padding: 6px;
  }

  .header-right .btn-primary {
    display: none;
  }

  .achievements-sidebar-list {
    grid-template-columns: 1fr;
  }

  .timeline-horizontal-track {
    grid-template-columns: 1fr;
  }
}