.section3 {
    position: relative;
    background: linear-gradient(
            to bottom,
            rgba(1, 56, 112, 0.95) 0%, /* насыщенный синий сверху */ rgba(2, 23, 46, 0.98) 90% /* чуть теплее и темнее внизу */
    );

    color: #fff;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section3__inner {
    background: url("/local/templates/barkli-dan/images/sec_31_bg.png") center/cover no-repeat;
    padding: 80px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1600px;
}

.section3__content {
    flex: 0 0 42%;
    font-size: 1.2rem;
    font-family: 'Isabella Sans', sans-serif;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s ease;
}

.section3__content.visible {
    opacity: 1;
    transform: translateY(0);
}

.section3__content h2 {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.04em;
}

.section3__content p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.section3__slider {
    position: relative;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    cursor: none;
    min-height: 580px;
}

.section3__slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease;
}
.text-lg{
    font-family: 'SangBleu Sunrise', serif;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* === ADAPTIVE MEDIA === */

/*  💻 1200px → уменьшаем разрыв, текст крупнее */
@media (max-width: 1200px) {
    .section3__inner {
        gap: 50px;
    }

    .section3__content h2 {
        font-size: 1.8rem;
    }
}

/*  📱 900px → вертикальная колонка, фото сверху */
@media (max-width: 900px) {
    .section3 {
        padding: 60px 20px;
    }

    .section3__inner {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
    }

    .section3__content {
        flex: unset;
        width: 100%;
    }

    .section3__slider {
        width: 100%;
        min-height: 420px;
        border-radius: 10px;
    }

    .section3__content h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .section3__content p {
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }
}

/*  📲 576px → комфортный мобильный отступ и лёгкий текст */
@media (max-width: 976px) {
    .section3 {
        padding: 40px 15px;
    }

    .section3__content h2 {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    .section3__content p {
        font-size: 1.4rem;
        margin: 0 auto;
        padding: 15px;
    }

    .section3__slider {
        min-height: 360px;
    }
}

/*  📱 iPhone mini / 390px */
@media (max-width: 400px) {
    .section3 {
        padding: 35px 12px;
    }

    .section3__slider {
        min-height: 320px;
    }

}
