/* HERO como overlay bloqueante */
.sc-hero-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f6fb;
    transition: opacity 0.9s ease, transform 1s ease;
}

/* efecto de desaparición */
.sc-hero-overlay.sc-hero-hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}


.sc-hero-inner {
    max-width: 960px;
    width: 100%;
    padding: 2.2rem 2.4rem;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(148, 163, 184, 0.18);
    border: 1px solid #e5e7eb;
}

.sc-hero-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #6b7280;
    margin-bottom: 0.7rem;
}

.sc-hero-title {
    font-size: clamp(2rem, 2.8vw, 2.5rem);
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: #111827;
    margin-bottom: 0.9rem;
}

.sc-hero-subtitle {
    font-size: 0.96rem;
    color: #4b5563;
    line-height: 1.7;
}

.sc-hero-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}


.sc-hero.sc-hero-exit {
    opacity: 0;
    transform: translateY(-10px);
}

/* === BUTTON STYLES WITHIN HERO === */

.sc-btn {
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease-out, color 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.18s ease-out, border-color 0.18s ease-out;
}

.sc-btn-primary {
    background: #111827;
    color: #f9fafb;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.28);
}

.sc-btn-primary:hover {
    background: #1f2937;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.32);
}

.sc-btn-ghost {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #111827;
}

.sc-btn-ghost:hover {
    border-color: #9ca3af;
}

@media (max-width: 1040px) {
    .sc-hero-inner {
        margin-left: 20px;
        margin-right: 20px;
        border-radius: 16px; /* opcional, pero lo hace más lindo */
    }
}

@media (max-width: 960px) {
    .sc-hero-inner {
        padding: 1.8rem 1.7rem;
    }
}

@media (max-width: 768px) {
    .sc-hero-inner {
        padding: 1.5rem 1.4rem;
    }
}