/* ===== TEXT / RICHTEXT SECTION ===== */

.text-section {
    padding: 10px 0;
    background: #fff;
}

.text-section .text-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-section .richtext {
    font-family: 'Inter', Arial, sans-serif;
    color: #1a1a2e;
    font-size: 15px;
    line-height: 1.7;
}

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

.text-section .richtext h1 {
    padding-top:50px;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 24px;
}

.text-section .richtext h2 {
    font-size: 28px;
    line-height: 1.35;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0px 0 16px;
}

.text-section .richtext h3 {
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #1a1a2e;
    margin: 28px 0 12px;
}

.text-section .richtext h4 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: #1a1a2e;
    margin: 24px 0 10px;
}

/* Первый заголовок не получает лишний верхний отступ */

.text-section .richtext > h1:first-child,
.text-section .richtext > h2:first-child,
.text-section .richtext > h3:first-child {
    margin-top: 0;
}

/* Текст */

.text-section .richtext p {
    margin: 0 0 16px;
    color: #555;
}

/* Ссылки */

.text-section .richtext a {
    color: #0077b6;
    text-decoration: none;
    transition: color .2s;
}

.text-section .richtext a:hover {
    color: #005f8a;
    text-decoration: underline;
}

/* Списки */

/*
На сайте глобально задано:
ul { list-style: none; }

Поэтому внутри RichText возвращаем стандартные маркеры.
*/

.text-section .richtext ul {
    list-style: disc;
    padding-left: 24px;
    margin: 0 0 18px;
}

.text-section .richtext ol {
    list-style: decimal;
    padding-left: 24px;
    margin: 0 0 18px;
}

.text-section .richtext li {
    margin-bottom: 7px;
    color: #555;
}

.text-section .richtext li::marker {
    color: #0077b6;
}

/* Выделение */

.text-section .richtext strong,
.text-section .richtext b {
    font-weight: 600;
    color: #1a1a2e;
}

/* Цитата */

.text-section .richtext blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    background: #f8f9fa;
    border-left: 4px solid #0077b6;
    border-radius: 0 8px 8px 0;
    color: #555;
}

.text-section .richtext blockquote p:last-child {
    margin-bottom: 0;
}

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

.text-section .richtext img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Выравнивание изображений из RichText */

.text-section .richtext img[style*="float: left"],
.text-section .richtext .alignleft {
    float: left;
    margin: 5px 24px 16px 0;
}

.text-section .richtext img[style*="float: right"],
.text-section .richtext .alignright {
    float: right;
    margin: 5px 0 16px 24px;
}

.text-section .richtext .aligncenter {
    display: block;
    margin: 24px auto;
}

/* Таблицы */

.text-section .richtext table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
}

.text-section .richtext th {
    padding: 12px 16px;
    text-align: left;
    background: #0077b6;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.text-section .richtext td {
    padding: 11px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #555;
}

.text-section .richtext tr:hover td {
    background: #f8fbff;
}

/* Горизонтальная линия */

.text-section .richtext hr {
    border: 0;
    border-top: 1px solid #eee;
    margin: 32px 0;
}

/* Очистка float */

.text-section .richtext::after {
    content: "";
    display: table;
    clear: both;
}


/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {

    .text-section {
        padding: 40px 0;
    }

    .text-section .text-container {
        padding: 0 20px;
    }

    .text-section .richtext {
        font-size: 14px;
        line-height: 1.7;
    }

    .text-section .richtext h1 {
        font-size: 27px;
        padding-top:0px;
    }

    .text-section .richtext h2 {
        font-size: 22px;
        margin-top: 30px;
    }

    .text-section .richtext h3 {
        font-size: 18px;
    }

    /* На мобильных изображения больше не обтекаются */

    .text-section .richtext img[style*="float: left"],
    .text-section .richtext img[style*="float: right"],
    .text-section .richtext .alignleft,
    .text-section .richtext .alignright {
        float: none;
        display: block;
        max-width: 100%;
        margin: 20px auto;
    }

    /* Таблицы можно прокручивать */

    .text-section .richtext {
        overflow-wrap: break-word;
    }
}

@media (max-width: 600px) {

    .text-section {
        padding: 32px 0;
    }

    .text-section .richtext h1 {
        font-size: 24px;
        padding-top:5px;

    }

    .text-section .richtext h2 {
        font-size: 21px;
    }

    .text-section .richtext h3 {
        font-size: 17px;
    }
}


/* ===== FAQ ===== */

.faq-clinic {
    padding: 60px 0;
    background: #f8f9fa;
}


/* Список вопросов */

.faq-clinic__list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* ===== FAQ ITEM ===== */

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .25s ease,
                border-color .25s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.faq-item[open] {
    border-color: #dcecf5;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
}


/* ===== QUESTION ===== */

.faq-item__summary {
    list-style: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 20px;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;

    color: #1a1a2e;

    user-select: none;

    transition:
        background .2s ease,
        color .2s ease;
}


/* Убираем стандартный маркер details */

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__summary::marker {
    display: none;
    content: "";
}


/* Hover */

.faq-item__summary:hover {
    background: #f8fbff;
    color: #0077b6;
}


/* Открытый вопрос */

.faq-item[open] .faq-item__summary {
    color: #0077b6;
}


/* Текст вопроса */

.faq-item__question {
    flex: 1;
    text-align: left;
}


/* ===== PLUS / MINUS ===== */

.faq-item__icon {
    flex-shrink: 0;

    width: 30px;
    height: 30px;

    position: relative;

    border-radius: 50%;

    background: #e8f4fd;
    color: #0077b6;

    transition:
        background .2s ease,
        transform .25s ease;
}


/* Горизонтальная линия */

.faq-item__icon::before {

    content: "";

    position: absolute;

    width: 12px;
    height: 2px;

    left: 50%;
    top: 50%;

    background: currentColor;
    border-radius: 2px;

    transform: translate(-50%, -50%);
}


/* Вертикальная линия */

.faq-item__icon::after {

    content: "";

    position: absolute;

    width: 2px;
    height: 12px;

    left: 50%;
    top: 50%;

    background: currentColor;
    border-radius: 2px;

    transform: translate(-50%, -50%);

    transition:
        transform .25s ease,
        opacity .2s ease;
}


/* При открытии превращаем + в − */

.faq-item[open] .faq-item__icon {
    background: #0077b6;
    color: #fff;
}

.faq-item[open] .faq-item__icon::after {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
}


/* ===== ANSWER ===== */

.faq-item__body {

    padding: 0 20px 20px;

    border-top: 1px solid #f0f0f0;
}


/* Текст ответа */

.faq-item__answer {

    padding-top: 16px;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 14px;
    line-height: 1.7;

    color: #555;
}


/* Абзацы */

.faq-item__answer p {
    margin: 0 0 12px;
}

.faq-item__answer p:last-child {
    margin-bottom: 0;
}


/* Заголовки внутри ответа */

.faq-item__answer h3 {
    margin: 20px 0 10px;

    font-size: 17px;
    font-weight: 600;

    color: #1a1a2e;
}

.faq-item__answer h4 {
    margin: 18px 0 8px;

    font-size: 15px;
    font-weight: 600;

    color: #1a1a2e;
}


/* Ссылки */

.faq-item__answer a {

    color: #0077b6;
    text-decoration: none;

    transition: color .2s;
}

.faq-item__answer a:hover {
    color: #005f8a;
    text-decoration: underline;
}


/* Списки */

/*
В основном шаблоне:
ul { list-style: none; }

Поэтому здесь возвращаем маркеры.
*/

.faq-item__answer ul {

    list-style: disc;

    padding-left: 22px;

    margin: 12px 0;
}

.faq-item__answer ol {

    list-style: decimal;

    padding-left: 22px;

    margin: 12px 0;
}

.faq-item__answer li {

    margin-bottom: 6px;

    color: #555;
}

.faq-item__answer li::marker {
    color: #0077b6;
}


/* Выделенный текст */

.faq-item__answer strong,
.faq-item__answer b {

    font-weight: 600;

    color: #1a1a2e;
}


/* ===== MOBILE ===== */

@media (max-width: 900px) {

    .faq-clinic {
        padding: 40px 0;
    }

    .faq-clinic__list {
        max-width: 100%;
    }

    .faq-item__summary {

        padding: 16px 18px;

        font-size: 14px;

        gap: 14px;
    }

    .faq-item__body {
        padding: 0 18px 18px;
    }

    .faq-item__answer {
        font-size: 14px;
    }

}


/* ===== SMALL MOBILE ===== */

@media (max-width: 600px) {

    .faq-clinic {
        padding: 32px 0;
    }

    .faq-clinic__list {
        gap: 10px;
    }

    .faq-item {
        border-radius: 8px;
    }

    .faq-item__summary {

        padding: 14px 15px;

        font-size: 14px;
        line-height: 1.45;
    }

    .faq-item__icon {

        width: 28px;
        height: 28px;
    }

    .faq-item__body {
        padding: 0 15px 16px;
    }

    .faq-item__answer {

        padding-top: 14px;

        font-size: 13px;
        line-height: 1.7;
    }

}


/* ===== INTRO TEXT + IMAGE ===== */

.intro-content {
    padding-top: 60px;
    padding-bottom:10px;
    background: #fff;
}

.intro-content__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}


/* ===== TEXT ===== */

.intro-content__text {
    flex: 1;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;

    color: #555;
}


/* H1 */

.intro-content__text h1 {
    margin: 0 0 18px;

    font-size: 32px;
    line-height: 1.3;
    font-weight: 700;

    color: #1a1a2e;
}


/* H2 если понадобится */

.intro-content__text h2 {
    margin: 28px 0 14px;

    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;

    color: #1a1a2e;
}


/* Абзацы */

.intro-content__text p {
    margin: 0 0 14px;
}

.intro-content__text p:last-child {
    margin-bottom: 0;
}


/* Ссылки */

.intro-content__text a {
    color: #0077b6;
    text-decoration: none;

    transition: color .2s;
}

.intro-content__text a:hover {
    color: #005f8a;
    text-decoration: underline;
}


/* Выделенный текст */

.intro-content__text strong,
.intro-content__text b {
    font-weight: 600;
    color: #1a1a2e;
}


/* Списки */

.intro-content__text ul {
    list-style: disc;
    padding-left: 22px;
    margin: 14px 0;
}

.intro-content__text ol {
    list-style: decimal;
    padding-left: 22px;
    margin: 14px 0;
}

.intro-content__text li {
    margin-bottom: 6px;
}

.intro-content__text li::marker {
    color: #0077b6;
}


/* ===== IMAGE ===== */

.intro-content__image {
    flex: 0 0 300px;
    max-width: 300px;
}

.intro-content__image img {
    display: block;

    width: 100%;
    max-width: 300px;
    height: auto;

    border-radius: 10px;

    object-fit: cover;
}


/* ===== TABLET / MOBILE ===== */

@media (max-width: 900px) {

    .intro-content {
        padding: 40px 0;
    }

    .intro-content__inner {
        flex-direction: column;
        align-items: stretch;

        gap: 24px;
    }


    /* Картинка становится первой */

    .intro-content__image {
        order: 1;

        flex: none;

        width: 100%;
        max-width: 300px;

        margin: 0 auto;
    }

    .intro-content__text {
        order: 2;

        font-size: 14px;
        line-height: 1.7;
    }

    .intro-content__text h1 {
        font-size: 27px;
        margin-bottom: 16px;
    }

}


/* ===== SMALL MOBILE ===== */

@media (max-width: 600px) {

    .intro-content {
        padding: 32px 0;
    }

    .intro-content__inner {
        gap: 20px;
    }

    .intro-content__image {
        max-width: 100%;
    }

    .intro-content__image img {
        max-width: 300px;
        margin: 0 auto;
    }

    .intro-content__text h1 {
        font-size: 24px;
        line-height: 1.3;
    }

}

    /* ===== WHAT INCLUDED ===== */

.cleaning-included {
    margin: 36px 0;
}

.cleaning-included__title {
    margin: 0 0 24px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    color: #1a1a2e;
}


/* Сетка */

.cleaning-included__grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}


/* Карточка */

.cleaning-included__item {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 150px;
    padding: 22px;
    background: #e7f2ff;
    border: 1px solid #eee;
    border-radius: 10px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


.cleaning-included__item:hover {
    transform: translateY(-3px);

    border-color: #dcecf5;

    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}


/* Место под будущую картинку */

.cleaning-included__image {
    width: 100%;
    margin-bottom: 16px;

    border-radius: 8px;

    overflow: hidden;
}

.cleaning-included__image img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
}


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

.cleaning-included__item-title {
    margin: 0 0 8px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    color: #1a1a2e;
}


/* Текст */

.cleaning-included__text {
    margin: 0;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;

    color: #555;
}


/* Небольшой декоративный элемент */

.cleaning-included__item::before {
    content: "";
    width: 34px;
    height: 4px;
    margin-bottom: 16px;
    background: #0077b6;
    border-radius: 4px;
}


/* Если в будущем добавится картинка —
   декоративную линию можно скрыть */

.cleaning-included__item:has(.cleaning-included__image) {
    padding-top: 22px;
}


/* ===== TABLET ===== */

@media (max-width: 900px) {
    .cleaning-included__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===== MOBILE ===== */

@media (max-width: 600px) {
    .cleaning-included {
        margin: 28px 0;
    }

    .cleaning-included__title {
        font-size: 21px;
        margin-bottom: 18px;
    }

    .cleaning-included__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cleaning-included__item {
        min-height: 0;
        padding: 18px;
    }

    .cleaning-included__item-title {
        font-size: 15px;
    }

    .cleaning-included__text {
        font-size: 14px;
    }

}

/* ===== OFFICE PRICE TABLE ===== */

.text-section .richtext .office-price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;

    margin: 24px 0;

    background: #fff;

    border: 1px solid #eee;
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 4px 18px rgba(0,0,0,.05);
}


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

.text-section .richtext .office-price-table thead {
    background: #0077b6;
}

.text-section .richtext .office-price-table th {
    padding: 14px 15px;

    text-align: left;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;

    color: #fff;

    background: #0077b6;

    border-right: 1px solid rgba(255,255,255,.2);
}

.text-section .richtext .office-price-table th:last-child {
    border-right: none;
}


/* Ячейки */

.text-section .richtext .office-price-table td {
    padding: 14px 15px;

    vertical-align: top;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;

    color: #555;

    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.text-section .richtext .office-price-table td:last-child {
    border-right: none;
}

.text-section .richtext .office-price-table tbody tr:last-child td {
    border-bottom: none;
}


/* Первый столбец */

.text-section .richtext .office-price-table td:first-child {
    font-weight: 500;
    color: #1a1a2e;
}


/* Цена */

.text-section .richtext .office-price-table td:nth-child(2) {
    color: #0077b6;
    font-weight: 600;
    white-space: nowrap;
}


/* Hover */

.text-section .richtext .office-price-table tbody tr {
    transition: background .2s ease;
}

.text-section .richtext .office-price-table tbody tr:hover {
    background: #f8fbff;
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 700px) {

    .text-section .richtext .office-price-table {
        display: block;

        margin: 20px 0;

        border: none;
        border-radius: 0;

        background: transparent;

        box-shadow: none;

        overflow: visible;
    }


    /*
     * Заголовок обычной таблицы
     * на телефоне больше не нужен
     */

    .text-section .richtext .office-price-table thead {
        display: none;
    }


    .text-section .richtext .office-price-table tbody {
        display: block;
    }


    /*
     * Каждая строка становится карточкой
     */

    .text-section .richtext .office-price-table tr {
        display: block;

        margin-bottom: 14px;

        background: #fff;

        border: 1px solid #eee;
        border-radius: 10px;

        overflow: hidden;

        box-shadow: 0 4px 18px rgba(0,0,0,.05);
    }


    /*
     * Ячейки идут друг под другом
     */

    .text-section .richtext .office-price-table td {
        display: block;

        width: 100%;

        padding: 12px 14px;

        border: 0;
        border-bottom: 1px solid #eee;

        font-size: 13px;
        line-height: 1.5;

        white-space: normal;
    }


    .text-section .richtext .office-price-table td:last-child {
        border-bottom: none;
    }


    /*
     * Название параметра
     */

    .text-section .richtext .office-price-table td::before {
        content: attr(data-label);

        display: block;

        margin-bottom: 4px;

        font-size: 11px;
        line-height: 1.3;
        font-weight: 600;

        text-transform: uppercase;
        letter-spacing: .03em;

        color: #888;
    }


    /*
     * Название услуги —
     * выделяем как заголовок карточки
     */

    .text-section .richtext .office-price-table td:first-child {
        padding: 15px 14px;

        background: #e8f4fd;

        color: #1a1a2e;

        font-size: 15px;
        line-height: 1.4;
        font-weight: 600;

        border-bottom: 1px solid #dcecf5;
    }


    /*
     * Для первой ячейки надпись
     * "Тип уборки" не нужна
     */

    .text-section .richtext .office-price-table td:first-child::before {
        display: none;
    }


    /*
     * Цена
     */

    .text-section .richtext .office-price-table td:nth-child(2) {
        color: #0077b6;

        font-size: 15px;
        font-weight: 700;

        white-space: normal;
    }

}

/* ===== CLEANING SCHEDULE ===== */

.cleaning-schedule {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;

    gap: 40px;

    align-items: center;

    margin: 36px 0;
}


/* ===== LEFT CONTENT ===== */

.cleaning-schedule__content {
    min-width: 0;
}

.cleaning-schedule__content h2 {
    margin-top: 0;
}


/* ===== CONTACT CARD ===== */

.cleaning-schedule__contact {
    padding: 24px;

    background: #e8f4fd;

    border: 1px solid #dcecf5;
    border-radius: 10px;

    box-shadow: 0 6px 22px rgba(0,0,0,.05);
}


.cleaning-schedule__contact-title {
    margin-bottom: 7px;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 18px;
    line-height: 1.35;

    font-weight: 700;

    color: #1a1a2e;
}


.cleaning-schedule__contact-text {
    margin-bottom: 18px;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 13px;
    line-height: 1.5;

    color: #666;
}


/* ===== PHONES ===== */

.cleaning-schedule__phones {
    display: flex;
    flex-direction: column;

    gap: 5px;

    margin-bottom: 18px;
}


.cleaning-schedule__phones a {
    font-family: 'Inter', Arial, sans-serif;

    font-size: 16px;
    line-height: 1.4;

    font-weight: 700;

    color: #1a1a2e !important;

    text-decoration: none !important;

    transition: color .2s ease;
}


.cleaning-schedule__phones a:hover {
    color: #0077b6 !important;
}


/* ===== CALL BUTTON ===== */

.cleaning-schedule__call {
    display: block;

    width: 100%;

    margin-bottom: 10px;

    padding: 11px 18px;

    border: 2px solid #0077b6;
    border-radius: 6px;

    background: #fff;

    color: #0077b6 !important;

    font-family: 'Inter', Arial, sans-serif;

    font-size: 14px;
    line-height: 1.4;

    font-weight: 600;

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

    transition:
        background .2s ease,
        color .2s ease;
}


.cleaning-schedule__call:hover {
    background: #0077b6;

    color: #fff !important;
}


/* ===== REQUEST BUTTON ===== */

.cleaning-schedule__request {
    width: 100%;
}


/* ===== TABLET ===== */

@media (max-width: 900px) {

    .cleaning-schedule {
        grid-template-columns: minmax(0, 1fr) 270px;

        gap: 25px;
    }

}


/* ===== MOBILE ===== */

@media (max-width: 700px) {

    .cleaning-schedule {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 24px;

        margin: 28px 0;
    }


    .cleaning-schedule__content {
        width: 100%;
    }


    .cleaning-schedule__contact {
        width: 100%;

        padding: 20px;
    }


    .cleaning-schedule__contact-title {
        font-size: 17px;
    }


    .cleaning-schedule__phones a {
        font-size: 16px;
    }

}

    /* =========================================================
   Страница "Цены"
   Использует существующие:
   .site-container
   .site-main
   .office-price-table
   ========================================================= */


/* Основная страница
--------------------------------------------------------- */

.prices-page {
    padding-bottom: 70px;
}


/* =========================================================
   Вводный блок
   ========================================================= */

.prices-page__intro {
    max-width: 850px;
    margin-bottom: 48px;
}

.prices-page__intro h1 {
    margin-bottom: 20px;
}

.prices-page__intro p {
    margin-top: 0;
    margin-bottom: 14px;
}

.prices-page__lead {
    font-size: 19px;
    line-height: 1.55;
    font-weight: 600;
}


/* =========================================================
   Раздел с ценами
   ========================================================= */

.prices-section {
    margin-bottom: 54px;
}

.prices-section:last-of-type {
    margin-bottom: 0;
}

.prices-section h2 {
    margin-top: 0;
    margin-bottom: 22px;
}


/* =========================================================
   Обертка таблицы

   Стили самой .office-price-table не трогаем.
   Обертка нужна только как страховка для узких экранов.
   ========================================================= */

.prices-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   Информационный блок под таблицами
   ========================================================= */

.prices-info {
    max-width: 900px;

    margin-top: 20px;
    padding: 32px 36px;

    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 12px;
}

.prices-info h2 {
    margin-top: 0;
    margin-bottom: 18px;
}

.prices-info p {
    margin-top: 0;
    margin-bottom: 14px;

    line-height: 1.65;
}

.prices-info p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Планшеты
   ========================================================= */

@media (max-width: 900px) {

    .prices-page {
        padding-bottom: 60px;
    }

    .prices-page__intro {
        margin-bottom: 40px;
    }

    .prices-section {
        margin-bottom: 44px;
    }

    .prices-info {
        padding: 28px;
    }

}


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

@media (max-width: 640px) {

    .prices-page {
        padding-bottom: 45px;
    }


    /* Вступление */

    .prices-page__intro {
        margin-bottom: 34px;
    }

    .prices-page__intro h1 {
        margin-bottom: 16px;
    }

    .prices-page__lead {
        font-size: 17px;
        line-height: 1.5;
    }


    /* Категории */

    .prices-section {
        margin-bottom: 38px;
    }

    .prices-section h2 {
        margin-bottom: 16px;
    }


    /* Горизонтальная прокрутка только при необходимости */

    .prices-table-wrap {
        margin-right: -2px;
        padding-bottom: 3px;
    }


    /* Нижний информационный блок */

    .prices-info {
        margin-top: 6px;
        padding: 22px 20px;

        border-radius: 10px;
    }

    .prices-info h2 {
        margin-bottom: 14px;
    }

    .prices-info p {
        line-height: 1.6;
    }

}


/* =========================================================
   Маленькие смартфоны
   ========================================================= */

@media (max-width: 400px) {

    .prices-page__intro {
        margin-bottom: 30px;
    }

    .prices-section {
        margin-bottom: 34px;
    }

    .prices-info {
        padding: 20px 16px;
    }

}

    /* =========================================================
   Страница контактов
   ========================================================= */

.contacts-page {
    width: 100%;
    margin: 0;
    padding: 15px 0 70px;
}


/* Основная сетка
--------------------------------------------------------- */

.contacts-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 48px;
    align-items: stretch;
}


/* Левая колонка
--------------------------------------------------------- */

.contacts-page__content {
    min-width: 0;
}


/* Контактный блок
--------------------------------------------------------- */

.contacts-page__contact-block {
    padding: 0 0 30px;
    margin: 0 0 30px;
    border-bottom: 1px solid #e7e7e7;
}

.contacts-page__text {
    max-width: 680px;
    margin: 0 0 18px;
    font-size: 17px;
    line-height: 1.65;
}


/* Телефон
--------------------------------------------------------- */

.contacts-page__phone {
    display: inline-block;

    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;

    color: inherit;
    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.contacts-page__phone:hover {
    opacity: 0.7;
    transform: translateX(3px);
}

.contacts-page__phone:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}


/* Дополнительная информация
--------------------------------------------------------- */

.contacts-page__details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    margin-top: 10px;
}


/* Карточка
--------------------------------------------------------- */

.contacts-page__detail {
    padding: 22px 24px;

    background: #f7f7f7;
    border: 1px solid #ececec;
    border-radius: 12px;
}


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

.contacts-page__detail-title {
    margin-bottom: 7px;

    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;

    opacity: 0.65;
}


/* Значение
--------------------------------------------------------- */

.contacts-page__detail-text {
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
}


/* Карта
--------------------------------------------------------- */

.contacts-page__map {
    position: relative;

    width: 100%;
    min-height: 500px;

    overflow: hidden;

    background: #f3f3f3;
    border-radius: 14px;
}


/* iframe карты
--------------------------------------------------------- */

.contacts-page__map iframe {
    display: block;

    width: 100% !important;
    height: 100% !important;
    min-height: 500px;

    border: 0;
}


/* =========================================================
   Планшеты
   ========================================================= */

@media (max-width: 1000px) {

    .contacts-page {
        padding-bottom: 60px;
    }

    .contacts-page__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contacts-page__map {
        min-height: 420px;
    }

    .contacts-page__map iframe {
        min-height: 420px;
    }

}


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

@media (max-width: 640px) {

    .contacts-page {
        padding-top: 5px;
        padding-bottom: 45px;
    }


    /* Текст */

    .contacts-page__text {
        margin-bottom: 16px;

        font-size: 16px;
        line-height: 1.6;
    }


    /* Телефон */

    .contacts-page__phone {
        font-size: 24px;
    }


    /* Контактные блоки */

    .contacts-page__contact-block {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }


    /* Режим работы + адрес */

    .contacts-page__details {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contacts-page__detail {
        padding: 18px 20px;
        border-radius: 10px;
    }

    .contacts-page__detail-text {
        font-size: 16px;
    }


    /* Карта */

    .contacts-page__map {
        min-height: 340px;
        border-radius: 10px;
    }

    .contacts-page__map iframe {
        min-height: 340px;
    }

}


/* =========================================================
   Маленькие смартфоны
   ========================================================= */

@media (max-width: 400px) {

    .contacts-page__phone {
        font-size: 22px;
    }

    .contacts-page__map {
        min-height: 300px;
    }

    .contacts-page__map iframe {
        min-height: 300px;
    }

}

/* Группа телефонов
--------------------------------------------------------- */

.contacts-page__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}


/* Email
--------------------------------------------------------- */

.contacts-page__email {
    display: inline-block;

    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;

    color: inherit;
    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.contacts-page__email:hover {
    opacity: 0.7;
    transform: translateX(3px);
}

.contacts-page__email:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 5px;
}


@media (max-width: 640px) {

    .contacts-page__phones {
        gap: 10px;
    }

    .contacts-page__email {
        font-size: 21px;
    }

}

/* =========================================================
   Страница "О компании"
   ========================================================= */

.about-page {
    width: 100%;
}


/* Изображение справа с обтеканием текстом
--------------------------------------------------------- */

.about-page__image {
    float: right;

    width: 44%;
    max-width: 520px;
    height: auto;

    margin: 0 0 28px 38px;

    display: block;

    border-radius: 12px;
}


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

.about-page p {
    margin-top: 0;
    margin-bottom: 18px;

    line-height: 1.65;
}


/* Список услуг
--------------------------------------------------------- */

.about-page__services {
    margin: 22px 0 32px;
    padding-left: 24px;
}

.about-page__services li {
    margin-bottom: 18px;
    padding-left: 3px;

    line-height: 1.6;
}

.about-page__services li:last-child {
    margin-bottom: 0;
}


/* Заголовки
--------------------------------------------------------- */

.about-page h1 {
    margin-bottom: 28px;
}

.about-page h2 {
    margin-top: 36px;
    margin-bottom: 20px;
}


/* Очистка float
--------------------------------------------------------- */

.about-page::after {
    content: "";
    display: block;
    clear: both;
}


/* =========================================================
   Планшеты
   ========================================================= */

@media (max-width: 900px) {

    .about-page__image {
        width: 46%;
        max-width: 420px;

        margin-left: 28px;
        margin-bottom: 22px;
    }

}


/* =========================================================
   Мобильная версия
   ========================================================= */

@media (max-width: 640px) {

    .about-page__image {
        float: none;

        width: 100%;
        max-width: none;

        margin: 0 0 24px;
    }

    .about-page h1 {
        margin-bottom: 20px;
    }

    .about-page h2 {
        margin-top: 30px;
        margin-bottom: 16px;
    }

    .about-page p {
        margin-bottom: 16px;
        line-height: 1.6;
    }

    .about-page__services {
        margin-top: 20px;
        margin-bottom: 28px;
        padding-left: 22px;
    }

    .about-page__services li {
        margin-bottom: 16px;
    }

}

.reviews-widgets__content{
    padding-top:20px;
}
/* ============================================================
   2GIS REVIEWS — ADAPTIVE
   ============================================================ */

.reviews-widgets__panel[data-review-panel="2gis"] {
    width: 100%;
    max-width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
    overflow: hidden;
    box-sizing: border-box;
}


/* Сам iframe */
.reviews-widgets__2gis {
    display: block;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    transition: height .2s ease;
}

/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 900px) {
    .reviews-widgets__panel[data-review-panel="2gis"] {
        padding: 10px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {
    .reviews-widgets__panel[data-review-panel="2gis"] {
        padding: 6px;
        border-radius: 8px;
    }
    .reviews-widgets__2gis {
        border-radius: 6px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */
@media (max-width: 400px) {
    .reviews-widgets__panel[data-review-panel="2gis"] {
        padding: 4px;
    }

}