:root {
    --primary-blue: #1e5a3a;
    --primary-light: #2e7d32;
    --accent-gold: #f59e0b;
    --dark-bg: #1f2937;
    --light-bg: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --success: #10b981;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
    --radius: 8px;
    --radius-lg: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Open Sans', sans-serif; 
    color: var(--text-main); 
    background: var(--card-bg); 
    line-height: 1.6;
}
h1, h2, h3, h4 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700;
    color: var(--primary-blue);
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Progress Bar (для страниц тем) */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Header – стили для шапки из макета */
header {
    background: var(--card-bg);
    border-bottom: 3px solid var(--primary-blue);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    font-family: 'Montserrat', sans-serif;
}
.nav-links { display: flex; gap: 25px; }
.nav-links a { 
    font-weight: 600; 
    font-size: 0.95rem; 
    color: var(--text-main);
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.header-contacts { text-align: right; }
.phone { font-weight: 700; color: var(--primary-blue); font-size: 1.1rem; }
.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; }

/* Hero Section – из макета */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1b5e3a 100%);
    color: #ffffff;
    padding: 80px 0;
}
.hero-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-content h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
}
.hero-content p {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 30px;
    line-height: 1.8;
}
.hero-ratings {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.rating-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 10px 20px;
    border-radius: var(--radius);
}
.rating-stars { color: var(--accent-gold); }
.rating-score { font-weight: 700; font-size: 1.2rem; }

/* Order Form (на главной) */
.hero-form {
    background: #ffffff;
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    color: var(--text-main);
}
.hero-form h3 { 
    margin-bottom: 25px; 
    font-size: 1.4rem; 
    text-align: center;
    color: var(--primary-blue);
}
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 90, 58, 0.1);
}
.hero-form .btn { width: 100%; }

/* Trust Stats (блок цифр) */
.trust-stats {
    padding: 60px 0;
    background: var(--light-bg);
    border-bottom: 1px solid var(--border-color);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}
.trust-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.trust-item p { color: var(--text-light); font-weight: 500; }

/* Advantages (преимущества) */
.advantages { 
    padding: 70px 0; 
    background: var(--card-bg);
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-title { 
    font-size: 2.3rem; 
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
}
.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}
.adv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.adv-card {
    background: var(--card-bg);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-blue);
    transition: 0.3s;
}
.adv-card:hover { transform: translateY(-5px); }
.adv-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}
.adv-card h4 { 
    font-size: 1.2rem; 
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-main);
}
.adv-card p { font-size: 0.95rem; color: var(--text-light); line-height: 1.7; }

/* Services (тарифы) */
.services { 
    padding: 70px 0; 
    background: var(--light-bg);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    background: var(--card-bg);
    transition: 0.3s;
    position: relative;
}
.service-card:hover { border-color: var(--primary-blue); box-shadow: var(--shadow); }
.service-card.popular {
    border-color: var(--primary-blue);
    background: linear-gradient(180deg, #f3f4f6 0%, #ffffff 100%);
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.service-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; color: var(--primary-blue); }
.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.service-period { font-size: 0.9rem; color: var(--text-light); margin-bottom: 25px; }
.service-list { text-align: left; margin: 30px 0; }
.service-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-list li::before {
    content: '▪';
    color: var(--success);
    font-weight: 700;
}
.service-list li.no { color: #9ca3af; }
.service-list li.no::before { content: '✕'; color: #9ca3af; }

/* Topics (примеры тем) */
.topics { 
    padding: 70px 0; 
    background: var(--card-bg);
}
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.topic-card {
    background: var(--light-bg);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
    transition: 0.3s;
}
.topic-card:hover {
    background: var(--card-bg);
    box-shadow: var(--shadow-lg);
}
.topic-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-bg);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.topic-title { 
    font-weight: 600; 
    font-size: 1rem; 
    line-height: 1.5;
    color: var(--text-main);
}

/* Guarantees (гарантии) */
.guarantees { 
    padding: 70px 0; 
    background: var(--primary-blue); 
    color: #ffffff; 
}
.guarantees .section-title { color: #ffffff; }
.guarantees .section-title::after { background: var(--accent-gold); }
.guarantees .section-subtitle { color: #dbeafe; }
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.guarantee-item {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-gold);
}
.guarantee-item h4 { 
    color: #ffffff; 
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}
.guarantee-item p { color: #dbeafe; font-size: 0.95rem; line-height: 1.7; }

/* Reviews (отзывы) */
.reviews { 
    padding: 70px 0; 
    background: var(--card-bg);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.review-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}
.review-stars { color: var(--accent-gold); margin-bottom: 15px; font-size: 1.2rem; }
.review-text { font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; color: var(--text-main); }
.review-author { font-weight: 700; color: var(--primary-blue); font-size: 0.95rem; }

/* FAQ */
.faq { 
    padding: 70px 0; 
    background: var(--light-bg);
}
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item {
    background: var(--card-bg);
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 25px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-main);
}
.faq-question::after {
    content: '►';
    font-size: 1.5rem;
    color: var(--primary-blue);
    font-weight: 300;
}
.faq-question.active::after { content: '▼'; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
    color: var(--text-light);
    padding: 0 25px;
}
.faq-answer p { padding-bottom: 25px; line-height: 1.7; }

/* Footer */
footer {
    background: #1f2937;
    color: #9ca3af;
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}
.footer-col h4 { color: #ffffff; margin-bottom: 25px; font-size: 1.1rem; font-weight: 700; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #9ca3af; }
.footer-col ul li a:hover { color: var(--accent-gold); }
.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #6b7280;
}

/* Buttons (универсальные) */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}
.btn-primary { background: var(--primary-blue); color: #ffffff; }
.btn-primary:hover { background: #1e5a3a; }
.btn-accent { background: var(--accent-gold); color: #ffffff; }
.btn-accent:hover { background: #d97706; }
.btn-outline { border: 2px solid var(--primary-blue); color: var(--primary-blue); background: transparent; }
.btn-outline:hover { background: var(--primary-blue); color: #ffffff; }

/* Стили для формы заказа на страницах тем */
.order-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 30px 0;
}
.order-form h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
    text-align: center;
}
.order-form .form-group {
    margin-bottom: 15px;
}
.order-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-light);
}
.order-form input,
.order-form textarea,
.order-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-family: inherit;
}
.order-form input:focus,
.order-form textarea:focus,
.order-form select:focus {
    border-color: var(--primary-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 90, 58, 0.1);
}
.order-form button[type="submit"] {
    display: inline-block;
    width: 100%;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
    background: var(--primary-blue);
    color: #ffffff;
    transition: background 0.3s;
    margin-top: 15px;
}
.order-form button[type="submit"]:hover {
    background: #1e5a3a;
}

/* Дополнительные классы для карточек, блоков и т.д. */
.topic-card {
    background: var(--light-bg);
    padding: 20px 25px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-blue);
    margin: 20px 0;
    box-shadow: var(--shadow);
}
.topic-title {
    color: var(--primary-blue);
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.guarantee-item {
    background: #f9fafb;
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent-gold);
    margin: 20px 0;
}
.guarantee-item h4 { color: var(--primary-blue); margin-bottom: 10px; }
.service-list {
    list-style: none;
    margin: 15px 0;
}
.service-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.service-list li::before {
    content: '▪';
    color: var(--success);
    font-weight: 700;
}
.topic-price { font-weight: 700; color: var(--accent-gold); }
.cta-block { margin: 30px 0; }

/* Скрытие сайдбара (как в других темах) */
.sidebar { display: none !important; }
.content-wrapper { display: block !important; max-width: 900px !important; margin: 0 auto !important; padding: 0 20px !important; }

/* Mobile */
@media (max-width: 968px) {
    .hero-wrap { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-ratings { gap: 15px; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .header-contacts { display: none; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    .order-form {
        padding: 20px;
    }
    .order-form h2 {
        font-size: 1.3rem;
    }
    h2.section-title {
        font-size: 1.8rem !important;
    }
}
@media (max-width: 600px) {
    .trust-grid { grid-template-columns: 1fr; }
    .trust-block ul { columns: 1; }
    .cta-block, .cta-final { padding: 15px !important; }
    h2 { font-size: 22px !important; }
    .topic-card { padding: 15px !important; }
}

/* Исправление контрастности текста в блоках гарантий */
.guarantee-item p,
.guarantee-item {
    color: #1f2937;
}
.guarantee-item h4 {
    color: #1e5a3a;
}

/* ===== Стили для главной страницы (блоки статистики и рейтингов) ===== */
.stat-card {
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 32px;
    background: var(--light-bg);
    border-radius: 50px;
    transition: all 0.3s ease;
}
.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.trust-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
}
.trust-stars {
    color: #fbbf24;
    font-size: 1rem;
}
.trust-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
    .trust-badge {
        padding: 12px 20px;
    }
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ ===== */
/* Блок статистики (350+, 90%+, 2 дня) */
.hero-stats {
    display: flex !important;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}
.stat-item {
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
}
.stat-item strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold, #f59e0b);
    line-height: 1.2;
    margin-bottom: 5px;
}
.stat-item span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

/* Блок доверия (рейтинги) */
.trust-scroll {
    display: flex !important;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    margin: 30px 0;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}
.trust-badge:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}
.trust-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold, #f59e0b);
}
.trust-stars {
    color: #fbbf24;
    font-size: 1rem;
}
.trust-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .trust-scroll {
        gap: 20px;
    }
    .trust-badge {
        padding: 12px 20px;
    }
}
@media (max-width: 480px) {
    .trust-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (тема 6) ===== */

/* Блок статистики (350+, 90%+, 2 дня) */
.hero-stats {
    display: flex !important;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}
.stat-card {
    flex: 1 1 0;
    min-width: 120px;
    text-align: center;
}
.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold, #f59e0b);
    line-height: 1.2;
    margin-bottom: 5px;
}
.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.9;
}

/* Блок рейтингов (Яндекс, Google, 2GIS) */
.trust-section {
    background: #ffffff;
    padding: 50px 0;
}
.trust-scroll {
    display: flex !important;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: var(--light-bg, #f3f4f6);
    border-radius: 50px;
    transition: 0.3s;
}
.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg, 0 10px 25px rgba(0,0,0,0.1));
}
.trust-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue, #1e5a3a);
}
.trust-stars {
    color: #fbbf24;
    font-size: 1rem;
}
.trust-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light, #6b7280);
}

/* Кнопка "Бесплатная консультация" (btn-secondary) */
.btn-secondary {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}
.btn-secondary:hover {
    background: #ffffff;
    color: var(--primary-blue);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    .trust-scroll {
        gap: 20px;
    }
    .btn, .btn-large {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .trust-badge {
        width: 100%;
        justify-content: center;
    }
}

/* ===== СТИЛИ ДЛЯ БЛОКА ОТЗЫВОВ (тема 6) ===== */
.testimonials {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
    color: #ffffff;
}
.testimonials .section-title {
    color: #ffffff;
}
.testimonials .section-subtitle {
    color: rgba(255,255,255,0.9);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--radius, 8px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}
.testimonial-stars {
    color: var(--accent-gold, #f59e0b);
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ffffff;
    opacity: 0.95;
}
.testimonial-author {
    font-weight: 700;
    color: var(--accent-gold, #f59e0b);
    font-size: 1rem;
}
.testimonials p {
    color: #ffffff;
    text-align: center;
    font-size: 1.1rem;
}

echo '
/* Стили для кнопок CTA */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color, #4caf50);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: var(--primary-color, #2e7d32);
    color: #fff !important;
}
.btn-order {
    background-color: #2196F3;
}
.btn-order:hover {
    background-color: #1976D2;
}

/* Стили для ссылок в оглавлении */
.toc-container999 a {
    color: var(--primary-color, #1e5a3a);
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
}
.toc-container999 a:hover {
    text-decoration: none;
    color: var(--accent-color, #4caf50);
}

/* Общие стили для ссылок в статье (если нужно) */
.article-content a {
    color: var(--primary-color, #1e5a3a);
    text-decoration: underline;
}
.article-content a:hover {
    text-decoration: none;
    color: var(--accent-color, #4caf50);
}

echo '
/* Стили для кнопок CTA */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color, #4caf50);
    color: #fff !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}
.cta-button:hover {
    background-color: var(--primary-color, #2e7d32);
    color: #fff !important;
}
.btn-order {
    background-color: #2196F3;
}
.btn-order:hover {
    background-color: #1976D2;
}

/* Стили для ссылок в оглавлении */
.toc-container999 a {
    color: var(--primary-color, #1e5a3a);
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
}
.toc-container999 a:hover {
    text-decoration: none;
    color: var(--accent-color, #4caf50);
}

/* Общие стили для ссылок в статье (если нужно) */
.article-content a {
    color: var(--primary-color, #1e5a3a);
    text-decoration: underline;
}
.article-content a:hover {
    text-decoration: none;
    color: var(--accent-color, #4caf50);
}

/* Стили для кнопок CTA (большие и яркие) */
.cta-button, .btn-order {
    display: inline-block;
    padding: 16px 32px !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2) !important;
    transition: all 0.3s ease !important;
    border: none;
    cursor: pointer;
    line-height: 1.5;
    min-width: 250px;
}
.cta-button {
    background: linear-gradient(135deg, #4caf50, #2e7d32) !important;
    color: #fff !important;
}
.cta-button:hover {
    background: linear-gradient(135deg, #2e7d32, #1b5e20) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3) !important;
}
.btn-order {
    background: linear-gradient(135deg, #2196F3, #1565C0) !important;
    color: #fff !important;
}
.btn-order:hover {
    background: linear-gradient(135deg, #1565C0, #0d47a1) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3) !important;
}

/* Ссылки в оглавлении – подчёркнутые */
.toc-container999 a {
    color: #1e5a3a;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
}
.toc-container999 a:hover {
    color: #4caf50;
    text-decoration: none;
}


/* Стили для навигации сайта 17 */
.site-header {
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: transparent;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo a {
    color: var(--primary-color, #333);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.main-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--primary-color, #333);
    text-decoration: none;
    padding: 8px 16px;
    background: #f0f0f0;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.main-nav a:hover {
    background: #e0e0e0;
    border-color: #aaa;
    text-decoration: underline;
    transform: translateY(-2px);
}

.main-nav a:active {
    transform: translateY(0);
}

.main-nav a.active {
    background: #d0d0d0;
    border-color: #999;
    font-weight: 600;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav {
        justify-content: center;
        gap: 8px;
    }
    
    .main-nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .main-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .main-nav a {
        text-align: center;
        width: 100%;
    }
}
