@media screen and (max-width: 1200px) {
    .intro__red-btn, .intro__white-btn {
        padding: 12px 20px;
    }

    .work-stages__item-video {
        height: 250px;
    }

    .contacts__list-item {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 1100px) {
    .work-stages__grid {
        grid-template-columns: 1fr;
    }
    .work-stages__item-video {
        height: 300px;
    }

    .tariff-page__tariff {
        grid-template-columns: 1fr 3fr;
        row-gap: 30px;
    }
    .tariff-page__tariff-price-wrapper {
        grid-area: 2 / 2 / 3 / 3;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 991px) {
    .container {
        padding-left: 24px;
        padding-right: 24px;
    }
    header {
        background-color: #333333;
        position: sticky;
        top: 0;
        left: 0;
        z-index: 10;
        width: 100%;
        height: 62px;
    }
    header .container {
        height: 100%;
    }
    .header__wrapper {
        padding: 0;
        height: 100%;
    }
    .header__part-left {
        flex: none;
    }
    #logo {
        min-width: 103px;
        width: 103px;
        display: flex;
        align-items: center;
    }
    .header__record-button, .info-dropdown-trigger, .nav {
        display: none;
    }
    .header__mobile-phone-button, .header__mobile-menu-button {
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    .header__mobile-menu-button {
        padding-right: 20px;
    }
    .fixed-header, .desktop-big-menu {
        display: none !important;
    }
    .mobile-menu {
        display: block;
    }

    .intro-section {
        height: 750px;
    }
    .intro__red-btn, .intro__white-btn {
        font-size: 20px;
    }

    .features__grid, .tariffs__grid {
        gap: 24px;
    }
    .features-section .kinescope-placeholder {
        height: 400px;
    }

    .footer__top-wrapper {
        flex-direction: column;
    }

    .information-page__aside {
        display: none;
    }

    .share-page__record {
        padding: 25px;
    }
    .share-page__record-icon {
        display: none;
    }

    .contacts__main-wrapper {
        flex-direction: column;
    }
    /*.contacts__aside {*/
    /*    padding-left: 0;*/
    /*    padding-bottom: 45px;*/
    /*    max-width: 100%;*/
    /*    width: 100%;*/
    /*    min-width: 0;*/
    /*}*/
    /*.contacts__aside-block {*/
    /*    flex-direction: row;*/
    /*    align-items: flex-start;*/
    /*    gap: 30px;*/
    /*    padding: 25px;*/
    /*}*/
    /*.contacts__aside-image {*/
    /*    max-width: 350px;*/
    /*    filter: brightness(100%);*/
    /*}*/
    /*.contacts__aside-text {*/
    /*    padding: 0;*/
    /*}*/
}
/* 991 */

@media screen and (max-width: 900px) {
    .sandblasting__video-outer {
        flex-direction: column;
    }
    .sandblasting__video {
        width: 100%;
    }

    .soundproofing__item {
        flex-direction: column;
    }
    .soundproofing__item-text {
        width: 100%;
    }
    .soundproofing__swiper-outer {
        width: 100%;
    }

    .tariffs-page__tariffs {
        grid-template-columns: 1fr;
    }

    .shares-page__shares {
        grid-template-columns: 1fr;
    }

    .price__table tr td:first-child {
        display: table-cell;
    }
    .price__table tr td:first-child span {
        display: block;
    }

    .work-stages__item {
        flex-direction: column-reverse;
        gap: 5px;
    }
    .work-stages__item-video, .work-stages__item-text {
        width: 100%;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-page-offer {
        flex-direction: column;
        gap: 20px;
    }
    .partner-page-banner {
        min-width: 0;
        width: 100%;
    }
    .partner-page-offer-link {
        margin-top: 20px;
    }
}
/* 900 */

@media screen and (max-width: 768px) {
    section.p-40-80, section.p-80, section.p-80-40 {
        padding: 40px 0;
    }
    h2 {
        font-size: 30px;
    }
    .header__mobile-phone-button {
        display: none;
    }

    .city-selection-popup {
        width: 100%;
        height: 100%;
    }
    .city-selection-popup__input-wrapper input {
        font-size: 14px;
    }

    .intro__buttons {
        width: 100%;
    }
    .intro__red-btn, .intro__white-btn {
        flex: 1 1 0;
    }

    .features__grid, .tariffs__grid {
        grid-template-columns: repeat(auto-fill, minmax(325px, 1fr));
    }
    .features-section .kinescope-placeholder {
        height: 300px;
    }

    .work-stages__item-text {
        gap: 0;
    }

    .sandblasting__description {
        margin-bottom: 20px;
    }
    .sandblasting__video {
        height: 280px;
    }

    .footer__top-wrapper {
        padding: 30px 0;
    }
    .footer__socials-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .footer__nav-list {
        padding-bottom: 15px;
    }
    .footer__nav-list li {
        margin: 15px 0;
    }

    .tariff-page__tariff {
        grid-template-columns: 1fr;
        padding: 24px;
    }
    .tariff-page__tariff-price-wrapper {
        grid-area: auto;
    }
    .reviews-section-bg {
        padding: 20px;
    }
    .reviews__tab:first-child {
        margin: 0;
    }
    .reviews__tabs {
        row-gap: 5px;
        column-gap: 15px;
    }
    .article-page__content {
        flex-direction: column;
    }
    .article-page__image {
        max-width: 100%;
    }

    .partners-grid {
        gap: 20px;
    }
}
/* 768 */

@media screen and (max-width: 750px) {
    .city-modal {
        position: relative;
        top: 0 !important;
        left: 0 !important;
        width: 100%;
        border-radius: 0;
    }
    .city-modal__change-btn, .city-modal__close-link {
        flex: 1 1 0;
        text-align: center;
    }
}

@media screen and (max-width: 600px) {
    .section__head {
        margin-bottom: 20px;
    }
    .section__head-link {
        padding: 10px;
    }
    .section__head-link span {
        display: none;
    }
    h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    #logo {
        min-width: 125px;
        width: 125px;
    }
    .header__city-selection {
        font-size: 12px;
        line-height: 1.2;
    }
    .header__city-selection span {
        display: block;
    }
    .search-panel {
        height: 85px;
    }
    .search-panel input {
        font-size: 15px;
    }
    .record-form-popup {
        width: calc(100vw - 48px);
        height: calc(100vh - 24px);
    }

    .intro-section h1 {
        font-size: 30px;
    }
    .intro__subtitle {
        font-size: 20px;
        margin-bottom: 35px;
    }
    .intro__buttons {
        flex-direction: column;
        gap: 10px;
    }
    .intro__red-btn, .intro__white-btn {
        font-size: 18px;
    }

    .features__grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
    }
    .features__item {
        min-width: 260px;
        padding: 0 15px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .tariffs__item {
        padding: 15px;
    }
    .tariffs__item-price-table {
        display: table;
    }

    .work-result__grid {
        display: flex;
        gap: 24px;
        overflow-x: auto;
    }
    .work-result__item {
        min-width: 260px;
    }
    .work-result__item-image {
        height: 200px;
    }
    .work-result__description {
        margin-bottom: 20px;
    }

    .event-lifecycle__videos {
        flex-direction: column-reverse;
    }
    .event-lifecycle__video {
        width: 100%;
    }

    .scroll-to-top {
        display: none;
    }

    .information__certificate {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .information__certificate-download-link {
        display: none;
    }

    .tariffs-page__tariff-inner {
        padding: 15px;
    }

    .share-page__record {
        flex-direction: column;
        align-items: flex-start;
    }

    /*.contacts__aside {*/
    /*    min-height: 550px;*/
    /*}*/
    /*.contacts__aside-block {*/
    /*    flex-direction: column;*/
    /*}*/

    .price__table:not(.mobile) {
        display: none;
    }
    .price__tables-mobile {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .price__table.mobile tbody tr:first-child td div {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .tariffs__item-content {
        max-height: 0;
        height: 100%;
        overflow-y: hidden;
        transition: max-height .3s ease;
    }
    .tariffs__item.unfolded .tariffs__item-content {
        max-height: 10000px;
    }
    .tariffs__item-unfold-button {
        display: inline-block;
        color: #999;
    }
    .tariffs__item-head {
        padding-bottom: 15px;
    }
    .tariffs__item .tariffs__item-list {
        padding-top: 15px;
    }

    .information-page h2 {
        font-size: 22px;
    }

    .soundproofing__swiper-outer .swiper {
        height: 250px;
    }

    .phone-widget {
        display: flex;
    }
}
/* 600 */

@media screen and (max-width: 512px) {
    .page {
        padding-bottom: 50px;
    }
    .city-selection-popup__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .tariffs__grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .event-lifecycle__video {
        height: 300px;
    }

    .footer__socials {
        flex-wrap: wrap;
    }
    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        padding: 15px 0;
    }

    .information__certificates {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .tariffs-page__tariff-image {
        height: 250px;
    }
    .tariffs-page__tariff-car-type {
        flex: auto;
        white-space: normal;
    }

    .share-dropdown {
        width: 250px;
        flex-wrap: wrap;
    }

    .contacts__map {
        height: 275px;
    }

    .reviews__swiper .swiper {
        padding: 0;
    }
    .reviews__pagination {
        display: none;
    }

    .features-section .kinescope-placeholder {
        height: 200px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }
    .partner-page-info {
        flex-direction: column;
        gap: 20px;
    }
    .partner-page-logo {
        width: 100%;
        height: 180px;
    }
    .partner-page-section::before {
        margin: 20px 0;
    }
}
/* 512 */
@media screen and (max-width: 430px) {
    .record-form-popup {
        width: 100vw;
        height: 100vh;
    }

    .soundproofing__swiper-outer .swiper {
        height: 190px;
    }
}

/* halva */
@media screen and (max-width: 1500px) {
    .halva-banner-right-image {
        display: none;
    }
}
@media screen and (max-width: 1300px) {
    .halva-banner-left-image {
        width: 550px;
    }
    .halva-banner-text {
        padding: 35px 20px 20px;
    }
    .halva-banner-text h2 {
        font-size: 46px;
        margin: 0 0 35px;
    }
    .halva-banner-text a {
        font-size: 28px;
        margin-bottom: 30px;
    }
}
@media screen and (max-width: 991px) {
    .halva-banner-wrapper {
        flex-direction: column-reverse;
    }
    .halva-banner-left-image {
        width: 95%;
    }
    .halva-banner-text {
        max-width: 100%;
    }
    .halva-banner-text h2 {
        font-size: 56px;
    }
    body h1 {
        font-size: 30px;
    }
}
@media screen and (max-width: 535px) {
    .halva-banner-text {
        padding: 20px 16px;
    }
    .halva-banner-text h2 {
        font-size: 38px;
    }
    .halva-banner-text a {
        font-size: 20px;
        padding: 10px 25px;
    }
    .halva-banner-text span {
        font-size: 14px !important;
    }
}

@media screen and (max-width: 425px) {
    .error-page__buttons {
        flex-direction: column;
    }
}