/* Базовые стили */
body {
    font-family: 'Nunito', sans-serif;
    color: #2D3748;
    background-color: #fff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Кнопки */
.btn {
    cursor: pointer;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.btn--primary {
    background-color: #E27B58;
    color: #fff;
    padding: 12px 24px;
    font-size: 15px;
}

.btn--primary:hover {
    background-color: #CF6946;
}

.btn--secondary {
    background-color: #E27B58;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
}

.btn--secondary:hover {
    background-color: #CF6946;
}

.btn--outline {
    background: transparent;
    border: 2px solid #E27B58;
    color: #E27B58;
    padding: 10px 20px;
    font-size: 14px;
}

.btn--outline:hover {
    background-color: #E27B58;
    color: #fff;
}

/* Шапка и фиксированный логотип */
.header {
    padding: 15px 0;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo img,
.header .logo img {
    height: 42px !important;
    width: auto !important;
    max-height: 42px !important;
    object-fit: contain;
    display: block;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav__link {
    text-decoration: none;
    color: #4A5568;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.nav__link:hover {
    color: #E27B58;
}

.header__heart {
    font-size: 20px;
    margin-left: 10px;
}

/* Бургер-кнопка */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 110;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #2D3748;
    border-radius: 2px;
    transition: 0.3s;
}

/* Анимация бургера в крестик */
.burger.open span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Главный экран */
.hero {
    padding: 40px 0 60px;
    background: linear-gradient(180deg, #FDF8F5 0%, #FFFFFF 100%);
}

.hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero__content {
    max-width: 550px;
}

.hero__title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #2D3748;
}

.hero__title span {
    color: #E27B58;
}

.hero__text {
    font-size: 18px;
    color: #718096;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero__tags {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.tag {
    font-weight: 600;
    font-size: 14px;
    color: #4A5568;
}

.hero__image img {
    width: 100%;
    max-width: 620px;
    border-radius: 20px;
    object-fit: cover;
}

/* Преимущества */
.advantages {
    padding: 50px 0;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.advantage-card {
    background: #F8F9FA;
    padding: 20px 15px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card__icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.advantage-card__title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.advantage-card__text {
    font-size: 13px;
    color: #718096;
    line-height: 1.4;
    margin: 0;
}

/* Направления */
.programs {
    padding: 50px 0;
    background-color: #FAFCFC;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.leaf-icon {
    font-size: 22px;
}

.programs__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.program-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Центрирование изображения */
.program-card__img {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Круглое изображение */
.program-card__img img {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
}

.program-card__title {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

/* Наш день */
.schedule {
    padding: 60px 0;
}

.schedule__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: center;
}

.schedule__desc {
    font-size: 16px;
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.5;
}

.schedule__timeline-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.schedule__item {
    background: #F8F9FA;
    min-width: 110px;
    padding: 20px 10px;
    border-radius: 14px;
    text-align: center;
    flex-shrink: 0;
}

.schedule__icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.schedule__time {
    font-weight: 800;
    font-size: 15px;
    color: #E27B58;
    margin-bottom: 5px;
}

.schedule__label {
    font-size: 13px;
    color: #4A5568;
    font-weight: 600;
}

/* Тройная секция */
.triple-section {
    padding: 50px 0;
    background: #FAFCFC;
}

.triple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card-column {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-title-sm {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-inner {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-img-big img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.gallery-row {
    display: flex;
    gap: 12px;
}

.gallery-row img {
    width: 50%;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

/* Отзывы */
.testimonial-box {
    position: relative;
    background: #FDF8F5;
    padding: 20px;
    border-radius: 14px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-mark {
    font-size: 40px;
    color: #E27B58;
    line-height: 1;
    font-family: serif;
}

.testimonial-text {
    font-size: 14px;
    color: #4A5568;
    line-height: 1.5;
    margin: 10px 0;
}

.testimonial-author {
    font-weight: 700;
    font-size: 13px;
    color: #2D3748;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #CBD5E0;
    border-radius: 50%;
    display: inline-block;
}

.dot.active {
    background: #E27B58;
}

/* Команда */
.team-avatars {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.team-avatars img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}

.team-desc {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* CTA Баннер */
.cta-banner {
    padding: 60px 0;
    background: #FDF8F5;
}

.cta-container {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.cta-text h2 {
    font-size: 26px;
    font-weight: 800;
    color: #2D3748;
    margin: 0;
    line-height: 1.3;
}

.cta-hearts {
    font-size: 24px;
}

/* Подвал */
.footer {
    padding: 40px 0;
    background: #2D3748;
    color: #fff;
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-sub {
    font-size: 13px;
    color: #A0AEC0;
    margin-top: 5px;
}

.footer__item {
    font-size: 15px;
    color: #E2E8F0;
}

.footer__copy {
    font-size: 13px;
    color: #A0AEC0;
    margin-top: 15px;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal__content {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #A0AEC0;
}

.modal__content h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    text-align: center;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal__form input {
    padding: 12px 15px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    outline: none;
}

.modal__form input:focus {
    border-color: #E27B58;
}

/* Адаптивность и мобильное меню */
@media (max-width: 1024px) {

    .advantages__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .programs__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .triple-grid {
        grid-template-columns: 1fr;
    }

    .hero__container {
        flex-direction: column;
        text-align: center;
    }

    .hero__tags {
        justify-content: center;
    }

    .schedule__layout {
        grid-template-columns: 1fr;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    /* Показываем кнопку бургер на телефонах */
    .burger {
        display: flex;
    }

    /* Выпадающее мобильное меню */
    .header .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 20px rgba(0,0,0,0.06);
        padding: 25px 20px;
        display: none;
        border-radius: 0 0 16px 16px;
        box-sizing: border-box;
    }

    .header .nav.active {
        display: block;
    }

    .header .nav__list {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }

    .header .nav__link {
        font-size: 16px;
    }
}