/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #7ea04d;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #6a8a3e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: #4a4a4a;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: #7ea04d;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.block {
    padding: 80px 0;
}

/* Хедер */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo__title {
    font-size: 26px;
    font-weight: 700;
    color: #7ea04d;
}

.logo__link {
    display: block;
}

.menu__list {
    display: flex;
}

.menu__item {
    margin-left: 30px;
}

.menu__link {
    font-size: 16px;
    font-weight: 500;
    color: #4a4a4a;
    position: relative;
}

.menu__link:hover {
    color: #7ea04d;
}

.menu__link:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #7ea04d;
    transition: width 0.3s ease;
}

.menu__link:hover:after {
    width: 100%;
}

.menu__toggle {
    display: none;
    background: transparent;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu__toggle span,
.menu__toggle span:before,
.menu__toggle span:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #4a4a4a;
    transition: all 0.3s ease;
}

.menu__toggle span {
    top: 50%;
    transform: translateY(-50%);
}

.menu__toggle span:before {
    top: -8px;
}

.menu__toggle span:after {
    bottom: -8px;
}

/* Баннер */
.banner {
    height: 100vh;
    min-height: 600px;
    background-image: url('../img/8fbzIm.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.banner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner__content {
    max-width: 600px;
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 20px;
}

.banner__title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner__text {
    font-size: 18px;
    margin-bottom: 30px;
}

.banner__btn {
    background-color: #7ea04d;
    padding: 15px 40px;
}

/* О нас */
.about__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.about__img {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about__text {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about__text:last-child {
    margin-bottom: 0;
}

/* Преимущества */
.benefits {
    background-color: #f9f9f9;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item__icon {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item__icon img {
    max-height: 60px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.benefit-item__title {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.benefit-item__text {
    font-size: 14px;
    color: #666;
}

/* Классы */
.classes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.class-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.class-card__img {
    height: 200px;
    overflow: hidden;
}

.class-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.class-card:hover .class-card__img img {
    transform: scale(1.1);
}

.class-card__content {
    padding: 20px;
}

.class-card__title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #4a4a4a;
}

.class-card__text {
    font-size: 14px;
    color: #666;
}

/* Расписание */
.schedule {
    background-color: #f9f9f9;
}

.schedule__wrapper {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
}

.schedule__day {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.schedule__day-title {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    color: #4a4a4a;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.schedule__item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #eee;
}

.schedule__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.schedule__time {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #7ea04d;
    margin-bottom: 5px;
}

.schedule__name {
    display: block;
    font-size: 14px;
    color: #666;
}

/* Цены */
.prices__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-card__title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.price-card__price {
    font-size: 36px;
    font-weight: 700;
    color: #7ea04d;
    margin-bottom: 20px;
}

.price-card__features {
    margin-bottom: 30px;
}

.price-card__features li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.price-card__btn {
    width: 100%;
}

/* Команда */
.team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card__img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__name {
    font-size: 20px;
    margin-bottom: 5px;
    color: #4a4a4a;
}

.team-card__position {
    font-size: 14px;
    color: #7ea04d;
}

/* Отзывы */
.testimonials {
    background-color: #f9f9f9;
}

.testimonials__slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-item:before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 60px;
    font-family: Georgia, serif;
    color: #7ea04d;
    opacity: 0.2;
}

.testimonial-item__text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
    position: relative;
    z-index: 1;
}

.testimonial-item__author {
    font-size: 16px;
    font-weight: 500;
    color: #4a4a4a;
}

/* Галерея */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery__item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 200px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery__item:hover img {
    transform: scale(1.1);
}

/* Форма */
.form-section {
    background-color: #f9f9f9;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form__group {
    margin-bottom: 20px;
}

.form__input,
.form__select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.form__input:focus,
.form__select:focus {
    outline: none;
    border-color: #7ea04d;
    box-shadow: 0 0 0 2px rgba(126, 160, 77, 0.1);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6' fill='none'%3E%3Cpath fill='%234A4A4A' d='M6 6 0 0h12L6 6Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.form__btn {
    width: 100%;
}

.form__policy {
    font-size: 12px;
    text-align: center;
    color: #999;
    margin-top: 20px;
}

.form__policy a {
    color: #7ea04d;
    text-decoration: underline;
}

.form__policy a:hover {
    text-decoration: none;
}

/* Контакты */
.contacts {
    background-color: #fff;
}

.contacts__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contacts__item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #4a4a4a;
}

.contacts__item-content {
    font-size: 16px;
    color: #666;
}

.contacts__socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contacts__social {
    display: inline-block;
    padding: 8px 15px;
    background-color: #7ea04d;
    color: #fff;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contacts__social:hover {
    background-color: #6a8a3e;
}

.contacts__map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Футер */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer__logo {
    font-size: 24px;
    font-weight: 700;
    color: #7ea04d;
    margin-bottom: 10px;
}

.footer__text {
    font-size: 14px;
    color: #ccc;
    max-width: 250px;
}

.footer__title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer__title:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: #7ea04d;
    bottom: 0;
    left: 0;
}

.footer__menu li {
    margin-bottom: 10px;
}

.footer__link {
    font-size: 14px;
    color: #ccc;
}

.footer__link:hover {
    color: #7ea04d;
    padding-left: 5px;
}

.footer__contacts p {
    margin-bottom: 10px;
    font-size: 14px;
    color: #ccc;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer__copy {
    font-size: 14px;
    color: #999;
}

/* Куки */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.95);
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
}

.cookie-notice__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.cookie-notice__text {
    font-size: 14px;
    margin-right: 20px;
}

.cookie-notice__text a {
    color: #7ea04d;
    text-decoration: underline;
}

.cookie-notice__text a:hover {
    text-decoration: none;
}

.cookie-notice__btn {
    background-color: #7ea04d;
    min-width: 120px;
    padding: 8px 20px;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate__fadeIn {
    animation-name: fadeIn;
    animation-duration: 1s;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 1s;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
    .section-title {
        font-size: 28px;
    }

    .banner__title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .block {
        padding: 60px 0;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .banner__title {
        font-size: 36px;
    }

    .banner__text {
        font-size: 16px;
    }

    .about__inner,
    .contacts__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .classes__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule__wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .schedule__day {
        margin-bottom: 20px;
    }

    .prices__wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__slider {
        grid-template-columns: 1fr;
    }

    .gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        position: absolute;
    }

    .header__inner {
        height: 60px;
    }

    .logo__title {
        font-size: 22px;
    }

    .menu__list {
        position: fixed;
        flex-direction: column;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 10;
    }

    .menu__list.active {
        transform: translateY(0);
    }

    .menu__item {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }

    .menu__toggle {
        display: block;
    }

    .menu.active .menu__toggle span {
        background-color: transparent;
    }

    .menu.active .menu__toggle span:before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu.active .menu__toggle span:after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .block {
        padding: 40px 0;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .banner {
        height: auto;
        min-height: 500px;
    }

    .banner__content {
        padding-top: 80px;
    }

    .banner__title {
        font-size: 32px;
    }

    .banner__text {
        font-size: 15px;
    }

    .benefits__grid,
    .classes__grid,
    .prices__wrapper {
        grid-template-columns: 1fr;
    }

    .schedule__wrapper {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        padding: 30px;
    }

    .cookie-notice__inner {
        flex-direction: column;
    }

    .cookie-notice__text {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
} 