/* Animaciones personalizadas */
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@keyframes honda {
    0% { box-shadow: 0 0 0 0 rgba(119, 193, 0, 0.8); }
    70% { box-shadow: 0 0 20px 20px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

@keyframes ondaAzul {
    0% { box-shadow: 0 0 0 0 rgba(0, 138, 229, 0.8); }
    70% { box-shadow: 0 0 25px 25px rgba(0, 0, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 0, 255, 0); }
}

.animate-breathe {
    animation: breathe 2s ease-in-out infinite;
}

.animate-pulse-soft {
    animation: pulse-soft 2s ease-in-out infinite;
}

/* Mapa */
#mapa {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}

.punto {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('logocruz.svg');
    background-size: cover;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.punto:hover {
    animation: honda 1.5s infinite;
    width: 25px;
    height: 25px;
}

.punto.active {
    animation: ondaAzul 1.5s infinite;
    opacity: .8;
    border: solid 1px #058ee9a6;
    width: 30px;
    height: 30px;
}

/* Utilidades de tipografía */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Personalización de scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
