
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Roboto', system-ui, -apple-system, sans-serif;
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE8F0 50%, #E0F2FE 100%);
    min-height: 100vh;
}


.header {
    background: linear-gradient(105deg, #FFE4C4 0%, #FFD6E8 30%, #FFE0F0 60%, #FFD9C5 100%);
    position: relative;
    padding: 1.5rem 2rem 0 2rem;
    overflow: hidden;
    box-shadow: 0 15px 35px -12px rgba(255, 160, 120, 0.3);
}

.camp-decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decor-star {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.decor-star:nth-child(1) { top: 15%; left: 5%; animation-delay: 0s; }
.decor-star:nth-child(2) { top: 60%; right: 8%; animation-delay: 1s; font-size: 2rem; }
.decor-star:nth-child(3) { bottom: 20%; left: 12%; animation-delay: 2s; font-size: 1.5rem; }
.decor-star:nth-child(4) { top: 30%; right: 20%; animation-delay: 1.5s; font-size: 1.8rem; }
.decor-star:nth-child(5) { bottom: 40%; right: 25%; animation-delay: 2.5s; font-size: 1.3rem; }

.decor-campfire {
    position: absolute;
    bottom: 15%;
    right: 10%;
    font-size: 2.2rem;
    opacity: 0.25;
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.decor-tent {
    position: absolute;
    top: 20%;
    right: 15%;
    font-size: 2rem;
    opacity: 0.25;
    transform: rotate(-5deg);
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-wrapper { flex-shrink: 0; }

.logo-frame {
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 10px 24px rgba(255, 140, 100, 0.35);
    transition: all 0.3s ease;
}

.logo-frame:hover { transform: scale(1.02); }

.logo-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img { width: 100%; height: 100%; object-fit: cover; }

.header-text { flex: 1; text-align: center; }

.header h1 {
    font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 4.5vw, 2.4rem);
    color: #9B4B2E;
    line-height: 1.35;
    margin: 0;
}

.header-spacer { flex-shrink: 0; width: 122px; }


.nav-menu {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 1.5rem auto 0;
    padding: 0.8rem 1rem;
    background: rgba(255, 245, 235, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 4rem;
    list-style: none;
    flex-wrap: wrap;
}

.nav-list li a {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #B85C38;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.3px;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFB347, #FF8C69);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-list li a:hover { color: #E07A4A; }
.nav-list li a:hover::after { width: 100%; }
.nav-list li a.active { color: #E07A4A; }
.nav-list li a.active::after { width: 100%; }

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 45px;
}


@media (max-width: 900px) {
    .header { padding: 1.2rem 1rem 0; }
    .logo-icon { width: 80px; height: 80px; }
    .header-spacer { width: 92px; }
    .decor-star, .decor-campfire, .decor-tent { opacity: 0.15; }
    .nav-list { gap: 2.5rem; }
    .nav-list li a { font-size: 0.95rem; }
}

@media (max-width: 700px) {
    .header-container { flex-direction: column; gap: 1rem; }
    .logo-wrapper { align-self: center; }
    .header-spacer { display: none; }
    .decor-star, .decor-campfire, .decor-tent { opacity: 0.1; }
    .nav-menu { margin-top: 1rem; border-radius: 40px; }
    .nav-list { gap: 1.8rem; }
    .nav-list li a { font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .logo-icon { width: 70px; height: 70px; }
    .wave-divider svg { height: 25px; }
    .decor-star, .decor-campfire, .decor-tent { opacity: 0.08; }
    .nav-list { gap: 1rem; }
    .nav-list li a { font-size: 0.8rem; }
    .nav-menu { padding: 0.6rem 0.8rem; }
}


.main-preview {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}


.training-section {
    margin-bottom: 2rem;
    scroll-margin-top: 20px;
}

.training-content {
    display: flex;
    gap: 2rem;
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(200, 120, 80, 0.2);
    border: 1px solid rgba(255, 240, 230, 0.9);
    transition: all 0.3s ease;
    align-items: center;
}

.training-content:hover { transform: translateY(-3px); }

.training-text { flex: 1; }

.training-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    padding: 0.8rem 2rem;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 2px solid rgba(255, 200, 160, 0.5);
    border-bottom: 2px solid rgba(255, 200, 160, 0.5);
}

.stat-item { text-align: center; flex: 1; }

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E07A4A, #FFB347);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.stat-label { font-size: 0.8rem; color: #8B5A3C; font-weight: 500; margin-top: 0.3rem; }

.training-features { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.8rem; }

.training-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem;
    background: rgba(255, 235, 220, 0.5);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.training-feature:hover { background: rgba(255, 235, 220, 0.8); transform: translateX(5px); }

.feature-icon { font-size: 2rem; flex-shrink: 0; }

.training-feature h4 { font-size: 1rem; font-weight: 700; color: #B85C38; margin-bottom: 0.25rem; }

.training-feature p { font-size: 0.85rem; color: #8B5A3C; margin: 0; }

.training-btn {
    display: inline-block;
    background: linear-gradient(135deg, #F09B6A, #E07A4A);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(224, 122, 74, 0.3);
}

.training-btn:hover { transform: translateX(5px); background: linear-gradient(135deg, #E8895A, #CC693A); }

.training-video {
    flex: 0.8;
    min-width: 320px;
    max-width: 560px;
    display: flex;
    align-items: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #FFE0C4, #FFD0B0);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    background: linear-gradient(135deg, #FFB34720, #FF8C6920);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-placeholder:hover { background: linear-gradient(135deg, #FFB34740, #FF8C6940); }

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(224, 122, 74, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-placeholder:hover .play-button { transform: scale(1.1); background: #E07A4A; }

.play-button svg { margin-left: 5px; }

.video-text { text-align: center; }

.video-text span { display: block; font-size: 1rem; font-weight: 600; color: #B85C38; margin-bottom: 0.3rem; }

.video-text p { font-size: 0.85rem; color: #8B5A3C; }

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
    border-radius: 32px;
    z-index: 1;
}


.about-section {
    margin-bottom: 2rem;
    scroll-margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "📖";
    font-size: 200px;
    position: absolute;
    bottom: -60px;
    right: -60px;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(-10deg);
}

.about-section::after {
    content: "✨";
    font-size: 150px;
    position: absolute;
    top: -40px;
    left: -40px;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(15deg);
}

.about-container {
    display: flex;
    gap: 2rem;
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(200, 120, 80, 0.2);
    border: 1px solid rgba(255, 240, 230, 0.9);
    transition: all 0.3s ease;
    align-items: center;
    position: relative;
}

.about-container:hover { transform: translateY(-3px); }

.corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 180, 100, 0.4);
    pointer-events: none;
}
.corner-tl { top: 15px; left: 15px; border-right: none; border-bottom: none; }
.corner-tr { top: 15px; right: 15px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 15px; left: 15px; border-right: none; border-top: none; }
.corner-br { bottom: 15px; right: 15px; border-left: none; border-top: none; }

.about-text { flex: 1; position: relative; }

.about-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    position: relative;
}

.about-badge::before {
    content: "❄️";
    position: absolute;
    left: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
}

.about-badge::after {
    content: "❄️";
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #A5532E;
    margin-bottom: 1rem;
    line-height: 1.3;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-text h2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFB347, #FF8C69);
    border-radius: 3px;
}

.about-text h2::after {
    content: "❤️";
    position: absolute;
    bottom: -8px;
    left: 70px;
    font-size: 14px;
    opacity: 0.6;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #6B3F2A;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.about-text p:first-of-type::before {
    content: "⭐";
    position: absolute;
    left: -5px;
    top: 0;
    font-size: 12px;
    opacity: 0.5;
}

.about-text p:last-of-type::before {
    content: "🌟";
    position: absolute;
    left: -5px;
    top: 0;
    font-size: 12px;
    opacity: 0.5;
}

.about-carousel {
    flex: 0.8;
    min-width: 300px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.about-carousel::before {
    content: "🎪";
    font-size: 40px;
    position: absolute;
    top: -25px;
    left: -25px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.about-carousel::after {
    content: "🎸";
    font-size: 40px;
    position: absolute;
    bottom: -25px;
    right: -25px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 1;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 32px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
}

.carousel-container::before,
.carousel-container::after {
    content: "❄️";
    position: absolute;
    font-size: 20px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 5;
}

.carousel-container::before { top: -15px; left: -15px; }
.carousel-container::after { bottom: -15px; right: -15px; }

.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(224, 122, 74, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover { background: #E07A4A; transform: translateY(-50%) scale(1.05); }
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(200, 120, 80, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active { background: #E07A4A; width: 25px; border-radius: 10px; }
.dot:hover { background: #E07A4A; }

.floating-heart {
    position: absolute;
    font-size: 1rem;
    opacity: 0.3;
    pointer-events: none;
    animation: floatHeart 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatHeart {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.2; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.5; }
}

@media (min-width: 901px) {
    .about-container::before {
        content: "";
        position: absolute;
        left: 50%;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(to bottom, transparent, rgba(255, 180, 100, 0.3), transparent);
        transform: translateX(-50%);
        pointer-events: none;
    }
}


.courses-section {
    margin-bottom: 2rem;
    scroll-margin-top: 20px;
}

.courses-container {
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(200, 120, 80, 0.2);
    border: 1px solid rgba(255, 240, 230, 0.9);
    transition: all 0.3s ease;
}

.courses-container:hover { transform: translateY(-3px); }

.courses-header { text-align: center; margin-bottom: 2rem; }

.courses-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.courses-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #A5532E;
    margin-bottom: 0.8rem;
}

.courses-header p {
    font-size: 1rem;
    color: #8B5A3C;
    max-width: 700px;
    margin: 0 auto;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.course-card {
    background: rgba(255, 240, 230, 0.5);
    border-radius: 32px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.course-card:hover { transform: translateY(-5px); background: rgba(255, 240, 230, 0.8); }

.course-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.course-card h3 { font-size: 1.2rem; font-weight: 700; color: #B85C38; margin-bottom: 0.5rem; }

.course-card p { font-size: 0.9rem; color: #8B5A3C; line-height: 1.5; }

.courses-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 0;
    padding: 1.5rem;
    background: rgba(255, 235, 220, 0.5);
    border-radius: 32px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.info-block span { font-size: 1.8rem; }

.info-block strong { display: block; font-size: 0.9rem; font-weight: 700; color: #B85C38; margin-bottom: 0.3rem; }

.info-block p { font-size: 0.85rem; color: #8B5A3C; }


.teachers-section {
    margin-bottom: 2rem;
    scroll-margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.teachers-section::before {
    content: "🎓";
    font-size: 180px;
    position: absolute;
    bottom: -50px;
    left: -50px;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(-15deg);
}

.teachers-section::after {
    content: "⭐";
    font-size: 150px;
    position: absolute;
    top: -30px;
    right: -30px;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(10deg);
}

.teachers-container {
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(200, 120, 80, 0.2);
    border: 1px solid rgba(255, 240, 230, 0.9);
    transition: all 0.3s ease;
}

.teachers-container:hover { transform: translateY(-3px); }

.teachers-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.teachers-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.teachers-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #A5532E;
    margin-bottom: 0.8rem;
}

.teachers-header p {
    font-size: 1rem;
    color: #8B5A3C;
    max-width: 700px;
    margin: 0 auto;
}

.teachers-header::before,
.teachers-header::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #FFB347, #FF8C69);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.teachers-header::before { width: 80px; bottom: -15px; }
.teachers-header::after { width: 40px; bottom: -21px; }

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
}

.teacher-card {
    background: rgba(255, 240, 230, 0.5);
    border-radius: 32px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.teacher-card::before {
    content: "✨";
    font-size: 60px;
    position: absolute;
    top: -20px;
    right: -20px;
    opacity: 0.1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.teacher-card:hover::before { opacity: 0.2; transform: rotate(10deg) scale(1.1); }

.teacher-card:hover { transform: translateY(-5px); background: rgba(255, 240, 230, 0.8); }

.teacher-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #FFD0B0, #FFE0C4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(200, 120, 80, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.teacher-photo::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-photo::after { opacity: 0.5; }
.teacher-card:hover .teacher-photo { transform: scale(1.02); box-shadow: 0 12px 28px rgba(200, 120, 80, 0.3); }

.teacher-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.teacher-card h3 { font-size: 1rem; font-weight: 700; color: #B85C38; margin-bottom: 0.3rem; line-height: 1.3; }

.teacher-position {
    font-size: 0.75rem;
    font-weight: 600;
    color: #E07A4A;
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 200, 160, 0.5);
    display: inline-block;
}

.teacher-card p { font-size: 0.8rem; color: #8B5A3C; line-height: 1.4; margin-bottom: 0; }

/* ===== СЕКЦИЯ "КОНТАКТЫ" ===== */
.contacts-section {
    margin-bottom: 2rem;
    scroll-margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.contacts-section::before {
    content: "📞";
    font-size: 180px;
    position: absolute;
    bottom: -50px;
    right: -50px;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(-10deg);
}

.contacts-section::after {
    content: "💬";
    font-size: 150px;
    position: absolute;
    top: -40px;
    left: -40px;
    opacity: 0.05;
    pointer-events: none;
    transform: rotate(15deg);
}

.contacts-container {
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(200, 120, 80, 0.2);
    border: 1px solid rgba(255, 240, 230, 0.9);
    transition: all 0.3s ease;
}

.contacts-container:hover {
    transform: translateY(-3px);
}

.contacts-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.contacts-header::before,
.contacts-header::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #FFB347, #FF8C69);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.contacts-header::before { width: 80px; bottom: -15px; }
.contacts-header::after { width: 40px; bottom: -21px; }

.contacts-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.contacts-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #A5532E;
    margin-bottom: 0.8rem;
}

.contacts-header p {
    font-size: 1rem;
    color: #8B5A3C;
    max-width: 700px;
    margin: 0 auto;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 0;
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 240, 230, 0.5);
    border-radius: 24px;
    padding: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 200, 160, 0.3);
}

.contact-card:hover {
    background: rgba(255, 240, 230, 0.8);
    transform: translateX(8px);
    border-color: rgba(255, 180, 100, 0.6);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(224, 122, 74, 0.3);
}

.contact-details h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #B85C38;
    margin-bottom: 0.3rem;
}

.contact-details p {
    font-size: 0.85rem;
    color: #8B5A3C;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.3rem;
    flex-wrap: wrap;
}

.social-link {
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(224, 122, 74, 0.4);
}

.contacts-map {
    background: rgba(255, 240, 230, 0.5);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 200, 160, 0.3);
    transition: all 0.3s ease;
}

.contacts-map:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 25px rgba(200, 120, 80, 0.15);
}

.map-container {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-caption {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: #E07A4A;
    padding: 1rem;
    background: rgba(255, 240, 230, 0.9);
    border-top: 1px solid rgba(255, 200, 160, 0.3);
}

.map-caption strong {
    color: #B85C38;
    font-size: 0.9rem;
}

/* Адаптивность для контактов */
@media (max-width: 800px) {
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .map-container {
        height: 350px;
    }
    
    .contacts-header h2 {
        font-size: 1.4rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}

@media (max-width: 500px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .map-container {
        height: 280px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .map-caption {
        font-size: 0.7rem;
        padding: 0.7rem;
    }
}

.header-auth {
    flex-shrink: 0;
    margin-left: auto;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    color: white;
    padding: 8px 16px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(224, 122, 74, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(224, 122, 74, 0.4);
    background: linear-gradient(135deg, #E8895A, #CC693A);
}

.auth-icon {
    font-size: 1.1rem;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #FFF8F0, #FFEFE5);
    border-radius: 48px;
    padding: 2rem;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
    border: 1px solid rgba(255, 200, 160, 0.6);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    color: #B85C38;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    color: #E07A4A;
    transform: scale(1.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.modal-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #A5532E;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.login-btn {
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    color: white;
    box-shadow: 0 4px 12px rgba(224, 122, 74, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(224, 122, 74, 0.4);
    background: linear-gradient(135deg, #E8895A, #CC693A);
}

.register-btn {
    background: rgba(255, 240, 230, 0.9);
    color: #B85C38;
    border: 1px solid #FFCFA8;
}

.register-btn:hover {
    background: rgba(255, 240, 230, 1);
    transform: translateY(-2px);
}

.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 200, 160, 0.5);
}

.modal-footer p {
    font-size: 0.8rem;
    color: #8B5A3C;
}

/* Адаптивность для кнопки */
@media (max-width: 700px) {
    .auth-btn .auth-text {
        display: none;
    }
    
    .auth-btn {
        padding: 8px 12px;
    }
    
    .auth-icon {
        font-size: 1.2rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 1.5rem;

.training-page {
    margin-bottom: 2rem;
    scroll-margin-top: 20px;
}

.training-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(200, 120, 80, 0.2);
}

.training-video-block {
    flex: 2;
    min-width: 300px;
}

.training-video-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #A5532E;
    margin-bottom: 1rem;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #FFE0C4, #FFD0B0);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    background: linear-gradient(135deg, #FFB34720, #FF8C6920);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #FFB34740, #FF8C6940);
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(224, 122, 74, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-text {
    text-align: center;
}

.video-text span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #B85C38;
}

.video-text p {
    font-size: 0.85rem;
    color: #8B5A3C;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.training-rutube-btn {
    display: inline-block;
    background: linear-gradient(135deg, #F09B6A, #E07A4A);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

.training-rutube-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #E8895A, #CC693A);
}

.training-program {
    flex: 1;
    min-width: 280px;
}

.training-program h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #A5532E;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 200, 160, 0.5);
}

.lesson-list {
    list-style: none;
}

.lesson-list li {
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 240, 230, 0.5);
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #8B5A3C;
    font-weight: 500;
}

.lesson-list li:hover {
    background: rgba(255, 240, 230, 0.9);
    transform: translateX(5px);
}

.lesson-list li.active {
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    color: white;
}

@media (max-width: 800px) {
    .training-container {
        flex-direction: column;
    }
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.accordion-item {
    background: rgba(255, 240, 230, 0.5);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: #B85C38;
    background: rgba(255, 245, 235, 0.6);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 235, 220, 0.9);
}

.accordion-icon {
    font-size: 1.2rem;
}

.accordion-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(255, 250, 245, 0.4);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.lesson-list {
    list-style: none;
    padding: 0.5rem 0;
}

.lesson-list li {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    margin: 0.2rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: #8B5A3C;
    border-radius: 30px;
    position: relative;
}

.lesson-list li:hover {
    background: rgba(255, 200, 160, 0.4);
    transform: translateX(5px);
}

.lesson-list li.active {
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    color: white;
}

.lesson-list li::before {
    content: "🎬";
    position: absolute;
    left: 10px;
    opacity: 0.6;
}

.lesson-list li.active::before {
    opacity: 1;
}

.training-page {
    margin-bottom: 2rem;
}

.training-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 250, 245, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    padding: 2rem;
    box-shadow: 0 20px 40px -15px rgba(200, 120, 80, 0.2);
}

.training-video-block {
    flex: 2;
    min-width: 300px;
}

.training-video-block h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #A5532E;
    margin-bottom: 1rem;
    text-align: center;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #FFE0C4, #FFD0B0);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    cursor: pointer;
    background: linear-gradient(135deg, #FFB34720, #FF8C6920);
    transition: all 0.3s ease;
    z-index: 2;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #FFB34740, #FF8C6940);
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(224, 122, 74, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.video-text {
    text-align: center;
}

.video-text span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #B85C38;
}

.video-text p {
    font-size: 0.85rem;
    color: #8B5A3C;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.training-rutube-btn {
    display: inline-block;
    background: linear-gradient(135deg, #F09B6A, #E07A4A);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    margin-top: 1rem;
    width: 100%;
}

.training-rutube-btn:hover {
    transform: translateY(-3px);
}

.training-program {
    flex: 1;
    min-width: 280px;
}

.training-program h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #A5532E;
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 200, 160, 0.5);
}


.accordion {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.accordion-item {
    background: rgba(255, 240, 230, 0.5);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    cursor: pointer;
    font-weight: 600;
    color: #B85C38;
    background: rgba(255, 245, 235, 0.6);
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(255, 235, 220, 0.9);
}

.accordion-icon {
    font-size: 1.2rem;
}

.accordion-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(255, 250, 245, 0.4);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.lesson-list {
    list-style: none;
    padding: 0.5rem 0;
}

.lesson-list li {
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    margin: 0.2rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    color: #8B5A3C;
    border-radius: 30px;
    position: relative;
}

.lesson-list li:hover {
    background: rgba(255, 200, 160, 0.4);
    transform: translateX(5px);
}

.lesson-list li.active {
    background: linear-gradient(135deg, #FFB347, #FF8C69);
    color: white;
}

.lesson-list li::before {
    content: "🎬";
    position: absolute;
    left: 10px;
    opacity: 0.6;
}

.lesson-list li.active::before {
    opacity: 1;
}

@media (max-width: 800px) {
    .training-container {
        flex-direction: column;
    }
}

.training-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    display: block;
}