/* --- ПОДКЛЮЧЕНИЕ ШРИФТА --- */
@import url('https://fonts.googleapis.com/css2?family=Commissioner:wght@400;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

/* --- ГЛОБАЛЬНЫЙ ШРИФТ --- */
body, input, button, textarea, select, .btn {
    font-family: 'Commissioner', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero-блок */
.solution-hero {
    padding-bottom: 100px;
    color: #fff;
    text-align: left;
    display: block;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.solution-hero .container {
    max-width: 1335px;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
}

.solution-hero__content {
    width: 100%;
    max-width: 820px;
    margin: 0 !important;
    text-align: left;
    position: relative;
    z-index: 5;
}

/* Элементы контента */
.video-hero__kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.solution-hero__title {
    font-size: 44px !important;
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.video-hero__subtitle {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
}

.video-hero__lead {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.55;
    color: #fff;
    margin-bottom: 52px;
}

/* Кнопки */
.solution-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

.solution-hero .btn {
    border-radius: 9999px;
    padding: 14px 28px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.solution-hero .btn--white {
    background: #fff !important;
    color: #005fae !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-hero .btn--blue {
    background: rgba(0, 62, 124, 0.85) !important;
    color: #fff !important;
    border: 1px solid rgba(110, 167, 255, 0.35);
}

.solution-hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Основной контейнер секции */
.solution-detail {
    padding: 80px 0;
    background-color: #fff;
}

/* Вводный текст (Intro) */
.solution-detail__intro {
    max-width: 900px;
    margin-bottom: 45px;
}

.solution-detail__intro p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

/* Сетка (Grid) */
.solution-detail__grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Левая часть - Медиа */
.solution-detail__media {
    flex: 0 0 55%;
    max-width: 55%;
}

.solution-detail__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Правая часть - Список */
.solution-detail__relevant {
    flex: 1;
}

.solution-detail__title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.3;
}

/* Кастомный список */
.solution-custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.solution-custom-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 17px;
    line-height: 1.4;
    color: #333;
}

.solution-custom-list .list-arrow {
    color: #007BB7;
    font-weight: bold;
    font-size: 18px;
    line-height: 1;
    margin-top: 2px;
}

/* --- ЧТО ФИКСИРУЕТ СИСТЕМА --- */
.fix-system-section {
    position: relative;
    padding: 30px 0; /* Увеличил отступ для баланса */
    z-index: 1;
}

.fix-system-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 667px); 
    width: 200vw; /* Запас ширины вправо */
    background-color: #F7F3F3;
    border-radius: 40px 0 0 40px;
    z-index: -1;
}

.fix-container-inner {
    display: flex;
    gap: 40px;
    max-width: 1335px;
    margin: 0 auto;
    padding: 0 20px;
}

.fix-content {
    flex: 0 0 450px;
}

.fix-group-title {
    font-size: 20px;
    font-weight: 700;
    color: #005fae;
    margin: 30px 0 15px;
}

.fix-list {
    list-style: none;
    padding: 0;
}

.fix-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.4;
}

.fix-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #005fae;
    font-weight: 700;
}

/* --- КОЛЛАЖ --- */
.fix-images-wrapper {
    flex: 1;
    position: relative;
    height: 600px;
    margin-top: 40px;
}

.fix-collage__item {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    line-height: 0; /* Убирает зазоры под картинками */
}

.fix-collage__item img {
    display: block;
    width: 100%;
}

/* Позиции по макету */
.fix-collage__item--1 { width: 370px; top: 0; left: 10%; z-index: 1; }
.fix-collage__item--2 { width: 370px; top: 80px; left: 35%; z-index: 4; }
.fix-collage__item--3 { width: 370px; top: 320px; left: 10%; z-index: 2; }
.fix-collage__item--4 { width: 320px; bottom: 20px; right: 20%; z-index: 1; }

/* --- АДАПТИВ --- */
@media (max-width: 1350px) {
    .fix-system-section::before { left: 20px; }
}

@media (max-width: 1100px) {
    .fix-container-inner { flex-direction: column; align-items: center; }
    .fix-content { width: 100%; flex: none; }
    .fix-images-wrapper { 
        width: 100%;
        height: auto;
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 15px; /* Гап между фото на мобилке */
        margin-top: 30px;
    }
    .fix-collage__item { 
        position: static !important; 
        width: 100% !important; 
    }
    .fix-system-section::before { left: 0; border-radius: 0; width: 100%; }
}

@media (max-width: 600px) {
    .solution-hero__title { font-size: 32px; }
    .solution-detail__intro p { font-size: 18px; }
    .fix-images-wrapper { grid-template-columns: 1fr; }
}

/* Единый стиль заголовков секций */
.section-title,
.sf-title,
.fix-main-title,
.key-functions .section-title {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 40px;
    font-weight: 500;
    line-height: 1.3;
}