.page-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: rgb(255, 255, 255);
    overflow: hidden;
}

.page-hero::before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 1;
}

.page-hero::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--separatore-color-after);
    box-shadow: var(--separatore-color-shadow);
    z-index: 3;
}

.page-hero--fallback {
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 0, 0, 0.18), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08), transparent 40%),
        linear-gradient(135deg, rgb(8, 8, 8) 0%, rgb(20, 20, 20) 50%, rgb(6, 6, 6) 100%);
}

.page-hero__watermark {
    position: absolute;
    inset: auto 0 12%;
    z-index: 1;
    text-align: center;
    font-size: clamp(3rem, 12vw, 9rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.06;
    line-height: 1;
    pointer-events: none;
    padding: 0 24px;
}

.page-hero__content {
    position: relative;
    z-index: 2;
    width: min(96vw, 1500px);
    padding: calc(var(--nav-height) + 48px) 24px 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.page-hero__intro {
    display: contents;
}

.page-hero:not(.page-hero--split) .page-hero__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.page-hero__title {
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-size: clamp(2rem, 4.5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.05;
    white-space: nowrap;
    letter-spacing: -0.02em;
}

.page-hero__subtitle {
    margin: 0;
    max-width: 920px;
    font-size: clamp(1.05rem, 2.5vw, 1.75rem);
    line-height: 1.6;
    opacity: 0.92;
}

.page-hero__actions {
    margin-top: 8px;
    width: 100%;
}

.page-hero__actions .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

.page-hero__actions .cta {
    min-width: 300px;
    max-width: 560px;
}

@media screen and (max-width: 1024px) {
    .page-hero {
        background-attachment: scroll;
        min-height: 85vh;
    }

    .page-hero__content {
        padding-top: calc(var(--nav-height) + 32px);
    }

    .page-hero__title {
        white-space: normal;
        text-wrap: balance;
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        line-height: 1.15;
    }
}
