@media print,
(max-width: 1023px)
{
    /*-------------------
        Global styles
    -------------------*/



    /*--------------
        Fancybox
    --------------*/
    .fancybox__slide
    {
        padding: 24px;
    }



    /*------------
        Header
    ------------*/
    header,
    header.absolute
    {
        position: fixed;
        z-index: 101;
        top: 0;
        left: 0;

        width: 325px;
        height: 100%;
        min-height: -moz-available;
        min-height: -webkit-fill-available;
        min-height:         fill-available;
        margin: 0;
        padding: 0;

        transition: transform .3s linear;
        transform: translateX(-100%);

        background: #fff;
    }

    header.show
    {
        transform: translateX(0);
    }


    header .scroll
    {
        display: flex;
        overflow: auto;

        height: 100%;
        min-height: -moz-available;
        min-height: -webkit-fill-available;
        min-height:         fill-available;
        padding: 20px 0;

        justify-content: flex-start;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
        overscroll-behavior-y: contain;
    }

    header .scroll > *
    {
        width: 100%;
    }


    header:before,
    header:after,
    header .logo
    {
        display: none;
    }


    header .menu
    {
        display: flex;
        gap: 0px;
        row-gap: 12px;
        width: 100%;
        padding-top: 12px;
        flex-direction: column;
    }
    header .menu-item{
        width: 100%;
    }

    header .menu-item > a
    {
        font-size: 15px;

        height: auto;

        text-align: left;

        justify-content: flex-start;
    }
    .menu-headmenu-container{
        width: 100%;
    }


    header .menu-item .sub-menu,
    header .menu-item:hover .sub-menu,
    header .menu-item > a.touch_link + .sub-menu.show
    {
        position: relative;
        top: 0;
        left: 0;

        display: block;
        visibility: visible;

        width: calc(100% + 48px);
        min-width: 0;
        margin: 12px -24px 0;

        transform: none;
        pointer-events: auto;

        opacity: 1;
    }

    header .menu-item .sub-menu:before
    {
        display: none;
    }


    header .sub-menu li a
    {
        font-size: 13px;

        padding: 14px 24px;

        text-align: left;
    }


    header .contacts
    {
        width: 100%;
        margin-top: 40px;

        flex-wrap: wrap;
    }


    header .callback_btn
    {
        width: 100%;
        height: auto;
        margin-top: 16px;
        margin-left: 0;
        padding: 16px;

        order: 2;
    }

    header .callback_btn br
    {
        display: none;
    }


    header .socials
    {
        margin-left: auto;
    }

    .header_space{
        height: 92px;
    }


    /*-----------------
        Mob. header
    -----------------*/
    .mob_header
    {
        display: block;
    }



    /*---------------
        Page head
    ---------------*/
    .page_title
    {
        font-size: 36px;
    }



    /*------------------
        Form elements
    ------------------*/
    .form .columns > *.width1of4
    {
        width: calc(50% - var(--form_columns_offset));
    }



    /*----------------
        Typography
    ----------------*/
    .text_block h2
    {
        font-size: 28px;
        line-height: 36px;
    }

    .text_block h3
    {
        font-size: 24px;
        line-height: 30px;
    }

    .text_block h4
    {
        font-size: 20px;
        line-height: 26px;
    }


    .text_block .columns
    {
        column-gap: 32px;
    }


    .text_block blockquote
    {
        font-size: 19px;
        line-height: 27px;

        margin-right: 0;
        margin-left: 0;
        padding: 24px 32px;
    }


    .text_block .image_block .image
    {
        width: 100%;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .text_block .image_block .image.square:after
    {
        width: 220px;
        height: 220px;
    }


    .text_block .image_block .info
    {
        width: 100%;

        order: 2;
    }


    .text_block .bg_title
    {
        height: 320px;
        margin-top: 48px;
        margin-bottom: 48px;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .text_block .bg_title .title
    {
        font-size: 36px;
        line-height: 44px;

        width: 100%;
    }



    /*-----------------
        Main slider
    -----------------*/
    .main_slider
    {
        margin-bottom: 80px;
    }


    .main_slider .cont
    {
        min-height: 480px;
        padding-bottom: 112px;
    }


    .main_slider .data
    {
        width: 100%;
    }


    .main_slider .title
    {
        font-size: 40px;
    }


    .main_slider .img2
    {
        display: none;
    }


    .main_slider .controls
    {
        height: auto;
    }



    /*--------------
        Articles
    --------------*/
    .articles
    {
        margin-bottom: 80px;
    }


    .articles .list > * + *
    {
        margin-top: 60px;
    }


    .articles .article .image
    {
        width: 100%;
        margin-bottom: 28px;
    }

    .articles .article .image:after
    {
        width: 220px;
        height: 220px;
    }

    .articles .article .image.top_right:after
    {
        top: auto;
        bottom: 0;
    }


    .articles .article .data
    {
        width: 100%;

        order: 2;
    }


    .articles .article .name
    {
        font-size: 26px;
        line-height: 34px;
    }


    .articles .article .desc
    {
        font-size: 13px;
        line-height: 21px;
    }


    .articles .article .link
    {
        margin-top: 20px;
    }



    /*-----------------
        Action form
    -----------------*/
    .action_form
    {
        margin-bottom: 80px;
    }


    .action_form .data
    {
        position: relative;

        width: 100%;
        padding: 0;
        padding-right: 45%;
    }


    .action_form .desc
    {
        font-size: 14px;
        line-height: 22px;

        margin-top: 16px;
    }


    .action_form .call
    {
        font-size: 14px;
        line-height: 22px;

        margin-top: 24px;
    }


    .action_form .image
    {
        position: absolute;
        top: 0;
        right: -24px;

        width: 45%;
        height: 100%;
        margin: 0;
    }


    .action_form .form
    {
        width: 100%;
        max-width: 100%;
        margin-top: 40px;
    }

    .action_form .form:before
    {
        width: 100%;
    }



    /*-------------------
        Contacts info
    -------------------*/
    .contacts_info
    {
        height: auto;
    }


    .contacts_info .data
    {
        width: calc(100% + 48px);
        max-width: calc(100% + 48px);
        margin-right: -24px;
        margin-left: -24px;
        padding: 40px 24px;
    }


    .contacts_info .map
    {
        position: relative;

        height: 400px;
    }



    /*--------------
        Services
    --------------*/
    .services
    {
        padding-bottom: 80px;
    }


    .services .all_link
    {
        font-size: 15px;

        padding: 20px;
    }



    /*-------------------
        Service block
    -------------------*/
    .service_block
    {
        margin-bottom: 68px;
    }


    .service_block .title
    {
        font-size: 28px;
        line-height: 36px;
    }


    .service_block .desc ul li + li
    {
        margin-top: 12px;
    }


    .service_block .btns
    {
        margin-top: 28px;
    }


    .service1_block:after
    {
        display: none;
    }

    .service1_block .cont
    {
        padding-bottom: 0;
    }


    .service1_block .data
    {
        width: 100%;
        padding: 0;
    }


    .service1_block .image
    {
        position: relative;

        width: 100%;
        height: auto;
        margin-top: 40px;
        padding-bottom: 50%;
    }



    .service2_block .data
    {
        width: 100%;
        min-height: 0;
    }


    .service2_block .image
    {
        position: relative;

        width: 100%;
        height: auto;
        margin-top: 40px;
        padding-bottom: 50%;
    }



    .service3_block:after
    {
        display: none;
    }

    .service3_block .data
    {
        width: 100%;
        min-height: 0;
    }


    .service3_block .image
    {
        position: relative;

        width: 100%;
        height: auto;
        margin-top: 40px;
        padding-bottom: 50%;
    }



    .service4_block .data
    {
        width: 100%;
        min-height: 0;
    }


    .service4_block .image
    {
        position: relative;

        width: 100%;
        height: auto;
        margin-top: 40px;
        padding-bottom: 50%;
    }



    .service5_block
    {
        margin-bottom: 40px;
    }

    .service5_block:after
    {
        display: none;
    }

    .service5_block .data
    {
        width: 100%;
        min-height: 0;
    }


    .service5_block .image
    {
        position: relative;

        width: 100%;
        height: auto;
        margin-top: 40px;
        padding-bottom: 50%;
    }

    .service5_block .image:after
    {
        display: block;
    }



    /*----------
        Calc
    ----------*/
    .calc
    {
        margin-bottom: 80px;
    }


    .calc .form .service
    {
        right: 0;
        left: auto;
    }



    /*----------------
        Advantages
    ----------------*/
    .advantages
    {
        margin-bottom: 70px;
    }

    .bottom_text .all_link {
        font-size: 15px;
        padding: 20px;
    }


    .advantages .row
    {
        margin-bottom: -40px;
    }

    .advantages .row:before
    {
        display: none;
    }

    .advantages .row > *
    {
        width: calc(50% - 40px);
        margin-bottom: 40px;
    }


    .advantages .item .val
    {
        font-size: 36px;
        line-height: 52px;
    }

    .advantages .item .desc
    {
        font-size: 15px;
        line-height: 21px;
    }



    /*-------------
        Reviews
    -------------*/
    .reviews
    {
        margin-bottom: 80px;
    }

    .reviews:after
    {
        width: 160px;
    }


    .reviews .col
    {
        width: 100%;
        margin-bottom: 28px;
    }


    .reviews .block_title br
    {
        display: none;
    }


    .reviews .all_link
    {
        margin-top: 20px;
    }


    .wrap_slider_blog
    {
        width: 100%;
    }

    .reviews .swiper:before
    {
        display: none;
    }  
    .wrap_bnts_slider .swiper-button-prev{
        left: 0;
    }
    .wrap_bnts_slider .swiper-button-prev.swiper-button-disabled{
        opacity: 0.25;
    }
    .wrap_bnts_slider .swiper-button-next.swiper-button-disabled{
        opacity: 0.25;
    }



    /*-----------------
        Bottom text
    -----------------*/
    .bottom_text
    {
        margin-bottom: 70px;
    }


    .bottom_text .desc
    {
        margin-top: 24px;
    }


    .bottom_text .line
    {
        margin-top: 28px;
    }


    .bottom_text .image
    {
        height: auto;
        padding-bottom: 50%;
    }



    /*------------
        Footer
    ------------*/
    footer .col
    {
        margin-top: 40px;
    }


    footer .links
    {
        max-width: 180px;
    }


    footer .contacts,
    footer .privacy_policy_link
    {
        width: 260px;
    }



    /*-----------
        PopUp
    -----------*/
    .modal
    {
        padding: 48px;
    }


    .modal_title
    {
        font-size: 28px;
        line-height: 36px;
    }
}
