@media print,
(max-width: 767px)
{
    /*-------------------
        Global styles
    -------------------*/
    :root
    {
        --font_size: 14px;
        --font_size_title: 30px;
    }


    .swiper-horizontal > .swiper-pagination-bullets,
    .swiper-pagination-bullets.swiper-pagination-horizontal,
    .swiper-pagination-custom,
    .swiper-pagination-fraction
    {
        padding: 0 24px;
    }



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



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



    /*---------------
        Accordion
    ---------------*/
    .accordion_item + .accordion_item
    {
        margin-top: 20px;
    }


    .accordion_item .head
    {
        padding: 16px 52px 16px 20px;
    }


    .accordion_item .data
    {
        padding: 0 20px 20px;
    }



    /*----------------
        Block head
    ----------------*/
    .block_head .title
    {
        line-height: calc(100% + 6px);
    }

    .block_head .title:not(.no_lines):before,
    .block_head .title:not(.no_lines):after
    {
        display: none;
    }


    .block_head .desc
    {
        font-size: 15px;
        line-height: 25px;
    }



    /*------------------
        Form elements
    ------------------*/
    .form .columns
    {
        --form_columns_offset: 16px;
    }


    .form .balcony_design .row > *,
    .form .window_design .row > *
    {
        width: calc(50% - 24px);
    }



    /*----------------
        Typography
    ----------------*/
    .text_block
    {
        line-height: 22px;
    }


    .text_block > *
    {
        margin-bottom: 20px;
    }


    .text_block h2
    {
        font-size: 22px;
        line-height: 30px;

        margin-bottom: 24px !important;
    }


    .text_block .columns
    {
        column-gap: 0;
        column-count: 1;
    }

    .text_block .columns > * + *
    {
        margin-top: 20px;
    }



    /*-----------------
        Main slider
    -----------------*/
    .main_slider .data
    {
        width: 400px;
        height: 280px;
        padding: 40px 75px 48px 24px;
    }


    .main_slider .title
    {
        line-height: calc(var(--font_size_title) + 6px);
    }


    .main_slider .desc
    {
        display: none;
    }


    .main_slider .btns
    {
        margin-top: 24px;
    }

    .main_slider .order_btn
    {
        font-size: 13px;

        height: 39px;
    }

    .main_slider .calc_btn
    {
        font-size: 13px;

        height: 39px;
        padding: 0 15px;
    }


    .main_slider .image
    {
        height: calc(100% - 40px);
    }



    /*----------------
        Directions
    ----------------*/
    .directions .grid
    {
        grid-gap: 12px;
        grid-template-columns: repeat(2, 1fr);
    }

    .directions .grid > *.big
    {
        grid-row: 1 / 3;
        grid-column: 1 / 3;
    }


    .directions .direction .name
    {
        font-size: 15px;
    }


    .directions .direction .details,
    .directions .direction .calc_btn
    {
        font-size: 12px;
    }


    .directions .direction .calc_btn .icon
    {
        display: none;
    }



    /*--------------
        Projects
    --------------*/
    .projects .project .info
    {
        position: relative;

        margin-top: -20px;
        padding: 24px 16px 16px;

        transform: none;
    }

    .projects .project .name
    {
        font-size: 16px;
        line-height: 20px;
    }



    /*------------------
        Consult form
    ------------------*/
    .consult_form .info .desc
    {
        font-size: 16px;
        line-height: 24px;
    }


    .consult_form .call
    {
        font-size: 16px;
        line-height: 24px;

        margin-top: 32px;
    }

    .consult_form .call .icon
    {
        width: 36px;
        height: 36px;
        margin-right: 16px;
    }

    .consult_form .call .phone
    {
        font-size: 20px;
        line-height: 26px;
    }



    /*----------------
        Advantages
    ----------------*/
    .advantages .row > *
    {
        width: calc(33.333% - 24px);
    }


    .advantages .item .icon
    {
        height: 48px;
    }



    /*-----------
        Steps
    -----------*/
    .steps .step + .step:before
    {
        top: 44px;
    }

    .steps .step .number
    {
        height: 116px;
        margin-bottom: -12px;
    }



    /*-----------
        Quote
    -----------*/
    .quote .text
    {
        line-height: 25px;

        padding: 24px;
    }



    /*--------------
        Articles
    --------------*/
    .articles .row
    {
        display: block;
        overflow: auto;

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

        white-space: nowrap;

        scrollbar-color: transparent transparent !important;
        scrollbar-width: thin !important;
    }

    .articles .row::-webkit-scrollbar
    {
        width: 0 !important;
        height: 0 !important;

        background-color: transparent !important;
    }

    .articles .row::-webkit-scrollbar-thumb
    {
        background-color: transparent !important;
    }


    .articles .row > *
    {
        display: inline-block;

        width: 252px;
        max-width: none;
        margin: 0;

        vertical-align: top;
        white-space: normal;
    }

    .articles .row > * + *
    {
        margin-left: 16px;
    }



    /*--------------
        Services
    --------------*/
    .services .table_wrap
    {
        width: calc(100% + 48px);
        max-width: calc(100% + 48px);
        margin: 0 -24px;
        padding: 0 24px;
    }


    .services table
    {
        width: 768px;
    }



    /*----------
        Calc
    ----------*/
    .calc .type .row
    {
        margin-left: -24px;
    }

    .calc .type .row > *
    {
        margin-left: 24px;
    }


    .calc .columns > *
    {
        width: calc(100% - var(--form_columns_offset));
    }


    .calc .col_right:not(.no_pad)
    {
        padding: 0 12px;
    }


    .calc .image .item
    {
        width: 90px;
        height: 166px;
    }

    .calc .image .item.big_h
    {
        height: 232px;
    }



    /*--------------------
        Contacts block
    --------------------*/
    .contacts_block .col,
    .contacts_block .location
    {
        width: calc(50% - 12px);
        margin-bottom: 20px;
    }


    .contacts_block .location
    {
        line-height: 24px;
    }


    .contacts_block .messengers
    {
        min-height: 0;

        align-self: center;
    }


    .contacts_block .consult_btn
    {
        display: block;

        width: calc(50% - 12px);
    }



    /*------------
        Footer
    ------------*/
    footer .col_left
    {
        display: flex;

        width: 100%;

        justify-content: space-between;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }


    footer .col_main
    {
        display: flex;

        width: 100%;
        margin-top: 32px;

        justify-content: space-between;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
    }


    footer .contacts
    {
        margin: 0;
    }

    footer .col_main .contacts + *
    {
        width: calc(50% - 12px);
        margin-top: 0;
        margin-left: auto;
    }


    footer .contacts .phone
    {
        font-size: 18px;
        line-height: 22px;
    }


    footer .copyright
    {
        width: calc(50% - 12px);
        margin-left: auto;
    }

    footer * + .copyright
    {
        margin-top: 0;
    }


    footer .col
    {
        margin-top: 24px;
    }


    footer .creator
    {
        width: calc(50% - 12px);
        margin-top: 0;
        margin-left: auto;
    }
}
