/* ── BSB Sticky Content Block ── */

.bsb-sticky-content-section {
    position:         relative;
    background-color: var(--bsb-color-bg);
}

.bsb-sticky-content-split {
    display:   flex;
    gap:       0;
    position:  relative;
}

/* ── Left column: sticky ── */
.bsb-sticky-content-sticky-col {
    flex:            0 0 50%;
    height:          100vh;
    position:        sticky;
    top:             0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    overflow:        hidden;
}

.bsb-sticky-content-visual-frame {
    position:        relative;
    width:           100%;
    aspect-ratio:    1 / 1;
    display:         flex;
    align-items:     center;
    justify-content: center;
}

.bsb-sticky-content-img {
    position:   absolute;
    width:      100%;
    height:     100%;
    object-fit: contain;
    opacity:    0;
    visibility: hidden;
    transition: opacity 0.1s ease, visibility 0.1s ease;
}

.bsb-sticky-content-img.active {
    opacity:    1;
    visibility: visible;
    z-index:    2;
}

/* ── Right column: scrollable ── */
.bsb-sticky-content-col {
    flex:         0 0 50%;
    padding-left: 100px;
}

/* ── Panels ── */
.bsb-sticky-content-panel {
    min-height:     100vh;
    display:        flex;
    flex-direction: column;
    justify-content: center;
    padding:        10rem 0;
}

.bsb-sticky-content-panel__inner {
    max-width:  600px;
    text-align: right;
}

.bsb-sticky-content-panel__inner > * {
    opacity:   0;
    transform: translateY(30px);
}

/* ── Hero panel ── */
.bsb-sticky-content-hero__title {
    font-family:    var(--bsb-font-display);
    font-size:      clamp(1.5rem, 2vw, 2.5rem);
    font-weight:    800;
    line-height:    1.1;
    text-transform: uppercase;
    color:          var(--bsb-color-text);
    margin:         0 0 1rem;
}

.bsb-sticky-content-hero__lead {
    font-family:  var(--bsb-font-primary);
    font-size:    clamp(1rem, 1.5vw, 1.375rem);
    font-weight:  700;
    line-height:  1.3;
    margin-bottom: 1rem;
}

.bsb-sticky-content-hero__desc {
    font-family: var(--bsb-font-primary);
    font-size:   clamp(1rem, 1.5vw, 1.375rem);
    line-height: 1.5;
}

.bsb-sticky-content-scroll-hint {
    margin-top: 4rem;
}

/* ── Scroll link (down-arrow CTA) ── */
.bsb-sticky-content-scroll-link {
    display:         flex;
    align-items:     center;
    justify-content: flex-end;
    gap:             1rem;
    font-family:     var(--bsb-font-primary);
    font-size:       0.875rem;
    font-weight:     700;
    color:           var(--bsb-color-text);
    text-decoration: none;
    transition:      opacity 0.3s ease;
    text-transform: uppercase;
}

.bsb-sticky-content-scroll-link:hover {
    opacity: 0.6;
}

.bsb-sticky-content-scroll-link svg {
    width:  20px;
    height: 20px;
}

/* ── Step panels ── */
.bsb-sticky-content-step__title {
    font-family:    var(--bsb-font-display);
    font-size:      clamp(1.5rem, 2vw, 2.5rem);
    font-weight:    800;
    text-transform: uppercase;
    margin:         0 0 1rem;
}

.bsb-sticky-content-step__sub {
    font-family:    var(--bsb-font-primary);
    font-size:      clamp(1rem, 1.5vw, 1.375rem);
    font-weight:    700;
    text-transform: uppercase;
    margin-bottom:  1rem;
}

.bsb-sticky-content-step__body p {
    font-family:   var(--bsb-font-primary);
    font-size:     clamp(1rem, 1.5vw, 1.375rem);
    line-height:   1.7;
    margin-bottom: 1.5rem;
}

.bsb-sticky-content-step__body p:last-child {
    margin-bottom: 0;
}

.bsb-sticky-content-step__cta-wrap {
    margin-top: 4rem;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .bsb-sticky-content-col {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .bsb-sticky-content-split {
        flex-direction: column;
    }

    .bsb-sticky-content-sticky-col {
        position:     relative;
        height:       auto;
        aspect-ratio: 1;
        width:        100%;
        flex:         none;
    }

    .bsb-sticky-content-col {
        flex:  none;
        width: 100%;
    }

    .bsb-sticky-content-panel {
        min-height:    auto;
        padding:       2rem 0;
        border-bottom: 1px solid #e1e1e1;
        align-items:   center;
    }

    .bsb-sticky-content-panel__inner {
        text-align: center;
    }

    .bsb-sticky-content-scroll-hint,
    .bsb-sticky-content-step__cta-wrap {
        margin-top: 2rem;
    }

    .bsb-sticky-content-scroll-link {
        justify-content: center;
    }
}
