@media (max-width: 1320px) {
    .page__index .partners__carousel, .page__index .certificates__carousel {
        width: calc(100% - 130px);
        margin: 0 auto 30px;
    }
}

@media (max-width: 1210px) {
    .container {
        max-width: 92%;
    }
}

@media (max-width: 1050px) {
    .services .services__item-wrap .services__item-title {
        padding: 20px 20px 30px;
    }
}

@media (max-width: 960px) {
    body {
        font-size: 15px;
    }
    header .header__logo-text {
        font-size: 18px;
    }
    header .header__menu-nav .header__menu-item a {
        font-size: 16px;
    }
    header .header__menu-wrap {
        width: 57%;
    }
    header .header__contacts-wrap {
        font-size: 15px;
    }
    header .header__contacts-call button {
        font-size: 14px;
        width: 175px;
    }
    .page__index .top-info .top-info__benefits-item span {
        font-size: 42px;
    }
    .page__index .top-info .top-info__benefits-item {
        font-size: 16px;
    }
    .item__title {
        font-size: 17px;
    }
    .benefits .benefits__item .benefits__item-text {
        font-size: 15px;
    }
    .projects .projects__item {
        padding: 15px 15px 30px 15px;
    }
    .contact .contact__form-send button {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .item__col-md-2 {
        width: 48%;
    }
    .item__col-md-2:nth-child(odd) {
        margin-right: 4%;
    }
    .item__col-md-2:nth-child(even) {
        margin-right: 0;
    }
    header .header__wrap {
        padding: 12px 0 8px;
    }
    /*header .header__logo-img {
        width: 80px;
        height: 80px;
    }*/
    header .header__logo-wrap .custom-logo-link {
        width: 80px;
        height: 80px;
    }
    header .header__logo-text {
        font-size: 16px;
    }
    header .header__hamburger {
        display: inline-block;
    }
    header .header__menu-wrap {
        display: none;
        -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
        order: 4;
        width: 100%;
        position: relative;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    header .header__menu-nav ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    header .header__menu-item {
        padding: 15px 0;
        text-align: center;
    }
    header .header__menu-nav .header__menu-item a {
        display: block;
    }
    header .header__contacts-wrap {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        width: calc(100% - 130px);
        -webkit-box-pack: end;
        -ms-flex-pack: end;
        justify-content: end;
        margin-right: 20px;
    }
    header .header__contacts-email {
        display: none;
    }
    header .header__contacts-call {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }
    header .header__contacts-phone {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        margin-right: 20px;
    }
    .page-content {
        margin-top: 130px;
    }
    footer .footer__items-list .footer__item-menu {
        width: 100%;
    }
    footer .footer__menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        width: 71%;
        margin: 0 auto 30px;
    }
    footer .footer__items-list .footer__item-company {
        width: 32%;
    }
}
@media (max-width: 730px) {
    /*.page_detail .page_detail-title {
        height: 360px;
    }*/
    .page_detail .page_detail-title h1 {
        width: 100%;
    }
}
@media (max-width: 710px) {
    .page__index .top-info .top-info__content {
        padding: 40px 0;
    }
    .page__index .top-info .top-info__title h1 {
        margin: 0 0 115px;
    }
    .page__index .top-info .top-info__benefits-item {
        width: 48%;
        margin-bottom: 35px;
    }
    .contact .contact__form {
        width: 60%;
        margin: 50px auto 0;
        min-width: 288px;
    }
    .contact .contact__form-fields {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .contact .contact__form-field-wrap {
        width: 100%;
        margin-bottom: 30px;
    }
    .contact .contact__form-send input {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .page__index .top-info .top-info__title {
        width: 80%;
    }
    .page__index .top-info .top-info__title h1 {
        font-size: 40px;
    }
}
@media (max-width: 620px) {
    footer .footer__menu {
        width: 80%;
    }
}
@media (max-width: 576px) {
    .page__contacts .contacts__list img {
        display: none;
    }
    footer .footer__items-list .footer__item-company {
        width: 100%;
        margin-bottom: 30px;
    }
    footer .footer__item-email {
        float: left;
        margin-right: 25px;
    }
}
@media (max-width: 540px) {
    .container {
        max-width: 90%;
    }
    header .header__contacts-phone {
        display: none;
    }
    header .header__mobile_phone {
        display: block;
        margin: 0 0 20px 0;
        text-align: center;
    }
    .page__project-detail .project__presentation {
        padding-bottom: 88%;
    }
    .page__project-detail .project__presentation iframe {
        width: 100%;
        left: 0;
    }
    footer .footer__menu {
        width: calc(100% - 52px);
    }
}
@media (max-width: 520px) {
    .item {
        width: 100%;
        margin: 20px 0;
    }
    .item__col-md-2:nth-child(odd), .item__col-md-2:nth-child(even) {
        margin-right: 0;
    }
    .page_detail .page_detail-title h1 {
        font-size: 1.5em;
    }
    .services .services__item-wrap .services__item-img {
        height: 14rem;
    }
    footer .footer__menu {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 440px) {
    .page__index .top-info .top-info__content {
        padding: 30px 0 20px;
    }
    .page__index .top-info .top-info__title h1 {
        font-size: 32px;
    }
    .page__index .top-info .top-info__benefits-item {
        width: 100%;
    }
    .page__index .top-info .top-info__benefits-item span {
        font-size: 36px;
    }
    .benefits .benefits__item-wrap {
        margin: 20px 0;
        width: 100%;
    }
    .page-content h1 {
        line-height: 1.5em;
        text-align: center;
        font-size: 1.6em;
    }
    footer .footer__items-list .footer__item-info {
        float: none;
    }
}
@media (max-width: 376px) {
    .page__index .top-info .top-info__content {
        padding: 25px 0;
    }
    .page__index .top-info .top-info__title h1 {
        font-size: 28px;
        line-height: 2.5rem;
        margin: 0 0 70px;
    }
    .page__index .top-info .top-info__benefits-item {
        font-size: 14px;
        margin-bottom: 28px;
    }
    .page__index h2 {
        font-size: 19px;
    }
}
@media (max-width: 360px) {
    header .header__contacts-call {
        display: none;
    }
}
