@media (max-width: 1199px) {
    .h-phone,
    .h-contact {
        margin: 0 20px;
    }
    .burger {
        margin-left: 20px;
    }
    /* max-width: 1199px */
}
@media (max-width: 991px) {   
    h1, h2, .h2 {
        text-align: center;
        font-size: 40px;
    }
    h3, .h3 {
        font-size: 30px;
    }
    header {
        text-align: center;
    }
    .logo {
        margin-bottom: 10px;
    }
    .text-note {
        margin-top: 20px;
        padding-left: 30px;
    }
    .text-note::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 7px;
        max-height: none;
        width: 10px;
        margin: auto;
        transform: skew(0deg, 0deg);
        background-color: var(--main-color);
    }
    .b-factory-text .text-note {
        padding-top: 200px;
        padding-right: 15px;
    }
    .b-factory-text .text-note::before {
        bottom: auto;
        left: 0;
    }
    .b-factory-text .text-note::after {
        top: 200px;
    }
    .b-about-logo {
        padding-bottom: 30px;
    }
    .b-about-logo::before {
        bottom: 30px;
    }
    .b-about-item {
        text-align: center;
    }
    .b-about-item::before {
        right: 0;
        margin: auto;
    }
    .b-contacts-map {
        position: static;
    }    
    embed, iframe, object, video {
        max-width: 100%;
    }


    .order-m-1 {order: 1;}
    .order-m-2 {order: 2;}
    .order-m-3 {order: 3;}
    .order-m-4 {order: 4;}

    /* max-width: 991px */
}
@media (max-width: 767px) {
    h1, h2, .h2 {
        font-size: 30px;
    }
    h3, .h3 {
        font-size: 30px;
    }
    .burger {
        margin-left: 0;
    }
    nav.menu-main ul {
        display: block;
        margin: 20px 0;
    }
    .h-contacts {
        padding-left: 0;
    }
    .h-btn {
        margin: 15px 0;
        padding: 0 20px 0 20px;
    }
    .top-b-img {
        margin-left: -70px;
        margin-right: -70px;
    }
    .b-ser-item img {
        filter: brightness(70%);
    }
    .b-about-items {
        margin-top: -30px;
    }
    .b-about-item {
        margin-bottom: 20px;
    }
    .b-contacts-map {
        margin-left: -100px;
        margin-right: -100px;
    }
    .b-contacts-text {
        margin-top: -20px;
        padding: 10px 20px 20px 20px;
        font-size: 20px;
        z-index: 1;
    }
    .block-contacts {
        min-height: auto;
        padding-bottom: 120px;
    }
    .b-ser-i-1 {
        overflow: hidden;
    }
    .b-ser-i-1 a {
        margin-left: -150px;
        margin-right: -150px;
    }
    .b-ser-i-1 span {
        margin-top: 0;
    }
    footer .col-lg-2.text-right {
        margin-top: 15px;
        text-align: center;
    }
    .f-logo {
        margin-bottom: 20px;
        text-align: center;
    }
    .menu-footer ul, .f-contacts {
        text-align: center !important;
    }
    .menu-footer {
        margin-bottom: 20px;
    }
    /* max-width: 767px */
}
@media (max-width: 543px) {    
    .btn.ajax-open {
        width: 100%;
    }
    .modal-win {
        padding: 50px 10px;
    }    
}