/* ==========================================================================
   fa-enhance.css — візуальні ефекти головної (07.10.2026).
   Тексти, кольори (#FA500A → #6207BC) і шрифти НЕ змінюються — лише
   анімації, тіні, світіння, hover-ефекти. Відкат: прибрати <link> на цей
   файл і <script> fa-enhance.js в index.html.
   ========================================================================== */
:root {
  --fa-or: #FA500A;
  --fa-pu: #6207BC;
  --fa-grad: linear-gradient(90deg, #FA500A, #6207BC);
  --fa-glow: 0 10px 34px -8px rgba(250, 80, 10, .55), 0 6px 26px -10px rgba(98, 7, 188, .6);
}

/* ---------- 1. Смужка прогресу прокрутки ---------- */
.fa-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--fa-grad);
  transform-origin: 0 50%; transform: scaleX(0);
  z-index: 100000; pointer-events: none;
  box-shadow: 0 0 8px rgba(160, 40, 120, .6);
}

/* ---------- 2. Hero: відео — віньєтка (растр-сітку прибрано 07.10 на прохання) ---------- */
.hero .overlay {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 0%, rgba(0,0,0,.25) 60%, rgba(0,0,0,.7) 100%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.25) 45%, rgba(10,4,20,.85) 100%);
}

@media (min-width: 992px) {
  .hero video { filter: saturate(1.08) contrast(1.04); }
}
/* плавна поява контенту hero */
.hero .content > * { animation: faRise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .content > *:nth-child(2) { animation-delay: .12s; }
.hero .content > *:nth-child(3) { animation-delay: .24s; }
.hero .content > *:nth-child(4) { animation-delay: .36s; }
.hero .content > *:nth-child(5) { animation-delay: .48s; }
@keyframes faRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* заголовок hero — м'яке світіння */
.hero .content h2 { text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.hero .content h2 span { filter: drop-shadow(0 0 18px rgba(250, 80, 10, .35)); }

/* переваги-«пігулки» в hero — скло */
.hero .benefit-offer {
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.hero .benefit-offer:hover { transform: translateY(-3px); box-shadow: var(--fa-glow); }


/* ---------- 3. Кнопки: підйом, світіння, відблиск ---------- */
.hero .buttons a, .cp-btn, .cp-bottom-btn, .qs-btn, .coach-btn, .preview-btn,
.preview-bottom-btn, .gallery-more-btn, .faq-more-btn, .how-bottom-btn, .final-cta-btn,
.map-btn, .contacts-messenger-btn, .final-dd-btn, .ty-btn {
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, filter .25s ease !important;
  will-change: transform;
}
.hero .buttons a::after, .cp-btn::after, .cp-bottom-btn::after, .qs-btn::after,
.coach-btn::after, .preview-btn::after, .preview-bottom-btn::after, .gallery-more-btn::after,
.faq-more-btn::after, .how-bottom-btn::after, .final-cta-btn::after, .map-btn::after,
.final-dd-btn::after, .ty-btn::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-20deg); pointer-events: none; z-index: 1;
  transition: left .6s ease;
}
.hero .buttons a:hover::after, .cp-btn:hover::after, .cp-bottom-btn:hover::after,
.qs-btn:hover::after, .coach-btn:hover::after, .preview-btn:hover::after, .preview-bottom-btn:hover::after,
.gallery-more-btn:hover::after, .faq-more-btn:hover::after, .how-bottom-btn:hover::after,
.final-cta-btn:hover::after, .map-btn:hover::after, .final-dd-btn:hover::after, .ty-btn:hover::after { left: 130%; }

.hero .buttons a:hover, .cp-btn:hover, .cp-bottom-btn:hover, .qs-btn:hover,
.coach-btn:hover, .preview-btn:hover, .preview-bottom-btn:hover, .gallery-more-btn:hover,
.faq-more-btn:hover, .how-bottom-btn:hover, .final-cta-btn:hover, .map-btn:hover,
.contacts-messenger-btn:hover, .final-dd-btn:hover, .ty-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--fa-glow) !important;
  filter: brightness(1.08);
}
.hero .buttons a:active, .cp-btn:active, .cp-bottom-btn:active, .qs-btn:active, .coach-btn:active,
.final-cta-btn:active, .preview-btn:active { transform: translateY(0) scale(.97); }

/* головні CTA «Записатися» — ледь помітне дихання світіння */
.cp-bottom-btn, .final-cta-btn { animation: faBreath 3.2s ease-in-out infinite; }
@keyframes faBreath {
  0%,100% { box-shadow: 0 0 0 0 rgba(250, 80, 10, 0); }
  50%     { box-shadow: 0 0 26px 2px rgba(250, 80, 10, .45); }
}

/* ---------- 4. Картки: підйом + градієнтна рамка + «прожектор» за курсором ---------- */
.cp-card, .gallery-card, .preview-card, .how-card, .faq-item, .single-services-box, .contacts-item {
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
}
@media (hover: hover) {
  .cp-card:hover, .preview-card:hover, .how-card:hover, .single-services-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px -18px rgba(250, 80, 10, .45), 0 18px 40px -20px rgba(98, 7, 188, .6);
  }
  .gallery-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: var(--fa-glow); }
  .faq-item:hover, .contacts-item:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -16px rgba(250, 80, 10, .55); }
}
.fa-spot-l {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 5;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(250, 80, 10, .13), transparent 45%);
  opacity: 0; transition: opacity .3s ease;
}
.fa-spot:hover > .fa-spot-l { opacity: 1; }

/* зображення в картках — плавний zoom */
.gallery-card img, .preview-image img { transition: transform .8s cubic-bezier(.2,.7,.2,1) !important; }
.gallery-card:hover img, .preview-card:hover .preview-image img { transform: scale(1.06); }

/* ---------- 5. Заголовки секцій: переливання градієнта ---------- */
.sec-title .section-title .title span {
  background-image: linear-gradient(90deg, #FA500A 0%, #6207BC 50%, #FA500A 100%) !important;
  background-size: 200% auto !important;
  animation: faShimmer 6s linear infinite;
}
@keyframes faShimmer { to { background-position: 200% center; } }
/* лінію під заголовками прибрано 07.10 на прохання користувача */

/* ---------- 6. Поява блоків при прокрутці (клас ставить JS; без JS все видно) ---------- */
.fa-reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.fa-reveal.fa-in { opacity: 1; transform: none; }

/* ---------- 6b. Кнопки під картою (Контакти): іконки, однакова ширина, світіння ---------- */
.map-bottom {
  gap: 14px !important; padding: 18px !important;
  background: linear-gradient(180deg, rgba(20,10,30,.55), rgba(0,0,0,.75)) !important;
  border-top: 1px solid rgba(250,80,10,.25) !important;
}
.map-bottom .map-btn {
  flex: 0 1 auto; min-width: 230px; gap: 10px; white-space: nowrap;
  padding: 15px 22px !important; border-radius: 14px !important;
  font-weight: 800; letter-spacing: .2px;
}
.map-bottom .map-btn::before {
  font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 16px; line-height: 1;
  position: relative; z-index: 2;
  content: "\f124";                 /* стрілка-навігатор */
}
.map-bottom .map-btn:not(.map-btn-route)::before { content: "\f2bb"; } /* картка контакту */
.map-bottom .map-btn-route {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(250,80,10,.55) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 10px 24px -12px rgba(250,80,10,.6) !important;
}
.map-bottom .map-btn-route::before { color: #FA500A; }
.map-bottom .map-btn-route:hover { background: rgba(250,80,10,.16) !important; border-color: #FA500A !important; }
.map-bottom .map-btn:not(.map-btn-route) {
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 12px 28px -10px rgba(250,80,10,.65), 0 10px 26px -12px rgba(98,7,188,.7) !important;
}
@media (max-width: 576px) { .map-bottom .map-btn { flex-basis: auto; max-width: 340px; } }

/* ---------- 7. Плаваючі кнопки (телефон/чат) ---------- */
.fab-item { transition: transform .25s ease, box-shadow .25s ease; }
.fab-item:hover { transform: scale(1.08); box-shadow: var(--fa-glow); }

/* ---------- 8. Скролбар у фірмових кольорах (десктоп) ---------- */
@media (hover: hover) {
  html { scrollbar-color: #FA500A #0b0710; }
  ::-webkit-scrollbar { width: 10px; }
  ::-webkit-scrollbar-track { background: #0b0710; }
  ::-webkit-scrollbar-thumb { background: linear-gradient(#FA500A, #6207BC); border-radius: 10px; border: 2px solid #0b0710; }
}

/* ---------- Доступність: без анімацій для тих, хто їх вимкнув ---------- */
@media (prefers-reduced-motion: reduce) {
  .fa-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero .content > *, .cp-bottom-btn, .final-cta-btn,
  .sec-title .section-title .title span { animation: none !important; }
}

/* ---------- Hero на десктопі: центрування, опис, капсула переваг (07.10) ---------- */
@media (min-width: 992px) {
  .hero .content { justify-content: center !important; padding-top: 112px !important; padding-bottom: 110px !important; }
  .hero .content h2 { margin-top: 0 !important; margin-bottom: 22px; }
  .hero-subtext { max-width: 720px; margin: 0 auto 36px !important; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
  #heroTyped1 { font-size: 21px; font-weight: 600; color: #fff; line-height: 1.45; }
  #heroTyped2 { font-size: 17px; color: rgba(255,255,255,.72); margin-top: 8px !important; line-height: 1.5; }
  .hero .buttons { margin-bottom: 0 !important; }
  .hero-offers { margin-top: 28px !important; }
  .scroll-button.scroll-mini { bottom: 36px; }
}

/* ---------- Мобільна головна (07.10, ітерація 4) ---------- */
/* Hero: контент рівномірно по висоті екрана — заголовок нижче від шапки,
   кнопки по центру, пігулки трохи нижче; на високих телефонах без «дірки» знизу */
@media (max-width: 767px) {
  .hero { height: auto; min-height: 100vh; min-height: 100svh; }
  .hero .content {
    min-height: 100vh; min-height: 100svh; box-sizing: border-box;
    justify-content: flex-start !important;
    padding-top: 76px !important; padding-bottom: 96px !important;
  }
  /* зверху великий заголовок, по центру опис + одразу під ним кнопки, знизу пігулки */
  /* однакові проміжки: заголовок → опис → кнопки → пігулки */
  .hero .content h2 { margin: 7vh 0 0 !important; }
  .hero .content .hero-subtext { margin: auto 0 0 !important; padding-top: 24px; }
  .hero .content .buttons { margin: auto 0 0 !important; padding-top: 24px; }
  .hero .content .hero-offers { margin: 0 0 auto !important; padding-top: 22px; } /* пігулки одразу під кнопками */

  /* «Дізнатися більше» — однаковий відступ до лівої і правої круглих кнопок */
  .hero .scroll-button.scroll-mini { left: calc(50% - 7px); padding: 9px 12px; }
  .hero .scroll-button.scroll-mini .scroll-mini-text { min-width: 0; }
  .hero .scroll-button.scroll-mini .scroll-mini-arrow { margin: 0 5px; }

  /* бургер-меню трохи правіше */
  .mobile-header .burger-wrap { right: 8px; }
}

/* На сенсорних екранах (без hover) — м'який білий відблиск по кнопках періодично */
.scroll-button.scroll-mini { overflow: hidden; isolation: isolate; }
.scroll-button.scroll-mini::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-20deg); pointer-events: none; z-index: 1;
}
@media (hover: none) {
  .hero .buttons a::after, .cp-btn::after, .cp-bottom-btn::after, .qs-btn::after,
  .coach-btn::after, .preview-btn::after, .preview-bottom-btn::after, .gallery-more-btn::after,
  .faq-more-btn::after, .how-bottom-btn::after, .final-cta-btn::after, .map-btn::after,
  .final-dd-btn::after, .ty-btn::after, .scroll-button.scroll-mini::after {
    transition: none; animation: faSheen 4.5s ease-in-out infinite;
  }
  .hero .buttons a:nth-child(2)::after { animation-delay: .35s; }
  .scroll-button.scroll-mini::after { animation-delay: 1.2s; }
  .cp-card:nth-child(even) .cp-btn::after, .preview-card:nth-child(even) .preview-btn::after { animation-delay: .6s; }
}
@keyframes faSheen { 0% { left: -75%; } 28%, 100% { left: 130%; } }
/* З JS (fa-enhance.js §4): відблиск запускається, коли кнопка з'являється на екрані, по черзі */
html.fa-sheen-js .fa-sh::after { animation: none !important; }
html.fa-sheen-js .fa-sh.fa-sheen-go::after { animation: faSheenOnce .9s ease-in-out 1 !important; }
@keyframes faSheenOnce { from { left: -75%; } to { left: 130%; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-button.scroll-mini::after, .hero .buttons a::after, .cp-btn::after, .coach-btn::after { animation: none !important; }
}

/* Прелоадер: легкий логотип (8 КБ замість 124 КБ PNG) — щоб коло не було порожнім при першому заході */
.preloader .loader { background-image: url(/images/preloader-logo.webp); }

/* ---------- Пігулка «Перше тренування - безкоштовне» (Швидкий старт) ---------- */
.quick-free.fa-pill {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; padding: 10px 20px; border-radius: 999px;
  background: rgba(0,0,0,.35); border: 1px solid rgba(250,80,10,.55);
  box-shadow: 0 0 14px rgba(250,80,10,.25);
  color: #fff; font-weight: 800; font-size: 16px; line-height: 1.3;
}
@media (max-width: 767px) { .quick-free.fa-pill { font-size: 14px; padding: 8px 16px; } }

/* ---------- Плашки в картках «Оберіть свій шлях» (Ударна техніка, Боротьба…) - вигляд кнопок, без посилань ---------- */
.cp-card .cp-card-header-badge {
  position: relative; overflow: hidden; cursor: default; user-select: none;
  border-radius: 10px;
  border-top: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 22px rgba(250,80,10,.35), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(0);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.cp-card .cp-card-header-badge::after {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); pointer-events: none;
}
.cp-card .cp-card-header-badge-icon { transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .2s; }
@media (hover: hover) and (pointer: fine) {
  .cp-card .cp-card-header-badge:hover {
    transform: translateY(-3px);
    filter: brightness(1.12) saturate(1.1);
    box-shadow: 0 16px 30px rgba(250,80,10,.5), inset 0 1px 0 rgba(255,255,255,.3);
  }
  .cp-card .cp-card-header-badge:hover::after { animation: faSheenOnce .7s ease-in-out 1; }
  .cp-card .cp-card-header-badge:hover .cp-card-header-badge-icon {
    transform: scale(1.25) rotate(-12deg); background: rgba(255,255,255,.35);
  }
}
.cp-card .cp-card-header-badge:active {
  transform: translateY(3px);
  box-shadow: 0 4px 10px rgba(250,80,10,.3), inset 0 1px 0 rgba(255,255,255,.2);
  transition-duration: .08s;
}
html.fa-sheen-js .cp-card .cp-card-header-badge.fa-sheen-go::after { animation: faSheenOnce .9s ease-in-out 1; }
@media (prefers-reduced-motion: reduce) {
  .cp-card .cp-card-header-badge, .cp-card .cp-card-header-badge-icon { transition: none; }
  .cp-card .cp-card-header-badge::after { animation: none !important; }
}

/* 07.10: плавний скрол на телефонах — розмиття під картками (backdrop-filter) перераховується
   на кожному кадрі і підвисає. На сенсорних екранах лишаємо його тільки в шапці. */
@media (hover: none) and (pointer: coarse) {
  body { background-attachment: scroll !important; }
  body *:not(.mobile-header):not(.neurovia-header-area):not(.contact-fab):not(.fab-menu) {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}


/* ================================================================
   «ОБЕРІТЬ СВІЙ ШЛЯХ» (#choose-path) — акцентні ефекти, 16.10.2026
   Розмітку не чіпали. Відкат: видалити цей блок до кінця файлу.
   ================================================================ */
@property --cp-ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* фонове сяйво секції: помаранчеве зліва (MMA), фіолетове справа (BJJ) */
#choose-path .auto-container { position: relative; }
#choose-path .auto-container::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -6%; right: -6%; top: 22%; bottom: 8%;
  background:
    radial-gradient(45% 55% at 22% 50%, rgba(250, 80, 10, .22), transparent 70%),
    radial-gradient(45% 55% at 78% 50%, rgba(98, 7, 188, .28), transparent 70%);
  filter: blur(30px);
  animation: cpAura 7s ease-in-out infinite alternate;
}
#choose-path .auto-container > * { position: relative; z-index: 1; }
@keyframes cpAura { from { opacity: .65; transform: scale(.97); } to { opacity: 1; transform: scale(1.03); } }

/* заголовок — повільний перелив градієнта */
#choose-path .section-title h2.title span {
  background: linear-gradient(90deg, #fff 0%, #fff 30%, #FA500A 45%, #c2185b 55%, #6207BC 65%, #fff 80%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: cpTitleFlow 6s linear infinite;
}
@keyframes cpTitleFlow { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* картки: живе світіння у кольорі напрямку */
#choose-path .cp-grid { position: relative; gap: 30px; }
#choose-path .cp-card { isolation: isolate; }
#choose-path .cp-card-mma { box-shadow: 0 0 0 1px rgba(250,80,10,.25), 0 24px 60px -20px rgba(250, 80, 10, .55); animation: cpGlowMma 4s ease-in-out infinite; }
#choose-path .cp-card-bjj { box-shadow: 0 0 0 1px rgba(98,7,188,.3), 0 24px 60px -20px rgba(140, 40, 230, .65); animation: cpGlowBjj 4s ease-in-out infinite 2s; }
@keyframes cpGlowMma { 50% { box-shadow: 0 0 0 1px rgba(250,80,10,.45), 0 28px 80px -14px rgba(250, 80, 10, .8); } }
@keyframes cpGlowBjj { 50% { box-shadow: 0 0 0 1px rgba(140,40,230,.5), 0 28px 80px -14px rgba(140, 40, 230, .9); } }

/* рамка, що «біжить» по колу */
#choose-path .cp-card-frame {
  padding: 2px; opacity: .9;
  background: conic-gradient(from var(--cp-ang), #FA500A, #c2185b, #6207BC, rgba(255,255,255,.15) 60%, #FA500A);
  animation: cpSpin 6s linear infinite;
}
#choose-path .cp-card-bjj .cp-card-frame {
  background: conic-gradient(from var(--cp-ang), #6207BC, #a53cff, #FA500A, rgba(255,255,255,.15) 60%, #6207BC);
  animation-direction: reverse;
}
#choose-path .cp-card:hover .cp-card-frame { opacity: 1; animation-duration: 2.5s; }
@keyframes cpSpin { to { --cp-ang: 360deg; } }

/* фото — повільне «дихання» (Ken Burns) */
#choose-path .cp-card-photo { opacity: .62; animation: cpKen 14s ease-in-out infinite alternate; }
#choose-path .cp-card-bjj .cp-card-photo { animation-delay: -7s; }
@keyframes cpKen { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
#choose-path .cp-card:hover .cp-card-photo { opacity: .78; }

/* відблиск, що пробігає по картці */
#choose-path .cp-card-fade::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.13), transparent);
  transform: skewX(-18deg);
  animation: cpSweep 7s ease-in-out infinite;
}
#choose-path .cp-card-bjj .cp-card-fade::after { animation-delay: 3.5s; }
@keyframes cpSweep { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* назва — кольорове підсвічування під напрям */
#choose-path .cp-card-title { text-shadow: none !important; }
#choose-path .cp-card-mma .cp-card-title { filter: drop-shadow(0 0 14px rgba(250,80,10,.45)); }
#choose-path .cp-card-bjj .cp-card-title { filter: drop-shadow(0 0 14px rgba(165,60,255,.5)); }
#choose-path .cp-card-header-icon img { animation: cpFloat 3.6s ease-in-out infinite; }
@keyframes cpFloat { 50% { transform: translateY(-4px) rotate(-4deg); } }

/* поява карток: MMA вилітає зліва, BJJ справа (на телефоні - знизу) з розмиттям */
#choose-path .cp-card.fa-reveal {
  opacity: 0; filter: blur(10px);
  transition: opacity .9s ease, filter .9s ease, transform 1.1s cubic-bezier(.16,1,.3,1) !important;
}
#choose-path .cp-card-mma.fa-reveal { transform: translateX(-90px) rotate(-3deg) scale(.92); }
#choose-path .cp-card-bjj.fa-reveal { transform: translateX(90px) rotate(3deg) scale(.92); transition-delay: .18s !important; }
#choose-path .cp-card.fa-reveal.fa-in { opacity: 1; filter: none; transform: none; }
@media (hover: hover) {
  #choose-path .cp-card.fa-reveal.fa-in:hover { transform: translateY(-6px); transition: transform .35s cubic-bezier(.2,.7,.2,1) !important; }
}
@media (max-width: 768px) {
  #choose-path .cp-card-mma.fa-reveal, #choose-path .cp-card-bjj.fa-reveal { transform: translateY(70px) scale(.9); }
}

/* підзаголовок картки друкується по колу (js/fa-enhance.js, п. 5) */
#choose-path .cp-card-subtitle.cp-tw-on { position: relative; }
#choose-path .cp-tw-ghost { visibility: hidden; }
#choose-path .cp-tw { position: absolute; left: 20px; right: 20px; top: 8px; text-align: center; white-space: nowrap; }
#choose-path .cp-tw::after {
  content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -2px;
  background: #FA500A; box-shadow: 0 0 8px #FA500A; animation: cpCaret .8s steps(1) infinite;
}
#choose-path .cp-card-bjj .cp-tw::after { background: #a53cff; box-shadow: 0 0 8px #a53cff; }
@keyframes cpCaret { 50% { opacity: 0; } }

/* нижній блок «Не знаю що обрати» — скляна картка з градієнтною рамкою */
#choose-path .cp-bottom {
  position: relative; border-radius: 22px; padding: 28px 24px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 16px 46px rgba(0,0,0,.35);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
#choose-path .cp-bottom::before {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--cp-ang), #FA500A, #6207BC, rgba(255,255,255,.1) 55%, #FA500A);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cpSpin 8s linear infinite;
}

@media (max-width: 768px) {
  #choose-path .cp-grid { gap: 22px; }
  #choose-path .cp-card-fade::after { animation-duration: 9s; }
}

@media (prefers-reduced-motion: reduce) {
  #choose-path *, #choose-path *::before, #choose-path *::after,
  #choose-path .auto-container::before { animation: none !important; }
  #choose-path .cp-card.fa-reveal { opacity: 1 !important; filter: none !important; transform: none !important; }
  #choose-path .section-title h2.title span { background-position: 50% 0; }
}

/* 16.10.2026: сяйво #choose-path виходило за екран (-6% + scale) → сторінка ширша на телефоні, FAB/бот «пливли» */
#choose-path { overflow-x: clip; }
@media (max-width: 991px) { #choose-path .auto-container::before { left: 0; right: 0; } }

/* 18.10.2026: читабельність на телефоні - у записах візитів люди збільшували текст пальцями (у 2.8 раза).
   Основний текст 16px, дрібні підписи не менше 13px, пігулки в hero 12px замість 10px. */
@media (max-width: 767px) {
  body .hero-offers .benefit-offer { font-size: 12px !important; }
  /* 21.10.2026: фіксовані 38%/58% з index.html не вміщують текст на 12px - тексти вилазили за пігулку, галочка «виїжджала».
     Пігулки за змістом: ширина по тексту, а якщо не влазять - переносяться на наступний рядок. */
  body .hero-offers { gap: 6px !important; padding: 30px 0 0 !important; } /* 21.10: більший відступ від кнопок «MMA чи BJJ» / «Графік» */
  body .hero-offers .benefit-offer { width: auto !important; flex: 0 1 auto !important; max-width: 100% !important; padding: 8px 9px !important; gap: 5px !important; }
  /* 21.10: «Безкоштовне пробне» завжди окремим першим рядком, «Групи» і «Графік» - під ним в один ряд */
  body .hero-offers { display: grid !important; grid-template-columns: auto auto; justify-content: center; }
  body .hero-offers .benefit-offer:nth-child(1) { grid-column: 1 / -1; justify-self: center; width: auto !important; }
  /* 21.10: на вузьких телефонах (360px) «Групи» і «Графік» в один ряд не влазять - трохи менший шрифт */
  @media (max-width: 374px) { body .hero-offers .benefit-offer { font-size: 11px !important; } }
  body .hero-offers .benefit-offer .hero-check-icon { flex-shrink: 0; width: 16px !important; height: 16px !important; min-width: 16px !important; font-size: 12px !important; }
  body #choose-path .cp-card-desc, body #choose-path .cp-subtitle, body #faq p, body #faq-what-to-bring p,
  body #schedule-pricing .preview-text, body #schedule-pricing .preview-bottom-text, body #quick-links .how-bottom-text,
  body #location .contacts-subtitle, body #location .contacts-note, body #location .fa-route-sub, body .gallery-subtitle {
    font-size: 16px !important; line-height: 1.55 !important;
  }
  body #choose-path .cp-bottom-note, body #signupForm .final-cta-mini, body #coach .coach-badge, body #location span { font-size: 13px !important; }
}
