/* ============================================================
   Motion Kit · motion.css — micro-animaciones sin dependencias
   SeoDiegoSanta · clases .m-* (ver guía del kit)
   ============================================================ */

/* Anillo pulsante (botón WhatsApp / CTA vivo). Color: --m-pulse-color */
.m-pulse { position: relative; }
.m-pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: inherit;
  border: 3px solid var(--m-pulse-color, #25D366);
  animation: m-pulse 1.8s ease-out infinite; pointer-events: none;
}
@keyframes m-pulse {
  0%   { opacity: .9; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.25); }
  100% { opacity: 0;  transform: scale(1.25); }
}

/* Brillo que barre el CTA */
.m-shimmer { position: relative; overflow: hidden; }
.m-shimmer::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 44%; left: -60%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  animation: m-shimmer 2.8s ease-in-out infinite; pointer-events: none;
}
@keyframes m-shimmer { 0% { left: -60%; } 55%, 100% { left: 120%; } }

/* Flotación suave (producto, insignia) */
.m-float { animation: m-float 3.6s ease-in-out infinite; }
@keyframes m-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Tarjeta que se levanta al pasar el mouse */
.m-hover-lift { transition: transform .18s ease, box-shadow .18s ease; }
.m-hover-lift:hover { transform: translateY(-5px); }

/* Franja infinita (sedes, logos). Duplicar el contenido 2× dentro del track */
.m-marquee { overflow: hidden; }
.m-marquee-track { display: inline-flex; gap: 32px; white-space: nowrap; animation: m-marquee 22s linear infinite; }
.m-marquee:hover .m-marquee-track { animation-play-state: paused; }
@keyframes m-marquee { to { transform: translateX(-50%); } }

/* Punto "en vivo" */
.m-live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #2ecc71; animation: m-live 1.4s ease-in-out infinite; vertical-align: middle; }
@keyframes m-live { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, .55); } 50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); } }

/* Texto con degradado animado */
.m-gradient-text {
  background: linear-gradient(90deg, currentColor, var(--m-grad, #F29F27), currentColor);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: m-grad 4s linear infinite;
}
@keyframes m-grad { to { background-position: -200% 0; } }

.m-bounce { animation: m-bounce 1.6s ease infinite; }
@keyframes m-bounce { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-7px); } 60% { transform: translateY(2px); } }

.m-shake { animation: m-shake .5s ease both; }
@keyframes m-shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* Accesibilidad: sin movimiento para quien lo pidió al sistema */
@media (prefers-reduced-motion: reduce) {
  .m-pulse::after, .m-shimmer::before, .m-float, .m-marquee-track,
  .m-live-dot, .m-gradient-text, .m-bounce, .m-shake { animation: none !important; }
  .m-hover-lift, .m-hover-lift:hover { transition: none; transform: none; }
}
