/*
Theme Name: United Kids
Theme URI: 
Description: Тема для сайта United Kids
Version: 1.0.0
Author: 
Author URI: 
Text Domain: united-kids
*/

/* Подключение шрифтов */
@font-face {
    font-family: 'MultiRoundPro';
    src: url('assets/fonts/multiroundproregular.eot');
    src: url('assets/fonts/multiroundproregular.eot?#iefix') format('embedded-opentype'),
         url('assets/fonts/multiroundproregular.woff2') format('woff2'),
         url('assets/fonts/multiroundproregular.woff') format('woff'),
         url('assets/fonts/multiroundproregular.ttf') format('truetype'),
         url('assets/fonts/multiroundproregular.svg#multiroundproregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset стили */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'MultiRoundPro', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Обнуление списков */
ul,
ol {
    list-style: none;
}

/* Обнуление ссылок */
a {
    text-decoration: none;
    color: inherit;
}

/* Обнуление заголовков */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: normal;
    font-size: inherit;
}

/* Обнуление параграфов */
p {
    margin: 0;
}

/* Обнуление изображений */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Обнуление форм */
button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

button {
    cursor: pointer;
}

/* Обнуление таблиц */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Обнуление цитат */
blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

/* Обнуление скрытых элементов */
[hidden] {
    display: none;
}

/* Обнуление WordPress классов */
.wp-block-group,
.wp-block-columns,
.wp-block-column {
    margin: 0;
    padding: 0;
}

/* Базовые стили */
#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#main {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 80px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.55);
}

.site-header__container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Логотип */
.site-branding {
    flex-shrink: 0;
}

.site-title {
    margin: 0;
    line-height: 1;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.site-logo:hover {
    opacity: 0.8;
}

.site-logo__image {
    max-height: 60px;
    width: auto;
    height: auto;
}

.site-logo__text {
    font-size: 20px;
    font-weight: 600;
    color: #262A74;
}

/* Навигация */
.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main-navigation__menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation__menu li {
    margin: 0;
}

.main-navigation__menu a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #262A74;
    padding: 2px 0;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation__menu a:hover,
.main-navigation__menu a:focus {
    color: #F2A054;
}

.main-navigation__menu .current-menu-item > a,
.main-navigation__menu .current_page_item > a {
    color: #F2A054;
}

.main-navigation__menu .current-menu-item > a::after,
.main-navigation__menu .current_page_item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #F2A054;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .site-header__container {
        padding: 8px 20px;
    }

    .site-logo__image {
        max-height: 40px;
    }

    .site-logo__text {
        font-size: 17px;
    }

    .main-navigation {
        width: 100%;
    }

    .main-navigation__menu {
        gap: 10px;
        width: 100%;
        justify-content: flex-end;
    }

    .main-navigation__menu a {
        font-size: 12px;
        width: 100%;
    }
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
    width: 100%;
}

@media (max-width: 768px) {
    section {
        min-height: 600px;
    }

    #main {
        gap: 40px;
        overflow: hidden;
    }
}

/* Hero секция */
.hero-section {
    background-color: #fff;
}

.hero-section__container {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    min-height: 800px;
    margin: 0 auto;
}

.hero-section__header {
    position: relative;
    z-index: 1;
}

.hero-section__arrow {
    position: absolute;
    top: -110px;
    left: -80px;
    z-index: 1;
}

.hero-section__title {
    font-size: 64px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 28px;
    color: #262A74;
    text-align: center;
}

.hero-section__title span {
    color: #F2A054;
}

.hero-section__subtitle {
    font-size: 20px;
    line-height: 32px;
    color: #262A74;
    max-width: 550px;
    margin-top: 12px;
    text-align: center;
    z-index: 1;
}

.hero-section__images {
    position: absolute;
    display: flex;
    width: 100%;
    min-height: 800px;
    justify-content: space-between;
    padding: 80px 0;
    z-index: 0;
}

.hero-section__image--1 {
    position: relative;
    width: auto;
    height: 526px;
    object-fit: contain;
    top: 60px;
    left: -40px;
    align-self: flex-start;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-section__image--2 {
    position: relative;
    width: auto;
    height: 400px;
    object-fit: contain;
    align-self: flex-end;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-section__container {
        min-height: 600px;
        padding: 0 20px;
    }
    
    .hero-section__arrow {
        position: absolute;
        width: auto;
        height: 54px;
        top: -50px;
        left: -50px;
        z-index: 1;
    }

    .hero-section__arrow-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .hero-section__title {
        font-size: 20px;
        margin-bottom: 28px;
    }

    .hero-section__separator {
        width: 150px;
        height: auto;
        object-fit: contain;
    }
    
    .hero-section__subtitle {
        font-size: 16px;
        line-height: normal;
        max-width: 100%;
        margin-top: 12px;
    }
    
    .hero-section__images {
        flex-direction: row-reverse;
        min-height: 600px;
        padding: 0;
    }
    
    .hero-section__image--1 {
        height: 222px;
        top: 60%;
        right: 0;
        left: 20%;
    }
    
    .hero-section__image--2 {
        height: 220px;
        left: -20px;
        top: 2%;
    }
}

/* Блок "Почему выбирают нас" */
.why-choose-us-section {
    background-color: #fff;
    background-image: url('assets/images/back-why-choose-us.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    width: 100%;
}

.why-choose-us-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.why-choose-us-title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 14px 28px;
    border-radius: 999px;
    background-color: #0EB2F1;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    margin-bottom: -20px;
    z-index: 1;
}

.why-choose-us-video-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.why-choose-us-video-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background-color: #000;
    cursor: pointer;
    overflow: hidden;
}

.why-choose-us-placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-choose-us-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2;
}

.why-choose-us-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.why-choose-us-play-button:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.why-choose-us-play-button svg {
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.why-choose-us-play-button svg circle {
    transition: fill 0.3s ease;
}

.why-choose-us-play-button:hover svg circle {
    fill: rgba(255, 255, 255, 1);
}

.why-choose-us-video {
    width: 100%;
    height: auto;
    display: block;
    background-color: #000;
}

@media (max-width: 768px) {
    .why-choose-us-section {
        padding: 40px 20px;
        width: 100%;
        min-height: 100%;
    }
    
    .why-choose-us-section .container {
        max-width: 100%;
    }
    
    .why-choose-us-title {
        padding: 8px 16px;
        font-size: 20px;
        margin-bottom: -20px;
    }
    
    .why-choose-us-video-wrapper {
        border-radius: 8px;
    }
    
    .why-choose-us-play-button svg {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }
}

/* Блок "Чем мы отличаемся от других садов?" */
.what-makes-us-different-section {
    position: relative;
    background: rgba(14, 178, 241, 0.19);
    padding: 0 20px;
    width: 100%;
}

.what-makes-us-different-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
    z-index: 1;
}

.what-makes-us-different-title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    text-align: center;
}

.what-makes-us-different-title span {
    color: #F2A054;
}

.what-makes-us-different-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    align-items: stretch;
}

.what-makes-us-different-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
    min-height: 240px;
    padding: 30px 20px;
    background-color: #262A74;
    border-radius: 20px;
    gap: 20px;
}

.what-makes-us-different-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.what-makes-us-different-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.what-makes-us-different-card-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
}

.what-makes-us-different-card-title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #FEFAB4;
}

.what-makes-us-different-card-subtitle {
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.what-makes-us-different__images {
    position: absolute;
    display: flex;
    width: 1200px;
    height: 100%;
    justify-content: space-between;
    z-index: 0;
}

.what-makes-us-different__image--1 {
    position: relative;
    width: auto;
    height: 290px;
    object-fit: contain;
    top: -40px;
    align-self: flex-start;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.what-makes-us-different__image--2 {
    position: relative;
    width: auto;
    height: 340px;
    object-fit: contain;
    top: 40px;
    align-self: flex-end;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

@media (max-width: 1024px) {
    .what-makes-us-different-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .what-makes-us-different-section {
        padding: 40px 20px;
    }
    
    .what-makes-us-different-section .container {
        max-width: 100%;
    }
    
    .what-makes-us-different-title {
        font-size: 20px;
    }

    .what-makes-us-different-section__separator {
        width: 150px;
        height: auto;
        object-fit: contain;
    }
    
    .what-makes-us-different-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    .what-makes-us-different-card {
        min-height: 100%;
        padding: 16px;
        border-radius: 8px;
        gap: 16px;
    }
    
    .what-makes-us-different-card-icon {
        width: 54px;
        height: 54px;
    }
    
    .what-makes-us-different-card-content {
        gap: 6px;
    }
    
    .what-makes-us-different-card-title {
        font-size: 16px;
    }
    
    .what-makes-us-different__images {
        width: 100%;
    }
    
    .what-makes-us-different__image--1 {
        height: 180px;
        top: -10px;
        right: 60px;
    }
    
    .what-makes-us-different__image--2 {
        height: 270px;
        top: -30%;
        left: -30px;
    }
}

/* Блок "Возрастные группы" */
.age-groups-section {
    align-items: flex-start;
    padding: 240px 20px;
    background-color: #fff;
    background-image: url('assets/images/age.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.age-groups-section .container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 50px;
}

.age-groups-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 440px;
    min-width: 440px;
    gap: 32px;
}

.age-groups-title {
    color: #FFF;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
}

.age-groups-title span {
    display: flex;
    padding: 16px 32px;
    border-radius: 20px;
    background-color: #fff;
    color: #262A74;
    margin-bottom: 16px;
}

.age-groups-description {
    color: #FFF;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.age-groups-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.age-group-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 30px 40px;
    gap: 25px;
}

.age-group-card-image {
    min-width: 150px;
    height: 150px;
    overflow: hidden;
}

.age-group-card-image img {
    width: auto;
    height: 150px;
    object-fit: cover;
}

.age-group-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.age-group-card-title {
    color: #1E1E1E;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

.age-group-card-description {
    color: #1E1E1E;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.age-group-card-price,
.age-group-modal-price {
    width: fit-content;
    padding: 13px 26px;
    border-radius: 999px;
    background-color: #FEFAB4;;
    color: #262A74;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

/* Модальное окно */
.age-group-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-group-modal.active {
    opacity: 1;
    visibility: visible;
}

.age-group-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.age-group-modal-content {
    position: relative;
    background: #fff;
    border-radius: 24px;
    max-width: 1100px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    backdrop-filter: blur(7px);
}

.age-group-modal.active .age-group-modal-content {
    transform: scale(1);
}

.age-group-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.age-group-modal-close:hover {
    background: rgba(255, 255, 255, 1);
}

.age-group-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: #333;
}

.age-group-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    width: 100%;
    gap: 20px;
}

.age-group-modal-info {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.age-group-modal-image-wrapper {
    min-width: 270px;
    height: 100%;
    min-height: 270px;
    overflow: hidden;
}

.age-group-modal-image {
    width: 270px;
    height: 270px;
    object-fit: cover;
}

.age-group-modal-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.age-group-modal-title {
    color: #262A74;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
}

.age-group-modal-description {
    color: #262A74;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.age-group-modal-price {
    background-color: #fff;
    color: #262A74;
}

.age-group-modal-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}

.age-group-modal-card {
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 12px 24px;
    min-height: 160px;
}

.age-group-modal-card-title {
    color: #262A74;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

.age-group-modal-card-description {
    color: #262A74;
    font-size: 17px;
    font-weight: 400;
    line-height: normal;
}

.age-group-modal-separator-card {
    width: 160px;
    height: 4px;
    background-color: #F2A054;
    border-radius: 999px;
    margin: 14px 0;
}

/* Страница группы */
.group-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.group-page-wrapper .age-group-modal-card {
    display: flex;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .age-groups-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .age-group-modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .age-group-modal-image-wrapper {
        min-height: 250px;
    }

    .age-group-modal-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .age-groups-section {
        padding: 40px 20px;
    }
    
    .age-groups-section .container {
        flex-direction: column;
        max-width: 100%;
        gap: 24px;
    }
    
    .age-groups-header {
        width: 100%;
        min-width: 100%;
        align-items: flex-start;
        gap: 24px;
    }
    
    .age-groups-title {
        font-size: 24px;
    }
    
    .age-groups-title span {
        font-size: 20px;
        padding: 8px 16px;
        margin-bottom: 8px;
    }
    
    .age-groups-description {
        font-size: 16px;
        font-weight: 500;
    }
    
    .age-groups-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    
    .age-group-card {
        padding: 16px;
        gap: 16px;
    }
    
    .age-group-card-image {
        min-width: 80px;
        height: 80px;
    }
    
    .age-group-card-image img {
        height: 80px;
    }
    
    .age-group-card-content {
        gap: 8px;
    }
    
    .age-group-card-title {
        font-size: 16px;
    }
    
    .age-group-card-description {
        font-size: 16px;
    }
    
    .age-group-card-price,
    .age-group-modal-price {
        width: fit-content;
        padding: 7px 14px;
        font-size: 14px;
    }
    
    .age-group-modal-content {
        border-radius: 16px;
        max-width: 90%;
    }
    
    .age-group-modal-close {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 20px;
        height: 20px;
    }

    .age-group-modal-close svg {
        width: 14px;
        height: 14px;
    }
    
    .age-group-modal-body {
        padding: 16px 8px;
        gap: 20px;
    }
    
    .age-group-modal-info {
        flex-direction: column;
        gap: 16px;
    }

    .group-page .age-group-modal-info {
        flex-direction: row;
    }
    
    .age-group-modal-image-wrapper {
        min-width: 100px;
        min-height: 100px;
    }
    
    .age-group-modal-image {
        width: 100px;
        height: 100px;
    }
    
    .age-group-modal-text {
        gap: 8px;
    }
    
    .age-group-modal-title {
        font-size: 24px;
    }
    
    .age-group-modal-description {
        font-family: Inter;
        font-size: 16px;
        font-weight: 400;
    }

    .age-group-modal-separator {
        width: 160px;
    }
    
    .age-group-modal-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }
    
    .age-group-modal-card {
        border-radius: 8px;
        padding: 16px;
        min-height: 100%;
    }
    
    .age-group-modal-card-title {
        font-size: 16px;
    }
    
    .age-group-modal-card-description {
        font-family: Inter;
        font-size: 16px;
        font-weight: 400;
    }
    
    .age-group-modal-separator-card {
        width: 60px;
        height: 2px;
        margin: 4px 0;
    }
    
    /* Страница группы */
    .group-page-wrapper {
        max-width: 1200px;
        margin: 0 auto;
        padding: 40px 20px;
    }
    
    .group-page-wrapper .age-group-modal-card {
        display: flex;
    }
}

/* Блок "Наши Педагоги" */
.teachers-section {
    background-color: #fff;
    padding: 80px 20px;
    width: 100%;
    overflow: hidden;
}

.teachers-section .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 50px;
}

.teachers-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
    width: 100%;
    z-index: 1;
}

.teachers-section-title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.teachers-section-description {
    color: #000;
    width: 540px;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

.teachers-swiper-wrapper {
    width: 100%;
    position: relative;
}

.teachers-swiper {
    width: 100%;
    overflow: visible;
}

.teachers-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.teachers-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.teacher-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FEEDF7;
    border-radius: 20px;
    padding: 32px 21px;
    overflow: hidden;
    height: 100%;
    width: 332px;
    gap: 24px;
}

.teacher-card-image {
    width: 230px;
    height: 230px;
    overflow: hidden;
    border-radius: 999px;
}

.teacher-card-image img {
    width: auto;
    height: 230px;
    object-fit: cover;
}

.teacher-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.teacher-card-name {
    color: #262A74;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

.teacher-card-position, .teacher-card-description {
    color: #262A74;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

.teachers__images {
    position: absolute;
    display: flex;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
}

.teachers__image--1 {
    position: absolute;
    width: auto;
    height: 342px;
    object-fit: contain;
    left: -20%;
    top: 65%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.teachers__image--2 {
    position: absolute;
    width: auto;
    height: 190px;
    object-fit: contain;
    left: 18%;
    top: 0%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.teachers__image--3 {
    position: absolute;
    width: auto;
    height: 292px;
    object-fit: contain;
    left: 50%;
    bottom: -10%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.teachers__image--4 {
    position: absolute;
    width: auto;
    height: 292px;
    object-fit: contain;
    right: -5%;
    top: 13%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}
@media (max-width: 1024px) {
    .teachers-swiper-wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 768px) {
    .teachers-section {
        padding: 50px 20px;
        min-height: 100%;
    }
    
    .teachers-section .container {
        max-width: 100%;
        gap: 24px;
    }
    
    .teachers-section-header {
        gap: 8px;
    }
    
    .teachers-section-title {
        font-size: 20px;
    }
    
    .teachers-section-description {
        width: 100%;
        font-size: 14px;
    }

    .teachers-section-separator {
        width: 160px;
        height: auto;
        object-fit: contain;
    }

    .teachers-swiper-wrapper {
        padding: 0;
    }
    
    .teacher-card {
        padding: 16px;
        height: 100%;
        width: 100%;
        gap: 8px;
    }
    
    .teacher-card-image {
        width: 110px;
        height: 110px;
    }
    
    .teacher-card-image img {
        height: 110px;
    }
    
    .teacher-card-content {
        gap: 8px;
    }
    
    .teacher-card-name {
        font-size: 14px;
    }
    
    .teacher-card-position, .teacher-card-description {
        font-size: 16px;
    }
    
    .teachers__image--1 {
        height: 150px;
        left: -15%;
        top: 48%;
    }
    
    .teachers__image--2 {
        height: 110px;
        left: 15%;
        top: 0%;
    }
    
    .teachers__image--3 {
        display: none;
    }
    
    .teachers__image--4 {
        display: none;
    }
}

/* Секция галереи */
/* Галерея */
.gallery-section {
    padding: 140px 0;
    width: 100%;
    background-color: #fff;
    background-image: url('assets/images/back-why-choose-us.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.about-page .gallery-section {
    background-image: none;
}

.gallery-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-scroll {
    width: 100%;
    height: auto;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-scroll .gallery-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.gallery-slide {
    position: absolute;
    width: auto;
    height: auto;
    display: block;
}

/* Размеры слайдов - десктоп */
.gallery-slide-size-1,
.gallery-slide-size-2,
.gallery-slide-size-4,
.gallery-slide-size-5 {
    width: 529px !important;
}

.gallery-slide-size-3,
.gallery-slide-text {
    width: 598px !important;
}

/* Элементы галереи */
.gallery-item {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 10;
}

.gallery-item-photo {
    background-color: #f5f5f5;
    height: auto;
}

.gallery-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* Высоты изображений - десктоп */
.gallery-slide-size-1 .gallery-image { height: 440px; }
.gallery-slide-size-2 .gallery-image { height: 235px; }
.gallery-slide-size-3 .gallery-image { height: 455px; }
.gallery-slide-size-4 .gallery-image { height: 289px; }
.gallery-slide-size-5 .gallery-image { height: 384px; }

/* Текстовый блок */
.gallery-item-text {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 28px;
    height: 217.29px;
    min-height: 217.29px;
}

.gallery-text-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.gallery-text-content h3 {
    color: #F2A054;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
}

.gallery-text-content p {
    color: #262A74;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
        min-height: 100%;
    }
    
    /* Размеры слайдов - мобильная версия */
    .gallery-slide-size-1,
    .gallery-slide-size-2,
    .gallery-slide-size-4,
    .gallery-slide-size-5 {
        width: 210px !important;
    }
    
    .gallery-slide-size-3,
    .gallery-slide-text {
        width: 240px !important;
    }
    
    /* Высоты слайдов - мобильная версия */
    .gallery-slide-size-1 { height: 175px !important; }
    .gallery-slide-size-2 { height: 94px !important; }
    .gallery-slide-size-3 { height: 108px !important; }
    .gallery-slide-size-4 { height: 114px !important; }
    .gallery-slide-size-5 { height: 154px !important; }
    .gallery-slide-text { height: 163px !important; }
    
    /* Элементы - мобильная версия */
    .gallery-item,
    .gallery-item-photo {
        width: 100% !important;
        height: 100% !important;
    }
    
    .gallery-image {
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Высоты изображений - мобильная версия */
    .gallery-slide-size-1 .gallery-image { height: 175px !important; }
    .gallery-slide-size-2 .gallery-image { height: 94px !important; }
    .gallery-slide-size-3 .gallery-image { height: 108px !important; }
    .gallery-slide-size-4 .gallery-image { height: 114px !important; }
    .gallery-slide-size-5 .gallery-image { height: 154px !important; }
    
    /* Текстовый блок - мобильная версия */
    .gallery-item-text {
        padding: 8px;
        height: 163px !important;
        min-height: 163px !important;
        width: 100% !important;
    }
    
    .gallery-text-content {
        gap: 4px;
    }
    
    .gallery-text-content h3 {
        font-size: 16px;
    }
    
    .gallery-text-content p {
        font-size: 16px;
    }
}

/* Секция отзывов */
.testimonials-section {
    position: relative;
    background-color: #fff;
    padding: 80px 20px;
    padding-bottom: 160px;
    width: 100%;
    overflow: hidden;
}

.testimonials-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
    gap: 50px;
    position: relative;
}

.testimonials-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.testimonials-section-title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.testimonials-section-separator {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonials-section-separator img {
    width: 100%;
    max-width: 360px;
    height: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: #262A74;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.testimonial-card-image {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.testimonial-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card-text {
    color: #FFF;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.testimonial-card-name {
    color: #FEFAB4;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

.testimonials__images {
    position: absolute;
    display: flex;
    width: 1060px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.testimonials__images--background {
    z-index: 0;
}

.testimonials__image--1 {
    position: absolute;
    width: auto;
    height: 342px;
    object-fit: contain;
    left: -10%;
    top: 40%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    z-index: 0;
}

.testimonials__image--2 {
    position: absolute;
    width: auto;
    height: 292px;
    object-fit: contain;
    right: 0%;
    top: 0%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    z-index: 0;
}

.testimonials__image--3 {
    position: absolute;
    width: auto;
    height: 292px;
    object-fit: contain;
    left: 90%;
    bottom: 0;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.testimonials__image--foreground {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.testimonials__image--foreground.testimonials__image--3 {
    width: auto;
    height: 292px;
    object-fit: contain;
    left: calc(50% + 377px);
    bottom: 5%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 40px 20px;
        padding-bottom: 60px;
    }
    
    .testimonials-section .container {
        max-width: 100%;
        gap: 24px;
    }
    
    .testimonials-section-header {
        gap: 16px;
    }
    
    .testimonials-section-title {
        font-size: 20px;
    }
    
    .testimonials-section-separator img {
        max-width: 160px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 24px;
    }
    
    .testimonial-card {
        border-radius: 20px;
        padding: 16px;
        gap: 16px;
    }
    
    .testimonial-card-image {
        width: 58px;
        height: 58px;
    }
    
    .testimonial-card-content {
        gap: 8px;
    }
    
    .testimonial-card-text {
        font-size: 16px;
    }
    
    .testimonial-card-name {
        font-size: 16px;
    }

    .testimonials__images {
        width: 100%;
    }
    
    .testimonials__image--1 {
        height: 140px;
        left: -20%;
        top: 16%;
    }
    
    .testimonials__image--2 {
        height: 120px;
        right: -18%;
        top: -1%;
    }
    
    .testimonials__image--foreground.testimonials__image--3 {
        height: 140px;
        left: calc(50% + 45px);
        bottom: 0%;
    }
}


/* FAQ Section */
.faq-section {
    align-items: flex-start;
    padding: 160px 20px;
    background-color: #fff;
    background-image: url('assets/images/faq.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
}

.faq-section .container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 50px;
}

.faq-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 440px;
    min-width: 440px;
    gap: 32px;
}

.faq-section-title {
    color: #FFF;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
}

.faq-section-title span {
    display: flex;
    width: fit-content;
    padding: 16px 32px;
    border-radius: 20px;
    background-color: #fff;
    color: #262A74;
    margin-top: 16px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 100%;
}

.faq-item {
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    padding: 28px 38px;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    gap: 20px;
}

.faq-question-text {
    flex: 1;
    color: #1E1E1E;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}

.faq-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 62px;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.faq-question[aria-expanded="true"] .faq-icon-open {
    display: none;
}

.faq-question[aria-expanded="true"] .faq-icon-close {
    display: block !important;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer[hidden] {
    display: block;
    max-height: 0;
    padding-bottom: 0;
}

.faq-answer-content {
    color: #1E1E1E;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.faq-answer-content p {
    margin-bottom: 12px;
}

/* Responsive FAQ Section */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 20px;
    }
    
    .faq-section .container {
        flex-direction: column;
        max-width: 100%;
        gap: 24px;
    }
    
    .faq-section-header {
        width: 100%;
        min-width: 100%;
        gap: 16px;
    }
    
    .faq-section-title {
        font-size: 32px;
    }
    
    .faq-section-title span {
        padding: 8px 16px;
        margin-top: 12px;
    }
    
    .faq-item {
        border-radius: 8px;
        padding: 16px;
    }
    
    .faq-question {
        gap: 16px;
    }
    
    .faq-question-text {
        font-size: 16px;
    }
    
    .faq-icon {
        width: 30px;
        height: 31px;
    }
    
    .faq-answer-content  {
        margin-top: 12px;
    }
}


/* Contacts Section */
.contacts-section {
    background: #FEFAB4;
    padding: 80px 20px;
}

.about-page .contacts-section {
    background: #F2A05433;
}

.contacts-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contacts-content {
    width: 100%;
    margin: 0 auto;
}

.contacts-map-wrapper {
    position: relative;
    width: 100%;
}

.contacts-map {
    width: 100%;
    height: 600px;
    min-height: 600px;
    border-radius: 20px;
    overflow: hidden;
}

.contacts-info {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 50px;
    height: calc(100% - 80px);
    width: 480px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    border-radius: 20px;
    background: #FFF;
    z-index: 1;
    gap: 16px;
}

.contacts-section-title {
    color: #262A74;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 62px;
}

.contacts-section-title span {
    color: #F2A054;
}

.contact-item {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 4px;
}

h3.contact-label, p.contact-value {
    color: #000;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
}

/* Responsive Contacts Section */
@media (max-width: 768px) {
    .contacts-section {
        padding: 40px 20px;
        min-height: 100%;
    }
    
    .contacts-section .container {
        max-width: 100%;
    }
    
    .contacts-map {
        height: 218px;
        min-height: 218px;
        border-radius: 16px;
    }
    
    .contacts-info {
        height: calc(100% - 32px);
        width: 168px;
        padding: 8px;
        border-radius: 8px;
        gap: 8px;
        right: 16px;
    }
    
    .contacts-section-title {
        font-size: 12px;
        margin-bottom: 18px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 4px;
    }
    
    h3.contact-label, p.contact-value {
        font-size: 14px;
    }
}

/* Contact Form Section */
.contact-form-section {
    background-color: #fff;
    padding: 80px 20px;
    background: url('assets/images/form.webp') no-repeat center center;
    background-size: cover;
    width: 100%;
}

.contact-form-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
    gap: 40px;
}

.contact-form-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.contact-form-section-title , .contact-form-section-subtitle {
    color: #F2A054;
    text-align: center;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
}

.contact-form-section-subtitle {
    color: #262A74;
}

.contact-form-wrapper {
    width: 560px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.contact-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.contact-form-label .required {
    color: #F2A054;
    font-weight: 600;
}

.contact-form-input,
.contact-form-textarea {
    width: 100%;
    padding: 26px;
    border-radius: 20px;
    background-color: #fff;
    color: #505050;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    text-transform: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-input:invalid:not(:placeholder-shown),
.contact-form-textarea:invalid:not(:placeholder-shown) {
    border-color: #F2A054;
}

.contact-form-textarea {
    resize: vertical;
    height: 76px;
    min-height: 76px;
}

.contact-form-error {
    color: #F2A054;
    font-family: Inter;
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
    display: none;
    margin-top: 4px;
}

.contact-form-field:has(.contact-form-input:invalid:not(:placeholder-shown)) .contact-form-error,
.contact-form-field:has(.contact-form-textarea:invalid:not(:placeholder-shown)) .contact-form-error {
    display: block;
}

.contact-form-submit {
    margin-top: 24px;
    align-items: center;
}

.contact-form-button {
    width: fit-content;
    padding: 24px 28px;
    border-radius: 999px;
    background-color: #F2A054;
    color: #fff;
    font-family: Inter;
    font-size: 18px;
    font-weight: 600;
    line-height: normal;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-form-button:active {
    transform: translateY(0);
}

.contact-form-button:disabled {
    background-color: #E5E5E5;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.contact-form-button-loader {
    display: none;
}

.contact-form-button:disabled .contact-form-button-text {
    display: none;
}

.contact-form-button:disabled .contact-form-button-loader {
    display: block;
}

.contact-form-message {
    padding: 16px 20px;
    border-radius: 12px;
    font-family: Inter;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
}

.contact-form-success {
    background-color: #FEFAB4;
    color: #262A74;
    border: 2px solid #FEFAB4;
}

.contact-form-error {
    background-color: #FFF5F5;
    color: #F2A054;
    border: 2px solid #F2A054;
}

/* Responsive Contact Form Section */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 40px 20px;
        min-height: 100%;
    }
    
    .contact-form-section .container {
        max-width: 100%;
        gap: 20px;
    }
    
    .contact-form-section-title , .contact-form-section-subtitle {
        font-size: 20px;
    }
    
    .contact-form-wrapper {
        width: 100%;
    }
    
    .contact-form {
        gap: 8px;
    }
    
    .contact-form-field {
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .contact-form-label .required {
        color: #F2A054;
        font-weight: 600;
    }
    
    .contact-form-input,
    .contact-form-textarea {
        padding: 16px;
        border-radius: 12px;
        font-size: 14px;
    }
    
    .contact-form-button {
        width: fit-content;
        padding: 16px;
        font-size: 14px;
    }
}

/* Блок "Описание групп" */
.groups-description-section {
    background-color: #fff;
    padding: 80px 20px;
    width: 100%;
}

.groups-description-section__container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.groups-description-section__block {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 500px;
    min-width: 500px;
    gap: 32px;
    border-radius: 20px;
    background: #FEFAB4;
    padding: 32px 27px;
    z-index: 1;
}

.groups-description-section__title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.groups-description-section__description {
    font-size: 20px;
    line-height: normal;
    color: #262A74;
    line-height: 32px;
}

.groups-description-section__separator {
    width: 177px;
    height: 4px;
    border-radius: 9px;
    background: rgba(237, 1, 138, 0.43);
}

.groups-description-section__image {
    flex-shrink: 0;
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    z-index: 0;
    margin-left: -100px;
    margin-bottom: 250px;
}

@media (max-width: 768px) {
    .groups-description-section {
        padding: 50px 20px;
        min-height: auto;
    }
    
    .groups-description-section__container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 100%;
    }
    
    .groups-description-section__block {
        width: 300px;
        min-width: 300px;
        gap: 8px;
        padding: 24px;
        padding-top: 32px;
        order: 2;
        z-index: 0;
    }
    
    .groups-description-section__title {
        font-size: 24px;
    }
    
    .groups-description-section__description {
        font-family: Inter;
        font-size: 16px;
        line-height: normal;
    }
    
    .groups-description-section__separator {
        width: 60px;
        height: 2px;
    }
    
    .groups-description-section__image {
        order: 1;
        width: 100%;
        max-width: 314px;
        z-index: 1;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: -24px;
    }
}

.about-intro-section {
    background-color: #fff;
    padding: 80px 20px;
    width: 100%;
}

.about-page .about-intro-section {
    background: url('assets/images/concept.webp') no-repeat center center;
    background-size: cover;
}

.about-intro-section__container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.about-intro-section__block {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 500px;
    min-width: 500px;
    gap: 32px;
    border-radius: 20px;
    background: #FEFAB4;
    padding: 32px 27px;
    z-index: 1;
}

.about-page .about-intro-section__block {
    background: #fff;
}

.about-intro-section__title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.about-intro-section__description {
    font-size: 20px;
    line-height: normal;
    color: #262A74;
    line-height: 32px;
}

.about-intro-section__separator {
    width: 177px;
    height: 4px;
    border-radius: 9px;
    background: rgba(237, 1, 138, 0.43);
}

.about-intro-section__image {
    flex-shrink: 0;
    width: 100%;
    max-width: 650px;
    height: auto;
    object-fit: contain;
    z-index: 0;
    margin-left: -100px;
    margin-bottom: 250px;
}

@media (max-width: 768px) {
    .about-intro-section {
        padding: 40px 20px;
    }
    
    .about-intro-section__container {
        max-width: 100%;
    }
    
    .about-intro-section__block {
        width: 220px;
        min-width: 220px;
        gap: 16px;
        padding: 16px;
    }
    
    .about-intro-section__title {
        font-size: 24px;
    }
    
    .about-intro-section__description {
        font-family: Inter;
        font-size: 16px;
        line-height: normal;
    }
    
    .about-intro-section__separator {
        width: 60px;
        height: 2px;
    }
    
    .about-intro-section__image {
        max-width: 200px;
        height: 270px;
        object-fit: cover;
        margin-left: -100px;
        margin-bottom: 150px;
        border-radius: 20px;
    }
}

.first-block-section {
    background: rgba(14, 178, 241, 0.19);
    padding: 80px 20px;
    width: 100%;
}

.about-page .first-block-section {
    background: #FFFDD7;
}

.first-block-section__container {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.first-block-section__block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.first-block-section__content {
    display: flex;
    flex-direction: column;
    width: 600px;
    max-width: 600px;
    gap: 32px;
}

.first-block-section__title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.first-block-section__description {
    font-size: 20px;
    line-height: 32px;
    color: #262A74;
}

.first-section-separator img {
    width: 460px;
    height: auto;
    object-fit: contain;
}

.first-block-section__image {
    flex-shrink: 0;
    width: 100%;
    max-width: 459px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .first-block-section {
        padding: 40px 20px;
        min-height: auto;
    }
    
    .first-block-section__container {
        max-width: 100%;
    }

    .first-block-section__block {
        align-items: flex-start;
    }
    
    .first-block-section__content {
        width: 50%;
        max-width: 50%;
        gap: 16px;
    }
    
    .first-block-section__title {
        font-size: 24px;
        order: 1;
    }

    .first-section-separator {
        order: 2;
    }

    .first-section-separator img {
        width: 80% !important;
    }
    
    .first-block-section__description {
        font-family: Inter;
        font-size: 16px;
        line-height: normal;
        order: 3;
    }
    
    .first-section-separator img {
        width: 50%;
    }
    
    .first-block-section__image {
        max-width: 50%;
    }    
}

/* Секция расписания дня в саду */
.schedule-section {
    background-color: #fff;
    background: url('assets/images/faq.webp') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    width: 100%;
}

.schedule-section .container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.schedule-section-title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
    margin: 0 0 32px 0;
    text-align: center;
}

.schedule-section-description {
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    line-height: 32px;
    color: #262A74;
    margin: 0 0 32px 0;
    text-align: center;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.50);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.schedule-item {
    display: flex;
    padding: 28px 38px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 26px;
    align-self: stretch;
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.schedule-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.schedule-time {
    display: flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    border-radius: 80px;
    background: #262A74;
    min-width: 120px;
    text-align: left;
}

.schedule-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-title {
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #1E1E1E;
    margin: 0;
}

.schedule-description {
    color: #1E1E1E;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.schedule__image--foreground {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.schedule__image--foreground.schedule__image--1 {
    width: auto;
    height: 360px;
    object-fit: contain;
    left: calc(50% + 240px);
    bottom: 10%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

/* Responsive Schedule Section */
@media (max-width: 768px) {
    .schedule-section {
        padding: 40px 20px;
    }
    
    .schedule-section .container {
        max-width: 100%;
    }
    
    .schedule-section-title {
        font-size: 24px;
        margin: 0 0 24px 0;
    }
    
    .schedule-section-description {
        padding: 16px;
        font-size: 16px;
        line-height: normal;
        margin: 0 0 24px 0;
    }
    
    .schedule-list {
        gap: 12px;
    }
    
    .schedule-item {
        padding: 16px;
        gap: 12px;
    }
    
    .schedule-time {
        padding: 8px;
        font-size: 18px;
        min-width: 65px;
    }
    
    .schedule-content {
        gap: 8px;
    }
    
    .schedule-title {
        font-size: 20px;
    }
    
    .schedule-description {
        font-size: 14px;
    }
    
    .schedule__image--foreground {
        display: none;
    }
}

/* Блок "Безопасность" */
.safety-section {
    background-color: #fff;
    padding: 80px 20px;
    width: 100%;
}

.safety-section .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 40px;
}

.safety-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
}

.safety-section-title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.safety-section-separator {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.safety-section-separator img {
    width: 100%;
    height: auto;
    display: block;
}

.safety-section-description {
    max-width: 600px;
    color: #262A74;
    text-align: center;
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
}

.safety-section-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    align-items: stretch;
    margin-top: 30px;
    z-index: 1;
}

.safety-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 20px;
    height: 100%;
}

.safety-card-icon {
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 100px;
    background: rgba(237, 1, 138, 0.30);
}

.safety-card-icon img {
    width: 114px;
    height: auto;
    object-fit: contain;
}

.safety-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    gap: 20px;
    flex: 1;
}

.safety-card-title {
    font-size: 22px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
}

.safety-card-description {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
}

.safety__images {
    position: absolute;
    display: flex;
    width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.safety__images--background {
    z-index: 0;
}

.safety__image--1 {
    position: absolute;
    width: auto;
    height: 342px;
    object-fit: contain;
    left: 0;
    top: 50%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    z-index: 0;
}

.safety__image--2 {
    position: absolute;
    width: auto;
    height: 342px;
    object-fit: contain;
    right: -5%;
    top: 10%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    z-index: 0;
}

@media (max-width: 768px) {
    .safety-section {
        padding: 40px 20px;
    }
    
    .safety-section .container {
        max-width: 100%;
    }
    
    .safety-section-header {
        gap: 16px;
    }
    
    .safety-section-title {
        font-size: 24px;
    }
    
    .safety-section-separator {
        max-width: 160px;
    }
    
    .safety-section-description {
        width: 100%;
        font-size: 16px;
    }
    
    .safety-section-cards {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
        margin-top: 0;
    }
    
    .safety-card {
        gap: 16px;
    }
    
    .safety-card-icon {
        width: 74px;
        height: 74px;
    }
    
    .safety-card-icon img {
        width: 46px;
    }
    
    .safety-card-content {
        gap: 16px;
    }
    
    .safety-card-title {
        font-size: 20px;
    }
    
    .safety-card-description {
        font-size: 16px;
    }
    
    .safety__images {
        width: 100%;
    }
    
    .safety__image--1 {
        height: 140px;
        top: 35%;
    }
    
    .safety__image--2 {
        height: 140px;
        right: -10%;
        top: 3%;
    }
}

/* Секция Питание */
.nutrition-section {
    background-color: #FFFDD7;
    padding: 80px 20px;
    width: 100%;
}

.nutrition-section .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    gap: 40px;
}

.nutrition-section-header-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.nutrition-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    z-index: 1;
}

.nutrition-section-header-image {
    width: auto;
    height: 365px;
    object-fit: contain;
    z-index: 0;
    pointer-events: none;
}

.nutrition-section-title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.nutrition-section-separator {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.nutrition-section-separator img {
    width: 100%;
    height: auto;
    display: block;
}

.nutrition-section-description {
    width: 100%;
    color: #262A74;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

.nutrition-section-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    align-items: stretch;
    margin-top: 30px;
}

.nutrition-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-radius: 20px;
    padding: 33px 28px;
    min-height: 160px;
}

.nutrition-item-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nutrition-item-title {
    color: #262A74;
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
}

.nutrition-item:nth-last-child(-n+2) .nutrition-item-title {
    color: #F2A054;
}

.nutrition-item-separator {
    width: 180px;
    height: 4px;
    border-radius: 9px;
    background: #F2A054;
}

.nutrition-item:nth-last-child(-n+2) .nutrition-item-separator {
    background: #262A74;
}

.nutrition-item-description {
    color: #262A74;
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 768px) {
    .nutrition-section {
        padding: 50px 20px;
    }
    
    .nutrition-section .container {
        max-width: 100%;
    }
    
    .nutrition-section-header {
        gap: 8px;
    }
    
    .nutrition-section-header-image {
        height: 100px;
    }
    
    .nutrition-section-title {
        font-size: 24px;
    }
    
    .nutrition-section-separator {
        max-width: 100%;
        margin-top: 0;
    }
    
    .nutrition-section-description {
        font-family: Inter;
        font-size: 16px;
    }
    
    .nutrition-section-items {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
        margin-top: 0;
    }
    
    .nutrition-item {
        padding: 16px;
        min-height: auto;
    }
    
    .nutrition-item-content {
        gap: 8px;
    }
    
    .nutrition-item-title {
        font-size: 24px;
    }
    
    .nutrition-item-separator {
        width: 60px;
        height: 2px;
    }
    .nutrition-item-description {
        font-family: Inter;
        font-size: 16px;
    }
}

/* Documents Section */
.documents-section {
    background-color: #fff;
    padding: 80px 20px;
    width: 100%;
}

.documents-section .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    gap: 40px;
}

.documents-section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 32px;
    z-index: 1;
}

.documents-section-title {
    font-size: 43px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
}

.documents-section-subtitle {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    margin: 0;
    max-width: 600px;
}

.documents-section-large-cards {
    display: flex;
    flex-direction: column;
    width: 620px;
    gap: 80px;
    align-items: stretch;
}

.documents-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 1;
}

.documents-card-icon {
    width: 180px;
    max-width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 100px;
    background: rgba(14, 178, 241, 0.19);
}

.documents-card-icon img {
    width: 114px;
    height: auto;
    object-fit: contain;
}

.documents-card-description {
    font-family: Inter;
    font-size: 18px;
    font-weight: 400;
    line-height: normal;
    color: #262A74;
    flex: 1;
}

.documents-section-small-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 900px;
    align-items: stretch;
    margin-top: 20px;
}

.documents-card--small {
    padding: 8px;
    background: #EEEEEE;
    border-radius: 20px;
    gap: 4px;
}

.documents-card--small .documents-card-icon {
    width: 56px;
    height: 56px;
    max-width: 56px;
    background: none
}

.documents-card--small .documents-card-description {
    font-size: 16px;
}

.documents__images {
    position: absolute;
    display: flex;
    width: 1200px;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
}

.documents__images--background {
    z-index: 0;
}

.documents__image--1 {
    position: absolute;
    width: auto;
    height: 342px;
    object-fit: contain;
    left: 5%;
    top: 50%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    z-index: 0;
}

.documents__image--2 {
    position: absolute;
    width: auto;
    height: 342px;
    object-fit: contain;
    right: 5%;
    top: -5%;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    z-index: 0;
}

@media (max-width: 768px) {
    .documents-section {
        padding: 50px 20px;
    }
    
    .documents-section .container {
        max-width: 100%;
    }
    
    .documents-section-header {
        gap: 16px;
        margin-bottom: 16px;
    }

    .documents-section-title {
        font-size: 24px;
    }

    .documents-section-separator {
        width: 150px;
    }
    
    .documents-section-subtitle {
        font-size: 16px;
        max-width: 100%;
    }
    
    .documents-section-large-cards {
        width: 100%;
        gap: 32px;
    }
    
    .documents-card {
        gap: 16px;
    }

    .documents-card--small {
        gap: 4px;
    }
    
    .documents-card-icon {
        width: 74px;
        height: 74px;
        max-width: 74px;
    }
    
    .documents-card-icon img {
        width: 46px;
    }
    
    .documents-card-description {
        font-size: 16px;
    }
    
    .documents-section-small-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        width: 100%;
        margin-top: 20px;
    }
    
    .documents-card--small .documents-card-icon {
        width: 24px;
        height: 24px;
        max-width: 24px;
    }
    
    .documents-card--small .documents-card-description {
        font-size: 8px;
    }
    
    .documents__images {
        width: 100%;
    }
    
    .documents__image--1 {
        height: 140px;
        left: -16%;
        top: 35%;
    }
    
    .documents__image--2 {
        height: 140px;
        right: -18%;
        top: -3%;
    }
}

