/* Hero Section */
.hero {
    position: relative;
    height: 674px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #001489 35%, rgba(0, 20, 137, 0) 65%);
    z-index: 1;
}

.hero:not(.hero--left) .hero__overlay {
    background: linear-gradient(180deg, rgba(0, 7, 50, 0.15) 0%, rgba(0, 7, 50, 0.7) 100%),
                linear-gradient(90deg, rgba(0, 20, 137, 0.35) 0%, rgba(0, 20, 137, 0.35) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 35px;
    max-width: 939px;
    text-align: center;
    padding-top: 82px;
}

.hero__headline {
    font-size: var(--fs-6xl);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    line-height: 1.15;
}

.hero__headline-line2 {
    color: var(--color-white);
}

.hero__headline-accent {
    color: var(--color-orange);
}

.hero__subheadline {
    font-size: var(--fs-xl);
    font-weight: var(--fw-regular);
    color: var(--color-white);
    max-width: 815px;
}

.hero__ctas {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.hero__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero__geo-text {
    font-size: var(--fs-base);
    color: var(--color-white);
    font-weight: var(--fw-light);
}

.hero__geo-text strong,
.hero__geo-text b {
    font-weight: var(--fw-bold);
}

.hero__body {
    font-size: var(--fs-sm);
    font-weight: var(--fw-regular);
    color: var(--color-white);
    line-height: 1.6;
    max-width: 500px;
}

/* Subpage hero — shorter height for internal pages */
.hero--subpage {
    height: 340px;
}

.hero--subpage .hero__content {
    gap: 20px;
    padding-top: 60px;
}

.hero--subpage .hero__headline {
    font-size: var(--fs-5xl);
}

.hero--subpage .hero__headline-accent {
    display: block;
}

.hero--subpage .hero__subheadline {
    font-size: var(--fs-md);
}

/* Left-aligned subpage hero — auto height so content isn't clipped */
.hero--subpage.hero--left {
    height: auto;
}

.hero--subpage.hero--left .hero__content {
    gap: 18px;
    padding-top: 120px;
    padding-bottom: var(--space-3xl);
}

/* Left-aligned hero variant (Investment page) */
.hero--left {
    justify-content: flex-start;
}

.hero--left .hero__content {
    align-items: flex-start;
    text-align: left;
    max-width: var(--container-max);
    width: 100%;
    padding: 82px var(--section-px) 0;
}

.hero--left .hero__headline {
    font-size: var(--fs-5xl);
}

.hero--left .hero__headline-accent {
    display: block;
    font-size: var(--fs-6xl);
    max-width: 320px;
}

.hero--left .hero__body {
    font-size: var(--fs-xl);
    font-weight: var(--fw-medium);
    font-style: italic;
    color: var(--color-orange);
    max-width: 400px;
}

.hero--left .hero__body br {
    display: none;
}

.hero--left .hero__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 1023px) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 120px 20px 60px;
    }

    .hero--subpage {
        min-height: 220px;
        padding: 90px 20px 30px;
    }

    .hero__content {
        padding-top: 0;
    }

    .hero__headline {
        font-size: var(--fs-4xl);
    }

    .hero--left {
        justify-content: center;
    }

    .hero--left .hero__content {
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .hero--subpage.hero--left {
        min-height: 0;
        padding: 90px 20px 30px;
    }

    .hero--subpage.hero--left .hero__content {
        padding-top: 0;
        gap: 14px;
    }

    .hero__ctas {
        flex-direction: column;
    }

    .hero--left .hero__body br {
        display: block;
    }

    .hero--left .hero__overlay {
        background: linear-gradient(180deg, rgba(0, 7, 50, 0.15) 0%, rgba(0, 7, 50, 0.7) 100%),
                    linear-gradient(90deg, rgba(0, 20, 137, 0.35) 0%, rgba(0, 20, 137, 0.35) 100%);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        padding: 120px 40px 60px;
    }
    .hero--subpage {
        padding: 100px 40px 40px;
    }
    .hero__headline {
        font-size: var(--fs-5xl);
    }
}
