:root {
    --main-color: #3b82f6;
    --main-text-color: #121923;
    --main-white-color: #fff;
    --main-hover-color: #1d4ed8;
    --logo-red-color: #e11900;
    --logo-blue-color: #0076ff;
    --logo-white-color: #e3e9f1;
    --btn-focus-color: #2563eb;
    --btn-hover-color: #1d4ed8;
    --btn-active-color: #1e40af;
    --btn-disabled-color: #93c5fd;
    --border-focus-color: #60a5fa;
    ---second-grey-color: #f3f4f6;
    --light-grey-color: #f8fafc;
    --border-grey-color: #64748b;
    --dark-blue-color: #475569;
    --border-color: #e2e8f0;
    --light-steel-color: #cbd5e1;
    --red-color: #dc2626;
    --blue-color: #0076ff;
    --error-input-background-color: rgba(254, 226, 226, 1);
    --error-input-border-color: rgba(248, 113, 113, 1);

    --border-radius: 16px;
    --border-radius-small: 8px;
    --border-radius-little: 4px;
    --small-gap: 16px;
    --middle-gap: 24px;
    --gap: 36px;
    --mobile-section-margin-bottom: 24px;
    --transition-delay: 0.5s;
}

@media(max-width: 767px) {
    html {
        width: 100%;
        overflow-x: hidden;
    }

    body {
        padding-top: 50px;
    }

    section {
        margin-bottom: var(--mobile-section-margin-bottom);
    }

    h1 {
        padding: 0;
        margin: 0 0 16px 0;
        font-weight: 600;
        font-size: 2rem;
        line-height: 2.25rem;
    }

    h2 {
        padding: 0;
        margin: 0 0 16px 0;
        font-weight: 600;
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    h3 {
        padding: 0;
        margin: 0 0 16px 0;
        font-weight: 600;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .container {
        padding: 0 var(--small-gap);
    }

    .section-header {
        margin-bottom: 16px;
    }

    .mobile-hide {
        display: none !important;
    }

    .table-responsive {
        max-width: 100%;
        overflow-x: auto;
    }

    .general-order-modal {
        padding: 16px;
    }

    /*----- Шапка -----*/
    .header__top {
        display: none;
    }

    .header__bottom {
        display: none;
    }

    .mobile-header {
        z-index: 10000;
        position: fixed;
        top: 0;
        left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 50px;
        padding: 8px var(--small-gap);
        background-color: var(--main-white-color);
        border-bottom: 1px solid var(--light-steel-color);
    }

    .mobile-header__left {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .mobile-header__hamburg {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 20px;
        height: 20px;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
    }

    .mobile-header__logo {
        display: inline-flex;
        width: 146px;
        height: auto;
    }

    .mobile-header__logo svg {
        width: 100%;
        height: auto;
    }

    .mobile-header__phone {
        font-weight: 700;
        font-size: 1rem;
        line-height: 1;
        color: var(--main-text-color);
    }

    /*----- Конец шапки -----*/

    /*----- Мобильное меню -----*/
    .mobile-menu {
        z-index: 10000;
        position: fixed;
        top: 0;
        left: 0;
        display: none;
        width: 100%;
        background-color: var(--main-white-color);
    }

    .mobile-menu__top {
        display: flex;
        justify-content: flex-end;
        padding: 11px var(--small-gap);
        border-bottom: 1px solid var(--light-steel-color);
    }

    .mobile-menu__close {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 26px;
        height: 26px;
        padding: 0;
        margin: 0;
        background: none;
        border: none;
    }

    .mobile-menu__list {
        padding: 0 var(--small-gap);
        margin: 0;
    }

    .mobile-menu__item {
        position: relative;
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid var(--light-steel-color);
    }

    .mobile-menu__item:last-child {
        border-bottom: none;
    }

    .mobile-menu__link {
        display: flex;
        justify-content: space-between;
        font-weight: 600;
        font-size: 0.875rem;
        line-height: 1rem;
    }

    .mobile-menu__link-expand {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 20px;
        height: 20px;
        background-image: url('/upload/icons/template/mobile-menu-arrow-down.svg');
        background-position: center;
        background-repeat: no-repeat;
        transition: transform var(--transition-delay);
    }

    .mobile-menu__item_active .mobile-menu__link-expand {
        transform: rotateX(180deg);
    }

    .mobile-menu__sublist {
        display: none;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }

    .mobile-menu__subitem {
        position: relative;
        display: block;
        width: 100%;
    }

    .mobile-menu__subitem:first-child {
        margin-top: 12px;
    }

    .mobile-menu__subitem:last-child .mobile-menu__sublink {
        padding-bottom: 0;
    }

    .mobile-menu__sublink {
        display: block;
        padding: 12px var(--small-gap);
        border-top: 1px solid var(--light-steel-color);
        font-weight: 600;
        font-size: 0.875rem;
        line-height: 1rem;
    }
    /*----- Конец мобильного меню -----*/

    /*----- Подвал -----*/
    .footer {
        margin-bottom: 45px;
    }

    .footer__desktop {
        display: none;
    }

    .footer__mobile {
        display: flex;
        padding: 18px 0 50px 0;
        background-color: var(--light-gray-color);
    }

    .footer__mobile-row {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 16px 32px;
    }

    .footer__mobile-logo-link {
        width:  calc(50% - 16px);
    }

    .footer__mobile-logo-link svg {
        width: 100%;
        height: auto;
    }

    .footer__mobile-row-block {
        display: flex;
        flex-direction: column;
        width:  calc(50% - 16px);
    }

    .footer__mobile-row-block_phones {
        align-items: flex-end;
    }
    /*----- Конец подвала -----*/

    /*----- Мобильная панель -----*/
    .mobile-panel {
        z-index: 10000;
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        height: 56px;
        background-color: var(--light-grey-color);
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .mobile-panel__center {
        position: absolute;
        bottom: 0;
        left: calc(50% - 30px);
        display: flex;
        justify-content: center;
        align-items: flex-end;
        width: 60px;
        height: 67px;
        padding-bottom: 8px;
    }

    .mobile-panel__center::before {
        content: '';
        z-index: -1;
        position: absolute;
        top: -8px;
        left: -6px;
        display: block;
        width: 72px;
        height: 22px;
        background-image: url('/upload/icons/template/mobile-panel-top.svg');
        background-position: center;
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    .mobile-panel__center svg {
        width: 100%;
        height: auto;
    }

    .mobile-panel__left {
        display: flex;
        align-items: center;
        gap: 34px;
        height: 100%;
        width: 50%;
        padding-left: 24px;
    }

    .mobile-panel__right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 34px;
        height: 100%;
        width: 50%;
        padding-right: 24px;
    }

    .mobile-panel__link {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-panel__link svg {
        margin-bottom: 4px;
    }

    .mobile-panel__link-text {
        font-weight: 600;
        font-size: 0.5rem;
        line-height: 1;
        letter-spacing: 0.10000000149011612px;
        color: var(--main-color);
    }
    /*----- Конец мобильной панели -----*/

    /*----- Главная. Баннер сверху -----*/
    .main-banner__mobile-row {
        display: flex;
        flex-direction: column;
        gap: 16px;
        min-height: 400px;
        padding: 18px 24px;
        background-size: cover;
        background-position: left;
        background-repeat: no-repeat;
        border-radius: var(--border-radius);
    }

    .main-banner__mobile-header {
        padding: 0;
        margin: 0;
        font-weight: 600;
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .main-banner__mobile-desc {
        margin-bottom: 0;
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.5rem;
    }
    /*----- Конец главная. Баннер сверху -----*/

    /*----- Главная. Что принимаем на хранение -----*/
    .accept-storage__row {
        gap: var(--small-gap);
    }

    .accept-storage__item {
        width: 100%;
        height: 328px;
        padding: 24px;
    }

    .accept-storage__item-header {
        padding: 0;
        margin: 0;
        font-weight: 600;
        font-size: 1.75rem;
        line-height: 2.25rem;
    }
    /*----- Конец главная. Что принимаем на хранение -----*/

    /*----- Главная. Три шага -----*/
    .steps__row {
        gap: var(--small-gap);
    }

    .steps__item {
        width: 100%;
        height: 224px;
        padding: 24px;
    }
    /*----- Конец главная. Три шага -----*/

    /*----- Главная. Публичные ставки -----*/
    .public-bids-mobile__carousel {
        width: calc(100% + var(--small-gap));
    }

    .public-bids-mobile__carousel-item {
        width: 328px;
        border: 1px solid var(--light-steel-color);
        border-radius: var(--border-radius-small);
        overflow: hidden;
    }

    .public-bids-mobile__carousel-item-row {
        display: flex;
        align-items: center;
        width: 100%;
        height: 40px;
        border-bottom: 1px solid var(--light-steel-color);
    }

    .public-bids-mobile__carousel-item-row:last-child {
        border-bottom: none;
    }

    .public-bids-mobile__carousel-item-cell {
        display: inline-flex;
        align-items: center;
        width: 50%;
        height: 100%;
        padding-left: 22px;
        background-color: var(--main-white-color);
        font-weight: 400;
        font-size: 1rem;
        line-height: 1;
        letter-spacing: 0.1px;
    }

    .public-bids-mobile__carousel-item-cell:first-child {
        background-color: #eff6ff;
        font-weight: 600;
    }

    .public-bids-mobile__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 16px;
    }

    .public-bids-mobile__dots .owl-dot {
        display: inline-flex;
        width: 8px;
        height: 8px;
        padding: 0;
        margin: 0;
        background-color: var(--border-color);
        border: none;
        border-radius: 50%;
    }

    .public-bids-mobile__dots .owl-dot.active {
        background-color: var(--main-color);
    }
    /*----- Конец главная. Публичные ставки -----*/

    /*----- Главная. Почему выбирают нас ----*/
    .why-choose__row {
        --items: 1;
        gap: 16px;
    }

    .why-choose__item {
        width: 100%;
        min-height: 150px;
    }

    .why-choose__item:nth-last-child(-n+3) {
        min-height: 150px;
    }

    .why-choose__item-header {
        padding-right: 40px;
    }
    /*----- Конец главная. Почему выбирают нас ----*/

    /*----- Главная. Хранение, где все предусмотрено -----*/
    .safety-storage-mobile__carousel {
        width: calc(100% + var(--small-gap));
    }

    .safety-storage-mobile__img {
        width: 328px;
        height: 205px;
        border-radius: var(--border-radius);
        object-fit: cover;
        object-position: center;
    }

    .safety-storage-mobile__carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        padding-top: 16px;
    }

    .safety-storage-mobile__carousel-dots .owl-dot {
        display: inline-flex;
        width: 8px;
        height: 8px;
        padding: 0;
        margin: 0;
        background-color: var(--border-color);
        border: none;
        border-radius: 50%;
    }

    .safety-storage-mobile__carousel-dots .owl-dot.active {
        background-color: var(--main-color);
    }
    /*----- Конец главная. Хранение, где все предусмотрено -----*/

    /*----- Выездной офис -----*/
    .field-office__form {
        display: flex;
        justify-content: flex-start;
        padding: 16px 28px 28px 28px;
    }

    .field-office__row {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

    .field-office__header {
        text-align: center;
        margin: 0 0 16px 0;
    }

    .field-office__above-form-text {
        margin-bottom: 16px;
        text-align: center;
        font-size: 1rem;
        line-height: 1.25rem;
    }

    .field-office__form-row {
        flex-direction: column;
        width: 100%;
    }

    .field-office__input {
        width: 100%;
    }

    .field-office__submit {
        width: 100%;
    }

    .field-office__under-form-row {
        justify-content: space-between;
        width: 100%;
    }
    /*----- Конец выездного офиса -----*/

    /*----- Ответы на вопросы -----*/
    .answers__row {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .answers__left {
        width: 100%;
        margin-bottom: var(--middle-gap);
    }
    
    .answers__right {
        width: 100%;
    }

    .answers__question {
        padding: 0 16px;
    }

    .answers__question.answers__question_active+.answers__answer {
        padding: 24px 16px;
    }

    .answers__video-text {
        padding: 24px 16px;
        font-weight: 600;
    }
    /*----- Конец ответов на вопросы -----*/

    /*----- Остались вопросы? -----*/
    .more-contacts__row {
        gap: 16px;
    }

    .more-contacts__item {
        width: 100%;
        padding: 20px 16px;
    }

    .more-contacts__item::before {
        flex-shrink: 0;
    }
    /*----- Конец остались вопросы? -----*/

    /*----- Отзывы наших клиентов -----*/
    .testims__desc {
        color: var(--border-gray-color);
    }

    .testims__carousel-block {
        font-size: 0;
    }

    .testims-carousel__item {
        height: auto;
        width: 100%;
    }

    .testims-carousel__item-desc {
        font-size: 1rem;
        line-height: 1.5;
    }

    .testims-carousel__dots .owl-dot {
        width: 8px;
        height: 8px;
        margin-right: 16px;
    }
    /*----- Конец отзывов наших клиентов -----*/

    /*----- Заявка на хранение -----*/
    .fast-order-modal {
        padding: 24px;
    }
    /*----- Конец заявки на хранение -----*/

    /*----- О компании -----*/
    .about__header {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .about__first-block {
        padding: 16px;
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .about__first-block h2 {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .about__first-block p {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .about__second-block {
        padding: 16px;
        font-size: 1.125rem;
        line-height: 1.5rem;
    }

    .about__second-block p {
        font-size: 1.125rem;
        line-height: 1.5rem;
    }
    /*----- Конец о компании -----*/

    /*----- Документы -----*/
    .documents__header {
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .documents__item {
        flex-direction: column;
    }

    .documents-item__left {
        align-items: flex-start;
        margin-bottom: var(--middle-gap);
    }

    .documents-item__link {
        width: 100%;
    }
    /*----- Конец документов -----*/

    /*----- Контакты -----*/
    .contacts__row {
        --items: 1;
    }

    .contacts__block_right {
        padding: 0 16px;
    }

    .contacts__form-submit-btn {
        width: 100%;
    }
    /*----- Конец контактов -----*/

    /*----- Отзывы клиентов -----*/
    .testims-page__header {
        font-weight: 600;
        font-size: 1.75rem;
        line-height: 2.25rem;
    }

    .testims-page__add-btn {
        width: 100%;
        margin-bottom: 16px;
    }

    .testims-carousel .owl-stage {
        display: block;
    }
    /*----- Конец отзывов клиентов -----*/

    /*----- Согласие на куки -----*/
    .cookie-block {
        bottom: 90px;
        right: calc(50% - 140px);
    }
    /*----- Конец согласия на куки -----*/
}