@media (max-width: 1023px)
{
    /*---------------
        Main styles
    ---------------*/
    :root
    {
        --font_size: 15px;
        --font_size_title: 28px;
    }



    .block_head
    {
        margin-bottom: 30px;
    }

    .block_head .title
    {
        line-height: 32px;
    }



    .owl-dots
    {
        height: 12px;
    }

    .owl-dot
    {
        width: 12px;
        height: 12px;
    }

    .owl-dot + .owl-dot
    {
        margin-left: 15px;
    }



    .form .input
    {
        height: 54px;
        padding: 0 30px;
    }



    /*---------------
        Header
    ---------------*/
    header
    {
        padding: 30px 0;
    }


    header .slogan
    {
        margin-left: 20px;
        padding-left: 20px;
    }


    header .phone
    {
        font-size: 19px;
    }



    /*---------------
        Sidebar
    ---------------*/



    /*---------------
        Main section
    ---------------*/
    .first_section .cont
    {
        padding-top: 150px;
    }


    .first_section .title
    {
        font-size: 36px;
        line-height: 50px;
    }

    .first_section .desc
    {
        font-size: 17px;
        line-height: 25px;

        width: 390px;
        margin-top: 20px;
    }

    .first_section .link
    {
        font-size: 17px;
        line-height: 50px;

        height: 54px;
        margin-top: 25px;
    }


    .first_section .pluses > * + *
    {
        margin-left: 50px;
    }

    .first_section .pluses .val
    {
        font-size: 40px;
    }


    .first_section .bg
    {
        margin-left: -900px;
    }



    .stats .data
    {
        padding: 30px;
    }

    .stats .block_title
    {
        font-size: 28px;
        line-height: 32px;
    }

    .stats .block_title span
    {
        top: -2px;
    }

    .stats .flex > *
    {
        display: flex;

        width: calc(50% - 25px);

        justify-content: flex-start;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }

    .stats .flex > * br
    {
        display: none;
    }



    .services
    {
        padding: 60px 0 70px;
    }

    .services .flex > *
    {
        width: calc(50% - 20px);
    }

    .services .service
    {
        padding: 40px;
    }

    .services .service .name:before
    {
        left: -40px;

        width: 16px;
    }


    .services .link
    {
        margin-top: 35px;
    }



    .projects
    {
        padding: 60px 0;
    }

    .projects .slider
    {
        padding-bottom: 45px;
    }

    .projects .grid > *
    {
        padding-bottom: 170px;
    }

    .projects .project
    {
        font-size: 15px;
        line-height: 17px;
    }

    .projects .project.circle:before
    {
        top: calc(100% - 140px);
        right: calc(100% - 170px);

        width: 220px;
        height: 220px;
    }

    .projects .project.big_height.circle:before,
    .projects .project.big_width.circle:before
    {
        top: calc(100% - 160px);
        right: calc(100% - 180px);
    }

    .projects .project .info
    {
        padding: 32px 20px 20px;
    }

    .projects .project .info:before
    {
        left: 20px;
    }

    .projects .project .name
    {
        font-size: 19px;
        line-height: 25px;

        margin-bottom: 5px;
    }



    .advantages
    {
        padding: 60px 0;
    }

    .advantages .items
    {
        margin-top: 45px;
    }

    .advantages .items:before
    {
        font-size: 100px;
        line-height: 117px;

        width: 117px;
        height: 117px;

        box-shadow: 0 0 0 15px rgba(30,172,118,.18);
    }

    .advantages .col
    {
        display: flex;

        width: 100%;
        margin-bottom: -20px;

        justify-content: space-between;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
    }

    .advantages .col + .col
    {
        margin-top: 125px;
    }

    .advantages .item,
    .advantages .alignright .item
    {
        font-size: 15px;
        line-height: 21px;

        width: calc(25% - 10px);
        margin-bottom: 20px;
        padding: 40px 0 0;

        text-align: center;
    }

    .advantages .item + .item
    {
        margin-top: 0;
    }

    .advantages .item:before,
    .advantages .alignright .item:before
    {
        top: 0;
        right: 0;
        bottom: auto;
        left: 0;
    }



    .order_block .form .line
    {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }

    .order_block .form .submit
    {
        display: flex;

        width: 100%;
        margin: 0;

        justify-content: center;
        align-items: flex-start;
        align-content: flex-start;
        flex-wrap: wrap;
    }

    .order_block .form .submit_btn
    {
        width: auto;
        padding: 0 40px;
    }



    /*---------------
        Footer
    ---------------*/
    footer
    {
        padding-bottom: 20px;
    }

    footer,
    footer .links > *
    {
        font-size: 14px;
    }


    footer .col_left
    {
        width: 100%;
        margin-bottom: 10px;
    }



    footer .links,
    footer .creator
    {
        margin-left: 0;
    }



    /*---------------
        PopUp
    ---------------*/
    .fancybox-slide--html
    {
        padding: 30px;
    }

    .fancybox-slide--html .fancybox-close-small
    {
        top: 10px;
        right: 10px;

        width: 40px;
        height: 40px;
    }


    .modal
    {
        width: 520px;
        padding: 40px 70px 40px;
    }

    .modal_title
    {
        line-height: 32px;
    }

    .modal_desc
    {
        margin: 12px 0 0;
    }
}
