@media (max-width: 1120px) {
    .header-top-2-bg {
        display: none;
    }

    .equipment-photo {
        height: 420px;
    }

    /* Блок - Обсудите свой проект мечты */
    .message {
        margin-bottom: 20px;
    }

    .message-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .message-content {
        padding: 24px;
    }

    .message-title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .message-form {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .message-input--full {
        grid-column: auto;
    }

    .message-textarea {
        min-height: 140px;
    }

    .message-btn {
        width: 100%;
        justify-content: center;
    }

    .message-info {
        order: -1; /* переносим текст вверх (важно) */
    }

    .message-info-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .message-cta {
        padding: 20px;
        border-radius: 10px;
    }

    .message-cta-link {
        width: 100%;
        justify-content: center;
    }

    .message-bg-image {
        display: none;
    }


    /* Блок INFO */
    .info-block-row {
        grid-template-columns: 1fr;
    }

    /* убираем rtl-хак */
    .info-block-row-reverse {
        direction: ltr;
    }

    /* порядок элементов */
    .info-block-row-reverse .info-block-text {
        order: 1;
    }

    .info-block-row-reverse .info-block-image {
        order: 2;
    }

    /* паддинги */
    .info-block-text {
        padding: 30px 0 20px;
    }

    .info-block-text > * {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
    }

    /* заголовок */
    .info-block-title {
        font-size: 20px;
    }

    .info-block-title::after {
        width: 120px;
        height: 3px;
    }

    /* текст */
    .info-block-description {
        font-size: 14px;
    }

    /* список */
    .info-block-list-item {
        font-size: 14px;
        padding-left: 32px;
    }

    .info-block-list-item::before {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }

    /* изображения */
    .info-block-image img {
        height: 320px;
        object-fit: cover;
    }
}


/* Сайдбар Вакансий - показ скрытие */
@media (max-width: 960px) {
    .lang-switcher {
        display: none;
    }

    .vacancy-filter-bar {
        display: block;
        position: sticky;
        top: 0;
        z-index: 10;
        background: #fff;
        padding-top: 8px;
        padding-bottom: 8px;
        margin-bottom: 10px;
    }

    .vacancy-filter-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        border-radius: 8px;
        background-color: #1862c3;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        border: none;
        cursor: pointer;
    }

    .vacancy-filter-toggle::before {
        content: "";
        width: 20px;
        height: 20px;
        background: url('/assets/images/icons/filter.svg') no-repeat center;
        background-size: contain;
    }

    .catalog-section--vacancies .sidebar--vacancies {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 420px;
        height: 100%;
        background: #fff;
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease;
        padding-top: 20px;
    }

    .catalog-section--vacancies .sidebar--vacancies.active {
        left: 0;
    }

    .catalog-section--vacancies .sidebar--vacancies-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: sticky;
        top: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        z-index: 10;
    }

    .sidebar-header {
        position: sticky;
        top: 0;
        background: #fff;
        font-weight: 600;
        border-bottom: 1px solid #eee;
        z-index: 10;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .sidebar-close {
        font-size: 38px;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Sidebar + Filter */
    .catalog-layout {
        display: block;
    }

    .catalog-aside {
        display: none;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 20px;
    }

    .filter {
        margin-bottom: 20px;
    }

}

/* Скрываем блок сайдбара и фильтра на desktop */
@media (min-width: 961px) {
    .catalog-mobile-tabs {
        display: none;
    }
}


@media (max-width: 840px) {
    .search-bar {
        display: none;
    }

    .footer-wrapper {
        padding-bottom: 140px;
    }

    .footer-excavator {
        top: -110px;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
    }

    .footer-bottom-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .footer-bottom-links {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }


    /* контейнер */
    .about-text-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .subtitle {
        /*text-align: center;*/
        margin-bottom: 4px;
    }

    /* порядок */
    .about-text-content {
        order: 1;
        max-width: 100%;
    }

    .about-text-media {
        order: 2;
        height: 320px;
        border-radius: 16px;
    }

    .about-media-main {
        height: 100%;
        object-fit: cover;
    }

    /* бейдж */
    .about-media-badge {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 12px;
    }

    /* заголовки */
    .about-text-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .about-text-subtitle {
        font-size: 18px;
        margin-bottom: 10px;
    }

    /* блоки */
    .about-text-block {
        margin-bottom: 18px;
    }

    /* список */
    .about-text-list-item {
        padding-left: 38px;
    }

    .about-text-list-item::before {
        width: 24px;
        height: 24px;
        line-height: 24px;
        font-size: 12px;
    }

    /* секция */
    .about-text-section {
        margin-bottom: 40px;
    }

    /* Переопределяем порядок элементов в шапке */
    .site-logo {
        order: 2;
    }

    .catalog-button {
        order: 1;
    }

    .phone-container {
        order: 3;
    }

}


@media (max-width: 720px) {
    .equipment-photo {
        height: 320px;
    }

    .home-section {
        padding: 40px 0;
    }

    .header-video-wrapper {
        margin-bottom: 10px;
    }

    .catalog-title {
        font-size: 26px;
        text-align: center;
        margin-bottom: 20px;
    }

    .title {
        text-align: center;
    }

    .faq-title {
        text-align: left;
    }

    .clients-section {
        padding-top: 30px;
        padding-bottom: 20px;
    }

    .client-card {
        width: 140px;
        height: 100px;
    }

    .home-title {
        text-align: center;
    }

}


@media (max-width: 620px) {
    .phone-dropdown {
        display: none !important;
    }

    .phone-button {
        display: none;
    }

    .phone-toggle {
        width: 28px;
        height: 28px;
        background: url('/assets/images/icons/phone-white.svg') no-repeat center;
        background-size: contain;
    }

    .phone-toggle .arrow-icon {
        display: none;
    }

    .footer-wrapper {
        justify-items: center;
        text-align: center;
    }

    .footer-title::after {;
        width: 100%;
    }

    .footer-contacts-block {
        align-items: center;
        text-align: center;
    }

    .header-catalog-text {
        display: none;
    }

    .faq-question {
        padding: 10px 48px 16px 10px;
        font-size: 15px;
        font-weight: 400;
    }

    .pagination {
        margin-top: 40px;
    }

    .phone-modal .dropdown-item {
        font-size: 20px;
    }

    .dropdown-item img {
        width: 24px;
        height: 24px;
    }

    .catalog-header-title {
        font-size: 28px;
    }

    .text-subtitle {
        font-size: 24px;
    }

    .catalog-text {
        margin-bottom: 40px;
    }

    .faq {
        margin-top: 40px;
        margin-bottom: 60px;
    }

    .card-item-header {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .card-item-title {
        font-size: 22px;
    }

    .card-item-params-item {
        font-size: 14px;
    }

    .card-item-price {
        font-size: 22px;
    }
}


@media (max-width: 460px) {
    .vacancy-filter-toggle {
        justify-content: center;
        width: 100%;
    }

    .equipment-photo {
        height: 260px;
    }

    .section-title-link::after {
        width: 20px;
        height: 20px;
        background-size: 18px 18px;
    }

    .subtitle {
        font-size: 15px;
    }

    .title {
        font-size: 22px;
    }

    .cards {
        grid-auto-rows: 360px;
    }

    .card-image {
        height: 140px;
    }

    .card-title {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .header-content-title-video {
        font-size: 32px;
    }

    .header-content-text-video {
        font-size: 18px;
        line-height: 1.5;
    }

    /*.header-video-wrapper {*/
    /*    height: 70dvh;*/
    /*}*/

    .header-content-video-overlay {
        margin: 60px auto 0;
    }

}


@media (max-width: 370px) {
    .header-top {
        gap: 16px;
    }

    .sidebar-switch-btn {
        padding: 10px 8px;
        font-weight: 400;
    }
}
