/* --- 1. ОСНОВНОЙ БЛОК --- */
.seo-hero-block-dynamic {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;width: 100vw
}

.hero-dark-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.85) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

/* --- ВАЖНОЕ ИСПРАВЛЕНИЕ: Базовый контейнер --- */
/* Этот стиль вернет нормальную ширину всем остальным блокам (Ценам, FAQ и т.д.) */
.seo-container-1290 {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 1px;
    box-sizing: border-box;
    /* Убираем глобальный flex/center, чтобы другие блоки не сжимались */
    display: block; 
}

/* А вот тут включаем центрирование ТОЛЬКО для первого экрана */
.seo-hero-block-dynamic .seo-container-1290 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 115px 20px;
}

/* --- 2. ТИПОГРАФИКА --- */
.hero-breadcrumbs {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.15);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.2);
}
.hero-breadcrumbs a { color: #e2e8f0; text-decoration: none; }
.hero-breadcrumbs span { color: #fff; }

.seo-hero-title {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hero-rating-box {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    padding: 5px 15px;
    border-radius: 8px;
    display: inline-block;
}
.kksr-legend { color: #ddd !important; }

.seo-hero-desc {
    font-size: 19px;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 40px auto;
    color: #e2e8f0;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- 3. КНОПКИ --- */
.hero-btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.btn-hero-call {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: #fff !important; text-decoration: none;
    font-size: 18px; font-weight: 700; padding: 16px 35px;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
    transition: transform 0.3s;
    border: 2px solid transparent;
    animation: pulse-border 2s infinite;
}
.btn-hero-call:hover { transform: translateY(-3px); background: linear-gradient(90deg, #ff6b6b, #ee5253); }

.btn-hero-anchor {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important; text-decoration: none;
    font-size: 16px; font-weight: 600; padding: 16px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.btn-hero-anchor:hover { background: #fff; color: #0f172a !important; border-color: #fff; transform: translateY(-3px); }

@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* --- 4. ИКОНКИ (В РЯД) --- */
.glass-socials-wrapper {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50px !important;
    display: inline-flex !important; 
    flex-direction: row !important; 
    align-items: center !important;
    gap: 20px !important;
    padding: 10px 30px !important;
}

.glass-text {
    color: #fff !important;
    margin-bottom: 0 !important;
    margin-right: 5px !important;
    font-size: 14px !important;
    white-space: nowrap;
}

.glass-icons-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 15px !important;
}

.glass-icon-item img {
    width: 35px !important;
    height: 35px !important;
    margin-bottom: 0 !important;
    display: block;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ --- */
/* --- АДАПТИВ (МОБИЛЬНЫЕ) --- */
@media (max-width: 768px) {
    
    /* Превращаем контейнер кнопок в сетку */
    .hero-btn-group {
        display: grid !important;
        grid-template-columns: 1fr 1fr; /* Делим на 2 равные колонки */
        gap: 10px; /* Расстояние между кнопками */
        width: 100%;
        flex-direction: unset; /* Сбрасываем старый флекс */
    }

    /* Кнопка телефона (Красная/Синяя) */
    .btn-hero-call {
        grid-column: 1 / -1; /* Растянуть на всю ширину (на обе колонки) */
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 5px; /* Чуть отступить от нижних кнопок */
        justify-content: center;
    }

    /* Кнопки якоря (Цены/Отзывы) */
    .btn-hero-anchor {
        width: 100%; /* Заполнить свою ячейку */
        padding: 12px 5px; /* Чуть меньше отступы, чтобы влез текст */
        font-size: 14px; /* Чуть меньше шрифт */
        box-sizing: border-box;
        white-space: nowrap; /* Текст в одну строку */
    }
    
    /* Остальные стили мобильной версии (если были) */
    .seo-hero-title { font-size: 32px; margin-bottom: 10px; }
    .seo-hero-desc { font-size: 16px; margin-bottom: 30px; }
    .hero-no-service-msg { grid-column: 1 / -1; } /* Заглушка тоже на всю ширину */
}
/* --- Секция (СВЕТЛЫЙ ФОН) --- */
.details-section {
    padding: 25px 15px;
    background: #fdfdfd; /* Возвращаем светлый фон сайту */
    position: relative;
}

.details-container {
    width: 100%;
    max-width: 1290px;
    margin: 0 auto;
    padding: 0 1px;
    box-sizing: border-box;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px;
}

/* --- СТИЛЬ КАРТОЧЕК (ТЕМНЫЕ БЛОКИ) --- */
.detail-card {
    /* Темный фон только внутри карточек */
    background: #0f172a;
    background-image: radial-gradient(circle at 100% 0%, #1e293b 0%, #0f172a 80%);
    border-radius: 20px;
    padding: 30px;
    /* Тень, чтобы они парили над светлым фоном */
    box-shadow: 0 15px 40px rgba(0,0,0,0.1); 
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* Эффект при наведении */
.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Заголовки внутри темных карточек */
.card-title {
    font-size: 14px;
    color: #94a3b8; /* Светло-серый, читается на темном */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    display: inline-block;
    width: 100%;
}

/* --- 1. Карточка Верификации --- */
.card-verified {
    border-left: 4px solid #2ecc71;
}
/* Легкая подсветка для верификации */
.card-verified::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative; z-index: 2;
}

.verified-badge img {
    width: 45px; height: 45px; object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.4));
}

.verified-text h3 {
    margin: 0; font-size: 18px; color: #2ecc71; font-weight: 800;
}
.verified-text span {
    font-size: 12px; color: #cbd5e1;
}

.address-row {
    font-size: 16px; font-weight: 600; color: #fff;
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.5;
    position: relative; z-index: 2;
}

/* --- 2. График работы --- */
.time-list {
    list-style: none; padding: 0; margin: 0;
}
.time-list li {
    display: flex; justify-content: space-between; margin-bottom: 12px;
    font-size: 15px; color: #cbd5e1;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
    padding-bottom: 5px;
}
.time-list li strong { color: #fff; font-weight: 600; }

/* --- 3. Реквизиты --- */
.legal-info p {
    margin: 0 0 12px 0; font-size: 14px; color: #cbd5e1; line-height: 1.5;
}
.legal-info strong {
    color: #fff; display: block; margin-bottom: 3px; font-size: 15px;
}
.legal-partner-badge {
    font-size: 12px; color: #5cefbb; margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 10px; font-style: italic;
}

/* --- 4. Акция (Фиолетовая) --- */
.card-promo {
    /* Делаем её отличной от других - яркий градиент */
    background: linear-gradient(135deg, #5c7de7, #44ad83);
    border: none;
    box-shadow: 0 10px 30px rgba(142, 68, 173, 0.3);
}
.card-promo .card-title {
    color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3);
}
.promo-content {
    text-align: center; margin-top: auto; margin-bottom: auto;
}
.promo-percent {
    font-size: 52px; font-weight: 900; line-height: 1; margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3); color: #fff;
}
.promo-desc {
    font-size: 16px; font-weight: 600; opacity: 0.9; color: #fff;
}
/* --- Секция цен --- */
.pricing-section {
    padding: 25px 15px;
    background: #ffffff;
}

/* Заголовок блока */
.pricing-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    text-transform: uppercase;
}

/* --- Обертка таблицы (для красивой тени и скругления) --- */
.pricing-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); /* Мягкая тень */
    overflow: hidden; /* Чтобы углы таблицы не вылезали за скругление */
    border: 1px solid #eee;
}

/* Сама таблица */
.seo-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

/* Шапка таблицы */
.seo-price-table thead th {
    background: #2c3e50; /* Темно-синий профессиональный цвет */
    color: #fff;
    text-align: left;
    padding: 20px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

/* Ячейки тела таблицы */
.seo-price-table tbody td {
    padding: 18px 30px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    transition: background 0.2s;
}

/* Жирный текст для цен */
.price-value {
    font-weight: 700;
    color: #222;
    white-space: nowrap; /* Чтобы цена не переносилась на новую строку */
}

/* Зебра (чередование цветов строк) */
.seo-price-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Эффект наведения на строку */
.seo-price-table tbody tr:hover {
    background-color: #f0f4f8; /* Легкий голубоватый оттенок при наведении */
    cursor: default;
}

/* Последняя линия без рамки */
.seo-price-table tbody tr:last-child td {
    border-bottom: none;
}

/* --- Блок примечания (внизу) --- */
.price-disclaimer {
    margin-top: 30px;
    background: #fff8e1; /* Светло-желтый фон внимания */
    border-left: 5px solid #ffc107; /* Желтая полоска */
    padding: 20px;
    border-radius: 8px;
    font-size: 15px;
    color: #5d4037;
    display: flex;
    align-items: center;
    gap: 15px;
}

.disclaimer-icon {
    font-size: 24px;
}

/* --- Адаптив --- */
@media (max-width: 768px) {
    .pricing-title { font-size: 26px; }
    .seo-price-table thead { display: none; } /* Скрываем шапку на моб */
    
    .seo-price-table tbody td {
        display: block;
        padding: 10px 20px;
        text-align: right; /* Цена справа */
    }
    
    .seo-price-table tbody td:first-child {
        text-align: left; /* Название услуги слева */
        font-weight: 600;
        padding-top: 20px;
        border-bottom: none;
    }
    
    .seo-price-table tbody td:last-child {
        padding-bottom: 20px;
        color: #35997b; /* Цена красным на мобилках для акцента */
    }
    
    .price-disclaimer {
        flex-direction: column;
        text-align: center;
    }
}
/* --- 1. Внешняя оболочка (Тянется на 100% экрана) --- */
.consultation-full-section {
    width: 100%;
    /* Темный градиент во всю ширину */
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    padding: 80px 0; /* Отступы сверху и снизу */
    position: relative;
    overflow: hidden; /* Обрезает декоративный круг */
}

/* Декоративный круг на фоне */
.consultation-full-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px; /* Сдвигаем вправо */
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.04); /* Едва заметный круг */
    border-radius: 50%;
    pointer-events: none;
}

/* --- 2. Внутренний контейнер (Держит контент в 1290px) --- */
/* (Используем уже созданный нами класс seo-container-1290, 
   стили для него уже есть в прошлых блоках, но на всякий случай 
   я продублирую логику flex-контейнера ниже) */

.consult-flex-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 2; /* Чтобы текст был НАД кругом */
}

/* --- Текстовая часть --- */
.consult-text-full {
    flex: 1; /* Занимает всё свободное место */
}

.consult-text-full h3 {
    font-size: 38px;
    margin: 0 0 20px 0;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
}

.consult-text-full p {
    font-size: 18px;
    margin: 0;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

/* --- Правая часть (Кнопки) --- */
.consult-actions-full {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Кнопки прижаты влево внутри блока */
    gap: 25px;
    min-width: 350px; /* Фиксированная ширина для блока кнопок */
}

/* Большая белая кнопка */
.btn-white-full {
    background: #fff;
    color: #2c3e50 !important;
    font-weight: 800;
    font-size: 20px;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Тень побольше */
    transition: all 0.3s ease;
}
.btn-white-full:hover {
    background: #f1f2f6;
    transform: translateY(-4px); /* Подпрыгивание */
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* --- Адаптив --- */
@media (max-width: 992px) {
    .consult-flex-wrapper {
        flex-direction: column; /* Одна колонка */
        text-align: center;
    }
    
    .consult-actions-full {
        align-items: center; /* Центрируем кнопки */
        width: 100%;
        min-width: auto;
        margin-top: 30px;
    }
    
    .consult-text-full h3 { font-size: 28px; }
}
/* --- Секция "Веселого" SEO текста --- */
.modern-seo-section {
    padding: 80px 0;
    /* Стильный фон: белая бумага с легкими точками */
    background-color: #ffffff;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

/* Контейнер текста */
.modern-text-wrapper {
    background: #fff; /* Белая подложка под сам текст */
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.05); /* Мягкое свечение */
    position: relative;
}

/* Эффект "Закладки" сверху */
.modern-text-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 40px;
    width: 60px;
    height: 10px;
    background: #e74c3c;
    border-radius: 5px;
}
.modern-text-wrapper::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 110px;
    width: 30px;
    height: 10px;
    background: #f1c40f;
    border-radius: 5px;
}

/* Заголовки */
.modern-text-wrapper h2 {
    font-size: 34px;
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 30px;
    color: #222;
    letter-spacing: -0.5px;
}

.modern-text-wrapper h3 {
    font-size: 24px;
    font-weight: 800;
    color: #333;
    margin-top: 50px;
    margin-bottom: 25px;
    display: inline-block;
    border-bottom: 3px solid #f1c40f; /* Подчеркивание желтым */
}

/* Буквица (Первая буква большая) */
.drop-cap::first-letter {
    font-size: 3.5em;
    float: left;
    margin-right: 15px;
    margin-top: -10px;
    line-height: 0.8;
    color: #e74c3c;
    font-weight: 900;
}

/* --- Стили для Галереи (Шорткод) --- */
.modern-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Авто-сетка */
    gap: 15px;
    margin: 40px 0;
}

.gallery-item {
    height: 250px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}
.gallery-item:hover {
    transform: scale(1.03) rotate(1deg); /* Легкий наклон при наведении */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    z-index: 2;
}

/* --- Списки-карточки --- */
.modern-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
    list-style: none;
    margin: 30px 0;
}

.modern-list li {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #3498db;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
}
.modern-list li:hover {
    background: #f0f8ff;
}

/* Выделенный блок цитаты */
.fun-quote {
    background: #2c3e50;
    color: #fff;
    padding: 30px;
    border-radius: 0 20px 0 20px; /* Скошенные углы */
    font-style: italic;
    margin: 40px 0;
    position: relative;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1); /* Жесткая тень */
}
.fun-quote::before {
    content: '❝';
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: 20px;
    color: #f1c40f;
}

/* Адаптив */
@media (max-width: 992px) {
    .modern-text-wrapper { padding: 30px 20px; }
    .modern-list { grid-template-columns: 1fr; }
    .modern-seo-section { background-size: 10px 10px; } /* Мелкие точки на мобиле */
}
/* --- Секция FAQ (DARK MODE) --- */
.faq-section {
    padding: 25px 15px;
    /* Глубокий темный фон с градиентом */
    background: #0f172a;
    background-image: radial-gradient(circle at 50% 100%, #1e293b 0%, #0f172a 80%);
    color: #e2e8f0; /* Основной цвет текста - светло-серый */
}

/* Заголовок секции */
.faq-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.faq-header h2 {
    font-size: 36px;
    font-weight: 900;
    color: #fff; /* Белый заголовок */
    margin-bottom: 15px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.faq-header p {
    font-size: 18px;
    color: #94a3b8; /* Чуть темнее для подзаголовка */
}

/* --- Стили Аккордеона (Dark Glass) --- */
.faq-item {
    background: rgba(255, 255, 255, 0.03); /* Прозрачный фон */
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая светлая рамка */
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Эффект при наведении */
.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* Сам переключатель (Вопрос) */
.faq-item summary {
    padding: 20px 30px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    list-style: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }

/* Иконка Плюса */
.faq-item summary::after {
    content: '+';
    font-size: 28px;
    color: #3498db; /* Синий акцент */
    font-weight: 300;
    transition: transform 0.3s ease;
    line-height: 1;
}

/* --- Состояние: ОТКРЫТО --- */
.faq-item details[open] summary {
    /* Легкая подсветка фона при открытии */
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #3498db; /* Заголовок синеет */
}

.faq-item details[open] summary::after {
    transform: rotate(45deg); 
    color: #e74c3c; /* Крестик краснеет */
}

/* Ответ (текст внутри) */
.faq-answer {
    padding: 25px 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #cbd5e1; /* Светло-серый текст для чтения */
    background: transparent;
}
.faq-answer p { margin: 0; }
.faq-answer strong { color: #fff; }

/* Подвал блока */
.faq-footer {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    color: #64748b;
}
.faq-footer a {
    color: #3498db;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dashed #3498db;
    transition: 0.2s;
}
.faq-footer a:hover {
    color: #fff;
    border-color: #fff;
}

/* Адаптив */
@media (max-width: 768px) {
    .faq-header h2 { font-size: 28px; }
    .faq-item summary { padding: 15px 20px; font-size: 16px; }
    .faq-answer { padding: 15px 20px; }
}
/* --- КОНТЕЙНЕР --- */
.reviews-split-section { padding: 25px 15px; background: #fff; }
.reviews-split-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.reviews-left-col { width: 100%; }
.reviews-header-left { margin-bottom: 30px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.reviews-header-left h2 { font-size: 32px; font-weight: 900; color: #2c3e50; margin: 0; text-transform: uppercase; }
.btn-trigger-review { background: #e74c3c; color: #fff; border: none; padding: 12px 25px; border-radius: 50px; font-weight: bold; cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: 0.3s; text-decoration: none; }
.btn-trigger-review:hover { background: #c0392b; transform: translateY(-2px); color: #fff; }
.reviews-grid-container { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review-card-grid { background: #fdfdfd; border: 1px solid #eee; border-radius: 12px; padding: 25px; transition: transform 0.2s; display: flex; flex-direction: column; }
.review-card-grid:hover { background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transform: translateY(-3px); border-color: #3498db; }
.author-row { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.avatar-circle { width: 45px; height: 45px; border-radius: 50%; background: #ddd; color: #fff; font-weight: bold; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.author-meta h4 { margin: 0; font-size: 15px; color: #333; }
.stars-static { color: #f1c40f; font-size: 13px; letter-spacing: 1px; }
.review-body { font-size: 15px; color: #555; line-height: 1.5; font-style: italic; }
.review-date-label { margin-top: auto; padding-top: 15px; font-size: 12px; color: #aaa; text-align: right; }
.reviews-right-col { position: -webkit-sticky; position: sticky; top: 40px; z-index: 10; }
.form-sticky-wrapper { background: #fff; border: 1px solid #e0e0e0; box-shadow: 0 10px 40px rgba(0,0,0,0.08); border-radius: 16px; padding: 30px; position: relative; min-height: 400px; }
.form-sticky-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, #3498db, #2ecc71); border-radius: 16px 16px 0 0; }
.sticky-title { font-size: 22px; font-weight: 800; margin-bottom: 5px; color: #2c3e50; text-align: center; }
.sticky-subtitle { font-size: 13px; color: #7f8c8d; text-align: center; margin-bottom: 20px; }
.form-compact-group { margin-bottom: 15px; }
.form-compact-input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 14px; box-sizing: border-box; font-family: inherit; }
.form-compact-input:focus { border-color: #3498db; outline: none; }
.rating-compact { display: flex; flex-direction: row-reverse; justify-content: center; margin-bottom: 5px; }
.rating-compact input { display: none; }
.rating-compact label { font-size: 32px; color: #ccc; cursor: pointer; padding: 0 2px; transition: 0.2s; }
.rating-compact input:checked ~ label, .rating-compact label:hover, .rating-compact label:hover ~ label { color: #f1c40f; }
.rating-label-text { text-align: center; font-size: 12px; color: #999; margin-bottom: 15px; }
.policy-checkbox-wrapper { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: #666; margin-bottom: 20px; line-height: 1.4; }
.policy-checkbox-wrapper input { margin-top: 3px; cursor: pointer; }
.policy-checkbox-wrapper a { color: #3498db; text-decoration: underline; }
.btn-submit-sticky { width: 100%; background: #27ae60; color: white; padding: 14px; border: none; border-radius: 6px; font-weight: bold; cursor: pointer; font-size: 16px; transition: 0.3s; position: relative; display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit-sticky:hover { background: #219150; }
.btn-submit-sticky:disabled { background: #95a5a6; cursor: not-allowed; opacity: 0.7; }
.spinner { display: none; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,0.3); border-radius: 50%; border-top-color: #fff; animation: spin 0.8s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-overlay { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 20; border-radius: 16px; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 30px; box-sizing: border-box; }
.success-icon { font-size: 50px; margin-bottom: 20px; display: block; }
.success-title { font-size: 24px; font-weight: 800; color: #27ae60; margin-bottom: 10px; }
.success-text { color: #555; font-size: 16px; }
@media (max-width: 992px) { .reviews-split-wrapper { grid-template-columns: 1fr; } .reviews-right-col { display: none; margin-top: 30px; } .reviews-right-col.mobile-active { display: block; animation: fadeIn 0.5s; } .btn-trigger-review { width: 100%; justify-content: center; } .reviews-grid-container { grid-template-columns: 1fr; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
/* Секция */
.auto-services-section {
    padding: 30px 10px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.auto-services-header h3 {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Сетка */
.auto-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* Карточка */
.auto-service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 150px; /* Чуть увеличил высоту */
    position: relative;
    border: 1px solid #eee;
    z-index: 1;
}

.auto-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #3498db;
}

/* Обёртка для картинки */
.card-img-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    background: #fff;
}

/* ГРАДИЕНТ-МАСКА (Новое) */
/* Делает картинку белой внизу, чтобы текст читался */
.card-img-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Градиент: Сверху прозрачно, снизу белый цвет */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 30%, rgba(255,255,255,0.9) 70%, #ffffff 100%);
    z-index: 1;
}

/* Реальная картинка */
.service-real-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0.6; /* Сделал чуть ярче, так как теперь есть градиент */
    transition: 0.5s;
}

/* Эффект при наведении */
.auto-service-card:hover .service-real-img {
    opacity: 0.8; 
    transform: scale(1.1); 
}

/* Название услуги */
.service-title {
    position: relative;
    z-index: 2; /* Текст поверх градиента */
    margin-top: auto;
    padding: 15px;
    font-weight: 700;
    font-size: 15px;
    color: #2c3e50; /* Темно-синий текст, читается отлично на белом */
    line-height: 1.3;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8); /* Легкая обводка на всякий случай */
}
.auto-service-card:hover .service-title {
    color: #3498db;
}

/* Адаптив */
@media (max-width: 768px) {
    .auto-services-grid {
        grid-template-columns: 1fr 1fr;
    }
}
    /* Стили для ссылки email */
    .email-link {
        color: #fff;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        transition: all 0.3s;
    }
    .email-link:hover {
        color: #2ecc71; /* Зеленый при наведении */
        border-color: #2ecc71;
    }

/* --- СЕКЦИЯ КАТАЛОГА --- */
.product-catalog-section {
    padding: 60px 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.catalog-header {
    text-align: center;
    margin-bottom: 40px;
}
.catalog-title {
    font-size: 32px;
    font-weight: 900;
    color: #2c3e50;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.catalog-subtitle {
    font-size: 16px;
    color: #7f8c8d;
}

/* --- СЕТКА (GRID 4 в ряд) --- */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* --- КАРТОЧКА ТОВАРА --- */
.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: #3498db;
}

/* Область картинки */
.prod-img-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f0f2f5;
}

.prod-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .prod-img-wrap img {
    transform: scale(1.1);
}

/* Текстовая часть */
.prod-content {
    padding: 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.prod-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

/* Кнопка "Рассчитать" */
.btn-calc-prod {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 10px 0;
    border: 1px solid #3498db;
    border-radius: 6px;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
    background: transparent;
    cursor: pointer;
}

.btn-calc-prod:hover {
    background: #3498db;
    color: #fff;
}

/* --- АДАПТИВ --- */
@media (max-width: 1100px) {
    .catalog-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .catalog-title { font-size: 26px; }
}
@media (max-width: 480px) {
    .catalog-grid { grid-template-columns: 1fr; }
}
.hero-no-service-msg {background: #01010166;padding: 20px;border: 3px dashed #ffa500;border-radius: 16px;}