/* Базовые настройки */
:root { 
    --primary: #3B7EBF; 
    --primary-dark: #2A5F94; 
    --primary-light: #E1EFF9; 
    --bg-color: #FDF8F9; 
    --text-dark: #333333; 
    --text-muted: #6B7A8F; 
    --white: #FFFFFF; 
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Nunito', sans-serif; scroll-behavior: smooth; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h2 { font-size: 38px; color: var(--primary); margin-bottom: 15px; font-weight: 800; letter-spacing: -0.5px; text-align: center; }
.subtitle { text-align: center; color: var(--text-muted); margin-bottom: 40px; font-size: 16px; }
.text-center { text-align: center; }

/* Шапка */
header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(15px); position: sticky; top: 0; z-index: 1000; padding: 15px 0; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: var(--primary); text-decoration: none; }
.logo-img { height: 45px; border-radius: 10px; }
.nav-links { display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 700; font-size: 15px; transition: color 0.3s; }
.nav-links a:hover { color: var(--primary); }

/* Кнопки */
.btn { background-color: var(--primary); color: var(--white); padding: 14px 30px; border-radius: 50px; text-decoration: none; font-weight: 700; border: none; cursor: pointer; transition: all 0.3s ease; display: inline-block; text-align: center; font-size: 15px; box-shadow: 0 5px 15px rgba(59, 126, 191, 0.3); }
.btn:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(59, 126, 191, 0.4); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: var(--primary); color: var(--white); }

/* Hero (Розовый фон) */
.hero { display: flex; align-items: center; padding: 80px 0 60px; gap: 50px; background-color: var(--bg-color); }
.hero-text { flex: 1.2; }
.hero h1 { font-size: 52px; color: var(--primary); line-height: 1.1; margin-bottom: 25px; font-weight: 800; }
.hero p { font-size: 19px; margin-bottom: 30px; color: var(--text-muted); }
.hero-buttons { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.badge { background: var(--white); padding: 8px 16px; border-radius: 30px; font-size: 13px; font-weight: 700; color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.04); }
.hero-image { flex: 0.8; position: relative; }
.hero-image img { width: 100%; height: 500px; object-fit: cover; border-radius: 50%; border: 15px solid rgba(255,255,255,0.5); box-shadow: 0 20px 50px rgba(59, 126, 191, 0.15); }
.floating-badge { position: absolute; bottom: 30px; left: -20px; background: #fff; padding: 15px 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); display: flex; align-items: center; gap: 10px; font-size: 14px; }

/* Плашка преимуществ */
.hero-features-bar { display: flex; justify-content: space-around; gap: 15px; flex-wrap: wrap; background: #fff; padding: 20px; border-radius: 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); font-size: 14px; font-weight: 700; color: var(--text-dark); margin-top: -30px; position: relative; z-index: 10; margin-bottom: 80px; }

/* Забота (Голубой фон с волнами) */

.features-grid { display: flex; gap: 50px; align-items: center; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); padding: 40px; border-radius: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.features-image { flex: 0 0 400px; height: 400px; border-radius: 50%; overflow: hidden; border: 10px solid #fff; }
.features-image img { width: 100%; height: 100%; object-fit: cover; }
.features-text { flex: 1; }
.features-text h2 { text-align: left; }
.features-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.feature-item h4 { color: var(--primary); margin-bottom: 5px; font-size: 18px; }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.4; }

/* Почему выбирают (Белый фон) */

.why-us-box { display: flex; gap: 40px; align-items: center; padding: 50px; border-radius: 40px; background: var(--bg-color); }
.why-us-text { flex: 1.2; }
.why-us-text h2 { text-align: left; }
.why-us-list { list-style: none; }
.why-us-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 16px; font-weight: 600; }
.why-us-list li::before { content: "✔"; position: absolute; left: 0; color: var(--primary); font-weight: bold; font-size: 18px; }
.why-us-image { flex: 0.8; height: 300px; border-radius: 30px; overflow: hidden; }
.why-us-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 10px solid #fff;}

/* Программы (Белый фон) */

.program-types { display: flex; gap: 30px; margin-bottom: 50px; }
.type-card { flex: 1; background: var(--bg-color); padding: 25px; border-radius: 25px; }
.type-card h4 { color: var(--primary-dark); margin-bottom: 10px; font-size: 18px; }
.type-card p { font-size: 15px; color: var(--text-dark); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.program-card { background: #ffffff; border-radius: 30px; padding: 25px; text-align: center; transition: all 0.3s ease; cursor: pointer; border: 2px solid #F0F0F0; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.program-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 15px 40px rgba(59, 126, 191, 0.15); }
.program-img { height: 200px; border-radius: 20px; margin-bottom: 20px; overflow: hidden; background: #FDF8F9; display: flex; justify-content: center; align-items: center; }
.program-img img { width: 100%; height: 100%; object-fit: contain; }
.program-card h3 { color: var(--primary); font-size: 22px; margin-bottom: 5px; font-weight: 800; }
.program-card p { font-size: 15px; color: var(--text-muted); margin-bottom: 15px; }
.program-card .more-link { color: var(--primary); font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px dashed var(--primary); }

/* Инструкторы (Розовый фон) */

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }







.team-info ul { list-style: none; margin-bottom: 15px; }
.team-info ul li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.team-info ul li::before { content: "•"; color: var(--primary); position: absolute; left: 0; font-weight: bold; font-size: 18px; }

/* Видео */
.video-section { padding: 80px 0; background: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.video-item { display: flex; flex-direction: column; align-items: center; }
.video-card { width: 100%; aspect-ratio: 16 / 9; border-radius: 25px; overflow: hidden; cursor: pointer; position: relative; background: #000; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-desc { text-align: center; background: #fff; color: var(--primary); font-weight: 800; font-size: 16px; padding: 15px 20px; border-radius: 15px; margin-top: 15px; width: 90%; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border: 1px solid #F0F0F0; }

/* Отзывы (Белый фон) */

.slider-wrapper { display: flex; gap: 25px; overflow-x: auto; padding-bottom: 30px; scroll-snap-type: x mandatory; }
.slider-wrapper::-webkit-scrollbar { height: 8px; }
.slider-wrapper::-webkit-scrollbar-track { background: #F0F0F0; border-radius: 10px; }
.slider-wrapper::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.review-card { flex: 0 0 350px; scroll-snap-align: start; background: var(--bg-color); padding: 30px; border-radius: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.04); border: 1px solid #F0F0F0; }
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.avatar { width: 50px; height: 50px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-weight: 800; font-size: 20px; }
.stars { color: #FFC107; font-size: 18px; margin-bottom: 15px; letter-spacing: 2px; }

/* FAQ (Голубой фон) */

.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.faq-left h2 { text-align: left; margin-bottom: 15px; }
.faq-left p { color: var(--text-muted); margin-bottom: 25px; font-size: 16px; }
.faq-img { width: 100%; height: 250px; object-fit: cover; border-radius: 25px; margin-bottom: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.faq-doc-box { background: var(--primary); color: #fff; padding: 30px; border-radius: 25px; box-shadow: 0 10px 30px rgba(59, 126, 191, 0.2); }
.faq-doc-box h4 { font-size: 20px; margin-bottom: 15px; }
.faq-doc-box p { font-size: 14px; line-height: 1.6; color: #fff !important; opacity: 1 !important; margin-bottom: 10px; }
.faq-item { background: #fff; border-radius: 20px; margin-bottom: 15px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid #F0F0F0; }
.faq-question { padding: 25px; font-weight: 800; font-size: 17px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--text-dark); transition: color 0.3s; }
.faq-question:hover { color: var(--primary); }
.faq-answer { padding: 0 25px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease; color: var(--text-muted); font-size: 15px; }
.faq-item.active .faq-answer { padding: 0 25px 25px; max-height: 300px; }
.faq-item.active .faq-question { color: var(--primary); }

/* Контакты (Белый фон) */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { text-align: left; margin-bottom: 20px; }
.contact-info > p { margin-bottom: 25px; color: var(--text-muted); }
.contact-details { margin-bottom: 30px; }
.contact-details p { margin-bottom: 12px; font-size: 16px; }
.social-row { display: flex; align-items: flex-end; gap: 25px; margin-top: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.social-icons { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.social-icon { width: 48px; height: 48px; border-radius: 50%; display: flex; justify-content: center; align-items: center; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.08); transition: transform 0.3s; text-decoration: none; }
.social-icon:hover { transform: translateY(-3px); }
.social-icon img { width: 100%; height: 100%; object-fit: cover; }
.social-icon.phone-icon { background: #3B7EBF; }
.social-icon.phone-icon svg { width: 22px; height: 22px; fill: #FFFFFF; }
.route-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; }
.route-icon { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; padding-left: 5px; box-shadow: 0 5px 15px rgba(59, 126, 191, 0.4); transition: transform 0.3s; }
.route-btn:hover .route-icon { transform: scale(1.1); }
.route-btn span { font-weight: 700; color: var(--primary); font-size: 14px; line-height: 1.2; text-align: center; }
.meta-warning { font-size: 11px; color: #999; margin-bottom: 20px; }
.map-container { border-radius: 25px; overflow: hidden; height: 250px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.map-container iframe { width: 100%; height: 100%; border: none; }
.form-box { background: var(--bg-color); padding: 40px; border-radius: 35px; box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.form-box h3 { margin-bottom: 25px; font-size: 24px; color: var(--primary); text-align: center; }
.form-group { margin-bottom: 20px; }
.form-group input { width: 100%; padding: 18px; border: 2px solid #EAEAEA; border-radius: 15px; font-size: 16px; outline: none; background: #fff; transition: all 0.3s; }
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.checkbox-group { display: flex; gap: 10px; font-size: 13px; color: var(--text-muted); margin-bottom: 25px; }
.checkbox-group input { width: 18px; height: 18px; accent-color: var(--primary); }

/* Footer (Темно-синий) */
.site-footer { background-color: #1E3A8A; color: #fff; padding: 70px 0 40px; text-align: center; position: relative; overflow: hidden; }
.footer-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.footer-logo { height: 90px; margin-bottom: 25px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.footer-desc { font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.footer-legal { font-size: 14px; margin-bottom: 5px; color: rgba(255,255,255,0.8); }
.footer-title { font-size: 18px; font-weight: 700; margin: 35px 0 20px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 30px 0; }
.footer-links li { margin-bottom: 15px; }
.footer-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 15px; transition: color 0.3s; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy { font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 5px; }
.footer-dev { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-seaweed { position: absolute; bottom: 0; height: 150px; opacity: 0.9; z-index: 1; }
.footer-seaweed.left { left: 0; }
.footer-seaweed.right { right: 0; transform: scaleX(-1); }

/* Модалки */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: none; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(5px); }
.modal-overlay.active { display: flex; }
.modal-content { background: var(--white); border-radius: 35px; padding: 40px; width: 100%; max-width: 600px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: modalIn 0.3s ease-out; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 20px; right: 20px; background: #F0F0F0; border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 20px; cursor: pointer; transition: background 0.3s; }
.modal-close:hover { background: #E0E0E0; }
.modal-content h3 { color: var(--primary); font-size: 28px; margin-bottom: 20px; }
.modal-content ul { list-style: none; margin-bottom: 30px; }
.modal-content ul li { padding-left: 25px; margin-bottom: 12px; font-size: 16px; position: relative; color: var(--text-muted); }
.modal-content ul li::before { content: "✔"; position: absolute; left: 0; color: var(--primary); font-weight: bold; }
.video-modal-content { padding: 0; background: #000; max-width: 900px; overflow: hidden; border-radius: 20px; }
.video-modal-content .modal-close { background: #fff; z-index: 10; }

/* Анимации */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Адаптивность */
@media (max-width: 992px) { 
    .hero { flex-direction: column; text-align: center; padding: 40px 0; }
    .hero h1 { font-size: 40px; }
    .hero-buttons, .hero-badges { justify-content: center; }
    .hero-image { width: 100%; }
    .features-grid, .why-us-box { flex-direction: column; padding: 30px; text-align: center; }
    .features-image, .why-us-image { flex: none; width: 100%; max-width: 350px; height: 350px; margin: 0 auto; }
    .features-text h2, .why-us-text h2 { text-align: center; }
    .features-mini-grid { text-align: left; }
    .grid-2, .contact-grid, .faq-grid { grid-template-columns: 1fr; display: flex; flex-direction: column; gap: 30px; }
    .nav-links { display: none; }
}
@media (max-width: 768px) {
    .program-types { flex-direction: column; }
    
    .team-info ul li { padding-left: 0; }
}

/* --- ИДЕАЛЬНЫЙ ВОДНЫЙ ФОН --- */
body {
    background: linear-gradient(135deg, #FDF8F9 0%, #E8F4FD 50%, #FDF8F9 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    color: var(--text-dark);
}

/* Делаем все секции и карточки эффектом "матового стекла" на фоне воды */
.features-section, .why-us-section, .programs, .team-section, .video-section, .reviews, .faq-section, .contacts {
    background: transparent !important; /* Убираем сплошные цвета */
    padding: 80px 0;
}

/* Сами карточки делаем полупрозрачными и размытыми */
.features-grid, .why-us-box, .program-card, .team-card, .review-card, .faq-item, .form-box, .hero-features-bar {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 10px 40px rgba(59, 126, 191, 0.08) !important;
    border-radius: 30px !important;
}

/* Наводим красоту для шапки */
header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

/* Стили для карточек программ, чтобы они были белее */
.program-card {
    background: rgba(255, 255, 255, 0.95) !important;
}
.program-card:hover {
    background: #ffffff !important;
    box-shadow: 0 15px 40px rgba(59, 126, 191, 0.15) !important;
    transform: translateY(-10px) !important;
}

/* Форма и синяя коробка со справками */
.form-box { background: rgba(255, 255, 255, 0.9) !important; }
.faq-doc-box { background: linear-gradient(135deg, #3B7EBF, #2A5F94) !important; border-radius: 25px; }

/* Иконка MAX */
.social-icon[title="MAX"] {
    border-radius: 50%;
}

/* Стили для новых карточек инструкторов */







.team-info ul {
    list-style: none;
    margin-bottom: 15px;
}
.team-info ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
}
.team-info ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

/* --- ИДЕАЛЬНЫЕ КАРТОЧКИ ИНСТРУКТОРОВ --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    justify-content: center;
}









/* --- ИДЕАЛЬНЫЕ КАРТОЧКИ ТРЕНЕРОВ --- */
















.team-info ul {
    list-style: none;
    margin-bottom: 0;
}

.team-info ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

.team-info ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
}

/* --- Стили для блока Преимущества центра --- */
.zones-section { padding: 80px 0; background: #fff; overflow: hidden; }
.zones-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.zones-slider::-webkit-scrollbar { height: 8px; }
.zones-slider::-webkit-scrollbar-track { background: #F0F0F0; border-radius: 10px; }
.zones-slider::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

.zone-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid #F0F0F0;
    transition: transform 0.3s;
}
.zone-card:hover { transform: translateY(-5px); }
.zone-card img { width: 100%; height: 220px; object-fit: cover; }
.zone-info { padding: 25px; }
.zone-info h4 { color: var(--primary-dark); font-size: 20px; margin-bottom: 10px; font-weight: 800; }
.zone-info p { color: var(--text-muted); font-size: 15px; line-height: 1.5; }

/* Стили для скрытой инфы тренеров */



/* Чуть уменьшим отступы в карточках, чтобы влезало больше текста */

.team-info ul { margin-bottom: 10px; }

/* --- Стили для нового блока Прайса --- */
.pricing-section {
    padding: 80px 0;
    background: #fff;
}
.pricing-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.pricing-slider::-webkit-scrollbar {
    height: 8px;
}
.pricing-slider::-webkit-scrollbar-track {
    background: #F0F0F0;
    border-radius: 10px;
}
.pricing-slider::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.price-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--bg-color);
    border-radius: 25px;
    padding: 30px 25px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #EAEAEA;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 126, 191, 0.1);
}
.price-card .label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}
.price-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}
.price-card .price {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    margin-top: auto;
}

/* --- НОВЫЙ ДИЗАЙН ИКОНОК СОЦСЕТЕЙ --- */
.social-icons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
}
.social-icon svg {
    width: 24px;
    height: 24px;
}
.social-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Индивидуальные цвета */
.max-icon {
    background: linear-gradient(135deg, #7B2CBF 0%, #3A0CA3 100%);
}
.tg-icon {
    background: #2AABEE; /* Официальный цвет TG */
}
.vk-icon {
    background: #0077FF; /* Официальный цвет VK */
}
.inst-icon {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.phone-icon {
    background: #3B7EBF; /* Фирменный синий */
}

/* --- СТИЛИ ДЛЯ КАРТОЧЕК ТРЕНЕРОВ (КАК НА ТЕЛЕФОНЕ) --- */





.team-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}
.team-info ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-muted);
}
.team-info ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 18px;
    top: -2px;
}

/* Скрытый блок с подробностями */

.extra-info.active {
    /* Высоту задает JS */
}




/* Кнопка */



/* Карточки тренеров */






/* Основные списки */
.team-info ul { list-style: none; padding: 0; margin-bottom: 15px; }
.team-info ul li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.team-info ul li::before { content: "•"; color: #3B7EBF; position: absolute; left: 0; font-weight: bold; font-size: 18px; top: -2px; }

/* Голубые блоки с подробностями */






/* Кнопка */



/* --- ИДЕАЛЬНЫЕ КАРТОЧКИ ТРЕНЕРОВ --- */





/* Кнопка на всю ширину, как на телефоне */



/* Текст */



/* Списки с голубыми точками */
.main-list, 
.main-list li, 
.main-list li::before, 

/* Скрытые блоки с серо-голубым фоном */




/* Карточки тренеров */







.main-list, 
.main-list li, 
.main-list li::before, 

/* Кнопка */



/* Скрытые блоки */




/* Адаптив для телефонов (Вертикальный вид как на скрине) */
@media (max-width: 768px) {
    
    
    
}

/* =======================================================
   ИДЕАЛЬНЫЕ КАРТОЧКИ ТРЕНЕРОВ (ФИНАЛЬНАЯ ВЕРСИЯ)
   ======================================================= */

/* Сетка */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 30px;
    align-items: start;
}

/* Карточка: фото слева, текст справа */
.team-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: row;
    gap: 25px;
    height: fit-content;
}

/* Фотография */
.team-photo {
    width: 160px;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    background: #E1EFF9;
    flex-shrink: 0; /* Запрещаем сжиматься */
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Текстовая часть */
.team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.team-info .role {
    color: #3B7EBF;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    display: block;
}

.team-info h3 {
    color: #1E3A8A;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Списки с точками */
.main-list, .extra-block ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.main-list li, .extra-block ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #6B7A8F;
    line-height: 1.5;
}

.main-list li::before, .extra-block ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background-color: #3B7EBF;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #E1EFF9;
}

/* Кнопка */
.btn-toggle-info {
    background: #F4F9FD;
    border: 1px solid #E1EFF9;
    color: #3B7EBF;
    padding: 12px 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    margin-top: auto; /* Прижимаем кнопку к низу */
    display: block;
}

.btn-toggle-info:hover {
    background: #3B7EBF;
    color: #ffffff;
    border-color: #3B7EBF;
}

/* Скрытые блоки (подробности) */
.extra-info {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.extra-block {
    background: #F7FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 15px;
    padding: 15px;
    margin-top: 15px;
}

.extra-block h4 {
    color: #3B7EBF;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 10px;
}

.extra-block ul {
    margin-bottom: 0;
}

/* Мобильная версия (фото сверху) */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-card {
        flex-direction: column;
        padding: 20px;
    }
    .team-photo {
        width: 100%;
        height: 300px;
    }
}
