/**
 * Módulo Radio
 * Estilos para el widget de radio municipal
 * Módulo genérico reutilizable en cualquier municipio.
 *
 * @version 2.0.0
 * @date 2026-05-18
 */

/* ========== RADIO ========== */

#radio {
    padding: 3rem 0;
}

.radio-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.radio-widget:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.radio-icono {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-primary), #5a8f2d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2.4rem;
    box-shadow: 0 4px 12px rgba(106, 159, 58, 0.3);
}

.radio-detalles {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.radio-titulo {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.radio-frecuencia {
    font-size: 1.4rem;
    color: #6b7280;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-estado {
    color: #ef4444;
    font-weight: 600;
    animation: pulseRadio 2s ease-in-out infinite;
}

@keyframes pulseRadio {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.btn-radio-vivo {
    background: var(--color-primary);
    color: #ffffff;
    padding: 1.2rem 2.8rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(106, 159, 58, 0.3);
}

.btn-radio-vivo:hover {
    background: #5a8f2d;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(106, 159, 58, 0.4);
    color: #ffffff;
}

.btn-radio-vivo i {
    font-size: 1.4rem;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .radio-widget {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .radio-info {
        flex-direction: column;
        text-align: center;
    }
    
    .radio-titulo {
        font-size: 1.8rem;
    }
    
    .radio-frecuencia {
        justify-content: center;
    }
    
    .btn-radio-vivo {
        width: 100%;
        justify-content: center;
    }
}
