/* Планшеты и небольшие ноутбуки */
@media screen and (max-width: 1200px) {

  body {
    min-width: 0;
  }

  #wrap {
    min-width: 0;
  }

  .wrapper {
    width: 100%;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
  }

  .block-content {
    width: 100% !important;
    min-width: 0;
    max-width: 1200px;
    box-sizing: border-box;
  }
}

/* Смартфоны */
@media screen and (max-width: 767px) {

  /* Общая ширина страницы */
  body {
    min-width: 0;
    width: 100%;
    overflow-x: hidden;
  }

  #wrap,
  #main-wrap {
    width: 100%;
    min-width: 0;
  }

  .block-content {
    width: 100% !important;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .wrapper {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  /* Основные колонки */
  #wrap .right_column,
  #wrap .left_column {
    float: none;
    width: 100%;
    margin: 15px 0;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* Шапка */
  .header {
    width: 100%;
    height: auto;
    min-height: 0;
    margin-bottom: 10px;
    background-position: center top;
    background-size: auto 220px;
  }

  .header_inside_mast {
    display: none;
  }

  .header .top_row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 12px !important;
    box-sizing: border-box;
  }

  /* Логотип */
  .header .top_row .logo {
    position: relative;
    width: 100%;
    max-width: 380px;
    height: auto;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .header .top_row .logo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* Социальные сети */
  .header .top_row .col-center {
    position: relative;
    right: auto;
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .header .top_row .col-center ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0;
  }

  .header .top_row .col-center ul li {
    display: block;
    margin: 0;
  }

  .header .top_row .col-center img {
    width: 34px;
    height: 34px;
  }

  /* Телефон */
  .header .top_row .header_contacts {
    position: relative;
    right: auto;
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .header_contacts .phone {
    padding-top: 0;
  }

  .header_contacts .phone .number-central {
    font-size: 27px;
  }

  .header_contacts .work-time {
    text-align: center;
    font-size: 14px;
  }

  /* Главное меню: временная горизонтальная прокрутка */
  .header .bottom_row {
    margin-top: 0;
  }

  .bottom_row .menu_bg {
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  #Main_menu {
    position: relative;
    display: flex;
    width: max-content;
    min-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background: #f4f4f4;
  }

  #Main_menu li {
    float: none;
    flex: 0 0 auto;
    height: auto;
  }

  #Main_menu li a {
    padding: 15px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  #Main_menu ul {
    display: none;
  }

  /* Изображения не выходят за экран */
  img {
    max-width: 100%;
    height: auto;
  }
}


@media screen and (max-width: 767px) {

    /* Шапка сайта */

    .header {
        background: #ffffff !important;
        height: auto !important;
    }

    .header .top_row {
        padding: 12px 0 15px !important;
    }

    /* Логотип */

    .header .top_row .logo {
        margin: 0 auto 12px !important;
    }

    /* Социальные сети */

    .header .top_row .col-center {
        margin: 0 auto 10px !important;
    }

    /* Контактная информация */

    .header_contacts .work-time {
        font-size: 13px !important;
        line-height: 1.5 !important;
        text-shadow: none !important;
    }

    .header_contacts .phone .number-central {
        font-size: 26px !important;
        line-height: 1.4 !important;
        text-shadow: none !important;
    }

    /* Основной заголовок */

    .block-content h1 {
        font-size: 23px !important;
        line-height: 1.3 !important;
        height: auto !important;
        margin: 15px 0 !important;
        padding-bottom: 10px !important;
    }

    /* Подзаголовки */

    .block-content h2 {
        font-size: 21px !important;
        line-height: 1.3 !important;
        height: auto !important;
    }

    .block-content h3 {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    /* Основной текст */

    .block-content p {
        font-size: 15px !important;
        line-height: 1.6 !important;
        text-align: left !important;
        margin-bottom: 15px !important;
    }

}


@media screen and (max-width: 767px) {

    .header .top_row {
        gap: 0 !important;
        padding: 10px 0 12px !important;
    }

    .header .top_row .logo {
        margin: 0 auto 8px !important;
    }

    .header .top_row .col-center {
        margin: 0 auto 8px !important;
    }

    .header .top_row .col-center ul {
        margin: 0 !important;
        padding: 0 !important;
    }

    .header_contacts .phone {
        margin: 0 !important;
        padding: 0 !important;
    }

    .block-content h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
        background: none !important;
        border: none !important;
        margin: 12px 0 15px !important;
        padding: 0 !important;
    }

    .block-content h1::before,
    .block-content h1::after {
        display: none !important;
    }

}
/* =====================================
   ЭТАП 3. МОБИЛЬНОЕ МЕНЮ МСКСБОРКА
   ===================================== */


/* Скрываем мобильные кнопки на компьютере */

#mobile-menu-toggle,
#Main_menu .mobile-submenu-toggle {
    display: none;
}


/* Мобильные устройства */

@media screen and (max-width: 767px) {

    /* Контейнер меню */

    .header .bottom_row {
        margin-top: 0 !important;
        height: auto !important;
    }

    .header .bottom_row .menu_bg {
        height: auto !important;
        overflow: visible !important;
        background: #545454 !important;
    }

    .header .bottom_row .wrapper {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }


    /* Кнопка открытия меню */

    #mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
        box-sizing: border-box;
        border: 0;
        border-radius: 0;
        background: #545454;
        color: #ffffff;
        font: 600 14px Arial, sans-serif;
        text-transform: uppercase;
        text-align: left;
        cursor: pointer;
    }


    /* Иконка меню */

    .mobile-menu-icon {
        display: block;
        position: relative;
        width: 22px;
        height: 16px;
        border-top: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        box-sizing: border-box;
    }

    .mobile-menu-icon::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: #ffffff;
    }


    /* Стрелка главного меню */

    .mobile-menu-arrow {
        width: 8px;
        height: 8px;
        margin-left: auto;
        margin-right: 4px;
        border-right: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;
        transform: rotate(45deg);
    }

    #mobile-menu-toggle.is-open .mobile-menu-arrow {
        transform: rotate(225deg);
    }


    /* Главное меню в закрытом состоянии */

    #Main_menu {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #f5f5f5 !important;
        box-sizing: border-box;
        overflow: visible !important;
        list-style: none;
    }


    /* Открытое меню */

    #Main_menu.mobile-open {
        display: block !important;
    }


    /* Пункты меню */

    #Main_menu li {
        display: block !important;
        float: none !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #dddddd !important;
        background: none !important;
        box-sizing: border-box;
        list-style: none;
    }

    #Main_menu li a {
        display: block !important;
        width: auto !important;
        height: auto !important;
        min-height: 46px;
        padding: 14px 16px !important;
        box-sizing: border-box;
        background: none !important;
        border: 0 !important;
        color: #545454 !important;
        font: 500 15px/1.3 Arial, sans-serif !important;
        text-align: left !important;
        text-transform: none !important;
        text-decoration: none !important;
        white-space: normal !important;
    }


    /* Активная страница */

    #Main_menu li a.active {
        background: #ffe8cc !important;
    }


    /* Место для стрелки подраздела */

    #Main_menu li.has-mobile-submenu > a {
        padding-right: 60px !important;
    }


    /* Убираем старые стрелки */

    #Main_menu a.disclosure-down::before,
    #Main_menu a.disclosure-down::after {
        display: none !important;
    }


    /* Кнопки раскрытия подразделов */

    #Main_menu .mobile-submenu-toggle {
        display: block !important;
        position: absolute;
        top: 0;
        right: 0;
        width: 48px;
        height: 48px;
        padding: 0;
        border: 0;
        border-left: 1px solid #dddddd;
        background: transparent;
        cursor: pointer;
    }

    #Main_menu .mobile-submenu-toggle::after {
        content: "";
        display: block;
        width: 8px;
        height: 8px;
        margin: 0 auto;
        border-right: 2px solid #545454;
        border-bottom: 2px solid #545454;
        transform: rotate(45deg);
    }

    #Main_menu li.submenu-open >
    .mobile-submenu-toggle::after {
        transform: rotate(225deg);
    }


    /* Вложенные подразделы */

    #Main_menu ul {
        display: none !important;
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
        box-shadow: none !important;
        border: 0 !important;
        box-sizing: border-box;
    }

    #Main_menu li.submenu-open > ul {
        display: block !important;
    }

    #Main_menu ul li a {
        padding-left: 30px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    #Main_menu ul li:last-child {
        border-bottom: 0 !important;
    }

}

/* =====================================
   ЭТАП 4. МОБИЛЬНАЯ КНОПКА ЗАКАЗА
   ===================================== */


/* Скрываем кнопку на компьютере */

.mobile-order {
    display: none;
}


/* Мобильные устройства */

@media screen and (max-width: 767px) {

    .mobile-order {
        display: block !important;
        width: 100%;
        max-width: 380px;
        margin: 12px auto 4px;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .mobile-order-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 46px;
        padding: 12px 15px;
        box-sizing: border-box;

        background: #c45c59;
        color: #ffffff !important;

        font: 600 16px/1.3 Arial, sans-serif;
        text-align: center;
        text-decoration: none !important;

        border: none;
        border-radius: 6px;
        box-shadow: none;

        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .mobile-order-btn:hover,
    .mobile-order-btn:active {
        background: #ad4b48;
        color: #ffffff !important;
    }

    .mobile-order-btn:focus-visible {
        outline: 2px solid #545454;
        outline-offset: 3px;
    }

}

/* =====================================
   ЭТАП 5. СТРАНИЦА ЗАЯВКИ НА ВЫЕЗД
   ===================================== */

@media screen and (max-width: 767px) {

    .master-order-page {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Заголовок страницы */

    .master-order-page h1,
    .master-order-page h1 span {
        font-size: 23px !important;
        line-height: 1.3 !important;
        text-align: left !important;
        background: none !important;
        border: none !important;
    }

    .master-order-page h1 {
        height: auto !important;
        margin: 15px 0 !important;
        padding: 0 !important;
    }

    .master-order-page h1 span {
        display: block !important;
        float: none !important;
    }

    /* Информационные примечания */

    .master-order-page .comment-block {
        margin: 15px 0 !important;
        padding: 12px !important;
        background: #f5f5f5 !important;
        border: 0 !important;
        border-left: 3px solid #c45c59 !important;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .master-order-page .row_comment {
        font-size: 13px !important;
        line-height: 1.6 !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Контейнер почтовой формы */

    .master-order-form {
        width: 100%;
        max-width: 100%;
        margin: 20px 0 0;
        box-sizing: border-box;
    }

}
/* =====================================
   ЭТАП 5.2. АДАПТАЦИЯ ПОЧТОВОЙ ФОРМЫ
   Заявка на выезд мастера
   ===================================== */

@media screen and (max-width: 767px) {

    /* Основной контейнер формы */

    .master-order-form,
    .master-order-form form {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }


    /* Преобразуем таблицу в одну колонку */

    .master-order-form #table1,
    .master-order-form #table1 tbody,
    .master-order-form #table1 tr,
    .master-order-form #table1 td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .master-order-form #table1 {
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .master-order-form #table1 tr {
        margin: 0 0 16px !important;
        padding: 0 !important;
    }

    .master-order-form #table1 td {
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        text-align: left !important;
    }


    /* Названия полей */

    .master-order-form #table1 td:first-child {
        margin-bottom: 7px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        font-weight: 500;
        color: #545454 !important;
    }

    .master-order-form #table1 td:first-child span,
    .master-order-form #table1 td:first-child font {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .master-order-form #table1 td:first-child font {
        color: #545454 !important;
    }


    /* Текстовые поля и выпадающий список */

    .master-order-form input[type="text"],
    .master-order-form input[type="email"],
    .master-order-form input[type="tel"],
    .master-order-form select,
    .master-order-form textarea {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;

        margin: 0 !important;
        padding: 12px !important;

        box-sizing: border-box !important;

        font: 16px/1.4 Arial, sans-serif !important;
        color: #545454 !important;

        background: #f7f7f7 !important;
        border: 1px solid #d5d5d5 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
    }


    /* Выпадающий список */

    .master-order-form select {
        height: 48px !important;
        padding-right: 25px !important;
    }


    /* Активное поле */

    .master-order-form input[type="text"]:focus,
    .master-order-form input[type="email"]:focus,
    .master-order-form input[type="tel"]:focus,
    .master-order-form select:focus,
    .master-order-form textarea:focus {
        border-color: #c45c59 !important;
        outline: 1px solid #c45c59 !important;
        background: #ffffff !important;
    }


    /* Прикрепление файлов */

    .master-order-form input[type="file"] {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 10px 8px !important;

        box-sizing: border-box !important;

        font: 13px/1.4 Arial, sans-serif !important;
        color: #545454 !important;

        background: #f7f7f7 !important;
        border: 1px solid #d5d5d5 !important;
        border-radius: 6px !important;
    }

    .master-order-form input[type="file"]::file-selector-button {
        padding: 10px !important;
        margin-right: 8px !important;

        background: #e5e5e5;
        color: #545454;

        border: 0;
        border-radius: 4px;

        font-size: 13px;
        cursor: pointer;
    }


    /* Адрес прибытия мастера */

    .master-order-form textarea[name="f11"] {
        height: 100px !important;
        min-height: 100px !important;
        resize: vertical;
    }


    /* Комментарий */

    .master-order-form textarea[name="f12"] {
        height: 130px !important;
        min-height: 130px !important;
        resize: vertical;
    }


    /* Контейнер кнопок */

    .master-order-form #table1 td[colspan="2"] {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        margin-top: 20px !important;
        font-size: 0 !important;
    }

    .master-order-form #table1 td[colspan="2"] br {
        display: none !important;
    }


    /* Кнопка отправки заявки */

    .master-order-form input[type="submit"] {
        display: block !important;
        width: 100% !important;
        min-height: 48px !important;

        margin: 0 !important;
        padding: 14px 15px !important;

        box-sizing: border-box !important;

        background: #c45c59 !important;
        color: #ffffff !important;

        font: 600 16px/1.3 Arial, sans-serif !important;

        border: 0 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    .master-order-form input[type="submit"]:active {
        background: #ad4b48 !important;
    }


    /* Кнопка очистки формы */

    .master-order-form input[type="reset"] {
        display: block !important;
        width: 100% !important;
        min-height: 44px !important;

        margin: 0 !important;
        padding: 12px 15px !important;

        box-sizing: border-box !important;

        background: #ffffff !important;
        color: #777777 !important;

        font: 14px/1.3 Arial, sans-serif !important;

        border: 1px solid #d5d5d5 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
        cursor: pointer;
    }

}

/* =====================================
   ЭТАП 6. БЛОК «МЫ СОБИРАЕМ»
   ===================================== */

@media screen and (max-width: 767px) {

    /* Основной контейнер */

    .owner:has(.For_Service) {
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0 24px !important;
        padding: 0 !important;
        background: #ffffff !important;
        box-sizing: border-box;
    }

    /* Убираем фоновое изображение */

    .owner .For_Service {
        display: block !important;
        width: 100% !important;
        background: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-sizing: border-box;
    }

    /* Преобразуем две колонки в одну */

    .For_Service > tbody,
    .For_Service > tbody > tr,
    .For_Service > tbody > tr > td {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }

    /* Карточки категорий */

    .For_Service > tbody > tr > td > table {
        display: block !important;
        width: 100% !important;
        margin: 0 0 10px !important;
        padding: 0 !important;

        background: #f7f7f7 !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 6px !important;

        box-sizing: border-box;
    }

    .For_Service table > tbody {
        display: block !important;
        width: 100% !important;
    }

    .For_Service table > tbody > tr {
        display: flex !important;
        align-items: center !important;
        position: relative;
        min-height: 60px;
        width: 100% !important;
    }

    /* Ячейка с номером */

    .For_Service table td:first-child {
        display: flex !important;
        align-items: center;
        justify-content: center;

        flex: 0 0 58px;
        width: 58px !important;
        height: auto !important;

        padding: 0 !important;
        margin: 0 !important;
    }

    /* Изображения номеров */

    .For_Service table td:first-child img {
        display: block !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        object-fit: contain;
    }

    /* Ячейка с названием услуги */

    .For_Service table td:last-child {
        display: block !important;
        flex: 1;
        min-width: 0 !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Ссылки на категории */

    .For_Service a.Name {
        display: block !important;
        width: 100% !important;
        padding: 19px 32px 19px 0 !important;
        margin: 0 !important;

        font: 500 16px/1.4 Arial, sans-serif !important;
        color: #648899 !important;

        text-transform: none !important;
        text-decoration: none !important;
        text-align: left !important;
        white-space: normal !important;

        border: 0 !important;
        background: none !important;
        box-sizing: border-box;
    }

    /* Вся карточка становится кликабельной */

    .For_Service a.Name::before {
        content: "";
        position: absolute;
        inset: 0;
    }

    /* Стрелка справа */

    .For_Service a.Name::after {
        content: "";
        position: absolute;
        right: 16px;
        top: 50%;

        width: 7px;
        height: 7px;

        border-top: 2px solid #999999;
        border-right: 2px solid #999999;

        transform: translateY(-50%) rotate(45deg);
        pointer-events: none;
    }

    /* Реакция на нажатие */

    .For_Service table:active {
        background: #eeeeee !important;
    }

    .For_Service a.Name:focus-visible {
        outline: 2px solid #648899;
        outline-offset: -2px;
    }

}

/* =====================================
   ЭТАП 7. БОКОВОЕ МЕНЮ УСЛУГ
   ===================================== */

/* Скрываем мобильные кнопки на компьютере */

#Menu_Service .service-sub-toggle,
#Menu_Service .service-heading-toggle {
    display: none;
}

@media screen and (max-width: 767px) {

    /* Основной контейнер */

    #nav_left {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    #nav_left #Menu_Service {
        width: 100% !important;
        max-width: 100% !important;
        margin: 15px 0 25px !important;
        padding: 0 !important;
        border: 1px solid #dddddd !important;
        border-radius: 6px;
        background: #f5f5f5 !important;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Заголовки меню */

    #nav_left #Menu_Service .heading {
        position: relative;
        margin: 0 !important;
        padding: 0 !important;

        background: #545454 !important;
        color: #ffffff !important;

        font: 600 14px/1.4 Arial, sans-serif !important;
        text-transform: uppercase;
    }

    /* Кнопка раскрытия раздела */

    #Menu_Service .service-heading-toggle {
        display: flex !important;
        align-items: center;
        position: relative;

        width: 100%;
        min-height: 48px;
        padding: 14px 42px 14px 44px;

        background: transparent;
        color: #ffffff;
        border: 0;

        font: inherit;
        text-align: left;
        cursor: pointer;
        box-sizing: border-box;
    }

    /* Значок меню */

    #Menu_Service .service-heading-toggle::before {
        content: "";
        position: absolute;
        left: 16px;
        top: 50%;

        width: 19px;
        height: 14px;

        border-top: 2px solid #ffffff;
        border-bottom: 2px solid #ffffff;

        background: linear-gradient(
            #ffffff, #ffffff
        ) center / 100% 2px no-repeat;

        transform: translateY(-50%);
        box-sizing: border-box;
    }

    /* Стрелки раскрытия */

    #Menu_Service .service-heading-toggle::after,
    #Menu_Service .service-sub-toggle::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 18px;

        width: 8px;
        height: 8px;

        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;

        transform: translateY(-70%) rotate(45deg);
    }

    #Menu_Service button[aria-expanded="true"]::after {
        transform: translateY(-30%) rotate(225deg);
    }

    /* Основные списки */

    #nav_left #Menu_Service ul {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        box-sizing: border-box;
    }

    #nav_left #Menu_Service > ul > li {
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #dddddd;
    }

    /* Основные категории */

    #nav_left #Menu_Service > ul > li > a {
        display: block !important;
        min-height: 48px;
        margin: 0 !important;
        padding: 14px 16px !important;

        font: 400 15px/1.4 Arial, sans-serif !important;
        color: #545454 !important;

        text-decoration: none !important;
        text-align: left !important;
        background: #f5f5f5 !important;

        box-sizing: border-box;
    }

    /* Место для стрелки подраздела */

    #nav_left #Menu_Service li.service-has-sub > a {
        padding-right: 55px !important;
    }

    /* Кнопки вложенных категорий */

    #Menu_Service .service-sub-toggle {
        display: block !important;
        position: absolute;

        top: 0;
        right: 0;

        width: 48px;
        height: 48px;
        margin: 0;
        padding: 0;

        background: transparent;
        color: #545454;

        border: 0;
        border-left: 1px solid #dddddd;
        cursor: pointer;
    }

    /* Вложенные списки */

    #nav_left #Menu_Service li > ul {
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    #nav_left #Menu_Service li > ul > li {
        border-top: 1px solid #e5e5e5;
    }

    #nav_left #Menu_Service li > ul > li > a {
        display: block !important;
        min-height: 44px;
        padding: 12px 16px 12px 30px !important;

        font: 400 14px/1.4 Arial, sans-serif !important;
        color: #545454 !important;

        text-decoration: none !important;
        text-align: left !important;

        box-sizing: border-box;
    }

    /* Сворачивание списков */

    #nav_left #Menu_Service.service-ready ul.service-collapsed {
        display: none !important;
    }

    #nav_left #Menu_Service.service-ready ul.service-expanded {
        display: block !important;
    }

    /* Активная страница */

    #nav_left #Menu_Service ul li a.active_2 {
        color: #b5675a !important;
        background: #ffe9cf !important;
        border-left: 3px solid #c57062 !important;
    }

    /* Фокус при управлении с клавиатуры */

    #Menu_Service button:focus-visible,
    #Menu_Service a:focus-visible {
        outline: 2px solid #688999;
        outline-offset: -2px;
    }

}

/* ЭТАП 7.1. Переключение заголовков */

@media screen and (max-width: 767px) {

    #Menu_Service.service-ready .service-heading-original {
        display: none !important;
    }

}

/* =====================================
   ЭТАП 8. ИНФОРМАЦИОННЫЕ КАРТОЧКИ
   Мастера / Как мы собираем / Отзывы
   ===================================== */

@media screen and (max-width: 767px) {

    /* Общий контейнер карточек */

    .about_company {
        display: flex !important;
        flex-direction: column;
        gap: 10px;

        float: none !important;
        clear: both;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin: 20px 0 !important;
        padding: 0 !important;

        box-sizing: border-box;
    }

    /* Отдельная карточка */

    .about_company_items {
        display: flex !important;
        align-items: center;
        gap: 12px;

        position: relative;
        float: none !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 100px;

        margin: 0 !important;
        padding: 12px 30px 12px 12px !important;

        box-sizing: border-box;

        background: #f5f5f5 !important;
        border: 1px solid #dddddd;
        border-radius: 6px !important;
    }

    /* Контейнер изображения */

    .about_company_items > a {
        display: block;
        flex: 0 0 64px;
        width: 64px;
    }

    /* Изображение карточки */

    .about_company_items img {
        display: block !important;
        float: none !important;

        width: 64px !important;
        height: 64px !important;

        margin: 0 !important;
        padding: 0 !important;

        object-fit: contain;
    }

    /* Текстовый контейнер */

    .about_company_items_cont {
        flex: 1;
        min-width: 0;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;
    }

    /* Заголовок карточки */

    .about_company_items_title {
        margin: 0 !important;
        padding: 0 0 5px !important;

        font: 600 14px/1.4 Arial, sans-serif !important;
    }

    .about_company_items_title a {
        color: #688999 !important;
        text-decoration: none !important;
    }

    /* Описание карточки */

    .about_company_items_text {
        font: 14px/1.4 Arial, sans-serif !important;
        color: #737373 !important;

        margin: 0 !important;
        padding: 0 !important;

        text-align: left !important;
    }

    /* Стрелка справа */

    .about_company_items::after {
        content: "";

        position: absolute;
        right: 14px;
        top: 50%;

        width: 7px;
        height: 7px;

        border-top: 2px solid #999999;
        border-right: 2px solid #999999;

        transform: translateY(-50%) rotate(45deg);
        pointer-events: none;
    }

    /* Вся площадь карточки кликабельна */

    .about_company_items_title a::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
    }

    /* Реакция на нажатие */

    .about_company_items:active {
        background: #eeeeee !important;
    }

}

/* =====================================
   ЭТАП 9. КНОПКА "НАВЕРХ"
   ===================================== */

@media screen and (max-width: 767px) {

    .button_scroll {
        position: fixed !important;

        top: auto !important;
        left: auto !important;
        right: 12px !important;
        bottom: 20px !important;

        width: 44px !important;
        height: 44px !important;

        background: #545454 !important;
        border: none !important;
        border-radius: 6px !important;

        opacity: 0.85 !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.15);

        z-index: 2000;
        cursor: pointer;
    }

    /* Стрелка вверх */

    .button_scroll::before {
        content: "";
        position: absolute;

        width: 13px;
        height: 13px;

        top: 17px;
        left: 14px;

        border-top: 3px solid #ffffff;
        border-left: 3px solid #ffffff;

        transform: rotate(45deg);
        box-sizing: border-box;
    }

    /* При нажатии */

    .button_scroll:active {
        opacity: 1 !important;
        background: #c45c59 !important;
    }

}
/* =====================================
   ЭТАП 10. АКЦИИ И СКИДКИ
   ===================================== */

@media screen and (max-width: 767px) {

    /* Основной контейнер */

    .act_block_left {
        display: block !important;
        float: none !important;
        clear: both !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 20px 0 25px !important;
        padding: 0 !important;

        box-sizing: border-box;
    }

    /* Заголовок блока */

    .act_block_left h4 {
        font-size: 20px !important;
        line-height: 1.3 !important;
        font-weight: normal;

        color: #545454;
        text-align: left !important;

        margin: 0 0 12px !important;
        padding: 0 !important;
    }

    /* Ссылка на акцию */

    .act_block_left a {
        display: block !important;
        width: 100% !important;

        margin: 0 !important;
        padding: 0 !important;

        border-radius: 6px;
        overflow: hidden;
    }

    /* Изображение акции */

    .act_block_left img {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        border: 0 !important;
        border-radius: 6px !important;

        box-sizing: border-box;
    }

    /* Эффект при нажатии */

    .act_block_left a:active {
        opacity: 0.85;
    }

}

/* =========================================
   ЭТАП 11. МОБИЛЬНЫЙ ПОДВАЛ САЙТА
   ========================================= */

@media screen and (max-width: 767px) {

    #footer {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    #footer .footer_rod {
        background: none;
    }

    #footer .wrapper {
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }

    /* Основные разделы */

    #footer .footer_top_menu {
        padding: 20px 0 0;
    }

    #footer .footer_top_menu .column {
        float: none !important;
        width: 100% !important;
        margin: 0 0 10px !important;
        border: 1px solid #484848;
        border-radius: 6px;
        overflow: hidden;
        box-sizing: border-box;
    }

    #footer .footer_top_menu .column .heading {
        position: relative;
        margin: 0;
        padding: 16px 42px 16px 15px;
        background: #333;
        color: #eee;
        font-family: Arial, sans-serif;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        cursor: pointer;
    }

    /* Стрелка раскрытия */

    #footer .footer_top_menu .column .heading::after {
        content: "";
        position: absolute;
        right: 18px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid #ddd;
        border-bottom: 2px solid #ddd;
        transform: translateY(-70%) rotate(45deg);
        transition: transform 0.2s ease;
    }

    #footer .footer_top_menu .column.footer-open .heading::after {
        transform: translateY(-30%) rotate(225deg);
    }

    /* Содержимое раскрывающихся разделов */

    #footer .footer_top_menu .column ul {
        margin: 0;
        padding: 0;
    }

    #footer.footer-ready .footer_top_menu .column ul {
        display: none;
    }

    #footer.footer-ready .footer_top_menu .column.footer-open ul {
        display: block;
    }

    #footer .footer_top_menu .column ul li {
        margin: 0;
        padding: 0;
        border-top: 1px solid #414141;
    }

    #footer .footer_top_menu .column ul li a {
        display: block;
        padding: 13px 15px;
        color: #c5c5c5;
        font-size: 14px;
        font-weight: normal;
        line-height: 1.5;
    }

    /* Гарантия, выезд, цены, оплата */

    #footer .footer_middle_menu .column-left {
        float: none !important;
        width: 100% !important;
        margin: 15px 0 20px !important;
        padding: 0;
    }

    #footer .footer_middle_menu .column-left ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 18px;
        padding: 0;
        margin: 0;
    }

    #footer .footer_middle_menu .column-left ul li {
        margin: 0;
        padding: 0;
    }

    #footer .footer_middle_menu .column-left ul li a {
        display: block;
        padding: 8px 0;
        font-size: 14px;
        color: #ccc;
    }

    #footer .footer_middle_menu .column-left ul li span.delimiter {
        display: none !important;
    }

    /* Социальные сети */

    #footer .footer_middle_menu .column-center {
        float: none !important;
        width: 100% !important;
        margin: 0 0 20px !important;
        padding: 18px 0 0;
        border-top: 1px solid #414141;
    }

    #footer .footer_middle_menu .column-center ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        margin: 0;
        padding: 0;
    }

    #footer .footer_middle_menu .column-center ul li {
        margin: 0;
    }

    #footer .footer_middle_menu .column-center img {
        display: block;
        width: 36px !important;
        height: 36px !important;
    }

    /* Контактная информация */

    #footer .footer_middle_menu .column-right {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 0 10px;
        text-align: center !important;
        box-sizing: border-box;
    }

    #footer .footer_middle_menu .column-right p {
        font-size: 14px;
        line-height: 1.8;
        margin: 5px 0;
        color: #ddd;
        overflow-wrap: anywhere;
    }

    #footer .footer_middle_menu .column-right a {
        color: #ddd;
    }

    #footer .footer-phone {
        display: inline-block;
        font-size: 23px;
        font-weight: 600;
        color: #fff !important;
        text-decoration: none !important;
    }

    /* Нижняя юридическая часть */

    #footer .footer_bottom {
        margin-top: 10px;
        padding: 20px 0 65px;
        background: #1e1f20;
    }

    #footer .footer_bottom .wrapper {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #footer .copyright {
        float: none !important;
        width: 100% !important;
        max-width: 100%;
        margin: 0 !important;
        padding: 0;
        color: #aaa;
        font-size: 12px !important;
        line-height: 1.7;
        text-align: left;
        white-space: normal !important;
        overflow-wrap: anywhere;
        box-sizing: border-box;
        order: 2;
    }

    #footer .copyright p {
        font-size: 12px !important;
        line-height: 1.7;
        margin: 0;
    }

    #footer .copyright a {
        color: #ccc !important;
    }

    /* Рейтинг Яндекса */

    #footer .bottom_rev {
        float: none !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 0 15px;
        text-align: center;
        border-bottom: 1px solid #414141;
        order: 1;
    }

    #footer .bottom_rev iframe {
        display: block;
        width: 150px;
        max-width: 100%;
        height: 50px;
        margin: 0 auto;
        border: 0;
    }
}

/* Финальная корректировка мобильного подвала */

@media screen and (max-width: 767px) {

    #footer .footer_middle_menu .column-left ul {
        gap: 4px 16px;
    }

    #footer .footer_middle_menu .column-left ul li a {
        font-size: 14px;
        font-weight: 500;
    }

    #footer .footer_middle_menu .column-right a[href^="mailto:"] {
        color: #ccc;
    }

    #footer .footer_top_menu .column ul li a:hover {
        font-weight: normal;
    }

    #footer .footer_middle_menu .column-left ul li a:hover {
        font-weight: 500;
    }

}


