        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .visually-hidden {
            position: absolute;
            width: 1px; height: 1px;
            padding: 0; margin: -1px;
            overflow: hidden;
            clip: rect(0,0,0,0);
            white-space: nowrap;
            border: 0;
        }

        body {
            font-family: 'Nunito', sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
            min-height: 100vh;
            padding-top: 70px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        h1, h2, h3, .logo {
            font-family: 'Bubblegum Sans', cursive;
        }

        /* Header */
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem 0;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #6B9B6B;
            display: flex;
            align-items: center;
        }

        .logo::before {
            content: "";
            width: 32px;
            height: 32px;
            background: url('../img/sova.png') no-repeat center;
            background-size: contain;
            margin-right: 0.5rem;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #6B9B6B;
        }

        .burger {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
        }

        .burger span {
            width: 26px;
            height: 3px;
            background: #6B9B6B;
            border-radius: 3px;
            transition: transform 0.25s ease, opacity 0.25s ease;
        }

        .burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
        .burger.open span:nth-child(2) { opacity: 0; }
        .burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

        /* Hero Section */
        .hero {
            background-color: white;
            background-image: url('../img/banner.jpg');
            background-position: center center;
            background-size: cover;
            background-repeat: no-repeat;
            color: #2d5a2d;
            padding: 120px 0 150px;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 600px;
            display: flex;
            align-items: flex-end;
        }

        .buttons-section {
            background: white;
            padding: 40px 0;
            text-align: center;
        }

        .cta-button {
            background: #D4A5A5;
            color: white;
            padding: 15px 40px;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin: 10px;
            box-shadow: 0 4px 15px rgba(212, 165, 165, 0.3);
        }

        .cta-button:hover {
            background: #C89999;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(212, 165, 165, 0.4);
        }

        .cta-button.secondary {
            background: transparent;
            border: 2px solid #6B9B6B;
            color: #6B9B6B;
        }

        .cta-button.secondary:hover {
            background: #6B9B6B;
            color: white;
        }

        /* Enrollment Announcement Section */
        .enrollment-announcement {
            padding: 20px 0;
            background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
            text-align: center;
        }

        .enrollment-announcement h2 {
            font-family: 'Bubblegum Sans', cursive;
            font-size: 2.2rem;
            color: #2d5a2d;
            margin-bottom: 1rem;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
        }

        /* Programs Section */
        .programs {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f5f0 0%, #f0ede8 100%);
        }

        .programs h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #333;
        }

        .programs-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            align-items: stretch;
        }

        .program-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
            min-height: 450px;
        }

        .program-card:hover {
            transform: translateY(-5px);
        }

        .program-card img {
            width: 64px;
            height: 64px;
            object-fit: contain;
            margin-bottom: 1rem;
            align-self: center;
        }

        .program-card h3 {
            color: #6B9B6B;
            margin-bottom: 1rem;
            font-size: 1.4rem;
            font-weight: 600;
            text-align: center;
            min-height: 3rem;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .program-card .age {
            background: #D4A5A5;
            color: white;
            padding: 0.3rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            display: inline-block;
            margin-bottom: 1rem;
            text-align: center;
            align-self: center;
        }

        .program-card p {
            margin-bottom: 1rem;
            text-align: center;
            flex-grow: 1;
            min-height: 2.5rem;
        }

        .program-card ul {
            text-align: left;
            margin-top: auto;
            padding-left: 1.2rem;
            margin-bottom: 1rem;
        }

        .program-card li {
            margin-bottom: 0.5rem;
            line-height: 1.4;
        }

        .program-card .price {
            font-size: 1.4rem;
            font-weight: 700;
            color: #D4A5A5;
            text-align: center;
            margin-top: auto;
            padding-top: 1rem;
            border-top: 1px solid #f0f0f0;
        }

        /* Features Section */
        .features {
            padding: 80px 0;
            background: white;
        }

        .features h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #333;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .feature-card {
            background: white;
            padding: 2rem;
            border-radius: 20px;
            text-align: center;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            width: 64px;
            height: 64px;
            margin: 0 auto 1rem auto;
            display: block;
        }

        .feature-card h3 {
            color: #333;
            margin-bottom: 1rem;
            font-size: 1.3rem;
        }

        /* Gallery Section */
        .gallery {
            padding: 80px 0;
            background: white;
        }

        .gallery h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #333;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
        }

        .gallery-grid img {
            width: 100%;
            border-radius: 10px;
            transition: transform 0.3s ease;
            cursor: pointer;
        }

        .gallery-grid img:hover {
            transform: scale(1.05);
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1001;
            padding-top: 60px;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0,0,0,0.9);
        }

        .modal-content {
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 80vh;
            border-radius: 10px;
        }

        #caption { display: none; }

        .close {
            position: absolute;
            top: 20px;
            right: 35px;
            color: #f1f1f1;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
        }

        /* Why Choose Us */
        .why-us {
            padding: 80px 0;
            background: linear-gradient(135deg, #f8f5f0 0%, #f0ede8 100%);
        }

        .why-us h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #333;
        }

        .benefits-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .benefit-item {
            display: flex;
            align-items: center;
            padding: 1rem;
            background: #e8f5e8;
            border-radius: 15px;
            transition: transform 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .benefit-item:hover { transform: translateX(5px); }

        .benefit-icon {
            font-size: 2rem;
            margin-right: 1rem;
        }

        /* FAQ */
        .faq {
            padding: 80px 0;
            background: white;
        }

        .faq h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #333;
        }

        .faq-list {
            max-width: 800px;
            margin: 0 auto;
        }

        .faq-item {
            background: #f8faf8;
            border: 1px solid #e8f0e8;
            border-radius: 15px;
            margin-bottom: 1rem;
            overflow: hidden;
        }

        .faq-question {
            width: 100%;
            text-align: left;
            background: none;
            border: none;
            padding: 1.2rem 1.5rem;
            font-family: 'Nunito', sans-serif;
            font-size: 1.05rem;
            font-weight: 600;
            color: #333;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        .faq-question .plus {
            font-size: 1.4rem;
            color: #6B9B6B;
            transition: transform 0.25s ease;
            flex-shrink: 0;
        }

        .faq-item.open .faq-question .plus { transform: rotate(45deg); }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            padding: 0 1.5rem;
        }

        .faq-item.open .faq-answer {
            max-height: 300px;
            padding: 0 1.5rem 1.2rem;
        }

        .faq-answer p { color: #555; line-height: 1.6; }

        /* Footer */
        footer {
            background: #333;
            color: white;
            padding: 40px 0;
            text-align: center;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
            align-items: start;
        }

        .footer-section { text-align: left; }

        .footer-section h3 {
            margin-bottom: 1rem;
            color: #6B9B6B;
        }

        .footer-section p, .footer-section a {
            color: #ccc;
            text-decoration: none;
            line-height: 1.8;
        }

        .footer-section a:hover { color: #6B9B6B; }

        .map-container { margin-top: 1rem; }

        .map-container iframe {
            width: 100%;
            height: 200px;
            border: none;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Games */
        .games {
            padding: 60px 0;
            background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
        }

        .games h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 2rem;
            color: #333;
        }

        .game-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            padding: 1rem 0;
        }

        .game-card {
            background: white;
            border-radius: 15px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            text-decoration: none;
            color: inherit;
        }

        .game-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        }

        .game-preview {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background: #eee;
        }

        .game-content { padding: 1rem; }

        .game-content h3 {
            font-family: 'Nunito', sans-serif;
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
            color: #6B9B6B;
            min-height: 2.2rem;
        }

        .game-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 0.5rem;
        }

        .game-tag {
            background: #D4A5A5;
            color: white;
            padding: 0.2rem 0.6rem;
            border-radius: 5px;
            font-size: 0.75rem;
            font-weight: 600;
        }

        .carousel-nav { display: none !important; }

        dialog {
            border: none;
            border-radius: 15px;
            padding: 0;
            max-width: 95vw;
            width: 95vw;
            max-height: 95vh;
            height: 95vh;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            margin: auto;
        }

        dialog::backdrop { background: rgba(0, 0, 0, 0.9); }

        .dialog-content {
            display: flex;
            flex-direction: column;
            width: 100%;
            height: 100%;
        }

        .game-iframe {
            width: 100%;
            flex-grow: 1;
            border: none;
            background: #f0f0f0;
        }

        .dialog-header {
            display: flex;
            justify-content: flex-end;
            padding: 0.5rem 0.5rem 0 0.5rem;
            background: #6B9B6B;
        }

        .close-dialog {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            line-height: 1;
            padding: 0.5rem;
        }

        .close-dialog:hover { color: #D4A5A5; }

        /* ==========================================
           ОТЗЫВЫ — бесконечная лента
        ========================================== */
        .reviews {
            padding: 60px 0;
            background: white;
            overflow: hidden;
        }

        .reviews h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .reviews-subtitle {
            text-align: center;
            color: #888;
            margin-bottom: 2.5rem;
            font-size: 1rem;
        }

        .reviews-subtitle a {
            color: #6B9B6B;
            text-decoration: none;
            font-weight: 600;
        }

        .reviews-subtitle a:hover { text-decoration: underline; }

        .reviews-track-wrapper {
            overflow: hidden;
            position: relative;
            mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
        }

        .reviews-track {
            display: flex;
            gap: 20px;
            width: max-content;
            animation: marquee-scroll 40s linear infinite;
        }

        .reviews-track:hover { animation-play-state: paused; }

        @keyframes marquee-scroll {
            0%   { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }

        .review-card {
            background: #f8faf8;
            border-radius: 18px;
            padding: 1.4rem 1.6rem;
            width: 300px;
            flex-shrink: 0;
            box-shadow: 0 4px 15px rgba(0,0,0,0.07);
            border: 1px solid #e8f0e8;
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
        }

        .review-header {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .review-avatar {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: #6B9B6B;
            color: white;
            font-size: 1.1rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            font-family: 'Nunito', sans-serif;
        }

        .review-meta { flex: 1; min-width: 0; }

        .review-name {
            font-weight: 700;
            font-size: 0.95rem;
            color: #333;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .review-date {
            font-size: 0.78rem;
            color: #aaa;
        }

        .review-stars {
            color: #f5a623;
            font-size: 1rem;
            letter-spacing: 2px;
        }

        .review-text {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.55;
        }

        .review-teacher {
            font-size: 0.8rem;
            color: #6B9B6B;
            font-weight: 600;
        }

        .review-source {
            font-size: 0.75rem;
            color: #bbb;
            margin-top: auto;
        }

        /* ==========================================
           НОВОСТИ / МЕРОПРИЯТИЯ
        ========================================== */
        .news {
            padding: 80px 0;
            background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
        }

        .news h2 {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .news-subtitle {
            text-align: center;
            color: #777;
            margin-bottom: 3rem;
            font-size: 1rem;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
.camp {
    padding: 60px 0;
    background: white;
}
.camp h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}
.camp-subtitle {
    text-align: center;
    color: #6B9B6B;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 1rem;
}
.camp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.camp-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
@media (max-width: 768px) {
    .camp-grid { grid-template-columns: 1fr; }
}
     .news-img-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

        .news-img-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 14px 35px rgba(0,0,0,0.18);
        }

        .news-img-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            body { padding-top: 50px; }

            .burger { display: flex; }

            .nav-links {
                position: fixed;
                top: 50px;
                left: 0;
                right: 0;
                flex-direction: column;
                gap: 0;
                background: rgba(255, 255, 255, 0.98);
                box-shadow: 0 10px 20px rgba(0,0,0,0.1);
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

            .nav-links.open { max-height: 500px; }

            .nav-links li { width: 100%; }

            .nav-links a {
                display: block;
                padding: 1rem 1.5rem;
                border-bottom: 1px solid #f0f0f0;
            }

            .hero {
                padding: 100px 0 120px;
                min-height: 400px;
                background-size: contain;
                background-position: center;
                background-repeat: no-repeat;
            }

            .cta-button {
                padding: 12px 25px;
                font-size: 1rem;
                margin: 10px auto;
                display: block;
                max-width: 280px;
                text-align: center;
            }

            .enrollment-announcement h2 { font-size: 1.8rem; }

            .features-grid,
            .programs-grid { grid-template-columns: 1fr; }

            .benefits-grid { grid-template-columns: repeat(2, 1fr); }

            .program-card { min-height: 350px; }

            .footer-content { grid-template-columns: 1fr; }
            .footer-section { text-align: center; }

            .features h2, .programs h2, .why-us h2,
            .gallery h2, .games h2, .reviews h2, .news h2 {
                font-size: 2rem;
            }

            .review-card { width: 260px; }
            .reviews-track { animation-duration: 30s; }
            .news-grid { grid-template-columns: 1fr; }

            dialog {
                width: 98vw;
                max-width: 98vw;
                height: 98vh;
                max-height: 98vh;
                border-radius: 0;
                margin: 0;
                top: 0;
                left: 0;
            }
        }

        @media (max-width: 600px) {
            .benefits-grid { grid-template-columns: 1fr; }

            .hero {
                padding: 90px 0 100px;
                min-height: 350px;
            }

            .buttons-section { padding-top: 30px; }

            .cta-button {
                padding: 10px 20px;
                font-size: 0.9rem;
                margin: 8px auto;
                display: block;
                max-width: 280px;
                text-align: center;
            }

            .enrollment-announcement h2 { font-size: 1.6rem; }
        }

        @media (max-width: 480px) {
            .hero {
                padding: 80px 0 90px;
                min-height: 300px;
            }

            .buttons-section { padding-top: 20px; }

            .cta-button {
                padding: 8px 18px;
                font-size: 0.85rem;
                margin: 6px auto;
                max-width: 250px;
            }

            .container { padding: 0 15px; }
            .review-card { width: 230px; }
        }

/* ==========================================
   СТРАНИЦЫ ОТДЕЛЬНЫХ НАПРАВЛЕНИЙ (landing pages)
========================================== */
.breadcrumbs {
    padding: 14px 0;
    font-size: 0.9rem;
    color: #888;
    background: white;
}

.breadcrumbs a { color: #6B9B6B; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.program-hero {
    padding: 60px 0 50px;
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
}

.program-hero-inner {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 2rem;
    align-items: center;
}

.program-hero-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: white;
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.program-hero h1 {
    font-size: 2.2rem;
    color: #2d5a2d;
    margin-bottom: 0.6rem;
}

.program-hero .age {
    background: #D4A5A5;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 0.8rem;
}

.program-hero p.lead { font-size: 1.05rem; color: #444; max-width: 650px; }

.content-section { padding: 60px 0; }
.content-section:nth-child(even) { background: #fafdf9; }
.content-section h2 { font-size: 1.9rem; color: #333; margin-bottom: 1.2rem; }
.content-section p { color: #444; margin-bottom: 1rem; max-width: 760px; }

/* Одноколоночные блоки (не content-with-photo) — центрируем по странице */
.content-section > .container > h2,
.content-section > .container > p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.content-with-photo {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.content-with-photo img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.curriculum-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.curriculum-list li {
    background: white;
    padding: 1rem 1.3rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.curriculum-list li::before { content: "✅"; flex-shrink: 0; }

.price-box {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

.price-box .amount { font-size: 2rem; font-weight: 700; color: #D4A5A5; margin: 0.5rem 0 1.2rem; }

.related-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.25s ease;
}

.related-card:hover { transform: translateY(-4px); }
.related-card img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 0.8rem; }
.related-card h3 { font-size: 1.05rem; color: #6B9B6B; }

@media (max-width: 768px) {
    .program-hero-inner { grid-template-columns: 70px 1fr; gap: 1.2rem; }
    .program-hero-icon { width: 70px; height: 70px; padding: 10px; }
    .program-hero h1 { font-size: 1.6rem; }
    .content-with-photo { grid-template-columns: 1fr; }
    .content-with-photo .content-photo { order: -1; }
}

.program-more {
    display: inline-block;
    margin-top: 0.8rem;
    color: #6B9B6B;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}
.program-more:hover { text-decoration: underline; }

/* ================= Фото-карусель на страницах программ ================= */
.photo-carousel {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #fff;
    transition: height 0.35s ease;
}
.photo-carousel .carousel-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.4s ease;
    height: 100%;
}
.photo-carousel .carousel-track img {
    width: 100%;
    height: 100%;
    flex: 0 0 100%;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
    display: block;
}
/* Одиночное фото (без карусели) — тоже без обрезки, высота по содержимому */
.content-photo > img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.photo-carousel .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.85);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #6B9B6B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: background 0.2s ease;
}
.photo-carousel .carousel-btn:hover { background: #fff; }
.photo-carousel .carousel-prev { left: 12px; }
.photo-carousel .carousel-next { right: 12px; }
.photo-carousel .carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.photo-carousel .carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 2px solid rgba(107,155,107,0.5);
    cursor: pointer;
    padding: 0;
}
.photo-carousel .carousel-dot.active { background: #6B9B6B; border-color: #6B9B6B; }

@media (max-width: 480px) {
    .photo-carousel .carousel-btn { width: 32px; height: 32px; font-size: 1rem; }
}

/* ================= Секция «Сотрудничество» ================= */
.cooperation {
    padding: 60px 0;
    background: linear-gradient(135deg, #6B9B6B 0%, #588a58 100%);
    color: #fff;
}
.cooperation h2 { color: #fff; margin-bottom: 1rem; }
.cooperation .coop-subtitle {
    max-width: 760px;
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}
.coop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
}
.coop-text {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
}
.coop-text p { margin-bottom: 1rem; opacity: 0.95; }
.coop-text .coop-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.2rem 0 1.6rem;
}
.coop-values span {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.92rem;
}
.coop-text .cta-button { margin-top: auto; align-self: flex-start; }
.coop-perks {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 1.8rem;
    list-style: none;
    display: grid;
    align-content: center;
    gap: 0.9rem;
    margin: 0;
}
.coop-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.98rem;
}
.coop-perks li::before { content: "🦉"; flex-shrink: 0; }
.cooperation .cta-button {
    margin-top: 1.8rem;
    background: #fff;
    color: #588a58;
}
.cooperation .cta-button:hover { background: #f0f8f0; }

@media (max-width: 768px) {
    .coop-grid { grid-template-columns: 1fr; }
    .coop-text .cta-button { align-self: stretch; text-align: center; }
}

.content-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: #f8faf8;
    border: 2px dashed #d5e5d5;
    border-radius: 20px;
    padding: 3rem 1.5rem;
    text-align: center;
}
.content-photo-placeholder img { width: 90px; height: auto; opacity: 0.8; }
.content-photo-placeholder .placeholder-note { color: #888; font-size: 0.9rem; margin: 0; max-width: 220px; }

/* ================= Модалка «Написать о сотрудничестве» ================= */
.coop-dialog {
    border: none;
    border-radius: 20px;
    padding: 0;
    width: 90vw;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: auto;
}
.coop-dialog::backdrop { background: rgba(0,0,0,0.6); }
.coop-dialog-content {
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}
.coop-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    background: linear-gradient(135deg, #6B9B6B 0%, #588a58 100%);
    color: #fff;
    flex-shrink: 0;
}
.coop-dialog-header h3 { margin: 0; font-family: 'Bubblegum Sans', cursive; font-size: 1.3rem; }
.coop-dialog-header .close-dialog { color: #fff; }
.coop-dialog-header .close-dialog:hover { color: #f0d9d9; }
.coop-dialog-body {
    padding: 1.5rem;
    overflow-y: auto;
}
.coop-dialog-intro { color: #555; margin-bottom: 1.2rem; line-height: 1.5; }
.coop-dialog-contacts {
    display: grid;
    gap: 0.7rem;
    margin-bottom: 1.3rem;
}
.coop-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8faf8;
    border: 1px solid #e8f0e8;
    border-radius: 12px;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}
.coop-contact-item:hover { background: #eef6ee; transform: translateX(3px); }
.coop-contact-icon { font-size: 1.2rem; flex-shrink: 0; }
.coop-dialog-map {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.coop-dialog-map iframe { display: block; }
.coop-dialog-address { color: #777; font-size: 0.9rem; margin: 0; }

@media (max-width: 480px) {
    .coop-dialog { width: 94vw; }
    .coop-dialog-body { padding: 1.2rem; }
}
