.top {
    margin: unset;
    padding: unset;
    height: unset;
    min-height: unset;
}

.desctop_wrapper {
    display: flex;
    justify-content: space-between;
}

.mobile_wrapper {
    display: none;
}

.error_block {
    border: 1px solid rgb(238, 4, 4);
}

.modal_input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
}

.main_modal_block, .we_offer_documents, .we_CRO_documents, .inn_modal_block {
    display: none;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 99;
    background-color: #0009;
  }



.modal_shadow, .we_offer_shadow, .we_CRO_shadow, .inn_shadow {
    /* display: none; */
    position: fixed; 
    width:100%; 
    top:0; 
    left: 0;
    right:0; 
    bottom: 0; 
    height: 100%;
    background-color: #0009;
}

.modal_block, .we_offer_block, .we_CRO_block, .inn_block {
    position: absolute;
    background-color: #fff;
    padding: 20px;
    max-width: 310px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border-radius: 20px;
    min-width: 250px;
  }

.exit_btn {
    display: none;
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
}

.modal_title, .we_offer_title, .we_CRO_title, .inn_title {
    color:#371a00;
}


.modal_form_description {
    font-size:14px; margin-top: 20px;
    color: #371a00;
}


.modal_form_btn, .inn_form_btn {
    padding: 10px 20px;  
    margin-top: 10px; 
    color: #fff; 
    background-color: #371a00; 
    border-radius: 20px; border: 0px;
    cursor: pointer;
    width: fit-content;
}

.modal_input:nth-of-type(n+2) {
    margin-top: 20px;
}

.modal_form, .inn_form {
    margin-top: 20px;
}


.main_back_photo {
    background: linear-gradient(180deg, rgba(0,99,115,1) 0%, rgba(0,99,115,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
    margin-bottom: 50px;
}

.main_back_photo img {
    max-width: 100%;
}

#order .btn_accent {
    width: fit-content;
}

.order-cta .order-cta {
    display: block;
}

.menu-burger__header {
    position: relative;
    width: 30px;
    height: 30px;
    display: block;
    margin-right: 15px;
    cursor: pointer;
    z-index: 9999;
}

.menu-burger__header span, .menu-burger__header:after, .menu-burger__header:before{
    height: 3px;
    width: 100%;
    position: absolute;
    background: #fff;
    margin: 0 auto;
}
.menu-burger__header span{
    top: 14px;
}
.menu-burger__header:after, .menu-burger__header:before{
    content: '';
}
.menu-burger__header:after{
    bottom: 5px;
}
.menu-burger__header:before{
    top: 5px;
}

.menu-burger__header.open-menu span {
    opacity:0; 
    transition: 0.5s; 
}
.menu-burger__header.open-menu::before {
    transform: rotate(45deg);
    top: 16px;
    transition: 0.4s;
  }
.menu-burger__header.open-menu::after {
    transform: rotate(-48deg);
    bottom: 11px;
    transition: 0.4s;
  }

  .navbar-button {
    z-index: 999;
  }

.mobile-menu {
    display: none;
}

.reasons-cards-wrapp, .head {
    width: calc((100% - 20px) / 2);
}



.form input {
    margin-bottom: 0px;
    font-size: 16px;
}



@media (max-width: 1490px){
    .mySwiper {
        width: calc(100% - 420px);
    }
    .services-cards {
        width: 350px;
    }
    .services-big_card {
        width: calc((100% - 200px) / 2);
    }
}

@media (max-width: 1400px){

    
    .services-cards {
        width: 320px;
    }

    .services-cards .services-card_img {
        background-position: right;
    }

    .services-big_card {
        width: calc((100% - 200px) / 2);
    }


}


@media (max-width: 1260px) {
    .services-big_card {
        width: calc((100% - 400px) / 2);
    }
}






@media (max-width: 990px) {
    .btn_menu {
        border: 0px;
    }

    .exit_btn {
        display: block;
    }

    .navbar-menu {
        /* display: block; */
        position: fixed;
        z-index: 999;
        text-align: center;
        background-color: #371a00;
    }
    .services-cards {
        width: 270px;
    }
}

@media (max-width: 900px) { 
    .contacts-wrap {
        grid-template-columns: 1fr;
    }

    .services-cards {
        width: calc((100% - 20px) / 2);
    }
    .services-big_card {
        width: 100%;
        height: 320px;
        margin-bottom: 25px;
    }
    .navbar-logo {
  width: 12vw;
  height: 12vw;
  }
}

@media (max-width:745px) {
    .main_back_photo {
        display: none;
    } 
    .mobile_wrapper .main_back_photo{
        background: #306cab;
        display: block;
    }
    .mobile_wrapper {
        display: block;
        padding-bottom: 30px;
    }
    .desctop_wrapper .offer_wrapp_desc, .desctop_wrapper .offer_block_desc {
        display: none;
    }    
}

@media (max-width: 700px) {
    .we-button-wrapper {
        display: none;
    }
    .mobile-punkt {
        margin-top: 10px;
    }
}


@media (max-width: 630px) {
    .tarif-wrap {
        grid-template-columns: 1fr;
    }
    .tarif-card:nth-of-type(n+2) {
        margin-top: 30px;
    }
    .tarif-card__img {
        margin-bottom: 7px;
    }
    .tarif-card {
        height: 170px;
    }
    .youget-wrap {
        grid-template-columns: 1fr;
    }
    .youget-card:nth-of-type(n+2) {
        margin-top: 30px;
    }
    .youget-card {
        height: 136px;
    }
    .reasons-cards-wrapp, .head {
        width: 100%;
    }
}

@media (max-width: 530px) {
    .contacts-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contacts-logo {
        margin: auto;
    }
    .services-cards {
        width: 100%;
        margin-bottom: 25px;
      }
}

@media (max-width: 800px) {
    .mySwiper {
        width: 100%;
    }
    .partners-desc {
        width: 100%;
      }
}


