:root {
    /* Основные акценты */
    --accent: #8b253b;
    --accent-hover: #631625;
    --dark: #2c181b;
    
    /* Фоны */
    --bg-warm: #fdfaf9;
    --card-bg: #ffffff;
    --text-secondary: #6e5558;
    
    /* Дополнительный нежный тон */
    --warm-light: #f7eded;
}

/* Общие настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-warm);
    color: var(--dark);
}

/* Навигация */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--dark);
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Главный экран */
.hero-split {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 20px 80px;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(253, 250, 249, 0.98) 0%,
            rgba(253, 250, 249, 0.94) 45%,
            rgba(253, 250, 249, 0.78) 100%
        ),
        url("images/10372.jpg") center / cover no-repeat;
}

.hero-split::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px dashed rgba(220, 174, 91, 0.25); 
    border-radius: 50%;
    top: -10%;
    left: -10%;
    z-index: 0;
    pointer-events: none;
}

.hero-split-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    z-index: 1;
}

.hero-image-box {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-circle-decor {
    position: absolute;
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(220, 174, 91, 0.25) 0%, rgba(252, 249, 242, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-box img {
    width: 100%;
    max-width: 500px;
    height: 70vh;
    border-radius: 30px;
    box-shadow: 0 25px 55px rgba(74, 44, 64, 0.15), 
                0 5px 15px rgba(0, 0, 0, 0.05);
    object-fit: cover;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-image-box img:hover {
    transform: translateY(-10px) scale(1.02);
}

.hero-text-box {
    flex: 1;
}

.hero-badge {
    display: inline-block;
    background-color: var(--dark);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(58, 44, 40, 0.15); 
}

.hero-badge i {
    color: var(--accent);
    margin-right: 5px;
}

.hero-text-box h1 {
    font-size: 56px;
    color: var(--dark);
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--dark), var(--accent));
    border-radius: 2px;
    margin-bottom: 25px;
}

.hero-lead {
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 25px rgba(220, 174, 91, 0.25);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 174, 91, 0.35);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--dark); 
    color: var(--dark) !important;  
}

.btn-outline:hover {
    background-color: var(--dark); 
    color: white !important;
    transform: translateY(-3px);
}

.btn-primary:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    background: #dcd7cf !important;
    color: #8a8279 !important;
    box-shadow: none !important;
}

/* Секции общие */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 50px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    margin: 10px auto 0;
}

/* О тренере */
.about-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(58, 46, 40, 0.04);
}

.about-text h3 {
    font-size: 28px;
    color: var(--dark);
}

.subtitle {
    color: var(--accent-hover);
    font-weight: 600;
    margin: 10px 0 20px;
}

.about-text p {
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Достижения */
.achievements {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 0;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 5px 20px rgba(58, 46, 40, 0.04);
    border-top: 4px solid var(--accent);
}

.card i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 15px;
}

.card h3 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 5px;
    font-weight: 800;
}

.card p {
    color: var(--text-secondary);
}

/* Группы */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.group-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(58, 46, 40, 0.04);
    border: 1px solid rgba(220, 174, 91, 0.15);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(58, 46, 40, 0.08);
}

.group-card.featured {
    border: 2px solid var(--accent);
    background: radial-gradient(circle at 100% 0%, #fefcf7 0%, #ffffff 100%);
}

.group-badge {
    display: inline-block;
    background-color: rgba(220, 174, 91, 0.15);
    color: var(--accent-hover);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.group-card.featured .group-badge {
    background-color: var(--accent);
    color: #ffffff;
}

.group-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 15px;
}

.group-desc {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.group-features {
    list-style: none;
    border-top: 1px solid #e6ded5;
    padding-top: 20px;
}

.group-features li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.group-features li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 14px;
}

/* Цены */
.pricing {
    background-color: var(--warm-light);
    max-width: 100% !important;
    padding: 100px 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(58, 46, 40, 0.04);
    border: 1px solid rgba(220, 174, 91, 0.15);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(58, 46, 40, 0.08);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    background: radial-gradient(circle at 100% 0%, #fefcf7 0%, #ffffff 100%);
}

.pricing-card h3 {
    font-size: 22px;
    color: var(--dark);
    margin-bottom: 10px;
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 5px;
}

.pricing-note {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.pricing-card ul li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.pricing-card ul li i {
    color: var(--accent);
    margin-right: 10px;
    font-size: 14px;
}

/* Галерея */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--accent);
    color: var(--dark);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(58, 46, 40, 0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 46, 40, 0.75); 
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay span {
    color: white;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Лайтбокс */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 20, 18, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-lightbox:hover {
    color: var(--accent);
}

/* Отзывы */
.reviews {
    background-color: #f7f3ea;
    max-width: 100% !important;
    padding: 100px 20px;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.review-box {
    background: #ffffff;
    flex: 1;
    min-width: 300px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(58, 46, 40, 0.03);
    position: relative;
}

.review-box::before {
    content: '“';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 80px;
    color: rgba(220, 174, 91, 0.18); 
    font-family: Georgia, serif;
    line-height: 1;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 16px;
}

.review-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 25px;
}

.review-author h4 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 3px;
}

.review-author span {
    font-size: 14px;
    color: #a0938f;
}

/* FAQ */
.faq {
    background-color: var(--bg-warm);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(58, 46, 40, 0.04);
    border-left: 4px solid var(--accent);
}

.faq-item h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 12px;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
    max-width: 100% !important;
}

.cta h2 {
    color: #ffffff;
    margin-bottom: 15px;
}

.cta h2::after {
    display: none;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta .btn-primary {
    background: #ffffff !important;
    color: var(--accent) !important;
}

.cta .btn-primary:hover {
    background: #f7f7f7 !important;
    color: var(--accent-hover) !important;
}

/* Контакты */
.contact-container {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-form {
    flex: 2;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #e6ded5;
    border-radius: 8px;
    font-size: 16px;
    background-color: white;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form textarea {
    height: 120px;
    resize: none;
}

.contact-info {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info p {
    font-size: 18px;
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--accent);
    margin-right: 10px;
}

.socials {
    display: flex;
    gap: 15px;
}

.socials a {
    font-size: 24px;
    color: var(--dark);
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--accent);
}

.contact-map {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(58, 46, 40, 0.06);
}

/* Чекбокс и кнопка */
.form-consent-row {
    margin: 5px 0 15px 0;
    text-align: left;
}

.contact-form .consent-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px;
    font-size: 13px;
    font-weight: 400 !important;
    color: var(--text-secondary);
    line-height: 1.45;
    cursor: pointer;
}

.contact-form .consent-label input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 3px 0 0 0 !important;
    flex-shrink: 0 !important;
    cursor: pointer;
    padding: 0 !important;
}

.consent-label span,
.consent-link {
    font-weight: 400 !important;
}

.consent-link {
    color: var(--accent-hover);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.consent-link:hover {
    color: var(--dark);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    border: none;
    border-radius: 100px;
    background: var(--accent);
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(202, 158, 90, 0.2);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
    background: var(--accent-hover);
    box-shadow: 0 10px 24px rgba(202, 158, 90, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    background: #dcd7cf !important; 
    color: #8a8279 !important;
    box-shadow: none !important;
}

/* Модальные окна */
.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal[hidden] {
    display: none !important;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(58, 46, 43, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(5a, 4c, 40, 0.15);
    z-index: 1;
}

.modal-content h2 {
    font-size: 24px;
    color: var(--dark);
    margin: 0 0 20px 0;
}

.modal-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--accent-hover);
}

/* Футер */
footer {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--dark);
}

footer p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 950px) {
    .hero-split {
        padding-top: 120px;
    }
    .hero-split-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-image-box img {
        max-width: 380px;
        height: 50vh;
    }
    .hero-line {
        margin: 0 auto 25px auto;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-text-box h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .navbar { 
        flex-direction: column; 
        gap: 15px; 
    }
    .nav-links { 
        padding: 0; 
    }
    .contact-container { 
        flex-direction: column; 
    }
    .reviews-container {
        flex-direction: column;
    }
    .group-card {
        padding: 25px 20px;
    }
}

/* ===== СЛАЙДЕР НА ПЕРВОМ ЭКРАНЕ ===== */

/* Контейнер слайдера */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 70vh;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(74, 44, 64, 0.15), 
                0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Отдельный слайд */
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Кнопки навигации */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: #ffffff;
    font-size: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 15px;
}

.slider-btn.next {
    right: 15px;
}

/* Точки-индикаторы */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Адаптив для слайдера */
@media (max-width: 950px) {
    .hero-slider {
        max-width: 380px;
        height: 50vh;
    }
    
    .slider-btn {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .slider-btn.prev {
        left: 10px;
    }
    
    .slider-btn.next {
        right: 10px;
    }
}

@media (max-width: 768px) {
    .slider-dots {
        bottom: 12px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}