/**
 * Los Álamos Fonoaudiología - Estilos Personalizados
 * Paleta: Turquesa/Teal (consistente con marca)
 */

/* ==================== RESET & BASE ==================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; overflow-x: hidden; }

/* ==================== BADGES ==================== */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.badge-primary {
  background: linear-gradient(135deg, rgba(22,147,165,0.1), rgba(69,181,196,0.1));
  color: #1693a5;
  border: 1px solid rgba(22,147,165,0.2);
}
.badge-white {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
}

/* ==================== BUTTONS ==================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #1693a5, #45b5c4);
  color: white;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(22,147,165,0.3);
  transition: all 0.3s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(22,147,165,0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #1693a5;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ==================== WHATSAPP FLOAT ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; }
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* ==================== ANIMATIONS ==================== */
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 20px rgba(37,211,102,0.7), 0 0 0 15px rgba(37,211,102,0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float { animation: float 3s ease-in-out infinite; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn { animation: fadeIn 0.6s ease-out forwards; }

/* ==================== FORM STYLES ==================== */
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #1693a5;
  box-shadow: 0 0 0 4px rgba(22,147,165,0.1);
}
input::placeholder, textarea::placeholder { color: #9ca3af; }

/* ==================== CARDS ==================== */
.group:hover .group-hover\:rotate-6 { transform: rotate(6deg); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .whatsapp-float { bottom: 16px; right: 16px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* ==================== UTILITIES ==================== */
.hidden { display: none !important; }
.glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}
.text-gradient {
  background: linear-gradient(135deg, #1693a5, #45b5c4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
