/* =========================================
   Стили для Hero-слайдера (Первый экран)
   ========================================= */

/* Контейнер слайдера - уменьшаем минимальную высоту */
.slider-bg {
    min-height: 650px !important;
    padding-top: 120px;
    /*padding-bottom: 80px;*/
}

/* Текстовый контент */
.hero-text-block {
    position: relative;
    z-index: 2;
    padding-right: 20px;
}

/* Подзаголовок с черточкой */
.hero-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 16px !important;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #555 !important;
    margin-bottom: 15px !important;
    display: inline-block;
    position: relative;
    padding-left: 45px;
}
.hero-subtitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #000;
}

/* Главный заголовок */
.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 64px !important;
    font-weight: 500;
    line-height: 1.1 !important;
    text-transform: uppercase;
    color: #000 !important;
    margin-bottom: 20px !important;
}
.hero-title span {
    display: block;
    font-size: 22px;
    font-weight: 300;
    color: #444 !important;
    letter-spacing: 1px;
    margin-top: 10px;
    text-transform: none;
    line-height: 1.4;
}

/* Список преимуществ (тезисы) */
.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}
.hero-features li {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.hero-features li i {
    color: #000;
    font-size: 18px;
    margin-right: 12px;
    min-width: 18px;
}

/* Описание */
.s-slider-content p.hero-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 35px;
    max-width: 500px;
}

/* Кнопки */
.hero-text-block .slider-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.hero-text-block .btn {
    margin-right: 0 !important;
}
/* Делаем вторую кнопку прозрачной с обводкой */
.hero-text-block .btn.ss-btn.active {
    background: transparent;
    border: 2px solid #000;
    color: #000;
}
.hero-text-block .btn.ss-btn.active:hover {
    background: #000;
    color: #fff;
}

/* Картинка справа */
.hero-img {
    text-align: right;
    position: relative;
    z-index: 1;
}
.hero-img img {
    max-width: 100%;
    height: auto;
    max-height: 550px; /* Ограничиваем высоту, чтобы не ломала сетку */
    object-fit: contain;
    filter: drop-shadow(0px 20px 40px rgba(0,0,0,0.08)); /* Мягкая тень */
}

/* Декоративный фон (overlay) - делаем менее навязчивым */
.slider-bg .overlay-bg {
    /*opacity: 0.2;*/
    right: 155px;
    /*bottom: 50px;*/
}
@media (max-width: 1200px) {
    .slider-bg .overlay-bg {
        right: 50px;
    }
}
@media (max-width: 1024px) {
    .slider-bg .overlay-bg {
        right: 0;
    }
}
.slider-bg .overlay-bg img {
    /*max-width: 300px;*/
}

/* =========================================
   Адаптивность (Responsive)
   ========================================= */

/* Планшеты (до 991px) */
@media (max-width: 991px) {
    .slider-bg {
        min-height: auto !important;
        padding-top: 60px;
        /*padding-bottom: 60px;*/
    }
    .hero-text-block {
        text-align: center;
        padding-right: 0;
        margin-bottom: 50px;
    }
    .hero-subtitle {
        padding-left: 0;
    }
    .hero-subtitle::before {
        display: none;
    }
    .hero-title {
        font-size: 52px !important;
    }
    .hero-title span {
        font-size: 18px;
    }
    .hero-features {
        display: inline-block;
        text-align: left;
    }
    .hero-desc {
        margin: 0 auto 30px;
        text-align: center;
    }
    .hero-text-block .slider-btn {
        justify-content: center;
    }
    .hero-img {
        text-align: center;
    }
    .hero-img img {
        max-height: 450px;
        margin: 0 auto;
    }
}

/* Мобильные устройства (до 767px) */
@media (max-width: 767px) {
    .slider-content {
        margin-top: 0;
    }
    .hero-title {
        font-size: 40px !important;
    }
    .hero-title span {
        font-size: 16px;
    }
    .hero-subtitle {
        font-size: 14px !important;
    }
    .hero-features li {
        font-size: 14px;
    }
    .hero-desc {
        font-size: 14px;
    }
    .hero-img img {
        max-height: 350px;
    }
    /* Кнопки на всю ширину на мобилках */
    .hero-text-block .btn {
        padding: 15px 25px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 32px !important;
    }
}

/* =========================================
   Стили модального окна записи на прием
   ========================================= */

/* 1. Исправление проблемы наложения липкой шапки (sticky header) */
.mfp-bg {
    z-index: 10000 !important; /* Оверлей поверх шапки */
}
.mfp-wrap {
    z-index: 10001 !important; /* Само окно поверх оверлея и шапки */
}

/* Блокируем скролл страницы при открытом модальном окне */
body.mfp-fade-modal-open {
    overflow: hidden !important;
}

/* Основной контейнер модального окна */
.white-popup-block {
    background: #FFF;
    padding: 45px 40px;
    text-align: left;
    max-width: 500px;
    margin: 40px auto;
    position: relative;
    border-radius: 8px;
    box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.15);
}

/* Кнопка закрытия */
.white-popup-block .mfp-close {
    color: #000;
    font-size: 28px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.white-popup-block .mfp-close:hover {
    opacity: 1;
}

/* Заголовки внутри модалки */
.modal-subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    text-transform: uppercase;
    color: #666 !important;
    letter-spacing: 2px;
    margin-bottom: 10px !important;
}

.modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px !important;
    font-weight: 500;
    text-transform: uppercase;
    color: #000 !important;
    margin-bottom: 15px !important;
    line-height: 1.2;
}

.section-title .modal-description {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    margin: auto;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0 !important;
}

/* 2. Поля ввода - добавляем легкую обводку */
#modal-appointment .contact-field input {
    width: 100%;
    border: 1px solid #e0e0e0 !important;
    background: #fff;
    border-radius: 5px;
    height: 55px;
    padding: 10px 20px;
    font-size: 15px;
    color: #000;
    text-transform: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

#modal-appointment .contact-field input::placeholder {
    color: #999;
    text-transform: none;
    font-size: 15px;
    opacity: 1;
}

/* Состояние фокуса (клик по полю) */
#modal-appointment .contact-field input:focus {
    border-color: #000 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Иконка телефона внутри поля (Font Awesome 5 Pro) */
#modal-appointment .contact-field.c-phone::after {
    content: "\f095";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 38%;
    transform: translateY(-38%);
    color: #999;
    font-size: 14px;
    display: block;
    pointer-events: none;
}
@media (max-width: 767px) {
    #modal-appointment .contact-field.c-phone::after {
        top: 33%;
        transform: translateY(-33%);
    }
}

/* 3. Блок с политикой конфиденциальности */
#modal-appointment .privacy-policy {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

#modal-appointment .privacy-policy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #000; /* Цвет галочки в современных браузерах */
}

#modal-appointment .privacy-policy label {
    width: 90%;
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    color: #555;
    text-transform: none;
    font-size: 13px;
    line-height: 1.5;
}

#modal-appointment .privacy-policy label a {
    color: #000;
    text-decoration: underline;
    transition: color 0.3s;
}

#modal-appointment .privacy-policy label a:hover {
    color: #555;
}

/* Кнопка отправки */
#modal-appointment .slider-btn {
    width: 100%;
    margin-top: 10px;
}

#modal-appointment .btn.ss-btn {
    background-color: #000;
    color: #fff;
    border-radius: 30px;
    padding: 18px 40px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #000;
}

#modal-appointment .btn.ss-btn:hover {
    background: #fff;
    color: #000;
}

/* Адаптив для мобильных устройств */
@media (max-width: 767px) {
    .white-popup-block {
        padding: 30px 25px;
        margin: 20px 15px;
        max-width: calc(100% - 30px);
    }

    .modal-title {
        font-size: 26px !important;
    }

    .modal-description {
        font-size: 14px;
    }

    #modal-appointment .contact-field input {
        height: 50px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .white-popup-block {
        padding: 25px 20px;
    }

    .modal-title {
        font-size: 22px !important;
    }
}

/* =========================================
   Секция "С чем чаще всего обращаются"
   ========================================= */

/* Заголовок секции */
.issues-area .section-title h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 3px;
    color: #666 !important;
    margin-bottom: 15px !important;
}

.issues-area .section-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 48px !important;
    font-weight: 500;
    line-height: 1.2 !important;
    color: #000 !important;
}

/* Сетка карточек (CSS Grid) */
.issues-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Базовая карточка */
.issue-card {
    background: #fff;
    padding: 35px 25px 30px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 260px;
}

.issue-card:hover {
    border-color: #000;
    transform: translateY(-5px);
    box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.08);
    cursor: default;
}

/* Номер карточки */
.issue-number {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    font-weight: 500;
    color: #e8e8e8;
    margin-bottom: 15px;
    line-height: 1;
    transition: color 0.3s ease;
}

.issue-card:hover .issue-number {
    color: #000;
}

/* Цитата клиента (заголовок карточки) */
.issue-title {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
    flex-grow: 1;
    font-style: italic;
}

/* Подпись с темой обращения */
.issue-topic {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    margin-bottom: 0;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    transition: border-color 0.3s ease;
}

.issue-card:hover .issue-topic {
    border-top-color: #000;
}

/* =========================================
   Адаптивность (Responsive)
   ========================================= */

/* Большие экраны (> 1400px) */
@media (min-width: 1400px) {
    .issue-card {
        padding: 40px 30px 35px;
    }
    .issue-title {
        font-size: 16px;
    }
}

/* Десктоп (1200px - 1399px): 5 колонок */
@media (max-width: 1399px) and (min-width: 992px) {
    .issues-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }
    .issue-card {
        padding: 30px 20px 25px;
        min-height: 240px;
    }
    .issue-title {
        font-size: 14px;
    }
    .issue-number {
        font-size: 36px;
    }
}

/* Планшет горизонтальный (768px - 991px): 3 колонки */
@media (max-width: 991px) and (min-width: 768px) {
    .issues-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .issue-card {
        min-height: 220px;
    }
}

/* Планшет вертикальный и большие мобильные (576px - 767px): 2 колонки */
@media (max-width: 767px) and (min-width: 576px) {
    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные (481px - 575px): 2 колонки */
@media (max-width: 575px) {
    .issues-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .issue-card {
        padding: 25px 18px;
        min-height: auto;
    }
    .issue-number {
        font-size: 32px;
        margin-bottom: 10px;
    }
    .issue-title {
        font-size: 13px;
        margin-bottom: 15px;
    }
    .issue-topic {
        font-size: 11px;
        padding-top: 12px;
    }
    .issues-area .section-title h2 {
        font-size: 36px !important;
    }
}

/* Очень маленькие мобильные (< 480px): 1 колонка */
@media (max-width: 480px) {
    .issues-grid {
        grid-template-columns: 1fr;
    }
    .issue-card {
        min-height: auto;
    }
    .issues-area .section-title h2 {
        font-size: 32px !important;
    }
}

/* Отступ для кнопки */
.mt-60 {
    margin-top: 60px;
}

/* =========================================
   Уменьшение отступов секции "С чем чаще всего обращаются"
   ========================================= */

/* Основной отступ сверху уменьшаем со 120px до 60px */
.issues-area .container {
    padding-top: 60px !important;
    padding-bottom: 70px !important;
}

/* Также уменьшаем нижний отступ заголовка секции */
.issues-area .section-title.mb-60 {
    margin-bottom: 40px !important;
}

/* =========================================
   Адаптивность отступов под разные экраны
   ========================================= */

/* Планшеты и небольшие ноутбуки (≤ 991px) */
@media (max-width: 991px) {
    .issues-area .container {
        padding-top: 50px !important;
        padding-bottom: 60px !important;
    }
    .issues-area .section-title.mb-60 {
        margin-bottom: 35px !important;
    }
    .issues-area .section-title h2 {
        font-size: 36px !important;
    }
}

/* Мобильные устройства (≤ 767px) */
@media (max-width: 767px) {
    .issues-area .container {
        padding-top: 40px !important;
        padding-bottom: 50px !important;
    }
    .issues-area .section-title.mb-60 {
        margin-bottom: 30px !important;
    }
    .issues-area .section-title h2 {
        font-size: 30px !important;
        line-height: 1.3 !important;
    }
    .issues-area .section-title p {
        font-size: 14px !important;
    }
}

/* Очень маленькие экраны (≤ 480px) */
@media (max-width: 480px) {
    .issues-area .container {
        padding-top: 35px !important;
        padding-bottom: 40px !important;
    }
    .issues-area .section-title h2 {
        font-size: 26px !important;
    }
    /* Уменьшаем отступ у кнопки под сеткой */
    .issues-area .mt-60 {
        margin-top: 35px !important;
    }
}

/* =========================================
   Секция "Что мы лечим" - Сетка с стрелками
   ========================================= */

/* Сетка кнопок-диагнозов (CSS Grid) */
.treatments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 100%;
    margin: 0 auto;
}

/* Стиль кнопки-ячейки сетки */
.treatment-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    min-height: 65px;
}

.treatment-tag:hover {
    background: #000;
    color: #fff;
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Текст диагноза */
.tag-text {
    flex: 1;
    padding-right: 15px;
    line-height: 1.4;
}

/* Стрелочка справа */
.tag-arrow {
    font-size: 16px;
    color: #999;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.treatment-tag:hover .tag-arrow {
    color: #fff;
    transform: translateX(5px);
}

/* =========================================
   Адаптивность сетки
   ========================================= */

/* Большие экраны (> 1400px) */
@media (min-width: 1400px) {
    .treatments-grid {
        gap: 20px;
    }
    .treatment-tag {
        padding: 25px 30px;
        font-size: 15px;
        min-height: 75px;
    }
    .tag-arrow {
        font-size: 18px;
    }
}

/* Планшет горизонтальный (768px - 991px): 3 колонки */
@media (max-width: 991px) and (min-width: 768px) {
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .treatment-tag {
        padding: 18px 22px;
        font-size: 14px;
    }
}

/* Планшет вертикальный и мобильные (576px - 767px): 2 колонки */
@media (max-width: 767px) and (min-width: 576px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .treatment-tag {
        padding: 16px 20px;
        font-size: 13px;
    }
}

/* Мобильные (481px - 575px): 2 колонки */
@media (max-width: 575px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .treatment-tag {
        padding: 15px 18px;
        font-size: 12px;
        min-height: 60px;
    }
    .tag-text {
        padding-right: 10px;
    }
    .tag-arrow {
        font-size: 14px;
    }
}

/* Очень маленькие мобильные (< 480px): 1 колонка */
@media (max-width: 480px) {
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    .treatment-tag {
        padding: 18px 20px;
        font-size: 14px;
    }
}

/* =========================================
   Модальные окна диагнозов
   ========================================= */

.treatment-modal {
    max-width: 650px;
    padding: 50px 45px;
}

.treatment-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
}

.treatment-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    text-transform: uppercase;
    line-height: 1.2;
}

.treatment-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.treatment-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}

.treatment-content strong {
    color: #000;
}

/* Список с галочками */
.treatment-list,
.treatment-content ul {
    list-style: none;
    padding: 0;
    margin: 20px 0 25px;
}

.treatment-list li,
.treatment-content ul li {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.treatment-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary) !important;
    font-size: 16px;
    font-weight: 900;
}

.treatment-list li::before,
.treatment-content ul li::before {
    content: "\f00c";
    display: inline-block;
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    font-family: "Font Awesome 5 Pro";
    font-size: 16px;
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    color: var(--primary) !important;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

/* Блок с результатом */
.treatment-result {
    background: #f8f8f8;
    padding: 25px 30px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #000;
}

.treatment-result h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.treatment-result p {
    font-size: 15px;
    margin-bottom: 0;
    color: #555;
}

/* Адаптивность */
@media (max-width: 767px) {
    .treatment-modal {
        padding: 35px 25px;
    }

    .treatment-header h3 {
        font-size: 26px;
    }

    .treatments-grid {
        gap: 10px;
    }

    .treatment-tag {
        padding: 12px 22px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .treatment-modal {
        padding: 30px 20px;
    }

    .treatment-header h3 {
        font-size: 22px;
    }

    .treatment-content p {
        font-size: 15px;
    }

    .treatment-list li {
        font-size: 14px;
        padding-left: 25px;
    }
}

/* =========================================
   Секция "Почему обращаются ко мне" - Компактная версия
   ========================================= */

/* Уменьшаем общие отступы секции */
.why-me-area .container {
    padding-top: 50px !important;
    padding-bottom: 70px !important;
}

/* Картинка слева */
.why-me-img {
    position: relative;
    padding: 20px;
}

.why-me-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
}

/* Бейдж с опытом работы - уменьшенный */
.experience-badge {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: #000;
    color: #fff;
    padding: 20px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
}

.exp-number {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 3px;
}

.exp-text {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Контент справа - уменьшаем отступ */
.why-me-content {
    padding-left: 30px;
}

.why-me-content .section-title h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 3px;
    color: #666 !important;
    margin-bottom: 12px !important;
}

.why-me-content .section-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 42px !important;
    font-weight: 500;
    line-height: 1.2 !important;
    color: #000 !important;
    margin-bottom: 0 !important;
}

.why-me-content .section-title p {
    width: 100%;
}

/* Список преимуществ - компактная версия */
.why-me-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #f0f0f0;
}

.feature-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Иконка преимущества - уменьшенная */
.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    transition: all 0.3s ease;
}

.feature-icon i {
    font-size: 20px;
    color: #000;
}

.feature-item:hover .feature-icon {
    background: #000;
    transform: scale(1.05);
}

.feature-item:hover .feature-icon i {
    color: #fff;
}

/* Текст преимущества - уменьшенный */
.feature-text h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.feature-text p {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 0;
}

/* =========================================
   Адаптивность (Responsive)
   ========================================= */

/* Планшеты и мобильные (≤ 991px) */
@media (max-width: 991px) {
    .why-me-img {
        padding: 0;
        margin-bottom: 35px;
    }

    .why-me-img img {
        max-width: 450px;
        margin: 0 auto;
        display: block;
    }

    .experience-badge {
        bottom: 25px;
        right: 25px;
        padding: 18px 22px;
    }

    .exp-number {
        font-size: 32px;
    }

    .why-me-content {
        padding-left: 0;
    }

    .why-me-content .section-title h2 {
        font-size: 34px !important;
    }
}

/* Мобильные (≤ 767px) */
@media (max-width: 767px) {
    .why-me-area .container {
        padding-top: 40px !important;
        padding-bottom: 50px !important;
    }

    .why-me-content .section-title h2 {
        font-size: 28px !important;
    }

    .feature-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .feature-icon i {
        font-size: 18px;
    }

    .feature-text h4 {
        font-size: 15px;
    }

    .feature-text p {
        font-size: 12px;
    }
}

/* Очень маленькие экраны (≤ 480px) */
@media (max-width: 480px) {
    .why-me-content .section-title h2 {
        font-size: 24px !important;
    }

    .experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 14px 18px;
    }

    .exp-number {
        font-size: 28px;
    }

    .exp-text {
        font-size: 10px;
    }
}

/* =========================================
   Галерея дипломов и сертификатов
   ========================================= */

/* Заголовок секции */
#portfolio .section-title h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 3px;
    color: #666 !important;
    margin-bottom: 15px !important;
}

#portfolio .section-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 48px !important;
    font-weight: 500;
    line-height: 1.2 !important;
    color: #000 !important;
}

/* Фильтры - flex-wrap на всю ширину */
#portfolio .my-masonry {
    text-align: right;
}

#portfolio .button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

#portfolio .button-group button {
    margin-left: 0;
}

/* Карточка диплома */
.diploma-card {
    padding: 15px !important;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

.diploma-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 16px 40px rgba(0, 0, 0, 0.12);
}

.diploma-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 !important;
}

.diploma-title {
    position: static !important;
    opacity: 1 !important;
    bottom: auto !important;
    padding: 15px 5px 5px !important;
    text-align: center;
}

.diploma-title h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #000 !important;
    text-transform: uppercase;
    margin-bottom: 0 !important;
    letter-spacing: 0.5px;
}

.diploma-card:hover figcaption {
    opacity: 1 !important;
    bottom: auto !important;
}

.diploma-card::before,
.diploma-card::after {
    display: none !important;
}

/* Кнопка Показать ещё */
.load-more-wrap {
    display: none;
}

#load-more-btn {
    background: transparent;
    border: 2px solid #000;
    color: #000;
    padding: 16px 40px;
    border-radius: 30px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    background: #000;
    color: #fff;
}

#load-more-btn i {
    margin-left: 10px;
}

/* =========================================
   Адаптивность
   ========================================= */

@media (max-width: 991px) {
    #portfolio .section-title h2 {
        font-size: 36px !important;
    }

    #portfolio .my-masonry {
        text-align: left;
        margin-top: 25px;
    }

    #portfolio .button-group {
        justify-content: flex-start;
    }

    .diploma-card img {
        height: 280px;
    }

    .diploma-title h4 {
        font-size: 14px !important;
    }
}

@media (max-width: 767px) {
    #portfolio .section-title h2 {
        font-size: 30px !important;
    }

    #portfolio .button-group {
        gap: 6px;
    }

    #portfolio .button-group button {
        padding-left: 18px;
        padding-right: 18px;
        font-size: 12px;
    }

    .diploma-card {
        padding: 12px !important;
    }

    .diploma-card img {
        height: 240px;
    }

    .diploma-title {
        padding: 12px 3px 3px !important;
    }

    .diploma-title h4 {
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    #portfolio .section-title h2 {
        font-size: 26px !important;
    }

    .diploma-card img {
        height: 220px;
    }
}

/* Принудительное скрытие элементов пагинацией */
#diploma-grid .grid-item.pager-hidden {
    display: none !important;
}

/* =========================================
   Секция "Консультация" - стиль примера
   ========================================= */

/* Левая карточка услуг */
.consultation-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.consultation-card:hover {
    border-color: #000;
    box-shadow: 0px 16px 40px rgba(0, 0, 0, 0.08);
}

.card-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.card-tag {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 12px;
}

.card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.card-duration {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
}

.card-duration i {
    margin-right: 8px;
    color: #000;
}

.card-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

/* Список услуг */
.card-services {
    flex: 1;
    margin-bottom: 30px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-info {
    flex: 1;
    padding-right: 20px;
}

.service-info h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.service-info p {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 0;
}

.service-price {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Футер карточки */
.card-footer {
    margin-top: auto;
    background-color: unset;
    border-top: none;
}

.card-footer .btn.ss-btn {
    width: 100%;
    text-align: center;
}

/* Правая карточка процесса */
.process-card {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 40px 35px;
    height: 100%;
}

.process-header {
    margin-bottom: 35px;
}

.process-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 500;
    color: #000;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.process-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 0;
}

/* Временная шкала */
.process-timeline {
    position: relative;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.timeline-item:not(:last-child) .timeline-marker::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 25px;
    background: #ddd;
}

.timeline-content {
    flex: 1;
    padding-top: 8px;
}

.timeline-content h5 {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #000;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.timeline-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 0;
}

/* =========================================
   Адаптивность
   ========================================= */

@media (max-width: 991px) {
    .consultation-card {
        margin-bottom: 40px;
    }

    .card-title {
        font-size: 28px;
    }

    .process-title {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .consultation-card,
    .process-card {
        padding: 30px 25px;
    }

    .card-title {
        font-size: 24px;
    }

    .service-item {
        flex-direction: column;
        gap: 10px;
    }

    .service-info {
        padding-right: 0;
    }

    .service-price {
        align-self: flex-start;
    }

    .process-title {
        font-size: 22px;
    }

    .timeline-marker {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .timeline-item:not(:last-child) .timeline-marker::after {
        height: 20px;
    }

    .timeline-content h5 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .card-title {
        font-size: 22px;
    }

    .process-title {
        font-size: 20px;
    }
}

/* =========================================
   Блок с форматами проведения
   ========================================= */

.format-info {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 2px solid #e8e8e8;
}

.format-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

.format-list li {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.format-list li:last-child {
    margin-bottom: 0;
}

.format-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: #000;
    font-size: 16px;
    width: 20px;
}

.format-list li strong {
    color: #000;
    font-weight: 500;
}

/* =========================================
   Адаптивность
   ========================================= */

@media (max-width: 767px) {
    .format-info {
        margin-top: 25px;
        padding-top: 25px;
    }

    .format-title {
        font-size: 16px;
    }

    .format-list li {
        font-size: 13px;
    }
}

/* =========================================
   Блок отзывов - компактные карточки
   ========================================= */

/* Заголовок секции */
.testimonial-area .section-title h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 3px;
    color: #666 !important;
    margin-bottom: 15px !important;
}

.testimonial-area .section-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 48px !important;
    font-weight: 500;
    line-height: 1.2 !important;
    color: #000 !important;
}

/* Карточка отзыва */
.review-card {
    background: #fff;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    padding: 35px 30px;
    margin: 10px 15px 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.review-card:hover {
    border-color: #000;
    box-shadow: 0px 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

/* Иконка кавычек */
.review-icon {
    width: 60px;
    height: 60px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.review-icon i {
    font-size: 24px;
    color: #000;
    transition: color 0.3s ease;
}

.review-card:hover .review-icon {
    background: #000;
}

.review-card:hover .review-icon i {
    color: #fff;
}

/* Текст отзыва */
.review-text {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}

/* Имя клиента */
.review-name {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* =========================================
   Стрелки навигации
   ========================================= */

.testimonial-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 2px solid #e8e8e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.testimonial-slider .slick-arrow i {
    font-size: 18px;
    color: #000;
    transition: color 0.3s ease;
}

.testimonial-slider .slick-arrow:hover {
    background: #000;
    border-color: #000;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-slider .slick-arrow:hover i {
    color: #fff;
}

.testimonial-slider .slick-prev {
    left: -60px;
}

.testimonial-slider .slick-next {
    right: -60px;
}

/* Убираем стандартные точки slick */
.testimonial-slider .slick-dots {
    display: none !important;
}

/* =========================================
   Адаптивность
   ========================================= */

@media (max-width: 1199px) {
    .testimonial-slider .slick-prev {
        left: -40px;
    }

    .testimonial-slider .slick-next {
        right: -40px;
    }
}

@media (max-width: 991px) {
    .testimonial-area .section-title h2 {
        font-size: 36px !important;
    }

    .testimonial-slider .slick-arrow {
        width: 45px;
        height: 45px;
    }

    .testimonial-slider .slick-prev {
        left: 10px;
    }

    .testimonial-slider .slick-next {
        right: 10px;
    }

    .review-card {
        margin: 10px 10px 30px;
        padding: 30px 25px;
    }
}

@media (max-width: 767px) {
    .testimonial-area .section-title h2 {
        font-size: 30px !important;
    }

    .review-card {
        min-height: auto;
        padding: 30px 25px;
    }

    .review-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .testimonial-area .section-title h2 {
        font-size: 26px !important;
    }

    .testimonial-slider .slick-arrow {
        width: 40px;
        height: 40px;
    }

    .testimonial-slider .slick-arrow i {
        font-size: 16px;
    }

    .testimonial-slider .slick-prev {
        left: 5px;
    }

    .testimonial-slider .slick-next {
        right: 5px;
    }
}

/* =========================================
   FAQ секция и модалка "Задать вопрос"
   ========================================= */

/* Заголовок секции */
.faq-area .section-title h5 {
    font-family: 'Roboto', sans-serif;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 3px;
    color: #666 !important;
    margin-bottom: 12px !important;
    text-transform: uppercase;
}

.faq-area .section-title h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 48px !important;
    font-weight: 500;
    line-height: 1.2 !important;
    color: #000 !important;
    margin-bottom: 0 !important;
}

/* Кнопка "Задать вопрос" */
.open-question-modal i {
    margin-right: 10px;
}

.open-question-modal:hover i {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

/* =========================================
   Модальное окно формы вопроса
   ========================================= */

.question-modal {
    max-width: 600px;
    padding: 45px 40px;
}

/* Поля формы */
.question-form .contact-field input,
.question-form .contact-field textarea {
    width: 100%;
    border: 1px solid #e0e0e0 !important;
    background: #fff;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 15px;
    color: #000;
    text-transform: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Roboto', sans-serif;
    height: auto !important;
}

.question-form .contact-field input {
    height: 55px !important;
}

.question-form .contact-field textarea {
    height: 140px !important;
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.question-form .contact-field input::placeholder,
.question-form .contact-field textarea::placeholder {
    color: #999;
    text-transform: none;
    font-size: 15px;
    opacity: 1;
}

.question-form .contact-field input:focus,
.question-form .contact-field textarea:focus {
    border-color: #000 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

/* Иконки в полях */
.question-form .contact-field.c-name::after {
    content: "\f007";
}
.question-form .contact-field.c-phone::after {
    content: "\f095";
}
.question-form .contact-field.c-email::after {
    content: "\f0e0";
}
.question-form .contact-field.c-message::after {
    content: "\f303";
    top: 22px;
    bottom: unset;
}

.question-form .contact-field::after {
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    right: 20px;
    bottom: 15px;
    color: #999;
    font-size: 14px;
    display: block !important;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .question-form .contact-field::after {
        bottom: 12px;
    }
}

/* Политика конфиденциальности */
.question-modal .privacy-policy {
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

.question-modal .privacy-policy input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #000;
}

.question-modal .privacy-policy label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    color: #555;
    text-transform: none;
    font-size: 13px;
    line-height: 1.5;
}

.question-modal .privacy-policy label a {
    color: #000;
    text-decoration: underline;
}

/* Кнопка отправки */
.question-form .slider-btn {
    width: 100%;
}

.question-form .btn.ss-btn {
    background-color: #000;
    color: #fff;
    border-radius: 30px;
    padding: 18px 40px;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: auto;
    border: 2px solid #000;
}

.question-form .btn.ss-btn:hover {
    background: #fff;
    color: #000;
}

/* =========================================
   Адаптивность
   ========================================= */

@media (max-width: 991px) {
    .faq-area .section-title h2 {
        font-size: 36px !important;
    }
}

.faq-area .section-title p {
    width: 100%;
    margin: 0;
    margin-top: 15px;
    margin-bottom: 0;
    color: #555;
}

@media (max-width: 767px) {
    .question-modal {
        padding: 35px 25px;
        margin: 20px 15px;
        max-width: calc(100% - 30px);
    }

    .faq-area .section-title h2 {
        font-size: 30px !important;
    }

    .question-form .contact-field input {
        height: 50px !important;
    }

    .question-form .contact-field textarea {
        height: 120px !important;
    }
}

@media (max-width: 480px) {
    .faq-area .section-title h2 {
        font-size: 26px !important;
    }
}

.question-form .slider-btn {
    width: 100%;
}

/* =========================================
   Кастомные SVG-иконки соцсетей (ВК и MAX)
   ========================================= */

.footer-social-custom a svg {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* Центрирование SVG внутри круглой кнопки (аналог line-height для шрифтовых иконок) */
.footer-social-custom a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* Глобальная перекраска */

/* =========================================================
   ГЛОБАЛЬНАЯ ПАЛИТРА — тёплые пастельные тона
   ========================================================= */
:root {
    --bg:           #F1EAE0;  /* фон страницы */
    --bg-alt:       #E8DFD1;  /* альтернативный фон */
    --surface:      #FFFDF8;  /* карточки и поверхности */
    --surface-soft: #F6EFE4;  /* мягкие поверхности */
    --primary:      #fdc062;  /* акцент — терракота */
    --primary-dark: #fab242;  /* акцент темнее (hover) */
    --primary-soft: #fee9d9;  /* светлый тинт акцента */
    --ink:          #3D322A;  /* основной тёмный */
    --ink-soft:     #75685A;  /* вторичный текст */
    --border:       #DCD0BF;  /* границы */
    --border-soft:  #EAE0D2;  /* светлые границы */
}

/* ============ 1. БАЗА ============ */
body {
    background: var(--bg) !important;
    color: var(--ink) !important;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink) !important;
}

a, button {
    color: var(--ink);
}

::selection {
    background: var(--primary) !important;
    color: #fff !important;
}
::-moz-selection {
    background: var(--primary) !important;
    color: #fff !important;
}

/* Разделительные линии контейнеров */
.brd {
    position: relative;
    border-bottom-color: var(--border) !important;
}

/* Кнопка "наверх" */
#scrollUp {
    background: var(--primary) !important;
    color: #fff !important;
}
#scrollUp:hover {
    background: var(--surface) !important;
    color: var(--primary) !important;
}

/* ============ 2. КНОПКИ ============ */
.btn {
    background: var(--primary) !important;
    color: #fff !important;
}
.btn:hover {
    background: var(--primary-dark) !important;
    color: #fff !important;
}

.btn.ss-btn {
    background-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 2.5px 4.33px 15px 0px rgba(169, 105, 79, 0.25) !important;
}
.btn.ss-btn:hover {
    background: var(--surface) !important;
    color: var(--ink) !important;
}
.btn.ss-btn.active {
    background: var(--surface) !important;
    color: var(--ink) !important;
}

/* Кнопки в hero-блоке */
.hero-text-block .btn.ss-btn.active {
    background: transparent !important;
    border: 2px solid var(--primary) !important;
    color: var(--ink) !important;
}
.hero-text-block .btn.ss-btn.active:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* Кнопки в карточке консультации и в модалках */
.consultation-card .btn.ss-btn,
#modal-appointment .btn.ss-btn,
.question-form .btn.ss-btn {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
}
.consultation-card .btn.ss-btn:hover,
#modal-appointment .btn.ss-btn:hover,
.question-form .btn.ss-btn:hover {
    background: transparent !important;
    color: var(--ink) !important;
}

/* Кнопка "Показать ещё" */
#load-more-btn {
    border-color: var(--primary) !important;
    color: var(--ink) !important;
}
#load-more-btn:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

/* ============ 3. ШАПКА И МЕНЮ ============ */
.sticky-menu {
    background: rgba(241, 234, 224, 0.92) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(61, 50, 42, 0.08) !important;
}

.main-menu ul li a {
    color: var(--ink) !important;
}
.main-menu ul li:hover > a,
.main-menu ul li.active a {
    color: var(--primary) !important;
    text-decoration: underline;
}

/* Мобильное меню (meanmenu) */
.mean-container a.meanmenu-reveal span {
    border-top: 3px solid var(--ink) !important;
}
.mean-container .mean-nav {
    background: var(--surface) !important;
}
.mean-container .mean-nav ul li a {
    color: var(--ink) !important;
    border-top: 1px solid var(--border-soft) !important;
}
.mean-container .mean-nav ul li a:hover {
    color: var(--primary) !important;
    background: var(--surface-soft) !important;
}
.mean-container .mean-nav ul li a.mean-expand {
    color: var(--ink-soft) !important;
}

/* ============ 4. HERO-СЛАЙДЕР ============ */
.hero-subtitle {
    color: var(--ink-soft) !important;
}
.hero-subtitle::before {
    background: var(--primary) !important;
}
.hero-title {
    color: var(--ink) !important;
}
.hero-title span {
    color: var(--primary) !important;
}
.hero-features li {
    color: var(--ink) !important;
}
.hero-features li i {
    color: var(--primary) !important;
}
.hero-desc {
    color: var(--ink-soft) !important;
}

.slider-active .slick-dots li button {
    background: var(--border) !important;
}
.slider-active .slick-dots li.slick-active button {
    background: var(--primary) !important;
}

/* ============ 5. ЗАГОЛОВКИ СЕКЦИЙ ============ */
.section-title h5,
.issues-area .section-title h5,
.treatments-area .section-title h5,
.why-me-content .section-title h5,
.consultation-area .section-title h5,
.testimonial-area .section-title h5,
.faq-area .section-title h5,
#portfolio .section-title h5 {
    color: var(--primary) !important;
}

.section-title h2,
.issues-area .section-title h2,
.treatments-area .section-title h2,
.why-me-content .section-title h2,
.consultation-area .section-title h2,
.testimonial-area .section-title h2,
.faq-area .section-title h2,
#portfolio .section-title h2 {
    color: var(--ink) !important;
}

/* ============ 6. СЕКЦИЯ "С ЧЕМ ОБРАЩАЮТСЯ" ============ */
.issue-card {
    background: var(--surface) !important;
    border-color: var(--border-soft) !important;
}
.issue-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0px 16px 32px rgba(61, 50, 42, 0.10) !important;
}
.issue-number {
    color: #D9CBB6 !important;
}
.issue-card:hover .issue-number {
    color: var(--primary) !important;
}
.issue-title {
    color: var(--ink) !important;
}
.issue-topic {
    color: var(--ink) !important;
    border-top-color: var(--border-soft) !important;
}

/* ============ 7. СЕКЦИЯ "ЧТО МЫ ЛЕЧИМ" ============ */
.treatment-tag {
    background: var(--surface) !important;
    border-color: var(--border) !important;
    color: var(--ink) !important;
}
.treatment-tag:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(169, 105, 79, 0.25) !important;
}
.tag-arrow {
    color: #B4A390;
}

/* ============ 8. МОДАЛКИ ДИАГНОЗОВ И ОБЩИЕ МОДАЛКИ ============ */
.white-popup-block {
    background: var(--surface) !important;
}
.white-popup-block .mfp-close {
    color: var(--ink) !important;
}
.white-popup-block .mfp-close:hover {
    color: var(--primary) !important;
}

.treatment-header {
    border-bottom-color: var(--border-soft) !important;
}
.treatment-header h3 {
    color: var(--ink) !important;
}
.treatment-subtitle {
    color: var(--primary) !important;
}
.treatment-content p {
    color: var(--ink-soft) !important;
}
.treatment-list li {
    color: var(--ink) !important;
}
.treatment-list li i {
    color: var(--primary) !important;
}
.treatment-result {
    background: var(--surface-soft) !important;
    border-left-color: var(--primary) !important;
}
.treatment-result h4 {
    color: var(--ink) !important;
}
.treatment-result p {
    color: var(--ink-soft) !important;
}

/* Затемнение фона под модалкой — тёплый тёмный */
.mfp-bg {
    background: #33291F !important;
}

/* Модалка записи */
.modal-subtitle {
    color: var(--primary) !important;
}
.modal-title {
    color: var(--ink) !important;
}
.modal-description {
    color: var(--ink-soft) !important;
}

/* Поля форм в модалках */
#modal-appointment .contact-field input,
.question-form .contact-field input,
.question-form .contact-field textarea {
    border-color: var(--border) !important;
    background: #fff !important;
}
#modal-appointment .contact-field input:focus,
.question-form .contact-field input:focus,
.question-form .contact-field textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(169, 105, 79, 0.12) !important;
}

/* Чекбоксы и ссылки в модалках */
#modal-appointment .privacy-policy input[type="checkbox"],
.question-modal .privacy-policy input[type="checkbox"] {
    accent-color: var(--primary) !important;
}
#modal-appointment .privacy-policy label a,
.question-modal .privacy-policy label a {
    color: var(--primary) !important;
}

/* ============ 9. СЕКЦИЯ "ПОЧЕМУ ОБРАЩАЮТСЯ КО МНЕ" ============ */
.why-me-img img {
    box-shadow: 0px 20px 40px rgba(61, 50, 42, 0.12) !important;
}
.experience-badge {
    background: var(--primary) !important;
}
.exp-number,
.exp-text {
    color: #fff !important;
}
.feature-item {
    border-bottom-color: var(--border-soft) !important;
}
.feature-icon {
    background: var(--primary-soft) !important;
}
.feature-icon i {
    color: var(--primary) !important;
}
.feature-item:hover .feature-icon {
    background: var(--primary) !important;
}
.feature-item:hover .feature-icon i {
    color: #fff !important;
}
.feature-text h4 {
    color: var(--ink) !important;
}
.feature-text p {
    color: var(--ink-soft) !important;
}

/* ============ 10. ГАЛЕРЕЯ ДИПЛОМОВ ============ */
#portfolio .button-group button {
    background: var(--surface) !important;
    color: var(--ink) !important;
}
#portfolio .button-group button:hover {
    color: var(--primary) !important;
}
#portfolio .button-group button.active {
    background: var(--primary) !important;
    color: #fff !important;
    box-shadow: inset 0 -2px 0 var(--primary-dark) !important;
}
.diploma-card {
    background: var(--surface) !important;
    box-shadow: 0px 8px 24px rgba(61, 50, 42, 0.06) !important;
}
.diploma-card:hover {
    box-shadow: 0px 16px 40px rgba(61, 50, 42, 0.12) !important;
}
.diploma-title h4 {
    color: var(--ink) !important;
}

/* ============ 11. СЕКЦИЯ "КОНСУЛЬТАЦИЯ И СТОИМОСТЬ" ============ */
.consultation-card {
    background: var(--surface) !important;
    border-color: var(--border-soft) !important;
}
.consultation-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0px 16px 40px rgba(61, 50, 42, 0.10) !important;
}
.card-header {
    border-bottom-color: var(--border-soft) !important;
}
.card-tag {
    color: var(--primary) !important;
}
.card-title {
    color: var(--ink) !important;
}
.card-duration {
    color: var(--ink-soft) !important;
}
.card-duration i {
    color: var(--primary) !important;
}
.card-desc {
    color: var(--ink-soft) !important;
}
.service-item {
    border-bottom-color: var(--border-soft) !important;
}
.service-info h4 {
    color: var(--ink) !important;
}
.service-info p {
    color: var(--ink-soft) !important;
}
.service-price {
    color: var(--primary) !important;
}

.process-card {
    background: var(--surface-soft) !important;
}
.process-title {
    color: var(--ink) !important;
}
.process-subtitle {
    color: var(--ink-soft) !important;
}
.timeline-marker {
    background: var(--primary) !important;
}
.timeline-item:not(:last-child) .timeline-marker::after {
    background: var(--border) !important;
}
.timeline-content h5 {
    color: var(--ink) !important;
}
.timeline-content p {
    color: var(--ink-soft) !important;
}
.format-info {
    border-top-color: var(--border) !important;
}
.format-title {
    color: var(--ink) !important;
}
.format-list li {
    color: var(--ink-soft) !important;
}
.format-list li i {
    color: var(--primary) !important;
}
.format-list li strong {
    color: var(--ink) !important;
}

/* ============ 12. ОТЗЫВЫ ============ */
.review-card {
    background: var(--surface) !important;
    border-color: var(--border-soft) !important;
}
.review-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0px 16px 40px rgba(61, 50, 42, 0.10) !important;
}
.review-icon {
    background: var(--primary-soft) !important;
}
.review-icon i {
    color: var(--primary) !important;
}
.review-card:hover .review-icon {
    background: var(--primary) !important;
}
.review-card:hover .review-icon i {
    color: #fff !important;
}
.review-text {
    color: var(--ink-soft) !important;
}
.review-name {
    color: var(--ink) !important;
    border-top-color: var(--border-soft) !important;
}
.testimonial-slider .slick-arrow {
    background: var(--surface) !important;
    border-color: var(--border) !important;
}
.testimonial-slider .slick-arrow i {
    color: var(--ink) !important;
}
.testimonial-slider .slick-arrow:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}
.testimonial-slider .slick-arrow:hover i {
    color: #fff !important;
}

/* ============ 13. FAQ ============ */
.faq-wrap .card {
    border-color: var(--border) !important;
}
.faq-btn,
.faq-btn.collapsed {
    color: var(--ink) !important;
    border-bottom-color: var(--border) !important;
}
.faq-btn:hover {
    color: var(--primary) !important;
}
.faq-wrap .card-header h2 button::after {
    color: var(--primary) !important;
}
.faq-wrap .card-header h2 button.collapsed::after {
    color: var(--ink-soft) !important;
}
.faq-wrap .card-body {
    color: var(--ink-soft) !important;
}

/* ============ 14. ФУТЕР ============ */
.footer-widget {
    background: var(--surface) !important;
    border: 1px solid var(--border-soft);
}
.f-widget-title h2 {
    color: var(--ink) !important;
}
.f-contact li {
    color: var(--ink) !important;
    border-left-color: var(--border) !important;
}
.f-contact a {
    color: var(--primary) !important;
}
.f-contact a:hover {
    color: var(--primary-dark) !important;
}
.f-contact .footer-social a {
    background: var(--surface-soft) !important;
    color: var(--ink) !important;
}
.f-contact .footer-social a:hover {
    background: var(--primary) !important;
    color: #fff !important;
}
.copyright-wrap {
    background: var(--surface) !important;
    color: var(--ink) !important;
}
.copyright-wrap a {
    color: var(--ink) !important;
}
.copyright-wrap a:hover {
    color: var(--primary) !important;
}

.input-error {
    font-size: 13px;
    color: #ff4343;
}
.contact-field .input-error {
    position: absolute;
    left: 0;
    bottom: -20px;
}
.contact-field.c-message .input-error {
    bottom: -12px;
}
.privacy-policy {
    flex-wrap: wrap;
}
#privacy-checkbox-q ~ label {
    width: 90%;
}
#privacy-checkbox-q ~ .input-error {
    display: none;
}
#privacy-checkbox-q.is-invalid ~ .input-error {
    display: block;
    width: 100%;
}

.notyf {
    z-index: 99999 !important;
}

/* =========================================
   БЛОГ: Шаблон статьи
   ========================================= */

/* ---------- Хлебные крошки ---------- */
.blog-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-soft);
}
.blog-breadcrumbs a {
    color: var(--ink-soft);
    transition: color 0.3s ease;
}
.blog-breadcrumbs a:hover {
    color: var(--primary);
}
.blog-breadcrumbs .crumb-sep {
    margin: 0 10px;
    color: var(--primary);
    font-size: 12px;
}
.blog-breadcrumbs .crumb-current {
    color: var(--ink);
    font-weight: 500;
}

/* ---------- Шапка статьи ---------- */
.blog-article-header {
    max-width: 880px;
}
.blog-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-soft);
    color: var(--ink);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}
.blog-category-tag:hover {
    background: var(--primary);
    color: #fff;
}
.blog-category-tag i {
    font-size: 12px;
}
.blog-article-title {
    font-family: 'Oswald', sans-serif;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 24px;
}
.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: var(--ink-soft);
}
.blog-article-meta .meta-item i {
    color: var(--primary);
    margin-right: 8px;
}

/* ---------- Обложка и лид ---------- */
.blog-article-cover {
    margin: 0 0 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(61, 50, 42, 0.10);
}
.blog-article-cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 540px;
    object-fit: cover;
}
.blog-article-lead {
    font-family: 'Roboto', sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--ink);
    padding-left: 22px;
    border-left: 3px solid var(--primary);
    margin-bottom: 30px;
}

/* ---------- Типографика текста статьи ---------- */
.blog-article-body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: var(--ink-soft);
}
.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    font-family: 'Oswald', sans-serif;
    color: var(--ink);
    text-transform: uppercase;
    line-height: 1.3;
}
.blog-article-body h2 {
    font-size: 30px;
    margin: 45px 0 22px;
    position: relative;
    padding-bottom: 14px;
}
.blog-article-body h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55px;
    height: 3px;
    background: var(--primary);
}
.blog-article-body h3 {
    font-size: 23px;
    margin: 35px 0 18px;
}
.blog-article-body h4 {
    font-size: 18px;
    margin: 28px 0 14px;
}
.blog-article-body p {
    margin-bottom: 20px;
}
.blog-article-body a:not(.btn) {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}
.blog-article-body a:not(.btn):hover {
    color: var(--primary-dark);
}
.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 25px 0;
}
.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 25px;
    padding: 0;
}
.blog-article-body ul li,
.blog-article-body ol li {
    position: relative;
    margin-bottom: 12px;
    color: var(--ink);
}
.blog-article-body ul li {
    list-style: none;
    padding-left: 30px;
}
.blog-article-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-size: 15px;
}
.blog-article-body ol {
    counter-reset: article-list;
    list-style: none;
}
.blog-article-body ol li {
    counter-increment: article-list;
    padding-left: 42px;
}
.blog-article-body ol li::before {
    content: counter(article-list, decimal-leading-zero);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-size: 16px;
}
.blog-article-body blockquote {
    position: relative;
    background: var(--surface-soft);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 30px 35px 30px 80px;
    margin: 32px 0;
    font-size: 17px;
    font-style: italic;
    color: var(--ink);
    line-height: 1.75;
}
.blog-article-body blockquote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Pro';
    font-weight: 900;
    position: absolute;
    left: 30px;
    top: 28px;
    font-size: 26px;
    color: var(--primary);
    font-style: normal;
}
.blog-article-body blockquote p {
    margin-bottom: 0;
}
.blog-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    background: var(--surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(61, 50, 42, 0.06);
}
.blog-article-body table th,
.blog-article-body table td {
    padding: 14px 18px;
    border: 1px solid var(--border-soft);
    text-align: left;
    font-size: 15px;
}
.blog-article-body table th {
    background: var(--surface-soft);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--ink);
}
.blog-article-body hr {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 40px 0;
}

/* ---------- Теги ---------- */
.blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
}
.blog-article-tags .tags-label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink);
    margin-right: 8px;
}
.blog-article-tags .tags-label i {
    color: var(--primary);
    margin-right: 8px;
}
.blog-tag {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 7px 16px;
}

/* ---------- Поделиться ---------- */
.blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
.blog-share .share-label {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ink);
    margin-right: 8px;
}
.blog-share .share-label i {
    color: var(--primary);
    margin-right: 8px;
}
.share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--ink);
    font-size: 17px;
    transition: all 0.3s ease;
}
.share-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(169, 105, 79, 0.25);
}
.share-link svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

/* ---------- Сайдбар ---------- */
.blog-sidebar {
    position: relative;
}
@media (min-width: 992px) {
    .blog-sidebar {
        position: sticky;
        top: 110px;
    }
}
.sidebar-widget {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 32px 28px;
    margin-bottom: 30px;
}
.sidebar-widget:last-child {
    margin-bottom: 0;
}
.sidebar-widget-title {
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-soft);
    position: relative;
}
.sidebar-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 45px;
    height: 2px;
    background: var(--primary);
}

/* Виджет: автор */
.author-widget .author-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 4px solid var(--primary-soft);
    box-shadow: 0 10px 25px rgba(61, 50, 42, 0.12);
}
.author-widget .author-name {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 10px;
}
.author-widget .author-desc {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin-bottom: 22px;
}
.author-widget .btn.ss-btn {
    width: 100%;
    text-align: center;
    padding: 14px 25px;
    font-size: 13px;
}

/* Виджет: последние статьи */
.recent-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-soft);
}
.recent-post-item:first-of-type {
    padding-top: 0;
}
.recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.recent-post-img {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 10px;
    background-color: var(--surface-soft);
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.recent-post-item:hover .recent-post-img {
    transform: scale(1.05);
}
.recent-post-info {
    display: block;
}
.recent-post-title {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ink);
    margin-bottom: 5px;
    transition: color 0.3s ease;
}
.recent-post-item:hover .recent-post-title {
    color: var(--primary);
}
.recent-post-date {
    display: block;
    font-size: 12px;
    color: var(--ink-soft);
}
.recent-post-date i {
    color: var(--primary);
    margin-right: 6px;
}

/* Виджет: запись (CTA) */
.cta-widget {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}
.cta-widget .cta-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(253, 192, 98, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.cta-widget .cta-icon i {
    font-size: 26px;
    color: var(--primary);
}
.cta-widget h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 21px;
    text-transform: uppercase;
    color: #fff !important;
    margin-bottom: 12px;
}
.cta-widget p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 24px;
}

/* ---------- Карточки «Читайте также» ---------- */
.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.35s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 18px 40px rgba(61, 50, 42, 0.12);
}
.blog-card-img {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: var(--surface-soft);
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.07);
}
.blog-card-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--border);
    font-size: 46px;
}
.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 30px;
}
.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px;
}
.blog-card-date {
    font-size: 12px;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.blog-card-date i {
    color: var(--primary);
    margin-right: 7px;
}
.blog-card-title {
    font-family: 'Oswald', sans-serif;
    font-size: 19px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 14px;
}
.blog-card-title a {
    color: var(--ink);
    transition: color 0.3s ease;
}
.blog-card-title a:hover {
    color: var(--primary);
}
.blog-card-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-top: auto;
}
.blog-card-more i {
    transition: transform 0.3s ease;
}
.blog-card-more:hover i {
    transform: translateX(6px);
}

/* ---------- CTA-баннер под статьёй ---------- */
.blog-cta-box {
    position: relative;
    background: var(--surface);
    border: 2px solid var(--border-soft);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
}
.blog-cta-box::before,
.blog-cta-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--primary-soft);
    z-index: 0;
}
.blog-cta-box::before {
    width: 220px;
    height: 220px;
    top: -110px;
    left: -80px;
}
.blog-cta-box::after {
    width: 260px;
    height: 260px;
    bottom: -130px;
    right: -90px;
}
.blog-cta-box > * {
    position: relative;
    z-index: 1;
}
.blog-cta-title {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 16px;
}
.blog-cta-text {
    max-width: 620px;
    margin: 0 auto 30px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
}

/* ---------- Адаптивность ---------- */
@media (max-width: 991px) {
    .blog-article-title {
        font-size: 40px;
    }
    .blog-sidebar {
        margin-top: 50px;
    }
    .blog-article-body h2 {
        font-size: 26px;
    }
    .blog-article-body h3 {
        font-size: 20px;
    }
    .blog-cta-title {
        font-size: 32px;
    }
}
@media (max-width: 767px) {
    .blog-article .container {
        padding-top: 90px !important;
        padding-bottom: 60px !important;
    }
    .blog-article-title {
        font-size: 32px;
    }
    .blog-article-meta {
        gap: 8px 20px;
        font-size: 13px;
    }
    .blog-article-cover img {
        max-height: 380px;
    }
    .blog-article-lead {
        font-size: 17px;
    }
    .blog-article-body {
        font-size: 15px;
    }
    .blog-article-body blockquote {
        padding: 25px 25px 25px 65px;
    }
    .blog-article-body blockquote::before {
        left: 22px;
        font-size: 22px;
    }
    .blog-cta-box {
        padding: 45px 25px;
    }
    .blog-cta-title {
        font-size: 26px;
    }
}
@media (max-width: 480px) {
    .blog-article-title {
        font-size: 27px;
    }
    .blog-article-body h2 {
        font-size: 23px;
    }
}