/**
 * Banda de invitación al chat en vivo (después del hero).
 * Archivo: assets/css/chat-invite.css
 *
 * Autor: Juan Morel (jcmorelm@mvisual.cl)
 */

.mv-chat-invite {
    background: linear-gradient(90deg, #e8eef8 0%, #f6f9fd 45%, #eef6f6 100%);
    border-bottom: 1px solid var(--mv-line, #d5dde5);
    padding: 0.85rem 0;
}

.mv-chat-invite-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.25rem;
    flex-wrap: wrap;
}

.mv-chat-invite-copy {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 14rem;
    min-width: 0;
}

.mv-chat-invite-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 55, 160, 0.12);
    color: var(--mv-accent, #0037a0);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
}

.mv-chat-invite-live-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    animation: mv-chat-invite-pulse 2s ease-in-out infinite;
}

@keyframes mv-chat-invite-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.75;
        transform: scale(0.92);
    }
}

.mv-chat-invite-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--mv-ink-soft, #3d566e);
}

.mv-chat-invite-text strong {
    color: var(--mv-ink, #2c3e50);
    font-weight: 600;
}

.mv-chat-invite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    padding: 0.55rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--mv-accent, #0037a0) 0%, #1a56c4 55%, var(--mv-teal, #348888) 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 55, 160, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mv-chat-invite-btn i {
    font-size: 1.1rem;
    line-height: 1;
}

.mv-chat-invite-btn:hover {
    color: #fff;
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 55, 160, 0.34);
}

.mv-chat-invite-btn:focus-visible {
    outline: 2px solid var(--mv-accent, #0037a0);
    outline-offset: 2px;
}

@media (max-width: 575.98px) {
    .mv-chat-invite {
        padding: 0.75rem 0;
    }

    .mv-chat-invite-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
    }

    .mv-chat-invite-btn {
        width: 100%;
    }
}
