/* Logo Interactivo - Terremoto Ayuda */
.logo-interactivo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
    position: relative;
    padding: 5px 10px;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
    animation: latido 2s ease-in-out infinite;
}

/* Círculo exterior con efecto de onda */
.logo-icon .circulo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db, #2980b9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
    transition: all 0.5s ease;
}

/* Ondas expansivas */
.logo-icon .onda {
    position: absolute;
    border: 2px solid rgba(52, 152, 219, 0.3);
    border-radius: 50%;
    animation: expandir 3s ease-out infinite;
}

.logo-icon .onda:nth-child(1) {
    width: 70px;
    height: 70px;
    animation-delay: 0s;
}

.logo-icon .onda:nth-child(2) {
    width: 90px;
    height: 90px;
    animation-delay: 1s;
}

.logo-icon .onda:nth-child(3) {
    width: 110px;
    height: 110px;
    animation-delay: 2s;
}

/* Corazón dentro del círculo */
.logo-icon .corazon {
    font-size: 24px;
    color: white;
    z-index: 2;
    animation: palpitar 1.5s ease-in-out infinite;
    position: relative;
}

/* Manos que sostienen el corazón */
.logo-icon .manos {
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transition: all 0.5s ease;
}

/* Efecto hover */
.logo-interactivo:hover .logo-icon .circulo {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(52, 152, 219, 0.6);
}

.logo-interactivo:hover .logo-icon .manos {
    opacity: 1;
    bottom: 5px;
}

.logo-interactivo:hover .logo-icon .onda {
    animation-duration: 1.5s;
}

/* Texto del logo */
.logo-texto {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-texto .nombre {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #b3d4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-texto .subtitulo {
    font-size: 0.7rem;
    opacity: 0.8;
    letter-spacing: 2px;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.8);
}

/* Animaciones */
@keyframes latido {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes palpitar {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.2); }
    60% { transform: scale(1); }
}

@keyframes expandir {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Versión responsive */
@media (max-width: 768px) {
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon .circulo {
        width: 40px;
        height: 40px;
    }
    
    .logo-icon .corazon {
        font-size: 18px;
    }
    
    .logo-texto .nombre {
        font-size: 1.2rem;
    }
    
    .logo-texto .subtitulo {
        font-size: 0.6rem;
    }
}

/* Efecto de carga/animación al entrar */
.logo-interactivo {
    animation: entradaLogo 1s ease-out;
}

@keyframes entradaLogo {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}