/* Utilidades y helpers */
.text-center { text-align: center; }
.mt-4 { margin-top: 3rem; }
.btn-large { padding: 1rem 2rem; font-size: 1.1rem; }

/* Búsqueda rápida: quitar outline visual (conservando focus-visible global) */
.search-input:focus { outline: none; }

/**
 * ====================================
 * Botón WhatsApp Flotante
 * ====================================
 */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  font-size: 0;
  cursor: pointer;
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
}

/* Hover: aumentar tamaño y sombra */
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Active: click feedback */
.floating-whatsapp:active {
  transform: scale(0.95);
}

/* Focus visible para accesibilidad */
.floating-whatsapp:focus-visible {
  outline: 2px solid var(--color-primario);
  outline-offset: 2px;
}

/* Responsive: ajustar posición en móvil */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }

  .floating-whatsapp svg {
    width: 28px;
    height: 28px;
  }
}

/* Extra pequeño: ajustar más */
@media (max-width: 480px) {
  .floating-whatsapp {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}