/* =============================================
   BEFF Hero Parallax - Styles
   ============================================= */

.beff-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Background layer with parallax */
.beff-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 200px);
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-blend-mode: saturation;
    z-index: 0;
    will-change: transform;
}

/* Dark overlay */
.beff-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(9, 22, 41, 0.67);
    z-index: 1;
}

/* Content container */
.beff-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Left column: logo + subtitle + partner logos */
.beff-hero__left {
    flex: 0 0 40%;
    max-width: 40%;
}

/* Right column: description text */
.beff-hero__right {
    flex: 0 0 60%;
    max-width: 60%;
    will-change: transform;
}

/* ---- Left column elements ---- */

.beff-hero__logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 20px;
}

.beff-hero__subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 30px 0;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    max-width: 600px;
}

/* Partner logos grid */
.beff-hero__partners {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.beff-hero__partner-link {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.beff-hero__partner-link:hover {
    opacity: 0.7;
}

.beff-hero__partner-logo {
    height: 50px;
    width: auto;
    display: block;
}

/* ---- Right column elements ---- */

.beff-hero__description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    max-width: 800px;
}

.beff-hero__description p {
    margin: 0 0 1em 0;
}

.beff-hero__description p:last-child {
    margin-bottom: 0;
}

/* =============================================
   Scrollspy animations
   ============================================= */

.beff-hero__left,
.beff-hero__right {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.beff-hero__right {
    transition-delay: 0.15s;
}

.beff-hero.beff-animated .beff-hero__left {
    opacity: 1;
    transform: translateY(0);
}

/* Right column: only transition opacity, transform is driven by JS parallax */
.beff-hero.beff-animated .beff-hero__right {
    opacity: 1;
    transition: opacity 0.6s ease;
    transition-delay: 0.15s;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 959px) {
    .beff-hero__content {
        flex-direction: column;
        padding: 60px 20px;
        gap: 30px;
    }

    .beff-hero__left,
    .beff-hero__right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .beff-hero__logo {
        max-width: 280px;
    }

    .beff-hero__description {
        font-size: 16px;
        line-height: 1.6;
    }

    .beff-hero__partner-logo {
        height: 40px;
    }
}

@media (max-width: 639px) {
    .beff-hero {
        min-height: auto;
        padding: 40px 0;
    }

    .beff-hero__content {
        padding: 40px 15px;
    }

    .beff-hero__logo {
        max-width: 220px;
    }

    .beff-hero__description {
        font-size: 15px;
    }
}
