* {
    padding: 0;
    margin: 0;
}

@font-face {
    font-family: "Carlito";
    src: url(../fonts/Carlito/Carlito-Regular.ttf) format("truetype");
    font-style: normal;
    font-weight: 400
}

a {
    text-decoration: none;
    color: #000;
}

.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.menu {
    position: relative
}

.menu li {
    cursor: pointer
}

.menu a {
    font-family: 'Carlito', Arial, sasn-serif;
    font-weight: 400
}

.menu li:hover > .sub-menu {
    visibility: visible;
    opacity: 1;
    -webkit-animation: menu-show 1500ms linear both;
    animation: menu-show 1500ms linear both;
}

.sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: auto;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.85);
    border: 2px solid #0123b4;
    border-radius: 15px;
    overflow: hidden;
    -webkit-box-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 5px 5px 5px rgba(0, 0, 0, 0.3);
}

.sub-menu a {
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    padding: 5px 15px !important;
    display: inline-block;
    width: 100%;
    height: 100%;
    color: #0123b4;
    border-bottom: 1px solid rgba(255, 255, 255, 0)
}

.sub-menu a:hover {
    background-color: #fff;
    border-bottom: 1px solid #0123b4
}

.block-ul li {
    padding: 0;
    padding-top: 8px;
    display: block;
    list-style-type: none;
}

.inline-ul li {
    padding: 0;
    padding-right: 8px;
    display: inline-block;
    list-style-type: none;
}

.admin-menu {
    z-index: 9999;
    display: block;
    height: 30px;
    background-color: #38444f;
    color: #fff;
    padding-top: 3px;

    * {
        font-family: 'Carlito', Arial, sasn-serif;
    }
}

.admin-menu .menu-link {
    display: inline-block;
    cursor: pointer;
    margin-right: 30px;
    padding-bottom: 10px;
    position: relative;
    z-index: 9999;
}

.admin-menu .menu-link:hover > .admin-sub-menu {
    visibility: visible;
    opacity: 1;
    -webkit-animation: menu-show 1500ms linear both;
    animation: menu-show 1500ms linear both;
}

.admin-menu .admin-sub-menu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    width: 100%;
    min-width: 160px;
    top: 30px;
    z-index: 99;
    padding: 10px;
    border-radius: 5px;
    background-color: #38444f;
    -webkit-box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.3);
}

.admin-menu .admin-sub-menu a:hover {
    color: #fae900;
}

.admin-menu .admin-sub-menu * {
    color: #fff;
    margin-bottom: 10px;
}

.admin-menu .admin-sub-menu li:last-child {
    margin-bottom: 0;
}

/*NEW INDEX PAGE*/
/*NEW INDEX PAGE*/
:root {
    --ft: -apple-system, "Mulish", sans-serif;
    --tr_duration: 0.2s;
    --text_primary: #39536b;
    --text_secondary: #ffffff;
    --text_light: #9ad4ff;
    --btn_light: #9ad4ff;
    --text-darker: #004e96;
    --btn_primary: #ffffff;
    --btn_secondary: #004e96;
    --font_family: 'Carlito', Arial, sasn-serif;
}

.buy-btn {
    .small-btn {
        display: none;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: var(--btn_secondary);

        .small-btn-img {
            width: 20px;
            height: 20px;
            color: var(--text_secondary);
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            background-image: url("/assets/img/index/arrow.svg");
        }
    }
}

.index-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    gap: 120px;

    @media (min-width: 1904px) {
        max-width: 1560px;
    }

    /*@media (max-width: 1053px) {*/
    /*    margin-top: 40px;*!*/
    /*}*/

    * {
        font-family: var(--ft);
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        text-decoration: none;
        color: inherit;
    }

    .filials-header {
        background-color: #fff;
        border-radius: 50px;
        padding: 10px 20px;
    }

    .main-bottom {
        width: 100%;
    }

    .lang-btn {
        background-color: #fff;
        border-radius: 12px;
        padding: 2px 5px;
    }

    .t4 {
        font-size: 18px;
        font-weight: 500;
    }

    .secondary_text {
        color: var(--text_secondary);
    }

    .primary_text {
        color: var(--text_primary);
    }

    .light_text {
        color: var(--text_light);
    }

    .darker_text {
        color: var(--text-darker);
    }

    .primary_btn {
        background-color: var(--btn_primary);
        color: var(--text_primary);
        border: none;
        border-radius: 50px;
        padding: 10px 20px;
        display: flex;
        column-gap: 7px;
        align-items: center;
        cursor: pointer;
    }

    .buy_btn {
        background-color: var(--btn_secondary);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 20px;
        display: flex;
        column-gap: 7px;
        align-items: center;
        cursor: pointer;
    }
    .light_btn {
        background-color: var(--btn_light);
        color: var(--text_secondary);
        border: none;
        border-radius: 50px;
        padding: 10px 20px;
        display: flex;
        column-gap: 7px;
        align-items: center;
    }
    .pointer {
        cursor: pointer;
    }
    .secondary_btn {
        background-color: var(--btn_secondary);
        color: var(--text_secondary);
        border: none;
        border-radius: 50px;
        padding: 10px 20px;
        display: flex;
        align-items: center;
    }

    .footer-menu {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-menu-item {
        border-radius: 50px;
        padding: 10px 20px;
        border: none;
    }

    .footer-menu-item:hover {
        background-color: var(--btn_secondary);
        color: var(--text_secondary);
    }

    .responsive_svg {
        width: 26px;
        height: 26px;
    }

    .wrapper_center {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
    }

    .icon {
        width: 44px;
        height: 44px;
    }

    /* main_block start */
    .main_header {
        display: flex;
        width: 100%;
        align-items: center;
        justify-content: space-between;
    }

    .logo-block {
        width: 240px;
    }

    .big-logo {
        height: 100px;
        width: 170px;
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
        background-image: url("/assets/img/index/big_logo.png");
    }

    .video-block {
        width: inherit;
        display: block;
        margin: auto;
    }

    .main_block {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        padding: 20px;
        border-radius: 20px;
        height: 110vw;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;

        > .small_header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;

            > div:nth-child(2) {
                a {
                    padding: 0;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    height: 44px;
                    width: 44px;
                }
                > svg {
                    height: 26px;
                    width: 26px;
                }
            }
        }

        > .main_header {
            display: none;
        }

        > .main_center {
            margin-top: -40px;
        }

        @media (min-width: 1920px) {
            height: 832px;
            padding: 40px;
            border-radius: 26px;

            > .small_header {
                display: none;
            }

            /*> .main_center {*/
            /*	gap: 48px;*/
            /*}*/

            > div:nth-child(3) {
                display: flex;
            }
            > div:nth-child(4) {
                > a {
                    display: none;
                }
            }

            > .main_header {
                display: block;
            }
        }

        @media (min-width: 801px) and (max-width: 1919px) {
            height: 560px;
            padding: 30px;
            border-radius: 26px;

            > .small_header {
                display: none;
            }

            /*> .main_center {*/
            /*	gap: 48px;*/
            /*}*/
            > div:nth-child(3) {
                display: flex;
            }
            > div:nth-child(4) {
                > a {
                    display: none;
                }
            }
            > .main_header {
                display: block;
            }
        }

        @media (min-width: 680px) and (max-width: 800px) {
            border-radius: 20px;
            padding: 30px;
            height: 823px;

            > .small_header {
                display: none;
            }

            /*> .main_center {*/
            /*	gap: 48px;*/
            /*}*/
            > div:nth-child(3) {
                display: flex;
            }
            > div:nth-child(4) {
                > a {
                    display: none;
                }
            }
            > .main_header {
                display: block;
            }
        }
        @media (max-width: 679px) {
            /* на мобильных из шапки оставляем только выбор филиала над баннером */
            > .main_header {
                display: block;

                > .row.justify-content-between {
                    display: none;
                }
            }

            .main_center {
                margin-top: 30px;
            }
        }
        @media (max-width: 420px) {
            h1 {
                font-size: 38px;
            }
        }
    }

    .main_center {
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        text-align: center;

        > button {
            @media (min-width: 1920px) {
                padding: 28px 40px;
            }
            @media (min-width: 1201px) and (max-width: 1919px) {
                padding: 18px 30px;
            }
            @media (min-width: 680px) and (max-width: 1200px) {
                padding: 20px 30px;
            }
            @media (max-width: 679px) {
                padding: 18px 28px;
            }
        }
    }
    /* main_block end */

    /* info_block start */

    .info_block {
        display: flex;
        justify-content: space-between;
        @media (max-width: 1201px) {
            flex-direction: column;
            align-items: center;
        }
        @media (max-width: 679px) {
            align-items: center;
        }
    }

    .info_h1 {
        @media (min-width: 680px) and (max-width: 1279px) {
            margin-top: 50px;
        }
    }

    .info_block_card_text {
        width: 750px; /* Smaller width */
        height: 750px; /* Smaller height */
        border: 2px dashed #d0e7ff;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px;
        box-sizing: border-box;
        border-style: dashed;
        border-width: 2px;
        border-color: var(--btn_light);
        border-radius: 50%;
        position: relative;
        gap: 80px;

        @media (min-width: 1920px) {
            margin-right: 20px;
        }

        @media (min-width: 1201px) and (max-width: 1919px) {
            gap: 58px;
            height: 568px;
            width: 568px;
        }
        @media (min-width: 680px) and (max-width: 1200px) {
            justify-content: start;
            gap: 50px;
            height: 620px;
            width: 620px;
        }
        @media (max-width: 679px) {
            gap: 40px;
            max-height: 400px;
            max-width: 400px;
            z-index: -1;
        }
        @media (max-width: 420px) {
            position: relative;
            display: inline-block;
            max-width: 100%; /* Максимальная ширина контейнера */
            overflow: hidden;
            overflow: visible;
            max-width: 400px;
            max-height: 400px;
        }
    }
    .info_block_text {
        display: flex;
        flex-direction: column;
        gap: 16px;

        @media (min-width: 1920px) {
            gap: 20px;
        }
    }

    .image-circle {
        width: 750px;
        height: 750px;
        z-index: 1;
        border-radius: 50%;
        background-size: cover;

        @media (min-width: 1201px) and (max-width: 1919px) {
            height: 568px;
            width: 568px;
        }
        @media (min-width: 680px) and (max-width: 1200px) {
            gap: 50px;
            height: 620px;
            width: 620px;
            margin-top: -110px;
        }
        @media (max-width: 679px) {
            gap: 40px;
            max-height: 400px;
            max-width: 400px;
            width: 100%;
        }
    }
    /* info_block end */

    /* feelings_block start */
    .feelings_block {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
        grid-column-gap: 24px;
        grid-row-gap: 40px;

        > h1 {
            color: var(--text_light);
            grid-column: span 4 / span 4;
            @media (min-width: 1280px) {
                grid-column: span 2 / span 2;
            }
        }
    }

    .feelings_block_card_1 {
        background: linear-gradient(180deg, #ecf2f8 0%, #c8e7ff 100%);
        padding: 30px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        grid-column: span 4 / span 4;

        .media {
            /*height: 186px;*/
            border-radius: 20px;
            width: 100%;
            background-size: cover;
            overflow: hidden;
        }

        > h6 {
            padding: 8px 16px;
            background-color: var(--btn_secondary);
            color: white;
            border-radius: 50px;
        }

        @media (min-width: 680px) and (max-width: 1279px) {
            .media {
                height: 310px;
                max-width: 500px;
            }
        }

        @media (min-width: 1200px) and (max-width: 1919px) {
            grid-column: span 2 / span 2;
            height: 562px;
            .media {
                height: 400px;
                max-width: 650px;
            }
        }
        @media (min-width: 1920px) {
            grid-column: span 2 / span 2;
            .media {
                height: 400px;
                max-width: 650px;
            }
        }
    }

    .feelings_block_card_2 {
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
        grid-column: span 4 / span 4;

        .media {
            height: 658px;
            border-radius: 20px;
            width: 100%;
            background-size: cover;
            overflow: hidden;

            @media (min-width: 1201px) and (max-width: 1919px) {
                height: 463px;
                max-width: 100%;
            }
            @media (min-width: 680px) and (max-width: 1200px) {
                height: 510px;
                max-width: 100%;
            }
            @media (max-width: 679px) {
                height: 600px;
                max-width: 100%;
            }
        }

        > h2 {
            > p {
                padding: 8px 16px;
                background-color: var(--btn_secondary);
                color: white;
                border-radius: 50px;
                line-height: 90%;
                margin-bottom: -1px;
            }
            transform: rotate(-24deg);
            position: absolute;
            text-align: center;
            top: -5px;
            left: -40px;
            z-index: 1;
            @media (max-width: 820px) {
                left: -20px;
            }
            @media (max-width: 760px) {
                transform: none;
                left:0;
            }
        }

        @media (min-width: 680px) and (max-width: 1279px) {
            grid-column: span 2 / span 2;
        }

        @media (min-width: 1200px) {
            grid-column: span 1 / span 1;
            margin-top: -180px;
        }
    }

    .feelings_block_card_3 {
        position: relative;
        padding-bottom: 10px;
        padding-top: 10px;
        grid-column: span 4 / span 4;

        .media {
            height: 658px;
            border-radius: 20px;
            width: 100%;
            background-size: cover;
            overflow: hidden;

            @media (min-width: 1201px) and (max-width: 1919px) {
                height: 463px;
                max-width: 100%;
            }
            @media (min-width: 680px) and (max-width: 1200px) {
                height: 510px;
                max-width: 100%;
            }
            @media (max-width: 679px) {
                height: 600px;
                max-width: 100%;
            }
        }

        > h2 {
            > p {
                padding: 8px 16px;
                background-color: var(--btn_secondary);
                color: white;
                border-radius: 50px;
                line-height: 90%;
                margin-bottom: -1px;
            }
            transform: rotate(-24deg);
            position: absolute;
            text-align: center;
            bottom: -5px;
            right: -40px;
            z-index: 1;
            @media (max-width: 820px) {
                right: -20px;
            }
            @media (max-width: 760px) {
                transform:none;
                right: 0;
            }
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            grid-column: span 2 / span 2;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            grid-column: span 1 / span 1;
            height: 463px;
            margin-top: -180px;
        }
        @media (min-width: 1920px) {
            grid-column: span 1 / span 1;
            margin-top: -180px;
        }
    }

    /* feelings_block end */

    /* fly_all start */
    .img-fluid {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .fly_all {
        display: flex;
    }
    .fly_all_photo {
        width: 100%;
        height: 725px;
        border-radius: 30px;
        background-size: cover;

        @media (min-width: 1201px) and (max-width: 1919px) {
            height: 580px;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
        }
        @media (max-width: 760px) {
            display: none;
        }
    }

    .fly_all_photo-small{
        display: none;
        width: 100%;
        border-radius: 30px;
        height: 850px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        @media (max-width: 760px) {
            display: block;
        }
    }
    /* fly_all end */
    /* toggleBtn start */

    .outer-border {
        padding: 8px;
        border: 2px solid var(--btn_light);
        border-radius: 60px;
        @media (min-width: 1280px) {
            align-self: end;
        }
        @media (max-width: 760px) {
            width: 100%;
        }
    }

    .toggle-container {
        position: relative;
        height: 55px;
        border-radius: 25px;
        overflow: hidden;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        outline: none;
        width: 100%;

        @media (max-width: 680px) {
            font-weight: unset;
        }
    }
    .toggle-option {
        flex: 1;
        text-align: center;
        z-index: 1;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        padding: 10px;
    }
    .toggle-option.selected {
        color: var(--text_secondary);
        background-color: #0057a3;
    }
    .toggle-option:not(.selected) {
        color: var(--text_light);
    }
    .toggle-slider {
        position: absolute;
        width: 50%;
        height: 100%;
        background-color: #0057a3;
        border-radius: 25px;
        transition: transform 0.3s;
    }
    .toggle-slider.left {
        transform: translateX(0%);
    }
    .toggle-slider.right {
        transform: translateX(100%);
    }
    .toggle-container:focus {
        outline: none;
    }
    .table-wrapper.hidden {
        display: none;
    }
    /* toggleBtn end */
    /* Table block start */
    .table_switch {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 90px;

        @media (min-width: 1201px) and (max-width: 1919px) {
            margin-bottom: 65px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            margin-bottom: 44px;
            flex-direction: column;
            align-items: start;
            gap: 50px;
        }
        @media (max-width: 679px) {
            margin-bottom: 34px;
            flex-direction: column;
            align-items: start;
            gap: 40px;
        }
    }

    table {
        border-collapse: collapse;
        table-layout: fixed;
        width: 100%;
    }

    tbody td:last-child {
        position: relative;
    }

    table tr {
        align-items: center;
        text-align: left;
    }

    tbody tr {
        border-top: 1.5px dashed #9ad4ff;
    }

    tbody tr:last-child {
        border-bottom: 1.5px dashed #9ad4ff;
    }

    table th,
    table td {
        width: 25%;
        min-width: 150px;

        @media (max-width: 679px) {
            width: 43%;
        }
    }

    table th .heading {
        padding: 1rem;
        font-weight: 500;
    }

    table td {
        padding: 54px 10px;

        @media (min-width: 1201px) and (max-width: 1919px) {
            padding: 40px 10px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            padding: 35px 10px;
        }
        @media (max-width: 679px) {
            padding: 21px 10px;
        }
    }
    table td:last-child {
        padding: 10px;
    }
    table svg {
        width: 18px;
        height: 18px;
    }

    table .hide {
        display: none;
    }

    .btn-container {
        display: flex;
        justify-content: flex-end;
    }
    .table_btn {
        padding: 26px 40px;
        @media (min-width: 1280px) and (max-width: 1919px) {
            padding: 18px 32px;
        }

        @media (max-width: 1279px) {
            padding: 11px;
        }
    }
    .table_info {
        margin-top: 15px;
        margin-right: 10%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .price-container {
        position: relative;
        display: inline-block;
        @media (min-width: 1920px) {
            text-wrap: nowrap;
        }
    }

    .price-label {
        position: absolute;
        top: 17px;
        right: -55px;
        padding: 0px 15px;
        transform: rotate(8deg);

        @media (min-width: 1280px) and (max-width: 1919px) {
            top: 13px;
            right: -25px;
        }

        @media (min-width: 680px) and (max-width: 1279px) {
            top: 10px;
            right: -20px;
        }
        @media (max-width: 679px) {
            top: 0px;
            right: 20px;
            font-size: 12px;
            padding: 0 10px;
        }
    }

    /* Table block end*/

    /* Map block start*/
    .map_info > h2 {
        display: flex;
        align-items: center;
        gap: 16px;

        @media (min-width: 1920px) {
            gap: 20px;
        }
    }

    .map_info {
        display: flex;
        flex-direction: column;
        row-gap: 30px;

        @media (min-width: 1920px) {
            row-gap: 40px;
        }

        @media (max-width: 679px) {
            row-gap: 20px;
        }
    }

    .left_map {
        display: flex;
        flex-direction: column;
        gap: 150px;

        @media (min-width: 1920px) {
            text-wrap: nowrap;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            gap: 100px;
            text-wrap: nowrap;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            gap: 99px;
        }
        @media (max-width: 679px) {
            gap: 40px;
        }
    }
    .text-info {
        position: relative;
        display: inline-block;
    }
    .text-label {
        position: absolute;
        width: max-content;
        display: flex;
        flex-direction: column;
        align-items: center;
        bottom: -60px;
        right: -50px;
        padding: 0px 15px;
        transform: rotate(-12deg);
        line-height: normal;

        > p {
            display: block;
            background-color: var(--btn_secondary);
            color: var(--text_secondary);
            border: none;
            border-radius: 50px;
            padding: 5px 10px;
            align-items: center;
            margin-bottom: -5px;
            @media (max-width: 679px) {
                font-size: 14px;
            }
        }

        @media (min-width: 1280px) and (max-width: 1919px) {
            bottom: -45px;
            right: -50px;
        }

        @media (min-width: 680px) and (max-width: 1279px) {
            top: 60px;
            left: 30px;
        }
        @media (max-width: 679px) {
            top: 33px;
            left: 55px;
            padding: 0 10px;
        }
    }

    .right_map {
        background: linear-gradient(180deg, #ecf2f8 0%, #c8e7ff 100%);
        border-radius: 20px;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
        width: 100%;
        max-width: 780px;
        max-height: 740px;
    }

    .right_map_info {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 6px;
        height: auto;
        overflow: hidden;
        border-radius: 50px;

        &:hover {
            overflow: visible;
        }

        @media (min-width: 1920px) {
            gap: 8px;
        }

        .description {
            background-color: var(--btn_light);
            color: var(--text_secondary);
            border: none;
            padding: 10px 20px;
            display: flex;
            column-gap: 7px;
            align-items: center;
        }
    }

    .right_map img {
        max-width: 100%;
        height: auto;
        max-height: 421px;
        @media (min-width: 1201px) and (max-width: 1919px) {
            max-height: 321px;
        }
        @media (min-width: 680px) and (max-width: 1200px) {
            max-height: 321px;
        }
    }

    .map_block {
        display: flex;
        gap: 80px;
        justify-content: space-between;
        @media (max-width: 1200px) {
            flex-direction: column;
        }

        @media (min-width: 1201px) and (max-width: 1919px) {
            column-gap: 66px;
            max-height: 570px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            justify-content: space-between;
            column-gap: 80px;
        }
        @media (max-width: 679px) {
            gap: 40px;
        }
    }

    /* Map block end*/

    /* footer block start*/

    .footer_logo > img {
        max-width: 507px;

        @media (min-width: 1201px) and (max-width: 1919px) {
            max-width: 360px;
        }

        @media (max-width: 1200px) {
            max-width: 240px;
        }
    }

    .footer_block {
        display: flex;
        column-gap: 300px;

        @media (min-width: 1201px) and (max-width: 1919px) {
            column-gap: 232px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            justify-content: space-between;
            column-gap: 80px;
        }
        @media (max-width: 679px) {
            flex-direction: column;
            row-gap: 40px;
            column-gap: 0px;
        }
    }

    .footer_logo {
        display: flex;
        flex-direction: column;
        gap: 40px;

        @media (min-width: 1201px) and (max-width: 1919px) {
            gap: 32px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            gap: 30px;
        }
        @media (max-width: 679px) {
            gap: 20px;
        }
    }

    .footer_left {
        display: flex;
        flex-direction: column;
        gap: 112px;

        @media (max-width: 1279px) {
            gap: 40px;
        }
    }

    .footer_social {
        display: flex;
        flex-direction: row;
        column-gap: 16px;

        @media (min-width: 1920px) {
            gap: 21px;
        }
    }

    .footer_menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 20px;

        @media (max-width: 1279px) {
            grid-row-gap: 20px;
        }
    }

    .footer_menu > .menu {
        display: inline-flex;
        flex-direction: column;
        row-gap: 20px;
        align-items: flex-start;

        @media (max-width: 1279px) {
            grid-column: span 2 / span 2;
        }
    }

    .menu > button {
        margin-bottom: 5px;
    }

    .footer_card_info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        border-radius: 50px;
        background-color: #ecf2f8;
    }

    .footer_cards {
        display: flex;
        flex-direction: row;
        gap: 20px;
    }

    .footer_cards > img {
        @media (max-width: 679px) {
            width: 50px;
        }
    }

    .footer_container {
        display: flex;
        flex-direction: column;
        gap: 80px;

        @media (min-width: 1201px) and (max-width: 1919px) {
            gap: 40px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            gap: 60px;
        }
        @media (max-width: 679px) {
            gap: 40px;
        }
    }

    /* Line stroke */
    .hr-dashed {
        margin: 20px 0;
        padding: 0;
        height: 0;
        border: none;
        border-top: 2px dashed #39536b4d;

        @media (min-width: 680px) and (max-width: 1200px) {
            margin: -20px;
        }
    }

    .footer_doc {
        display: flex;
        justify-content: space-between;
        color: #39536b80;

        @media (min-width: 680px) and (max-width: 1200px) {
            margin-top: auto;
            gap: 16px;
            flex-direction: column;
        }
        @media (max-width: 679px) {
            flex-direction: column;
            gap: 16px;
        }
    }
    /* footer block end*/

    /* popup start*/

    .popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 60px;
        border-radius: 26px;
        background-color: #fff;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
        z-index: 9999;
        display: flex;
        @media (min-width: 1920px) {
            width: 770px;
            height: 796px;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            padding: 50px;
            width: 560px;
            height: 616px;
        }
        @media (min-width: 680px) and (max-width: 1200px) {
            padding: 40px;
            width: 500px;
            height: 577px;
        }
        @media (max-width: 679px) {
            padding: 30px;
            width: 360px;
            height: 504px;
        }
    }

    .popup__close {
        position: absolute;
        right: 30px;
        top: 30px;
        width: 17px;
        height: 17px;

        @media (min-width: 1920px) {
            width: 24px;
            height: 24px;
        }
    }

    .popup__close__img {
        width: 17px;
        height: 17px;

        @media (min-width: 1920px) {
            width: 24px;
            height: 24px;
        }
    }

    .popup__content {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: space-between;
    }

    .popup__title {
        @media (min-width: 1920px) {
            font-weight: 500;
            font-size: 70px;
            line-height: 77px;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            font-weight: 500;
            font-size: 50px;
            line-height: 55px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            font-weight: 500;
            font-size: 40px;
            line-height: 44px;
        }
        @media (max-width: 679px) {
            font-weight: 500;
            font-size: 28px;
            line-height: 30px;
        }
    }

    .popup__phone {
        position: relative;
        top: -7px;
        left: -40px;
        transform: rotate(3deg);
        background-color: var(--btn_secondary);
        color: var(--text_secondary);
        border: none;
        border-radius: 50px;
        padding: 24px 23px;
        display: flex;
        gap: 5px;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        font-weight: 500;
        line-height: 24px;

        @media (min-width: 1920px) {
            width: 317px;
            font-size: 24px;
            font-weight: 500;
            line-height: 28px;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            width: 234px;
            padding: 13px 16px;
        }
        @media (min-width: 680px) and (max-width: 1200px) {
            width: 234px;
            padding: 13px 5px;
            left: -25px;
            top: -4px;
        }
        @media (max-width: 679px) {
            width: 214px;
            padding: 13px 5px;
            left: -15px;
            top: 0;
        }

        .popup__phone__svg {
            width: 24px;
            height: 24px;
            @media (min-width: 1920px) {
                width: 30px;
                height: 30px;
            }
        }
    }

    .popup__info {
        @media (min-width: 1920px) {
            font-size: 24px;
            font-weight: 500;
            line-height: 28px;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            font-size: 18px;
            font-weight: 500;
            line-height: 21px;
        }

        @media (min-width: 680px) and (max-width: 1200px) {
            font-size: 18px;
            font-weight: 500;
            line-height: 21px;
        }
        @media (max-width: 679px) {
            font-size: 18px;
            font-weight: 500;
            line-height: 21px;
        }
    }
    .text__agreement {
        @media (min-width: 1920px) {
            font-size: 16px;
            font-weight: 500;
            line-height: 21px;
        }
        @media (max-width: 1919px) {
            font-size: 14px;
            font-weight: 500;
            line-height: 16px;
        }
    }

    .popup__button {
        background-color: var(--btn_secondary);
        color: var(--text_secondary);
        border: none;
        border-radius: 50px;
        padding: 28px;
        display: flex;
        justify-content: center;
        margin-bottom: 16px;
        @media (min-width: 1920px) {
            margin-bottom: 20px;
            width: 460px;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            width: 343px;
        }
        @media (max-width: 1200px) {
            width: 300px;
        }
    }

    .phone-input {
        display: flex;
        align-items: center;
        border: 2px solid #8ed6fb;
        border-radius: 50px;
        padding: 28px 25px;
        background-color: #fff;
        margin-bottom: 12px;
        @media (min-width: 1920px) {
            width: 460px;
            margin-top: 40px;
            margin-bottom: 16px;
        }
        @media (min-width: 1201px) and (max-width: 1919px) {
            width: 343px;
        }
        @media (max-width: 1200px) {
            width: 300px;
        }
    }

    .country-code {
        color: #004e96;
        font-weight: bold;
        margin-right: 10px;
    }

    .phone-input input {
        border: none;
        outline: none;
        color: #004e96;
        width: 100%;
        font-size: 18px;
        font-weight: 500;
        line-height: 21px;
        @media (min-width: 1920px) {
            font-size: 20px;
            line-height: 24px;
        }
    }

    .phone-input input::placeholder {
        color: #8ed6fb;
        letter-spacing: 2px;
    }

    .custom-checkbox {
        display: flex;
        user-select: none;
        gap: 10px;
    }

    .custom-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
    }

    .checkmark {
        height: 20px;
        width: 20px;
        background-color: #ccc;
        border-radius: 50%;
        display: inline-block;
        position: relative;
        margin-right: 10px;
        cursor: pointer;
    }

    .custom-checkbox input:checked + .checkmark {
        background-color: white;
        border: 2px solid #004e96;
    }

    .custom-checkbox input:checked + .checkmark:after {
        display: block;
    }

    .checkmark:after {
        content: "";
        position: absolute;
        display: none;
        left: 50%;
        top: 50%;
        width: 10px;
        height: 10px;
        background: #004e96;
        border-radius: 50%;
        transform: translate(-50%, -50%);
    }

    /* popup end*/

    /* Desktop 1920px */
    @media (min-width: 1920px) {
        h1 {
            font-size: 90px;
            font-weight: 500;
            line-height: 110%;
        }
        h2 {
            font-size: 40px;
            font-weight: 500;
            line-height: 120%;
        }
        .t1 {
            font-size: 20px;
            font-weight: 500;
            line-height: 120%;
        }
        .t2 {
            font-size: 18px;
            font-weight: 500;
            line-height: 120%;
        }
        .t3 {
            font-size: 16px;
            font-weight: 500;
            line-height: 135%;
        }
        .t4 {
            font-size: 24px;
            font-weight: 500;
        }
        .button-index {
            font-size: 20px;
            font-weight: 700;
            line-height: 120%;
        }
        .responsive_svg {
            width: 32px;
            height: 32px;
        }
        .index-container {
            max-width: 1560px;
        }
        .icon {
            width: 60px;
            height: 60px;
        }
        .xl_hide {
            display: none;
        }
    }

    /* Desktop 1280px */
    @media (min-width: 1201px) and (max-width: 1919px) {
        h1 {
            font-size: 70px;
            font-weight: 500;
            line-height: 110%;
        }
        h2 {
            font-size: 31px;
            font-weight: 500;
            line-height: 120%;
        }
        .t1 {
            font-size: 18px;
            font-weight: 500;
            line-height: 120%;
        }
        .t2 {
            font-size: 16px;
            font-weight: 500;
            line-height: 120%;
        }
        .t3 {
            font-size: 14px;
            font-weight: 500;
            line-height: 135%;
        }
        .button-index {
            font-size: 16px;
            font-weight: 700;
            line-height: 120%;
        }
        .index-container {
            max-width: 1220px;
            padding: 30px 0;
        }
        .lg_hide {
            display: none;
        }
    }

    /* Tablet 680px */
    @media (min-width: 680px) and (max-width: 1200px) {
        h1 {
            font-size: 60px;
            font-weight: 500;
            line-height: 110%;
        }
        h2 {
            font-size: 28px;
            font-weight: 500;
            line-height: 120%;
        }
        .t1 {
            font-size: 18px;
            font-weight: 500;
            line-height: 120%;
        }
        .t2 {
            font-size: 16px;
            font-weight: 500;
            line-height: 120%;
        }
        .t3 {
            font-size: 12px;
            font-weight: 500;
            line-height: 135%;
        }
        .buy-btn {
            .button-index {
                font-size: 14px;
            }
        }
        .index-container {
            max-width: 620px;
            gap: 80px;
        }
        .md_hide {
            display: none;
        }
    }

    /* Phone 420px */
    @media (max-width: 679px) {
        gap: 40px;
        .first_header {
            padding: 0 20px;
        }
        .footer-menu-item {
            padding: 10px 0;
        }
        .footer_card_info {
            margin: 0 20px;
        }
        h1 {
            font-size: 40px;
            font-weight: 500;
            line-height: 110%;
        }
        h2 {
            font-size: 24px;
            font-weight: 500;
            line-height: 120%;
        }
        .t1 {
            font-size: 18px;
            font-weight: 500;
            line-height: 120%;
        }
        .t2 {
            font-size: 14px;
            font-weight: 500;
            line-height: 120%;
            padding: 0 20px;
        }
        .feelings_block_content {
            padding: 0 20px;
        }
        .table_switch {
            padding: 0 20px;
        }
        table th .heading {
            padding: 10px;
        }
        table td:last-child {
            padding: unset;
        }
        .footer_doc {
            padding-bottom: 50px;
        }
        .footer_left {
            padding: 0 20px;
        }
        .left_map {
            padding: 0 20px;
        }
        .table_info {
            margin: 0;
            padding: 20px;
        }
        tbody tr {
            padding: 0 20px;
        }
        tbody .people-count {
            padding: 0;
        }
        tbody .people-count img {
            width: 10%;
        }
        tbody .price {
            white-space: nowrap;
        }
        tbody .price h2 {
            font-size: 18px;
        }
        tbody .btn-container {
            padding: 10px;
        }
        .t3 {
            font-size: 12px;
            font-weight: 500;
            line-height: 135%;
        }

        .buy-btn {
            .button-index {
                display: none;
            }
            .small-btn {
                display: flex;
            }
        }

        .index-container {
            gap: 72px;
            padding: 30px 30px;
        }

        .sm_hide {
            display: none;
        }
    }
}

.editable {
    position: relative;
    .edit {
        opacity: 90%;
        position: absolute;
        z-index: 9;
        bottom: 90px;
        right: 0;
        width: auto;
        color: #000;
        background-color: #eee;
        padding: 10px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 1;
        label {
            display: inline-block;
            text-align: left;
            width: auto;
        }
        input {
            display: inline-block;
            width: auto;
        }
    }
    &:hover {
        .edit {
            opacity: 100%;
        }
    }
}

.hide {
    display: none;
}
/*NEW INDEX PAGE*/
/*NEW INDEX PAGE*/

/*BOTTOM BANNERS*/
/*BOTTOM BANNERS*/
/*BOTTOM BANNERS*/
.bottom-banners {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    font-family: var(--font_family);

    .bottom-banners-content-feedback-form {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 101;
        background: #eee;
    }

    .bottom-banners-content-cookie-popup {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 102;
    }
}

/*INDEX BURGER MENU*/
.index-burger {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    /* No horizontal padding: the toggle must sit exactly on the container's left edge. */
    padding: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 103;
    font-family: var(--font_family);
    pointer-events: none;
}

/* Mirror the container's max-width at every breakpoint so the toggle stays
   aligned with the .container / .index-container left edge (Bootstrap grid + index override). */
@media (min-width: 576px) {
    .index-burger {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .index-burger {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .index-burger {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .index-burger {
        max-width: 1140px;
    }
}

@media (min-width: 1904px) {
    .index-burger {
        max-width: 1560px;
    }
}

.index-burger__admin-page {
    top: 28px;
}

.index-burger__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    pointer-events: auto;
}

.index-burger__bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #333;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Slide-out drawer, hidden off-canvas to the left by default. */
.index-burger__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 38%;
    height: 100%;
    overflow-y: auto;
    padding: 8px 0 24px;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.index-burger__menu--admin-page {
    padding-top: 30px;
}

.index-burger__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 8px 16px;
}

.index-burger__close {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
}

.index-burger__close-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: #333;
}

.index-burger__close-bar:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.index-burger__close-bar:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.index-burger__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.index-burger__item + .index-burger__item {
    border-top: 1px solid #eee;
}

.index-burger__link {
    display: block;
    padding: 12px 20px;
    color: #004e96;
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
    text-decoration: none;
}

/* Dimmed backdrop behind the open drawer. */
.index-burger__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
    z-index: -1;
}

.index-burger--open .index-burger__menu {
    transform: translateX(0);
}

.index-burger--open .index-burger__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.index-burger--open .index-burger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.index-burger--open .index-burger__bar:nth-child(2) {
    opacity: 0;
}

.index-burger--open .index-burger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Full-width drawer on mobile. */
@media (max-width: 768px) {
    .index-burger__menu {
        width: 100%;
    }
}

.backdrop-shadow {
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.form-content {
    background-color: #fff;
}

.feedback-form-tabs {
    display: flex;
    border-bottom: 2px solid #e8e8e8;
    margin: 0 0 20px;
}
.feedback-form-tab {
    flex: 1;
    padding: 10px 8px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}
.feedback-form-tab.active {
    color: #0d6ab8;
    border-bottom-color: #0d6ab8;
}
.feedback-form-tab-pane {
    display: none;
}
.feedback-form-tab-pane.active {
    display: block;
}

.bottom-feedback-form {
    display: flex;
    justify-content: right;
    align-items: center;
    padding: 10px 20px;

    .feedback-field-error {
        margin-top:6px;
        color:#c0392b;
        font-size:13px;
    }

    .close-button {
        position:absolute;
        right:12px;
        top:10px;
        border:0;
        background:transparent;
        font-size:26px;
        line-height:1;
        cursor:pointer;
        color:#1d1d1d;
    }

    .hide {
        display: none !important;
    }

    .bottom-feedback-form-body {
        position: fixed;
        z-index: 100;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .bottom-feedback-form-content {
        position: relative;
        margin-top: 80px;
        width: 40%;
        border-radius: 10px;
        background-color: #fff;

        @media (max-width: 1053px) {
            width: 90%;
        }
    }

    .bottom-feedback-form-buttons {
        display: none;
        width: 100%;
        justify-content: space-around;
        @media (max-width: 1053px) {
            display: flex;
        }
    }

    .bottom-feedback-form-button {
        cursor: pointer;
        padding: 15px;
        border-radius: 50px;
        color: var(--text_secondary);
        background-color: var(--btn_secondary);
        text-align: center;
    }

    .bottom-feedback-form-modal {
        position:fixed;
        z-index:101;
        top:0;
        left:0;
        width:100%;
        height:100%;
        display:flex;
        align-items:center;
        justify-content:center;
        background:rgba(0,0,0,.45);

        .bottom-feedback-form-modal__body {
            position: relative;
            background:#fff;
            border-radius:10px;
            max-width:520px;
            width:90%;
            padding:18px 18px 14px;
            box-shadow:0 0 8px rgba(0,0,0,.6);
        }

        .bottom-feedback-form-modal__title {
            font-size:18px;
            font-weight:600;
            color:#165b8f;
            margin-bottom:8px;
        }
        .bottom-feedback-form-modal__text {
            font-size:14px;
            color:#1d1d1d;
        }
    }

    .feedback-form textarea {
        height: unset;
        width:100%;
        resize:vertical;
    }

    .feedback-form {
        display: block;
        width: 100%;
        padding: 30px;
    }

    .feedback-form input, .feedback-form textarea, .feedback-form select {
        display: inline-block;
        width: 100%;
        padding: 20px;
        border: 1px solid #eee;
        border-radius: 5px
    }

    .buttons-block .cell {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .buttons-block .cell button {
        display: block;
        width: 250px;
        line-height: 60px;
        background-color: transparent;
        text-transform: uppercase;
        border-radius: 10px;
        cursor: pointer;
        color: green;
        border: 2px solid green;
    }
}

.cookie-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #eee;

    .cookie-banner-button {
        cursor: pointer;
        padding: 15px;
        border-radius: 50px;
        color: var(--text_secondary);
        background-color: var(--btn_secondary);
        text-align: center;
    }

    .cookie-banner-header {
        font-weight: bold;
    }

    &.hide {
        display: none !important;
    }

    @media (max-width: 1053px) {
        .cookie-banner {
            flex-direction: column;
        }
        .cookie-banner-button {
            padding: 5px;
            border-radius: 10px;
            margin-top: 10px;
        }
    }
}
