/*
Theme Name: dr-kimv-theme
Author: Your Name
Description: Кастомная тема для сайта dr-kimv.ru
Version: 1.0
*/

/* ===== ОБЩИЕ СБРОСЫ И ПЕРЕМЕННЫЕ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #1c2e3f;
    --bg-dark-light: #243b4f;
    --bg-light: #f5f7fa;
    --accent: #e0c89a;
    --accent-dark: #c9b07d;
    --text-light: #ffffff;
    --text-dark: #1c2e3f;
    --text-gray: #b0c4d9;
    --radius: 12px;
    --transition: 0.3s ease;
    --font-base: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: var(--font-base);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-dark);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--accent);
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* ===== КНОПКИ ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: var(--text-dark);
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--accent-dark);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid var(--accent);
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-dark);
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #6c5ce7);
    color: white !important;
    animation: pulse-telegram 2s infinite;
}

.btn-telegram:hover {
    color: white !important;
}

@keyframes pulse-telegram {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ===== ПЛАВАЮЩАЯ КНОПКА ===== */
.floating-tg {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: linear-gradient(135deg, #0088cc, #6c5ce7);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-float 2s infinite;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
}

.floating-tg:hover {
    transform: scale(1.08);
}

@keyframes pulse-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ===== ШАПКА ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 26, 36, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(224, 200, 154, 0.06);
    padding: 10px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    max-height: 32px;
    width: auto;
    display: block;
}

/* ===== МЕНЮ ===== */
.main-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.main-nav ul li a {
    color: var(--text-gray);
    font-size: 0.95rem;
    transition: var(--transition);
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

.main-nav ul li a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1a24 0%, #1c2e3f 50%, #2a4a5c 100%);
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-image {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-left: 0; /* убрали отрицательный отступ */

}

.doctor-img {
    transform: scaleX(-1) !important;
    width: 100%;
    max-width: 480px;
    height: auto;
    object-fit: contain;
}

.hero-problem {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--text-light);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
}

.hero-info {
    background: rgba(28, 46, 63, 0.4);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(224, 200, 154, 0.06);
}

.hero-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.hero-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-info ul li {
    color: var(--text-gray);
    font-size: 0.95rem;
    padding: 2px 0;
}

.hero-btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem 0 1rem;
}

.hero-counter {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-gray);
    opacity: 0.6;
}

.counter-number {
    color: var(--accent);
    font-weight: 700;
}

/* ===== ОБО МНЕ ===== */
.about {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--bg-dark);
    opacity: 0.5;
}

.about-left h2 {
    text-align: left;
    font-size: 2rem;
    color: var(--bg-dark);
    margin-bottom: 1rem;
}

.about-left h2::after {
    left: 0;
    transform: none;
}

.about-left p {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.about-left ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1rem;
}

.about-left ul li {
    padding: 4px 0;
    font-size: 0.95rem;
    color: #444;
}

.about-left ul li::before {
    content: '✅ ';
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.about-right {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 28px;
    border-radius: var(--radius);
}

.about-right p {
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.about-right strong {
    color: var(--accent);
}

.about-right ul {
    list-style: none;
    padding: 0;
}

.about-right ul li {
    margin-bottom: 0.4rem;
    color: var(--text-gray);
}

/* ===== СЕРТИФИКАТЫ ===== */
.certificates {
    background: var(--bg-dark-light);
    color: var(--text-light);
    padding: 60px 0;
}

.certificates h2 {
    color: var(--accent);
}

.cert-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.cert-item {
    background: var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(224, 200, 154, 0.06);
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.cert-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.cert-item p {
    padding: 12px 15px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.cert-text {
    margin-top: 2rem;
    padding: 25px;
    background: var(--bg-dark);
    border-radius: var(--radius);
    border: 1px solid rgba(224, 200, 154, 0.06);
}

.cert-text p {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.cert-text ul {
    list-style: none;
    padding: 0;
}

.cert-text ul li {
    padding: 6px 0 6px 25px;
    position: relative;
    color: var(--text-gray);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(224, 200, 154, 0.04);
}

.cert-text ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ===== ОТЗЫВЫ ===== */
.reviews {
    background: var(--bg-dark);
    padding: 60px 0;
}

.reviews-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.reviews-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    opacity: 0.5;
}

.reviews h2 {
    color: var(--accent);
}

.reviews-subtitle {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review-card {
    background: var(--bg-dark-light);
    border-radius: var(--radius);
    padding: 25px;
    transition: var(--transition);
    border: 1px solid rgba(224, 200, 154, 0.06);
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.95rem;
}

.review-tag {
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0.6;
}

.review-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== БЛОГ ===== */
.blog {
    background: var(--bg-dark-light);
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-post {
    background: var(--bg-dark);
    padding: 25px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(224, 200, 154, 0.06);
}

.blog-post:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.blog-post h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-date {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.blog-post p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* ===== МЕТОДИКИ (КАРУСЕЛЬ) ===== */
.methods-carousel {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.methods-carousel h2 {
    color: var(--bg-dark);
}

.methods-carousel h2::after {
    background: var(--bg-dark);
}

.carousel-intro {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 -10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    gap: 15px;
    padding: 10px 0;
}

.method-slide {
    flex: 0 0 calc(25% - 12px);
    min-width: 180px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.method-slide:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.method-slide img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.method-slide p {
    padding: 12px 10px 15px;
    font-weight: 600;
    color: var(--bg-dark);
    font-size: 0.9rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-dark);
    color: var(--accent);
    border: 1px solid var(--accent);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--accent);
    color: var(--bg-dark);
}

.carousel-btn.prev {
    left: 5px;
}

.carousel-btn.next {
    right: 5px;
}

/* ===== ЦЕННОСТИ (ЧТО В TELEGRAM) ===== */
.values {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.values h2 {
    color: var(--bg-dark);
}

.values h2::after {
    background: var(--bg-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.value-card {
    background: white;
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.value-card h3 {
    font-size: 1.1rem;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
}

.value-card p {
    color: #555;
    font-size: 0.9rem;
}

.values-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* ===== БОНУС ===== */
.bonus {
    background: linear-gradient(135deg, #0f1a24 0%, var(--bg-dark) 100%);
    padding: 60px 0;
}

.bonus-wrapper {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    background: rgba(28, 46, 63, 0.5);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid rgba(224, 200, 154, 0.08);
}

.bonus-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-dark);
    padding: 4px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.bonus-wrapper h2 {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bonus-wrapper p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.bonus-wrapper ul {
    list-style: none;
    padding: 0;
    max-width: 550px;
    margin: 1.5rem auto;
    text-align: left;
}

.bonus-wrapper ul li {
    padding: 10px 0 10px 35px;
    position: relative;
    border-bottom: 1px solid rgba(224, 200, 154, 0.06);
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.bonus-wrapper ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.5rem;
}

.bonus-wrapper ul li strong {
    color: var(--text-light);
}

.btn-bonus {
    margin-top: 0.5rem;
    background: var(--accent);
    color: var(--text-dark) !important;
    box-shadow: 0 4px 20px rgba(224, 200, 154, 0.2);
}

.btn-bonus:hover {
    background: var(--accent-dark);
}

/* ===== FAQ ===== */
.faq {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.faq h2 {
    color: var(--bg-dark);
}

.faq h2::after {
    background: var(--bg-dark);
}

.faq-grid {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1rem;
    color: var(--bg-dark);
}

.faq-toggle {
    font-size: 1.4rem;
    color: var(--bg-dark);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 22px;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    padding: 0 22px 18px 22px;
}

.faq-answer p {
    color: #555;
    font-size: 0.95rem;
}

/* ===== ФИНАЛЬНЫЙ ПРИЗЫВ ===== */
.final-cta {
    background: linear-gradient(135deg, #0f1a24 0%, var(--bg-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.final-cta h2 {
    color: var(--accent);
}

.final-cta p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

/* ===== ФУТЕР ===== */
.footer {
    background: #0a121a;
    color: var(--text-gray);
    padding: 40px 0 25px;
    border-top: 1px solid rgba(224, 200, 154, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.3rem;
}

.footer-col ul li a {
    color: var(--text-gray);
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-license {
    color: var(--text-gray);
    font-size: 0.8rem;
    opacity: 0.6;
    margin-top: 0.5rem;
}

.footer-legal {
    max-width: 900px;
    margin: 1.5rem auto 0;
    text-align: center;
    border-top: 1px solid rgba(224, 200, 154, 0.05);
    padding-top: 1.5rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-gray);
    opacity: 0.4;
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-gray);
    opacity: 0.3;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    .hero-text h1 {
        font-size: 2.4rem;
    }
    .method-slide {
        flex: 0 0 calc(33.33% - 12px);
    }
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 8px;
        padding: 8px 15px;
    }
    .header-logo img {
        max-height: 28px;
    }
    .main-nav ul {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .main-nav ul li a {
        font-size: 0.85rem;
    }

    .hero {
        min-height: auto;
        padding: 130px 0 30px;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .hero-image {
        order: 1;
        justify-content: center;
        margin-left: 0;
    }
    .hero-text {
        order: 2;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .doctor-img {
        max-width: 280px;
        margin: 0 auto;
    }
    .hero-info {
        text-align: left;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .about-left h2 {
        text-align: center;
    }
    .about-left h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .about-stats {
        justify-content: center;
        flex-wrap: wrap;
    }

    .reviews-grid {
        grid-template-columns: 1fr 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .method-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: 140px;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        max-height: 18px;
    }
    .main-nav ul {
        gap: 8px;
    }
    .main-nav ul li a {
        font-size: 0.75rem;
    }

    .hero-text h1 {
        font-size: 1.6rem;
    }
    .doctor-img {
        max-width: 220px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cert-grid {
        grid-template-columns: 1fr;
    }
    .method-slide {
        flex: 0 0 100%;
        min-width: unset;
    }

    .floating-tg {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }
    .floating-tg svg {
        width: 22px;
        height: 22px;
    }

    h2 {
        font-size: 1.5rem;
    }
    .bonus-wrapper {
        padding: 25px 20px;
    }
    .bonus-wrapper h2 {
        font-size: 1.6rem;
    }
    .about-stats {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== ДОПОЛНИТЕЛЬНО ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}
/* ===== СТРАНИЦЫ БЛОГА (отдельные статьи) ===== */
.blog-page {
    padding: 140px 0 60px;
    background: var(--bg-light);
    color: var(--text-dark);
}
.blog-page .container {
    max-width: 900px;
    background: white;
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.blog-page h1 {
    color: var(--bg-dark);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}
.blog-page .blog-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.blog-page h2 {
    color: var(--bg-dark);
    font-size: 1.4rem;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}
.blog-page h2::after {
    left: 0;
    transform: none;
    width: 50px;
}
.blog-page p,
.blog-page li {
    color: #444;
    font-size: 1.05rem;
    line-height: 1.8;
}
.blog-page ul {
    padding-left: 20px;
}
.blog-page .back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--bg-dark);
    font-weight: 600;
    transition: var(--transition);
}
.blog-page .back-link:hover {
    color: var(--accent-dark);
    transform: translateX(-5px);
}
.blog-page .back-link::before {
    content: '← ';
}
.blog-page .doctor-card {
    background: var(--bg-dark);
    color: white;
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.blog-page .doctor-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}
.blog-page .doctor-card strong {
    color: var(--accent);
}
@media (max-width: 768px) {
    .blog-page {
        padding: 120px 0 40px;
    }
    .blog-page .container {
        padding: 25px;
    }
    .blog-page h1 {
        font-size: 1.8rem;
    }
    .blog-page .doctor-card {
        flex-direction: column;
        text-align: center;
    }
}
/* ============================================================
   СТИЛИ ДЛЯ СТРАНИЦ БЛОГА (ТЁМНАЯ ТЕМА)
   ============================================================ */

/* Общий фон страницы блога */
.blog-page {
    padding: 140px 0 60px;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
}

/* Контейнер со статьёй — тёмный, с золотыми акцентами */
.blog-page .container {
    max-width: 900px;
    background: var(--bg-dark-light);
    padding: 50px;
    border-radius: var(--radius);
    border: 1px solid rgba(224, 200, 154, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Заголовки — золотые */
.blog-page h1 {
    color: var(--accent);
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.blog-page h2 {
    color: var(--accent);
    font-size: 1.4rem;
    text-align: left;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}
.blog-page h2::after {
    left: 0;
    transform: none;
    width: 50px;
    background: var(--accent);
}

/* Текст — светлый, контрастный */
.blog-page p,
.blog-page li {
    color: var(--text-gray);
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-page strong {
    color: var(--text-light);
}

.blog-page ul {
    padding-left: 20px;
}

/* Мета-информация (дата) */
.blog-page .blog-meta {
    color: var(--text-gray);
    opacity: 0.6;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(224, 200, 154, 0.1);
    padding-bottom: 1rem;
}

/* Ссылки в тексте — золотые */
.blog-page a {
    color: var(--accent);
}
.blog-page a:hover {
    color: var(--accent-dark);
}

/* ===== НАВИГАЦИОННЫЕ ССЫЛКИ «НАЗАД» ===== */
.blog-page .back-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.blog-page .back-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.blog-page .back-link:hover {
    color: var(--accent-dark);
    transform: translateX(-5px);
}

.blog-page .back-link::before {
    content: '← ';
}

/* ===== КАРТОЧКА ВРАЧА НА СТРАНИЦАХ БЛОГА ===== */
.blog-page .doctor-card {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 25px;
    border-radius: var(--radius);
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border: 1px solid rgba(224, 200, 154, 0.08);
}

.blog-page .doctor-card img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-page .doctor-card strong {
    color: var(--accent);
}

.blog-page .doctor-card p {
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.blog-page .doctor-card .btn-primary {
    margin-top: 10px;
}

/* Адаптив для страниц блога */
@media (max-width: 768px) {
    .blog-page {
        padding: 120px 0 40px;
    }
    .blog-page .container {
        padding: 25px;
    }
    .blog-page h1 {
        font-size: 1.8rem;
    }
    .blog-page .doctor-card {
        flex-direction: column;
        text-align: center;
    }
    .blog-page .back-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================================
   СТИЛИ ДЛЯ СТРАНИЦ МЕТОДИК (УЛУЧШЕННАЯ НАВИГАЦИЯ)
   ============================================================ */

/* Навигационные ссылки на страницах методик */
.method-page .back-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 1.5rem;
}

.method-page .back-link {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}

.method-page .back-link:hover {
    color: var(--accent-dark);
    transform: translateX(-5px);
}

.method-page .back-link::before {
    content: '← ';
}

/* ============================================================
   СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА (СПИСОК СТАТЕЙ) — ТЁМНАЯ ТЕМА
   ============================================================ */

/* Страница списка блога */
.blog-archive {
    background: var(--bg-dark);
    padding: 140px 0 60px;
    min-height: 100vh;
}

.blog-archive h1 {
    color: var(--accent);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.blog-archive .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-archive .blog-post {
    background: var(--bg-dark-light);
    padding: 25px;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid rgba(224, 200, 154, 0.06);
}

.blog-archive .blog-post:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.blog-archive .blog-post h3 {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.blog-archive .blog-post .blog-date {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    opacity: 0.5;
}

.blog-archive .blog-post p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.blog-archive .blog-post a {
    text-decoration: none;
}

@media (max-width: 768px) {
    .blog-archive {
        padding: 120px 0 40px;
    }
    .blog-archive .blog-grid {
        grid-template-columns: 1fr;
    }
}