.hero {
    position: relative;
    overflow: hidden;
}

/* Base */
.hero__container {
    display: grid;
    align-items: center;
    gap: 32px;
    min-height: 70vh;
}

.hero__content {
    max-width: 680px;
}

.hero__eyebrow {
    margin: 0 0 14px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.hero__title {
    margin: 0 0 18px;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    line-height: 1.05;
    color: var(--heading);
}

.hero__text {
    margin: 0 0 28px;
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero__highlights li {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.95rem;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.hero__media {
    position: relative;
}

.hero__media img {
    width: 100%;
    height: 100%;
    max-height: 640px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero__badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 12px 16px;
    border-radius: 999px;
    background: var(--heading);
    color: var(--bg);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

/* DEFAULT */
.hero--default .hero__container {
    justify-content: center;
    text-align: center;
}

.hero--default .hero__content {
    margin-inline: auto;
}

.hero--default .hero__actions,
.hero--default .hero__highlights {
    justify-content: center;
}

/* SPLIT */
.hero--split .hero__container {
    grid-template-columns: 1.1fr 0.9fr;
}

/* COVER */
.hero--cover {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
}

.hero--cover::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.22) 0%,
            rgba(0, 0, 0, 0.46) 52%,
            rgba(0, 0, 0, 0.62) 100%
        );
    pointer-events: none;
}

.hero--cover .hero__container {
    position: relative;
    z-index: 1;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero--cover .hero__content {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero--cover .hero__eyebrow {
    color: rgba(255, 255, 255, 0.9);
}

.hero--cover .hero__title {
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 5.4rem);
    letter-spacing: -0.03em;
}

.hero--cover .hero__text {
    max-width: 720px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.15rem);
}

.hero--cover .hero__actions {
    justify-content: center;
}

.hero--cover .hero__highlights {
    justify-content: center;
}

.hero--cover .hero__highlights li {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(6px);
}

.hero--cover .hero__badge {
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(8px);
}

/* Responsive */
@media (max-width: 991px) {
    .hero__container,
    .hero--split .hero__container {
        grid-template-columns: 1fr;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__media img {
        max-height: 520px;
    }
}

@media (max-width: 768px) {
    .hero__container {
        min-height: auto;
        gap: 24px;
    }

    .hero__title {
        font-size: clamp(2rem, 9vw, 3.2rem);
    }

    .hero__text {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero--default .hero__actions,
    .hero--default .hero__highlights,
    .hero--cover .hero__actions,
    .hero--cover .hero__highlights {
        justify-content: center;
    }

    .hero--cover {
        min-height: 88vh;
        padding: 100px 0 80px;
    }

    .hero--cover .hero__container {
        min-height: auto;
    }

    .hero--cover .hero__actions {
        align-items: center;
    }

    .hero--cover .hero__actions .btn {
        max-width: 300px;
    }

    .hero--cover .hero__highlights {
        flex-direction: column;
        align-items: center;
    }
}