/* Базовые стили секции */

/* Преимущества системы */

/* Секция преимуществ */
.adv-blue-section {
    padding: 60px 0;
    background-color: #fff;
}

/* Общий заголовок над карточками */
.adv-blue-main-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #000;
    text-align: left;
}

/* Сетка карточек */
.adv-blue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    gap: 20px;
}

/* Сама карточка */
.adv-blue-card {
    background: linear-gradient(135deg, #0066A2 0%, #004B7D 100%);
    border-radius: 25px;
    padding: 35px;
    display: flex;
    align-items: flex-start; /* Выравнивание по верхнему краю */
    gap: 20px;
}

/* Контейнер для иконки/SVG */
.adv-blue-card__icon {
    flex-shrink: 0;
    width: 50px;
    margin-top: 5px; /* Небольшое смещение для центровки с первой строкой заголовка */
}

.adv-blue-card__icon img, 
.adv-blue-card__icon svg {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1); /* Делает любые иконки белыми */
}

/* Текстовая часть */
.adv-blue-card__body {
    flex: 1;
}

.adv-blue-card__title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.adv-blue-card__desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Заглушка RU */
.adv-blue-card__placeholder {
    width: 45px;
    height: 30px;
    border: 2px solid #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 14px;
}

/* Адаптив */
@media (max-width: 992px) {
    .adv-blue-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .adv-blue-card {
        padding: 25px;
        flex-direction: column; /* На очень узких экранах иконка сверху */
    }
}




/* --- БЛОК: ПРЕИМУЩЕСТВА SKAI --- */
.advantages-skai {
    padding: 80px 0;
    background-color: #fff;
}

.adv-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

/* Стили изображения */
.adv-main-img {
    width: 100%;
    height: auto;
    border-radius: 30px;
    display: block;
    object-fit: cover;
}

/* Правая колонка (Контент) */
.adv-content-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Сетка маленьких карточек */
.adv-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ОБЩИЙ СТИЛЬ КАРТОЧЕК (Маленькие и Футер) */
.adv-card, 
.adv-footer-card {
    border: 1px solid #0073aa;
    border-radius: 30px;
    padding: 20px 20px;
    
    display: flex;
    flex-direction: column; /* ГАРАНТИРУЕТ СНОС ТЕКСТА ВНИЗ */
    align-items: center;    /* Центрирует по горизонтали */
    justify-content: center; /* Центрирует по вертикали */
    text-align: center;
    
    min-height: 120px;
    height: auto;           /* Карточка растет вниз вместе с текстом */
}

/* Стили текста внутри карточек */
.adv-card p, 
.adv-footer-card p {
    margin: 0 0 10px 0; /* Отступ между строками после Enter */
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
    width: 100%;
}

.adv-card p:last-child, 
.adv-footer-card p:last-child {
    margin-bottom: 0;
}

/* Большая плашка снизу */
.adv-footer-card {
    width: 100%;
}

/* РУЧНОЕ ВЫДЕЛЕНИЕ ЦВЕТА (из WYSIWYG) */
/* Если в редакторе выбрал цвет, он применится через span style */
.adv-card span[style*="color"],
.adv-footer-card span[style*="color"] {
    font-weight: 800; /* Делаем цветные акценты чуть жирнее для наглядности */
}

/* --- АДАПТИВ --- */
@media (max-width: 991px) {
    .adv-main-grid {
        grid-template-columns: 1fr;
    }
    .adv-image-side {
        order: 2; /* Картинка под карточками */
    }
}

@media (max-width: 576px) {
    .adv-cards-grid {
        grid-template-columns: 1fr;
    }
    .adv-card {
        padding: 20px;
        min-height: auto;
    }
}

/* Отрасли внедрения */
.industry-card {
    display: flex;
    text-decoration: none; /* Убираем подчеркивание */
    color: inherit;         /* Текст берет цвет родителя (черный/серый) */
    transition: all 0.3s ease;
}

.industry-card--link:hover {
    transform: translateY(-5px); /* Легкий эффект при наведении на кликабельную карточку */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.industries-section {
    padding: 80px 0;
    background-color: #fff;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 колонки в ряд */
    gap: 20px;
}

.industry-card {
    background: #F4F7F9;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    border: 2px solid transparent; /* Заготовка под рамку */
    transition: all 0.3s ease-in-out;
    cursor: default;
}

/* ЭФФЕКТ ПРИ НАВЕДЕНИИ */
.industry-card:hover {
    background: #fff;
    border-color: #0088FF; /* Синяя рамка из макета */
    box-shadow: 0 10px 30px rgba(0, 136, 255, 0.15); /* Мягкое свечение */
    transform: translateY(-5px);
}

.industry-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0 0 20px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.industry-card:hover .industry-card__name {
    color: #0088FF;
}

.industry-card__image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
}

.industry-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.industry-card:hover .industry-card__image img {
    transform: scale(1.05); /* Легкий зум картинки при наведении */
}

/* Адаптив */
@media (max-width: 1200px) {
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .industry-card {
        min-height: auto;
    }
}

.dispatch-banner {
    padding: 60px 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 550px;
    display: flex;
    align-items: center;
}

.dispatch-banner__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Кнопка внизу */
    width: 100%;
}

.dispatch-banner__content {
    max-width: 650px;
}

.dispatch-banner__title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.dispatch-banner__subtitle {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
}

.dispatch-banner__descr {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.dispatch-banner__list-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.dispatch-banner__list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.dispatch-banner__list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #fff;
}

.dispatch-banner__list li::before {
    content: "—";
    position: absolute;
    left: 0;
}

/* Изолируем стиль результата от общих p темы */
.dispatch-banner__result {
    font-size: 18px;
    color: #fff !important; /* Перебиваем серый цвет темы */
}

.dispatch-banner__result strong {
    font-weight: 800;
    color: #fff;
}

.btn-dispatch {
    display: inline-block;
    padding: 16px 45px;
    background: #EBF5FF;
    color: #001A34 !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: 0.3s;
    white-space: nowrap;
    margin-bottom: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-dispatch:hover {
    background: #fff;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .dispatch-banner__container {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-dispatch {
        margin-top: 40px;
    }
}

/* Антисон */
/* Основной контейнер */
.antison-relevance {
    padding: 80px 0;
    line-height: 1.5;
}

.antison-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Стили заголовка из WYSIWYG */
.antison-main-title-wrap > * {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 0;
}

/* Стили подзаголовка из WYSIWYG */
.antison-main-subtitle-wrap > * {
    font-size: 18px;
    margin-bottom: 40px;
    margin-top: 0;
    color: #444;
}

/* Сетка контента */
.antison-main-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.antison-image-col {
    flex: 1;
}

.antison-image-col img {
    width: 100%;
    height: auto;
    display: block;
}

.antison-content-col {
    flex: 1.2;
}

/* Серая карточка */
.antison-gray-card {
    background-color: #f4f7f9;
    padding: 45px;
    border-radius: 24px;
}

.antison-list-heading {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 25px 0;
}

.antison-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.antison-items li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 16px;
}

.antison-arrow {
    color: #0077b6;
    font-weight: bold;
    flex-shrink: 0;
}

/* Синий баннер */
.antison-cta-block {
    background: linear-gradient(90deg, #0066a1 0%, #002d4b 100%);
    border-radius: 20px;
    padding: 40px;
    color: #ffffff;
    text-align: center;
}

/* Стили текста внутри синего баннера */
.antison-cta-content > * {
    margin: 0;
    color: #ffffff !important; /* Принудительно белый для всех тегов внутри */
}

/* Чтобы жирный текст из ACF работал */
.antison-relevance strong, 
.antison-relevance b {
    font-weight: 700;
}

/* Адаптивность */
@media (max-width: 991px) {
    .antison-main-row {
        flex-direction: column;
    }
    
    .antison-main-title-wrap > * {
        font-size: 28px;
    }
    
    .antison-gray-card {
        padding: 30px;
    }
}

/* Состав системы антисон */
.as-composition {
    padding: 60px 0;
    background-color: #ffffff;
}

.as-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок блока */
.as-comp-header {
    margin-bottom: 40px;
}

.as-comp-header > * {
    margin: 0;
    line-height: 1.2;
}

/* Основное изображение (грузовик) */
.as-comp-body {
    text-align: center;
    margin-bottom: 40px;
}

.as-comp-body img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

/* Опциональный текст внизу */
.as-comp-footer {
    margin-top: 30px;
}

.as-comp-footer > * {
    font-size: 18px;
    line-height: 1.5;
}

/* Поддержка жирного текста из WYSIWYG */
.as-composition strong, 
.as-composition b {
    font-weight: 700;
}

/* Адаптив */
@media (max-width: 768px) {
    .as-composition {
        padding: 40px 0;
    }
    
    .as-comp-header > * {
        font-size: 24px !important;
    }
}