/*
Theme Name: Medhh
Template: reboot
*/

/* ================================================================
   КОНТАКТЫ В ШАПКЕ
   ================================================================ */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
    padding: 0 15px;
    flex-shrink: 0;
}

.header-phone {
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.95rem;
    white-space: nowrap;
}

.header-phone i {
    color: #2563eb;
    margin-right: 5px;
}

.header-socials {
    display: flex;
    gap: 8px;
}

.header-socials .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #2563eb;
    transition: all 0.3s ease;
    text-decoration: none;
}

.header-socials .social-link:hover {
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .header-contacts {
        margin-left: 0;
        padding: 10px 0;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        order: 10;
    }
}

@media (max-width: 768px) {
    .header-contacts {
        gap: 12px;
    }
    .header-phone {
        font-size: 0.85rem;
    }
    .header-socials .social-link {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
}

/* Стили для иконок в шапке */
.header-socials .social-link img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

/* На мобильных иконки чуть меньше */
@media (max-width: 768px) {
    .header-socials .social-link img {
        width: 16px;
        height: 16px;
    }
}

/* Убираем подчеркивание у логотипа */
.site-logotype a,
.site-logotype a:hover,
.site-logotype a:visited,
.site-logotype a:active,
.site-logotype a:focus {
    text-decoration: none;
    border-bottom: 0;
}

//* ================================================================
   МЕНЮ В ШАПКЕ (горизонтальное, без тени)
   ================================================================ */

/* ----- Основное меню ----- */
#site-navigation .main-navigation ul.menu,
.main-navigation ul.menu {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

#site-navigation .main-navigation ul.menu > li,
.main-navigation ul.menu > li {
    position: relative;
    display: inline-block;
}

/* Стили для ссылок И для span (активный пункт) */
#site-navigation .main-navigation ul.menu > li > a,
.main-navigation ul.menu > li > a,
#site-navigation .main-navigation ul.menu > li > span.removed-link,
.main-navigation ul.menu > li > span.removed-link {
    display: block;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1e293b;
    transition: all 0.3s ease;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

/* ----- Наведение для ссылок И для span ----- */
#site-navigation .main-navigation ul.menu > li > a:hover,
.main-navigation ul.menu > li > a:hover,
#site-navigation .main-navigation ul.menu > li > span.removed-link:hover,
.main-navigation ul.menu > li > span.removed-link:hover {
    background: #2563eb;
    color: #ffffff;
    border-radius: 30px;
}

/* ----- АКТИВНЫЙ ПУНКТ (синяя плашка для a и span) ----- */
#site-navigation .main-navigation ul.menu > li.current-menu-item > a,
.main-navigation ul.menu > li.current-menu-item > a,
#site-navigation .main-navigation ul.menu > li.current-menu-item > span.removed-link,
.main-navigation ul.menu > li.current-menu-item > span.removed-link,
#site-navigation .main-navigation ul.menu > li.current-menu-parent > a,
.main-navigation ul.menu > li.current-menu-parent > a,
#site-navigation .main-navigation ul.menu > li.current-page-ancestor > a,
.main-navigation ul.menu > li.current-page-ancestor > a {
    background: #2563eb;
    color: #ffffff;
    border-radius: 30px;
    font-weight: 500;
}

/* Убираем подчеркивания и лишние эффекты */
#site-navigation .main-navigation ul.menu > li.current-menu-item > a::before,
#site-navigation .main-navigation ul.menu > li.current-menu-item > a::after,
.main-navigation ul.menu > li.current-menu-item > a::before,
.main-navigation ul.menu > li.current-menu-item > a::after,
#site-navigation .main-navigation ul.menu > li.current-menu-item > span.removed-link::before,
#site-navigation .main-navigation ul.menu > li.current-menu-item > span.removed-link::after {
    display: none;
    content: none;
}

/* ----- Подменю ----- */
#site-navigation .main-navigation ul.sub-menu,
.main-navigation ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px 0;
    min-width: 220px;
    border: 1px solid #f1f5f9;
    list-style: none;
    margin: 5px 0 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

#site-navigation .main-navigation ul.menu > li:hover > ul.sub-menu,
.main-navigation ul.menu > li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#site-navigation .main-navigation ul.sub-menu li a,
.main-navigation ul.sub-menu li a {
    display: block;
    padding: 8px 24px;
    color: #475569;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
    background: transparent;
}

#site-navigation .main-navigation ul.sub-menu li a:hover,
.main-navigation ul.sub-menu li a:hover {
    background: #f8fafc;
    color: #2563eb;
    border-left-color: #2563eb;
}

#site-navigation .main-navigation ul.sub-menu li.current-menu-item a,
.main-navigation ul.sub-menu li.current-menu-item a {
    color: #2563eb;
    border-left-color: #2563eb;
    background: #f8fafc;
}

/* ----- Иконки в меню (если есть) ----- */
#site-navigation .main-navigation ul.menu i,
.main-navigation ul.menu i {
    margin-right: 8px;
    color: #2563eb;
    font-size: 0.9rem;
}

/* ================================================================
   СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ
   ================================================================ */

/* ================================================================
   ОБЩИЕ СТИЛИ
   ================================================================ */
.section-china {
    padding: 30px 0;
}
.section-china--white {
    background: #ffffff;
}
/* .section-china--light {
    background: #f0f7ff;
} */
.section-china-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}
.text-center {
    text-align: center;
}

/* Убираем лишние отступы у p внутри секций */
.section-china p {
    margin: 0 0 10px 0;
}
.section-china p:last-child {
    margin-bottom: 0;
}

/* ================================================================
   КНОПКИ (ГОЛУБОЙ)
   ================================================================ */
.btn-china {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
    line-height: 1.2;
}
.btn-china:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}
.btn-china-sm {
    padding: 10px 28px;
    font-size: 0.9rem;
}

.btn-china-white {
    display: inline-block;
    background: #ffffff;
    color: #2563eb;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    line-height: 1.2;
}
.btn-china-white:hover {
    background: transparent;
    color: #ffffff;
}

/* ================================================================
   ГЕРОЙ БЛОК (фото справа)
   ================================================================ */
.hero-china {
    padding: 30px 0 80px;
}
.hero-grid {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.hero-content {
    flex: 1 1 45%;
}
.hero-content h1 {
    margin: 0 0 20px 0;
    line-height: 1.2;
}
.hero-content h1 .highlight {
    color: #2563eb;
    position: relative;
}

.hero-subtitle {
    margin: 0 0 30px 0;
    font-size: 1.2rem;
    color: #475569;
    line-height: 1.7;
}
.hero-buttons {
    margin: 0;
}
.hero-buttons .btn-china {
    margin: 0;
}
.hero-image {
    flex: 1 1 50%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.2);
}
.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: block;
    object-fit: cover;
}

/* ================================================================
   ПРЕИМУЩЕСТВА 
   ================================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.feature-card {
    background: #f8fafc;
    padding: 35px 25px;
    border-radius: 24px;
    text-align: center;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
}
.feature-card i {
    font-size: 2.5rem;
    color: #2563eb;
    margin-bottom: 15px;
    display: block;
}
.feature-card h4 {
    font-size: 1.15rem;
    margin: 0 0 10px 0;
    color: #1e293b;
}
.feature-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}
.feature-card:hover {
    transform: translateY(-6px);
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 15px 35px -12px rgba(37, 99, 235, 0.15);
}

/* ================================================================
   ВИДЕО БЛОК 
   ================================================================ */
.video-section .row {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.video-section .col-lg-6:first-child {
    flex: 1 1 35%;
}
.video-section .col-lg-6:last-child {
    flex: 1 1 60%;
}
.video-section .col-lg-6 p {
    margin: 0 0 12px 0;
}
.video-section .col-lg-6 p:last-child {
    margin-bottom: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.2);
    background: #dbeafe;
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ================================================================
   ЭТАПЫ 
   ================================================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 35px;
}
.step-card {
    background: #f1f5f9;
    padding: 40px 25px;
    border-radius: 28px;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.step-card:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}
.step-number {
    display: inline-block;
    background: #2563eb;
    color: #fff;
    width: 56px;
    height: 56px;
    line-height: 56px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    flex-shrink: 0;
}
.step-number.green {
    background: #059669;
}
.step-number.purple {
    background: #7c3aed;
}
.step-card h4 {
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    color: #1e293b;
    min-height: 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.step-card .step-subtitle {
    display: block;
    font-size: 0.7rem;
    color: #2563eb;
    margin-top: 2px;
}
.step-card .step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.step-card strong {
    color: #2563eb;
}
.step-card p {
    margin: 6px 0;
    color: #475569;
    line-height: 1.6;
}
.step-card br {
    display: none;
}
.step-card .step-text {
    display: block;
    margin: 4px 0;
}

/* ================================================================
   СЛАЙДЕР КЛИНИК
   ================================================================ */
.clinics-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    overflow: hidden;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 15px 40px -12px rgba(37, 99, 235, 0.1);
}
.clinics-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.clinic-slide {
    flex: 0 0 100%;
    min-height: 320px;
}
.clinic-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    min-height: 340px;
}

/* ----- ИЗОБРАЖЕНИЕ (РОДИТЕЛЬ ДЛЯ СТРЕЛОК) ----- */
.clinic-image {
    flex: 1 1 45%;
    min-height: 320px;
    max-height: 350px;
    background: #dbeafe;
    overflow: hidden;
    position: relative;
}
.clinic-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

.clinic-body {
    flex: 1 1 55%;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.clinic-body h3 {
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    color: #0b2b24;
}

/* ----- АДРЕС (ИКОНКА СБОКУ НА ПК) ----- */
.clinic-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
    margin: 0 0 15px 0;
}
.clinic-location i {
    color: #2563eb;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.clinic-desc {
    color: #334155;
    margin: 0 0 18px 0;
    line-height: 1.7;
    font-size: 0.95rem;
}
.clinic-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 0;
    font-size: 0.9rem;
}
.clinic-features span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.clinic-features i {
    color: #10b981;
}

/* ================================================================
   СТРЕЛКИ (ПО ЦЕНТРУ ИЗОБРАЖЕНИЯ НА ПК)
   ================================================================ */
.slider-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    pointer-events: none;
    z-index: 10;
}
.slider-nav button {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-nav button i {
    font-size: 1.1rem;
    color: #2563eb;
    transition: all 0.3s ease;
}
.slider-nav button:hover {
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}
.slider-nav button:hover i {
    color: #ffffff;
}
.slider-nav button:active {
    transform: scale(0.95);
}

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

/* ================================================================
   КНОПКА "ВСЕ КЛИНИКИ" ПОД СЛАЙДЕРОМ
   ================================================================ */
.text-center .btn-china,
.text-center .btn-china:link,
.text-center .btn-china:visited {
    color: #ffffff;
    background: #2563eb;
}
.text-center .btn-china:hover,
.text-center .btn-china:active,
.text-center .btn-china:focus {
    color: #ffffff;
    background: #1d4ed8;
}

/* ================================================================
   ОТЗЫВЫ 
   ================================================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 30px;
}
.review-card {
    background: #f8fafc;
    padding: 30px 28px;
    border-radius: 28px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    border-color: #b9d9d2;
    background: #ffffff;
}
.stars {
    color: #fbbf24;
    font-size: 1.3rem;
    letter-spacing: 3px;
    margin: 0 0 12px 0;
    flex-shrink: 0;
    line-height: 1;
}
.review-text {
    font-style: italic;
    color: #334155;
    margin: 0 0 18px 0;
    line-height: 1.7;
    flex: 1;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    flex-shrink: 0;
}
.avatar {
    background: #2563eb;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.name {
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}
.city {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

/* ================================================================
   ФОРМА CTA 
   ================================================================ */
.cta-china {
    background: #2563eb;
    padding: 60px 50px;
    border-radius: 40px;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.4);
    max-width: 1100px;
    margin: 0 auto;
}
.cta-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.cta-text {
    flex: 1 1 35%;
    min-width: 250px;
    text-align: center;
}
.cta-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 15px 0;
}
.cta-text .cta-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
}
.cta-form {
    flex: 1 1 55%;
    min-width: 280px;
}
.cta-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}
.cta-form .form-group {
    flex: 1 1 180px;
}
.cta-form .form-group label {
    display: block;
    font-size: 0.9rem;
    margin: 0 0 6px 0;
    color: #dbeafe;
}
.cta-form .form-control {
    width: 100%;
    padding: 12px 18px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.cta-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.cta-form .form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    border-color: #fcd34d;
}
.cta-form .btn-group {
    flex: 1 1 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.cta-form .btn-china-white {
    display: inline-block;
    background: #ffffff;
    color: #2563eb;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    text-align: center;
    max-width: 300px;
    box-sizing: border-box;
}
.cta-form .btn-china-white:hover {
    background: transparent;
    color: #ffffff;
}
.cta-form .form-check {
    margin-top: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.cta-form .form-check input[type="checkbox"] {
    accent-color: #fcd34d;
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}
.cta-form .form-check label {
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}
.cta-form .form-text {
    font-size: 0.85rem;
    opacity: 0.75;
    margin: 8px 0 0 0;
    text-align: center;
}

/* Стили для сообщений формы на главной */
.form-message {
    display: none;
    padding: 12px 20px;
    margin-top: 15px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Стили для кнопки в состоянии загрузки */
.btn-china-white:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.fa-spinner {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ================================================================
   АДАПТИВНОСТЬ (ВСЕ В ОДНОМ БЛОКЕ)
   ================================================================ */

/* Планшеты (до 992px) */
@media (max-width: 992px) {
    .features-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Телефоны (до 768px) */
@media (max-width: 768px) {
    /* Общие */
    .section-china {
        padding: 30px 0;
    }
    .step-card {
        padding: 30px 20px;
    }
    .features-grid,
    .steps-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Герой */
    .hero-grid {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }
    .hero-content {
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
    }
    .hero-image {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .hero-image img {
        min-height: 200px;
        width: 100%;
    }
    .hero-buttons {
        text-align: center;
    }

    /* Видео */
    .video-section .row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .video-section .col-lg-6:first-child,
    .video-section .col-lg-6:last-child {
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
    }
    .video-wrapper {
        max-width: 100%;
        margin: 0 auto;
    }

    /* Слайдер */
    .slider-nav {
        align-items: flex-start;
        padding: 90px 10px 0 10px;
    }
    .slider-nav button {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.9);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    }
    .slider-nav button i {
        font-size: 0.9rem;
    }

    .clinic-location {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 4px;
    }
    .clinic-location i {
        font-size: 1.1rem;
        margin-bottom: 2px;
    }

    .clinic-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .clinic-image {
        flex: 1 1 100%;
        min-height: 200px;
        max-height: 220px;
        width: 100%;
    }
    .clinic-image img {
        min-height: 200px;
        max-height: 220px;
        width: 100%;
    }
    .clinic-body {
        flex: 1 1 100%;
        padding: 25px 20px;
        align-items: center;
        text-align: center;
    }
    .clinic-body h3 {
        font-size: 1.4rem;
    }
    .clinic-features {
        justify-content: center;
    }
    .clinic-features span {
        justify-content: center;
    }

    /* Форма CTA */
    .cta-china {
        padding: 30px 20px;
        border-radius: 30px;
    }
    .cta-grid {
        flex-direction: column;
    }
    .cta-text {
        flex: 1 1 100%;
    }
    .cta-form {
        flex: 1 1 100%;
    }
    .cta-text h2 {
        font-size: 1.8rem;
    }
    .cta-form .form-row {
        flex-direction: column;
    }
    .cta-form .form-group {
        flex: 1 1 100%;
    }
    .cta-form .btn-china-white {
        max-width: 100%;
    }
}

/* ================================================================
   СТРАНИЦА "НАПРАВЛЕНИЯ МЕДИЦИНЫ"
   ================================================================ */

.directions-page {
    padding: 30px 0;
}

/* --- Вступление --- */
.directions-page .intro-text {
    max-width: 900px;
    margin: 0 0 40px 0;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
}

.directions-page .intro-text strong {
    color: #1e293b;
}

.directions-page .intro-text a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.directions-page .intro-text a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* --- Сетка карточек --- */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* --- Карточка направления --- */
.direction-card {
    background: #fafafa;
    border-radius: 24px;
    padding: 30px 25px 25px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.direction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -12px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

/* --- Изображение (круглое, по центру) --- */
.direction-card .direction-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px auto;
    flex-shrink: 0;
    border: 4px solid #e2e8f0;
    transition: border-color 0.3s ease;
}

.direction-card:hover .direction-image {
    border-color: #2563eb;
}

.direction-card .direction-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Заголовок (ПО ЦЕНТРУ!) --- */
.direction-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 auto 10px auto;
    text-align: center;
}

/* --- Описание (по левому краю) --- */
.direction-card .direction-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: left;
}

/* --- Список заболеваний (SVG-стрелка, ровно по центру) --- */
.direction-card .direction-list {
    width: 100%;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.direction-card .direction-list li {
    padding: 3px 0 3px 18px;
    font-size: 0.9rem;
    color: #334155;
    text-align: left;
    line-height: 1.6;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") left center no-repeat;
    background-size: 12px 12px;
}

.direction-card .direction-list li a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.direction-card .direction-list li a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

@media (max-width: 992px) {
    .directions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .directions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .direction-card .direction-image {
        width: 130px;
        height: 130px;
    }

    .direction-card h3 {
        font-size: 1.1rem;
    }

    .directions-page .intro-text {
        font-size: 1rem;
        padding: 0 15px;
    }
}

/* ================================================================
   СТРАНИЦА "КЛИНИКИ"
   ================================================================ */

.clinics-page {
    padding: 20px 0 60px;
}

.clinics-page-header {
    text-align: left;
    margin-bottom: 40px;
}

.clinics-page-subtitle {
    font-size: 1.05rem;
    color: #475569;
    max-width: 100%;
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

.clinics-page-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.clinics-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.clinics-page-item {
    display: flex;
}

.clinics-page-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.clinics-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.clinics-page-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #dbeafe;
    flex-shrink: 0;
}

.clinics-page-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.clinics-page-card:hover .clinics-page-card-image img {
    transform: scale(1.03);
}

.clinics-page-card-body {
    padding: 25px 25px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.clinics-page-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
    min-height: 4.8rem;
    display: flex;
    align-items: flex-start;
}

.clinics-page-card-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #64748b;
    font-size: 0.85rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.clinics-page-card-location i {
    color: #2563eb;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.clinics-page-card-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
}

.clinics-page-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0 0 18px 0;
}

.clinics-page-card-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #334155;
}

.clinics-page-card-features i {
    color: #10b981;
    font-size: 0.9rem;
}

/* --- Кнопка по центру на всех устройствах (всегда БЕЛАЯ) --- */
.clinics-page-card-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important; /* Принудительно белый текст */
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    align-self: center;
    font-size: 0.9rem;
    margin-top: auto;
}

.clinics-page-card-btn:hover,
.clinics-page-card-btn:focus,
.clinics-page-card-btn:active {
    background: #1d4ed8;
    transform: translateY(-2px);
    color: #ffffff !important; /* Белый текст при наведении */
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

@media (max-width: 992px) {
    .clinics-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .clinics-page {
        padding: 20px 0 40px;
    }

    .clinics-page-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .clinics-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .clinics-page-card-image {
        height: 180px;
    }

    .clinics-page-card-body {
        padding: 20px;
    }

    .clinics-page-card-title {
        font-size: 1.1rem;
        min-height: 3.8rem;
    }

    .clinics-page-card-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ================================================================
   СТРАНИЦА "ГОСТИНИЦЫ"
   ================================================================ */

.hotels-page {
    padding: 20px 0 60px;
}

.hotels-page-header {
    text-align: left;
    margin-bottom: 40px;
}

.hotels-page-subtitle {
    font-size: 1.05rem;
    color: #475569;
    max-width: 100%;
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

.hotels-page-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.hotels-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.hotels-page-item {
    display: flex;
}

.hotels-page-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hotels-page-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.hotels-page-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #dbeafe;
    flex-shrink: 0;
}

.hotels-page-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hotels-page-card:hover .hotels-page-card-image img {
    transform: scale(1.03);
}

.hotels-page-card-body {
    padding: 25px 25px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hotels-page-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
    min-height: 3.2rem;
    display: flex;
    align-items: flex-start;
}

.hotels-page-card-location {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #64748b;
    font-size: 0.85rem;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.hotels-page-card-location i {
    color: #2563eb;
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
    line-height: 1.4;
}

.hotels-page-card-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex: 1;
}

.hotels-page-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 0;
}

.hotels-page-card-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    color: #334155;
    background: #f8fafc;
    padding: 4px 12px 4px 8px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
}

.hotels-page-card-features i {
    color: #10b981;
    font-size: 0.8rem;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

@media (max-width: 992px) {
    .hotels-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .hotels-page {
        padding: 20px 0 40px;
    }

    .hotels-page-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .hotels-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hotels-page-card-image {
        height: 180px;
    }

    .hotels-page-card-body {
        padding: 20px;
    }

    .hotels-page-card-title {
        font-size: 1.1rem;
        min-height: 2.8rem;
    }

    .hotels-page-card-location {
        font-size: 0.8rem;
        gap: 6px;
    }

    .hotels-page-card-location i {
        font-size: 0.85rem;
        margin-top: 1px;
        line-height: 1.4;
    }

    .hotels-page-card-features {
        gap: 5px 8px;
    }

    .hotels-page-card-features span {
        font-size: 0.72rem;
        padding: 3px 10px 3px 6px;
    }
}

/* ================================================================
   СТРАНИЦА "ОТЗЫВЫ"
   ================================================================ */

.reviews-page {
    padding: 30px 0 60px;
}

/* --- Шапка страницы --- */
.reviews-page-header {
    text-align: left;
    margin-bottom: 45px;
}

.reviews-page-subtitle {
    font-size: 1.1rem;
    color: #475569;
    max-width: 100%;
    margin: 0;
    line-height: 1.7;
    font-weight: 400;
}

/* ================================================================
   СЛАЙДЕР ОТЗЫВОВ
   ================================================================ */

.reviews-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.reviews-slide {
    flex: 0 0 100%;
    min-height: 380px;
}

.reviews-slide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* --- Карточка отзыва --- */
.reviews-page-item {
    display: flex;
}

.reviews-page-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 380px;
}

.reviews-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px -12px rgba(37, 99, 235, 0.12);
    border-color: #2563eb;
}

.reviews-page-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.reviews-page-card-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.reviews-page-card-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1e293b;
}

.reviews-page-card-meta {
    font-size: 0.8rem;
    color: #94a3b8;
}

.reviews-page-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviews-page-card-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.reviews-page-card-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 15px 0;
    flex: 1;
    font-style: italic;
}

.reviews-page-card-disease {
    font-size: 0.8rem;
    color: #64748b;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
    flex-shrink: 0;
    min-height: 3.8rem;
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.reviews-page-card-disease span {
    font-weight: 600;
    color: #2563eb;
    flex-shrink: 0;
}

/* ================================================================
   СТРЕЛКИ НАД СЛАЙДЕРОМ
   ================================================================ */

.reviews-slider-nav-top {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
    z-index: 10;
}

.reviews-slider-nav-top button {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #2563eb;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1rem;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews-slider-nav-top button i {
    font-size: 1rem;
    color: #2563eb;
    transition: all 0.3s ease;
}

.reviews-slider-nav-top button:hover {
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transform: scale(1.05);
}

.reviews-slider-nav-top button:hover i {
    color: #ffffff;
}

/* --- СТАРЫЕ СТРЕЛКИ ВНУТРИ СЛАЙДЕРА СКРЫТЫ --- */
.reviews-slider-nav {
    display: none !important;
}

/* ================================================================
   ФОРМА ДЛЯ ОТЗЫВОВ
   ================================================================ */

.reviews-form-wrapper {
    margin-top: 60px;
    padding: 45px 50px 50px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #eef2f6;
}

.reviews-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.reviews-form-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.reviews-form-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.reviews-form-rating input {
    display: none;
}

.reviews-form-rating label {
    font-size: 2.2rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.2s;
}

.reviews-form-rating input:checked ~ label,
.reviews-form-rating label:hover,
.reviews-form-rating label:hover ~ label {
    color: #fbbf24;
}

.reviews-form-group {
    margin-bottom: 20px;
}

.reviews-form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 6px;
}

.reviews-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e293b;
    box-sizing: border-box;
}

.reviews-form-control:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.reviews-form-control::placeholder {
    color: #94a3b8;
}

.reviews-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.reviews-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.reviews-form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 25px;
}

.reviews-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
    flex-shrink: 0;
}

.reviews-form-check label {
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
}

.reviews-form-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 45px;
    border-radius: 40px;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.reviews-form-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.reviews-form-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.reviews-form-success {
    margin-top: 20px;
    padding: 15px 20px;
    background: #d1fae5;
    border-radius: 12px;
    color: #065f46;
    font-weight: 500;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

@media (max-width: 992px) {
    .reviews-slide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .reviews-page-card {
        min-height: 350px;
    }

    .reviews-page-card-disease {
        min-height: 3.2rem;
    }
}

@media (max-width: 768px) {
    .reviews-page {
        padding: 20px 0 40px;
    }

    .reviews-page-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .reviews-slide-grid {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .reviews-slide {
        min-height: auto !important;
    }

    .reviews-page-item {
        display: flex;
        justify-content: center;
    }

    .reviews-page-card {
        padding: 20px;
        min-height: 320px;
        max-width: 100%;
        margin: 0 auto;
    }

    .reviews-page-card-avatar {
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    .reviews-page-card-name {
        font-size: 0.95rem;
    }

    .reviews-page-card-text {
        font-size: 0.9rem;
    }

    .reviews-page-card-stars {
        font-size: 1rem;
    }

    .reviews-page-card-disease {
        min-height: 2.8rem;
        font-size: 0.75rem;
    }

    /* СТРЕЛКИ НАД СЛАЙДЕРОМ СКРЫТЫ НА МОБИЛЬНЫХ */
    .reviews-slider-nav-top {
        display: none !important;
    }

    .reviews-form-wrapper {
        padding: 25px 20px 30px;
        margin-top: 40px;
    }

    .reviews-form-title {
        font-size: 1.4rem;
    }

    .reviews-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .reviews-form-rating label {
        font-size: 1.8rem;
    }

    .reviews-form-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}

/* ================================================================
   СТРАНИЦА "ИСТОРИИ ЛЕЧЕНИЯ"
   ================================================================ */

.stories-page {
    padding: 30px 0 60px;
}

/* --- Шапка страницы (вводный текст на всю ширину) --- */
.stories-page-header {
    margin-bottom: 40px;
}

.stories-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
}

.stories-page-subtitle {
    font-size: 1.1rem;
    color: #475569;
    max-width: 100%;
    margin: 0;
    line-height: 1.7;
}

/* --- Сетка историй (3 колонки) --- */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch; /* Растягиваем все карточки на одинаковую высоту */
}

/* --- Карточка истории --- */
.story-item {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Занимаем всю высоту ячейки грида */
}

.story-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

/* --- Изображение --- */
.story-item .story-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #dbeafe;
    flex-shrink: 0;
}

.story-item .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.story-item:hover .story-image img {
    transform: scale(1.03);
}

/* --- Тело карточки --- */
.story-item .story-body {
    padding: 25px 25px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Заголовок с фиксированной высотой для 3 строк */
.story-item .story-body h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    line-height: 1.3;
    /* Фиксированная высота для 3 строк */
    min-height: 4.9rem; /* 1.25rem * 1.3 * 3 = 4.875rem */
    /* Обрезаем заголовок до 3 строк */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-item .story-body h2 a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block; /* Чтобы ссылка занимала всю область */
}

.story-item .story-body h2 a:hover {
    color: #2563eb;
}

/* --- Текст истории (3 строки) --- */
.story-item .story-excerpt {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex: 1;
    /* Обрезаем до 3 строк */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Кнопка "Читать далее" - ПО ЦЕНТРУ --- */
.story-item .story-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    margin: 0 auto; /* Центрируем кнопку */
    margin-top: auto; /* Прижимаем кнопку к низу */
    width: auto; /* Автоматическая ширина */
    min-width: 160px; /* Минимальная ширина для красоты */
}

.story-item .story-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    color: #ffffff;
}

/* --- Сообщение "Нет историй" --- */
.stories-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    font-size: 1.1rem;
}

.stories-empty p {
    margin: 0;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

@media (max-width: 992px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .stories-page {
        padding: 20px 0 40px;
    }

    .stories-page-title {
        font-size: 1.8rem;
    }

    .stories-page-subtitle {
        font-size: 1rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-item .story-image {
        height: 180px;
    }

    .story-item .story-body {
        padding: 20px;
    }

    .story-item .story-body h2 {
        font-size: 1.1rem;
        min-height: 4.3rem; /* 1.1rem * 1.3 * 3 = 4.29rem */
    }

    .story-item .story-btn {
        width: 100%; /* На мобильных кнопка на всю ширину */
        min-width: unset;
        margin: 0 auto;
        margin-top: auto;
    }
}

/* ================================================================
   ДЕТАЛЬНАЯ СТРАНИЦА КЛИНИКИ (ОБЩИЕ СТИЛИ)
   ================================================================ */

.clinic-single-page {
    padding: 30px 0 60px;
}

/* --- Шапка клиники --- */
.clinic-single-header {
    display: flex;
    gap: 40px;
    margin-bottom: 45px;
    background: #f8fafc;
    border-radius: 24px;
    padding: 30px;
    border: 1px solid #eef2f6;
}

.clinic-single-header-image {
    flex: 0 0 35%;
    border-radius: 16px;
    overflow: hidden;
    background: #dbeafe;
}

.clinic-single-header-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.clinic-single-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clinic-single-badge {
    display: inline-block;
    background: #dbeafe;
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.clinic-single-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.clinic-single-location i {
    color: #2563eb;
}

.clinic-single-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.clinic-single-hours i {
    color: #2563eb;
}

.clinic-single-desc {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* --- Кнопки --- */
.clinic-single-btn {
    display: inline-block;
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 600;
    padding: 14px 40px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.clinic-single-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
    color: #ffffff !important;
}

.clinic-single-btn:link,
.clinic-single-btn:visited,
.clinic-single-btn:active,
.clinic-single-btn:focus {
    color: #ffffff !important;
}

.clinic-single-btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.clinic-single-btn-submit {
    width: 100%;
    max-width: 300px;
}

/* --- Основной контент --- */
.clinic-single-content {
    display: flex;
    gap: 50px;
}

.clinic-single-content-left {
    flex: 1;
}

.clinic-single-content-right {
    flex: 0 0 300px;
}

/* --- Секции --- */
.clinic-single-section {
    margin-bottom: 35px;
}

.clinic-single-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
}

.clinic-single-section p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0 0 12px 0;
}

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

.clinic-single-list li {
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.clinic-single-list li::before {
    content: "›";
    position: absolute;
    left: 4px;
    top: 6px;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.2rem;
}

.clinic-single-list li strong {
    color: #1e293b;
}

/* --- Боковая колонка --- */
.clinic-single-sidebar {
    background: #f8fafc;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #eef2f6;
    position: sticky;
    top: 30px;
}

.clinic-single-sidebar-item {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #eef2f6;
}

.clinic-single-sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.clinic-single-sidebar-item h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 0.5px;
    margin: 0 0 4px 0;
    font-weight: 600;
}

.clinic-single-sidebar-item p {
    font-size: 0.95rem;
    color: #1e293b;
    margin: 0;
    font-weight: 500;
}

/* --- Форма записи --- */
.clinic-single-form-wrapper {
    margin-top: 50px;
    padding: 45px 50px;
    background: #f8fafc;
    border-radius: 24px;
    border: 1px solid #eef2f6;
}

.clinic-single-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.clinic-single-form-subtitle {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.clinic-single-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.clinic-single-form-group {
    margin-bottom: 20px;
}

.clinic-single-form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 6px;
}

.clinic-single-form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e293b;
    box-sizing: border-box;
}

.clinic-single-form-control:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.clinic-single-form-control::placeholder {
    color: #94a3b8;
}

.clinic-single-form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 25px;
}

.clinic-single-form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
    flex-shrink: 0;
}

.clinic-single-form-check label {
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
}

.clinic-single-form-success {
    margin-top: 20px;
    padding: 15px 20px;
    background: #d1fae5;
    border-radius: 12px;
    color: #065f46;
    font-weight: 500;
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */

@media (max-width: 992px) {
    .clinic-single-header {
        flex-direction: column;
        padding: 20px;
    }

    .clinic-single-header-image {
        flex: 0 0 auto;
    }

    .clinic-single-header-image img {
        height: 200px;
    }

    .clinic-single-content {
        flex-direction: column;
    }

    .clinic-single-content-right {
        flex: 0 0 auto;
    }

    .clinic-single-sidebar {
        position: static;
    }

    .clinic-single-form-row {
        grid-template-columns: 1fr;
    }

    .clinic-single-btn-submit {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .clinic-single-page {
        padding: 20px 0 40px;
    }

    .clinic-single-badge {
        align-self: center;
    }

    .clinic-single-header {
        text-align: center;
    }

    .clinic-single-location,
    .clinic-single-hours {
        justify-content: center;
    }

    .clinic-single-btn {
        width: 100%;
        text-align: center;
    }

    .clinic-single-form-wrapper {
        padding: 25px 20px;
    }

    .clinic-single-form-title {
        font-size: 1.4rem;
    }
}

/* Стили для сообщений формы */
.clinic-single-form-success {
    display: none;
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: 500;
}

.clinic-single-form-success.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.clinic-single-form-success.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ============================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ КОНТАКТОВ
   ============================================================ */

.contacts-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Hero блок */
.contacts-hero-custom {
    text-align: center;
    margin-bottom: 50px;
}

.contacts-hero-custom h1 {
    font-size: 38px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 12px;
}

.contacts-hero-custom h1 span {
    color: #2563eb;
}

.contacts-hero-custom p {
    font-size: 17px;
    color: #4a5568;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.contacts-hero-custom .highlight {
    background: #dbeafe;
    padding: 3px 12px;
    border-radius: 6px;
    color: #1d4ed8;
    font-weight: 600;
}

/* Основная сетка */
.contacts-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* Левая колонка */
.contacts-info-custom {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.contacts-info-custom h2 {
    font-size: 22px;
    color: #1a202c;
    margin-bottom: 6px;
}

.contacts-info-custom .subtitle {
    color: #718096;
    margin-bottom: 25px;
    font-size: 14px;
}

.contacts-info-item-custom {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    transition: all 0.3s ease;
}

.contacts-info-item-custom:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.contacts-info-item-custom:hover {
    transform: translateX(5px);
}

.contacts-info-icon-custom {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #dbeafe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #2563eb;
}

.contacts-info-text-custom h4 {
    font-size: 15px;
    color: #1a202c;
    margin: 0 0 3px 0;
}

.contacts-info-text-custom p {
    color: #4a5568;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.contacts-info-text-custom a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s;
}

.contacts-info-text-custom a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Социальные сети - стили как в шапке */
.contacts-social-custom {
    margin-top: 0;
    padding-top: 85px;
    border-top: 1px solid #edf2f7;
}

.contacts-social-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 12px;
}

.contacts-social-links-custom {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.contacts-social-link-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 16px;
    height: 34px;
    border-radius: 30px;
    background: #f1f5f9;
    color: #7c3aed;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contacts-social-link-custom:hover {
    background: #7c3aed;
    color: #fff !important;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(124, 58, 237, 0.25);
}

.contacts-social-link-custom i {
    font-size: 16px;
}

.contacts-social-link-custom .max-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

/* VK */
.contacts-social-link-custom.vk:hover {
    background: #2563eb;
}

.contacts-social-link-custom.vk:hover i {
    color: white;
}

/* Макс */
.contacts-social-link-custom.max {
    background: #f1f5f9;
    padding: 0 16px;
    color: #7c3aed;
}

.contacts-social-link-custom.max:hover {
    background: #f1f5f9;
    color: #7c3aed !important;
    transform: scale(1.05);
    box-shadow: none;
}

.contacts-social-link-custom.max:hover .max-icon {
    filter: none;
    transform: scale(1.05);
}

/* Правая колонка - форма */
.contacts-form-wrapper-custom {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.contacts-form-wrapper-custom h2 {
    font-size: 22px;
    color: #1a202c;
    margin-bottom: 4px;
}

.contacts-form-wrapper-custom .form-subtitle {
    color: #718096;
    margin-bottom: 20px;
    font-size: 14px;
}

.contacts-form-wrapper-custom .wpcf7 {
    margin: 0;
    flex: 1;
}

.contacts-form-wrapper-custom .wpcf7-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contacts-form-wrapper-custom .wpcf7-form p {
    margin-bottom: 16px;
}

.contacts-form-wrapper-custom .wpcf7-form label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
    font-size: 14px;
}

.contacts-form-wrapper-custom .wpcf7-form input[type="text"],
.contacts-form-wrapper-custom .wpcf7-form input[type="email"],
.contacts-form-wrapper-custom .wpcf7-form input[type="tel"],
.contacts-form-wrapper-custom .wpcf7-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f7fafc;
    color: #1a202c;
    box-sizing: border-box;
}

.contacts-form-wrapper-custom .wpcf7-form input:focus,
.contacts-form-wrapper-custom .wpcf7-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: white;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contacts-form-wrapper-custom .wpcf7-form textarea {
    min-height: 100px;
    resize: vertical;
}

.contacts-form-wrapper-custom .wpcf7-form .wpcf7-submit {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
    min-width: 200px;
    letter-spacing: 0.3px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
}

.contacts-form-wrapper-custom .wpcf7-form .wpcf7-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.contacts-form-wrapper-custom .wpcf7-form .wpcf7-submit:active {
    transform: translateY(0);
}

/* Сообщения CF7 */
.contacts-form-wrapper-custom .wpcf7-response-output {
    margin: 15px 0 0 !important;
    padding: 12px 18px !important;
    border-radius: 10px !important;
    border: none !important;
    font-weight: 500;
    font-size: 14px;
}

.contacts-form-wrapper-custom .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb !important;
}

.contacts-form-wrapper-custom .wpcf7-response-output.wpcf7-validation-errors {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb !important;
}

.contacts-form-wrapper-custom .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-grid-custom {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contacts-hero-custom h1 {
        font-size: 30px;
    }
}

@media (max-width: 600px) {
    .contacts-custom {
        padding: 20px 15px 40px;
    }
    
    .contacts-hero-custom h1 {
        font-size: 24px;
    }
    
    .contacts-hero-custom p {
        font-size: 15px;
    }
    
    .contacts-info-custom,
    .contacts-form-wrapper-custom {
        padding: 20px;
    }
    
    .contacts-info-item-custom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 0;
    }
    
    .contacts-social-links-custom {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contacts-social-link-custom {
        justify-content: center;
        height: 38px;
    }
    
    .contacts-form-wrapper-custom .wpcf7-form .wpcf7-submit {
        width: 100%;
        min-width: unset;
    }
}

/* Фикс для всех якорных ссылок */
a[href^="#"] {
    color: #ffffff !important;
}

a[href^="#"]:hover,
a[href^="#"]:active,
a[href^="#"]:focus,
a[href^="#"]:visited {
    color: #ffffff !important;
}

/* Исключения для ссылок, которые должны быть другого цвета */
a[href^="#"].btn-china-white,
a[href^="#"].btn-china-white:hover,
a[href^="#"].btn-china-white:active,
a[href^="#"].btn-china-white:focus,
a[href^="#"].btn-china-white:visited {
    color: #2563eb !important;
}

a[href^="#"].contacts-social-link-custom,
a[href^="#"].contacts-social-link-custom:hover,
a[href^="#"].contacts-social-link-custom:active,
a[href^="#"].contacts-social-link-custom:focus,
a[href^="#"].contacts-social-link-custom:visited {
    color: #7c3aed !important;
}

/* ================================================================
   УБИРАЕМ СЕРУЮ ПОДЛОЖКУ ПРИ НАВЕДЕНИИ НА МЕНЮ
   ================================================================ */

/* Убираем подложку у всего меню */
.main-navigation,
.header-navigation,
.site-navigation {
    background: transparent !important;
}

/* Убираем серую подложку у пунктов меню при наведении */
.main-navigation ul.menu > li > a::before,
.header-navigation ul.menu > li > a::before,
.site-navigation ul.menu > li > a::before,
.main-navigation ul.menu > li > a::after,
.header-navigation ul.menu > li > a::after,
.site-navigation ul.menu > li > a::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
}

/* Убираем фоновую подложку у ссылок при наведении */
.main-navigation ul.menu > li > a:hover,
.header-navigation ul.menu > li > a:hover,
.site-navigation ul.menu > li > a:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 30px !important;
}

/* Убираем любые дополнительные псевдоэлементы */
.main-navigation ul.menu > li::before,
.header-navigation ul.menu > li::before,
.site-navigation ul.menu > li::before,
.main-navigation ul.menu > li::after,
.header-navigation ul.menu > li::after,
.site-navigation ul.menu > li::after {
    display: none !important;
    content: none !important;
}

/* Убираем серый фон у всего меню при фиксации */
.main-navigation.fixed-menu,
.header-navigation.fixed-menu,
.site-navigation.fixed-menu {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border-radius: 0 0 20px 20px !important;
    overflow: hidden !important;
    padding: 0 20px !important;
}

/* Убираем серую подложку у пунктов меню в фиксированном состоянии */
.main-navigation.fixed-menu ul.menu > li > a::before,
.header-navigation.fixed-menu ul.menu > li > a::before,
.site-navigation.fixed-menu ul.menu > li > a::before {
    display: none !important;
    content: none !important;
}

/* Убираем подложку у всего меню */
.main-navigation ul.menu,
.header-navigation ul.menu,
.site-navigation ul.menu {
    background: transparent !important;
}

/* Убираем серую подложку у контейнера меню */
.main-navigation .container,
.header-navigation .container,
.site-navigation .container,
.main-navigation .fixed,
.header-navigation .fixed,
.site-navigation .fixed {
    background: transparent !important;
    box-shadow: none !important;
}

/* Убираем подложку у навигации */
#site-navigation,
.main-navigation,
.header-navigation,
.site-navigation {
    background: transparent !important;
    box-shadow: none !important;
}

/* ================================================================
   СТРАНИЦА "ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ"
   ================================================================ */

.privacy-policy-page {
    padding: 40px 0 60px;
    background: #f8fafc;
}

.privacy-policy-page .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Секции --- */
.privacy-policy-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px;
    margin-bottom: 25px;
    border: 1px solid #eef2f6;
}

.privacy-policy-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.privacy-policy-section p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
    margin: 0 0 12px 0;
}

.privacy-policy-section p:last-child {
    margin-bottom: 0;
}

.privacy-policy-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.privacy-policy-section ul li {
    padding: 4px 0 4px 22px;
    position: relative;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
}

.privacy-policy-section ul li::before {
    content: "›";
    position: absolute;
    left: 4px;
    top: 4px;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.2rem;
}

.privacy-policy-section ul li strong {
    color: #1e293b;
}

.privacy-policy-section a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-policy-section a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* --- Адаптивность --- */
@media (max-width: 768px) {
    .privacy-policy-page {
        padding: 25px 0 40px;
    }

    .privacy-policy-section {
        padding: 20px;
    }

    .privacy-policy-section h2 {
        font-size: 1.2rem;
    }

    .privacy-policy-section p,
    .privacy-policy-section ul li {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .privacy-policy-section {
        padding: 16px;
    }
}

 /* ================================================================
    СТИЛИ ДЛЯ ФУТЕРА
    ================================================================*/
    .footer-menu-wrapper {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .footer-menu-links {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 25px;
        margin-bottom: 15px;
    }

    .footer-menu-links a,
    .footer-policy-link {
        color: #94a3b8 !important; /* Добавлено !important */
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }

    .footer-policy-link {
        font-size: 0.85rem;
        display: inline-block;
        margin-bottom: 10px;
    }

    .footer-copyright {
        color: #94a3b8;
        font-size: 0.8rem;
    }

    .footer-menu-links a:hover,
    .footer-policy-link:hover {
        color: #ffffff !important;
    }

    /* Мобильная версия */
    @media (max-width: 600px) {
        .footer-menu-links {
            flex-direction: column;
            gap: 6px 0;
            align-items: center;
        }

        .footer-menu-links a {
            display: block;
            padding: 4px 0;
            font-size: 0.85rem;
        }

        .footer-policy-link {
            font-size: 0.8rem;
            display: block;
            padding: 4px 0;
        }

        .footer-copyright {
            font-size: 0.75rem;
        }
    }