/* --- 1. ПЕРЕМЕННЫЕ И БАЗА --- */
:root {
    --primary-color: #6C63FF; /* Сиреневый */
    --secondary-color: #FF6584; /* Розовый */
    --accent-color: #F9A826; /* Желтый */
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9f9fb;
    --vk-color: #0077FF;
    --footer-bg: #2D285A;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 { font-family: 'Comfortaa', cursive; font-weight: 700; margin-bottom: 10px; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

/* --- 2. ШАПКА --- */
.header {
    background: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Comfortaa', cursive; font-size: 1.5rem; font-weight: bold; color: var(--primary-color); display: flex; align-items: center; gap: 8px;}

.nav-menu { display: flex; align-items: center; }
.nav-menu a { margin: 0 15px; font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover, .nav-menu a.active { color: var(--secondary-color); }

/* Гамбургер */
.menu-toggle { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.bar { height: 3px; width: 25px; background-color: var(--primary-color); border-radius: 5px; transition: 0.3s; }

/* --- 3. HERO (ГЛАВНЫЙ ЭКРАН) --- */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 100px 0;
    color: var(--white);
    border-radius: 0 0 50px 50px; /* Красивое закругление снизу */
    margin-bottom: 40px;
}

.hero-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hero-text { flex: 1; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; text-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.95; max-width: 600px; }

/* Иконка Зонтика */
.hero-icon { 
    flex: 1; text-align: center; font-size: 14rem; 
    color: rgba(255, 255, 255, 0.25); transform: rotate(-10deg); 
}

/* Заголовки страниц */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}
.page-header h1 { font-size: 2.5rem; }

/* --- 4. КНОПКИ И КАРТОЧКИ --- */
.btn { display: inline-block; padding: 12px 28px; border-radius: 50px; font-weight: 600; cursor: pointer; border: none; font-family: 'Comfortaa', cursive; }
.btn-white { background-color: white; color: var(--primary-color); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.btn-primary { background-color: var(--secondary-color); color: var(--white); }
.btn-primary:hover { background-color: #ff476c; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 101, 132, 0.4); }

.btn-outline { border: 2px solid var(--primary-color); color: var(--primary-color); background: transparent; padding: 10px 24px; }
.btn-outline:hover { background: var(--primary-color); color: var(--white); }
.btn-full { width: 100%; text-align: center; }
.mobile-btn { display: none; }

/* Сетки */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Карточки */
.card {
    background: white; padding: 30px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s;
    position: relative; overflow: hidden; border: 1px solid #f0f0f0;
}
.card:hover { transform: translateY(-7px); cursor: pointer; box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.program-card { border-bottom: 5px solid var(--primary-color); }
.age-badge { background: var(--accent-color); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; margin-bottom: 15px; display: inline-block; font-weight: bold; }
.card-link { color: var(--primary-color); font-weight: bold; font-size: 0.9rem; margin-top: 15px; display: block; }

/* Иконки преимуществ */
.feature-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 20px; }

/* Учителя (маленькие фото на странице) */
.teacher-photo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 20px; background-color: #eee; background-size: cover; background-position: center; border: 4px solid var(--bg-light); }

/* Инфо блоки */
.highlight-box { background: #fff5d1; padding: 30px; border-radius: 20px; margin: 40px 0; border-left: 5px solid var(--accent-color); }
.parents-box { background: var(--bg-light); text-align: center; padding: 50px 30px; margin-top: 40px; border-radius: 20px; }

/* --- 5. МОДАЛЬНЫЕ ОКНА (БАЗОВЫЕ) --- */
.modal {
    display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(5px); animation: fadeIn 0.3s;
}
.modal-content {
    background-color: #fefefe; margin: 5% auto; padding: 40px; 
    width: 90%; max-width: 650px; border-radius: 20px; position: relative; animation: slideUp 0.3s;
}
.close-btn { color: #aaa; float: right; font-size: 28px; font-weight: bold; cursor: pointer; position: absolute; right: 20px; top: 15px; }
.close-btn:hover { color: var(--secondary-color); }
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }
@keyframes slideUp { from {transform: translateY(50px); opacity: 0;} to {transform: translateY(0); opacity: 1;} }

/* --- 6. СПЕЦИАЛЬНЫЕ СТИЛИ ДЛЯ МОДАЛКИ ПРЕПОДАВАТЕЛЕЙ (ФОТО + ТЕКСТ) --- */
.modal-split {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.modal-img-container {
    flex: 0 0 250px; /* Фиксированная ширина фото */
    text-align: center;
}
.modal-full-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.modal-text-content {
    flex: 1; 
    max-height: 400px;
    overflow-y: auto; /* Прокрутка для текста */
    padding-right: 10px;
}
/* Красивый скроллбар для текста */
.modal-text-content::-webkit-scrollbar { width: 6px; }
.modal-text-content::-webkit-scrollbar-track { background: #f1f1f1; }
.modal-text-content::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }


/* --- 7. ПОДВАЛ --- */
.main-footer { background-color: var(--footer-bg); color: #ffffff; padding: 60px 0 20px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--secondary-color); }
.footer-col ul li { margin-bottom: 10px; font-size: 0.95rem; opacity: 0.8; }
.footer-col ul li a:hover { color: var(--secondary-color); opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding-top: 20px; font-size: 0.8rem; opacity: 0.6; }

/* --- 8. КОНТАКТЫ И ФОРМА --- */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 50px; }
.contact-info, .contact-form-wrapper { flex: 1; min-width: 300px; }
.contact-list li { margin-bottom: 20px; display: flex; align-items: center; gap: 15px; font-size: 1.1rem; }
.contact-list i { color: var(--secondary-color); font-size: 1.2rem; }

/* Стили полей ввода */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee; /* Светлая рамка */
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.contact-form textarea { resize: vertical; }

/* При наведении и фокусе */
.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

/* ОШИБКИ ВАЛИДАЦИИ */
.contact-form input.input-error {
    border-color: #ff476c; /* Красная рамка */
    background-color: #fff0f3;
}
.error-text {
    color: #ff476c;
    font-size: 0.8rem;
    margin-top: 5px;
    display: block;
    font-weight: bold;
}

/* --- 9. АДАПТИВ --- */
@media (max-width: 768px) {
    .menu-toggle { display: flex; z-index: 1002; }
    .desktop-btn { display: none; }
    .nav-menu {
        display: flex; flex-direction: column; position: fixed; left: -100%; top: 0; width: 100%; height: 100vh;
        background-color: white; text-align: center; transition: 0.3s; padding-top: 80px; z-index: 1001;
    }
    .nav-menu.active { left: 0; }
    .nav-menu a { margin: 15px 0; font-size: 1.2rem; display: block; }
    .mobile-btn { display: inline-block; margin-top: 20px; width: 80%; margin-left: auto; margin-right: auto; }
    
    .menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

    .hero { text-align: center; padding: 60px 0; border-radius: 0 0 30px 30px; }
    .hero-wrapper { flex-direction: column-reverse; }
    .hero-icon { font-size: 8rem; display: none; } /* Скрываем на телефоне, чтобы не мешал */
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons .btn { width: 100%; margin: 5px 0; text-align: center; }

    /* Адаптив для модалки учителей */
    .modal-split { flex-direction: column; align-items: center; }
    .modal-img-container { width: 100%; max-width: 300px; margin-bottom: 20px; flex: auto; }
    .modal-full-photo { height: 300px; }
}

/* --- СТИЛИ ДЕТАЛЬНОЙ СТРАНИЦЫ (КАРТОЧКА) --- */

/* Хлебные крошки */
.breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Макет страницы (Сетка) */
.detail-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* Левая колонка (Фото + Инфо) */
.detail-side {
    flex: 0 0 320px; /* Ширина колонки */
    width: 320px;
}

.detail-photo {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

/* Список характеристик под фото */
.detail-list div {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    color: var(--text-dark);
}

.detail-list strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: 'Comfortaa', cursive;
}

/* Правая колонка (Текст) */
.detail-main {
    flex: 1;
}

.detail-main h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.detail-main h3 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.detail-main p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
    font-size: 1.1rem;
}

.detail-main ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.detail-main ul li {
    margin-bottom: 10px;
    color: #555;
}

/* АДАПТИВ ДЛЯ ДЕТАЛЬНОЙ СТРАНИЦЫ */
@media (max-width: 900px) {
    .detail-layout {
        flex-direction: column;
    }
    
    .detail-side {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .detail-photo {
        max-width: 400px;
        height: 400px;
    }

    .detail-list {
        width: 100%;
        max-width: 400px;
        background: #f9f9f9;
        padding: 20px;
        border-radius: 15px;
        margin-top: 20px;
    }
}
/* --- НОВЫЙ СТИЛЬ ДЛЯ СТРАНИЦЫ ПРЕПОДАВАТЕЛЕЙ --- */

/* Секция Hero (Заголовок с хлебными крошками) */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0 100px; /* Чуть больше отступ снизу */
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero h1 { font-size: 3rem; margin-bottom: 15px; }
.page-hero p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; opacity: 0.95; }

/* Сетка карточек */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/* Карточка преподавателя (Новый дизайн) */
.teacher-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание по левому краю */
    text-align: left; 
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Квадратное фото */
.teacher-card__photo {
    width: 100%;
    height: 300px; /* Фиксированная высота */
    background-color: #eee;
    background-size: cover;
    background-position: center; /* По умолчанию центр, но можно менять через JS */
    border-radius: 15px;
    margin-bottom: 20px;
}

/* Тексты в карточке */
.teacher-card span {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.5px;
}

.teacher-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.teacher-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1; /* Чтобы кнопки были на одном уровне */
}

/* CTA Box (Блок призыва к действию внизу) */
.cta-box {
    background: #fff5d1; /* Светло-желтый фон */
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 60px;
    border: 2px solid var(--accent-color);
}

.cta-box h2 { color: var(--text-dark); margin-bottom: 10px; }
.cta-box p { color: #555; max-width: 500px; }

/* Адаптив для CTA */
@media (max-width: 768px) {
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .page-hero { padding: 60px 0 80px; }
    .page-hero h1 { font-size: 2.2rem; }
}

/* --- СТИЛИ ДЛЯ СТРАНИЦЫ ПРЕПОДАВАТЕЛЕЙ (КРУГИ + CTA) --- */

/* Секция Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0 80px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
}

.breadcrumbs {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero h1 { font-size: 3rem; margin-bottom: 15px; }
.page-hero p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; opacity: 0.95; }

/* Сетка */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Карточка преподавателя */
.teacher-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center; /* Центрируем всё */
    text-align: center;  /* Центрируем текст */
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* КРУГЛОЕ ФОТО (КРУПНОЕ) */
.teacher-card__photo_circle {
    width: 200px;  /* Было 150, стало 200 */
    height: 200px;
    border-radius: 50%;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    margin-bottom: 25px;
    border: 5px solid var(--bg-light); /* Красивая рамка */
}

/* Тексты в карточке */
.teacher-card span {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.5px;
}

.teacher-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.teacher-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* CTA Box (Блок внизу) */
.cta-box {
    background: #fff5d1;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    border: 2px solid var(--accent-color);
}

.cta-box h2 { color: var(--text-dark); margin-bottom: 10px; }
.cta-box p { color: #555; max-width: 500px; }

@media (max-width: 768px) {
    .cta-box { flex-direction: column; text-align: center; padding: 30px; }
}

/* Карточка преподавателя */
.teacher-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    
    /* Новые свойства для ссылки */
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit; /* Цвет текста остается черным */
    height: 100%; /* Чтобы карточки были одной высоты */
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* --- СТИЛИ ДЛЯ КАРТОЧЕК ПРОГРАММ (КОПИЯ УЧИТЕЛЕЙ) --- */

.program-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Круглое фото программы */
.program-card__photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    margin-bottom: 25px;
    border: 5px solid var(--bg-light);
}

.program-card span {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: block;
    letter-spacing: 0.5px;
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.program-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* --- УВЕЛИЧЕНИЕ КНОПКИ В CTA БЛОКЕ --- */
.cta-box .btn {
    padding: 20px 50px;       /* Увеличиваем размер самой кнопки */
    font-size: 1.2rem;        /* Увеличиваем размер текста */
    font-weight: 700;         /* Делаем жирнее */
    text-transform: uppercase;/* Делаем буквы заглавными (опционально) */
    letter-spacing: 1px;      /* Чуть раздвигаем буквы */
    box-shadow: 0 10px 30px rgba(255, 101, 132, 0.5); /* Большая красивая тень */
    transition: 0.3s;
}

.cta-box .btn:hover {
    transform: translateY(-5px) scale(1.05); /* При наведении чуть увеличивается */
    box-shadow: 0 15px 40px rgba(255, 101, 132, 0.7);
}

/* На мобильных чуть поменьше, чтобы влезала в экран */
@media (max-width: 768px) {
    .cta-box .btn {
        padding: 15px 30px;
        font-size: 1rem;
        width: 100%;
    }
}


/* --- НОВЫЕ БЛОКИ ДЛЯ ГЛАВНОЙ --- */

/* 1. Анимация Зонтика */
@keyframes float {
    0% { transform: translateY(0px) rotate(-10deg); }
    50% { transform: translateY(-20px) rotate(-5deg); }
    100% { transform: translateY(0px) rotate(-10deg); }
}

.hero-icon i {
    animation: float 4s ease-in-out infinite; /* Зонтик будет плавать */
}

/* 2. Фотогалерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    height: 250px;
    border-radius: 20px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
    transition: 0.4s;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* 3. Отзывы */
.review-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    position: relative;
}

.review-card::before {
    content: '“';
    font-family: serif;
    font-size: 5rem;
    color: var(--accent-color);
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

.review-text {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-author {
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eee;
}

/* 4. Блок статистики (Цифры) */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    padding: 40px 0;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

.stat-item p {
    color: var(--text-light);
    font-weight: bold;
}