@media print, (max-width: 767px) {

    :root {
        --font_size_title: 32px;
        --font_size: 15px;
    }
    .block {
        padding: 30px 0;
    }
 
    .first-section_text {
        font-size: 16px;
    }
    .first-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    .first-section_title br {
        display: none;
    }
    .header_logo img {
        width: 160px;
    }
    .header_email {
        margin-right: 10px;
    }
    .header-contact {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }
    .header-contact .phone a {
        margin-right: 30px;
        margin-bottom: 0px;
    }
    .first-section_title {
        font-size: 30px;
    }
    .header-info_text {
        font-size: 18px;
    }
    .services_item-title {
        font-size: 20px;
        line-height: 25px;
        margin-top: 12px;
    }
    .services_item-text {
        font-size: var(--font_size);
        margin-top: 13px;
    }
    .title::before {
        bottom: -15px;
    }
    .advantages_items {
        margin-top: 60px;
    }
    .title {
        margin-bottom: 30px;
    }
    .steps_item-text {
        font-size: 16px;
    }
    .advantages_items {
        flex-direction: column;
    }
    .advantages_item-box {
        max-width: 100%;
        margin-bottom: 25px;
    }
    .advantages_item-box-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .footer-top {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .footer-contact {
        text-align: center;
        margin-top: 20px;
    }


}


@media print, (max-width: 630px) {
    .steps_items {
        margin-left: 0;
        margin-bottom: -20px;
    }
    .steps_items > * {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }
}