* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat Alternates", Arial, sans-serif;
}

body {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #f5f5f5;
    align-items: flex-start;
}

.sidebar::before {
    background: linear-gradient(90deg, #ABBFB2 0%, #6A8373 100%);
}

header {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 20px 20px;
    filter: drop-shadow(0px 4px 21.4px rgba(0, 0, 0, 0.25));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(2px);
    margin-left: 320px;
}

.desktop-header {
    display: flex;
    width: 100%;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
    width: 30%;
    margin-left: 20px;
}

.menu-toggle {
    width: 50px;
    height: 50px;
    cursor: pointer;
    filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.25));
}

.logo {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    color: #333;
}

.logo img {
    height: 90px;
    margin-right: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 30%;
    gap: 20px;
}

/* Обновленные стили для кнопки Контакты */
.contacts-btn {
    background: #ffffff;
    box-shadow: inset 0px 4px 4px 1px rgba(0, 0, 0, 0.15);
    border-radius: 0px 25px;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 20px;
    color: #aaaaaa;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    text-shadow: 0px 1px 3.4px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.contacts-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.home-icon {
    cursor: pointer;
    height: 50px;
}

.mobile-header {
    display: none;
}
.aggr-text-sider {
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    text-align: center;
    color: #5B2812;
}
.aggr-modal-slide-text {
    font-weight: 400;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    color: #5B2812;
}
@media (max-width: 900px) and (min-width: 800px) {
    /* Сохраняем десктопный header без изменений */
    .contacts-btn {
        display: none;
    }
}

@media (max-width: 799px) and (min-width: 699px) {
    /* Сохраняем десктопный header без изменений */
    header {
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
        border-radius: 0px 0px 20px 20px;
        filter: drop-shadow(0px 4px 21.4px rgba(0, 0, 0, 0.25));
        backdrop-filter: blur(5px);
    }
}
@media (min-width: 701px) and (max-width: 900px) {
    .aggr-modal-slide-text {
        font-size: 18px;
    }
}
@media only screen and (max-width: 699px) {
    /* Скрыть десктопную шапку */
    .desktop-header {
        display: none;
    }

    /* Показать мобильную шапку */
    .mobile-header {
        display: block;
    }

    /* Стили для header */
    header {
        height: 253.12px;
        background: none;
        padding: 0;
        position: relative;
        overflow: hidden;
        /* Убираем новые стили для мобильной версии */
        background: none;
        box-shadow: none;
        border-radius: 0;
        filter: none;
        backdrop-filter: none;
        margin-left: 0px;
    }

    /* Фон шапки */
    .mobile-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("/static/img/home/family.jpg") no-repeat center center;
        background-size: cover;
        z-index: -1;
    }

    /* Кнопка меню слева */
    .mobile-menu-btn {
        position: absolute;
        width: 86px;
        height: 31.68px;
        left: 0;
        top: 8px;
        background: #dfc070;
        box-shadow: 0px 4.52632px 9.05263px rgba(0, 0, 0, 0.25);
        border-radius: 0px 117.684px 117.684px 0px;
        border: none;
        color: white;
        font-family: "Montserrat Alternates", sans-serif;
        font-size: 14px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Кнопка справа с иконками */
    .mobile-right-btn {
        position: absolute;
        width: 86px;
        height: 31.68px;
        right: 0;
        top: 8px;
        background: #dfc070;
        box-shadow: 0px 4.52632px 9.05263px rgba(0, 0, 0, 0.25);
        border-radius: 117.684px 0px 0px 117.684px;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        z-index: 10;
    }

    .mobile-right-btn i {
        color: #333;
        font-size: 16px;
    }

    /* Логотип по центру */
    .mobile-logo {
        position: absolute;
        width: 118px;
        height: 65px;
        left: 50%;
        top: 12px;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
    }

    .mobile-logo img {
        max-width: 100%;
        max-height: 100%;
    }
}
.menu {
    /* Исходные стили */
    width: 320px;
    height: 24px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 33px 0;
    padding-left: 38px;
    box-sizing: border-box;
    display: flex;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
    overflow: hidden;
}

.menu > span {
    display: inline-block;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.menu::before {
    /* Стили для фона */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(90deg, #f2faff 0%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(-180deg);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.menu:hover {
    color: #868686;
}

.menu:hover > span {
    /* Сдвигаем на половину ширины блока минус начальный отступ */
    transform: translateX(calc(160px - 38px - 50%));
}

.menu:hover::before {
    opacity: 1;
}

.n1 {
    order: 1;
}
.n2 {
    order: 2;
}


.main-1 {
    position: relative;
    flex: 1;
    top: 0px;
    background: url('/static/img/aggregator/mainimg.svg');
    background-size: cover;
    height: 700px;
    justify-content: center;
    align-items: center;
}

.main-1-buttons-panel {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 348px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 26.5%, rgba(58, 58, 58, 0.56) 100%);
    box-shadow: inset 0px 7px 8px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(3px);
    border-radius: 20px 20px 0px 0px;
    z-index: 50;
}

.main-1-buttons-panel-mobile {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 50;
    display: none;
}

.main-1-yellow-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 27px;
    margin-top: 39px;
    margin-bottom: 29px;
}

.main-1-blue-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-1-blue-button-item {
    padding-left: 32px;
    padding-right: 32px;
}

.main-1-blue-button-item:first-child {
    margin-left: 0;
}
.main-1-blue-button-item:last-child {
    margin-right: 0;
}

.main-1-blue-button-wrapper {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-1-blue-button-animated {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(180deg, #97cdd1 0%, #719a9d 100%);
    box-shadow: 0px 10px 10px rgba(27, 37, 37, 0.25), inset 0px -6.66667px 6.66667px #6c9296, inset 0px 6.66667px 6.66667px #9dd4d9;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
    will-change: width, height, box-shadow, background;
}

.main-1-blue-button-animated:hover {
    width: 180px;
    height: 180px;
}

.main-1-blue-button-animated:active {
    background: linear-gradient(180deg, #94c8cc 100%, #70989b 0%);
    box-shadow: 1.46958e-15px 24px 48px rgba(26, 36, 37, 0.2295), inset -4.47404e-16px -7.30667px 7.30667px #6b9194, inset 4.47404e-16px 7.30667px 7.30667px #99cfd3;
}

.main-1-blue-button-caption {
    margin-top: 13px; /* Расстояние от кнопки до надписи */
    text-align: center;
    height: 24px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    width: 180px; /* Фиксированная ширина для центрирования */
}

@media (max-width: 1250px) {
    .first-step-inactive {
        display: none;
    }
}

.main-1-yellow-button {
    width: 320px;
    height: 44px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.main-1-yellow-button:hover {
    width: 320px;
    height: 44px;
    background: linear-gradient(180deg, #ffe7a9 0%, #e9c76f 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}

.main-1-yellow-button:active {
    width: 320px;
    height: 44px;
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: inset 0px 5px 4.4px rgba(31, 31, 31, 0.25);
    border-radius: 10px;
}
.btn-icon {
    position: absolute;
    margin-right: 180px;
}
.btn-text {
    width: 76px;
    height: 24px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    text-shadow: 0px 3px 4px rgba(0, 0, 0, 0.4);
}
.p1 {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    /* identical to box height */

    color: #7C8C82;

    text-shadow: 0px 4px 6.3px rgba(0, 0, 0, 0.26);
}
.divp1 {
    display: flex;
    justify-content: center;
    padding-top: 50px;
}
.divp2 {
    margin-top: 88px;
    width: 100%;
    height: 304px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #56847e 0%, rgba(153, 208, 213, 0) 78%);
    border-radius: 0px;
    justify-content: space-between;
}
.divp3 {
    margin-top: 88px;
    width: 100%;
    height: 304px;
    display: flex;
    align-items: center;
    background: linear-gradient(-90deg, #56847e 0%, rgba(153, 208, 213, 0) 78%);
    border-radius: 0px;
    justify-content: space-between;
}
.p2 {
    max-width: 1097px;
    margin-left: 50px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 44px;
    margin-right: 50px;
    color: #5b2812;
}
.about {
    width: 238px;
    height: 44px;
    border: none;
    margin-right: 50px;
    margin-left: 50px;
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
}
.aboutp {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;

    color: #ffffff;

    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 102, 102, 0.41);
    backdrop-filter: blur(10.3px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 1232px;
    height: 835px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10.95px);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: auto;
}

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

.modal-text {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 30px;
    font-size: 18px;
    line-height: 1.6;
}

.modal-text h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}
.main-2 {
    position: relative;
    flex: 1;
    background: url('/static/img/home/main2.jpg');
    background-size: cover;
    display: flex;
    justify-content: center; /* Вертикальное центрирование (при column) */
    align-items: center;
    flex-direction: column;
    padding-top: 20px;
    padding-bottom: 20px;

}
.form-calendar {
   display: flex;
   position: relative;
    justify-items: center;
    align-items: center;
}
.main-3 {
    position: relative;
    flex: 1;
    background: url('/static/img/home/main3.jpg');
    background-size: cover;
    /*height: 100vh;*/
    justify-content: center;
    align-items: center;
    overflow: visible;
}
.main-4 {
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    flex: 1;
    background: url('/static/img/aggregator/main-4.png');
    background-size: cover;
    align-items: center;
}
.main-5 {
    position: relative;
    padding-top: 40px;
    flex: 1;
    background-image: url('/static/img/home/double.png');
    background-size: cover;
    justify-content: center;
    align-items: center;
}
.main-6 {
    position: relative;
    padding-top: 40px;
    flex: 1;
    background: url('/static/img/home/main3.jpg');
    background-size: cover;
    justify-content: center;
    align-items: center;
}
.main-7 {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    background-image: url('/static/img/aggregator/main-7.png');
    background-size: auto 200%; /* Высота на всю высоту блока, ширина автоматически */
    background-position: 135% center; /* Центрирование */
    background-repeat: no-repeat;
    justify-content: center;
    align-items: center;
}
.main-7-border {
    position: relative;
    width: 90%;
    max-width: 1500px;
    height: 800px;
    border-radius: 35px;
    z-index: 10000;
    /* Прозрачный фон контейнера */
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
}
.main-7-border::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to bottom, #FFBB00, #FFE8AC);
    border-radius: 35px;
    z-index: -1;
    padding: 6px; /* Толщина рамки */
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}


.main-7-button {
    width: 80%;
    height: 120px;
    background: linear-gradient(180deg, #FFFFFF 0%, #D8D8D8 100%);
    box-shadow: 1.46141e-15px 5px 14.3px rgba(51, 51, 51, 0.25), inset -4.44919e-16px -7.26607px 7.26607px #CECECE, inset 4.44919e-16px 7.26607px 7.26607px #FFFFFF;
    border-radius: 96px;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    color: #616161;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding-left: 30px;
    align-items: center;
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-right: 70px;
}
.main-4-card {
    display: flex;
    position: relative;
    justify-items: center;
    align-items: center;
    width: 409px;
    height: 575px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 18.4px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6.85px);
    border-radius: 10px;
    flex-direction: column;
}
.main-4-card-img {
    margin-top: 30px;
    margin-bottom: 50px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
}
.main-4-card-img.deppr {
   background: url('/static/img/aggregator/depression.png');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}
.main-4-card-img.rel {
   background: url('/static/img/aggregator/relation.png');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}
.main-4-card-img.hard{
   background: url('/static/img/aggregator/self.png');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}
.main-4-card-img.fear{
   background: url('/static/img/aggregator/fear.png');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}
.main-4-card-img.sham{
   background: url('/static/img/aggregator/shame.png');
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}
.main-4-card-txt {
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    color: #616161;
}
.main-4-card-txt-mobile {
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    text-align: center;
    color: #616161;
    display: none;
}
.carousel-container {
    position: relative;
    width: 100%;
    margin: 100px auto;
    padding: 0 50px;
}

.main-1-modal {
    width: 100%;
    height: 235px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(7.15px);
    bottom: 0px;
    position: absolute;
    transition: height 0.5s ease;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
}
.carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 550px;
    perspective: 1500px;
}

.carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.carousel-card.left,
.carousel-card.right {
    width: 334px;
    height: 334px;
    box-shadow: 0px -2px 19.1px rgba(0, 0, 0, 0.25);
    z-index: 1;
    opacity: 0.9;
    filter: brightness(0.9);
}

.carousel-card.center {
    width: 518px;
    height: 518px;
    background: #ffffff;
    box-shadow: 0px 37px 40.7px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%);
    z-index: 3;
}

.carousel-card.left {
    transform: translateX(calc(-50% - 550px)) translateY(-50%);
}

.carousel-card.right {
    transform: translateX(calc(-50% + 550px)) translateY(-50%);
}

.carousel-card:hover .card-image {
    transform: scale(1.05);
}

.carousel-card.hidden {
    display: none;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: 0px 1px;
}

.carousel-card:hover .card-image {
    transform: scale(1.05);
}

.carousel-card.hidden {
    display: none;
}

.name-display {
    width: 518px;
    height: 49px;
    margin: 30px auto 0;
    background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
    box-shadow: 1.46141e-15px 5px 14.3px rgba(51, 51, 51, 0.25), inset -4.44919e-16px -7.26607px 7.26607px #cecece, inset 4.44919e-16px 7.26607px 7.26607px #ffffff;
    border-radius: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 400;
    color: #9A9A9A;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 10;
}

.carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    cursor: pointer;
    z-index: 10;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.carousel-btn.prev {
    width: 64px;
    height: 64px;
    background: url('/static/img/home/left-arrow.svg');
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
}

.carousel-btn.next {
    margin-left: 90%;
    width: 64px;
    height: 64px;
    background: url('/static/img/home/right-arrow.svg');
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
}

.block-column-wrapper {
    margin: 0;
}
.main-1-buttons-panel-mobile-block {
    position: relative;
    justify-content: center;
    align-items: center;
    padding-left: auto;
    padding-right: auto;
}

.divp1m4 {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    width: 70%;
    min-height: 164px;
    background: rgba(255, 255, 255, 0.57);
    box-shadow: inset 0px 9px 10.6px rgba(0, 0, 0, 0.25);
    border-radius: 30px;
    margin-left: auto;
    margin-right: auto;
font-family: 'Montserrat Alternates';
font-style: normal;
font-weight: 400;
font-size: 36px;
line-height: 44px;
text-align: center;
color: #EBA900;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
word-break: normal;
padding-left: 20px;
padding-right: 20px;
}

.list {
    position: relative;
    display: flex;
    height: 89px;
    background: linear-gradient(90deg, #6A8373 0%, rgba(147, 155, 150, 0) 78%);
    border-radius: 0px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 30px;
}

.list-button {
    width: 382px;
    height: 44px;
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    border: none;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.list-button:hover {
    background: linear-gradient(180deg, #ffe7a9 0%, #e9c76f 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
}
.list-button:active {
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: inset 0px 5px 4.4px rgba(31, 31, 31, 0.25);
}
.list-button-icon {
    width: 382px;
    height: 44px;
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    border: none;
    display: flex;
    align-items: center;
    justify-items: center;
font-family: 'Montserrat Alternates';
font-style: normal;
font-weight: 400;
font-size: 24px;
line-height: 29px;
position: relative;
color: #FFFFFF;

text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);

}
.basement {
    bottom: 0;
    width: 100%;
    height: 348px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 26.5%, rgba(159, 159, 159, 0.56) 100%);
    opacity: 0.62;
    box-shadow: 0px -12px 20px rgba(0, 0, 0, 0.25), inset 0px 7px 8px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(3px);
    border-radius: 20px 20px 0px 0px;
}
.basement-back {
    background: linear-gradient(90deg, #6A8373 16.5%, rgba(147, 155, 150, 0.56) 100%);
    border-radius: 0px 20px 0px 0px;
    height: 348px;
    position: relative;
    transform-origin: 0 0;
    transform: rotate(0deg) scale(1, 1);
}
.agr {
    display: flex;
    margin-top: 153px;
    margin-bottom: 100px;
}
.agr-left {
    width: 1115.74px;
    height: 145px;
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    box-shadow: inset -8px 0px 11.8px rgba(0, 0, 0, 0.24);
    display: flex;
    align-items: center;
}
.agr-right {
    border: none;
    width: 381.78px;
    height: 145px;
    background: linear-gradient(207.43deg, rgba(244, 244, 244, 0.38) 17.08%, rgba(255, 255, 255, 0.38) 48.68%, rgba(221, 221, 221, 0.38) 82.92%);
    box-shadow: 0px 9px 14.5px rgba(0, 0, 0, 0.11), inset 0px 6px 4px rgba(255, 255, 255, 0.25), inset 0px -4px 10.7px rgba(0, 0, 0, 0.17);
    border-radius: 0px 20px 20px 0px;
    position: relative;
    display: flex;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 44px;
    color: #959595;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    justify-content: center;
    align-items: center;
}
.agr-right:hover {
    background: linear-gradient(207.43deg,
        rgba(255, 235, 190, 0.85) 10%,
        rgba(255, 215, 140, 0.85) 55%,
        rgba(235, 190, 100, 0.85) 90%);
    box-shadow:
        0px 8px 12px rgba(0, 0, 0, 0.20),          /* внешняя */
        inset 0px 4px 6px rgba(255, 255, 255, 0.30), /* верхняя внутренняя */
        inset 0px -3px 8px rgba(0, 0, 0, 0.15);      /* нижняя внутренняя */
}
.agr-right:active {
    box-shadow:
        inset 0px 4px 6px rgba(0, 0, 0, 0.30),   /* верхняя внутренняя */
        inset 0px -4px 8px rgba(0, 0, 0, 0.25);  /* нижняя внутренняя */
}
.center-block {
    display: block;
    text-align: center;
}
.center-div {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 100px;
}

.card {
    width: 457px;
    height: 394px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.card-block-left {
    position: relative;
    height: 81px;
    background: white;
    border-radius: 10px 10px 0 0;
    padding: 4px; /* Отступ для градиентной рамки */
}

.card-block-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #6A8373 0%, rgba(147, 155, 150, 0) 78%);
    border-radius: 10px 10px 0 0;
    z-index: 0;
}
.card-block-right {
    position: relative;
    height: 81px;
    background: white;
    border-radius: 10px 10px 0 0;
    padding: 4px; /* Отступ для градиентной рамки */
}

.card-block-right::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-90deg, #6A8373 0%, rgba(147, 155, 150, 0) 78%);
    border-radius: 10px 10px 0 0;
    z-index: 0;
}
.card-block-inner {
    position: relative;
    height: 100%;
    background: white;
    border-radius: 6px 6px 0 0; /* На 4px меньше, чем внешний радиус */
    display: flex;
    align-items: center;
    z-index: 1;
    justify-content: center;
}

.bottom-block {
    flex: 1;
    background: linear-gradient(180deg, rgba(214, 214, 214, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 10px 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: #333;
    justify-content: space-between;
}
.card-title {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 49px;
    color: #7C8C82;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
}
.card-title-sm {
font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 33px;
    line-height: 42px;
    color: #7C8C82;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
}
.card-btn {
    width: 186px;
    height: 44px;
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border: none;
    margin-left: 200px;
}

.basement {
    position: relative;
    bottom: 0; /* Привязка к низу страницы */
    left: 0;
    width: 100vw; /* Ширина = ширина экрана */
    z-index: 1000;

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 26.5%, rgba(159, 159, 159, 0.56) 100%);
    opacity: 0.62;
    box-shadow: 0px -12px 20px rgba(0, 0, 0, 0.25), inset 0px 7px 8px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(3px);
    border-radius: 20px 20px 0px 0px;
}

.basement::before {
    content: "";
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 26.5%, rgba(159, 159, 159, 0.56) 100%);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 26.5%, rgba(159, 159, 159, 0.56) 100%);
    opacity: 0.62;
    box-shadow: 0px -12px 20px rgba(0, 0, 0, 0.25), inset 0px 7px 8px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(3px);
    border-radius: 20px 20px 0px 0px;
    z-index: 100;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 348px;
    padding-left: 320px;
    padding-top: 150px;
    display: flex;
    gap: 15px;
}
.footer-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}
.footer-icons {
    position: absolute;
    bottom: 160px;
    left: 320px;
    z-index: 101;
}

@media (min-width: 700px) and (max-width: 1400px) {
    .msg {
        padding-left: 10px;
    }
    header {
        margin-left: 0px;
    }
    .divp2 {
        height: 240px;
    }
    .p2 {
        font-size: 28.8px;
        line-height: 35px;
    }
    .carousel-card.left,
    .carousel-card.right {
        width: 267px;
        height: 267px;
    }

    .carousel-card.center {
        width: 414px;
        height: 414px;
    }

   .carousel-card.left {
        transform: translateX(calc(-50% - 250px)) translateY(-50%);
    }

    .carousel-card.right {
        transform: translateX(calc(-50% + 250px)) translateY(-50%);
    }
    .footer-icons {
        margin-left: 13%;
        margin-right: auto;
    }
    .agr {
        margin-top: 200px;
    }
    .agr-left {
        max-width: 700px;
    }
}
@media (min-width: 1401px) and (max-width: 1800px) {
    header {
        margin-left: 250px;
    }
    .footer {
        width: 100%;
    }
    .carousel-card.left,
    .carousel-card.right {
        width: 267px;
        height: 267px;
    }

    .carousel-card.center {
        width: 414px;
        height: 414px;
    }

    .carousel-card.left {
        transform: translateX(calc(-50% - 300px)) translateY(-50%);
    }

    .carousel-card.right {
        transform: translateX(calc(-50% + 300px)) translateY(-50%);
    }
}

@media (min-width: 10px) and (max-width: 699px) {
    .main-1-buttons-panel {
        display: none;
    }
    .main-1-modal {
        display: none;
    }
    .divp2 {
        height: 290px;
        padding-top: 5px;
        margin-top: 40px;
        display: block;
    }
    .p2 {
        font-size: calc(13px + 2vw);
        line-height: 21px;
        margin: 3%;
        margin-bottom: 0;
    }
    .p1 {
        font-size: 30px;
        line-height: 36px;
    }
    .about {
        width: 129px;
        height: 30px;
        background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
        box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.25), inset 0px 1.17188px 2.74219px rgba(255, 255, 255, 0.25);
        border-radius: 14px;
    }
    .aboutp {
        height: 17px;
        font-family: "Montserrat Alternates";
        font-style: normal;
        font-weight: 400;
        font-size: 19px;
        line-height: 21px;
        color: #ffffff;
        text-shadow: 0px 0.703125px 0.9375px rgba(0, 0, 0, 0.4);
    }
    .divp1m4 {
        display: flex;
        font-size: 20px;
        width: 90%;
line-height: 28px;
    }
    .main-1 {
        position: relative;
        height: 30vh;
        top: 0px;
        background-image: url('/static/img/home/mainimg.svg');
        background-size: 100% auto; /* Ширина 100%, высота автоматическая */
        background-repeat: no-repeat;
        background-position: center center;
        display: none;
    }
    .carousel-card.left,
    .carousel-card.right {
        width: 78px;
        height: 78px;
        box-shadow: 0px -2px 19.1px rgba(0, 0, 0, 0.25);
        z-index: 1;
        opacity: 0.9;
        filter: brightness(0.9);
    }

    .carousel-card.center {
        width: 121px;
        height: 121px;
        background: #ffffff;
        box-shadow: 0px 37px 40.7px rgba(0, 0, 0, 0.25);
        z-index: 3;
    }

    .carousel-card.left {
        transform: translateX(calc(-50% - 150px)) translateY(-50%);
    }

    .carousel-card.right {
        transform: translateX(calc(-50% + 150px)) translateY(-50%);
    }

    .carousel {
        gap: 0px;
        height: 200px;
    }
    .name-display {
        width: 370px;
        margin: 0;
    }
    .agr-right {
        width: 150px;
        font-size: 20px;
        line-height: 28px;
    }
    .footer-icons {
        bottom: 80px;
        left: 50px;
    }
    .footer {
        height: 200px;
    }
    .basement-back {
        height: 200px;
    }
    .divp3 {
        flex-direction: column;
        margin-top: 40px;
    }
    .about {
        width: 120px;
        height: 44px;
        border: none;
        bottom: 0;
        margin-left: 30%;
        margin-right: auto;
        margin-top: 10px;
        margin-bottom: 30px;
        background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
        box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
        border-radius: 10px;
    }

    .modal {
        background: linear-gradient(0deg, #749da1 17.5%, rgba(153, 208, 213, 0) 100%);
        border-radius: 0px;
        backdrop-filter: blur(100px);
        height: 100vh;
        width: 100wh;
    }
    .modal-content {
        width: 90%;
        height: 100vh;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
        border-radius: 30px;
        padding: 40px;
        position: relative;
        overflow: auto;
    }

    .list-button {
        width: 300px;
        height: 38px;
        background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25), inset 0px 1.17188px 2.74219px rgba(255, 255, 255, 0.25);
        border-radius: 60px;
font-family: 'Montserrat Alternates';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
color: #FFFFFF;

text-shadow: 0px 0.9375px 0.9375px rgba(0, 0, 0, 0.25);

    }
    .list-button-icon {
        padding-left: 15px;
        width: 300px;
        height: 38px;
        background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25), inset 0px 1.17188px 2.74219px rgba(255, 255, 255, 0.25);
        border-radius: 60px;
        font-family: 'Montserrat Alternates';
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 19px;
color: #FFFFFF;

text-shadow: 0px 0.9375px 0.9375px rgba(0, 0, 0, 0.25);
    }
    .list {
        background: none;
        margin-top: 0;
    }
    .carousel-container {
        width: auto;
        margin-left: 1%;
        padding: 0;
        margin-top: 10px;
        margin-bottom: 0;
    }

    .calendar-container-block {
        margin-left: 30%;
    }
    .main-4 {
        position: relative;
        padding-top: 0px;
        flex: 1;
        background: url('/static/img/aggregator/main-4.png');
        background-size: cover;
        /*height: 50vh;*/
        justify-content: center;
        align-items: center;
    }
    .main-3 {
        position: relative;
        flex: 1;
        background: url('/static/img/home/main3.jpg');
        background-size: cover;
        /*height: 60vh;*/
        justify-content: center;
        align-items: center;
    }
    .name-display {
        background: none;
        box-shadow: none;
        border-radius: none;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .agr {
        height: 160px;
        margin-top: 100px;
    }
    .agr-right {
        height: 160px;
    }
    .agr-left {
        height: 160px;
    }
    .calendar-container-block-full {
        max-width: 170px;
        max-height: 260px;
    }
    .main-1-buttons-panel-mobile {
        display: block;
        height: 100px;
        padding-left: auto;
        padding-right: auto;
        padding-left: 20%;
    }
    .main-1-yellow-button {
        width: 237px;
        height: 25px;
        background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
        box-shadow: 0px 1.40625px 2.10938px rgba(0, 0, 0, 0.25), inset 0px 1.17188px 2.74219px rgba(255, 255, 255, 0.25);
        border-radius: 14px;
        font-size: 14px;
        margin-bottom: 10px;
    }
    .carousel-wrapper {
        margin-top: 10px;
    }
    .n1 {
        order: 2;
    }
    .n2 {
        order: 1;
    }
}
  @media (max-width: 700px) {
    .carousel-btn.prev,
    .carousel-btn.next {
      display: none !important;
    }
  }
.carousel-wrapper {
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 100px;
    margin-top: 200px;
}

.carousel-title {
    margin-top: 0;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #ddd;
}

/* Контейнер для карусели */
.swipe-container {
    position: relative;
    overflow: hidden;
    height: 400px;
}

/* Стили для слайдов */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

/* Начальные позиции для слайдов */
.slide.active {
    transform: translateX(0);
}
.slide.next {
    transform: translateX(100%);
}
.slide.prev {
    transform: translateX(-100%);
}

/* Индикаторы для мобильного режима */
.indctrs {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}
.indctr {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}
.indctr.active {
    background: #555;
}

/* Десктопный режим */
@media (min-width: 700px) {
    .swipe-container {
        height: 250px;
        display: flex;
        position: static;
        overflow: visible;
        gap: 100px;
        padding: 0 20px;
        justify-content: center;
        align-items: center;
    }
    .slide {
        position: relative;
        flex: 1 1 calc(50% - 50px);
        max-width: 457px;
        transform: none !important;

    }
    .indctrs {
        display: none;
    }
}

        /* Цвета для слайдов */
.card {
    width: 457px;
    height: 394px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.card-block-left {
    position: relative;
    height: 81px;
    background: white;
    border-radius: 10px 10px 0 0;
    padding: 4px; /* Отступ для градиентной рамки */
}
.card-block-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #6A8373 0%, rgba(147, 155, 150, 0) 78%);
    border-radius: 10px 10px 0 0;
    z-index: 0;
}
.card-block-right {
    position: relative;
    height: 81px;
    background: white;
    border-radius: 10px 10px 0 0;
    padding: 4px; /* Отступ для градиентной рамки */
}
.card-block-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-90deg, #6A8373 0%, rgba(147, 155, 150, 0) 78%);
    border-radius: 10px 10px 0 0;
    z-index: 0;
}
.card-block-inner {
    position: relative;
    height: 100%;
    background: white;
    border-radius: 6px 6px 0 0; /* На 4px меньше, чем внешний радиус */
    display: flex;
    align-items: center;
    z-index: 1;
    justify-content: center;
}
.bottom-block {
    flex: 1;
    background: linear-gradient(180deg, rgba(214,214,214,0.4) 0%, rgba(255,255,255,0.4) 100%);
    box-shadow: inset 0px 4px 10px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 10px 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    color: #333;
    justify-content: space-between;
}
.card-title {
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 49px;
    color: #7C8C82;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
}
.card-btn {
    width: 186px;
    height: 44px;
    background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    border: none;
    margin-left: 200px;
}

@media (min-width: 10px) and (max-width: 699px) {
    .card {
        width: 100%;
    }
    .card-btn {
        background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
        box-shadow: 0px 1.40625px 2.10938px rgba(0, 0, 0, 0.25), inset 0px 1.17188px 2.74219px rgba(255, 255, 255, 0.25);
        border-radius: 26px;
        margin-left: 17%;
    }
    .carousel-wrapper {
        margin-top: 50px;
    }
}


.form-option-section {
    background: #FFFDFD;
    box-shadow: inset 0px -3px 10px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    width: 70%;
}
.form-option-title {
    font-size: 16px;
    margin-bottom: 12px;
    color: #555;
    font-weight: 500;
    margin-left: 50%;
    transform: translateX(-30%);
}
.form-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-option {
    padding: 12px 0;
    text-align: center;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    background: #f0f0f0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.form-option:hover {
    background-color: #e6e6e6;
}
.form-option.selected {
    background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
    box-shadow: 0px 6.11925px 9.17887px rgba(0, 0, 0, 0.25), inset 0px 5.09937px 11.9325px rgba(255, 255, 255, 0.25);
                color: #333;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    color: #FFFFFF;
    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}
.form-days {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.form-day-block {
    display: flex;
    gap: 10px;
}
.form-day {
    padding: 12px 5px;
    text-align: center;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    background: #f0f0f0;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
}

.form-day:hover {
    background-color: #e6e6e6;
}

.form-day.selected {
    background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
    box-shadow: 0px 6.11925px 9.17887px rgba(0, 0, 0, 0.25), inset 0px 5.09937px 11.9325px rgba(255, 255, 255, 0.25);
    color: #333;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    color: #FFFFFF;
    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}
.form-day.special {
    position: relative;
}
.form-day.special::after {
    content: '▲';
    position: absolute;
    top: -8px;
    right: 15px;
    font-size: 12px;
    color: #D5B460;
}
.form-time-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}
.form-time-inputs span {
    color: #555;
}
input[type="time"] {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    width: 110px;
}
input[type="time"]:focus {
    border-color: #D5B460;
    outline: none;
}

.form-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
    color: #333;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0px 6.11925px 9.17887px rgba(0, 0, 0, 0.25), inset 0px 5.09937px 11.9325px rgba(255, 255, 255, 0.25);
    font-family: 'Montserrat Alternates';
    font-style: normal;
    color: #FFFFFF;
    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}

.form-submit-btn:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3), inset 0px 5.09937px 11.9325px rgba(255, 255, 255, 0.25);
}
.form-container {
    border-radius: 12px;
}
.main-1-content-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.main-1-short-content, .main-1-full-content {
    height: 100%;
    transition: opacity 0.3s ease;
}
.main-1-full-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}
.main-1-full-content::-webkit-scrollbar {
    width: 6px;
}
.main-1-full-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.main-1-content-wrapper-mobile {
    flex: 1;
    overflow: hidden;
    position: absolute;
    top: -100px;
    z-index: 100;
    display: none;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0px 0.9375px 4.6875px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1.67578px);
    width: 100%;
    height: 100px;
}
.main-1-content-wrapper-mobile p {
font-size: 13px;
text-align: center;
}
.main-1-buttons-container {
    display: flex;
    justify-content: center;
    padding: 15px 0 5px 0;
    width: 100%;
    margin-top: 10px;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.main-1-more-btn, .main-1-less-btn {
    width: 383px;
    height: 44px;
    background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
    box-shadow: 0px 6px 9px rgba(0, 0, 0, 0.25), inset 0px 5px 11.7px rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #FFFFFF;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}
.main-1-more-btn:hover, .main-1-less-btn:hover {
    transform: translateY(-2px);
}
.main-1-expanded .main-1-short-content {
    opacity: 0;
    visibility: hidden;
}
.main-1-expanded .main-1-full-content {
    opacity: 1;
    visibility: visible;
}
.main-7-arrow {
    border: none;
    background: none;
}
.main-2-left {

}

.big-button {
    height: 70px;
    background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
    box-shadow: 0px 6.11925px 9.17887px rgba(0, 0, 0, 0.25), inset 0px 5.09937px 11.9325px rgba(255, 255, 255, 0.25);
    border-radius: 20px;
}

@media (min-width: 10px) and (max-width: 699px) {
    .main-2 {
        flex-direction: column;
    }
    .form-days {
        flex-direction: column;
    }
    .form-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 0;
    }
    .main-7-button {
        width: 314px;
        height: 65px;
        background: linear-gradient(180deg, #FFFFFF 0%, #D8D8D8 100%);
        box-shadow: 3.42518e-16px 1.17188px 3.35156px rgba(51, 51, 51, 0.25), inset -1.04278e-16px -1.70299px 1.70299px #CECECE, inset 1.04278e-16px 1.70299px 1.70299px #FFFFFF;
        border-radius: 22.5px;
        font-weight: 400;
        font-size: 14px;
        line-height: 20px;
    }
    .main-7-border {
        height: 350px;
        gap: 20px;
    }
    .agr {
        width: 90%;
    }
    .main-4-card-txt {
        display: none;
    }
    .main-4-card-txt-mobile {
        display: flex;
    }
}
/* Стили модальных окон */
.main-7-modal {
    position: absolute;
    width: 99.3%;
    height: 98.8%;
    background: rgba(255, 255, 255, 0);
    border-radius: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    color: #333;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;

}
.main-7-modal.active {
    opacity: 1;
    visibility: visible;
    background: rgba(255, 255, 255, 1);
}
.main-7-modal-content {
    max-width: 800px;
    max-height: 100%;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #5b2812;
}
.main-7-modal.active .main-7-modal-content {
    opacity: 1;
    transform: translateY(0);
}
.main-7-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFFFFF;
    color: black;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 300000;
    opacity: 0;
    transform: scale(0.8);
    z-index: 10;
}
.main-7-modal.active .main-7-close-btn {
    opacity: 1;
    transform: scale(1);
}
.main-7-close-btn:hover {
    background: #888888;
    transform: scale(1.1) rotate(90deg);
}

/* Скрытие основного контента при активном модальном окне */
.main-7-modal-active .main-7-content > *:not(.main-7-modal) {
    opacity: 0 !important;
    pointer-events: none;
}
.msg-block-mobile {
    margin-top: 100px;
    display: none;
}
.msg {
    display: flex;
    width: 90%;
    max-width: 1500px;
    min-height: 71.69px;
    background: linear-gradient(90deg, #6A8373 7.5%, rgba(147, 155, 150, 0) 78%);
    border-radius: 0px;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 18.5px;
    line-height: 23px;
    color: #FFB800;
    text-shadow: 0px 3.08333px 3.08333px rgba(0, 0, 0, 0.52);
    padding-left: 5%;
    padding-right: 200px;
    align-items: center;
}
.msg-block {
    display: flex;
    margin-top: 100px;
}
.msg-input {
    padding-left: 20px;
    margin-left: 20px;
    min-width: 370px;
    width: 50%;
    height: 100%;
    background: #FFFFFF;
    box-shadow: 0px 6.16667px 10.5604px rgba(0, 0, 0, 0.25);
    border-radius: 26.9792px;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 24.6667px;
    line-height: 30px;
    color: #848484;
    text-shadow: 0px 3.08333px 3.08333px rgba(0, 0, 0, 0.25);
    border: none;
}
.main-4-carousel-container {
    position: relative;
    width: 100%;
    margin: 100px auto;
    padding: 0 50px;
}
.main-4-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 550px;
    perspective: 1500px;
}
.main-4-carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.main-4-carousel-card.left,
.main-4-carousel-card.right {
    width: 334px;
    height: 334px;
    box-shadow: 0px -2px 19.1px rgba(0, 0, 0, 0.25);
    z-index: 1;
    opacity: 0.9;
    filter: brightness(0.9);
}
.main-4-carousel-card.center {
    width: 518px;
    height: 518px;
    background: #ffffff;
    box-shadow: 0px 37px 40.7px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%);
    z-index: 3;
}
.main-4-carousel-card.left {
    transform: translateX(calc(-50% - 550px)) translateY(-50%);
}
.main-4-carousel-card.right {
    transform: translateX(calc(-50% + 550px)) translateY(-50%);
}
.main-4-carousel-card:hover .card-image {
    transform: scale(1.05);
}
.main-4-carousel-card.hidden {
    display: none;
}
.main-4-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: 0px 1px;
}
.main-4-carousel-card:hover .card-image {
    transform: scale(1.05);
}
.main-4-carousel-card.hidden {
    display: none;
}
.main-4-carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    cursor: pointer;
    z-index: 10;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}
.main-4-carousel-btn.prev {
    width: 64px;
    height: 64px;
    background: url('/static/img/home/left-arrow.svg');
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
}
.main-4-carousel-btn.next {
    margin-left: 90%;
    width: 64px;
    height: 64px;
    background: url('/static/img/home/right-arrow.svg');
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
}
.main-2-container {
    display: flex;
    flex-direction: row;
    position: relative;
    justify-items: center;
    justify-content: center;
    gap: 20px;
    padding-left: 100px;
}
@media (min-width: 10px) and (max-width: 699px) {
    .main-4-carousel {
        height: 250px;
    }
    .main-7-icon {
        height: 64px;
    }
    .main-7 {
        background-position: 60% center;
    }
    .main-7-arrow {
        display: none;
    }
    .msg {
        padding-left: 10px;
        padding-right: 0px;
        width: 95%;
    }
    .msg-input {
        font-size: 18px;
        line-height: 24px;
        padding-left: 5px;
        margin-left: 15px;
        max-width: 300px;
        min-width: 200px;
        display: flex;
        word-break: normal;
    }
/* Стилизация плейсхолдера */
    .msg-input::placeholder {
      white-space: wrap;
      display: flex;
      align-items: center;
      margin-top: 0px;
    }
    .list-icon {
        display: none;
    }
    .list {
        flex-direction: column;
        gap: 10px;
    }
    .list-button-icon {
        display: block;
    }
    .main-4-card {
        width: 150px;
        height: 200px;
    }
    .main-4-card-img {
        width: 80px;
        height: 80px;
    }
    .main-4-carousel-btn {
        display: none;
    }
    .main-4-carousel-container {
        margin: 100px auto;
        padding: 0 15px;
        height: 300px;
    }
    .form-container {
        margin-top: 20px;
    }
    .main-1-content-wrapper-mobile {
        display: flex;
        flex-direction: column;
        justify-items: center;
    }
    .main-1-short-content-mobile {
        display: block;
    }
    .main-2-container {
        flex-direction: column;
        padding-left: 0px;
    }
}

.main-1-modal-toggle {
    display: none;
    width: 113px;
    height: 25px;
    background: linear-gradient(180deg, #DFC070 0%, #D5B460 100%);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.25), inset 0px 1.17188px 2.74219px rgba(255, 255, 255, 0.25);
    border-radius: 14px;
    border: none;
    font-family: 'Montserrat Alternates';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    /* identical to box height */
    color: #FFFFFF;
    text-shadow: 0px 0.9375px 0.9375px rgba(0, 0, 0, 0.25);
}
/* Стили для модального окна */
.main-1-modal-overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 140%;
    backdrop-filter: blur(10.3px);
    z-index: 101;
    justify-content: center;
    align-items: center;
    top: -253px; /* Сдвигаем overlay вверх на 253px */
}
.main-1-modal-content {
    background: white;
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #5B2812;
}
.main-1-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Адаптивность */
@media (max-width: 700px) {
    .main-1-modal-toggle {
        display: block;
        margin: auto;
    }

    .main-1-modal-content {
        padding: 20px 15px;
        margin: 10px;
        border-radius: 10px;
    }
    .form-option-title {
        transform: translateX(-50%);
    }
}

/* Для очень маленьких экранов */

@media (min-width: 1px) and (max-width: 1000px) {
    .msg-block-mobile {
        display: flex;
        gap: 100px;
    }
    .msg-block {
        display: none;
    }
}
@media (min-width: 1px) and (max-width: 555px) {
    .msg-input {
        padding-bottom: 18px;
    }
}


@media (max-width: 1400px) {
    .basement-back {
        border-radius: 20px 20px 0px 0px;
    }
}