* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'TildaSans', system-ui, -apple-system, sans-serif;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
}

section {
    padding: 15px;
    transition: background-color 0.3s ease;
}

/* === UTILITIES === */
.text-center {
    text-align: center !important;
}

.text-muted {
    color: #666 !important;
}

.bg-dark-section .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.d-block {
    display: block !important;
}

.d-none {
    display: none !important;
}

.fw-bold {
    font-weight: 700 !important;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }
}

.bg-dark-section,
.bg-dark-section h1,
.bg-dark-section h2,
.bg-dark-section h3,
.bg-dark-section h4,
.bg-dark-section .section-title,
.bg-dark-section .tab-title,
.bg-dark-section .info-block-subtitle,
.bg-dark-section .feature-name {
    color: #ffffff !important;
}

.bg-dark-section p,
.bg-dark-section .tab-desc,
.bg-dark-section .info-block-desc {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-dark-section .comparison-table th {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.bg-dark-section .comparison-table td {
    background: transparent;
    color: #fff;
}

.bg-dark-section .tab-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.bg-dark-section .tab-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.bg-dark-section .tab-item.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

/* === PROBLEM GRID SECTION === */
.problem-grid-section {
    padding: 60px 0;
}

.problem-grid-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
}

.problem-grid-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
}

.problem-grid-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    white-space: pre-wrap;

}

.problem-grid-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    /* Скругляем края всей таблицы */
}

.problem-pair {
    display: flex;
    width: 50%;
    /* 2 pairs per row on desktop */
    height: 350px;
    /* Фиксированная высота для выравнивания */
}

.problem-box {
    width: 50%;
    position: relative;
    /* overflow: hidden; */
    /* Убрали, чтобы стрелки были видны */
    display: flex;
    flex-direction: column;
}

.problem-img-box {
    overflow: hidden;
    /* Картинку всё же обрезаем */
}

.problem-text-box {
    background: #fff;
    padding: 0;
    /* Убрали паддинг отсюда */
    display: flex;
    flex-direction: column;
    overflow: visible;
    /* Важно для отображения стрелок */
}

.problem-text-inner {
    padding: 40px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.problem-text-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    white-space: pre-wrap;
}

.problem-text-box p {
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.6;
    white-space: pre-wrap;
}

.problem-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Направленные стрелки */
.problem-text-box::after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -15px;
    /* Половина от новой высоты */
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 10;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    /* Добавили тень для выразительности */
}

/* Десктопные стрелки и направления */
@media (min-width: 1200px) {
    .dir-normal .problem-text-box::after {
        right: -15px;
        /* Соответствует новой ширине стрелки */
        border-width: 15px 0 15px 15px;
        border-color: transparent transparent transparent #ffffff;
    }

    .dir-reverse {
        flex-direction: row-reverse;
    }

    .dir-reverse .problem-text-box::after {
        left: -15px;
        /* Соответствует новой ширине стрелки */
        border-width: 15px 15px 15px 0;
        border-color: transparent #ffffff transparent transparent;
    }
}

/* На мобилках всегда Картинка НАД Текстом */
@media (max-width: 1199px) {
    .problem-pair {
        width: 100%;
        flex-direction: column !important;
        height: auto !important;
        min-height: auto;
    }

    .problem-box {
        width: 100%;
    }

    .problem-img-box {
        height: 300px;
        order: 1;
    }

    .problem-text-box {
        padding: 30px 20px;
        text-align: center;
        order: 2;
        border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    }

    .problem-grid-container {
        box-shadow: none;
        border-radius: 0;
    }

    .problem-text-box::after {
        display: none;
    }

    .problem-grid-title {
        font-size: 26px;
    }
}

/* === COLLAGE & TEXT SECTION === */
.collage-section {
    padding: 100px 0;
    overflow: hidden;
}

.collage-container {
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    gap: 100px;
    padding: 0 60px;
}

.collage-visual {
    flex: 1;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collage-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 450px;
}

.collage-img {
    position: absolute;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    padding: 5px;
}

.collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Основное фото (Слева) */
.collage-img-1 {
    width: 280px;
    height: 380px;
    left: -15px;
    top: -10px;
    z-index: 1;
}

/* Центральное фото (Справа вверху) */
.collage-img-2 {
    width: 200px;
    height: 200px;
    right: 0;
    top: 10px;
    z-index: 2;
}

/* Нижнее фото (Справа внизу) */
.collage-img-3 {
    width: 320px;
    height: 220px;
    bottom: -15px;
    right: -20px;
    z-index: 3;
}

.collage-content {
    flex: 1;
}

.collage-title {
    font-size: 42px;
    /* Уравняли с другими секциями */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
}

.collage-accent {
    transition: color 0.3s ease;
}

.collage-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.7;
    max-width: 500px;
}

/* Мобильная версия */
@media (max-width: 1199px) {
    .collage-section {
        padding: 60px 0;
    }

    .collage-container {
        flex-direction: column;
        gap: 50px;
        padding: 0 20px;
    }

    .collage-visual {
        width: 100%;
        min-height: 420px;
        display: flex;
        justify-content: center;
        margin-bottom: 30px;
    }

    .collage-img-wrapper {
        transform: scale(0.7);
        width: 100%;
        max-width: 400px;
        height: 380px;
        margin: 0 auto;
        position: relative;
    }

    .collage-img-1 {
        width: 260px !important;
        height: 340px !important;
        left: -70px !important;
        top: 0 !important;
    }

    .collage-img-2 {
        width: 160px !important;
        height: 160px !important;
        right: -80px !important;
        top: -80px !important;
    }

    .collage-img-3 {
        width: 280px !important;
        height: 190px !important;
        right: -100px !important;
        bottom: -80px !important;
    }

    .collage-content {
        text-align: center;
    }

    .collage-title {
        font-size: 26px;
    }

    .collage-desc {
        font-size: 16px;
        margin: 0 auto;
    }
}

/* === INFO CARDS SECTION === */
.info-cards-section {
    padding: 80px 0;
}

.info-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-card-item {
    flex: 0 1 360px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    min-height: 450px;
    /* Минимальная высота для единообразия */
}

/* === HOTSPOTS SECTION === */
.hotspots-section {
    padding: 100px 0;
    overflow: hidden;
}

.hotspots-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.hotspots-main-img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.hotspot-point {
    position: absolute;
    width: 32px;
    height: 32px;
    background: #004d99;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 4px rgba(31, 91, 255, 0.2);
    z-index: 10;
}

/* Мягкая ненавязчивая пульсация только для кольца */
.hotspot-point::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid #004d99;
    animation: hotspotRippleSoft 3s infinite;
    pointer-events: none;
}

@keyframes hotspotRippleSoft {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes hotspotPulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 20px rgba(31, 91, 255, 0.6);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes hotspotRipple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Тултип */
.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    width: 250px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 20;
    pointer-events: none;
}

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #fff;
}

.hotspot-point:hover,
.hotspot-point.is-active {
    z-index: 100;
}

.hotspot-point:hover .hotspot-tooltip,
.hotspot-point.is-active .hotspot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* === HOTSPOTS BA SECTION (Combined) === */
.hotspots-ba-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 40px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.hotspots-ba-slider {
    position: relative;
    width: 100%;
    line-height: 0;
}

.hotspots-ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    clip-path: inset(0 50% 0 0);
}

.hotspots-ba-img-after {
    width: 100%;
    display: block;
    object-fit: cover;
    z-index: 0;
}

.hotspots-ba-handle-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #fff;
    z-index: 5;
    transform: translateX(-50%);
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Ensure hotspots stay on top of the slider */
.hotspots-ba-container .hotspot-point {
    z-index: 10;
}

.hotspots-ba-controls {
    max-width: 1000px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.ba-range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    outline: none;
    margin: 30px 0;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.ba-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid #004d99;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23004d99' viewBox='0 0 16 16'%3E%3Cpath d='M10 12.796V3.204L4.519 8.000 10 12.796zm-4 0V3.204L11.481 8.000 6 12.796z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.2s;
}

.ba-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.ba-range-slider::-moz-range-thumb {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 2px solid #004d99;
    transition: all 0.2s;
}


/* Легенда снизу */
.hotspots-legend {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.2s;
    border: 1px solid transparent;
    cursor: pointer;
}

.legend-item:hover {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.legend-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: #004d99;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.legend-text {
    font-size: 16px;
    line-height: 1.4;
    color: #333;
    font-weight: 600;
}

@media (max-width: 1199px) {
    .hotspots-legend {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 575px) {
    .hotspots-legend {
        grid-template-columns: 1fr;
    }

    .legend-item {
        border-radius: 12px;
    }

    /* На мобилках прямоугольнее лучше */
}

@media (max-width: 767px) {
    .hotspot-tooltip {
        width: 180px;
        max-width: 75vw;
        padding: 12px 15px;
        font-size: 13px;
        line-height: 1.4;
    }
}

/* === ILLUSTRATION GRID SECTION === */
.illustration-grid-section {
    padding: 100px 0;
}

.illustration-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.illustration-header .section-title {
    margin-bottom: 10px !important;
    margin-top: 0;
}

.illustration-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-top: 0;
}

.illustration-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.illustration-item {
    flex: 0 1 360px;
    display: flex;
    flex-direction: column;
}

.illustration-img {
    width: 100%;
    height: 300px;
    /* Сделаем повыше как на скрине */
    margin-bottom: 30px;
}

.illustration-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Заменим contain на cover для лучшего заполнения скругленных углов */
    border-radius: 12px;
}

.illustration-pretitle {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 21px;
    /* Фиксируем высоту для выравнивания */
}

.illustration-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a1a1a;
    white-space: pre-wrap;
    line-height: 1.3;
    min-height: 52px;
    /* На 2 строки, чтобы заголовки были на одном уровне */
}

.illustration-desc {
    font-size: 16px;
    line-height: 1.6;
    white-space: pre-wrap;
    color: #555;
    margin-bottom: 25px;
    min-height: 130px;
    /* Фиксируем зону описания для "уровня глаз" */
}

.illustration-btn-wrapper {
    margin-top: auto;
}

.illustration-btn {
    display: inline-block;
    background-color: #004d99;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-align: center;
}

.illustration-btn:hover {
    background-color: #003a73;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 77, 153, 0.2);
    color: #fff;
}

.illustration-desc ul {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.illustration-desc li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 6px;
    font-size: 14px;
}

.illustration-desc li::before {
    content: "•";
    position: absolute;
    left: 0;
}

@media (max-width: 767px) {
    .illustration-img {
        height: 250px;
    }
}

.info-card-item:hover {
    transform: translateY(-5px);
}

.info-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eee;
}

.info-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-body {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.info-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    white-space: pre-wrap;
}

.info-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    white-space: pre-wrap;

    margin: 0;
}

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

@media (max-width: 767px) {
    .info-cards-grid {
        grid-template-columns: 1fr;
    }

    .info-card-img {
        height: 250px;
    }
}

a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

.nav-bar {
    padding: 0px 40px;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-bar-top-side {
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-bar-bottom-side {
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-bar-bottom-side-nav-list {
    display: flex;
    flex-direction: row;
    gap: 35px;
    list-style: none;
    font-weight: 400;
    font-size: 18px;
}

.nav-bar-top-side-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-bar-top-side-logo-href {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-bar-top-side-logo-img {
    height: 70px;
}

.nav-bar-top-side-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-bar-top-side-info-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.nav-bar-top-side-info-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 15px;
}

.nav-bar-top-side-info-list-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 20px;
}

.nav-bar-top-side-info-list-item-socials {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontalline {
    margin: 0;
    border: 0;
    background-color: #e2e2e2;
    height: 1px;
    right: 0;
    bottom: 0;
}

@media (max-width: 1340px) and (min-width: 1201px) {
    .nav-bar-bottom-side-nav-list {
        gap: 20px;
        font-size: 16px;
    }

    .nav-bar-top-side-info-container {
        gap: 15px;
    }

    .nav-bar-top-side-info-list-item {
        font-size: 16px;
    }
}

.nav-bar-top-side-info-list-item-btn {
    transition: 0.2s;
    color: #ffffff;
    background-color: #004d99;
    padding: 10px 15px;
    font-size: 16px;
    --border-width: 0px;
    border-radius: 100px;
    outline: 0px solid transparent;
    border: 0px solid transparent;
    cursor: pointer;
    font-weight: 500;
}

.nav-bar-top-side-info-list-item-btn:hover {
    transition: 0.2s;
    background-color: #1549da;
}

/* --- СТИЛИ ДЛЯ ВЫПАДАЮЩЕГО СПИСКА --- */

/* Контейнер для выпадающего списка */
.nav-bar-bottom-side-nav-list-item.dropdown {
    position: relative;
    /* Относительно этого элемента будет позиционироваться меню */
}

/* Треугольник (стрелочка) рядом с текстом */
.arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 4px solid #000;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

/* ДОБАВЛЕНО: Переворачиваем стрелочку на 180 градусов при наведении на пункт меню */
.nav-bar-bottom-side-nav-list-item.dropdown:hover .arrow {
    transform: rotate(180deg);
}

/* Стили самого выпадающего меню */
.dropdown-menu {
    position: absolute;
    top: 100%;
    /* Располагаем ровно под родительским пунктом меню */
    left: 0;
    background-color: #ffffff;
    min-width: 280px;
    /* Ширина меню как на скриншоте */
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    /* Легкая тень для объема */
    list-style: none;
    padding-top: 15px;
    margin: 0;
    border-radius: 10px;

    /* Скрываем по умолчанию */
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    /* Небольшой сдвиг для плавной анимации */
    transition: all 0.3s ease;
    /* Плавное появление */
    z-index: 100;
}

/* Показываем меню при наведении на родительский <li> */
.nav-bar-bottom-side-nav-list-item.dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Стили для ссылок внутри меню */
.dropdown-menu li a {
    display: block;
    padding: 10px 25px;
    font-size: 15px;
    /* Чуть меньше основного меню, как на скрине */
    font-weight: 400;
    color: #000;
    transition: background-color 0.2s;
    line-height: 1.4;
}

/* Эффект при наведении на пункт выпадающего меню */
.dropdown-menu li a:hover {
    background-color: #f4f4f4;
}

/* СТИЛИ ДЛЯ ПОДКАТЕГОРИЙ 3-ГО УРОВНЯ (сдвиг вправо) */
.dropdown-menu li.sub-item a {
    padding-left: 45px;
    /* Сдвигаем текст правее */
    font-size: 14px;
    /* Уменьшаем шрифт, как на скрине */
    color: #555;
    /* Делаем цвет чуть светлее для визуальной иерархии */
    padding-top: 6px;
    /* Делаем их чуть ближе друг к другу */
    padding-bottom: 6px;
}

/* При наведении на подкатегорию */
.dropdown-menu li.sub-item a:hover {
    color: #000;
    background-color: #f8f9fa;
}

/* Стрелочка, которая смотрит вправо для подкатегорий */
.arrow.right-arrow {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #000;
    border-right: none;
    margin-left: 10px;
    float: right;
    margin-top: 6px;
    transition: transform 0.3s ease;
}

.section-title {
    text-align: center;
    width: 100%;
    margin: 100px 0px 60px;
    font-weight: 700;
    font-size: 42px;
    /* Единый стандарт для заголовков секций */
    white-space: pre-wrap;
}

/* --- СТИЛИ ДЛЯ ВЫПАДАЮЩЕГО СПИСКА --- */


/* --- СТИЛИ ДЛЯ ФУТЕРА --- */

.footer {
    background-color: #004d99;
    /* Синий цвет фона */
    color: #ffffff;
    /* Белый цвет текста */
    padding: 60px 40px;
    /* Отступы сверху/снизу и по бокам */
    font-family: 'TildaSans', system-ui, -apple-system, sans-serif;
}

.footer-container {
    max-width: 1200px;
    /* Ограничиваем максимальную ширину контента */
    margin: 0 auto;
    /* Центрируем контейнер */
    display: flex;
    justify-content: space-between;
    /* Распределяем колонки по ширине */
    gap: 30px;
    /* Отступ между колонками, если экран начнет сужаться */
}

/* Колонки */
.footer-col {
    flex: 1;
    /* Каждая колонка занимает равную долю пространства */
    max-width: 280px;
    /* Не даем колонкам сильно растягиваться */
}

/* Заголовки в футере */
.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Блок с иконками соцсетей */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.footer-social-link:hover {
    opacity: 0.8;
}

/* Текстовые контакты в первой колонке */
.footer-contacts p {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #e0e0e0;
    /* Чуть приглушенный белый для читаемости */
}

.footer-contacts a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contacts a:hover {
    color: #ffffff;
}

/* Списки ссылок (2, 3 и 4 колонки) */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 15px;
    /* Отступ между пунктами списка */
}

.footer-list a {
    color: #e0e0e0;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:hover {
    color: #ffffff;
    /* При наведении текст становится ярко-белым */
}

/* --- СЕКЦИЯ ГАЛЕРЕИ --- */
/* --- Главный контейнер --- */
.gallery-wrapper {
    display: flex;
    gap: 15px;
    /* Отступ между 3 главными блоками */
    width: 100%;
    height: 100%;
    /* Задаем общую высоту галереи */
    box-sizing: border-box;
    font-family: sans-serif;
    aspect-ratio: 2 / 1;
    /* Добавляем минимальную высоту, чтобы на совсем узких экранах текст не сплющило */
    min-height: 450px;
}

/* Общие стили для колонок */
.gallery-col {
    display: flex;
    gap: 15px;
    /* Отступ между фото внутри блоков */
    flex: 1;
    /* Все 3 колонки имеют одинаковую ширину */
}

/* --- Логика Блока 1 (Адаптивный квадрат) --- */
.col-adaptive {
    flex-wrap: wrap;
    /* Разрешаем перенос на новую строку */
    /* Если колонок 3, сделаем первую чуть шире для красоты (по желанию) */
    flex: 1.5;
}

/* По умолчанию карточки в Блоке 1 занимают 50% ширины (сетка 2х2) */
.col-adaptive .gallery-item {
    /* calc(50% - 7.5px) учитывает gap, чтобы 2 элемента влезли ровно */
    flex: 1 1 calc(50% - 15px);
}

/* МАГИЯ: Если в Блоке 1 РОВНО 3 элемента, первый занимает 100% ширины! */
.col-adaptive .gallery-item:first-child:nth-last-child(3) {
    flex: 1 1 100%;
}

/* --- Логика Блоков 2 и 3 (Вертикальные) --- */
.col-vertical {
    flex-direction: column;
    /* Элементы выстраиваются сверху вниз */
}

/* Элементы внутри вертикальных колонок делят высоту поровну */
.col-vertical .gallery-item {
    flex: 1;
    /* Если 1 фото - 100% высоты, если 2 фото - по 50% и т.д. */
    height: 100%;
    /* Гарантируем растягивание */
}

/* --- Дизайн самих карточек (фото + текст) --- */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Легкое скругление углов, как на скриншоте */
    background-color: #1a1a1a;
    /* Заглушка, пока грузится фото */
    display: flex;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    /* Плавность для эффекта при наведении */
}

/* Легкий зум при наведении (по желанию) */
.gallery-item:hover img {
    transform: scale(1.03);
}



/* --- Оформление текста поверх фото --- */
.item-text {
    position: relative;
    z-index: 2;
    /* Текст поверх картинки */
    margin-top: auto;
    /* Прижимает текст к низу карточки */
    width: 100%;
    padding: 40px 20px 20px;
    /* Градиент для читаемости текста на светлых фото */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    color: #fff;
    box-sizing: border-box;
}

.item-text h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    /* Стандарт для заголовков карточек */
    font-weight: 700;
    white-space: pre-wrap;
}

.item-text p {
    margin: 0;
    font-size: 15px;
    opacity: 0.8;
    line-height: 1.4;
    white-space: pre-wrap;
}

/* Делаем галерею адаптивной под мобильные телефоны */
@media (max-width: 900px) {
    .gallery-wrapper {
        flex-direction: column;
        height: auto;
    }

    .gallery-col {
        min-height: 400px;
    }
}

.table-success-subtle {
    background-color: rgba(25, 135, 84, 0.05) !important;
}

/* --- Главный контейнер (Секция с фоном) --- */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 80vh;
    /* Блок занимает минимум 80% высоты экрана */
    display: flex;
    align-items: flex-end;
    /* Прижимаем контент к низу */
    padding: 40px 5%;
    /* Отступы по бокам (5%) и снизу (40px) */
    box-sizing: border-box;
    font-family: sans-serif;

    /* Укажите путь к вашей фоновой картинке */
    background: url('/img/herobanner/1.jpg') center/cover no-repeat;
}

/* --- Затемнение фона (Градиент) --- */
/* Делаем левую часть темной, чтобы текст читался, а правую — прозрачной */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    /* Градиент лежит поверх картинки, но под текстом */
}

/* --- Обертка для плашек с текстом --- */
.hero-content {
    position: relative;
    z-index: 2;
    /* Вытягиваем текст поверх затемнения */
    max-width: 550px;
    /* Ограничиваем ширину плашек на ПК */
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Расстояние между синей и белой плашкой */
    margin-bottom: 5vh;
    /* Немного приподнимаем над самым низом экрана */
}

/* --- Синяя плашка (Заголовок) --- */
.hero-title-box {
    background-color: #004d99;
    /* Цвет как на вашем макете */
    color: #ffffff;
    padding: 30px 40px;
}

.hero-title-box h1 {
    margin: 0;
    font-size: 42px;
    /* Сделали крупнее по запросу */
    line-height: 1.2;
    font-weight: 700;
    white-space: pre-wrap;
}

/* --- Белая плашка (Описание) --- */
.hero-desc-box {
    background-color: #ffffff;
    color: #1a1a1a;
    padding: 25px 40px;
}

.hero-desc-box p {
    margin: 0;
    white-space: pre-wrap;

    font-size: 18px;
    /* Увеличили для солидности */
    line-height: 1.6;
}

/* --- ИНФО-ПАНЕЛИ (INFO BLOCKS) --- */
.info-blocks-section {
    padding: 60px 5%;
    background-color: #ffffff;
    font-family: 'TildaSans', system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
}

.info-blocks-title {
    text-align: center;
    font-size: 42px;
    /* Стандарт */
    font-weight: 700;
    margin-bottom: 60px;
}

.info-blocks-grid {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-block-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-block-img {
    width: 100%;
    margin-bottom: 25px;
}

.info-block-img img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.info-block-subtitle {
    font-size: 20px;
    /* Стандарт для подзаголовков/карточек */
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 600;
    white-space: pre-wrap;
}

.info-block-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    white-space: pre-wrap;

}

/* --- ТАБЛИЦА СРАВНЕНИЯ (COMPARISON TABLE) --- */
.comparison-section {
    padding: 80px 5%;
    background-color: #ffffff;
    font-family: 'TildaSans', system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
}

.comparison-section .section-title {
    text-align: center;
    font-size: 42px;
    /* Стандарт */
    font-weight: 700;
    margin-bottom: 60px;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.comparison-table th,
.comparison-table td {
    padding: 25px 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.comparison-table th {
    background: #fafafa;
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    width: 40%;
    max-width: 450px;
    background: #fff;
}

.feature-name {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
}

.status-cell {
    width: 20%;
}

.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 20px;
    color: #fff;
}

.status-icon.success {
    background-color: #2ecc71;
}

.status-icon.danger {
    background-color: #e74c3c;
}

/* =========================================
   АДАПТИВНОСТЬ (Мобильные телефоны и планшеты)
   ========================================= */

@media (max-width: 1200px) {

    /* 1. Главный контейнер теперь гибкий, с отступами со всех сторон */
    .nav-bar {
        display: flex;
        flex-wrap: wrap;
        /* Разрешаем элементам переноситься на новую строку */
        align-items: center;
        /* Выравниваем логотип и бургер строго по одной горизонтальной линии */
        background: #fff;
        /* Цвет шапки */
        padding: 15px 20px;
        /* Отступы от краев экрана. Задают пространство для логотипа и кнопки */
        position: relative;
        z-index: 1000;
    }

    /* "Растворяем" промежуточные блоки */
    .nav-bar-top-side,
    .nav-bar-bottom-side {
        display: contents;
    }

    /* 2. Логотип (слева) */
    .nav-bar-top-side-logo {
        order: 1;
        margin: 0;
        max-width: 180px;
        /* Ограничиваем ширину на мобилках */
    }

    .nav-bar-top-side-logo-img {
        width: 100%;
        height: auto;
    }

    /* 3. Бургер (справа, на одном уровне с лого) */
    .menu-toggle {
        display: block !important;
        order: 2;
        position: static;
        /* Убрали absolute! Теперь он в одном потоке с логотипом */
        margin-left: auto;
        /* Прижимает кнопку к правому краю */
        padding: 5px;
        /* Легкий внутренний отступ для удобства клика */
    }

    .horizontalline {
        display: none;
    }

    /* Прячем списки по умолчанию */
    .nav-bar-top-side-info,
    .nav-bar-bottom-side-nav-list {
        display: none;
        width: 100%;
        /* Чтобы меню занимало всю ширину при переносе строки */
        margin: 0;
        padding: 0;
    }

    /* ========================================= */
    /* === ОТКРЫТОЕ СОСТОЯНИЕ МЕНЮ (.active) === */
    /* ========================================= */

    .nav-bar.active {
        /* Убрали 100vh. Теперь высота зависит только от количества пунктов меню */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        /* Легкая тень снизу для красоты */
        padding-bottom: 20px;
        /* Аккуратный отступ снизу в открытом виде */
    }

    .nav-bar.active .nav-bar-bottom-side-nav-list,
    .nav-bar.active .nav-bar-top-side-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Унификация заголовков на мобилках */
    .section-title,
    .info-blocks-title,
    .collage-title,
    .problem-grid-title,
    .illustration-header .section-title,
    .comparison-section .section-title,
    .tabbed-features-section .section-title {
        font-size: 32px !important;
        margin-bottom: 40px !important;
    }

    /* Унификация описаний на мобилках */
    .collage-desc,
    .problem-text-box p,
    .info-block-desc,
    .tab-desc,
    .illustration-desc {
        font-size: 16px;
    }

    /* 4. Ссылки меню (сразу под шапкой) */
    .nav-bar-bottom-side-nav-list {
        order: 3;
        margin-top: 20px;
        /* Адекватный отступ от логотипа */
        gap: 15px;
        /* Компактное расстояние между ссылками */
    }

    /* 5. Контакты и кнопка (под ссылками) */
    .nav-bar-top-side-info {
        order: 4;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eaeaea;
        /* Линия, отделяющая ссылки от контактов */
        gap: 15px;
    }

    .nav-bar-top-side-info-list {
        display: flex;
        flex-direction: row;
        /* Соцсети выстроим в ряд */
        justify-content: center;
        gap: 15px;
        margin: 0;
        padding: 0;
    }

    /* Галерея: вертикальный вид для планшетов */
    .gallery-wrapper {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .custom-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* На планшетах 2 колонки */
    }

    .gallery-card[style*="span 2"] {
        grid-column: span 2 !important;
        /* Широкая карточка остается на всю ширину экрана */
    }
}

@media (max-width: 768px) {
    .nav-bar-top-side-info-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-bar-top-side-info-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Бургер-меню */
    .nav-bar-bottom-side {
        min-height: 50px;
    }

    .menu-toggle {
        display: block !important;

    }

    .nav-bar-bottom-side-nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        /* Чтобы перекрывало баннер */
        gap: 20px;
    }

    .nav-bar-bottom-side-nav-list.active {
        display: flex;
    }

    .nav-bar-bottom-side-nav-list-item {
        text-align: center;
    }

    /* Адаптация выпадающего подменю внутри бургера */
    .dropdown-menu {
        position: static;
        /* Отключаем абсолютное позиционирование */
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        /* Скрываем, пока не нажмут */
        background-color: #f9f9f9;
        margin-top: 10px;
    }

    /* Раскрываем меню через класс, который будет добавлять JavaScript */
    .dropdown-menu.show {
        display: block;
    }

    /* Поворачиваем стрелочку, когда меню открыто */
    .nav-bar-bottom-side-nav-list-item.dropdown.open .arrow {
        transform: rotate(180deg);
    }

    /* --- Футер --- */
    .footer {
        padding: 40px 20px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-col {
        flex: 1 1 100%;
        width: 100%;
    }

    .footer-socials {
        justify-content: center;
        /* Центрируем иконки соцсетей */
    }

    .hero-banner {
        min-height: 60vh;
        /* На мобилках делаем блок чуть ниже */
        padding: 20px 15px;
        /* Уменьшаем боковые отступы */

        /* Для мобилок лучше сделать градиент равномерным или идущим снизу-вверх, 
       так как плашки займут всю ширину */
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%),
            url('/img/herobanner/1.jpg') center/cover no-repeat;
    }

    .hero-banner::before {
        display: none;
        /* Отключаем боковой градиент на телефонах */
    }

    .hero-content {
        max-width: 100%;
        /* Плашки растягиваются на всю ширину экрана */
        gap: 10px;
    }

    .hero-title-box {
        padding: 20px;
        /* Уменьшаем внутренние отступы */
    }

    .hero-title-box h1 {
        font-size: 24px;
        /* Уменьшаем шрифт заголовка */
    }

    .hero-desc-box {
        padding: 20px;
    }

    .info-blocks-grid {
        flex-direction: column;
        gap: 50px;
    }
}


@media (max-width: 576px) {
    .custom-gallery-grid {
        grid-template-columns: 1fr;
        /* На телефонах 1 колонка */
    }

    .gallery-card[style*="span 2"] {
        grid-column: span 1 !important;
    }
}

/* --- ФОРМА ЗАЯВКИ --- */
.request-form-section {
    background-color: #ffffff;
    padding: 60px 20px;
    font-family: 'TildaSans', system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
}

.request-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.request-form-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
}

.request-form-label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    margin-bottom: 15px;
}

.request-form-group {
    margin-bottom: 25px;
}

.request-form-input,
.request-form-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px;
    border: 1px solid #333;
    font-size: 16px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s;
}

.request-form-input:focus,
.request-form-textarea:focus {
    border-color: #004d99;
}

.request-form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Стилизация радиокнопок картами */
.request-equip-options {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.request-equip-card {
    flex: 1;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.request-equip-card input[type="radio"],
.request-equip-card input[type="checkbox"] {
    display: none;
    /* Прячем стандартную радиокнопку или чекбокс */
}

.request-equip-card-content {
    border: 1px solid #e0e0e0;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s;
    box-sizing: border-box;
    position: relative;
}

.request-equip-card-content img {
    max-width: 100%;
    height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
}

.request-equip-card-content span {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.request-equip-check {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-sizing: border-box;
}

/* Иконка галочки */
.request-equip-check::after {
    content: '';
    width: 10px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    margin-top: -2px;
    opacity: 0;
    transition: opacity 0.2s;
}

/* Активное состояние чекбокса/радиокнопки */
.request-equip-card input[type="radio"]:checked+.request-equip-card-content,
.request-equip-card input[type="checkbox"]:checked+.request-equip-card-content {
    border-color: #333;
}

.request-equip-card input[type="radio"]:checked+.request-equip-card-content .request-equip-check,
.request-equip-card input[type="checkbox"]:checked+.request-equip-card-content .request-equip-check {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.request-equip-card input[type="radio"]:checked+.request-equip-card-content .request-equip-check::after,
.request-equip-card input[type="checkbox"]:checked+.request-equip-card-content .request-equip-check::after {
    opacity: 1;
}

/* Кнопка отправки */
.request-form-submit-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.request-form-submit-btn {
    background-color: #004d99;
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.request-form-submit-btn:hover {
    background-color: #003366;
}

/* Адаптив для карточек */
@media (max-width: 600px) {
    .request-equip-options {
        flex-direction: column;
    }

    .request-equip-card-content img {
        height: auto;
        max-height: 200px;
    }
}

/* --- ИНТЕРАКТИВНЫЕ ВКЛАДКИ (TABBED FEATURES) --- */
.tabbed-features-section {
    padding: 80px 5%;
    background-color: #ffffff;
    font-family: 'TildaSans', system-ui, -apple-system, sans-serif;
}

.tabbed-features-section .section-title {
    text-align: center;
    font-size: 42px;
    /* Стандарт */
    font-weight: 700;
    margin-bottom: 60px;
}

.tabbed-features-wrapper {
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.tabs-list {
    flex: 0 0 40%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-item {
    padding: 25px 30px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    user-select: none;
    overflow: hidden;
}

.tab-item:hover {
    background: #fdfdfd;
}

.tab-item.active {
    border-color: #004d99;
    box-shadow: 0 10px 30px rgba(41, 98, 255, 0.1);
}

.tab-title {
    font-size: 20px;
    /* Стандарт */
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    white-space: pre-wrap;
}

.tab-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    white-space: pre-wrap;
}

.tab-image-container {
    flex: 1;
    position: sticky;
    top: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    line-height: 0;
}

.tab-image-view {
    width: 100%;
    height: 100%;
    min-height: 400px;
    max-height: 600px;
    object-fit: cover;
    display: block;
    transition: opacity 0.4s ease;
}

.tab-image-view.fade-out {
    opacity: 0;
}

@media (min-width: 768px) {
    .tab-mobile-img {
        display: none !important;
    }
}

/* Адаптивность (Мобильные) - Вариант Б: Аккордеон */
@media (max-width: 767px) {
    .tabbed-features-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .tabs-list {
        flex: 1;
        width: 100%;
    }

    .tab-item {
        padding: 20px;
        border: 1px solid #eee;
    }

    .tab-item .tab-desc {
        display: none;
        margin-top: 15px;
    }

    .tab-item.active .tab-desc {
        display: block;
    }

    .tab-mobile-img {
        margin-top: 20px;
        border-radius: 8px;
        overflow: hidden;
        display: none;
    }

    .tab-item.active .tab-mobile-img {
        display: block;
    }

    .tab-mobile-img img {
        width: 100%;
        height: auto;
        max-height: 350px;
        object-fit: cover;
        display: block;
    }

    .tab-image-container {
        display: none !important;
    }
}

/* === FEATURES LIST WITH IMAGE SECTION === */
.features-list-image-section {
    padding: 60px 0;
}

.features-list-image-container {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    padding: 0 5%;
}

.features-list-image-content {
    flex: 0.9;
}

.features-list-image-visual {
    flex: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-list-image-visual img {
    max-width: 100%;
    height: auto;
}

.feature-list-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.feature-list-row:last-child {
    margin-bottom: 0;
}

.feature-list-icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-list-icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.feature-list-text-box h4 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.2;
    white-space: pre-wrap;
}

.feature-list-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

.feature-list-desc li,
.feature-list-desc p {
    white-space: pre-wrap;
}

.feature-list-desc ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.feature-list-desc li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.feature-list-desc li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

/* АДАПТИВ НОВОГО БЛОКА */
@media (max-width: 1199px) {
    .features-list-image-section {
        padding: 60px 0;
    }

    .features-list-image-container {
        flex-direction: column;
        gap: 50px;
    }

    .features-list-image-visual {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .features-list-image-content {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .feature-list-row {
        gap: 20px;
    }

    .feature-list-icon-box {
        width: 50px;
        height: 50px;
    }

    .feature-list-text-box h4 {
        font-size: 18px;
    }
}

/* === TEXT INSERT SECTION === */
.text-insert-section {
    padding: 100px 0;
    text-align: center;
}

.text-insert-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-insert-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    white-space: pre-wrap;
}

.text-insert-desc {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    white-space: pre-wrap;

}

.text-insert-desc p {
    margin: 0;
}

@media (max-width: 767px) {
    .text-insert-section {
        padding: 60px 0;
    }

    .text-insert-title {
        font-size: 28px;
    }

    .text-insert-desc {
        font-size: 16px;
    }
}

/* --- Contacts Section --- */
.contacts-section {
    padding: 80px 0;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contacts-info {
    flex: 1;
}

.contacts-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: inherit;
    font-family: inherit;
    white-space: pre-wrap;
}

.contacts-list {
    list-style: none;
    padding: 0;
    margin: 0 0 35px 0;
}

.contacts-list li {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 400;
}

.contacts-list a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contacts-list a:hover {
    opacity: 0.7;
}

.contacts-list strong {
    font-weight: 700;
    color: inherit;
}

.contacts-socials {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.contacts-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none;
    font-size: 28px;
    transition: all 0.3s ease;
}

.contacts-social-link:hover {
    opacity: 0.7;
}

.social-custom-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.contacts-map {
    flex: 1.2;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    background: #eee;
    min-height: 450px;
}

/* === COLLAGE SECTION === */
.collage-section {
    padding: 100px 0;
}

.collage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    align-items: center;
    gap: 60px;
}

.collage-visual {
    flex: 1;
}

.collage-content {
    flex: 1;
}

.collage-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    white-space: pre-wrap;
}

.collage-desc {
    font-size: 18px;
    line-height: 1.6;
    color: #555;
    white-space: pre-wrap;
}

.collage-accent {
    font-weight: 700;
}

@media (max-width: 991px) {
    .collage-container {
        flex-direction: column;
        text-align: center;
    }

    .collage-title {
        font-size: 32px;
    }
}

.contacts-map iframe {
    display: block;
    border: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .contacts-container {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .contacts-container {
        flex-direction: column;
        padding: 0 25px;
    }

    .contacts-map {
        width: 100%;
        min-height: 400px;
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .contacts-section {
        padding: 60px 0;
    }

    .contacts-title {
        font-size: 26px;
    }

    .contacts-list li {
        font-size: 17px;
        margin-bottom: 12px;
    }
}

/* Custom overrides for anchor links styled as buttons */
.nav-bar-top-side-info-list-item-btn {
    display: inline-block;
    text-decoration: none;
}

/* === FEATURES GRID SECTION === */
.features-grid-section {
    padding: 80px 0;
    text-align: center;
}

.features-grid-header {
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.features-grid-main-img {
    max-width: 500px;
    height: auto;
    margin-bottom: 40px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.features-grid-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    line-height: 1.3;
    white-space: pre-wrap;
}

.features-grid-desc {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    white-space: pre-wrap;
}

.features-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 20px;
}

.feature-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
    text-align: left;
    padding: 10px;
    transition: transform 0.3s ease;
}

.feature-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    white-space: pre-wrap;
}

.feature-card-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
    white-space: pre-wrap;
}

@media (max-width: 991px) {
    .feature-card {
        flex: 0 1 calc(50% - 15px);
    }

    .features-grid-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .feature-card {
        flex: 0 1 100%;
        text-align: center;
    }

    .features-grid-main-img {
        max-width: 200px;
    }
}

/* === AUTO-PLAYING CAROUSEL BLOCK === */
.carousel-section {
    padding: 100px 0;
    overflow: hidden;
    color: #ffffff;
    font-family: inherit;
    position: relative;
}

.carousel-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.carousel-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    white-space: pre-wrap;
}

.carousel-subtitle {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.6;
    white-space: pre-wrap;
}

.carousel-viewport {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    list-style: none;
    padding: 50px 0;
    /* Space for scaled items */
    margin: 0;
    align-items: center;
}

.carousel-slide {
    flex: 0 0 25%;
    /* 4 items on desktop */
    padding: 0 15px;
    box-sizing: border-box;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.4;
    transform: scale(0.85);
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.15);
    z-index: 5;
}

@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 900px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 600px) {
    .carousel-slide {
        flex: 0 0 85%;
    }

    /* Show parts of edge slides */
    .carousel-viewport {
        padding: 0 20px;
    }
}

.carousel-card {
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.carousel-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid #004d99;
}

.carousel-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.carousel-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    white-space: pre-wrap;
    min-height: 50px;
}

.carousel-card-desc {
    font-size: 15px;
    color: #e0e0e0;
    line-height: 1.6;
    margin: 0 0 10px 0;
    white-space: pre-wrap;
}

.carousel-card-btn-wrapper {
    margin-top: auto;
    padding-top: 20px;
}

.carousel-card-btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 10px 25px;
    border: 1px solid #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border-radius: 4px;
}

.carousel-card-btn:hover {
    background: #fff;
    color: #000;
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

.carousel-status-bar {
    position: absolute;
    top: 30px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.carousel-pause-btn {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    color: #fff;
    transition: all 0.2s;
}

.carousel-pause-btn:hover {
    border-color: #fff;
}

.carousel-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 30px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot.active {
    background: #ffffff;
    width: 50px;
}

/* === FEATURES LIST IMAGE === */
.features-list-image-section {
    padding: 80px 0;
}

.features-list-subtitle {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
}

.features-list-image-container {
    display: flex;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.features-list-image-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.features-list-image-visual {
    flex: 1;
}

.features-list-image-visual img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.feature-list-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-list-icon-box {
    width: 60px;
    height: 60px;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f4ff;
    border-radius: 15px;
}

.feature-list-icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.feature-list-text-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.feature-list-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.feature-list-desc ul {
    list-style: none !important;
    padding: 0;
    margin: 10px 0 0 0;
}

.feature-list-desc li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    list-style: none !important;
}

.feature-list-desc li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #333;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .features-list-image-container {
        flex-direction: column-reverse;
        gap: 40px;
    }

    .features-list-image-visual {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* === OBJECTS GRID SECTION === */
.objects-grid-section {
    padding: 80px 0;
}

.objects-grid-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.objects-grid-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.objects-grid-subtitle {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    font-style: italic;
    white-space: pre-wrap;
}

.objects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.object-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.object-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a1a;
    min-height: 2.8em;
    /* Резервируем место под 2 строки названия */
    display: flex;
    align-items: flex-end;
    /* Чтобы при одной строке текст был прижат к низу, выравнивая по нижней границе */
}

.object-short-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    height: auto;
    min-height: 2.8em;
    /* Резервируем место под 2 строки описания */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    white-space: pre-wrap;
    line-height: 1.4;
}

.object-img-box {
    width: 100%;
    height: 280px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.object-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.object-card:hover .object-img-box img {
    transform: scale(1.03);
}

.object-features {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.primary-feature {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.primary-feature-label {
    color: #1a1a1a;
}

.primary-feature-value {
    color: #000;
}

.secondary-feature {
    font-size: 13.5px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.4;
}

.object-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 28px;
    border: 1.5px solid #004d99;
    border-radius: 40px;
    color: #004d99;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.object-btn i {
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.object-btn:hover {
    background: #004d99;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 77, 153, 0.2);
}

.object-btn:hover i {
    transform: translateX(5px);
}

/* Dark Section overrides */
.bg-dark-section .objects-grid-title,
.bg-dark-section .object-name,
.bg-dark-section .primary-feature-value {
    color: #fff !important;
}

.bg-dark-section .objects-grid-subtitle,
.bg-dark-section .object-short-desc,
.bg-dark-section .primary-feature-label,
.bg-dark-section .secondary-feature {
    color: rgba(255, 255, 255, 0.7) !important;
}

.bg-dark-section .object-btn {
    border-color: #fff;
    color: #fff;
}

.bg-dark-section .object-btn:hover {
    background: #fff;
    color: #004d99;
}

@media (max-width: 991px) {
    .object-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 650px) {
    .objects-grid-section {
        padding: 60px 0;
    }

    .objects-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 20px 30px 20px;
        gap: 20px;
        -webkit-overflow-scrolling: touch;
    }

    /* Скрываем стандартный скроллбар, но оставляем индикатор */
    .objects-container::-webkit-scrollbar {
        height: 3px;
    }

    .objects-container::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        margin: 0 40px;
    }

    .objects-container::-webkit-scrollbar-thumb {
        background: #004d99;
        border-radius: 10px;
    }

    .bg-dark-section .objects-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    .bg-dark-section .objects-container::-webkit-scrollbar-thumb {
        background: #fff;
    }

    .object-card {
        flex: 0 0 85%;
        min-width: 280px;
        scroll-snap-align: center;
        background: #fff;
        padding: 24px;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    }

    .bg-dark-section .object-card {
        background: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .objects-grid-title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .object-img-box {
        height: 220px;
    }
}

/* === FAQ ACCORDION SECTION === */
.faq-accordion-section {
    padding: 100px 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-list {
    border-top: 1px solid #eee;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question-btn {
    width: 100%;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question-text {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    padding-right: 40px;
    line-height: 1.3;
}

.faq-icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #ccc;
    transition: transform 0.3s ease;
}

/* Horizontal line */
.faq-icon::before {
    top: 11px;
    left: 0;
    width: 100%;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 11px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
}

.faq-item.active .faq-icon::before {
    transform: rotate(180deg);
}

.faq-item.active .faq-icon::after {
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    /* Large enough to fit content */
    opacity: 1;
    padding-bottom: 30px;
}

.faq-answer-inner {
    font-size: 17px;
    color: #555;
    line-height: 1.6;
    font-style: italic;
    white-space: pre-wrap;
}

/* Dark Section overrides */
.bg-dark-section .faq-title,
.bg-dark-section .faq-question-text {
    color: #fff !important;
}

.bg-dark-section .faq-answer-inner {
    color: rgba(255, 255, 255, 0.8) !important;
}

.bg-dark-section .faq-item,
.bg-dark-section .faq-list {
    border-color: rgba(255, 255, 255, 0.1);
}

.bg-dark-section .faq-icon::before,
.bg-dark-section .faq-icon::after {
    background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 32px;
    }

    .faq-question-text {
        font-size: 18px;
    }

    .faq-question-btn {
        padding: 20px 0;
    }
}

/* === LOGO MARQUEE SECTION === */
.logo-marquee-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.logo-marquee-header {
    margin-bottom: 60px;
    text-align: center;
}

.logo-marquee-header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-marquee-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin: 0;
    line-height: 1.4;
}

.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

/* Fade mask for edges */
.logo-marquee-container::before,
.logo-marquee-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
}

.logo-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}

.logo-marquee-content {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marquee-scroll 30s linear infinite;
}

.logo-marquee-content.marquee-reverse {
    animation-name: marquee-scroll-reverse;
}

.logo-marquee-content:hover {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: 250px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 80px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    object-fit: contain;
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-10%);
    }
}

@keyframes marquee-scroll-reverse {
    from {
        transform: translateX(-10%);
    }

    to {
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo-marquee-section {
        padding: 60px 0;
    }

    .logo-marquee-title {
        font-size: 24px;
        padding: 0 20px;
    }

    .logo-item {
        width: 140px;
        height: 60px;
    }

    .logo-marquee-content {
        gap: 40px;
    }

    @keyframes marquee-scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-10%);
        }
    }

    .logo-marquee-container::before,
    .logo-marquee-container::after {
        width: 60px;
    }
}

/* === BEFORE / AFTER SLIDER === */
.ba-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    line-height: 0;
}
.ba-slider-container img {
    width: 100%;
    display: block;
    object-fit: cover;
    pointer-events: none;
}
.ba-img-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0 50% 0 0); /* Fallback */
    z-index: 2;
}
.ba-img-after {
    z-index: 1;
}
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
    cursor: ew-resize;
    z-index: 10;
}
.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    gap: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.ba-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 16px;
    letter-spacing: 1px;
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.ba-label-before {
    left: 20px;
    z-index: 3;
}
.ba-label-after {
    right: 20px;
}