
/* ============================================================
   BANNER CHAT 24×7 – INMOWEB
============================================================ */

.soporte-24-7 {
    font-family: inherit;
    padding: 2rem 0;
}

.soporte-24-7__inner {
    background: linear-gradient(135deg, #0F4C8A 0%, #1565C0 25%, #7f0e7f 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: stretch;
}

/* Círculos decorativos de fondo */
.soporte-24-7__inner::before,
.soporte-24-7__inner::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.soporte-24-7__inner::before {
    top: -40px;
    right: -40px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.04);
}
.soporte-24-7__inner::after {
    bottom: -60px;
    left: 30%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.03);
}

/* --- Columna izquierda: texto --- */
.soporte-24-7__content {
    flex: 1;
    padding: 2.5rem 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.soporte-24-7__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.soporte-24-7__badge-dot-wrap {
    position: relative;
    display: inline-flex;
}

.soporte-24-7__badge-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    animation: iw-pulse-ring 1.8s ease-out infinite;
}

.soporte-24-7__badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 6px #4CAF50;
}

.soporte-24-7__badge-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

.soporte-24-7__title {
    font-size: 4rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 45px;
}

.soporte-24-7__title span {
    color: #82CAFF;
    font-size: 2.5rem;
}

.soporte-24-7__desc {
    font-size: 21px;
    color: rgba(255,255,255,0.75);
    margin: 0 0 1.5rem 0;
    max-width: 530px;
    line-height: 1.6;
}

.soporte-24-7__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.soporte-24-7__btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #0F4C8A;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.soporte-24-7__btn-primary:hover { opacity: 0.9; }

.soporte-24-7__btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.25);
    transition: background 0.2s;
}
.soporte-24-7__btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* --- Columna derecha: mockup chat --- */
.soporte-24-7__visual {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 2rem 2rem 0;
    position: relative;
    z-index: 2;
}

.soporte-24-7__chat-wrap {
    width: 220px;
    animation: iw-float 3s ease-in-out infinite;
}

.soporte-24-7__chat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    margin-bottom: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.soporte-24-7__chat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.soporte-24-7__chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E3F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #0F4C8A;
}

.soporte-24-7__chat-name {
    font-size: 11px;
    font-weight: 600;
    color: #0F4C8A;
}

.soporte-24-7__chat-status {
    display: flex;
    align-items: center;
    gap: 4px;
}

.soporte-24-7__chat-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4CAF50;
}

.soporte-24-7__chat-status-text {
    font-size: 10px;
    color: #888;
}

.soporte-24-7__bubble-in {
    background: #F0F7FF;
    border-radius: 10px 10px 10px 2px;
    padding: 8px 10px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #333;
    line-height: 1.5;
}

.soporte-24-7__bubble-out {
    background: #1565C0;
    border-radius: 10px 10px 2px 10px;
    padding: 8px 10px;
    margin-left: 30px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #ffffff;
    line-height: 1.5;
}

.soporte-24-7__bubble-typing {
    background: #F0F7FF;
    border-radius: 10px 10px 10px 2px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.soporte-24-7__typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #888;
    display: inline-block;
}
.soporte-24-7__typing-dot:nth-child(1) { animation: iw-blink 1.4s ease-in-out infinite; }
.soporte-24-7__typing-dot:nth-child(2) { animation: iw-blink 1.4s ease-in-out 0.3s infinite; }
.soporte-24-7__typing-dot:nth-child(3) { animation: iw-blink 1.4s ease-in-out 0.6s infinite; }

.soporte-24-7__availability {
    display: flex;
    justify-content: flex-end;
}

.soporte-24-7__availability-pill {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

/* --- Animaciones --- */
@keyframes iw-pulse-ring {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes iw-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-6px); }
}

@keyframes iw-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .soporte-24-7__inner {
        flex-direction: column;
    }
    .soporte-24-7__visual {
        width: 100%;
        padding: 0 1.5rem 2rem;
        justify-content: flex-start;
    }
    .soporte-24-7__content {
        padding: 2rem 1.5rem 1.5rem;
    }
    .soporte-24-7__title {
        font-size: 24px;
    }
}

