/* ===== СБРОС И БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

/* ===== ЦВЕТОВАЯ ПАЛИТРА ===== */
:root {
    /* Основные цвета */
    --color-red-primary: #9c1f1f;
    --color-red-accent: #e63946;
    --color-aqua-primary: #1c96a6;
    --color-aqua-accent: #2a9d8f;
    --color-yellow-primary: #e9c46a;
    --color-yellow-accent: #f4a261;

    /* Брендовые цвета */
    --color-brand-fitness: #2a9d8f;
    --color-brand-reactor: #dda15e;

    /* Системные цвета */
    --color-primary: var(--color-aqua-primary);
    --color-primary-hover: #166c78;
    --color-accent: var(--color-red-accent);

    /* Фоны */
    --color-bg-light: transparent;
    --color-bg-dark: #1a202c;
    --color-bg-gray: #f8f9fa;

    /* Текст */
    --color-text-primary: #1a202c;
    --color-text-secondary: #4a5568;
    --color-text-on-dark: #f7fafc;

    /* Границы и тени */
    --color-border: #e2e8f0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* Закругления */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 999px;
}

/* ===== ПАРАЛЛАКС СИСТЕМА ===== */
/* Стили перенесены в base.html */

/* ОСНОВНОЙ КОНТЕНТ */
.page-content {
    position: relative;
    z-index: 1;
    transform: translateZ(0);
    min-height: 100vh;
    background: transparent;
}

/* ===== ОСНОВНОЙ КОНТЕЙНЕР ===== */
.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

/* ===== ГЛАВНАЯ НАВИГАЦИЯ ===== */
.main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 32, 44, 0.25);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 1000;
    padding: 0.5rem 1rem;
}

.main-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.main-nav-left {
    display: flex;
    align-items: center;
}

.main-logo-link {
    display: flex;
    align-items: center;
}

.main-nav-logo {
    height: 45px;
    width: auto;
}

.main-nav-links {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.main-nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    white-space: nowrap;
}

.main-nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateY(-2px);
}

.main-nav-links a.cabinet-btn {
    background: linear-gradient(135deg, var(--color-aqua-primary), var(--color-brand-fitness));
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
    font-weight: 600;
}

.main-nav-links a.cabinet-btn:hover {
    box-shadow: 0 4px 15px rgba(28, 150, 166, 0.35);
}

/* Бургер кнопка */
.main-burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.main-burger-btn span {
    width: 100%;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.main-burger-btn.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.main-burger-btn.open span:nth-child(2) {
    opacity: 0;
}

.main-burger-btn.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Мобильное меню */
.main-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 32, 44, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1001;
    padding: 80px 2rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.main-mobile-menu.open {
    transform: translateX(0);
}

.main-mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.main-mobile-menu-content a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.main-mobile-menu-content a:hover {
    color: var(--color-aqua-primary);
    padding-left: 0.5rem;
}

.main-mobile-menu-content a.cabinet-btn {
    background: linear-gradient(135deg, var(--color-aqua-primary), var(--color-brand-fitness));
    border-radius: 50px;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    border: none;
}

.main-mobile-menu-content a.cabinet-btn:hover {
    padding-left: 1rem;
    box-shadow: 0 4px 15px rgba(28, 150, 166, 0.35);
}

/* Адаптивность */
@media (max-width: 768px) {
    .main-nav-links {
        display: none;
    }
    
    .main-burger-btn {
        display: flex;
    }
    
    .main-mobile-menu {
        display: block;
    }
    
    .main-nav-container {
        height: 55px;
    }
    
    .main-nav-logo {
        height: 40px;
    }
}

/* ===== ГЕРОЙ-СЕКЦИЯ ===== */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.main-logo {
    max-width: 500px;
    width: 90%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

.club-tagline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cta-button {
    background: linear-gradient(135deg, var(--color-red-accent), var(--color-red-primary));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* ===== СЕКЦИЯ НАПРАВЛЕНИЙ ===== */
.floating-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.floating-title {
    text-align: center;
    margin-bottom: 60px;

    /* Современные шрифты на выбор */
    font-family: 'Montserrat', 'Inter', 'Segoe UI', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    /* Яркий белый с легким синим оттенком */
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #f0f8ff 50%,
        #ffffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Эффект легкого свечения */
    text-shadow:
        0 0 1px rgba(255, 255, 255, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.3);

    /* Сильное свечение вокруг текста */
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2))
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));

    animation: premiumFloat 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;

    /* Дополнительный элемент для объема */
    position: relative;
}

.floating-title::before {
    content: attr(data-text);
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: -1;
    color: transparent;
    background: rgba(0, 0, 0, 0.2);
    -webkit-background-clip: text;
    background-clip: text;
    filter: blur(3px);
    animation: shadowFloat 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes premiumFloat {
    0%, 100% {
        transform: translateY(0) rotateX(5deg);
        filter:
            drop-shadow(0 0 10px rgba(255, 255, 255, 0.2))
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.1))
            drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
    50% {
        transform: translateY(-20px) rotateX(5deg);
        filter:
            drop-shadow(0 0 20px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 40px rgba(255, 255, 255, 0.15))
            drop-shadow(0 0 60px rgba(255, 255, 255, 0.05))
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }
}

@keyframes shadowFloat {
    0%, 100% {
        transform: translateY(2px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-13px);
        opacity: 0.7;
    }
}

/* Сетка карточек */
.glass-workout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Карточка направления */
.glass-workout-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    height: 400px;
}

.glass-workout-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.glass-workout-card.selected-workout {
    transform: translateY(-10px);
    box-shadow:
        0 0 0 3px var(--color-aqua-primary),
        0 20px 40px rgba(28, 150, 166, 0.3);
    border-color: var(--color-aqua-primary);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow:
            0 0 0 3px var(--color-aqua-primary),
            0 20px 40px rgba(28, 150, 166, 0.3);
    }
    50% {
        box-shadow:
            0 0 0 3px var(--color-aqua-primary),
            0 20px 40px rgba(28, 150, 166, 0.5),
            0 0 20px rgba(28, 150, 166, 0.4);
    }
}

/* Изображение в карточке */
.workout-image-glass {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.glass-workout-card:hover .workout-image-glass {
    transform: scale(1.1);
}

/* Стеклянная накладка с названием */
.glass-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-overlay h3 {
    color: white;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.workout-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Индикатор выбора */
.selection-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--color-aqua-primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(28, 150, 166, 0.3);
    z-index: 3;
}

.selected-workout .selection-indicator {
    opacity: 1;
    transform: scale(1);
}

/* ===== КОНТЕНТНЫЕ СЕКЦИИ (с фоном) ===== */
.content-section {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(15px);
    margin-top: 50px;
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.dark-section {
    background: transparent !important;
    color: white;
}

.light-section {
    background: rgba(248, 249, 250, 0.97) !important;
}

/* ===== СЕКЦИЯ ГАЛЕРЕИ (из gallery.css) ===== */
.advantages-gallery {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.gallery-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.gallery-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 10;
}

.gallery-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
}

/* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ ===== */

/* Контейнер для горизонтального скролла */
.benefits-scroll-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.benefits-scroll {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 2rem 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--color-aqua-primary) rgba(255, 255, 255, 0.1);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.benefits-scroll::-webkit-scrollbar {
    height: 8px;
}

.benefits-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.benefits-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(to right, var(--color-red-accent), var(--color-aqua-accent));
    border-radius: 4px;
}

/* Карточка преимущества - ФИКСИРОВАННЫЙ РАЗМЕР */
.benefit-card {
    width: 300px;
    height: 320px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 20px;
    z-index: -1;
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.25),
        0 0 0 2px var(--color-aqua-primary),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Контейнер для иконки - УМЕНЬШЕН ВДВОЕ */
.benefit-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.benefit-card:hover .benefit-icon-container {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.1);
    box-shadow:
        0 8px 25px rgba(28, 150, 166, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Сама иконка - УМЕНЬШЕНА */
.benefit-icon {
    font-size: 1.8rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Заголовок преимущества - ШРИФТ БЕЗ ЗАСЕЧЕК */
.benefit-title {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    height: 3.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Краткое описание - ФИКСИРОВАННАЯ ВЫСОТА */
.benefit-short-desc {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    height: 4.5em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Индикатор "кликабельности" */
.benefit-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.3s ease;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.benefit-card:hover .benefit-hint {
    opacity: 1;
    color: var(--color-aqua-primary);
    border-top-color: rgba(255, 255, 255, 0.2);
}

.benefit-hint svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-hint svg {
    transform: translateX(3px);
}

/* Кнопки навигации */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--color-aqua-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.benefits-scroll-container:hover .scroll-btn {
    opacity: 0.9;
}

.scroll-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--color-red-accent);
}

.scroll-btn.scroll-left {
    left: 0;
}

.scroll-btn.scroll-right {
    right: 0;
}

/* Индикатор прокрутки */
.scroll-indicator-hint {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ===== МОДАЛЬНОЕ ОКНО ПРЕИМУЩЕСТВА ===== */
.benefit-modal-content {
    max-width: 900px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.benefit-modal-content .close-modal {
    color: var(--color-red-accent);
    font-size: 2.2rem;
    top: 1.2rem;
    right: 1.5rem;
}

.benefit-modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.benefit-modal-left {
    text-align: center;
    padding: 1rem;
}

.benefit-modal-icon-lg {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    display: inline-block;
    background: rgba(28, 150, 166, 0.1);
    padding: 1.5rem;
    border-radius: 50%;
    border: 1px solid rgba(28, 150, 166, 0.2);
}

.benefit-modal-title {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.benefit-modal-description {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
    text-align: left;
}

.benefit-modal-right {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(28, 150, 166, 0.25);
    background: white;
    height: 100%;
    min-height: 350px;
}

.benefit-modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.benefit-modal-right:hover .benefit-modal-image {
    transform: scale(1.03);
}

/* Если нет изображения */
.benefit-no-image {
    height: 100%;
    min-height: 350px;
    background: linear-gradient(135deg, var(--color-aqua-primary), var(--color-brand-fitness));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

/* ===== СЕКЦИЯ КОНТАКТОВ ===== */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

#map {
    height: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-aqua-primary);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--color-red-accent);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.close-modal:hover {
    color: var(--color-red-primary);
    transform: scale(1.1);
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .floating-title {
        font-size: 2.8rem;
    }

    .glass-workout-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .benefits-scroll-container {
        padding: 0 40px;
    }

    .benefit-card {
        width: 280px;
        height: 300px;
        padding: 1.8rem;
    }

    .benefit-title {
        font-size: 1.2rem;
        height: 3.1em;
    }

    .benefit-short-desc {
        font-size: 0.9rem;
        height: 4.1em;
    }
}

@media (max-width: 768px) {
    .floating-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .glass-workout-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }

    .glass-workout-card {
        height: 350px;
    }

    .schedule-layout {
        grid-template-columns: 1fr;
    }

    .dates-column {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .date-tab {
        min-width: 80px;
        flex-shrink: 0;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nav-links {
        display: none;
    }

    .main-logo {
        max-width: 300px;
    }

    .benefits-scroll-container {
        padding: 0 20px;
    }

    .benefit-card {
        width: 240px;
        height: 260px;
        padding: 1.4rem;
    }

    .benefit-title {
        font-size: 1.1rem;
        height: 2.9em;
        margin-bottom: 1rem;
    }

    .benefit-short-desc {
        font-size: 0.85rem;
        height: 3.8em;
        margin-bottom: 1.2rem;
    }

    .benefit-hint {
        font-size: 0.85rem;
    }

    .scroll-btn {
        width: 40px;
        height: 40px;
        opacity: 0.8;
    }

    .scroll-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }

    /* Модальное окно на мобильных */
    .benefit-modal-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .benefit-modal-content {
        padding: 1.8rem;
        margin: 10% auto;
    }

    .benefit-modal-title {
        font-size: 1.7rem;
    }

    .benefit-modal-icon-lg {
        font-size: 3rem;
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .floating-title {
        font-size: 1.8rem;
    }

    .glass-workout-grid {
        grid-template-columns: 1fr;
    }

    .main-logo {
        max-width: 250px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }

    .benefits-scroll {
        gap: 20px;
        padding: 1.5rem 0.5rem;
    }

    .benefit-card {
        width: 220px;
        height: 240px;
        padding: 1.2rem;
    }

    .benefit-icon-container {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }

    .benefit-icon {
        font-size: 1.4rem;
    }

    .benefit-title {
        font-size: 1rem;
        height: 2.6em;
    }

    .benefit-short-desc {
        font-size: 0.8rem;
        height: 3.6em;
    }

    .benefit-hint {
        font-size: 0.8rem;
        gap: 6px;
    }

    .benefit-hint svg {
        width: 14px;
        height: 14px;
    }

    .scroll-indicator-hint {
        font-size: 0.85rem;
    }
}

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Цветовые классы */
.color-red { color: var(--color-red-accent); }
.color-aqua { color: var(--color-aqua-primary); }
.color-yellow { color: var(--color-yellow-accent); }
.bg-red { background-color: var(--color-red-accent); }
.bg-aqua { background-color: var(--color-aqua-primary); }
.bg-yellow { background-color: var(--color-yellow-primary); }

body,
button,
input,
select,
textarea,
.schedule-card,
.workout-card,
.subscription-card,
.benefit-card,
.modal-content,
.nav-links,
.hero-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ===== КНОПКА "КАК НАЧАТЬ" ПОД КАРТОЧКОЙ ===== */
.workout-card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
}

.start-workout-btn-card {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #1c96a6 0%, #2a9d8f 50%, #e9c46a 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(28, 150, 166, 0.5);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.start-workout-btn-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(28, 150, 166, 0.6);
}

/* Кнопка в модальном окне */
.start-workout-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #e9c46a, #f4a261);
    border: none;
    border-radius: 50px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(244, 162, 97, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.start-workout-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(244, 162, 97, 0.6);
}
}

.start-workout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 150, 166, 0.4);
}

/* ===== ШАГИ "КАК НАЧАТЬ" ===== */
.start-steps-modal-content {
    background: linear-gradient(135deg, #1c96a6 0%, #2a9d8f 50%, #e9c46a 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 2rem;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    color: white;
}

.start-steps-modal-content .close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
}

.start-steps-modal-content .close-modal:hover {
    color: #e9c46a;
}
.start-steps-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.start-step {
    display: flex;
    align-items: stretch;
    position: relative;
}

.start-step.step-left {
    flex-direction: row;
}

.start-step.step-right {
    flex-direction: row-reverse;
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step-content {
    flex: 1;
    margin: 0 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.step-title {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.8rem 1.2rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.step-description {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    padding: 1rem 1.2rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}
}

.start-step.step-right {
    flex-direction: row-reverse;
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, var(--color-aqua-primary), var(--color-brand-fitness));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(28, 150, 166, 0.3);
}

.step-content {
    flex: 1;
    margin: 0 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-title {
    background: rgba(26, 32, 44, 0.85);
    color: white;
    padding: 0.8rem 1.2rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.step-description {
    background: rgba(255, 255, 255, 0.95);
    color: #1a1a1a;
    padding: 1rem 1.2rem;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Стрелочки между шагами */
.step-arrow {
    position: absolute;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid rgba(255, 255, 255, 0.95);
    z-index: 0;
}

.start-step:last-child .step-arrow {
    display: none;
}