/* ═══════════════════════════════════════════════════════════════════
   SAC Fly · HERO FONDO (imagen de fondo, contenido centrado)
   ═══════════════════════════════════════════════════════════════════ */

.comp-hero-fondo {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-height) + var(--space-12));
    padding-bottom: var(--space-20);
    overflow: hidden;
    background: var(--comp-gradient-dark);
    color: var(--color-white);
}

/* Imagen de fondo a pantalla completa */
.comp-hero-fondo__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.comp-hero-fondo__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay para legibilidad del texto sobre la imagen */
.comp-hero-fondo__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .55), rgba(15, 23, 42, .78));
}

/* Contenido centrado */
.comp-hero-fondo__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.comp-hero-fondo__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 860px;
}

.comp-hero-fondo__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    letter-spacing: .075em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .92);
}

.comp-hero-fondo__title {
    margin-bottom: var(--space-5);
    font-size: clamp(2.35rem, 8vw, 5rem);
    line-height: .98;
    letter-spacing: -.03em;
    color: var(--color-white);
}

.comp-hero-fondo__subtitle {
    max-width: 620px;
    margin-bottom: var(--space-8);
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.75;
}

.comp-hero-fondo__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
}

@media (min-width: 520px) {
    .comp-hero-fondo__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
}

.comp-hero-fondo__actions .btn {
    justify-content: center;
    min-height: 48px;
}

.comp-hero-fondo__btn-ghost {
    border-color: rgba(255, 255, 255, .34);
    color: rgba(255, 255, 255, .92);
}

.comp-hero-fondo__btn-ghost:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .56);
    color: var(--color-white);
}

/* Highlight (igual que hero) */
.comp-hero-fondo__highlight {
    background: var(--comp-gradient-orange, linear-gradient(135deg, #f4a261, #e76f51));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

@supports not (-webkit-background-clip: text) {
    .comp-hero-fondo__highlight {
        color: #e76f51;
        -webkit-text-fill-color: currentColor;
    }
}