@media (max-width: 767px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size: 14px;
        --font_size_title: 24px;
    }



    .block_head
    {
        margin-bottom: 30px;
    }

    .block_head .title
    {
        line-height: 30px;

        padding-top: 20px;
    }




    /*---------------
        Header
    ---------------*/
    header
    {
        padding: 20px 0;
    }

    header .cont.flex
    {
        justify-content: flex-end;
        align-items: flex-start;
        align-content: flex-start;
    }


    header .logo
    {
        position: absolute;
        top: 10px;
        left: 20px;
    }


    header .slogan
    {
        position: absolute;
        top: 55px;
        left: 20px;

        margin: 0;
        padding: 0;

        border: none;
    }


    header .phone
    {
        width: 100%;
        margin-bottom: 5px;

        text-align: right;
    }



    /*---------------
        Sidebar
    ---------------*/



    /*---------------
        Main section
    ---------------*/
    .first_section .title
    {
        font-size: 30px;
        line-height: 40px;
    }

    .first_section .title br
    {
        display: none;
    }


    .first_section .desc
    {
        font-size: 16px;
        line-height: 22px;

        margin-top: 15px;
    }



    .first_section .pluses
    {
        margin-top: 35px;
        margin-bottom: -20px;
        margin-left: -60px;
    }

    .first_section .pluses > *,
    .first_section .pluses > * + *
    {
        margin-bottom: 20px;
        margin-left: 60px;
    }

    .first_section .pluses .val
    {
        font-size: 36px;
    }

    .first_section .pluses .val small
    {
        font-size: 26px;
    }



    .stats .block_title
    {
        font-size: 25px;
        line-height: 29px;
    }

    .stats .data
    {
        padding: 25px;
    }

    .stats .flex
    {
        width: calc(100% + 20px);
        margin-bottom: -15px;
        margin-left: -20px;
    }

    .stats .flex > *
    {
        width: calc(100% - 25px);
        min-height: 32px;
        margin-bottom: 15px;
        margin-left: 20px;
        padding-left: 47px;
    }

    .stats .flex > *:before
    {
        width: 32px;
        height: 32px;
    }



    .services
    {
        padding-bottom: 60px;
    }

    .services .flex > *
    {
        width: calc(100% - 20px);
    }



    .advantages .item,
    .advantages .alignright .item
    {
        width: calc(50% - 10px);
    }



    .order_block .block_head
    {
        margin-bottom: 25px;
    }

    .order_block .form .line
    {
        width: 100%;
        margin-bottom: 15px;
    }



    /*---------------
        Footer
    ---------------*/
    footer .col_left
    {
        margin-bottom: 15px;

        text-align: center;
    }


    footer .logo img
    {
        margin: 0 auto;
    }



    footer .links
    {
        width: 100%;

        text-align: center;
    }


    footer .creator
    {
        margin: 15px auto 0;
    }



    /*---------------
        PopUp
    ---------------*/
    .fancybox-slide--html
    {
        padding: 20px;
    }

    .fancybox-slide--html .fancybox-close-small
    {
        width: 40px;
        height: 40px;
        padding: 2px;
    }



    .modal
    {
        padding: 40px 50px;
    }

    .modal .form .submit
    {
        padding-top: 5px;
    }
}
