/* Estilos complementarios y mejoras de experiencia de usuario */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

/* Efecto suave para los enlaces del menú */
.nav-link {
    position: relative;
    transition: color 0.2s ease-in-out;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #005a71;
    transition: width 0.25s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Pulso animado para el botón flotante de WhatsApp */
@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-pulse {
    animation: pulse-ring 2.5s infinite;
}

/* Ajustes de scrollbar sutil */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f4f6;
}
::-webkit-scrollbar-thumb {
    background: #bec8cd;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #005a71;
}
