/*
Theme Name: Brest24
Theme URI: https://brest24.by
Author: Ваше Имя
Description: Тема WordPress для справочника brest24.by
Version: 1.0
Text Domain: brest24
*/
/* 1. Блокируем любые попытки SiteOrigin добавить отрицательные margin через JS */
.siteorigin-panels-stretch, 
.panel-row-style, 
[data-stretch-type="full-width"], 
[data-stretch-type="full-width-stretch"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
}

/* 2. Убираем внутренние зазоры ячеек конструктора */
.panel-grid-cell {
    padding: 0 !important;
    margin: 0 !important;
}

/* 3. Центрируем подвал (на случай, если он внутри SiteOrigin или под ним) */
.b24-footer-content, .msk-footer-container {
    margin: 0 auto !important;
    float: none !important;
    display: block !important;
}

/* 4. Запрет на горизонтальный скролл (финальный щит) */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

/* Фикс для блоков, которые могут распирать сайт (Hero, Footer, Контейнеры) */
.b24-hero-section, 
.seo-hero-block-dynamic, 
.b24-about-hero,
#b24-footer-live, 
.glass-footer-section,
.msk-site-footer {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important; /* Обрезаем всё, что пытается вылезти вправо */
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: 0 !important;
}
/* 2. ИСПРАВЛЕНИЕ ВСЕХ ПОЛНОЭКРАННЫХ БЛОКОВ */
/* Заменяем vw на 100% для всех твоих главных секций */
.seo-hero-block-dynamic, 
.site-header, 
.glass-footer-section, 
.consultation-full-section,
#b24-footer-live {
    width: 100% !important; 
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* 3. ФИКС ДЛЯ ДИНАМИЧЕСКОГО КОНТЕЙНЕРА (чтобы не косило) */
.seo-container-1290 {
    width: 100%;
    max-width: 1290px !important;
    margin: 0 auto !important;
    display: block;
}
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
    /* Укажи здесь высоту своей шапки + 20px запаса */
    scroll-padding-top: 100px; 
}
.container {
    max-width: 1270px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- ХЕДЕР (ОБЩЕЕ) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out; /* Плавность исчезновения */
}

/* Класс для скрытия хедера при скролле вниз */
.site-header.header-hidden {
    transform: translateY(-100%);
}

/* Распорка, чтобы контент не прыгал под хедер. 
   Высоту нужно подбирать примерно под высоту вашего хедера */
.header-spacer {
    height: 55px; 
}

/* --- TOP BAR (САЙДБАР) --- */
.top-bar {
    background: #333;
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

/* --- ОСНОВНОЙ ХЕДЕР --- */
.main-header {
    padding: 15px 0;
    background: #fff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Логотип */
.site-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.site-branding a {
    text-decoration: none;
}

/* --- МЕНЮ (ДЕСКТОП) --- */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation ul li {
    margin-left: 1px;
    position: relative;
}

.main-navigation ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-navigation ul li a:hover {
    color: #0073aa; /* Цвет при наведении */
}

/* Скрываем бургер на десктопе */
.menu-toggle {
    display: none;
}

/* --- МОБИЛЬНАЯ ВЕРСИЯ (до 768px) --- */
@media screen and (max-width: 768px) {
    
    /* Уменьшаем распорку */
    .header-spacer {
        height: 60px; 
    }

    /* Показываем бургер */
    .menu-toggle {
        display: block;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
    }

    .menu-toggle .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: #333;
        transition: all 0.3s ease-in-out;
    }

    /* Анимация бургера в крестик */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Меню на мобильном */
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%; /* Спрятано справа */
        width: 80%; /* Ширина шторки */
        max-width: 300px;
        height: 100vh;
        background: #fff;
        padding-top: 80px; /* Отступ сверху */
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 998;
    }

    /* Когда меню открыто */
    .main-navigation.toggled {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
    }

    .main-navigation ul li {
        margin: 0;
        border-bottom: 1px solid #eee;
    }

    .main-navigation ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 18px;
    }
}

/* Настройка размера логотипа */
.b24-main-logo {
    display: block;
    max-height: 50px; /* Оптимальная высота для хедера */
    width: auto;      /* Ширина подстроится автоматически */
    object-fit: contain;
}
.b24-blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
    max-width: 100%; /* Чтобы не вылезали вправо */
}
/* Центрирование ссылки с логотипом */
.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

/* На мобильных можно сделать чуть меньше, если нужно */
@media (max-width: 768px) {
    .b24-main-logo {
        max-height: 40px;
    }
}
#primary-menu {
    display: flex;
    gap: 5px; /* Чуть меньше зазор, так как есть фон */
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

#primary-menu li a {
    text-decoration: none;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px; /* Внутренние отступы для "кнопки" */
    border-radius: 50px; /* Закругленные края */
    transition: all 0.3s ease;border-left: 1px solid #00000012;
}

/* Эффект при наведении */
#primary-menu li a:hover {
    background-color: #f3f4f6; /* Светло-серый фон */
    color: #22c55e; /* Зеленый текст */
    transform: translateY(-2px); /* Легкое всплытие вверх */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Легкая тень */
}
/* --- FOOTER BREST24 --- */
:root {
    --b24-bg: #0f172a;
    --b24-glass: rgba(255, 255, 255, 0.03);
    --b24-glass-border: rgba(255, 255, 255, 0.08);
    --b24-accent: #3b82f6;
    --b24-accent-green: #10b981;
    --b24-text-muted: #94a3b8;
    --b24-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#b24-footer-modern {
    position: relative;
    background:#191919;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 80px 0 30px;
    overflow: hidden;
    border-top: 1px solid var(--b24-glass-border);
}

/* Анимированные градиенты на фоне */
.footer-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.glow-1, .glow-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: b24_moveGlow 20s infinite alternate;
}

.glow-1 {
    background: var(--b24-accent);
    top: -10%;
    left: -5%;
}

.glow-2 {
    background: var(--b24-accent-green);
    bottom: -10%;
    right: -5%;
    animation-delay: -10s;
}

@keyframes b24_moveGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 50px); }
}

.b24-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.b24-footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

/* Текстовый логотип */
.b24-footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 4px;
}

.b24-footer-logo span { color: var(--b24-accent-green); }

.b24-footer-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
    transition: var(--b24-transition);
}

.b24-footer-logo:hover img {
    transform: translateY(-3px) scale(1.02);
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.5));
}

.b24-tagline {
    color: var(--b24-text-muted);
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 30px;
}

/* Контакты */
.b24-contact-hub {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--b24-transition);
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    background: var(--b24-glass);
    border: 1px solid var(--b24-glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--b24-transition);
}

.contact-item:hover .contact-icon-box {
    background: var(--b24-accent);
    transform: rotate(-10deg);
    border-color: transparent;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.contact-info small {
    display: block;
    color: var(--b24-text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-info a, .contact-info span {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.b24-messenger-wrap {
    margin-top: 24px;
}

.b24-messenger-wrap .b24-social-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.b24-messenger-wrap .b24-social-item img {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    transition: var(--b24-transition);
}

.b24-messenger-wrap .b24-social-item:hover img {
    transform: scale(1.08);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

/* Навигация (плитки) */
.footer-h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.nav-tile {
    background: var(--b24-glass);
    border: 1px solid var(--b24-glass-border);
    padding: 15px;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--b24-transition);
    backdrop-filter: blur(10px);
}

.nav-tile:hover {
    background: rgba(255,255,255,0.07);
    border-color: var(--b24-accent);
    transform: translateY(-5px);
}

.tile-icon { font-size: 20px; }
.tile-text { color: #fff; font-size: 14px; font-weight: 500; }

/* Бизнес карточка */
.b24-business-glass-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid var(--b24-glass-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    backdrop-filter: blur(15px);
}

.glass-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--b24-accent-green);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: b24_pulseDot 2s infinite;
}

@keyframes b24_pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.b24-business-glass-card h5 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

.b24-business-glass-card p {
    font-size: 14px;
    color: var(--b24-text-muted);
    line-height: 1.5;
    margin-bottom: 25px;
}

.b24-cta-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    color: #000;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--b24-transition);
}

.b24-cta-footer:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    background: var(--b24-accent-green);
    color: #fff;
}

/* Bottom Bar */
.b24-footer-bottom {
    border-top: 1px solid var(--b24-glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--b24-text-muted);
    font-size: 13px;
}

.copyright strong { color: #fff; }

.footer-bottom-nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
}

.footer-bottom-nav a {
    color: var(--b24-text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--b24-transition);
}

.footer-bottom-nav a:hover { color: #fff; }

/* Responsive */
@media (max-width: 992px) {
    .b24-footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }
    .branding-section { grid-column: span 2; }
}

@media (max-width: 600px) {
    .b24-footer-main-grid { grid-template-columns: 1fr; }
    .branding-section { grid-column: span 1; }
    .footer-nav-grid { grid-template-columns: 1fr; }
    .b24-footer-bottom { justify-content: center; text-align: center; }
    .footer-bottom-nav { justify-content: center; }
}

@media (max-width: 400px) {
    .footer-nav-grid {
        grid-template-columns: 1fr;
    }
}
 /* Основной контейнер */
        .b24-stats-wrapper {
            background-color: #181b20; /* Темный фон */
            border-top: 1px solid rgba(255,255,255,0.05);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            padding: 15px 0; /* Чуть меньше отступы, чтобы было компактнее */
            width: 100%;
            position: relative;
            z-index: 10;
        }

        .b24-stats-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 50px; /* Расстояние между группами */
            font-family: 'Segoe UI', Roboto, sans-serif;
        }

        /* Группа (Точка + Текст) */
        .b24-stat-box {
            display: flex;
            align-items: center;
            gap: 12px; /* Отступ от точки до цифры */
        }

        /* Точки */
        .b24-pulse-dot {
            width: 8px; height: 8px;
            background-color: #25d366; /* Зеленый */
            border-radius: 50%;
            box-shadow: 0 0 10px #25d366;
            animation: statsPulse 2s infinite;
            flex-shrink: 0;
        }
        
        .b24-static-dot {
            width: 8px; height: 8px;
            background-color: #3b82f6; /* Синий */
            border-radius: 50%;
            box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
            flex-shrink: 0;
        }

        @keyframes statsPulse {
            0% { transform: scale(1); opacity: 1; }
            50% { transform: scale(1.3); opacity: 0.6; }
            100% { transform: scale(1); opacity: 1; }
        }

        /* Текстовый блок (ТЕПЕРЬ В СТРОКУ) */
        .b24-stat-text {
            display: flex;
            align-items: baseline; /* Выравнивание по нижней линии текста */
            gap: 8px; /* Расстояние между цифрой и словами */
            color: #fff;
        }

        /* Цифра */
        .b24-stat-num {
            font-size: 18px;
            font-weight: 700;
            line-height: 1;
        }

        /* Описание */
        .b24-stat-desc {
            font-size: 12px;
            text-transform: uppercase;
            color: #64748b; /* Серый цвет для текста */
            font-weight: 600;
            letter-spacing: 0.5px;
        }

        /* Разделитель */
        .b24-stat-sep {
            width: 1px; height: 20px;
            background: rgba(255,255,255,0.1);
        }

        /* Адаптив для телефонов */
        @media (max-width: 600px) {
            .b24-stats-inner { gap: 20px; }
            .b24-stat-desc { font-size: 10px; } /* Чуть меньше текст на мобилках */
            .b24-stat-num { font-size: 16px; }
        }
 .b24-home-hero {
        /* Делаем фон более темным и насыщенным */
        background: #0b0e14;
        background: linear-gradient(135deg, #05070a 0%, #0b0e14 100%);
        min-height: 85vh;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
        font-family: 'Inter', sans-serif;
        padding: 60px 0;
    }

    /* Добавляем темную подложку за текстом для 100% читаемости */
    .b24-hero-content::before {
        content: '';
        position: absolute;
        width: 150%;
        height: 150%;
        background: radial-gradient(circle at center, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
        top: -25%;
        left: -50%;
        z-index: -1;
    }

    .b24-hero-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: grid;
        grid-template-columns: 1.2fr 0.8fr;
        gap: 40px;
        align-items: center;
        z-index: 10;
    }

    .b24-hero-content {
        animation: fadeInLeft 1s ease-out;
        position: relative;
    }

    .b24-hero-content h1 {
        font-size: clamp(2.5rem, 5vw, 4.2rem);
        line-height: 1.1;
        font-weight: 900;
        color: #ffffff; /* Чистый белый */
        margin-bottom: 25px;
        /* Тень для объема, чтобы текст не сливался */
        text-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }

    .b24-hero-content h1 span {
        color: #22c55e;
        display: block;
        text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    }

    .b24-hero-content p {
        font-size: 1.25rem;
        color: #f1f5f9; /* Очень светлый серо-белый для контраста */
        margin-bottom: 35px;
        max-width: 600px;
        line-height: 1.6;
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

    /* Преимущества */
    .b24-features-list {
        list-style: none;
        padding: 0;
        margin-bottom: 45px;
    }

    .b24-features-list li {
        display: flex;
        align-items: center;
        gap: 15px;
        color: #ffffff; /* Белый текст */
        margin-bottom: 18px;
        font-size: 1.15rem;
        font-weight: 500;
        text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    }

    .b24-feat-icon {
        width: 28px;
        height: 28px;
        background: #22c55e;
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        font-weight: bold;
        box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
    }

    /* Кнопка */
    .b24-main-btn {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        background: #22c55e;
        color: #fff;
        padding: 20px 45px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 800;
        font-size: 19px;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
    }

    .b24-main-btn:hover {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 20px 40px rgba(34, 197, 94, 0.6);
        background: #16a34a;
    }

    /* ПРАВАЯ ЧАСТЬ: ЛЕВИТИРУЮЩИЕ КАРТОЧКИ */
    .b24-hero-visual {
        position: relative;
        height: 500px;
    }

    .floating-card {
        position: absolute;
        background: rgba(255, 255, 255, 0.07);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 22px;
        border-radius: 22px;
        width: 240px;
        box-shadow: 0 25px 50px rgba(0,0,0,0.5);
        animation: float 6s infinite ease-in-out;
    }

    .card-1 { top: 5%; left: 0; animation-delay: 0s; }
    .card-2 { top: 35%; right: 0; animation-delay: 1.5s; }
    .card-3 { bottom: 5%; left: 15%; animation-delay: 3s; }

    .card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
    .dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
    
    .floating-card strong { color: #fff; font-size: 16px; display: block; }
    .floating-card span { color: #cbd5e1; font-size: 13px; }
    .rating { color: #fbbf24; font-size: 13px; margin-top: 10px; display: block; }

    @keyframes float {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-25px) rotate(3deg); }
    }

    @keyframes fadeInLeft {
        from { opacity: 0; transform: translateX(-40px); }
        to { opacity: 1; transform: translateX(0); }
    }

    @media (max-width: 992px) {
        .b24-hero-container { grid-template-columns: 1fr; text-align: center; }
        .b24-hero-content p { margin: 0 auto 30px; }
        .b24-features-list { display: inline-block; text-align: left; }
        .b24-hero-visual { height: 400px; order: -1; }
        .floating-card { width: 200px; }
    }
/* --- СТИЛИ ДЛЯ КАТАЛОГА [bobr_services] --- */
.b24-catalog-section {
    background: #f8fafc;
    padding: 80px 0;
}
.b24-catalog-header {
    text-align: center;
    margin-bottom: 50px;
}
.b24-catalog-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
}
.b24-main-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}
.b24-main-search-input {
    width: 100%;
    padding: 18px 25px 18px 55px;
    border-radius: 15px;
    border: 2px solid #e2e8f0;
    font-size: 16px;
}
.b24-search-icon-fixed {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}
.b24-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.b24-letter-group {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.b24-group-header {
    font-size: 24px;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}
.b24-service-list {
    list-style: none;
    padding: 0;
}
.b24-service-list li {
    margin-bottom: 8px;
}
.b24-service-list a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    transition: 0.2s;
}
.b24-service-list a:hover {
    color: #22c55e;
    padding-left: 5px;
}
    .b24-v2-section {
        padding: 80px 0;
        background-color: #f1f5f9;
        /* Легкий паттерн на фоне */
        background-image: radial-gradient(#cbd5e1 0.5px, transparent 0.5px);
        background-size: 20px 20px;
        font-family: 'Inter', sans-serif;
        position: relative;
    }

    .b24-v2-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

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

    /* ОБЩИЙ СТИЛЬ КАРТОЧЕК */
    .b24-v2-card {
        background: #fff;
        border-radius: 24px;
        padding: 28px;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: 0 10px 25px rgba(0,0,0,0.02);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .b24-v2-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.08);
    }

    /* КАРТОЧКА 1: ВЕРИФИКАЦИЯ */
    .card-verified {
        border-top: 5px solid #22c55e;
    }

    .b24-v2-badge {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #dcfce7;
        color: #166534;
        padding: 6px 14px;
        border-radius: 50px;
        font-size: 11px;
        font-weight: 800;
        width: fit-content;
        margin-bottom: 20px;
    }

    .b24-v2-badge .pulse {
        width: 8px;
        height: 8px;
        background: #22c55e;
        border-radius: 50%;
        animation: b24-glow 1.5s infinite;
    }

    .b24-v2-card h3 {
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 20px;
        color: #0f172a;
    }

    .b24-v2-list {
        list-style: none;
        padding: 0;
        margin: 0 0 20px;
    }

    .b24-v2-list li {
        padding: 8px 0;
        border-bottom: 1px solid #f1f5f9;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
    }

    .b24-v2-list li span { color: #64748b; }
    .b24-v2-list li strong { color: #0f172a; text-align: right; }

    /* КАРТОЧКА 2: ГРАФИК */
    .card-schedule h3 { color: #3b82f6; }
    
    .b24-v2-time-row {
        background: #f8fafc;
        padding: 12px 18px;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .b24-v2-payments {
        margin-top: auto;
        padding-top: 20px;
        display: flex;
        gap: 15px;
    }

    .pay-tag {
        font-size: 12px;
        background: #f1f5f9;
        padding: 5px 10px;
        border-radius: 6px;
        color: #475569;
    }

    /* КАРТОЧКА 3: МОЩНАЯ АКЦИЯ */
    .card-promo-v2 {
            background: #0f0f0f;
    color: #fff;
    border: none;
    background-image: radial-gradient(circle at top right, rgb(34 197 150 / 15%), transparent);
    }

    .card-promo-v2 h3 { color: #fff; }

    .b24-v2-promo-badge {
        background: #22c55e;
        color: #fff;
        padding: 5px 15px;
        border-radius: 8px;
        font-weight: 900;
        width: fit-content;
        margin-bottom: 15px;
    }

    .b24-v2-promo-price {
        font-size: 56px;
        font-weight: 900;
        color: #22c55e;
        margin: 15px 0;
        line-height: 1;
        text-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
    }

    .b24-v2-promo-footer {
        font-size: 12px;
        color: #94a3b8;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 15px;
        margin-top: auto;
    }

    @keyframes b24-glow {
        0% { transform: scale(0.95); opacity: 1; }
        50% { transform: scale(1.2); opacity: 0.5; }
        100% { transform: scale(0.95); opacity: 1; }
    }

    @media (max-width: 768px) {
        .b24-v2-grid { grid-template-columns: 1fr; }
    }
   .b24-price-section {
        padding: 80px 0;
        background-color: #ffffff;
        background-image: radial-gradient(#e2e8f0 0.8px, transparent 0.8px);
        background-size: 24px 24px;
        font-family: 'Inter', sans-serif;
    }

    .b24-price-container {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px;
    }

    /* Заголовок и подзаголовок */
    .b24-price-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .b24-price-header h2 {
        font-size: clamp(26px, 5vw, 36px);
        font-weight: 900;
        color: #0f172a;
        margin-bottom: 10px;
        text-transform: uppercase;
        letter-spacing: -0.5px;
    }

    .b24-price-subtitle {
        font-size: 16px;
        color: #64748b;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.5;
    }

    .b24-table-card {
        background: #fff;
        border-radius: 24px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 15px 35px rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .b24-price-table {
        width: 100%;
        border-collapse: collapse;
    }

    /* ЭФФЕКТ ЗЕБРЫ (Легкое чередование) */
    .b24-price-table tr:nth-child(even) {
        background-color: #fcfdfe;
    }

    /* АНИМАЦИЯ ПРИ НАВЕДЕНИИ */
    .b24-price-table tr {
        transition: all 0.3s ease;
    }

    .b24-price-table tr:hover {
        background-color: #f0fdf4 !important; /* Нежный зеленый фон */
        transform: scale(1.005); /* Едва заметное увеличение */
    }

    .b24-price-table th {
        background: #f8fafc;
        padding: 22px 25px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        color: #64748b;
        text-align: left;
        border-bottom: 2px solid #e2e8f0;
    }

    .b24-price-table td {
        padding: 20px 25px;
        border-bottom: 1px solid #f1f5f9;
        vertical-align: middle;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .b24-service-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .b24-service-name {
        font-weight: 700;
        color: #0f172a;
        font-size: 17px;
    }

    .b24-service-desc {
        font-size: 14px;
        color: #64748b;
        line-height: 1.5;
    }

    .b24-price-value {
        font-weight: 800;
        color: #16a34a;
        font-size: 20px;
        white-space: nowrap;
        text-align: right;
    }

    /* ПРЕДУПРЕЖДЕНИЕ */
    .b24-price-notice {
        margin-top: 30px;
        padding: 20px;
        background: #fffbeb;
        border-left: 4px solid #fbbf24;
        border-radius: 12px;
        display: flex;
        gap: 15px;
        font-size: 14px;
        color: #92400e;
    }

    /* МОБИЛЬНАЯ ВЕРСИЯ */
    @media (max-width: 650px) {
        .b24-price-table thead { display: none; }
        
        .b24-price-table tr {
            display: block;
            padding: 20px 0;
            border-bottom: 1px solid #eee;
        }

        /* На мобилке отключаем увеличение, оставляем только цвет */
        .b24-price-table tr:hover {
            transform: none;
        }

        .b24-price-table td {
            display: block;
            width: 100% !important;
            box-sizing: border-box;
            padding: 10px 20px;
            border: none;
            text-align: left !important;
        }

        .b24-price-value {
            font-size: 22px;
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .b24-price-value::before {
            content: "Цена:";
            color: #94a3b8;
            font-size: 14px;
            font-weight: 500;
        }
    }
<style>
    .b24-cta-v3 {
        background-color: #0f172a;
        /* Текстура диагональных линий как на фото */
        background-image: repeating-linear-gradient(45deg, rgba(255,255,255, 0.03) 0px, rgba(255,255,255, 0.03) 1px, transparent 1px, transparent 10px);
        padding: 80px 0;
        position: relative;
        overflow: hidden;
        font-family: 'Inter', sans-serif;
    }

    /* Фоновое свечение */
    .b24-cta-v3::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
        z-index: 1;
        pointer-events: none;
    }

    .b24-cta-v3-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 5;
    }

    .b24-cta-v3-flex {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        flex-wrap: wrap;
    }

    /* ЛЕВАЯ ЧАСТЬ */
    .b24-cta-v3-info {
        flex: 1;
        min-width: 300px;
    }

    .b24-cta-v3-badge {
        display: inline-block;
        background: rgba(34, 197, 94, 0.15);
        color: #22c55e;
        padding: 6px 15px;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        border: 1px solid rgba(34, 197, 94, 0.3);
        margin-bottom: 25px;
    }

    .b24-cta-v3-info h2 {
        font-size: clamp(26px, 5vw, 42px);
        font-weight: 800;
        color: #fff;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .b24-cta-v3-info p {
        font-size: 18px;
        color: #94a3b8;
        max-width: 500px;
        margin-bottom: 35px;
    }

    .b24-cta-v3-hint {
        display: flex;
        align-items: center;
        gap: 15px;
        color: #fff;
        font-weight: 700;
        font-size: 18px;
    }

    .b24-cta-v3-hint span {
        color: #22c55e;
        font-size: 24px;
        animation: b24_arrow 1.5s infinite;
    }

    /* ПРАВАЯ ЧАСТЬ (КАРТОЧКА) */
    .b24-cta-v3-glass {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px;
        border-radius: 30px;
        width: 100%;
        max-width: 450px;
        box-shadow: 0 25px 50px rgba(0,0,0,0.3);
        text-align: center;
    }

    .b24-cta-v3-status {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #94a3b8;
        margin-bottom: 15px;
    }

    .b24-cta-v3-status .dot {
        width: 10px;
        height: 10px;
        background: #22c55e;
        border-radius: 50%;
        box-shadow: 0 0 10px #22c55e;
        animation: b24_pulse 2s infinite;
    }

    .b24-cta-v3-phone {
        display: block;
        font-size: clamp(24px, 4vw, 36px);
        font-weight: 900;
        color: #fff;
        text-decoration: none;
        margin-bottom: 25px;
        transition: 0.3s;
    }

    .b24-cta-v3-phone:hover { color: #22c55e; }

    .b24-cta-v3-sep {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
        margin-bottom: 25px;
    }

    /* Стилизация шорткода мессенджеров внутри блока */
    .b24-cta-v3-socials {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    /* АНИМАЦИИ */
    @keyframes b24_pulse {
        0% { transform: scale(0.9); opacity: 1; }
        70% { transform: scale(1.5); opacity: 0; }
        100% { transform: scale(0.9); opacity: 0; }
    }

    @keyframes b24_arrow {
        0% { transform: translateX(0); }
        50% { transform: translateX(10px); }
        100% { transform: translateX(0); }
    }

    /* АДАПТИВНОСТЬ */
    @media (max-width: 992px) {
        .b24-cta-v3-flex { flex-direction: column; text-align: center; }
        .b24-cta-v3-info p { margin: 0 auto 30px; }
        .b24-cta-v3-hint { justify-content: center; }
        .b24-cta-v3-glass { max-width: 100%; }
    }
/* --- RELATED SERVICES PREMIUM STYLE --- */
.b24-footer-related-section {
    padding: 80px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.b24-footer-related-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.b24-related-head {
    text-align: center;
    margin-bottom: 50px;
}

.b24-related-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    color: #22c55e;
    font-weight: 800;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.b24-related-title {
    font-size: 32px;
    font-weight: 900;
    color: #0f172a;
}

.b24-related-title span { color: #64748b; font-weight: 400; }

/* СЕТКА: 5 колонок на ПК (чтобы 10 штук легли в 2 ряда) */
.b24-related-grid-premium {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.b24-related-card-premium {
    position: relative;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    display: block;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.b24-related-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: 0.6s;
}

.b24-related-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 100%);
}

.b24-related-content {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 20px;
    box-sizing: border-box;
    color: #fff;
}

.b24-related-cat {
    font-size: 10px;
    text-transform: uppercase;
    background: #22c55e;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
}

.b24-related-name {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #fff;
}

.b24-related-link-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: 0.3s;
}

/* Эффекты при наведении */
.b24-related-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

.b24-related-card-premium:hover .b24-related-img {
    transform: scale(1.1);
}

.b24-related-card-premium:hover .b24-related-link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* АДАПТИВНОСТЬ */

/* Планшеты: 3 колонки */
@media (max-width: 1024px) {
    .b24-related-grid-premium { grid-template-columns: repeat(3, 1fr); }
}

/* Мобильные: 2 колонки (как просил) */
@media (max-width: 768px) {
    .b24-related-grid-premium { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
    }
    .b24-related-card-premium { height: 180px; border-radius: 15px; }
    .b24-related-name { font-size: 14px; }
    .b24-related-content { padding: 12px; }
    .b24-related-link-icon { display: none; } /* Скрываем стрелку на мобиле для чистоты */
    .b24-related-title { font-size: 24px; }
}
    .b24-rev-v5-section {
        padding: 80px 0;
        background-color: #ffffff;
        background-image: radial-gradient(#e2e8f0 0.8px, transparent 0.8px);
        background-size: 24px 24px;
        font-family: 'Inter', -apple-system, sans-serif;
    }

    .b24-rev-v5-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .b24-rev-v5-layout {
        display: grid;
        grid-template-columns: 1fr 380px;
        gap: 40px;
        align-items: start;
    }

    /* СЕТКА И КАРТОЧКИ */
    .b24-rev-v5-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
        gap: 25px;
    }

    .b24-rev-v5-card {
        background: #fff;
        padding: 30px;
        border-radius: 24px;
        border: 1px solid #f1f5f9;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
        transition: 0.3s;
    }

    .b24-rev-v5-card:hover {
        transform: translateY(-5px);
        border-color: #22c55e;
        box-shadow: 0 20px 40px rgba(34, 197, 94, 0.08);
    }

    .b24-rev-v5-user { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
    
    .b24-rev-v5-avatar {
        width: 50px; height: 50px; border-radius: 12px;
        display: flex; align-items: center; justify-content: center;
        color: #fff; font-weight: 800; font-size: 20px;
    }

    .av-b { background: #3b82f6; } .av-g { background: #10b981; }
    .av-o { background: #f59e0b; } .av-p { background: #8b5cf6; }

    .b24-rev-v5-stars { color: #fbbf24; margin-bottom: 12px; letter-spacing: 2px; }
    .b24-rev-v5-text { font-size: 15px; color: #475569; line-height: 1.6; margin-bottom: 15px; }
    .b24-rev-v5-date { font-size: 12px; color: #94a3b8; text-align: right; }

    /* --- СТИЛИЗАЦИЯ ФОРМЫ (ШОРТКОДА) --- */
    .b24-form-container {
        background: #fff;
        padding: 40px;
        border-radius: 30px;
        border: 1px solid #e2e8f0;
        box-shadow: 0 25px 50px rgba(0,0,0,0.05);
        position: sticky;
        top: 20px;
    }

    .b24-form-head {
        font-size: 24px;
        font-weight: 900;
        color: #0f172a;
        margin-bottom: 10px;
    }

    /* Поля ввода */
    .b24-f-inp {
        width: 100%;
        padding: 14px 18px;
        margin-bottom: 15px;
        border: 1.5px solid #e2e8f0;
        border-radius: 12px;
        font-family: inherit;
        font-size: 15px;
        transition: 0.3s;
        box-sizing: border-box;
    }

    .b24-f-inp:focus {
        outline: none;
        border-color: #22c55e;
        background: #f0fdf4;
    }

    textarea.b24-f-inp { min-height: 100px; resize: vertical; }

    /* Звезды в форме */
    .b24-stars-row {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        gap: 5px;
        margin-bottom: 20px;
    }

    .b24-stars-row input { display: none; }
    .b24-stars-row label {
        font-size: 28px;
        color: #e2e8f0;
        cursor: pointer;
        transition: 0.2s;
    }

    .b24-stars-row label:hover,
    .b24-stars-row label:hover ~ label,
    .b24-stars-row input:checked ~ label {
        color: #fbbf24;
    }

    /* Кнопка */
    .b24-f-btn {
        width: 100%;
        background: #22c55e;
        color: #fff;
        border: none;
        padding: 16px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 800;
        cursor: pointer;
        transition: 0.3s;
    }

    .b24-f-btn:hover { background: #16a34a; transform: translateY(-2px); }

    /* Уведомления */
    .b24-f-alert {
        padding: 12px;
        border-radius: 10px;
        margin-bottom: 15px;
        font-size: 14px;
        display: none;
    }
    .b24-f-ok { background: #dcfce7; color: #166534; }
    .b24-f-err { background: #fee2e2; color: #991b1b; }

    @media (max-width: 1024px) {
        .b24-rev-v5-layout { grid-template-columns: 1fr; }
        .b24-form-container { position: static; max-width: 100%; }
    }
   .b24-steps-v6-section {
        padding-bottom: 40px;
        background: #fff;
      
    }

    .b24-steps-v6-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .b24-steps-v6-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .b24-steps-v6-header h2 {
        font-size: clamp(26px, 5vw, 36px);
        font-weight: 900;
        color: #0f172a;
        margin-bottom: 15px;
    }

    /* СЕТКА ЭТАПОВ */
    .b24-steps-v6-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        position: relative;
    }

    /* Линия-соединитель между этапами (только для ПК) */
    .b24-steps-v6-grid::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 50px;
        right: 50px;
        height: 2px;
        background: #e2e8f0;
        z-index: 1;
    }

    .b24-step-v6-item {
        position: relative;
        z-index: 5;
        text-align: center;
    }

    /* Круг с номером */
    .b24-step-v6-circle {
        width: 90px;
        height: 90px;
        background: #fff;
        border: 2px solid #e2e8f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 25px;
        font-size: 28px;
        font-weight: 900;
        color: #0f172a;
        transition: all 0.4s ease;
        box-shadow: 0 10px 20px rgba(0,0,0,0.02);
    }

    .b24-step-v6-item:hover .b24-step-v6-circle {
        border-color: #22c55e;
        color: #22c55e;
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(34, 197, 94, 0.2);
    }

    /* Состояние "В процессе" (зеленая точка) */
    .b24-step-v6-item:nth-child(1) .b24-step-v6-circle {
        background: #f0fdf4;
        border-color: #22c55e;
    }

    .b24-step-v6-item h3 {
        font-size: 18px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 12px;
    }

    .b24-step-v6-item p {
        font-size: 14px;
        color: #64748b;
        line-height: 1.5;
        padding: 0 10px;
    }

    /* АДАПТИВНОСТЬ */
    @media (max-width: 992px) {
        .b24-steps-v6-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
        .b24-steps-v6-grid::before { display: none; }
    }

    @media (max-width: 600px) {
        .b24-steps-v6-grid { grid-template-columns: 1fr; }
        .b24-step-v6-item {
            display: flex;
            text-align: left;
            align-items: flex-start;
            gap: 20px;
        }
        .b24-step-v6-circle {
            width: 60px; height: 60px; min-width: 60px;
            font-size: 20px;
            margin: 0;
        }
    }
/* ============================================================
   ОБЩИЙ ХЕДЕР И КОНТЕЙНЕР
   ============================================================ */

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

/* Логотип */
.site-branding .b24-main-logo,
.b24-main-logo {
    max-height: 50px;
    width: auto;
    display: block;
}

/* ============================================================
   МЕССЕНДЖЕРЫ В ШАПКЕ
   ============================================================ */
.header-msg-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h-msg-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    transition: 0.3s;
}
/* ============================================================
   ФИКС ХЕДЕРА: ОБНУЛЕНИЕ И ОСНОВА
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.header-hidden { transform: translateY(-100%); }
.header-spacer { height: 80px; } /* Распорка под шапкой */
.main-header { height: 50px; display: flex; align-items: center; }

/* ============================================================
   ПК ВЕРСИЯ (МЕНЮ И МЕССЕНДЖЕРЫ)
   ============================================================ */
#site-navigation { display: flex; align-items: center; gap: 20px; }

/* Убираем все стандартные отступы WP меню */
.main-navigation ul { 
    list-style: none !important; 
    margin: 0 !important; 
    padding: 0 !important; 
    display: flex; 
    gap: 15px; 
}
.main-navigation li { position: relative; margin: 0 !important; padding: 0 !important; }

.main-navigation a {
    text-decoration: none !important;
    color: #1e293b;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: block;
    transition: 0.3s;
}
.main-navigation a:hover { color: #22c55e; }

/* Выпадашка на ПК */
.main-navigation .menu-item-has-children > a { padding-right: 25px; }
.main-navigation .menu-item-has-children > a::after {
    content: '▼'; font-size: 10px; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); transition: 0.3s;
}
.main-navigation li:hover > a::after { transform: translateY(-50%) rotate(180deg); color: #22c55e; }

.main-navigation ul li ul.sub-menu {
    position: absolute; top: 100%; left: 0; background: #fff; min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 12px; padding: 10px 0 !important;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s; z-index: 100;display: flow;
}
.main-navigation li:hover > ul.sub-menu { opacity: 1; visibility: visible; transform: translateY(5px); }
.main-navigation ul li ul.sub-menu a { text-transform: none; font-size: 13px; padding: 10px 20px; }

/* Мессенджеры ПК */
.header-msg-wrap { display: flex; align-items: center; gap: 10px; margin-right: 10px; }
.h-msg-item img { width: 32px; height: 32px; object-fit: contain; }

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ (Адаптация)
   ============================================================ */
@media (max-width: 992px) {
    /* Фикс бургера (теперь линии точно будут) */
    .menu-toggle {
        display: flex !important; flex-direction: column; justify-content: center; align-items: center;
        width: 44px; height: 44px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
        cursor: pointer; z-index: 10001; padding: 0; position: relative;
    }
    .menu-toggle .bar {
        display: block; width: 22px; height: 2px; background: #0f172a; margin: 3px 0; border-radius: 2px;
    }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Шторка меню */
    .main-navigation {
        position: fixed !important; top: 0; right: -100%; width: 300px; height: 100vh;
        background: #fff; z-index: 10000; padding: 100px 20px 40px !important;
        display: flex !important; flex-direction: column !important; align-items: center !important;
        transition: 0.4s cubic-bezier(0.7, 0, 0.3, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        visibility: hidden;
    }
    .main-navigation.toggled { right: 0; visibility: visible; }

    /* Ссылки в мобильном меню */
    .main-navigation ul {
        flex-direction: column !important; align-items: center !important; 
        width: 100% !important; margin: 0 0 30px 0 !important; gap: 10px !important;
    }
    .main-navigation li { width: 100%; text-align: center; }
    .main-navigation a { font-size: 18px !important; padding: 12px 0 !important; width: 100%; }

    /* Выпадашка в мобилке: по умолчанию скрыта, открывается по тапу на пункт со стрелкой */
    .main-navigation ul li ul.sub-menu {
        position: static;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: #f8fafc;
        width: 100%;
        border-radius: 12px;
        margin: 0 !important;
        padding: 0 !important;
        transition: max-height 0.3s ease, opacity 0.2s ease, margin 0.2s ease;
    }
    .main-navigation ul li.sub-menu-open > ul.sub-menu {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        margin: 5px 0 !important;
        padding: 10px 0 !important;
    }
    .main-navigation .menu-item-has-children > a::after {
        display: inline-block;
        transition: transform 0.25s ease;
    }
    .main-navigation ul li.sub-menu-open.menu-item-has-children > a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Мессенджеры в мобилке (прижаты к низу) */
    .header-msg-wrap {
        order: 2; margin: auto 0 0 0 !important; padding: 25px 0 0 0;
        border-top: 1px solid #f1f5f9; width: 100%; justify-content: center;
    }
    .h-msg-item img { width: 48px; height: 48px; }
    
    /* Блокировка скролла */
    body.menu-open { overflow: hidden; }
}

/* ========== Страница 404 (Brest24) ========== */
.b24-error-page {
    position: relative;
    min-height: min(85vh, 900px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 64px;
    background: var(--b24-bg, #0f172a);
    color: #f8fafc;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
}

.b24-error-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.b24-error-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.22;
    animation: b24_error_float1 18s ease-in-out infinite alternate;
}

.b24-error-glow--1 {
    width: min(420px, 90vw);
    height: min(420px, 90vw);
    background: var(--b24-accent, #3b82f6);
    top: -12%;
    left: -8%;
}

.b24-error-glow--2 {
    width: min(360px, 80vw);
    height: min(360px, 80vw);
    background: var(--b24-accent-green, #10b981);
    bottom: -10%;
    right: -6%;
    animation-name: b24_error_float2;
    animation-duration: 22s;
    animation-delay: -6s;
}

.b24-error-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}

@keyframes b24_error_float1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, 28px) scale(1.05); }
}

@keyframes b24_error_float2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-36px, -24px) scale(1.08); }
}

.b24-error-inner {
    position: relative;
    z-index: 1;
    max-width: 520px;
    text-align: center;
}

.b24-error-label {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--b24-text-muted, #94a3b8);
    border: 1px solid var(--b24-glass-border, rgba(255, 255, 255, 0.08));
    border-radius: 999px;
    background: var(--b24-glass, rgba(255, 255, 255, 0.03));
}

.b24-error-title {
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.b24-error-subline {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--b24-text-muted, #94a3b8);
    -webkit-text-fill-color: var(--b24-text-muted, #94a3b8);
}

.b24-error-code {
    display: block;
    font-size: clamp(4.5rem, 18vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin: 0;
    background: linear-gradient(125deg, #fff 0%, var(--b24-accent, #3b82f6) 45%, var(--b24-accent-green, #10b981) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.25);
    filter: drop-shadow(0 4px 24px rgba(15, 23, 42, 0.5));
}

.b24-error-lead {
    margin: 0 0 14px;
    font-size: 1.125rem;
    line-height: 1.55;
    color: #cbd5e1;
}

.b24-error-hint {
    margin: 0 0 32px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--b24-text-muted, #94a3b8);
}

.b24-error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.b24-error-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, #fff 0%, #e2e8f0 100%);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    transition: var(--b24-transition, all 0.35s ease);
}

.b24-error-btn:hover,
.b24-error-btn:focus-visible {
    color: #fff !important;
    background: linear-gradient(135deg, var(--b24-accent, #3b82f6) 0%, #2563eb 100%);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(59, 130, 246, 0.45);
    outline: none;
}

@media (max-width: 480px) {
    .b24-error-page {
        min-height: 75vh;
        padding-top: 32px;
    }
    .b24-error-lead {
        font-size: 1rem;
    }
}    .b24-lp-hero {
        position: relative;
        /* Внутренние отступы по 50px сверху и снизу */
        padding: 50px 0; 
        min-height: 70vh;
        display: flex;
        align-items: center;
        color: #fff;
        overflow: hidden;
        background-size: cover;
        background-position: center;
    }

    .b24-lp-overlay {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: linear-gradient(90deg, rgb(12 22 35 / 97%) 0%, rgba(0, 0, 0, 0.5) 100%);
        z-index: 1;
    }

    .b24-lp-container {
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        position: relative;
        z-index: 10;
    }

    .b24-lp-content {
        max-width: 920px;
        text-align: left;
        animation: b24FadeInUp 0.8s ease-out;
    }

    .b24-lp-breadcrumbs {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 20px;
        opacity: 0.8;
    }
    .b24-lp-breadcrumbs a { color: #fff !important; text-decoration: none; }

    .b24-lp-h1 {
        font-size: clamp(1.8rem, 5vw, 3.5rem);
        line-height: 1.1;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

    /* Контейнер рейтинга */
    .b24-lp-rating-wrap {
        margin-bottom: 25px;
    }

    .b24-lp-divider {
        width: 70px;
        height: 4px;
        background: #22c55e;
        margin-bottom: 30px;
        border-radius: 2px;
    }

    /* Кнопки в одну строку */
    .b24-lp-anchors {
        display: flex;
        gap: 10px;
        margin-bottom: 35px;
    }

    .b24-lp-anchor-btn {
        flex: 1; /* Растягиваем поровну */
        max-width: 200px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 10px;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 13px;
        font-weight: 700;
        backdrop-filter: blur(10px);
        white-space: nowrap; /* Запрет переноса текста */
    }

    /* Центрирование на мобилках */
    @media (max-width: 768px) {
        .b24-lp-hero { 
            padding: 50px 0; /* Сохраняем отступы */
            text-align: center; 
        }
        .b24-lp-content { 
            margin: 0 auto; 
        }
        .b24-lp-rating-wrap { 
            display: flex; 
            justify-content: center; 
        }
        .b24-lp-divider { 
            margin: 0 auto 30px; 
        }
        .b24-lp-anchors { 
            justify-content: center; 
        }
        /* Внутренняя логика (телефон и мессенджеры) по центру */
        .b24-lp-logic-box {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
    }

    @keyframes b24FadeInUp {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }/* =========================================
   1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ HERO
   ========================================= */
.b24-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    /* ...остальные стили... */
}

/* =========================================
   2. КНОПКИ И МЕССЕНДЖЕРЫ
   ========================================= */
.b24-btn-green {
    /* ...стили кнопки... */
}

/* =========================================
   3. БЛОК ЦЕН (ТАБЛИЦА)
   ========================================= */
.b24-price-table {
    width: 100%;
    /* ...стили таблицы... */
}

/* =========================================
   4. МОБИЛЬНАЯ АДАПТАЦИЯ (Все медиа-запросы лучше держать в конце)
   ========================================= */
@media (max-width: 900px) {
    .b24-hero-container { grid-template-columns: 1fr; }
    /* ...остальное... */
}
 /* --- 1. ГЛОБАЛЬНЫЕ НАСТРОЙКИ ФОНА И СЕТКИ --- */
.b24-hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;padding-top: 50px;
    align-items: center;padding-bottom: 40px;
    color: #fff;
    overflow: hidden; /* Обрезаем всё, что вылетает за границы */
    width: 100%;      /* ЗАМЕНИЛ 100vw на 100% */
    }
/* Ссылка на внешний сайт */
    .b24-ext-link {
        font-size: 13px;
        color: #b0d6ff; /* Серый цвет */
        text-decoration: none;
        border-bottom: 1px dashed #6b7280; /* Пунктирное подчеркивание */
        transition: color 0.3s;font-weight: 600;
    }
    .b24-ext-link:hover {
        color: #25d366; /* Зеленый при наведении */
        border-color: #25d366;
    }
    .b24-hero-overlay {
        position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1;
        background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.1) 100%);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        -webkit-mask-image: linear-gradient(to right, black 50%, transparent 100%);
        mask-image: linear-gradient(to right, black 50%, transparent 100%);
		 position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0; 
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.85) 45%, rgba(15, 23, 42, 0.1) 100%);
    }

    .b24-hero-container {
        position: relative; z-index: 2;
        max-width: 1280px; width: 100%; margin: 0 auto; padding: 0 20px;
        display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 50px; align-items: center;
    }

    /* --- 2. ЛЕВАЯ ЧАСТЬ: ТИПОГРАФИКА --- */
    .b24-crumbs { font-size: 13px; color: #aaa; margin-bottom: 20px; text-transform: uppercase; font-weight: 600;padding-top: 56px; }
    .b24-crumbs a { color: #ccc; text-decoration: none; }
    
    .b24-hero-title {
        font-size: clamp(1.6rem, 4vw, 3.8rem);
        font-weight: 800; line-height: 1.1; margin: 0 0 25px 0;
        text-transform: uppercase; text-shadow: 0 10px 30px rgba(0,0,0,0.5); color: #fff;
    }

    .b24-rating-line { display: flex; align-items: center; gap: 15px; margin-bottom: 30px; color: #ddd; font-size: 15px; }
    
    .b24-tags-wrap { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }
    .b24-tag {
        background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 10px 20px; border-radius: 50px; font-size: 15px;
        display: flex; align-items: center; backdrop-filter: blur(4px);
    }
    .b24-icon-check { color: #25d366; margin-right: 8px; font-weight: 800; }

    /* --- 3. СТИЛИ ДЛЯ КНОПОК ТЕЛЕФОНА (Генерируются шорткодом Logic) --- */
    .b24-left-contacts-box {
        margin-top: 40px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1);
    }
    .b24-phones-row {
        display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 25px;
    }
    .b24-ph-btn {
        display: flex; align-items: center; justify-content: center;
        padding: 14px 25px; border-radius: 12px;
        font-size: 18px; font-weight: 700; text-decoration: none !important;
        transition: transform 0.2s, box-shadow 0.2s; white-space: nowrap;
    }
    .b24-ph-btn:hover { transform: translateY(-2px); }

    /* Основной телефон (Зеленый) */
    .b24-ph-primary {
        background: linear-gradient(135deg, #25d366 0%, #1ea850 100%);
        color: #fff !important; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    }
    /* Дополнительный (Прозрачный) */
    .b24-ph-secondary {
        background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.3); color: #fff !important;
    }
    .b24-ph-secondary:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

    /* Мессенджеры слева */
    .b24-messengers-left .b24-social-grid { justify-content: flex-start !important; gap: 12px !important; }
    .b24-messengers-label {
        font-size: 11px; text-transform: uppercase; color: #94a3b8; 
        margin-bottom: 12px; font-weight: 600; letter-spacing: 1px;
    }
    .b24-social-item img { width: 40px; height: 40px; border-radius: 10px; transition: transform 0.2s; padding-right: 3px;}
    .b24-social-item:hover img { transform: scale(1.1); }

    /* --- 4. ПРАВАЯ ЧАСТЬ: КАРТОЧКА --- */
    .b24-glass-card {
        background: rgb(9 9 9 / 24%); backdrop-filter: blur(20px);
        border-radius: 24px; padding: 35px 30px; text-align: center;
        box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5); color: #333;
    }
    .b24-badge-verified {
        display: inline-flex; align-items: center; gap: 6px;
        background: #007aff; color: #fff; padding: 8px 16px;
        border-radius: 50px; font-size: 12px; font-weight: 700;
        text-transform: uppercase; margin-bottom: 20px;
        box-shadow: 0 4px 10px rgba(0, 122, 255, 0.3);
    }
    .b24-company-name { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 5px 0; }
    .b24-company-sub { font-size: 14px; color: #ffffff; margin-bottom: 15px; display: block; }

    /* КНОПКИ-ЯКОРЯ СПРАВА */
    .b24-hero-anchors {
        display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
        margin-top: 25px; border-top: 1px solid rgba(0,0,0,0.1); padding-top: 20px;
    }
    .b24-glass-btn {
        background: #111827; color: #fff !important;
        text-decoration: none !important; padding: 12px 0;
        border-radius: 8px; font-size: 14px; font-weight: 700; text-transform: uppercase;
        display: flex; align-items: center; justify-content: center; gap: 8px;
        transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    .b24-glass-btn:hover {
        background: #25d366; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    }

    @media (max-width: 900px) {
        .b24-hero-container { grid-template-columns: 1fr; text-align: center; gap: 40px; }
        .b24-glass-card { max-width: 450px; margin: 0 auto; }
        .b24-hero-overlay { background: linear-gradient(180deg, rgb(3 4 7 / 70%) 0%, rgb(15 23 42 / 56%) 100%); mask-image: none; backdrop-filter: blur(4px);}
    	.b24-tag {padding: 5px 8px;font-size: 0.8em;}
        .b24-left-contacts-box { border-top: none; padding-top: 10px; margin-top: 20px; }
        .b24-phones-row { justify-content: center; }
        .b24-messengers-left .b24-social-grid { justify-content: center !important; }
        .b24-rating-line, .b24-tags-wrap { justify-content: center; }
    }
       /* 1. ФОН СЕКЦИИ */
    .b24-info-white {
        background-color: #ffffff;
        padding: 40px 0;
    }

    /* СЕТКА (3 Равные колонки) */
    .b24-grid-3col {
        max-width: 1300px; /* Вернули ширину, чтобы влезло 3 блока */
        margin: 0 auto; padding: 0 20px;
        display: grid; 
        grid-template-columns: repeat(3, 1fr); /* 3 части */
        gap: 20px; 
    }

    /* 2. СТИЛЬ КАРТОЧКИ (Общий для всех) */
    .b24-card-dark {
        background: #111827; /* Темный */
        color: #9ca3af;
        border-radius: 12px;
        padding: 25px; /* Компактно */
        display: flex; flex-direction: column; justify-content: space-between;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        height: 100%; box-sizing: border-box;
        border: 1px solid rgba(255,255,255,0.05);
        transition: transform 0.3s, border-color 0.3s;
        position: relative; overflow: hidden;
    }

    .b24-card-dark:hover {
        transform: translateY(-5px);
        border-color: #25d366; /* Зеленая рамка при наведении */
    }

    /* ЗАГОЛОВКИ */
    .b24-block-title {
        font-size: 1rem; font-weight: 700; color: #fff; 
        margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px;
        display: flex; align-items: center; gap: 10px;
    }
    .b24-title-line { height: 2px; width: 30px; background: #25d366; display: block; }

/* --- ГАЛЕРЕЯ [b24_gallery]: до 8 фото, миниатюры, лайтбокс, SEO --- */
.b24-gallery-box { margin-top: 50px; }
.b24-gallery-header { font-size: 1.8rem; font-weight: 800; text-align: center; margin-bottom: 30px; color: #111; }

.b24-gallery-wrap { margin-top: 0; }

/* Сетка ПК: по количеству фото (1–3 = столько колонок, 4–8 = 4 колонки) */
.b24-gallery-imgs {
    display: grid;
    gap: 15px;
}
.b24-gallery-imgs--count-1 { grid-template-columns: 1fr; }
.b24-gallery-imgs--count-2 { grid-template-columns: repeat(2, 1fr); }
.b24-gallery-imgs--count-3 { grid-template-columns: repeat(3, 1fr); }
.b24-gallery-imgs--count-4 { grid-template-columns: repeat(4, 1fr); }

/* Миниатюры: ссылка и картинка */
.b24-gallery-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
.b24-gallery-item:hover { transform: scale(1.03); z-index: 5; }
.b24-gallery-imgs .b24-gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    cursor: pointer;
}

/* Мобильная версия: 1 фото в строке */
@media (max-width: 768px) {
    .b24-gallery-imgs--count-1,
    .b24-gallery-imgs--count-2,
    .b24-gallery-imgs--count-3,
    .b24-gallery-imgs--count-4 {
        grid-template-columns: 1fr;
    }
    .b24-gallery-imgs .b24-gallery-item img {
        height: 220px;
    }
}

/* Лайтбокс: оверлей, основное фото, миниатюры снизу, стрелки, свайп */
.b24-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.94);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 70px 20px;
    box-sizing: border-box;
    cursor: pointer;
}
.b24-lightbox-overlay[hidden] { display: none !important; }

.b24-lightbox-main {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    cursor: default;
}
.b24-lightbox-img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
    cursor: default;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    pointer-events: none;
}

.b24-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    border: none;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
    color: #fff;
    transition: background 0.2s;
}
.b24-lightbox-close::before { content: '×'; }
.b24-lightbox-close:hover { background: rgba(255,255,255,0.25); }

.b24-lightbox-prev,
.b24-lightbox-next {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border: none;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    cursor: pointer;
    color: #fff;
    font-size: 24px;
    transition: background 0.2s;
}
.b24-lightbox-prev { left: 16px; }
.b24-lightbox-next { right: 16px; }
.b24-lightbox-prev::before { content: '‹'; }
.b24-lightbox-next::before { content: '›'; }
.b24-lightbox-prev:hover,
.b24-lightbox-next:hover { background: rgba(255,255,255,0.25); }

/* Полоска миниатюр под основным фото */
.b24-lightbox-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: center;
    padding: 16px 0 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.b24-lightbox-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    cursor: pointer;
    transition: border-color 0.2s, opacity 0.2s;
}
.b24-lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.b24-lightbox-thumb:hover { opacity: 0.9; }
.b24-lightbox-thumb--active {
    border-color: #22c55e;
    opacity: 1;
}

@media (max-width: 768px) {
    .b24-lightbox-overlay { padding: 50px 12px 12px; }
    .b24-lightbox-img { max-height: calc(100vh - 140px); }
    .b24-lightbox-prev, .b24-lightbox-next { width: 44px; height: 44px; left: 8px; right: 8px; font-size: 20px; }
    .b24-lightbox-thumb { width: 52px; height: 52px; }
}

/* ========== КАТАЛОГ ПРОДУКЦИИ [b24_product_catalog] ========== */
.b24-product-catalog-section {
    padding: 80px 0;
    background: #f8fafc;
    font-family: 'Inter', -apple-system, sans-serif;
}
.b24-product-catalog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.b24-product-catalog-title {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin: 0 0 40px 0;
    letter-spacing: -0.02em;
}
.b24-product-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.b24-product-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.b24-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
/* Квадратный блок под фото товара */
.b24-product-card__img-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #f1f5f9;
    overflow: hidden;
}
.b24-product-card__img-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
}
.b24-product-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.b24-product-card:hover .b24-product-card__img {
    transform: scale(1.05);
}
.b24-product-card__body {
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.b24-product-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.35;
}
.b24-product-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.b24-product-card__title a:hover {
    color: #22c55e;
}
.b24-product-card__price {
    font-size: 20px;
    font-weight: 800;
    color: #22c55e;
    margin: 0;
}
.b24-product-card__btn {
    display: inline-block;
    margin-top: auto;
    padding: 12px 20px;
    background: #22c55e;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}
.b24-product-card__btn:hover {
    background: #16a34a;
    transform: translateY(-1px);
}
@media (max-width: 600px) {
    .b24-product-catalog-section { padding: 60px 0; }
    .b24-product-catalog-grid { grid-template-columns: 1fr; gap: 20px; }
    .b24-product-card__body { padding: 18px 16px; }
    .b24-product-card__title { font-size: 17px; }
}

    .b24-works-seo-wrap {
        padding: 80px 0;
        background-color: #ffffff;
        background-image: radial-gradient(#e2e8f0 0.8px, transparent 0.8px);
        background-size: 24px 24px;
        font-family: 'Inter', sans-serif;
    }

    .b24-standard-container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .b24-section-head {
        text-align: center;
        margin-bottom: 50px;
    }

    .b24-section-head h2 {
        font-size: 32px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 15px;
    }

    /* SEO СТАТЬЯ (Плиточный стиль) */
    .b24-seo-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-bottom: 50px;
    }

    .b24-seo-card {
        background: #fff;
        padding: 35px;
        border-radius: 25px;
        border: 1px solid #f1f5f9;
        box-shadow: 0 4px 6px rgba(0,0,0,0.02);
        transition: 0.3s;
    }

    .b24-seo-card:hover {
        box-shadow: 0 20px 40px rgba(0,0,0,0.05);
        border-color: #22c55e;
    }

    .b24-seo-card h3 {
        font-size: 20px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .b24-seo-card p {
        font-size: 15px;
        color: #475569;
        line-height: 1.6;
    }

    /* СПИСОК УСЛУГ ДЛЯ SEO */
    .b24-seo-list {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

    .b24-seo-list li {
        padding-left: 30px;
        position: relative;
        margin-bottom: 12px;
        color: #1e293b;
        font-weight: 500;
    }

    .b24-seo-list li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: #22c55e;
        font-weight: 900;
    }

    /* ЦИТАТА */
    .b24-quote-box {
        background: #f8fafc;
        border-left: 5px solid #22c55e;
        padding: 40px;
        border-radius: 0 25px 25px 0;
        margin: 50px 0;
        position: relative;
    }

    .b24-quote-box p {
        font-size: 18px;
        font-style: italic;
        color: #0f172a;
        margin: 0;
        line-height: 1.7;
    }

    .b24-quote-box span {
        display: block;
        margin-top: 15px;
        font-weight: 800;
        color: #22c55e;
        text-transform: uppercase;
        font-size: 14px;
        letter-spacing: 1px;
    }

    /* АДАПТИВНОСТЬ */
    @media (max-width: 768px) {
        .b24-works-seo-wrap { padding: 60px 0; }
        .b24-seo-card { padding: 25px; }
    }
/* Уникальный префикс для исключения конфликтов: b24-consult-section-unique- */

.b24-consult-section-unique-wrap {
    /* Форсируем темный фон через !important, если тема его перебивает */
    background-color: #171a20 !important; 
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255, 0.03) 0px, rgba(255,255,255, 0.03) 1px, transparent 1px, transparent 10px) !important;
    padding: 60px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    overflow-x: hidden !important;
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
}

/* Фоновое свечение */
.b24-consult-section-unique-wrap::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.b24-consult-unique-container {
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    position: relative !important;
    z-index: 5 !important;
    box-sizing: border-box !important;
}

.b24-consult-unique-flex {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
    width: 100% !important;
}

.b24-consult-unique-info {
    flex: 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.b24-consult-unique-badge {
    display: inline-block !important;
    background: rgba(34, 197, 94, 0.2) !important;
    color: #22c55e !important;
    padding: 6px 16px !important;
    border-radius: 50px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
    margin-bottom: 25px !important;
}

.b24-consult-unique-h2 {
    font-size: clamp(28px, 5vw, 42px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    text-transform: none !important; /* Отмена капса темы */
}

.b24-consult-unique-p {
    font-size: 18px !important;
    color: #cbd5e1 !important;
    max-width: 500px !important;
    margin-bottom: 35px !important;
}

.b24-consult-unique-hint {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

.b24-consult-unique-arrow {
    color: #22c55e !important;
    font-size: 24px !important;
    animation: b24_unique_move 1.5s infinite;
}

/* КАРТОЧКА СТЕКЛО */
.b24-consult-unique-glass-card {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 45px !important;
    border-radius: 30px !important;
    width: 100% !important;
    max-width: 450px !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4) !important;
    text-align: center !important;
}

.b24-consult-unique-status {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    color: #94a3b8 !important;
    margin-bottom: 20px !important;
}

.b24-consult-unique-dot {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: b24_unique_pulse 2s infinite;
}

.b24-consult-unique-phone-link {
    display: block !important;
    font-size: clamp(24px, 4vw, 36px) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
}

.b24-consult-unique-phone-link a {
    color: #fff !important;
    text-decoration: none !important;
}

.b24-consult-unique-divider {
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent) !important;
    margin-bottom: 30px !important;
}

@keyframes b24_unique_pulse {
    0% { transform: scale(0.9); opacity: 1; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(0.9); opacity: 0; }
}

@keyframes b24_unique_move {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(10px); }
}

@media (max-width: 992px) {
    .b24-consult-unique-flex { flex-direction: column !important; text-align: center !important; }
    .b24-consult-unique-info { min-width: 0 !important; max-width: 100% !important; }
    .b24-consult-unique-p { margin: 0 auto 30px !important; }
    .b24-consult-unique-hint { justify-content: center !important; }
    .b24-consult-unique-glass-card { max-width: 100% !important; padding: 30px !important; min-width: 0 !important; }
}


    .b24-faq-v3-dark {
        background: #1d212a;
        padding: 80px 20px;
        font-family: 'Inter', sans-serif;
        color: #fff;
    }

    .b24-faq-v3-container {
        max-width: 850px;
        margin: 0 auto;
    }

    .b24-faq-v3-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .b24-faq-v3-header h2 {
        font-size: clamp(24px, 5vw, 36px);
        font-weight: 800;
        margin-bottom: 15px;
    }

    /* СТИЛИ ПУНКТОВ */
    .b24-faq-v3-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        margin-bottom: 15px;
        overflow: hidden;
        transition: 0.3s;
    }

    .b24-faq-v3-item:hover {
        border-color: #22c55e;
        background: rgba(255, 255, 255, 0.05);
    }

    .b24-faq-v3-trigger {
        width: 100%;
        padding: 22px 30px;
        background: none;
        border: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        text-align: left;
        outline: none;
    }

    .b24-faq-v3-trigger h3 {
        font-size: 18px;
        font-weight: 700;
        color: #fff;
        margin: 0;
        padding-right: 20px;
    }

    .b24-faq-v3-icon {
        width: 26px;
        height: 26px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #22c55e;
        transition: 0.4s;
        flex-shrink: 0;
    }

    /* АНИМАЦИЯ ОТКРЫТИЯ */
    .b24-faq-v3-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
        background: rgba(0, 0, 0, 0.2);
    }

    .b24-faq-v3-inner {
        padding: 0 30px 25px;
        color: #94a3b8;
        font-size: 16px;
        line-height: 1.6;
    }

    /* Активное состояние */
    .b24-faq-v3-item.active {
        border-color: #22c55e;
        background: rgba(34, 197, 94, 0.05);
    }

    .b24-faq-v3-item.active .b24-faq-v3-icon {
        transform: rotate(45deg);
        background: #22c55e;
        color: #fff;
    }

    .b24-faq-v3-item.active .b24-faq-v3-content {
        max-height: 1000px;
        transition: max-height 1s ease-in-out;
    }