.hero-video-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background-color: #f8f9fa;
    position: relative;

    /* Сдвигаем видео вниз, чтобы оно не пряталось под шапкой */
    /* Значение 120px подобрано под высоту хедера. Если на вашем экране шапка выше, увеличьте до 130px */
    padding-top: 120px;
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 500px;
    max-height: 85vh;

    /* В исходном файле сверху и снизу зашиты чёрные полосы (6 px при 1080p,
       ~0,56% высоты кадра). На мобильных они заметны как тёмные линии,
       поэтому чуть увеличиваем кадр — полосы уходят за край контейнера,
       у которого уже стоит overflow: hidden */
    transform: scale(1.02);
    transform-origin: center center;
}

/* На мобильных устройствах шапка обычно становится фиксированной и чуть ниже,
   но полоса с контактами скрывается. Поэтому отступ уменьшаем */
@media (max-width: 1399px) {
    .hero-video-wrapper {
        padding-top: 80px; /* Учитываем только высоту самой шапки без верхней полосы */
    }
}


.tabs-item {
    border-width: medium;
    border-style: none;
    background-color: #BBE3E5;
    border-image: none;
    font-family: "Montserrat", Sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.2em;
    text-transform: math-auto;
    color: #000000;
    text-align: center;
    border-radius: 10px;
}

.block-btn-swiper {
    margin-top: 2em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.hero-content h2 {
    color: #ffffff !important;
}

/* --- Стили для страницы политики конфиденциальности --- */

.privacy-policy-page {
    background-color: #fcfcfc; /* Легкий серый фон, чтобы текст лучше читался */
    color: #333;
}

.privacy-content {
    background: #fff;
    padding: 40px 50px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05); /* Легкая тень для объема */
}

/* Заголовки */
.privacy-content .page-title {
    color: #00B9BB; /* Ваш фирменный цвет */
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 185, 187, 0.2);
}

.privacy-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #121212;
    margin-top: 40px;
    margin-bottom: 20px;
}

.privacy-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Текст */
.privacy-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.privacy-content .intro-text {
    font-size: 17px;
    font-weight: 500;
    color: #111;
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #00B9BB;
    margin-bottom: 30px;
}

.privacy-content a {
    color: #00B9BB;
    text-decoration: underline;
    transition: color 0.3s;
}

.privacy-content a:hover {
    color: #008c8d;
}

/* Списки */
.privacy-content .terms-list {
    list-style: none;
    padding-left: 0;
}

.privacy-content .terms-list li {
    margin-bottom: 20px;
    padding-left: 15px;
    position: relative;
}

.privacy-content .terms-list li::before {
    content: "•";
    color: #00B9BB;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: -2px;
}

.privacy-content .numbered-list {
    padding-left: 20px;
    list-style-type: none;
    counter-reset: custom-counter; /* Свой счетчик для нумерации */
}

.privacy-content .numbered-list > li {
    counter-increment: custom-counter;
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.privacy-content .numbered-list > li::before {
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    color: #00B9BB;
    font-weight: 600;
}

/* Подсписки */
.privacy-content .sub-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    margin-bottom: 15px;
    color: #666;
}

.privacy-content .sub-list li {
    margin-bottom: 8px;
}

/* Боковое меню (Оглавление) */
.privacy-nav {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.privacy-nav .nav-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #121212;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.privacy-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-nav ul li {
    margin-bottom: 10px;
}

.privacy-nav ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
}

.privacy-nav ul li a:hover {
    color: #00B9BB;
    padding-left: 5px; /* Небольшой сдвиг при наведении */
}

/* Адаптивность (Mobile) */
@media (max-width: 991px) {
    .privacy-content {
        padding: 25px;
    }

    .privacy-content .page-title {
        font-size: 28px;
    }

    .privacy-content h2 {
        font-size: 20px;
    }
}

.z-user {
    z-index: 10 !important;
}

/* Контейнер слайдера */
.promo-slider-wrapper {
    position: relative;
    padding: 0 50px; /* Отступы для стрелок */
}

/* Окно, которое скрывает лишнее */
.promo-slider-window {
    overflow: hidden;
    width: 100%;
    padding: 10px 0; /* Небольшой отступ, чтобы тени не обрезались */
}

/* Лента с карточками */
.promo-slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
}

/* Карточка (теперь это просто контейнер для картинки) */
.promo-card {
    flex: 0 0 calc(33.333% - 14px); /* 3 карточки на ПК */
    border-radius: 12px;
    overflow: hidden;
    box-sizing: border-box;
    /* Если нужна тонкая рамка как на скрине, раскомментируйте: */
    /* border: 1px solid #e0e0e0; */
}

/* Сама картинка */
.promo-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Картинка не будет обрезаться */
    border-radius: 12px;
}

/* Стрелки */
.promo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #D2ECEE; /* Светло-бирюзовый */
    color: #121212;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Легкая тень для объема */
}

.promo-arrow:hover {
    background-color: #00B9BB;
    color: #fff;
}

.promo-prev {
    left: 0;
}

.promo-next {
    right: 0;
}

/* --- Адаптивность --- */
@media (max-width: 1199px) {
    .promo-card {
        flex: 0 0 calc(50% - 10px); /* 2 карточки на планшетах */
    }
}

@media (max-width: 767px) {
    .promo-slider-wrapper {
        padding: 0; /* Убираем отступы для стрелок на мобильных */
    }

    .promo-arrow {
        display: none; /* На мобильных скрываем стрелки (удобнее свайпать) */
    }

    .promo-card {
        flex: 0 0 100%; /* 1 карточка на мобильных */
    }
}

.news-promo-section {
    /* Добавляем линии сверху и снизу */
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;

    /* Отступы, чтобы линии не прилипали к карточкам и заголовку */
    padding-top: 40px;
    padding-bottom: 40px;

    /* Если у вас уже задан класс .section-padding,
       то он может переопределять эти отступы.
       В таком случае, оставьте только border-top и border-bottom */
}

/* На мобильных устройствах можно сделать отступы чуть меньше */
@media (max-width: 767px) {
    .news-promo-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}


/* --- Стили для блока контактной информации --- */
.contact-info-section {
    background-color: #fff;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Заголовки */
.info-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #121212;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Шаги с цифрами */
.info-step {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #00B9BB;
    color: #fff;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    font-size: 16px;
    color: #333;
}

.step-text .highlight {
    color: #00B9BB;
    margin-left: 5px;
}

.step-note {
    font-size: 14px;
    color: #121212;
    margin-top: 15px;
    margin-left: 43px; /* Выравнивание по тексту */
}

/* Разделитель */
.info-divider {
    border-top: 1px solid #e0e0e0;
    margin: 40px 0;
    opacity: 1;
}

/* Строки контактов */
.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    color: #00B9BB;
    font-size: 20px;
    margin-top: 2px; /* Небольшая корректировка для выравнивания с текстом */
    flex-shrink: 0;
}

.contact-text {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.contact-text .label {
    color: #00B9BB;
    font-weight: 500;
}

.contact-text a {
    color: #00B9BB;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: #008c8d;
}

.contact-text p {
    margin: 5px 0 0 0;
}

/* Соцсети */
.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: #00B9BB;
    font-size: 20px;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #008c8d;
    transform: translateY(-2px);
}
/* Стили для текста внутри статей блога */
.article-content p {
    margin-bottom: 20px;       /* Отступ между абзацами */
    font-size: 16px;           /* Размер шрифта */
    line-height: 1.7;          /* Межстрочный интервал для удобства чтения */
    color: #333;               /* Темно-серый цвет текста (не чисто черный) */
}

/* Убираем отступ у самого последнего абзаца */
.article-content p:last-child {
    margin-bottom: 0;
}

/* Стилизация пагинации Laravel под шаблон POSH */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-left: 0;
    list-style: none;
}

.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #D4D4D4;
    background: transparent;
    color: #121212;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.page-item.active .page-link {
    background-color: #00B9BB;
    border-color: #00B9BB;
    color: #ffffff;
}

.page-item .page-link:hover:not(.active) {
    background-color: #00B9BB;
    border-color: #00B9BB;
    color: #ffffff;
}

/* Убираем стандартные иконки стрелок и делаем их нормальными */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 50%;
}

/* Скрываем стандартную надпись "Showing X to Y of Z" */
.pagination-info {
    display: none !important;
}

/* --- Кастомная пагинация --- */
.custom-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 40px 0 0 0;
}

.custom-pagination li {
    display: inline-block;
}

.custom-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%; /* Делаем круглыми */
    border: 1px solid #e0e0e0; /* Светло-серая рамка */
    background-color: #ffffff;
    color: #121212;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

/* Эффект при наведении */
.custom-pagination .page-link:hover {
    background-color: #00B9BB;
    border-color: #00B9BB;
    color: #ffffff;
}

/* Активная страница */
.custom-pagination li.active .page-link {
    background-color: #00B9BB;
    border-color: #00B9BB;
    color: #ffffff;
    font-weight: 700;
    cursor: default;
}

/* Неактивные кнопки (стрелки в начале/конце) */
.custom-pagination li.disabled .page-link {
    background-color: #f9f9f9;
    color: #cccccc;
    border-color: #f0f0f0;
    cursor: not-allowed;
}

/* Иконки стрелок */
.custom-pagination .page-link i {
    font-size: 14px;
}
.success-icon {
    color: #1e7e34 !important;
}
/* --- Стили для Offcanvas меню --- */

.offcanvas__wrapper {
    padding: 30px;
}

.offcanvas__top {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.offcanvas-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Общие стили для заголовков блоков */
.offcanvas-block-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #121212;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* --- Блок "Личный кабинет" --- */
.offcanvas-user-block {
    margin-bottom: 30px;
}

.offcanvas-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.offcanvas-links-list li {
    margin-bottom: 10px;
}

.offcanvas-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background-color: #f8f9fa; /* Легкий серый фон */
    border-radius: 8px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.offcanvas-link i {
    color: #00B9BB; /* Ваш фирменный цвет */
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.offcanvas-link:hover {
    background-color: #00B9BB;
    color: #fff;
    transform: translateX(5px);
}

.offcanvas-link:hover i {
    color: #fff;
}

.logout-btn {
    font-family: inherit;
}

/* --- Блок "Контактная информация" --- */
.offcanvas-contact-block {
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.offcanvas-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.offcanvas-contact-list li {
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-icon {
    color: #00B9BB;
    font-size: 18px;
    margin-top: 3px; /* Выравнивание иконки с первой строкой текста */
    flex-shrink: 0;
}

.contact-item:hover {
    color: #00B9BB;
}

/* Социальные сети */
.offcanvas-socials {
    display: flex;
    gap: 12px;
}

.offcanvas-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.offcanvas-socials a:hover {
    background-color: #00B9BB;
    color: #fff;
}

/* --- Ссылки на услуги в карточках разделов на /uslugi --- */
.service-links {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 15px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease;
}

.service-link-icon {
    color: #00B9BB;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.service-link-text {
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.service-link:hover,
.service-link:focus {
    color: #00B9BB;
}

.service-link:hover .service-link-text {
    border-bottom-color: #00B9BB;
}

@media (max-width: 575px) {
    .service-links {
        gap: 6px 14px;
    }

    .service-link {
        font-size: 14px;
    }
}

/* --- Таблица цен на странице раздела --- */
.price-table-wrap {
    overflow-x: auto;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    background-color: #fff;
}

.price-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #eee;
}

.price-table thead th {
    background-color: #f7fafa;
    font-weight: 600;
    color: #121212;
}

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

.price-table tbody tr:hover {
    background-color: #fbfdfd;
}

.price-table td a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 185, 187, 0.35);
}

.price-table td a:hover {
    color: #00B9BB;
}

.price-table .price-col {
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
    color: #00B9BB;
}

/* На мобильных таблица превращается в карточки: название сверху, цена под ним */
@media (max-width: 767px) {
    .price-table-wrap {
        border: none;
        border-radius: 0;
        overflow: visible;
        background-color: transparent;
    }

    .price-table {
        display: block;
        min-width: 0;
        border-collapse: separate;
    }

    .price-table thead {
        display: none;
    }

    .price-table tbody,
    .price-table tr,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table tr {
        margin-bottom: 10px;
        padding: 14px 16px;
        border: 1px solid #e6e6e6;
        border-radius: 12px;
        background-color: #fff;
    }

    .price-table tr:last-child {
        margin-bottom: 0;
    }

    .price-table td {
        padding: 0;
        border-bottom: none;
    }

    .price-table .price-col {
        margin-top: 6px;
        text-align: left;
        white-space: normal;
        font-size: 16px;
    }

    .price-table tbody tr:hover {
        background-color: #fff;
    }
}

/* --- Фон блока «хлебных крошек»: градиент вместо картинки --- */
.breadcrumb-wrapper {
    background-color: #a8f1f2;
    background-image: linear-gradient(180deg, #ccf7f8 0%, #a8f1f2 50%, #61e4e6 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* Шапка позиционирована абсолютно — оставляем место, чтобы заголовок не уходил под неё */
.breadcrumb-wrapper .page-heading {
    padding-top: 150px;
    padding-bottom: 60px;
}

@media (max-width: 991px) {
    .breadcrumb-wrapper .page-heading {
        padding-top: 130px;
    }
}

@media (max-width: 767px) {
    .breadcrumb-wrapper .page-heading {
        padding-top: 120px;
        padding-bottom: 40px;
    }
}

/* --- Кнопка «Онлайн запись» в шапке: на мобильных делаем компактной --- */
@media (max-width: 767px) {
    .header-1 .header-main .header-right .btn-header {
        padding: 10px 14px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        border-radius: 8px;
        white-space: nowrap;
        -webkit-font-smoothing: antialiased;
        text-rendering: optimizeLegibility;
    }
}

@media (max-width: 420px) {
    .header-1 .header-main .header-right .btn-header {
        padding: 9px 11px;
        font-size: 12px;
    }

    .header-1 .header-main .header-right .btn-online-time {
        display: none;
    }
}

/* --- Логотип в шапке: исходник 400x259, поэтому задаём размер явно --- */
.header-1 .header-main .logo img {
    display: block;
    width: 150px;
    height: auto;
}

@media (max-width: 991px) {
    .header-1 .header-main .logo img {
        width: 132px;
    }
}

@media (max-width: 575px) {
    .header-1 .header-main .logo img {
        width: 118px;
    }

    .header-1 .header-main .header-right {
        gap: 8px;
    }

    .header-1 .header-main .header-left {
        gap: 12px;
    }
}

/* --- Страница 404 --- */
.error-404__code {
    display: block;
    margin-bottom: 8px;
    font-size: 96px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: #00B9BB;
}

.error-404__title {
    margin-bottom: 16px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #121212;
}

.error-404__text {
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.65;
    color: #555;
    max-width: 520px;
}

.error-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.error-404__image img {
    display: block;
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

@media (max-width: 991px) {
    .error-404__code {
        font-size: 72px;
    }

    .error-404__title {
        font-size: 26px;
    }
}

/* --- Страница «Вакансии» --- */
.vacancies-subtitle {
    display: inline-block;
    margin-bottom: 12px;
    color: #00B9BB;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vacancies-title {
    margin-bottom: 18px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #121212;
}

.vacancies-lead {
    margin-bottom: 28px;
    font-size: 17px;
    line-height: 1.65;
    color: #555;
}

.vacancies-image img {
    display: block;
    width: 100%;
    border-radius: 14px;
    object-fit: cover;
}

/* Аккордеон (структура как в faq.html, стили темы для него не подключены) */
.accordion-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.accordion-box .accordion.block {
    overflow: hidden;
    border: 1px solid #ececec;
    border-radius: 12px;
    background-color: #fff;
}

.accordion-box .acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 600;
    color: #121212;
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-box .acc-btn.active {
    color: #00B9BB;
}

.accordion-box .acc-btn .icon {
    color: #00B9BB;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.accordion-box .acc-btn.active .icon {
    transform: rotate(180deg);
}

.accordion-box .acc-content {
    display: none;
    padding: 0 22px 20px;
}

.accordion-box .acc-content.current {
    display: block;
}

.accordion-box .acc-content .text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.accordion-box .acc-content ul {
    margin: 0;
    padding-left: 20px;
}

.accordion-box .acc-content li + li {
    margin-top: 6px;
}

.accordion-box .acc-content a {
    color: #00B9BB;
}

@media (max-width: 991px) {
    .vacancies-title {
        font-size: 28px;
    }

    .vacancies-image {
        margin-top: 8px;
    }
}

/* --- Фотоуслуги / статические галереи ниже --- */
.photo-grid {
    margin-top: 40px;
}

.photo-grid__item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f1f1f1;
    cursor: zoom-in;
}

.photo-grid__item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-grid__item:hover img {
    transform: scale(1.05);
}

/* Блоки страницы «Фото До/После» */
.photo-group {
    margin-bottom: 48px;
}

.photo-group:last-child {
    margin-bottom: 0;
}

.photo-group__title {
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 700;
    color: #121212;
}

.photo-grid--flush {
    margin-top: 0;
}

@media (max-width: 767px) {
    .photo-group {
        margin-bottom: 32px;
    }

    .photo-group__title {
        font-size: 21px;
    }
}

/* --- Фото услуги на странице /uslugi/{раздел}/{услуга}: не выше 400px --- */
.gt-shop-details-wrapper .gt-shop-details-image {
    border-radius: 12px;
}

.gt-shop-details-wrapper .gt-shop-details-image > img {
    display: block;
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

/* --- Плавающая кнопка онлайн-записи YCLIENTS ---
   Кнопку рисует внешний скрипт https://w463050.yclients.com/widgetJS (элемент .yButton).
   Он ставит её 100×100 px в левый нижний угол с z-index 10000, а пульсирующий
   ореол .yButtonWave занимает 174×174 px — на телефоне это перекрывает контент.
   Здесь задаём фирменные цвета и уменьшаем кнопку на мобильных и планшетах. */

/* Цвета сайта (#00b9bb) вместо синего виджета: фон задан инлайном на .yButtonBackground,
   ореол — инлайном на .yButtonWave, поэтому переопределяем через !important. */
.yButton .yButtonBackground {
    background-color: #00b9bb !important;
    opacity: 1 !important;
}

.yButton .yButtonWave {
    border-color: #00b9bb !important;
    color: #00b9bb !important;
}

.yButton .yButtonText {
    color: #ffffff !important;
}

/* Отклик на наведение и фокус — более тёмный оттенок фирменного цвета */
.yButton:hover .yButtonBackground,
.yButton:focus-visible .yButtonBackground {
    background-color: #008d8f !important;
}

.yButton:hover .yButtonWave,
.yButton:focus-visible .yButtonWave {
    border-color: #008d8f !important;
    color: #008d8f !important;
}

@media (max-width: 991px) {
    .yButton.bottom.left,
    .yButton.bottom.right {
        width: 56px !important;
        height: 56px !important;
        bottom: 16px !important;
    }

    .yButton.bottom.left {
        left: 16px !important;
        right: auto !important;
    }

    .yButton.bottom.right {
        right: 16px !important;
        left: auto !important;
    }

    .yButton .yButtonBackground {
        width: 100% !important;
        height: 100% !important;
    }

    /* Ореол анимируется трансформом и рассчитан на кнопку 100 px:
       на уменьшенной кнопке он уезжает в сторону, поэтому скрываем */
    .yButton .yButtonWave {
        display: none !important;
    }

    /* Текст центрируем в круге: размеры виджета (90×50) не подходят для 56 px */
    .yButton .yButtonText {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        height: auto !important;
        padding: 0 6px;
        font-size: 11px !important;
        line-height: 1.15 !important;
        text-align: center;
    }
}

/* Телефоны: подпись мельче, чтобы не теснилась в круге 56 px.
   На планшетах (768–991) остаётся 11 px — там экран крупнее. */
@media (max-width: 767px) {
    .yButton .yButtonText {
        padding: 0 4px;
        font-size: 9px !important;
        line-height: 1.2 !important;
    }
}

/* Пока показывается уведомление о cookie, кнопка поднимается над плашкой:
   у виджета z-index 10000, иначе он перекрывает её кнопки.
   Селектор с .bottom.left/.bottom.right нужен, чтобы правило было
   специфичнее, чем размеры кнопки выше (там три класса).
   Значения с запасом — плашка на десктопе ≈ 90–130 px, на мобильном ≈ 190–220 px. */
body:has(.cookie-notice) .yButton.bottom.left,
body:has(.cookie-notice) .yButton.bottom.right {
    bottom: 140px !important;
}

@media (max-width: 991px) {
    body:has(.cookie-notice) .yButton.bottom.left,
    body:has(.cookie-notice) .yButton.bottom.right {
        bottom: 240px !important;
    }
}


/* --- Прелоадер сайта ---
   Последовательность: пустой белый экран → в центр падает капля, расходятся круги
   → в точке падения проявляется логотип → по готовности страницы скрипт из
   partials/preloader.blade.php навешивает .is-hidden, и прелоадер растворяется. */

.site-preloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000000; /* выше кнопки онлайн-записи (10000) и шапки */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    /* Пока прелоадер на экране, страница под ним не прокручивается */
    touch-action: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Сцена: в её центре падает капля, оттуда же расходятся круги и проявляется логотип */
.site-preloader__scene {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 260px;
}

/* Круги на воде: стартуют в момент удара капли, расходятся и гаснут */
.site-preloader__ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
    border: 3px solid rgba(0, 185, 187, 0.55);
    border-radius: 50%;
    opacity: 0;
    z-index: 1;
    transform: scale(0.2);
    animation: site-preloader-ripple 0.9s ease-out 0.59s 1 both;
}

.site-preloader__ripple--2 {
    animation-delay: 0.74s;
}

.site-preloader__ripple--3 {
    animation-delay: 0.89s;
}

@keyframes site-preloader-ripple {
    0% {
        transform: scale(0.2);
        opacity: 0;
    }

    12% {
        opacity: 0.6;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Капля: появляется сверху, падает в центр и разбивается */
.site-preloader__drop {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    background-color: #00b9bb;
    border-radius: 0 50% 50% 50%;
    opacity: 0;
    z-index: 2;
    animation: site-preloader-drop 0.45s cubic-bezier(0.45, 0, 0.55, 1) 0.25s 1 both;
}

@keyframes site-preloader-drop {
    0% {
        transform: translateY(-96px) rotate(45deg) scale(1);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    75% {
        transform: translateY(0) rotate(45deg) scale(1);
        opacity: 1;
    }

    88% {
        /* удар о воду: капля сплющивается */
        transform: translateY(0) rotate(45deg) scale(1.5, 0.45);
        opacity: 0.9;
    }

    100% {
        transform: translateY(0) rotate(45deg) scale(0.3);
        opacity: 0;
    }
}

/* Логотип проявляется ровно в точке падения капли */
.site-preloader__logo {
    position: relative;
    z-index: 3;
    width: 180px;
    max-width: 62vw;
    height: auto;
    opacity: 0;
    animation: site-preloader-logo 0.45s ease-out 0.75s 1 both;
}

@keyframes site-preloader-logo {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 767px) {
    .site-preloader__scene {
        width: 200px;
        height: 200px;
    }

    .site-preloader__ripple {
        width: 184px;
        height: 184px;
        margin: -92px 0 0 -92px;
    }

    .site-preloader__drop {
        width: 16px;
        height: 16px;
        margin: -8px 0 0 -8px;
    }

    .site-preloader__logo {
        width: 140px;
    }
}

/* Для тех, кто отключил анимацию: сразу логотип, без капли и кругов */
@media (prefers-reduced-motion: reduce) {
    .site-preloader__drop,
    .site-preloader__ripple {
        animation: none;
        opacity: 0;
    }

    .site-preloader__logo {
        animation: none;
        opacity: 1;
        transform: none;
    }
}
/* --- Магазин: каталог обуви --- */

.shop-category-desc {
    max-width: 820px;
    margin: 0 0 28px;
    color: #4a5a60;
    line-height: 1.6;
}

.shop-sort,
.shop-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #d7e1e4;
    border-radius: 8px;
    background-color: #ffffff;
    color: #1d2b30;
    font-size: 15px;
}

.shop-categories-list li {
    margin-bottom: 10px;
}

.shop-categories-list a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #1d2b30;
    text-decoration: none;
}

.shop-categories-list a:hover,
.shop-categories-list li.is-current a {
    color: #00b9bb;
}

.shop-categories-list li.is-current a {
    font-weight: 600;
}

.shop-price-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-price-filter input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #d7e1e4;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 15px;
}

.shop-price-filter span {
    color: #8a9aa0;
}

.shop-filters-actions .theme-btn {
    width: 100%;
    text-align: center;
}

.shop-reset {
    display: inline-block;
    margin-top: 12px;
    color: #6b7c82;
    font-size: 14px;
    text-decoration: underline;
}

.shop-empty {
    padding: 40px 0;
    color: #4a5a60;
}

/* Размеры в карточке товара */
.shop-product-sizes {
    margin: 18px 0;
}

.shop-product-sizes__label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.shop-product-sizes__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-product-sizes__item {
    min-width: 46px;
    padding: 8px 10px;
    border: 1px solid #d7e1e4;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 14px;
    text-align: center;
}

.shop-product-sizes__hint {
    display: block;
    margin-top: 10px;
    color: #6b7c82;
}

.shop-product-category {
    color: inherit;
    text-decoration: none;
}

.shop-card-items .thumb img {
    object-fit: cover;
}

@media (max-width: 991px) {
    .shop-price-filter {
        flex-wrap: nowrap;
    }
}

/* Одинаковая высота карточек: фото товаров приходят с разными пропорциями */
.shop-card-items .thumb {
    aspect-ratio: 1 / 1;
    background-color: #f7f9fa;
}

.shop-card-items .thumb .font-image,
.shop-card-items .thumb .back-image {
    object-fit: contain;
    object-position: center;
}

/* --- Корзина и заказы --- */
.shop-alert {
    margin-bottom: 24px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 15px;
}

.shop-alert--success {
    background-color: #e6f7f7;
    border: 1px solid #b7e5e6;
    color: #0f6f6e;
}

.shop-alert--error {
    background-color: #fdecea;
    border: 1px solid #f5c6c0;
    color: #a5301f;
}

.shop-cart-empty {
    padding: 60px 0;
    text-align: center;
}

.shop-cart-empty h2 {
    margin-bottom: 12px;
}

.shop-cart-empty p {
    margin-bottom: 22px;
    color: #4a5a60;
}

.cart-item-size {
    margin: 4px 0 0;
    color: #6b7c82;
    font-size: 14px;
}

.shop-cart-login {
    margin: 20px 0;
}

.shop-cart-login p {
    margin-bottom: 16px;
    color: #4a5a60;
}

.shop-cart-login .checkout-btn,
.shop-cart-login .continue-btn {
    display: inline-block;
    margin-bottom: 10px;
}

.shop-checkout-form {
    margin: 20px 0;
}

.shop-checkout-form .order-note {
    margin-bottom: 12px;
}

.shop-checkout-form label {
    display: block;
    margin-bottom: 6px;
    color: #4a5a60;
    font-size: 14px;
}

.shop-checkout-form input,
.shop-checkout-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7e1e4;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 15px;
}

/* История заказов */
.shop-orders {
    display: grid;
    gap: 16px;
}

.shop-order-card {
    padding: 18px 20px;
    border: 1px solid #e3ebed;
    border-radius: 12px;
    background-color: #ffffff;
}

.shop-order-card__head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}

.shop-order-card__number {
    color: #1d2b30;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
}

.shop-order-card__number:hover {
    color: #00b9bb;
}

.shop-order-card__date {
    display: block;
    margin-top: 4px;
    color: #8a9aa0;
    font-size: 13px;
}

.shop-order-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shop-order-status {
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #eef7f7;
    color: #0f6f6e;
    font-size: 13px;
}

.shop-order-card__items {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.shop-order-card__items li {
    padding: 6px 0;
    border-top: 1px solid #eef2f3;
    color: #3c4a4f;
    font-size: 14px;
}

.shop-order-card__size {
    color: #8a9aa0;
}

/* Страница заказа */
.shop-order-detail {
    max-width: 960px;
}

.shop-order-detail__head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 6px;
}

.shop-order-detail__date {
    margin-bottom: 22px;
    color: #8a9aa0;
}

.shop-order-table {
    width: 100%;
}

.shop-order-detail__info {
    display: grid;
    gap: 18px;
    margin: 24px 0;
}

.shop-order-detail__info h3 {
    margin-bottom: 6px;
    font-size: 17px;
}

.shop-order-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Раскладка корзины: в контейнере сайта 60% + 420px не помещаются,
   из-за чего блок «Итого» переносится под список товаров */
@media (min-width: 992px) {
    .shop-cart-wrapper .cart-main-content .cart-left {
        min-width: 0;
    }
}

/* Сумма позиции не должна переноситься на две строки */
.shop-cart-wrapper .cart-main-content .cart-left .cart-item .product-total {
    white-space: nowrap;
}

/* Острова в боковой панели: счётчик корзины прижимается к правому краю ссылки */
.offcanvas-link [data-island="vue"] {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* В меню появились «Стельки» — на средних экранах уменьшаем отступы,
   чтобы шапка оставалась в одну строку */
@media (min-width: 1200px) and (max-width: 1439px) {
    .header-main .main-menu ul li {
        margin-inline-end: 26px;
    }

    .header-main .main-menu ul li a {
        font-size: 15px;
    }
}

/* --- Страница ИПР --- */
.ipr-page {
    color: #1d2b30;
}

.ipr-lead {
    margin-bottom: 44px;
    padding: 24px 26px;
    border-left: 4px solid #00b9bb;
    border-radius: 14px;
    background-color: #eaf7f7;
}

.ipr-lead p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.65;
}

.ipr-lead__list {
    margin: 0;
    padding-left: 20px;
    color: #33585c;
    font-size: 15px;
    line-height: 1.7;
}

.ipr-title {
    margin: 44px 0 10px;
    font-size: 28px;
}

.ipr-subtitle {
    margin-bottom: 22px;
    color: #4a5a60;
}

.ipr-group {
    height: 100%;
    padding: 22px 24px;
    border: 1px solid #e3ebed;
    border-radius: 14px;
    background-color: #ffffff;
}

.ipr-group h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.ipr-group > p {
    margin-bottom: 16px;
    color: #4a5a60;
    font-size: 15px;
}

.ipr-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ipr-links li + li {
    margin-top: 6px;
}

.ipr-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: #f6fbfb;
    color: #1d2b30;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ipr-links a:hover {
    background-color: #00b9bb;
    color: #ffffff;
}

.ipr-count {
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background-color: #d9f1f1;
    color: #0f6f6e;
    font-size: 13px;
    text-align: center;
}

.ipr-links a:hover .ipr-count {
    background-color: #ffffff;
    color: #00b9bb;
}

.ipr-steps {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ipr-step {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e3ebed;
    border-radius: 12px;
    background-color: #ffffff;
}

.ipr-step__num {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #00b9bb;
    color: #ffffff;
    font-weight: 700;
}

.ipr-step__body h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.ipr-step__body p {
    margin: 0;
    color: #4a5a60;
    font-size: 15px;
    line-height: 1.6;
}

.ipr-card {
    height: 100%;
    padding: 20px 22px;
    border-radius: 12px;
    background-color: #f6fbfb;
}

.ipr-card h3 {
    margin-bottom: 10px;
    font-size: 17px;
}

.ipr-card ul {
    margin: 0;
    padding-left: 20px;
    color: #4a5a60;
    font-size: 15px;
    line-height: 1.7;
}

.ipr-faq {
    display: grid;
    gap: 10px;
}

.ipr-faq__item {
    padding: 16px 20px;
    border: 1px solid #e3ebed;
    border-radius: 12px;
    background-color: #ffffff;
}

.ipr-faq__item summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.ipr-faq__item summary::-webkit-details-marker {
    display: none;
}

.ipr-faq__item summary::after {
    content: "+";
    color: #00b9bb;
    font-size: 20px;
    line-height: 1;
}

.ipr-faq__item[open] summary::after {
    content: "–";
}

.ipr-faq__item p {
    margin: 12px 0 0;
    color: #4a5a60;
    font-size: 15px;
    line-height: 1.65;
}

.ipr-law {
    margin: 22px 0 0;
    color: #6b7c82;
    font-size: 13px;
    line-height: 1.6;
}

.ipr-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding: 26px 28px;
    border-radius: 16px;
    background: linear-gradient(120deg, #eaf7f7, #d9f1f1);
}

.ipr-cta__text h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

.ipr-cta__text p {
    max-width: 620px;
    margin: 0;
    color: #33585c;
    font-size: 15px;
}

@media (max-width: 767px) {
    .ipr-title {
        font-size: 24px;
    }

    .ipr-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Небольшой отступ от верха контейнера до вводного блока */
.ipr-lead {
    margin-top: 20px;
}

/* Тема задаёт глобально input { color: var(--white) } — в форме заказа
   это давало белый текст на белом фоне, и значения выглядели пустыми */
.shop-checkout-form input,
.shop-checkout-form textarea {
    color: #1d2b30;
}

.shop-checkout-form input:focus,
.shop-checkout-form textarea:focus {
    color: #1d2b30;
}

.shop-checkout-form input::placeholder,
.shop-checkout-form textarea::placeholder {
    color: #8a9aa0;
}

/* Поля цены в фильтрах каталога под тем же глобальным правилом темы */
.shop-price-filter input,
.shop-price-filter input:focus {
    color: #1d2b30;
}

.shop-price-filter input::placeholder {
    color: #8a9aa0;
}

/* Блок оплаты на странице заказа */
.order-payment {
    margin: 24px 0;
    padding: 18px 20px;
    border: 1px solid #e3ebed;
    border-radius: 12px;
    background-color: #ffffff;
}

.order-payment__title {
    margin: 0 0 10px;
    font-size: 17px;
}

.order-payment__current {
    margin: 0 0 14px;
    color: #4a5a60;
    font-size: 15px;
}

.order-payment__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.order-payment__option {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border: 1px solid #d7e1e4;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 15px;
}

.order-payment__option input {
    accent-color: #00b9bb;
}

.order-payment__option.is-active {
    border-color: #00b9bb;
    background-color: #eaf7f7;
}

.order-payment__option.is-disabled {
    background-color: #f7f9fa;
    color: #8a9aa0;
}

.order-payment__option small {
    padding: 2px 8px;
    border-radius: 999px;
    background-color: #eef2f3;
    font-size: 12px;
}

/* Ссылка на последний заказ в пустой корзине */
.shop-cart-empty .theme-btn.style-2 {
    margin-bottom: 12px;
}

/* Кнопка «В корзину» на карточке товара (появляется при наведении) */
.shop-card-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 3;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

/* Ссылка «Продолжить покупки» в блоке «Итого»: это <a> без display,
   из-за чего она шла строкой и наезжала на кнопку «Оформить заказ» */
.shop-cart-wrapper .cart-main-content .cart-right .summary-box .continue-btn {
    display: block;
    margin-top: 12px;
    text-align: center;
    text-decoration: none;
}

/* Метка «По ИПР» на карточке и в карточке товара */
.shop-card-items .shop-card-ipr {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 13px 5px 12px;
    border-radius: 999px;
    background-color: rgba(0, 185, 187, 0.14);
    color: #0f6f6e;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: nowrap;
    pointer-events: none;
}

.shop-ipr-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    padding: 8px 14px;
    border-radius: 8px;
    background-color: #f2fafb;
    color: #0f6f6e;
    font-size: 13px;
    line-height: 1.4;
}

.shop-ipr-badge i {
    font-size: 14px;
}

/* Ссылка «Можно купить по ИПР» на странице ИПР */
.ipr-links .ipr-links-highlight a {
    font-weight: 600;
    color: #0f6f6e;
}

/* ===== Главная: услуги, команда, до/после, обувь, статьи, FAQ, контакты ===== */
.home-section {
    padding: 64px 0;
}
.home-section--muted {
    background: #f7faf8;
}
.home-head {
    margin-bottom: 32px;
}
.home-kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    color: #2f7d6a;
    font-weight: 600;
}
.home-head h2 {
    font-size: clamp(24px, 3vw, 38px);
    margin: 10px 0 0;
    color: #1d2b28;
}
.home-head p {
    margin: 12px 0 0;
    color: #5b6b66;
    max-width: 680px;
}
.home-person {
    background: #fff;
    border: 1px solid #e4ece8;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
}
.home-person img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.home-person__body {
    padding: 18px;
}
.home-person__body h3 {
    font-size: 17px;
    margin: 0 0 6px;
    color: #1d2b28;
}
.home-person__body span {
    font-size: 14px;
    color: #5b6b66;
    display: block;
}
.home-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.home-chips a {
    background: #eef5f2;
    color: #2f7d6a;
    border-radius: 100px;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}
.home-split {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}
.home-split h2 {
    font-size: clamp(24px, 3vw, 36px);
    margin: 0 0 14px;
    color: #1d2b28;
}
.home-split p {
    color: #5b6b66;
    line-height: 1.6;
}
.home-cta-box {
    background: #660033;
    color: #fff;
    border-radius: 20px;
    padding: 30px;
}
.home-cta-box h3 {
    color: #fff;
    margin: 0 0 10px;
    font-size: 22px;
}
.home-cta-box p {
    color: #c8d7d2;
    margin: 0 0 20px;
}
.home-cta-box a {
    display: inline-block;
    background: #2f7d6a;
    color: #fff;
    border-radius: 100px;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
}
.home-shop {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e4ece8;
    border-radius: 20px;
    padding: 28px;
}
.home-shop h2 {
    margin: 0 0 10px;
    font-size: 26px;
    color: #1d2b28;
}
.home-shop p {
    margin: 0;
    color: #5b6b66;
    max-width: 560px;
}
.home-shop__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.home-shop__links a {
    background: #eef5f2;
    color: #2f7d6a;
    border-radius: 100px;
    padding: 10px 18px;
    text-decoration: none;
    font-size: 14px;
}
.home-card {
    background: #fff;
    border: 1px solid #e4ece8;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.home-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.home-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.home-card__body h3 {
    font-size: 17px;
    margin: 0;
    color: #1d2b28;
}
.home-card__body p {
    margin: 0;
    color: #5b6b66;
    font-size: 14px;
    line-height: 1.45;
    flex: 1;
}
.home-card__body a {
    color: #2f7d6a;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.home-faq .accordion-item {
    border: 1px solid #e4ece8;
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}
.home-faq .accordion-button {
    font-size: 17px;
    font-weight: 600;
    color: #1d2b28;
}
.home-faq .accordion-button:not(.collapsed) {
    background: #eef5f2;
    color: #1d2b28;
}
.home-faq .accordion-body {
    color: #5b6b66;
    line-height: 1.55;
}
.home-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}
.home-contact__info p {
    margin: 0 0 10px;
    color: #40514c;
    font-size: 16px;
}
.home-contact__info a {
    color: #2f7d6a;
    text-decoration: none;
    font-weight: 600;
}
@media (max-width: 991px) {
    .home-split, .home-contact {
        grid-template-columns: 1fr;
    }
    .home-section {
        padding: 44px 0;
    }
}
/* ===== Главная: «С чем приходят», «Услуги и цены», «Как проходит приём» ===== */
.hs-wrap {
    --hs-accent: #2f7d6a;
}
.hs-section {
    padding: 64px 0;
}
.hs-section--muted {
    background: #f7faf8;
}
.hs-head {
    margin-bottom: 32px;
}
.hs-kicker {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 12px;
    color: #2f7d6a;
    font-weight: 600;
}
.hs-head h2 {
    font-size: clamp(24px, 3vw, 38px);
    margin: 10px 0 0;
    color: #1d2b28;
}
.hs-head p {
    margin: 12px 0 0;
    color: #5b6b66;
    max-width: 680px;
}
.hs-problem {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid #e4ece8;
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    transition: .2s;
}
.hs-problem:hover {
    border-color: #2f7d6a;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(20, 60, 50, .08);
}
.hs-problem h3 {
    font-size: 19px;
    margin: 0 0 8px;
    color: #1d2b28;
}
.hs-problem p {
    margin: 0 0 16px;
    color: #5b6b66;
    font-size: 15px;
    line-height: 1.45;
}
.hs-problem__more {
    color: #2f7d6a;
    font-size: 14px;
    font-weight: 600;
}
.hs-free {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #2f7d6a;
    color: #fff;
    border-radius: 18px;
    padding: 22px 26px;
    margin-bottom: 28px;
}
.hs-free h3 {
    color: #fff;
    font-size: 22px;
    margin: 0 0 4px;
}
.hs-free p {
    margin: 0;
    color: #d9ece6;
    font-size: 15px;
}
.hs-free a {
    background: #fff;
    color: #2f7d6a;
    border-radius: 100px;
    padding: 12px 22px;
    font-weight: 600;
    text-decoration: none;
}
.hs-service {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e4ece8;
    border-radius: 16px;
    padding: 22px;
    text-decoration: none;
    transition: .2s;
}
.hs-service:hover {
    border-color: #2f7d6a;
    box-shadow: 0 12px 24px rgba(20, 60, 50, .08);
}
.hs-service__cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8aa39b;
}
.hs-service h3 {
    font-size: 19px;
    margin: 8px 0 10px;
    color: #1d2b28;
}
.hs-service p {
    color: #5b6b66;
    font-size: 14px;
    line-height: 1.45;
    flex: 1;
    margin: 0 0 16px;
}
.hs-service__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px dashed #e4ece8;
    padding-top: 14px;
}
.hs-service__price {
    font-size: 18px;
    font-weight: 700;
    color: #1d2b28;
}
.hs-service__cta {
    font-size: 14px;
    color: #2f7d6a;
    font-weight: 600;
}
.hs-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    counter-reset: hs-step;
}
.hs-step {
    background: #fff;
    border: 1px solid #e4ece8;
    border-radius: 16px;
    padding: 24px;
    position: relative;
}
.hs-step::before {
    counter-increment: hs-step;
    content: counter(hs-step);
    position: absolute;
    top: -14px;
    left: 24px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2f7d6a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.hs-step h3 {
    font-size: 18px;
    margin: 12px 0 8px;
    color: #1d2b28;
}
.hs-step p {
    margin: 0;
    color: #5b6b66;
    font-size: 15px;
    line-height: 1.45;
}

/* Прелоадер: страховка без JavaScript.
   Если скрипт не отработал, через 4 секунды прелоадер всё равно уйдёт. */
.site-preloader {
    animation: site-preloader-failsafe 0.45s ease 4s forwards;
}

@keyframes site-preloader-failsafe {
    to {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Плавающая кнопка «Онлайн-запись»: круглая кнопка с расходящимися волнами */
.booking-fab {
    position: fixed;
    left: 30px;
    bottom: 30px;
    z-index: 900;
    width: 100px;
    height: 100px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.booking-fab__circle {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border-radius: 50%;
    background-color: #00b9bb;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.06em;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 185, 187, 0.38);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.booking-fab__wave {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 105%;
    height: 105%;
    transform: translate(-50%, -50%);
    border: 2px solid #00b9bb;
    border-radius: 50%;
    opacity: 0.9;
    pointer-events: none;
    animation: booking-wave 2s infinite cubic-bezier(0.37, 0, 0.8, 0.77);
}

.booking-fab__wave--delayed {
    animation-delay: 1s;
}

@keyframes booking-wave {
    100% {
        width: 200%;
        height: 200%;
        border-color: transparent;
        opacity: 0;
    }
}

.booking-fab:hover .booking-fab__circle {
    background-color: #00a3a5;
    transform: scale(1.04);
}

.booking-fab:focus-visible {
    outline: 3px solid rgba(0, 185, 187, 0.45);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .booking-fab__wave {
        animation: none;
        opacity: 0.5;
    }
}

@media (max-width: 1024px) {
    .booking-fab {
        left: 18px;
        bottom: 18px;
        width: 88px;
        height: 88px;
    }

    .booking-fab__circle {
        font-size: 11px;
    }
}

@media (max-width: 575px) {
    .booking-fab {
        left: 12px;
        bottom: 96px;
        width: 78px;
        height: 78px;
    }

    .booking-fab__circle {
        font-size: 10px;
        letter-spacing: 0.04em;
    }
}
/* ---------- Кнопки формы онлайн-записи ----------
   Тема заливает .theme-btn прямоугольными псевдоэлементами при наведении,
   из-за этого «прыгало» скругление. Держим кнопки строго прямоугольными,
   правило с !important страхует от кеша чанка острова. */
.booking .theme-btn,
.booking .theme-btn:hover,
.booking .theme-btn:focus,
.booking .theme-btn:active,
.booking .theme-btn:disabled {
    border-radius: 0 !important;
}

.booking .theme-btn::before,
.booking .theme-btn::after {
    content: none !important;
}

/* ---------- Личный кабинет ---------- */
.account-sidebar {
    position: sticky;
    top: 110px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 185, 187, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 46, 54, 0.06);
}

.account-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eef2f3;
}

.account-user__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #00b9bb;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    flex: 0 0 52px;
}

.account-user__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.account-user__info strong {
    color: #123236;
    font-size: 17px;
}

.account-user__info span {
    color: #6b7f83;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 18px 0;
}

.account-menu__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #29474b;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.account-menu__item i {
    width: 18px;
    color: #00b9bb;
    text-align: center;
}

.account-menu__item:hover {
    background: #f1fbfb;
    color: #008f91;
}

.account-menu__item.is-active {
    background: #00b9bb;
    color: #ffffff;
}

.account-menu__item.is-active i {
    color: #ffffff;
}

.account-logout {
    padding-top: 16px;
    border-top: 1px solid #eef2f3;
}

.account-logout__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #7b8c90;
    font-weight: 500;
    cursor: pointer;
}

.account-logout__btn:hover {
    color: #d9534f;
}

.account-card {
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(0, 185, 187, 0.12);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 46, 54, 0.06);
}

.account-card__head {
    margin-bottom: 22px;
}

.account-card__head h2 {
    margin-bottom: 6px;
    color: #123236;
    font-size: 26px;
}

.account-card__head p {
    margin: 0;
    color: #6b7f83;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.account-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-field > span {
    color: #29474b;
    font-weight: 500;
}

.account-field > span b {
    color: #d9534f;
}

.account-field input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dbe5e6;
    border-radius: 10px;
    background: #fbfdfd;
    color: #123236;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-field input:focus {
    border-color: #00b9bb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 185, 187, 0.12);
}

.account-field__error {
    color: #d9534f;
    font-size: 13px;
    font-style: normal;
}

.account-form__actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 4px;
}

.account-card__note {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f4fbfb;
    color: #5d7377;
    font-size: 14px;
    line-height: 1.5;
}

.account-card__note i {
    margin-top: 3px;
    color: #00b9bb;
}

.account-errors {
    margin: 0;
    padding-left: 18px;
}

.account-empty {
    padding: 32px 16px;
    text-align: center;
}

.account-empty > i {
    margin-bottom: 14px;
    color: #b9d6d7;
    font-size: 42px;
}

.account-empty h3 {
    margin-bottom: 8px;
    color: #123236;
    font-size: 22px;
}

.account-empty p {
    margin-bottom: 18px;
    color: #6b7f83;
}

.account-orders .shop-order-card {
    margin-bottom: 16px;
}

.account-bookings {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.account-booking {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    border: 1px solid #e8eff0;
    border-radius: 14px;
    background: #fcfefe;
}

.account-booking__when {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f1fbfb;
    color: #008f91;
    text-align: center;
}

.account-booking__when strong {
    font-size: 15px;
    white-space: nowrap;
}

.account-booking__when span {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 700;
}

.account-booking__body {
    flex: 1;
    min-width: 0;
}

.account-booking__body h3 {
    margin-bottom: 4px;
    color: #123236;
    font-size: 18px;
}

.account-booking__meta {
    margin: 0;
    color: #5d7377;
    font-size: 14px;
}

.account-booking__comment {
    margin: 8px 0 0;
    color: #7b8c90;
    font-size: 14px;
}

.account-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2f3;
    color: #5d7377;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.account-status--new {
    background: #fff6e5;
    color: #a66a00;
}

.account-status--confirmed {
    background: #e8f4ff;
    color: #1c6fa8;
}

.account-status--visited {
    background: #e9f9ef;
    color: #18794e;
}

.account-status--no_show,
.account-status--cancelled,
.account-status--rejected {
    background: #fdecec;
    color: #b4413e;
}

.account-status--processed {
    background: #eef2f3;
    color: #5d7377;
}

@media (max-width: 991px) {
    .account-sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .account-card {
        padding: 20px;
    }

    .account-booking {
        flex-wrap: wrap;
    }

    .account-booking__body {
        flex-basis: calc(100% - 114px);
    }

    .account-status {
        margin-left: 114px;
    }
}

.account-booking__side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.account-booking__cancel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #b4413e;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.account-booking__cancel:hover {
    color: #8f2f2c;
    text-decoration: underline;
}

.account-modal {
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 46, 54, 0.2);
}

.account-modal .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f3;
}

.account-modal .modal-title {
    color: #123236;
    font-size: 21px;
}

.account-modal .modal-body {
    padding: 22px 24px;
    color: #3f585d;
}

.account-modal .modal-body > p {
    margin-bottom: 16px;
}

.account-modal__warning {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #fff6e5;
    color: #7b5c23;
}

.account-modal__warning i {
    margin-top: 3px;
    color: #c58a1c;
}

.account-modal__warning p {
    margin: 0;
    line-height: 1.5;
}

.account-modal .modal-footer {
    padding: 16px 24px 22px;
    border-top: 1px solid #eef2f3;
    gap: 10px;
}

.account-modal__form {
    display: inline-flex;
    margin: 0;
}

.account-modal__confirm {
    background: #b4413e !important;
    border-color: #b4413e !important;
}

.account-modal__confirm:hover,
.account-modal__confirm:focus {
    background: #96322f !important;
    border-color: #96322f !important;
}

@media (max-width: 575px) {
    .account-booking__side {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        margin-left: 114px;
    }

    .account-booking__side .account-status {
        margin-left: 0;
    }
}

.account-status--completed {
    background: #e9f9ef;
    color: #18794e;
}
