/* ===== ТЕМА 10 – СВЕТЛО-ЗЕЛЕНАЯ ГАММА (на основе темы 8) ===== */

:root {
    --primary-color: #1b5e20;        /* тёмно-зелёный (вместо #1a2b4c) */
    --accent-color: #4caf50;          /* яркий зелёный (вместо #4a6fa5) */
    --light-bg: #f1f8e9;              /* очень светлый зелёный фон (вместо #f5f7fa) */
    --white: #ffffff;
    --text-dark: #1e3a2f;              /* тёмно-зеленоватый для текста */
    --text-light: #4b6a4b;              /* приглушённый зелёный */
    --border-color: #c8e6c9;
    --shadow: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.6;
}
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo a { color: inherit; }
.nav-links {
    display: flex;
    gap: 25px;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.nav-links a:hover { color: var(--accent-color); }
.header-contacts { text-align: right; }
.phone { font-weight: 700; color: var(--primary-color); }

/* Hero (заголовок страницы) */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2e7d32 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Блок статистики (350+, 90%+, 2 дня) */
.hero-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}
.stat-card {
    flex: 1 1 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px 10px;
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
}
.stat-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); }
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #a5d6a7;  /* светло-зелёный */
    margin-bottom: 5px;
}
.stat-label {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.9;
}

/* Блок рейтингов (trust-section) */
.trust-section {
    background: var(--white);
    padding: 50px 0;
    border-bottom: 1px solid var(--border-color);
}
.trust-scroll {
    display: flex;
    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);
    border-radius: 50px;
    transition: all 0.3s;
}
.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.trust-score {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
}
.trust-stars {
    color: #fbbf24;
    font-size: 1rem;
}
.trust-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

/* Преимущества (advantages) */
.advantages {
    padding: 60px 0;
    background: var(--light-bg);
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-tag {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}
.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    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(--white);
    padding: 30px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
}
.adv-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.adv-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}
.adv-card h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.adv-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Тарифы (services) */
.services {
    padding: 60px 0;
    background: var(--white);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.service-card {
    background: var(--light-bg);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    position: relative;
}
.service-card:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}
.service-card.popular {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, #fff, var(--light-bg));
}
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}
.service-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
}
.service-period {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 25px;
}
.service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}
.service-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-list li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: 700;
}
.service-list li.no {
    color: #adb5bd;
}
.service-list li.no::before {
    content: "✕";
    color: #adb5bd;
}
.service-card .btn { width: 100%; }

/* Отзывы (testimonials) */
.testimonials {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), #2e7d32);
    color: #fff;
}
.testimonials .section-title { color: #fff; }
.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);
    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: #fbbf24;
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #fff;
    opacity: 0.95;
}
.testimonial-author {
    font-weight: 700;
    color: #a5d6a7; /* светло-зелёный */
    font-size: 1rem;
}
.testimonials p { color: #fff; text-align: center; font-size: 1.1rem; }

/* FAQ */
.faq {
    padding: 60px 0;
    background: var(--light-bg);
}
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}
.faq-item {
    background: var(--white);
    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: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
}
.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 300;
}
.faq-question.active::after { content: "−"; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    color: var(--text-light);
    padding: 0 20px;
}
.faq-answer p {
    padding-bottom: 20px;
    line-height: 1.7;
}

/* Форма заказа (hero-form и order-form) */
.hero-form,
.order-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
}
.hero-form h3,
.order-form h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-light);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}
.hero-form .btn,
.order-form button[type="submit"] {
    width: 100%;
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}
.hero-form .btn:hover,
.order-form button[type="submit"]:hover {
    background: var(--primary-color);
}
.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 15px;
}

/* Карточки тем на главной */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}
.topic-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    transition: transform 0.3s;
}
.topic-card:hover { transform: translateX(5px); }
.topic-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.topic-title {
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-dark);
}
.topic-title a { color: inherit; text-decoration: none; }
.topic-title a:hover { color: var(--accent-color); }

/* CTA-блоки (используются в статьях) */
.cta-block {
    background: #e8f5e9;
    border-left: 4px solid var(--accent-color);
    padding: 20px;
    border-radius: var(--radius);
    margin: 25px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.cta-block p { margin: 0 0 10px; }
.cta-block a { color: var(--accent-color); font-weight: 600; }
.cta-block .btn {
    background: var(--accent-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
}

/* Блок доверия (trust-block) */
.trust-block {
    background: #e8f5e9;
    border-left: 4px solid #43a047;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}
.trust-block h3 { color: #2e7d32; margin-top: 0; }
.trust-block ul {
    columns: 2;
    column-gap: 40px;
    list-style: none;
    padding-left: 0;
}
.trust-block li {
    margin-bottom: 10px;
    break-inside: avoid;
    display: flex;
    align-items: center;
    gap: 10px;
}
.trust-block li::before {
    content: "✓";
    color: #43a047;
    font-weight: 700;
}
@media (max-width: 600px) { .trust-block ul { columns: 1; } }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background: var(--accent-color);
    color: #fff;
}
.btn-primary:hover { background: var(--primary-color); }
.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}
.btn-secondary:hover {
    background: var(--accent-color);
    color: #fff;
}
.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Подвал */
.site-footer {
    background: var(--primary-color);
    color: #b0c4de;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #b0c4de; text-decoration: none; }
.footer-col ul li a:hover { color: #a5d6a7; }
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2e7d32;
    color: #8a9bb5;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; gap: 10px; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .stat-number { font-size: 2.5rem; }
    .trust-scroll { gap: 20px; }
    .trust-badge { padding: 12px 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 480px) {
    .trust-badge { width: 100%; justify-content: center; }
}

/* Стили для страницы блога */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}
.blog-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.blog-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}
.blog-card h3 a {
    text-decoration: none;
    color: var(--primary-color, #333);
}
.blog-card h3 a:hover {
    text-decoration: underline;
}
.blog-meta {
    font-size: 0.9rem;
    color: #666;
}
@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* Стили для навигации сайта 16 */
.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%;
    }
}
