@media screen and (max-width: 1366px) {
    .mb-75{
        margin-bottom: 4.5rem;
    }
    .sect_mb_5{
        margin-bottom: 3rem;
    }
}
@media screen and (max-width: 960px) {
    .blog_cat_grid{
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    .offers_column_title{
        font-size: 1.125rem;
    }
    .main_top_menu{
        gap: 1rem;
    }
    .simple_h1,
    .s_title_1{
        font-size: 2.125rem;
    }
    .s_button{
        padding: 1rem;
    }
    .s_title_2{
        font-size: 1.875rem;
    }
    .category_posts_in,
    .spec_cat_list_in {
        grid-template-columns: repeat(3, 1fr);
    }
    .static_form_in{
        padding: 2rem;
    }
    .header_r_top_tel_link{
        font-size: 1rem;
    }
    header .header_r_bot{
        flex-direction: column;
        align-items: start;
    }
    .header_r_bot_line{
        display: none;
    }
    .footer_bot{
        flex-wrap: wrap;
        gap: 1rem;
    }
    .category_post_link{
        font-size: 1rem;
    }
    .wpcf7-submit{
        font-size: 0.875rem;
    }
    .footer_l{
        gap: 2rem;
    }
}

@media screen and (min-width: 861px) {

    .menu-item-has-children:hover::before {
        content: '';
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        /*    z-index: 99;*/
        height: 50px; /* высота зазора, подбери по макету */
    }

    .sub-menu > li > .sub-menu {
        left: 100%;
        top: 0;
        margin: 0;
    }

    .main_top_menu .sub-menu li:hover > .jr_chevron_link_wrap > a {
        color: #A68953;
    }

    .main_top_menu .sub-menu > li:hover > .sub-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        margin-left: 2rem;
        top: -1.5rem;
    }

    .sub-menu > li:hover:before {
        content: '';
        display: block;
        left: unset;
        top: 0;
        width: 100%;
        right: -210px;
    }
    .main_top_menu li:hover > .sub-menu {
        display: block;
    }
    .sub-menu {
        position: absolute;
        padding-inline-start: 0;
        padding: 1.5rem;
        border-radius: 0.625rem;
        background: #FAFAFC;
        top: 3.5rem;
        box-shadow: 0 5px 30px 0 rgba(64, 63, 57, 0.20);
        width: max-content;
        left: -2rem;
    }

}
@media screen and (max-width: 860px) {
    .d_b{
        display: none;
    }
    .page_404_top_in,
    .page_404_bot_in{
        grid-template-columns: repeat(1, 1fr);
    }
    .d_m{
        display: block;
    }
    .header_r_top_soc,
    .header_r{
        display: none;
    }
    footer .header_r_top_soc{
        display: grid;
    }
    .offers_tabs_btns{
        background: none;
        flex-wrap: wrap;
        border-radius: 0;
        gap: 0.5rem;
    }
    .offers_tab_btn{
        background: #fff;
    }
    .pop_serv_list,
    .footer_in,
    .footer_l,
    .offers_columns_grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .eq_list::-webkit-scrollbar,
    .how_list::-webkit-scrollbar {
        display: none;
    }
    .eq_list,
    .how_list{
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
    .eq_item{
        width: 80%;
        flex-shrink: 0;
        padding: 1rem;
    }
    .eq_list{
        display: flex;
        overflow-x: scroll;
    }
    .main_banner_title{
        font-size: 2rem;
    }
    .main_banner_stitle{
        max-width: 100%;
        font-size: 1rem;
    }
    .s_title_2{
        font-size: 1.75rem;
    }
    .s_button{
        font-size: 0.875rem;
    }
    .actions_card_title{
        font-size: 1.25rem;
    }
    .actions_card_text{
        font-size: 0.875rem;
    }
    .spec_card_img{
        height: 17.5rem;
        display: flex;
        align-items: end;
    }
    .pop_serv_list_item{
        flex-direction: column;
    }
    .results_card_in{
        padding: 0;
        grid-template-columns: repeat(1, 1fr);
        gap: 1rem;
    }
    .results_card_r{
        padding: 1rem;
    }
    .about_gallery_top{
        grid-template-columns: repeat(1, 1fr);
    }
    .tour_3d{
        height: 23.5rem;
    }
    .about_gallery_in{
        grid-template-columns: repeat(2, 1fr);
    }
    .about_gallery_item{
        order: 5;
    }
    .about_gallery_item_number_1{
        order: 0;
    }
    .about_gallery_item_number_3{
        order: 1;
    }
    .about_gallery_item_number_2{
        order: 2;
    }
    .about_gallery_item_number_4{
        order: 3;
    }
    .eq_section_in .s_title{
        max-width: 100%;
        font-size: 1.375rem;
    }
    .obj_title_wrap{
        flex-direction: column;
        align-items: start;
    }
    .text_block_in {
        h2{
        line-height: 1;
        }
    }
    .contacts_map{
        height: auto;
        display: flex;
        flex-direction: column-reverse;
    }
    .map_badge{
        position: relative;
        padding: 2rem 1.5rem;
    }
    .map_badge_wrap > .container{
        padding: 0;
    }
    .map_badge_wrap{
        position: relative;
        margin-top: -2rem;
    }
    .map_badge_wrap {
        .header_r {
            display: block;
        }
    }
    .offers_columns_grid{
        gap: 2rem;
    }
    .single_serv_top_in,
    .indications_list,
    .indications_in,
    .price_in,
    .serv_results_in,
    .faq_in,
    .static_form_in,
    .static_form_top,
    .category_posts_in,
    .spec_cat_list_in,
    .spec_single_head_in,
    .static_form_doctor_in,
    .single_action_top_in{
        grid-template-columns: repeat(1, minmax(100px, 1fr));
    }
    .spec_card_img img {
        max-height: 100%;
        width: auto;
        height: auto;
        margin: 0 auto;
    }
    .simple_page .simple_h1{
        margin-bottom: 1rem;
    }
    .how_list{
        display: flex;
        overflow-x: scroll;
    }
    .how_list_elem{
        flex-shrink: 0;
        width: 80%;
    }
    .serv_adv_list{
        grid-template-columns: repeat(2, 1fr);
    }
    .price_list_item{
        font-size: 0.875rem;
    }
    .spec_single_cta_in{
        padding: 1.5rem;
        gap: 0;
        display: flex;
        flex-direction: column-reverse;
    }
    .spec_single_cta_photo{
        height: 11.375rem;
        margin-top: -6rem;
    }
    .spec_single_cta_photo_img{
        position: relative;
        max-height: 100%;
        bottom: unset;
    }
    .spec_single_cta_photo:after{
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        background: linear-gradient(180deg, rgba(238, 230, 206, 0.00) 0%, #EEE6CE 100%);
        height: 2.9375rem;
        width: 100%;
    }
    .spec_single_cta_title{
        font-size: 1.625rem;
    }
    .spec_single_head_left .spec_card_img{
        max-width: 100%;
    }
    .single_action_top_in{
        gap: 1rem;
    }
    .mobile_top_group{
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
        align-items: center;
    }

    .m_tel{
        width: 1.5rem;
        height: 1.5rem;
        display: block;
        background-position: center!important;
    }

    .burger{
        width: 1.5rem;
        height: 1.125rem;
        aspect-ratio: 4/3;
    }
    .m_search_button{
        width: 1.46375rem;
        height: 1.5rem;
        aspect-ratio: 23.42/24.00;
    }
    .m_search_button{
        background: url('data:image/svg+xml,<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><ellipse cx="11.1276" cy="11.1276" rx="10.1276" ry="10.1276" stroke="%23BF964B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.0902 18.6701L24.4199 25" stroke="%23BF964B" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat;
        background-size: contain;
        background-position: center;
    }
/*    .home .burger{
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="20" viewBox="0 0 26 20" fill="none"><path d="M25 1L0.999999 1" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round"/><path d="M25 10L7 10" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round"/><path d="M25 19H0.999999" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat;
        background-size: contain;
        background-position: center;
    }*/
    .m_tel{
        background: url('data:image/svg+xml,<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22.4155 23.9578C19.8097 26.5636 13.1365 24.1151 7.51042 18.4891C1.88436 12.863 -0.564089 6.18978 2.04166 3.58402L3.75735 1.86833C4.94179 0.68389 6.89345 0.715199 8.1165 1.93826L10.774 4.59571C11.997 5.81877 12.0283 7.77043 10.8439 8.95486L10.4754 9.32337C9.83588 9.96287 9.77332 10.9945 10.3675 11.7146C10.9407 12.4091 11.5586 13.1009 12.2286 13.7709C12.8985 14.4409 13.5903 15.0588 14.2849 15.6319C15.005 16.2262 16.0366 16.1636 16.6761 15.5241L17.0446 15.1556C18.229 13.9711 20.1807 14.0025 21.4038 15.2255L24.0612 17.883C25.2843 19.106 25.3156 21.0577 24.1311 22.2421L22.4155 23.9578Z" stroke="%23BF964B" stroke-width="2"/></svg>') no-repeat;
        background-size: contain;
        background-position: center;
    }
    .home .m_tel{
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none"><path d="M22.4155 23.9578C19.8097 26.5636 13.1365 24.1151 7.51045 18.4891C1.88439 12.863 -0.564059 6.18978 2.04169 3.58402L3.75738 1.86833C4.94182 0.68389 6.89348 0.715199 8.11654 1.93826L10.774 4.59571C11.997 5.81877 12.0284 7.77043 10.8439 8.95486L10.4754 9.32337C9.83591 9.96287 9.77335 10.9945 10.3676 11.7146C10.9407 12.4091 11.5586 13.1009 12.2286 13.7709C12.8986 14.4409 13.5904 15.0588 14.2849 15.6319C15.005 16.2262 16.0366 16.1636 16.6761 15.5241L17.0446 15.1556C18.2291 13.9711 20.1807 14.0025 21.4038 15.2255L24.0612 17.883C25.2843 19.106 25.3156 21.0577 24.1312 22.2421L22.4155 23.9578Z" stroke="%23FAFAFC" stroke-width="2"/></svg>') no-repeat;
        background-size: contain;
        background-position: center;
    }
    .home .m_search_button{
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26" fill="none"><ellipse cx="11.1276" cy="11.1276" rx="10.1276" ry="10.1276" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.0903 18.6701L24.42 25" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat;
        background-size: contain;
        background-position: center;
    }
    .header_l{
        width: 8.75rem;
    }
    body.overflow{
        overflow: hidden;
    }
    .burger{
        position: relative;
        width: 26px;
        height: 20px;
        cursor: pointer;
    }

    /* Линии (закрытое меню) */
    .burger::before,
    .burger::after{
        content: "";
        position: absolute;
        inset: 0;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        transition: opacity .25s ease;
    }
    /* Состояние "бургер" */
    .burger::before{
        opacity: 1;
        margin: 0 auto;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="20" viewBox="0 0 26 20" fill="none"><path d="M25 1L0.999999 1" stroke="%23BF964B" stroke-width="2" stroke-linecap="round"/><path d="M25 10L7 10" stroke="%23BF964B" stroke-width="2" stroke-linecap="round"/><path d="M25 19H0.999999" stroke="%23BF964B" stroke-width="2" stroke-linecap="round"/></svg>');

    }
    .home .burger:before{
        background-size: contain;
        background-position: center;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="20" viewBox="0 0 26 20" fill="none"><path d="M25 1L0.999999 1" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round"/><path d="M25 10L7 10" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round"/><path d="M25 19H0.999999" stroke="%23FAFAFC" stroke-width="2" stroke-linecap="round"/></svg>');
    }


    /* Состояние "крест" */
    .burger::after{
        opacity: 0;
        margin: 0 auto;
        width: 19px;
        height: 19px;
        background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="19" height="19" viewBox="0 0 19 19" fill="none"><path d="M18 1L1.02944 17.9706" stroke="%23BABCBF" stroke-width="2" stroke-linecap="round"/><path d="M1 1L17.9706 17.9706" stroke="%23BABCBF" stroke-width="2" stroke-linecap="round"/></svg>');
        background-size: contain;
        background-position: center;
    }

    /* Активное состояние */
    .burger.active::before{
        opacity: 0;
    }

    .burger.active::after{
        opacity: 1;
    }
    .top-navigation-wrapper{
        display: none;
    }
    .search_block_in{
        display: none;
    }
    .top-navigation-wrapper{
        position: fixed;
        top: 70px;
        left: 0;
        height: 100vh;
        background: #FAF7F2;
        width: 100%;
        padding: 1.5rem;
    }
    .main_top_menu{
        flex-direction: column;
        align-items: start;
    }
    .top-navigation-wrapper.active{
        display: block;
    }
    body.overflow .simple_m_logo{
        display: none;
    }
    body.overflow .simple_m_logo_menu{
        display: block;
    }
    body.overflow {
        .m_tel,
        .m_search_button{
            opacity: 0;
        }
    }
    body.overflow header{
        background: #FAF7F2;
    }
    .site-branding{
        gap: 0;
    }
    .header_bot a{
        font-size: 1rem;
        color: #BF964B;
    }
    .jr_chevron_link_wrap{
        justify-content: space-between;
    }
    .main_top_menu li{
        width: 100%;
        padding: 0.62rem 0;

    }
    .main_top_menu > li{
        border-bottom: 1px solid #EEE6CE;
    }
    .main_top_menu > li:last-child{
        border: none;
    }
    .sub-menu{
        padding-inline-start: 1rem;
    }
    .sub-menu .sub-menu{
        display: none;
    }
    .sub-menu .jr_chevron{
        display: none;
    }
    .sub-menu li a{
        color: #8A8C8F;
        font-size: 0.875rem;
    }
    .sub-menu li{
        padding: 0.62rem 0 0.38rem;
    }
    .jr_chevron{
        background: url('data:image/svg+xml,<svg width="18" height="9" viewBox="0 0 18 9" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.75 0.75L10.6356 6.95711C9.59422 8.0143 7.90578 8.0143 6.86438 6.95711L0.75 0.75" stroke="%23BF964B" stroke-width="1.5" stroke-linecap="round"/></svg>') no-repeat;
        width: 18px;
        height: 9px;
    }
    .jr_chevron.active{
        transform: scale(-1);
    }
    .search_block_in{
        position: fixed;
        left: 0;
        width: 100%;
        background: #FFF;
        top: 65px;
        border-radius: 0 0 1.875rem 1.875rem;
        padding: 2.5rem 1.5rem 1.5rem;
    }
    .m_search_button.active{
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none"><path d="M24 1L1.03983 23.9602" stroke="%23BF964B" stroke-width="2" stroke-linecap="round"/><path d="M1 1L23.9602 23.9602" stroke="%23BF964B" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat;
        background-size: 80%;
        background-position: center;
    }
    .home .m_search_button.active{
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none"><path d="M24 1L1.03983 23.9602" stroke="white" stroke-width="2" stroke-linecap="round"/><path d="M1 1L23.9602 23.9602" stroke="white" stroke-width="2" stroke-linecap="round"/></svg>') no-repeat;
        background-size: 80%;
        background-position: center;
    }
    .search_m_title{
        margin-bottom: 0.63rem;
        color: #8A8C8F;
        font-size: 1.125rem;
        line-height: 100%; /* 1.125rem */
    }
    .search_block_in .search-submit{
        background: url('data:image/svg+xml,<svg width="101" height="40" viewBox="0 0 101 40" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="100.662" height="40" rx="20" fill="url(%23paint0_linear_302_13806)"/><ellipse cx="21.9078" cy="18.9078" rx="5.90776" ry="5.90779" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M25.9693 23.3076L29.6617 27" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M46.564 25V14.8145H47.7945V19.3535H53.2222V14.8145H54.4527V25H53.2222V20.4473H47.7945V25H46.564ZM58.3492 25.1777C57.8661 25.1777 57.4263 25.0866 57.0298 24.9043C56.6334 24.7174 56.3189 24.4486 56.0865 24.0977C55.8541 23.7467 55.7379 23.3229 55.7379 22.8262C55.7379 22.3887 55.8244 22.0355 55.9976 21.7666C56.1708 21.4932 56.4009 21.279 56.688 21.124C56.9797 20.9645 57.2987 20.846 57.6451 20.7686C57.996 20.6911 58.3492 20.6296 58.7047 20.584C59.1695 20.5247 59.5455 20.4792 59.8326 20.4473C60.1242 20.4154 60.3362 20.3607 60.4683 20.2832C60.605 20.2057 60.6734 20.0736 60.6734 19.8867V19.8457C60.6734 19.3581 60.539 18.9798 60.2701 18.7109C60.0058 18.4375 59.6024 18.3008 59.0601 18.3008C58.5041 18.3008 58.0666 18.4238 57.7476 18.6699C57.4286 18.9115 57.2053 19.1712 57.0777 19.4492L55.9566 19.0527C56.1571 18.5879 56.4237 18.2256 56.7564 17.9658C57.0936 17.7061 57.4582 17.5238 57.8502 17.4189C58.2466 17.3141 58.6363 17.2617 59.0191 17.2617C59.2652 17.2617 59.5477 17.2913 59.8668 17.3506C60.1858 17.4053 60.4957 17.5238 60.7964 17.7061C61.1018 17.8838 61.3524 18.1549 61.5484 18.5195C61.7489 18.8796 61.8492 19.3626 61.8492 19.9688V25H60.6734V23.9609H60.6187C60.5412 24.125 60.4091 24.3027 60.2222 24.4941C60.0354 24.681 59.787 24.8428 59.4771 24.9795C59.1718 25.1117 58.7958 25.1777 58.3492 25.1777ZM58.5269 24.125C58.9918 24.125 59.3837 24.0339 59.7027 23.8516C60.0217 23.6693 60.2632 23.4346 60.4273 23.1475C60.5914 22.8558 60.6734 22.5527 60.6734 22.2383V21.1582C60.6233 21.2174 60.5139 21.2721 60.3453 21.3223C60.1812 21.3678 59.9898 21.4089 59.7711 21.4453C59.5569 21.4818 59.3472 21.5137 59.1422 21.541C58.9371 21.5638 58.773 21.582 58.65 21.5957C58.3446 21.6367 58.0598 21.7028 57.7955 21.7939C57.5311 21.8805 57.317 22.0104 57.1529 22.1836C56.9934 22.3568 56.9136 22.5938 56.9136 22.8945C56.9136 23.3001 57.064 23.6077 57.3648 23.8174C57.6701 24.0225 58.0575 24.125 58.5269 24.125ZM64.5152 23.2637L68.1929 17.3574H69.5464V25H68.3843V19.0938L64.7203 25H63.3531V17.3574H64.5152V23.2637ZM66.4429 16.4482C65.8323 16.4482 65.3355 16.2773 64.9527 15.9355C64.5744 15.5892 64.3853 15.1403 64.3853 14.5889H65.4791C65.4791 14.8851 65.5679 15.1266 65.7457 15.3135C65.9234 15.5003 66.1558 15.5938 66.4429 15.5938C66.73 15.5938 66.9625 15.5003 67.1402 15.3135C67.3179 15.1266 67.4068 14.8851 67.4068 14.5889H68.5005C68.5005 15.1403 68.3091 15.5892 67.9263 15.9355C67.5481 16.2773 67.0536 16.4482 66.4429 16.4482ZM70.0113 18.4512V17.3574H76.2047V18.4512H73.7027V25H72.5269V18.4512H70.0113ZM78.4332 23.2637L82.1109 17.3574H83.4644V25H82.3023V19.0938L78.6382 25H77.2711V17.3574H78.4332V23.2637Z" fill="white"/><defs><linearGradient id="paint0_linear_302_13806" x1="100.662" y1="20" x2="0" y2="20" gradientUnits="userSpaceOnUse"><stop stop-color="%23DBB775"/><stop offset="1" stop-color="%23BF964B"/></linearGradient></defs></svg>') no-repeat;
        width: 96px;
        height: 38px;
        background-size: contain;
    }
    .search-form{
        border-radius: 1.875rem;
        border: 1px solid var(--4, #BFB79F);
        background: var(--2, #FAF7F2);
        padding: 0 0 0 1rem;
        justify-content: space-between;
    }
}