/* ==============================
   Секция "Approaches"
   ============================== */
.approaches {
    width: 100%;
    display: flex;
    justify-content: center;
    background: var(--Bg-Radial);
    padding: 0 16px;
}

.approaches .content {
    width: 100%;
    max-width: 1440px;
}

/* --- Баннеры (левый / правый) --- */

.approaches .right-banner,
.approaches .left-banner {
    position: relative;
    width: 32%;
    padding: 52px 32px 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid transparent;
    border-image: var(--Pure-gold) 1;
    transition: width 0.5s ease;
}

/* Шапка баннера */

.approaches .banner-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
    opacity: 1;
    max-height: 100px;
    transition: opacity 0.3s ease, max-height 0.4s ease;
    overflow: hidden;
}

.approaches .banner-head img {
    max-width: 44px;
    max-height: 44px;
}

/* Заголовок баннера */

.approaches .banner-title {
    max-width: 70%;
    font-weight: 300;
    font-size: 20px;
    line-height: 22px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    transition: font-size 0.4s ease, line-height 0.4s ease;
}

/* Контент с изображением */

.approaches .banner-content {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    margin-top: auto;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.approaches .banner-content > img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center bottom;
    transition: opacity 0.3s ease;
}

.approaches .banner-content .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    position: relative;
    z-index: 2;
    width: 50%;
    height: 100%;
    color: #fff;
    padding-bottom: 52px;
    transition: opacity 0.4s ease 0.2s;
}

.approaches .banner-content .content h4 {
    font-weight: 600;
    font-size: 20px;
}

.approaches .body-text {
    font-weight: 300;
    font-size: 16px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 24px;
    text-align: start;
    padding-right: 16px;
}

.approaches .banner-content .content h4,
.approaches .banner-content .content a {
    margin: 0;
    text-transform: uppercase;
}

/* --- Раскрытое состояние (.open) --- */

.approaches .right-banner.open,
.approaches .left-banner.open {
    width: 68%;
}

.approaches .right-banner.open .banner-head,
.approaches .left-banner.open .banner-head {
    opacity: 0;
    pointer-events: none;
    max-height: 0;
}

.approaches .right-banner.open .banner-title,
.approaches .left-banner.open .banner-title {
    font-size: 36px;
    line-height: 36px;
}

.approaches .right-banner.open .banner-content > img,
.approaches .left-banner.open .banner-content > img {
    /* Пиксельные width/height задаются JS-ом при открытии */
    object-fit: cover;
    object-position: center bottom;
    right: 65px;
}

.approaches .right-banner.open .banner-content .content,
.approaches .left-banner.open .banner-content .content {
    opacity: 1;
    pointer-events: auto;
}

/* --- Общий блок --- */

.approaches .general {
    width: 100%;
    display: flex;
    overflow: hidden;
}

.approaches .general-banner {
    width: 36%;
    padding: 20px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    transition: width 0.5s ease, opacity 0.3s ease, padding 0.5s ease;
}
.approaches .general-banner .infinities {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.approaches .general-banner .infinities .infinity {
    display: flex;
    align-items: center;
    gap: 8px
}
.approaches .general-banner.hidden {
    width: 0;
    padding: 120px 0;
    opacity: 0;
    pointer-events: none;
}

.approaches .general-banner .badge {
    color: var(--Light-gold, rgba(245, 245, 220, 1));
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 400;
}

.approaches .general-banner h3 {
    color: #fff;
    font-weight: 400;
    font-size: 36px;
    margin: 12px 0 0;
    text-transform: uppercase;
}

.approaches .general-banner .insights-hero__btn {
    margin: 40px auto 0;
}

.approaches .insights-hero__btn {
    text-transform: uppercase;
}

/* --- Переключатели (кружки) --- */

.approaches .switchers {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 3;
    justify-content: center;
    padding: 0 7px 0 0;
}

.approaches .open .switchers {
    display: flex;
}

.approaches .switcher {
    cursor: pointer;
}

.approaches .switcher__circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e8e0cc, #cdc3a5);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7px;
    box-sizing: border-box;
    outline: 3px solid transparent;
    outline-offset: 4px;
    transition: width 0.3s ease, height 0.3s ease, outline-color 0.3s ease;
}

.approaches .switcher__circle span {
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(1, 20, 63, 1);
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.approaches .switcher.active .switcher__circle {
    width: 100px;
    height: 100px;
    outline-color: rgba(203, 33, 40, 1);
}

.approaches .switcher.active .switcher__circle span {
    font-size: 12px;
}

.approaches .switcher:hover:not(.active) .switcher__circle {
    outline-color: rgba(178, 34, 52, 0.35);
}

@media screen and (max-width: 990px) {
    .approaches .general-banner h3 {
        font-size: 25px;
        text-align: start;
    }

    .approaches .general-banner .badge {
        font-size: 12px;
    }

    .approaches .body-text {
        font-size: 14px;
        margin-top: 16px;
        padding-right: 0;
    }

    .approaches .right-banner.open .banner-title {
        font-size: 28px;
        line-height: 32px;
    }

    .approaches .banner-content .content h4 {
        font-size: 18px;
    }

    .approaches .banner-title {
        display: none;
    }

    .approaches .switchers {
        justify-content: start;
        padding-top: 6px;
    }

    .approaches .left-banner.open .banner-content > img,
    .approaches .right-banner.open .banner-content > img {
        width: 70% !important;
        right: -10px;
    }
}

@media screen and (max-width: 890px) {

    .approaches .switchers {
        display: flex !important;
        flex-direction: row;
        padding-left: 7px;
    }

    .approaches .switcher__circle {
        width: 60px;
        height: 60px;
    }
    .approaches .switcher.active .switcher__circle {
        width: 80px;
        height: 80px;
    }
    .approaches .banner-head {
        cursor: default;
        pointer-events: none;
    }

    .approaches .banner-content {
        flex-direction: column;
        gap: 16px;
    }
    .approaches .right-banner.open, .approaches .left-banner.open {
        width: 100%;
    }
    .approaches .left-banner.open .banner-content > img, .approaches .right-banner.open .banner-content > img {
        width: auto !important;
        height: auto !important;
    }
    .approaches .general-banner.hidden {
        display: flex !important;
    }

    .approaches .general {
        flex-direction: column;
        height: 100% !important;
        gap: 24px
    }

    .approaches .general-banner, .approaches .right-banner, .approaches .left-banner {
        width: 100%;
    }

    .approaches .general-banner {
        order: 0;
        padding: 0;
    }
    .approaches .right-banner {
        order: 2
    }
    .approaches .left-banner {
        order: 1
    }

    .approaches .banner-content > img {
        object-fit: contain;
    }

    .approaches .banner-head img {
        display: none;
    }
    .approaches .right-banner, .approaches .left-banner {
        padding: 24px 16px;
    }
    .approaches .banner-content > img {
        width: auto;
    }
    .approaches .general-banner .insights-hero__btn {
        width: 100%;
    }
    .approaches {
        padding: 24px 16px;
    }

    .approaches .banner-content .content {
        opacity: 1;
        width: 60%;
        padding-bottom: 0;
        order: 1;
    }

    .approaches .banner-content .content .insights-hero__btn {
        margin-top: 24px;
    }
    .approaches .banner-title {
        display: none;
    }

    .approaches .banner-head .banner-title {
        display: block;
        font-size: 24px;
        line-height: 28px;
    }
}

@media screen and (max-width: 728px) {
    .approaches .banner-content > img {
        position: inherit;
        max-height: 300px;
    }

    .approaches .banner-content .content {
        width: 100%;
    }

    body.page .content {
        padding: 0;
    }
}