
.page-main{
    overflow-x: hidden;
}


/*      HEADER       */

.arm_header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 11;
    height: var(--top-nav--height);
    
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    padding: 0 80px;

}

.arm_header_right{
    /* width: 30%; */
}

.arm_header_logo{
    font-size: 28px;
    line-height: 24px;
    font-weight: 700;
}
@media screen and (max-width: 1024px) {
    .arm_header_logo img,
    .arm_header_logo svg{
        width: 72px;
    }
}

.arm_header_menu{
    list-style: none;
    display: flex;
    align-items:center;
    gap: 36px;
    padding: 0;
    margin: 0;
}
    .arm_header_menu_item{
        position: relative;
    }
        .arm_header_menu > .arm_header_menu_item:not(:last-child)::after{
            content: '';
            position: absolute;
            top: calc(50% - 2px);
            right: -20px;
            width: 4px;
            height: 4px;
            background-color: var(--main-pink);
            border-radius: 50%;
        }
    .arm_header_menu_link{
        font-size: 16px;
        color: #000;
        transition: var(--animate);
    }
    .current-menu-item .arm_header_menu_link{
        color: var(--main-pink);
    }

    .arm_header_menu .menu-item-has-children > a{
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: center;
    }
        .arm_header_menu .menu-item-has-children > a::after{
            content: '';
            display: block;
            width: 16px;
            height: 16px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M2.50553 4.49353L1.32715 5.67192L7.99707 12.3418L14.6686 5.75981L13.4984 4.57328L8.00358 9.99158L2.50553 4.49353Z" fill="%2339A814"/></svg>');
            transition: var(--animate);
        }
            .arm_header_menu .menu-item-has-children > a._active::after{
                transform: scale(-1);
            }

    @media (hover:hover){
        .arm_header_menu_link:hover{
            color: var(--main-pink);
        }
        .menu-item-has-children:hover .sub-menu{
            opacity: 1;
            visibility: visible;
        }
        .arm_header_menu .menu-item-has-children:hover > a::after{
            transform: scale(-1);
        }
    }

   



.arm_header_left{
    /* width: 30%; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.arm_header_btn{
    font-size: 16px;
    line-height: 1;
    padding: 8px 16px;
    white-space: nowrap;
    border-radius: 8px;
}


.arm_header_phones{
    height: 35px;
}
    .arm_header_phones_wrap{
        background: #fff;
        border-radius: 8px;
        border: 1px solid var(--main-pink);
        transition: var(--animate);
        overflow: hidden;
        max-height: 35px;
        padding: 8px 16px;
    }
    .arm_header_phones_title{
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-bottom: 8px;
    }
        .arm_header_phones_title::after{
            content: '';
            display: block;
            width: 16px;
            height: 16px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M2.50553 4.49353L1.32715 5.67192L7.99707 12.3418L14.6686 5.75981L13.4984 4.57328L8.00358 9.99158L2.50553 4.49353Z" fill="%2339A814"/></svg>');
            transition: var(--animate);
        }
    .arm_header_phones a{
        font-size: var(--16px);
        color: var(--main-pink);
        font-weight: 600;
    }

@media (hover:hover){
    .arm_header_phones:hover .arm_header_phones_wrap{
        max-height: 300px;
    }
        .arm_header_phones:hover .arm_header_phones_title::after{
            transform: scale(-1);
        }
}

.arm_header_menu .sub-menu{
    list-style: none;
    column-count: 2;
    column-gap: 16px;
}
    .arm_header_menu .sub-menu li{
        padding: 2px 0;
    }

@media screen and (min-width: 1025px) {
    .arm_header_menu .sub-menu{
        position: absolute;
        top: 100%;
        left: -16px;
        width: 400px;
        padding: 16px;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0px 24px 48px 0px rgba(0, 0, 0, 0.12);
        opacity: 0;
        visibility: hidden;
        transition: .3s ease all
    }
}

@media screen and (max-width: 1024px) {
    
    .arm_header_menu{
       flex-direction: column;
       gap: 20px;
       margin-bottom: 40px;
    }
        .arm_header_menu > .arm_header_menu_item:not(:last-child)::after{
            top: calc(100% + 8px);
            right: calc(50% - 2px);
        }
        .arm_header_menu_link{
            font-size: 20px;
        }

        .arm_header_menu .sub-menu{
            display: none;
            padding: 12px 0;
        }



        .arm_header_phones{
            height: auto;
            max-height: 40px;
            transition: var(--animate);
        }
        .arm_header_phones_wrap{
            max-height: 40px;
        }
        .arm_header_phones_list{
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding-right: 28px;
        }
        .arm_header_phones a{
            font-size: 20px;
        }
        
            .arm_header_phones._open,
            .arm_header_phones._open .arm_header_phones_wrap{
                max-height: 300px;
            }
            .arm_header_phones._open .arm_header_phones_title::after{
                transform: scale(-1);
            }
}



.mobile_menu_btn {
    display: none;
    width: 28px;
    min-width: 28px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: 0.5s ease-in-out;
    cursor: pointer;
}
    .mobile_menu_btn span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--main-pink);
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: 0.25s ease-in-out;
    }
        .mobile_menu_btn span:nth-child(1) {
            top: 0px;
            transform-origin: left center;
        }
        .mobile_menu_btn span:nth-child(2) {
            top: 8px;
            transform-origin: left center;
        }
        .mobile_menu_btn span:nth-child(3) {
            top: 16px;
            transform-origin: left center;
        }
        .mobile_menu_btn._open span:nth-child(1) {
            transform: rotate(45deg);
            top: 0px;
            left: 4px;
        }
        .mobile_menu_btn._open span:nth-child(2) {
            width: 0%;
            opacity: 0;
        }
        .mobile_menu_btn._open span:nth-child(3) {
            transform: rotate(-45deg);
            top: 20px;
            left: 4px;
        }



body:has(.mobile_menu._open) .header {
    box-shadow: none;
}

.mobile_menu {
    display: none;
    background: #fff;
    backdrop-filter: blur(18px);
    z-index: 99;
    position: fixed;
    top: var(--top-nav--height);
    left: 0;
    width: 100%;
    height: calc(100dvh - 64px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: 0.3s ease all;
    padding: 40px 20px;
    border-top: 1px solid rgba(0,0,0,.8);
    overflow-y: auto;
}
    .mobile_menu._open {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
    
    .mobile_menu .main-btn {
        width: 100%;
        font-size: 20px;
        padding: 10px;
    }

    .mobile_menu_messengers{
        display: flex;
        gap: 12px;
        margin: 12px 0;
    }
        .mobile_menu_messengers_link{
            width: calc( (100% - 24px) / 3);
            border-radius: 8px;
            border: 2px solid #0CBE51;
            color: #0CBE51;
            background: #FFF;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 8px 12px;
            font-weight: 600;
        }
            .mobile_menu_messengers_link svg{
                display: block;
                width: 30px;
            }
            .mobile_menu_messengers_link._viber{
                color: #970EA0;
                border-color: #970EA0;
            }
            .mobile_menu_messengers_link._telegram{
                color: #2AABDA;
                border-color: #2AABDA;
            }


@media screen and (max-width: 1600px) {
    .arm_header{
        padding: 0 40px;
    }
}

@media screen and (max-width: 1024px) {

    .arm_header .arm_header_menu, 
    .arm_header_left .nav__lang,
    .arm_header_left .nav__contacts{
        display: none !important;
    }

    .mobile_menu {
        display: block;
    }
    .mobile_menu_btn {
        display: block;
    }



    .nav__lang {
        height: auto;
        order: 4;
        justify-content: center;
        padding-top: 24px;
        padding-bottom: 36px;
    }

    .nav-lang__content {
        /* border-top: 1px solid var(--main-gray-1); */
        padding: 6px 18px;
        display: flex;
    }

    .nav-lang-content__first {
        padding: 0;
        margin-right: 16px;
    }

    .nav-lang-content__dropdown {
        position: static;
        height: auto;
        display: flex;
    }

    .nav-lang-content-dropdown__item:last-of-type {
        margin-right: 0;
    }

    .nav-lang-content-dropdown__item {
        margin: 0 16px;
    }


}
@media screen and (max-width: 767px) {

    .arm_header{
        height: 64px;
        padding: 0 16px;
    }
        .arm_header_logo{
            font-size: 24px;
            line-height: 20px;
        }

        .arm_header_btn{
            font-weight: 500;
        }

}


/*     end  HEADER       */


/*      FOOTER       */

.footer_menu{
    list-style: none;
    display: flex;
    align-items:center;
    flex-wrap: wrap;
    gap: 16px 36px;
    padding: 0;
    margin: 0;
}
    .footer_menu_item{
        position: relative;
    }
        .footer_menu_item:not(:last-child)::after{
            content: '';
            position: absolute;
            top: calc(50% - 2px);
            right: -20px;
            width: 4px;
            height: 4px;
            background-color: var(--main-pink);
            border-radius: 50%;
        }
    .footer_menu_link{
        font-size: 16px;
        color: #000;
        transition: var(--animate);
    }

    .footer_menu .menu-item-has-children{
        display: none !important;
    }
    
    @media (hover:hover){
        .footer_menu_link:hover{
            color: var(--main-pink);
        }
    }

@media (max-width: 767px){
   
}

/*      end FOOTER       */


/*          PAGE       */

.page_head{
    position: relative;
    padding: 80px;
    background: #333;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page_head::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.2) 100%), 50% / cover no-repeat;
}

.page_head_wrap{
    position: relative;
    z-index: 2;
}

.page_head h1{
    color: #fff;
    font-size: 36px;
    margin: 0 0 12px;
}

.page_nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
}
    .page_nav_link {
        cursor: pointer;
        padding: 8px 20px;
        border-radius: 8px;
        color: #fff;
        background: rgba(0, 0, 0, 0.24);
        margin: 0;
        text-align: center;
        font-size: var(--16px);
        transition: var(--animate);
        white-space: nowrap;
    }

    .page_nav_link.active {
        background: #fff;
        color: #000;
        cursor: default;
        pointer-events: none;
    }

    .page_head_text{
        color: #fff;
        text-align: center;
        font-size: var(--24px);
        line-height: 1.2;
        font-weight: 400;
    }

@media (hover:hover){
    .page_nav_link:not(.active):hover{
        background: #fff;
        color: #000;
    }
}


@media (max-width: 767px){
    
    .page_head{
        background-size: auto 100%;
        background-position: left;
        padding: 40px 16px;
    }

    .page_head h1{
        font-size: 32px;
    }
    .page_head_text {
        font-size: 20px;
    }

    .page_nav_wrap{
        margin: 0 -16px 20px;
        overflow-y: auto;
    }
        .page_nav_wrap::-webkit-scrollbar{
            height: 0;
        }

        .page_nav{
            width: max-content;
            margin-bottom: 0;
        }
        .page_nav_link:first-child{
            margin-left: 16px;
        }
        .page_nav_link:last-child{
            margin-right: 16px;
        }

}

/*      end PAGE       */


.action_socials {
    margin-top: 20px;
}
    .action_socials_title{
        color: #646464;
        font-size: var(--18px);
        text-align: center;
        margin-bottom: 20px;
    }
    .action_socials_list{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .action_socials_list  .mobile_menu_messengers_link{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: var(--20px);
        line-height: 1;
        padding: 12px 24px;
        transition: var(--animate);
    }
        .action_socials_list  .mobile_menu_messengers_link._viber svg path{
            transition: var(--animate);
        }
   
    @media (hover:hover) {
        .action_socials_list  .mobile_menu_messengers_link:hover svg path{
            fill: #fff;
        }
        .action_socials_list  .mobile_menu_messengers_link._viber:hover{
            color: #fff;
            background: #970EA0;
        }
        .action_socials_list  .mobile_menu_messengers_link._telegram:hover{
            color: #fff;
            background: #2AABDA;
        }
        .action_socials_list  .mobile_menu_messengers_link._whatsapp:hover{
            color: #fff;
            background: #0CBE51;
        }
    }

@media (max-width: 767px) {
    .action_socials_list{
        flex-direction: column;
        gap: 8px;
    }
    .action_socials_list  .mobile_menu_messengers_link{
        width: 100%;
    }
}



.section_inst{
    background: var(--bg-gray);
    padding: 80px;
    display: flex;
    align-items: center;
    gap: 40px;
}
    .section_inst_title{
        font-size: var(--24px);
        font-weight: 700;
    }
    .section_inst_list{
        display: flex;
        gap: 20px;
        flex-grow: 1;
    }
    .section_inst_item{
        width: calc( (100% - 60px) / 4 );
        border-radius: 12px;
        background: #FFF;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 40px 20px;
        font-size: var(--16px);
        font-weight: 600;
        color: var(--main-pink);
        transition: var(--animate);
    }
        .section_inst_item img,
        .section_inst_item svg{
            width: 50px;
            display: block;
        }

@media (hover:hover){
    .section_inst_item:hover{
        box-shadow: 0px 24px 48px 0px rgba(0, 0, 0, 0.12);
    }
}

@media screen and (max-width: 1600px) {

    .section_inst{
        padding: 80px 40px;
    }
}

@media screen and (max-width: 1024px) {

    .section_inst_list{
        flex-wrap: wrap;
        gap: 8px;
    }
    .section_inst_item {
        width: calc( 50% - 4px );
        padding: 12px;
    }
}

@media screen and (max-width: 767px) {
    .section_inst{
        padding: 40px 16px;
        flex-direction: column;
        gap: 20px;
    }
    .section_inst_title{
        text-align: center;
    }
        .section_inst_title br{
            display: none;
        }
    
}