/* Ajustes finos sobre Tailwind para accesibilidad y detalle visual */

html {
  scroll-behavior: smooth;
}

body {
  font-size: 18px;
}

/* Foco visible para navegación por teclado */
a:focus-visible,
button:focus-visible {
  outline: 3px solid #a8843f;
  outline-offset: 3px;
}

/* Botones flotantes: animación sutil para llamar la atención sin ser molesta */
.floating-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-btn:hover {
  transform: scale(1.08);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(168, 132, 63, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(168, 132, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 132, 63, 0); }
}

.floating-btn:first-child {
  animation: pulse-ring 2.5s infinite;
}

/* Animación de aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respeta a usuarios que prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
  .floating-btn:first-child {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
