/* T-FIT Studio — стили сайта */

:root {
  --accent:        #6F00B7;
  --accent-light:  #9B30FF;
  --accent-dim:    rgba(111,0,183,.10);
  --accent-glow:   rgba(111,0,183,.22);
  --accent-border: rgba(111,0,183,.30);
  --bg:            #0A0A0A;
  --surface:       #141414;
  --surface2:      #1A1A1A;
  --surface3:      #202020;
  --border:        rgba(255,255,255,.07);
  --divider:       rgba(255,255,255,.055);
  --text:          #F2F2F2;
  --text-md:       #C0C0C0;
  --text-muted:    #808080;
  --text-faint:    #404040;
  --radius-card:   18px;
  --radius-btn:    10px;
  --shadow-card:   0 2px 4px rgba(0,0,0,.6), 0 12px 40px rgba(0,0,0,.45);
}

/* ── СБРОС И ГЛОБАЛЬНЫЕ ПРАВИЛА ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: var(--bg); overflow-x: hidden; max-width: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}
::selection { background: rgba(111,0,183,.25); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--text-faint); border-radius: 99px; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ── КОНТЕЙНЕР И СЕКЦИИ ── */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: clamp(12px, 4vw, 24px);
  padding-right: clamp(12px, 4vw, 24px);
  width: 100%;
  min-width: 0;
}
.sec { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--divider); }

/* ── ТИПОГРАФИКА ── */
h1, h2, h3, h4, h5, h6 { font-family: 'Plus Jakarta Sans', sans-serif; word-break: break-word; }

.h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  line-height: 1.07;
  letter-spacing: -.035em;
  color: var(--text);
}
.h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 4.5vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.03em;
  color: var(--text);
}
.h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  color: var(--text);
}
.body-lg {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.82rem, 2vw, .9375rem);
  line-height: 1.75;
  color: var(--text-muted);
}
.body-sm {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.76rem, 1.8vw, .84rem);
  line-height: 1.65;
  color: var(--text-md);
}
.micro {
  font-family: 'Inter', sans-serif;
  font-size: clamp(.6rem, 1.4vw, .67rem);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter', sans-serif;
  font-size: clamp(.6rem, 1.4vw, .65rem);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.sec-label::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── КНОПКИ ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-btn);
  font-family: 'Inter', sans-serif;
  font-size: clamp(.8rem, 2vw, .875rem);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all .22s ease;
  border: 1px solid transparent;
  text-decoration: none;
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.btn-fill  { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent-light); border-color: var(--accent-light); }
@media (hover: hover) {
  .btn-fill:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(111,0,183,.35); }
}
.btn-fill:active { transform: scale(.98); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent-border); background: var(--accent-dim); color: var(--accent-light); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
  touch-action: manipulation;
}
.btn-ghost:hover { border-color: var(--accent-border); color: var(--accent-light); background: var(--accent-dim); }

/* ── КАРТОЧКИ ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(16px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: border-color .25s ease;
  min-width: 0;               /* Предотвращает раздувание карточки в гридах */
  word-break: break-word;     /* Автоматически переносит слишком длинные слова и ссылки */
}
.card:hover { border-color: var(--accent-border); }

.bento {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px !important;
  padding: clamp(16px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  background-clip: padding-box !important;
  box-shadow: var(--shadow-card);
  transition: border-color .3s ease, box-shadow .3s ease;
  position: relative;
  isolation: isolate;
}
.bento--photo {
  padding: 0;
  background: var(--surface2);
  border-color: rgba(155, 48, 255, 0.2);
}
.bento-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  border-radius: inherit;
}
.bento-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border-radius: inherit;
}
.bento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.4) 60%,
    rgba(10, 10, 10, 0.2) 100%
  );
}
.bento-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 3vw, 36px);
  border-radius: inherit;
}
.bento-title--photo {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
.bento-text--photo {
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}
.bento-icon--glass {
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(155, 48, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.bento:hover {
  border-color: rgba(111,0,183,.45);
  box-shadow: 0 0 0 1px rgba(111,0,183,.10), 0 16px 48px rgba(0,0,0,.55);
}
.bento-grid .bento {
  border-radius: 18px !important;
  overflow: hidden !important;
}
.bento-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: var(--surface2);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  flex-shrink: 0;
}

/* ── КАРУСЕЛЬ ── */
.carousel-viewport {
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  gap: 12px;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.prog-card {
  flex-shrink: 0;
  min-height: 380px;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--surface2);
  transition: border-color .25s ease, transform .28s ease, box-shadow .28s ease;
  cursor: default;
  background-clip: padding-box;
}
.prog-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.15) 100%);
  pointer-events: none;
}
@media (hover: hover) {
  .prog-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,.55);
  }
}
.prog-card-body {
  position: relative;
  z-index: 2;
  padding: 20px 16px;
  text-align: left;
}
.prog-card-desc {
  font-size: clamp(.7rem, 1.6vw, .74rem);
  color: rgba(255,255,255,.68);
  line-height: 1.6;
  margin-top: 6px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.carousel-arrow:hover { background: var(--accent-dim); border-color: var(--accent-border); }
.carousel-arrow svg { color: var(--text-muted); }

/* ── ПРОМО И ЭЛЕМЕНТЫ ── */
.offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 40px;
  background: rgba(111,0,183,.22);
  border: 1px solid rgba(111,0,183,.55);
  box-shadow: 0 0 18px rgba(111,0,183,.28), inset 0 0 12px rgba(111,0,183,.10);
  max-width: 100%;
  flex-wrap: wrap;
}
.divline { width: 100%; height: 1px; background: var(--divider); border: none; flex-shrink: 0; }
.tag {
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(.63rem, 1.5vw, .68rem);
  font-weight: 600;
  color: var(--accent-light);
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(111,0,183,.30);
  border: 1px solid rgba(111,0,183,.50);
  position: relative;
  z-index: 3;
}
.badge {
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(.6rem, 1.4vw, .65rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-accent {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent-light);
}
.logo-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ── АНИМАЦИЯ ── */
/* Progressive enhancement: базовые и js-enabled состояния — в конце файла */

/* ── ШАПКА ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 60px;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease;
}
#main-nav.scrolled {
  background: rgba(10,10,10,.97);
  border-bottom-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nav-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; }
.nav-logo-text { font-weight: 900; font-size: clamp(.78rem, 2vw, .88rem); letter-spacing: .14em; color: var(--text); white-space: nowrap; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* ── СОЦИАЛЬНЫЕ ССЫЛКИ И КАРТА ── */
.soc-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  background: var(--surface2);
  border: 1px solid var(--border);
  transition: border-color .2s ease, background .2s ease;
  text-decoration: none;
  min-height: 60px;
}
.soc-link:hover { border-color: var(--accent-border); background: rgba(111,0,183,.06); }
.soc-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── ПЛАТЁЖНАЯ ПАНЕЛЬ ── */
.payment-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
}
.payment-bar img {
  height: 26px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(1) brightness(1.6);
  transition: opacity .25s ease, filter .25s ease;
  display: block;
}
.payment-bar:hover img,
.payment-bar img:hover {
  opacity: 1;
  filter: none;
}

/* ── КАРТА ── */
.map-iframe-wrap {
  min-height: 380px;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  position: relative;
  display: flex;
  flex-direction: column;
}
.map-iframe-wrap iframe {
  width: 100%;
  flex: 1;
  border: 0;
  display: block;
  min-height: 300px;
}
.map-iframe-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.3);
  pointer-events: none;
  z-index: 1;
}

/* ── ЦИФРОВОЙ ПРОДУКТ ── */
.digital-big-card {
  background: linear-gradient(135deg, rgba(111,0,183,.12) 0%, rgba(111,0,183,.04) 40%, var(--surface) 70%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-card);
  box-shadow: 0 0 0 1px rgba(111,0,183,.08), var(--shadow-card);
  padding: clamp(18px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.digital-big-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,0,183,.18) 0%, transparent 70%);
  pointer-events: none;
}
.digital-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
}
.digital-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(111,0,183,.2);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── КАРТОЧКА ГЛАВНОГО ТРЕНЕРА ── */
.vip-neon-card {
  width: 100%;
  border-radius: 20px;
  background: #0A0A0A;
  border: 1px solid rgba(155,48,255,.45);
  box-shadow:
    0 0 0 1px rgba(155,48,255,.10),
    0 0 40px rgba(155,48,255,.18),
    0 0 80px rgba(155,48,255,.08),
    0 24px 64px rgba(0,0,0,.70);
  overflow: hidden;
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 460px;
  position: relative;
  transition: box-shadow .35s ease, border-color .3s ease;
}
.vip-neon-card:hover {
  border-color: rgba(155,48,255,.70);
  box-shadow:
    0 0 0 1px rgba(155,48,255,.18),
    0 0 60px rgba(155,48,255,.28),
    0 0 120px rgba(155,48,255,.12),
    0 32px 80px rgba(0,0,0,.80);
}
.vip-neon-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(155,48,255,.6) 25%,
    rgba(155,48,255,1) 50%,
    rgba(155,48,255,.6) 75%,
    transparent 100%);
  z-index: 10;
}

.vip-photo-panel {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
}
.vip-photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Градиент убран — background: none */
.vip-photo-panel::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 100%;
  background: none;
  pointer-events: none;
}

.vip-text-panel {
  padding: clamp(22px, 4vw, 40px) clamp(18px, 4vw, 40px) clamp(22px, 4vw, 40px) clamp(14px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: rgba(10,10,10,.92);
}
.vip-text-panel::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111,0,183,.14) 0%, transparent 70%);
  pointer-events: none;
}

.vip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: clamp(.58rem, 1.3vw, .62rem);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(111,0,183,.18);
  border: 1px solid rgba(155,48,255,.40);
  margin-bottom: 18px;
  width: fit-content;
}
.vip-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 6px rgba(155,48,255,.9);
  flex-shrink: 0;
}

.vip-name {
  font-size: clamp(.78rem, 1.8vw, .82rem);
  font-weight: 500;
  color: var(--accent-light);
  letter-spacing: .06em;
  margin-top: 6px;
  margin-bottom: 8px;
}
.vip-price-block { display: flex; align-items: baseline; gap: 3px; margin-bottom: 4px; }
.vip-divider { width: 100%; height: 1px; background: rgba(155,48,255,.18); border: none; margin: 20px 0; }

.vip-achieve-item {
  display: flex;
  align-items: center;

  gap: 12px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(155,48,255,.12);
  margin-bottom: 7px;
  transition: border-color .2s ease, background .2s ease;
}
.vip-achieve-item:hover { background: rgba(111,0,183,.07); border-color: rgba(155,48,255,.25); }
.vip-achieve-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(111,0,183,.15);
  border: 1px solid rgba(155,48,255,.30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── ЦЕНЫ И СТАТИСТИКА ── */
.price-num {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 2.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--text);
}
.price-unit { font-family: 'Inter', sans-serif; font-weight: 600; font-size: clamp(.9rem, 2vw, 1.1rem); color: var(--text); }
.price-per  { font-family: 'Inter', sans-serif; font-size: clamp(.65rem, 1.5vw, .72rem); color: var(--text-faint); margin-top: 5px; }
.price-badge { font-family: 'Inter', sans-serif; font-size: clamp(.65rem, 1.5vw, .72rem); font-weight: 700; color: var(--accent); }
.stat-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(1.1rem, 4vw, 2rem);
  letter-spacing: -.03em;
  color: var(--text);
  line-height: 1;
}
.phone-text {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(.95rem, 4vw, 2rem);
  letter-spacing: -.025em;
  color: var(--text);
  line-height: 1;
  word-break: keep-all;
}

/* ── АДАПТИВНОСТЬ ── */
@media (max-width: 1024px) {
  .sec { padding-top: 72px; padding-bottom: 72px; }
}

@media (max-width: 900px) {
  .price-grid { grid-template-columns: 1fr 1fr !important; }
}

/* desktop hero grid — no inline grid-template-columns to avoid mobile flash */
#hero-cols { grid-template-columns: 1fr 290px; }
.hero-right-col { display:flex; flex-direction:column; justify-content:space-between; }

/* desktop carousel — CSS width avoids JS layout shift on load */
@media (min-width: 1024px) {
  .prog-card { flex: 0 0 calc((100% - 36px) / 4); }
}

@media (max-width: 768px) {
  .sec { padding-top: 60px; padding-bottom: 60px; }
  #hero-cols { grid-template-columns: 1fr !important; }
  .hero-right-col { display: none !important; }
  .hero-text-col { grid-column: 1 / -1 !important; }

  .vip-neon-card {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
    min-height: 480px !important;
  }
  .vip-photo-panel {
    grid-area: 1 / 1 !important;
  }
  .vip-photo-panel > div {
    display: none !important;
  }
  .vip-photo-panel img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .vip-photo-panel::after {
    display: none !important;
  }
  @keyframes coachTextIn {
    0%   { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
  }
  .vip-text-panel {
    grid-area: 1 / 1 !important;
    background: rgba(10,10,10,.75) !important;
    justify-content: flex-start !important;
    padding: 32px 20px !important;
    opacity: 0;
  }
  .visible .vip-text-panel {
    animation: coachTextIn .4s ease .7s both;
  }
  .vip-text-panel::before {
    display: none !important;
  }
  .vip-btn-full { width: 100% !important; justify-content: center !important; }

  .contact-grid  { grid-template-columns: 1fr !important; }
  .digital-big-card { grid-template-columns: 1fr !important; }
  .digital-big-card::before { display: none; }
  .bento-grid { grid-template-columns: 1fr !important; }
  .bento-grid .bento { grid-column: 1 !important; grid-row: auto !important; }
}

@media (max-width: 640px) {
  .sec { padding-top: 48px; padding-bottom: 48px; }
  #main-nav { height: 54px !important; }
  .nav-logo-text { font-size: .8rem; letter-spacing: .1em; }
  .hero-btns { flex-direction: column !important; align-items: stretch !important; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .promo-inner { padding: 32px 18px !important; }
  .price-grid { grid-template-columns: 1fr !important; }
  .split-grid { grid-template-columns: 1fr !important; }
  .phone-btn { width: 100% !important; }
  .stat-row { gap: 20px !important; flex-wrap: wrap; }
  .carousel-arrow { width: 38px; height: 38px; }
  .prog-card { min-height: 340px; }
  .vip-neon-card {
    min-height: 420px !important;
    border-radius: 16px !important;
  }
  .vip-text-panel {
    padding: 24px 18px !important;
  }
  .footer-top { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  .footer-top .btn { width: 100%; justify-content: center; }
  .footer-info { align-self: center; }
  .footer-bottom { flex-direction: column !important; gap: 12px !important; }
  /* Платёжная панель — по центру под ссылками на мобильных */
  .payment-bar { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .vip-neon-card {
    min-height: 380px !important;
    border-radius: 14px !important;
  }
  .vip-text-panel {
    padding: 20px 16px !important;
  }
}

@media (max-width: 360px) {
  .offer-pill { padding: 8px 12px; }
  .stat-row   { gap: 14px !important; }
  .hero-btns .btn { font-size: .8rem; }
}

@media (max-width: 420px) {
  .nav-secondary { display: none !important; }
  #main-nav .btn { min-height: 38px; height: 38px; padding: 0 14px; font-size: .78rem; }
}

@media (min-width: 541px) and (max-width: 767px) {
  .split-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── НИЖНЯЯ НАВИГАЦИЯ (только мобильные) ── */
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 250;
  display: none;
  align-items: center;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 16px;
  background: rgba(14, 14, 14, 0.94);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(111, 0, 183, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  max-width: calc(100vw - 20px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.bottom-nav::-webkit-scrollbar { display: none; }

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 52px;
  padding: 6px 8px;
  border-radius: 11px;
  font-family: 'Inter', sans-serif;
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
  touch-action: manipulation;
}
.bottom-nav-item svg { opacity: 0.65; transition: opacity 0.2s ease; }
.bottom-nav-item:hover,
.bottom-nav-item.is-active {
  color: var(--accent-light);
  background: var(--accent-dim);
}
.bottom-nav-item:hover svg,
.bottom-nav-item.is-active svg { opacity: 1; }
.bottom-nav-item--accent.is-active,
.bottom-nav-item--accent:hover {
  background: rgba(111, 0, 183, 0.28);
  color: #fff;
}

/* Незаметная кнопка входа в админку */
.admin-entry {
  font-size: 0.65rem !important;
  color: var(--text-faint) !important;
  opacity: 0.25;
  padding: 2px 4px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: opacity 0.2s ease;
}
.admin-entry:hover {
  opacity: 0.7;
  color: var(--text-muted) !important;
}

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
  }
  footer.site-footer {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 420px) {
  .bottom-nav-item { min-width: 46px; font-size: 0.54rem; padding: 5px 6px; }
  .bottom-nav-item span { max-width: 52px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* ══════════════════════════════════════════════════════
   Т‑ФИТ · Адаптивный редизайн Hero-секции (Pro)
══════════════════════════════════════════════════════ */

.hero-section {
  position: relative;
  padding-top: 100px;
  padding-bottom: 96px;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  overflow: hidden;
}

/* Заднее неоновое свечение */
.hero-glow-back {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(155, 48, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Контейнер видео — ширина расширена до 1100px (по ширине .wrap), как у онлайн-платформы */
.hero-video-container {
  width: 100%;
  max-width: 1100px; /* ИСПРАВЛЕНО: Было 960px, стало 1100px */
  margin: 0 auto 40px auto;
}

/* Обертка видео с пропорцией 16/9 и неоновым свечением */
.hero-video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface2) url('/uploads/images/video-placeholder.jpg') center/cover no-repeat;
  border: 1px solid rgba(155, 48, 255, 0.25);
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(155, 48, 255, 0.15);
}

.hero-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-video-wrapper video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Сетка контента */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.hero-text-col {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Типографика и элементы */
.hero-main-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-title-muted {
  color: var(--text-muted);
  font-weight: 300;
}

.hero-title-suffix {
  color: var(--accent-light);
  text-shadow: 0 0 20px rgba(155, 48, 255, 0.35);
}

.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

/* Плашка акции */
.hero-offer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(155, 48, 255, 0.08);
  border: 1px solid rgba(155, 48, 255, 0.3);
  padding: 8px 14px;
  border-radius: 40px;
  width: fit-content;
}

.hero-offer-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9B30FF;
  box-shadow: 0 0 8px #9B30FF;
}

.hero-offer-pill span {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: #d69cff;
  font-weight: 600;
}

/* Линия-разделитель под текстом — отодвигаем её от цифр статистики */
.hero-divline {
  margin-top: 48px !important;
  margin-bottom: 48px !important;
  opacity: 0.5;
}

/* Статистика */
.hero-stat-row {
  display: flex;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

/* ─── АДАПТИВНОСТЬ: ДЕСКТОП (Сплит слева) ─── */
@media (min-width: 1024px) {
  .hero-text-col {
    text-align: left;
    align-items: flex-start;
    max-width: 100%;
  }
  
  .hero-actions-row {
    justify-content: flex-start;
  }
  
  .hero-stat-row {
    justify-content: flex-start;
    gap: 48px;
  }
  
  .hero-stat-item {
    align-items: flex-start;
    text-align: left;
  }
}

/* ─── АДАПТИВНОСТЬ: МОБИЛЬНЫЕ И ПЛАНШЕТЫ (Центрирование) ─── */
@media (max-width: 1023px) {
  .hero-text-col {
    text-align: center;
    align-items: center;
    max-width: 700px;
  }
  
  .hero-main-title {
    max-width: 600px;
  }
  
  .hero-desc {
    max-width: 500px;
  }
  
  .hero-actions-row {
    justify-content: center;
    width: 100%;
  }
  
  .hero-offer-pill {
    margin: 0 auto;
  }
  
  .hero-stat-row {
    justify-content: center;
    gap: clamp(24px, 6vw, 64px);
    width: 100%;
  }
  
  .hero-stat-item {
    align-items: center;
    text-align: center;
  }
}

#preview-banner {
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #6f00b7, #9b30ff);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(111, 0, 183, 0.35);
}

body.is-preview #main-nav {
  top: 42px;
}

.fade-up {
  opacity: 1 !important;
  transform: none !important;
}
.js-enabled .fade-up {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.js-enabled .fade-up.visible,
.js-enabled .fade-up.js-fade.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}