/* ============================================================
   TOKENS
============================================================ */
:root {
  --yellow:      #EDF032;
  --yellow-dark: #D4E600;
  --dark:        #131B2A;
  --dark2:       #0D1420;
  --dark-card:   rgba(255,255,255,0.06);
  --white:       #ffffff;
  --text-muted:  rgba(255,255,255,0.5);
  --radius:      10px;
  --radius-pill: 50px;
  --nav-h:       72px;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--dark2); overscroll-behavior: none; }
body { font-family: 'Inter', sans-serif; background: #fff; color: #1A1F2E; overflow-x: hidden; overscroll-behavior: none; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
section[id] { scroll-margin-top: 80px; }

/* ============================================================
   NAVBAR
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  /* плавный переход между состояниями */
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* ── HERO STATE: pill над hero ── */
#navbar.hero-state {
  background: transparent;
  /* padding соответствует Figma: Left 46px от края при 1342px фрейме ≈ 3.4% */
  padding: 12px 40px;
  box-shadow: none;
}
#navbar.hero-state .nav-inner {
  /* Figma Rectangle 103: #FFFFFF 32% + background blur 3.77px */
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  padding: 0 20px 0 16px;
  height: 54px;
}

/* ── STICKY STATE: navbar прозрачный, pill с градиентом из Figma ── */
#navbar.sticky-state {
  background: transparent;
  padding: 10px 40px;
  box-shadow: none;
}
#navbar.sticky-state .nav-inner {
  /* Figma Rectangle 103: Linear Gradient #22425C → #488BC2 → #22425C + blur 3.77px */
  background: linear-gradient(90deg, #22425C 0%, #488BC2 50%, #22425C 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  padding: 0 20px 0 16px;
  height: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

/* общий inner */
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

/* ── ЛОГОТИПЫ ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 24px;
  flex-shrink: 0;
  text-decoration: none;
}
/* SVG-файл логотипа */
.nav-logo img.logo-svg {
  height: 36px;
  width: auto;
  display: block;
}
.nav-logo-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.2);
  margin: 0 8px;
  flex-shrink: 0;
}

/* ── ССЫЛКИ МЕНЮ ── */
.nav-links {
  display: flex;
  gap: 0;           /* равные промежутки через justify-content */
  align-items: center;
  flex: 1;
  justify-content: flex-start;
  gap: 6px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 700;
  font-style: normal;           /* прямой, не курсив */
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover {
  color: #fff;
}
/* активный пункт — жёлтая полоска снизу */
.nav-links a.active {
  color: #fff;
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 10px; right: 10px;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
}

/* ── ПРАВАЯ ЧАСТЬ: адрес + иконки + телефон + кнопка ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.nav-address-text {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  line-height: 1;
  white-space: nowrap;
}
.nav-contacts-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* иконки соцсетей в nav — маленькие, одинаковые */
.nav-social-icon {
  width: 16px;
  height: 16px;
  fill: rgba(255,255,255,0.6);
  flex-shrink: 0;
  display: block;
  transition: fill 0.2s;
}
.nav-social-icon:hover { fill: var(--yellow); }

/* ── КНОПКА ЗАБРОНИРОВАТЬ ── */
.btn-book {
  /* Figma Rectangle 104: Linear Gradient #EDF032 → #FDFF9F → #EDF032 */
  background: linear-gradient(90deg, #EDF032 0%, #FDFF9F 50%, #EDF032 100%);
  color: var(--dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  border: none;
  transition: filter 0.2s, transform 0.15s;
  display: inline-block;
  line-height: 1.2;
}
.btn-book:hover { filter: brightness(1.06); transform: scale(1.02); }

/* Адрес и контакты — курсив как в макете */
.nav-address-text {
  font-size: 11px;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1;
  white-space: nowrap;
}
.nav-phone {
  font-size: 11.5px;
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-phone svg { opacity: 0.6; flex-shrink: 0; }

/* ============================================================
   HERO
============================================================ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  /* контент — сверху, сразу после навбара */
  display: flex;
  align-items: flex-start;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
  /* отступ сверху = высота navbar (54px pill + 14px padding сверху + 14px снизу = ~82px) + немного воздуха */
  padding-top: 100px;
}

/* Заголовок */
.hero-title {
  font-size: clamp(58px, 8vw, 100px);
  font-weight: 900;
  font-style: italic;
  line-height: 0.92;
  margin-bottom: 32px;
}
.hero-title .line1 { color: var(--yellow); display: block; }
.hero-title .line2 { color: var(--white);  display: block; }

/* Слоган — 4 строки лесенкой с равным сдвигом */
.hero-sub {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-sub p {
  font-size: clamp(16px, 2vw, 24px);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.2;
}
/* равный сдвиг 56px на каждую следующую строку */
.hero-sub p:nth-child(1) { margin-left: 0; }
.hero-sub p:nth-child(2) { margin-left: 56px;  font-weight: 700; }
.hero-sub p:nth-child(3) { margin-left: 112px; }
.hero-sub p:nth-child(4) { margin-left: 168px; font-weight: 700; }
/* «Сейчас!» — жирный */
.hero-sub em { font-style: italic; font-weight: 700; }

/* Ball CTA — параллакс мяч */
.layer-ball {
  position: absolute;
  inset: -20px;
  z-index: 10;
  pointer-events: none;
  will-change: transform;
  transition: transform 0.15s ease-out;
}
.ball-wrapper {
  position: absolute;
  right: 2%;
  bottom: -5%;
  width: 720px;
  height: 720px;
  pointer-events: auto;
  cursor: pointer;
}
.ball-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
  animation: ballFloat 5s ease-in-out infinite;
}
@keyframes ballFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  30%  { transform: translateY(-6px) rotate(0.8deg); }
  60%  { transform: translateY(-3px) rotate(-0.5deg); }
}
.ball-wrapper:hover .ball-img {
  animation-play-state: paused;
  transform: scale(1.08) translateY(-4px);
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.4))
          drop-shadow(0 0 20px rgba(195,255,104,0.2));
}
.ball-wrapper:active .ball-img {
  transform: scale(0.96);
  transition-duration: 0.08s;
}
/* Кольца — фиксированный размер, не зависят от враппера */
.ball-ring {
  position: absolute;
  width: 250px;
  height: 250px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid rgba(195,255,104,0.25);
  animation: ringPulse 3s ease-in-out infinite;
  pointer-events: none;
}
.ball-ring:nth-child(2) {
  width: 310px;
  height: 310px;
  animation-delay: 1s;
  border-color: rgba(195,255,104,0.12);
}
@keyframes ringPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0; }
}
.ball-cta-hint {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(195,255,104,0.7);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.ball-wrapper:hover .ball-cta-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(4px);
}

/* Booking overlay */
.booking-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(7,11,18,0.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.booking-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.booking-card {
  background: linear-gradient(135deg, #141b2a, #0f1520);
  border: 1px solid rgba(195,255,104,0.1);
  border-radius: 24px;
  padding: 52px 56px;
  text-align: center;
  max-width: 440px;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.booking-overlay.active .booking-card { transform: scale(1) translateY(0); }
.booking-card .emoji { font-size: 48px; margin-bottom: 16px; }
.booking-card h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; color: #fff; }
.booking-card p { color: rgba(255,255,255,0.45); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.booking-card .btn-overlay {
  display: inline-block;
  padding: 14px 44px;
  background: linear-gradient(90deg, #EDF032 0%, #FEFFAE 50%, #EDF032 100%);
  color: #0a0e17;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.booking-card .btn-overlay:hover { filter: brightness(1.08); transform: scale(1.04); }
.booking-card .btn-close-overlay {
  display: block;
  margin-top: 16px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.25);
  font-size: 13px;
  cursor: pointer;
  padding: 8px 16px;
  font-family: inherit;
}
.booking-card .btn-close-overlay:hover { color: rgba(255,255,255,0.5); }

/* Частицы */
.smash-particle { position: fixed; border-radius: 50%; background: #c3ff68; pointer-events: none; z-index: 500; }
.smash-ring { position: fixed; border-radius: 50%; border: 2px solid rgba(195,255,104,0.6); pointer-events: none; z-index: 499; }

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-transform: uppercase;
  z-index: 2;
}
.hero-scroll .chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(5px); }
}

/* ============================================================
   COMMON
============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-pad { padding: 80px 0; }

/* Заголовки секций:
   Inter 400 Italic (первая часть) + Inter 900 Italic (вторая, em) */
.sec-title {
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 400;
  font-style: italic;
  text-align: center;
  margin-bottom: 52px;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.sec-title em {
  font-style: italic;
  font-weight: 900;
}
.sec-title-light {
  font-weight: 400;
  font-style: italic;
}

/* ============================================================
   О КЛУБЕ / СЛАЙДЕР
============================================================ */
#about {
  background: #fff;
  position: relative;
  /* overflow:hidden убран — иначе обрезает жёлтые круги */
}
#about .sec-title { color: #1A1F2E; }
#about .sec-title em { color: #1A1F2E; }

/* Декоративные круги — через отдельный div .about-deco в HTML */
.about-deco {
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  /* без overflow:hidden — иначе обрезает круги */
}
.about-deco::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(208,220,0,0.55) 0%, rgba(208,220,0,0.2) 40%, rgba(208,220,0,0) 70%);
  left: -80px;
  bottom: 20px;
}
.about-deco::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(208,220,0,0.35) 0%, rgba(208,220,0,0) 70%);
  left: 210px;
  bottom: 100px;
}

.slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}
.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.25,0.8,0.25,1);
  will-change: transform;
  /* ширина трека = ширина враппера, карточки % считаются от него */
  width: 100%;
}

/* Карточки — 4:3, диагональное скругление top-right + bottom-left */
.court-card {
  /* ~37% от враппера — показывает 2.7 карточки */
  flex: 0 0 37%;
  min-width: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 0 32px 0 32px;
  border: 6px solid #fff;
  box-sizing: border-box;
}
.court-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
  display: block;
}
.court-card:hover img { transform: scale(1.04); }
.court-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
  padding: 48px 24px 22px;
}
/* Шрифт крупнее — как в Figma */
.court-card-label strong {
  display: block;
  font-size: 36px;
  font-weight: 800;
  font-style: italic;
  color: #fff;
  line-height: 1.0;
}
.court-card-label span {
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
}

/* Стрелки — белый шеврон без фона */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: none;
  border: none;
  font-size: 36px;
  font-weight: 200;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
  transition: transform 0.15s;
  padding: 0;
}
.slider-arrow:hover { transform: translateY(-50%) scale(1.15); }
.slider-arrow.prev { left: 14px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.15s; }
.slider-arrow.next { right: 14px; transition: opacity 0.2s, transform 0.15s; }
.slider-arrow.prev.visible { opacity: 1; pointer-events: all; }

.cta-center {
  margin-top: 28px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.btn-yellow {
  display: inline-block;
  background: linear-gradient(90deg, #EDF032 0%, #FEFFA2 50%, #EDF032 100%);
  color: var(--dark);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 48px;
  border-radius: var(--radius-pill);
  border: none;
  min-width: 460px;
  transition: filter 0.2s, transform 0.15s;
}
.btn-yellow:hover { filter: brightness(1.06); transform: scale(1.01); }

/* ============================================================
   ОБЩАЯ ОБЁРТКА: фон на обе секции
============================================================ */
.dark-sections-wrap {
  background: var(--dark);
  position: relative;
  /* overflow:hidden убран — backdrop-filter на дочерних не работает при hidden */
}
.dark-sections-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/opp-bg.jpg') center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.dark-sections-wrap > section {
  position: relative;
  z-index: 1;
}

/* ============================================================
   НАШИ ВОЗМОЖНОСТИ
============================================================ */
#opportunities { background: transparent; }
#opportunities .sec-title { color: rgba(255,255,255,0.65); font-style: italic; font-weight: 400; }
#opportunities .sec-title em { color: #fff; font-weight: 900; font-style: italic; }

.opp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 80px;
}
.opp-item { display: flex; flex-direction: column; gap: 8px; }
.opp-head { display: flex; align-items: center; gap: 18px; }
.opp-icon-box {
  width: 68px; height: 68px;
  flex-shrink: 0;
  border: 3.42px solid #EDF032;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.opp-icon-box svg { width: 44px; height: 44px; stroke: #EDF032; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.opp-icon-box img { width: 44px; height: 44px; display: block; object-fit: contain; }
.opp-text { display: flex; flex-direction: column; gap: 0; }
/* название — выровнено по центру иконки */
.opp-name { font-size: 22px; font-weight: 800; font-style: italic; color: #fff; line-height: 1.2; align-self: center; }
/* описание — белый курсив */
.opp-desc {
  font-size: 14px; font-weight: 400; font-style: italic;
  color: rgba(255,255,255,0.85); line-height: 1.5;
  padding-left: 0;
  margin-top: 4px;
}

/* ============================================================
   СТОИМОСТЬ — точные значения из Figma CSS
============================================================ */
#pricing { background: transparent; }

/* Заголовок — весь 900 italic белый */
#pricing .sec-title {
  color: #FFFFFF;
  font-style: italic;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 42px);
}
#pricing .sec-title em { color: #fff; font-weight: 900; font-style: italic; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* Карточка: rgba(255,255,255,0.47), border-radius: 31.52px */
.pricing-card {
  border-radius: 31.52px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Название: 900 italic белый, 30.72px, по центру */
.pricing-card-name {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 30.72px;
  line-height: 1.1;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 4px;
}

/* Price pill: жёлтый контейнер, внутри белая капсула сверху */
.price-pill {
  background: #EDF032;
  border-radius: 14.91px;
  padding: 0 0 8px 0;
  width: 100%;
  overflow: visible;
}
.price-pill .pill-time {
  background: #FFFFFF;
  text-align: center;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 17.75px;
  color: #13314B;
  /* полное скругление — капсула плавает внутри жёлтого */
  border-radius: 14.91px;
  margin-bottom: 0;
}
.price-pill .pill-price {
  background: transparent;
  text-align: center;
  padding: 5px 12px 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17.75px;
  color: #13314B;
}

/* Тренировки — та же структура */
.training-pill {
  background: rgba(255,255,255,0.47);
  border-radius: 31.52px;
  padding: 8px;
  overflow: visible;
}
.training-pill .pill-time {
  background: #FFFFFF;
  text-align: center;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 14.97px;
  color: #13314B;
  border-radius: 24px; /* полное скругление внутри контейнера */
  margin-bottom: 4px;
}
.training-pill .pill-price {
  background: #EDF032;
  text-align: center;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17.75px;
  color: #13314B;
  border-radius: 24px;
}

.pricing-card-foot { margin-top: auto; padding-top: 4px; }

/* Кнопка: точно из Figma */
.btn-book-card {
  width: 100%;
  padding: 10px;
  background: linear-gradient(90deg, #EDF032 0%, #FEFFAE 45.19%, #EDF032 93.27%);
  box-shadow: 2.26px 3.87px 10.73px rgba(0,0,0,0.25);
  border: none;
  border-radius: 17.49px;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #22435B;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}
.btn-book-card:hover { filter: brightness(1.06); transform: scale(1.02); }

/* ТРЕНИРОВКИ: font-weight 400 italic */
.pricing-sub-head {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 28.25px;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
}
.pricing-sub-head strong {
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
}

/* Тренировки — такая же сетка как у тарифов */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

/* Блок тренировки — glassmorphism контейнер */
.training-pill {
  background: rgba(255,255,255,0.47);
  border-radius: 31.52px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* overflow:hidden убираем чтобы backdrop-filter работал */
}

/* Одна капсула: жёлтый контейнер с белой верхней частью */
.t-pill-wrap {
  background: #EDF032;
  border-radius: 14.91px;
  overflow: hidden;
  width: 100%;
}
.t-pill-name {
  background: #FFFFFF;
  text-align: center;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 14.97px;
  color: #13314B;
  /* полное скругление — плавает внутри жёлтого */
  border-radius: 14.91px;
}
.t-pill-price {
  text-align: center;
  padding: 5px 12px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17.75px;
  color: #13314B;
  background: transparent;
}

/* Аренда инвентаря — glassmorphism, меньше padding */
.inventory-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  width: 100%;
  background: rgba(255,255,255,0.47);
  border-radius: 31.52px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 20px;
  box-sizing: border-box;
  align-items: center;
}
.inventory-label {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 19.02px;
  color: #FFFFFF;
  white-space: nowrap;
}
.inventory-pill {
  display: flex;
  border-radius: 14.91px;
  overflow: hidden;
  width: 100%;
}
.inventory-pill .inv-name {
  background: #FFFFFF;
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 14.97px;
  color: #13314B;
  display: flex;
  align-items: center;
  white-space: nowrap;
  border-radius: 14.91px 0 0 14.91px;
}
.inventory-pill .inv-price {
  background: #EDF032;
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 17.75px;
  color: #13314B;
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  border-radius: 0 14.91px 14.91px 0;
}

/* Opacity 0.47 у всех glassmorphism карточек */
.pricing-card { background: rgba(255,255,255,0.47); }

/* ВАЖНО: 700 italic, 19px, белый */
.pricing-disclaimer {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 19.02px;
  line-height: 1.05;
  color: #FFFFFF;
}
.pricing-disclaimer strong {
  font-style: italic;
  font-weight: 700;
  color: #FFFFFF;
}

/* ============================================================
   FAQ — точные значения из Figma
============================================================ */
#faq {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}

/* Декоративный круг справа: #22425C, ~958px */
#faq::after {
  content: '';
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: #22425C;
  right: -200px;
  top: 50%;
  transform: translateY(-30%);
  pointer-events: none;
  z-index: 0;
}

#faq .container { position: relative; z-index: 1; }

/* Заголовок — 3 части разного веса */
.faq-title {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 42.5px);
  line-height: 1.2;
  color: #22425C;
  margin-bottom: 40px;
}
.faq-title .line-bold  { font-weight: 900; display: block; }
.faq-title .line-light { font-weight: 400; display: inline; }
.faq-title .line-bold2 { font-weight: 900; display: inline; }

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  /* stretch чтобы правая колонка не прыгала при изменении высоты левой */
  align-items: stretch;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item { border-radius: 23.31px; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #EDF032;
  color: #22425C;
  padding: 0 20px;
  height: 45.83px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  transition: filter 0.2s;
  border-radius: 23.31px;
}
.faq-q:hover { filter: brightness(0.96); }
.faq-item.open .faq-q {
  background: #EDF032;
  color: #22425C;
  border-radius: 23.31px 23.31px 0 0;
}

/* Стрелка */
.faq-arrow {
  flex-shrink: 0;
  width: 22px; height: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-arrow::before, .faq-arrow::after {
  content: '';
  position: absolute;
  width: 13px; height: 0;
  border-top: 3.32px solid #FFFFFF;
  border-radius: 2px;
}
.faq-arrow::before { transform: rotate(45deg) translateX(-4px); }
.faq-arrow::after  { transform: rotate(-45deg) translateX(4px); }
.faq-item.open .faq-arrow::before { transform: rotate(-45deg) translateX(-4px); }
.faq-item.open .faq-arrow::after  { transform: rotate(45deg) translateX(4px); }

/* Ответ: жёлтая окантовка — через border на faq-item */
.faq-item { border-radius: 23.31px; }
.faq-item.open {
  outline: 8px solid #EDF032;
  border-radius: 23.31px;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 0 0 18px 18px;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 20px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14.33px;
  line-height: 1.6;
  color: #22425C;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 16px 20px 20px;
}
.faq-a-inner { color: #22425C; }

/* FAQ секция */
#faq {
  background: #FFFFFF;
  position: relative;
  overflow: hidden;
}
#faq .container { position: relative; z-index: 1; }

/* Убираем ::after круг — теперь он в HTML как sticky div */
#faq::after { display: none; }

/* Layout */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-circle {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: #22425C;
  right: -280px;
  top: 140px;
  z-index: 0;
  pointer-events: none;
}
/* Картинка — position:absolute относительно #faq, меняй width свободно */
.faq-img {
  position: absolute;
  z-index: 2;
  width: 780px;
  height: auto;
  right: -20px;
  top: 160px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.15));
}
/* Пустая правая колонка */
.faq-visual {
  min-height: 400px;
  position: relative;
}
.faq-3d { display: none; }
.faq-bg-circle { display: none; }

/* Стрелка — белые линии как в Figma (Line 4 + Line 5) */
.faq-arrow {
  flex-shrink: 0;
  width: 22px; height: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-arrow::before,
.faq-arrow::after {
  content: '';
  position: absolute;
  width: 13px; height: 0;
  border-top: 3.32px solid #FFFFFF;
  border-radius: 2px;
}
.faq-arrow::before { transform: rotate(45deg) translateX(-4px); }
.faq-arrow::after  { transform: rotate(-45deg) translateX(4px); }
.faq-item.open .faq-arrow::before { transform: rotate(-45deg) translateX(-4px); }
.faq-item.open .faq-arrow::after  { transform: rotate(45deg) translateX(4px); }

/* Ответ — белый фон, border-radius: 20.1px (Rectangle 116) */
.faq-a {
  max-height: 0;
  overflow: hidden;
  background: #FFFFFF;
  border-radius: 0 0 20.1px 20.1px;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 24px;
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14.33px;
  line-height: 1.6;
  color: #22425C;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 16px 24px 20px;
}

/* Правая колонка — фото поверх синего круга */
.faq-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 420px;
}
.faq-visual img {
  position: relative;
  z-index: 2;
  max-height: 440px;
  object-fit: contain;
}
/* Fallback если нет фото — убираем старый 3D текст */
.faq-3d { display: none; }
.faq-bg-circle { display: none; }
.faq-bg-circle {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: #1A2F3A;
  z-index: -1;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
}

/* ============================================================
   КОНТАКТЫ
============================================================ */
#contacts {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}
/* Карта — полный фон (используется iframe в текущей версии) */
.contacts-map-bg {
  position: absolute;
  inset: 0;
  opacity: 0.55;
}
.contacts-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(13,20,32,0.97) 48%, rgba(13,20,32,0.2) 100%);
}
.contacts-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.contacts-info h2 {
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.contacts-info h2 .colon { color: var(--yellow); }
.c-block { margin-bottom: 18px; }
.c-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 4px;
}
.c-val {
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
  line-height: 1.5;
}
.c-val a { color: rgba(255,255,255,0.82); transition: color 0.2s; }
.c-val a:hover { color: var(--yellow); }

.socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.social-btn svg {
  width: 17px; height: 17px;
  fill: rgba(255,255,255,0.7);
  transition: fill 0.2s;
}
.social-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}
.social-btn:hover svg { fill: var(--dark); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--dark2);
  padding: 20px 32px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .opp-grid { grid-template-columns: 1fr; gap: 32px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .training-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .contacts-inner { grid-template-columns: 1fr; }
  .court-card { flex: 0 0 80%; }
  .hero-ball { right: 20px; width: 130px; height: 130px; }
  .hero-ball .ball-circle { width: 130px; height: 130px; }
  .nav-info { display: none; }
}
@media (max-width: 600px) {
  #navbar.hero-state { padding: 8px 16px; }
  #navbar.sticky-state { padding: 8px 16px; }
  .hero-title { font-size: 48px; }
  .hero-ball { display: none; }
}
/* ============================================================
   CONTACTS (current)
============================================================ */
.contacts {
  position: relative;
  min-height: 480px;
  overflow: hidden;
}

.contacts::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,16,24,0.56) 0%, rgba(9,16,24,0.32) 36%, rgba(9,16,24,0.12) 100%);
  z-index: 1;
}

.contacts__map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 0;
}

.contacts__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 32px;
  display: flex;
  align-items: flex-start;
}

.contacts__card {
  background: rgba(21, 33, 46, 0.66);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 36px 40px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 24px 48px rgba(16, 23, 31, 0.24);
}

.contacts__card-title {
  font-size: 28px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.contacts__list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }

.contacts__label {
  display: block;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #EDF032;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.contacts__value {
  font-size: 16px;
  font-style: italic;
  color: #ffffff;
}
.contacts__value a { color: inherit; }
.contacts__value a:hover { color: #EDF032; }

.contacts__socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contacts__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  color: #4d6174;
}
.contacts__social:hover {
  background: #EDF032;
  color: #131B2A;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(9, 16, 24, 0.2);
}
.contacts__social svg { width: 16px; height: 16px; fill: currentColor; }

@media (max-width: 768px) {
  .contacts__inner { padding: 40px 16px; }
  .contacts__card { padding: 28px 24px 24px; }
}
