html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
  transition: background 0.3s ease, color 0.3s ease;
}
body.dark {
  background-color: #111827;
  color: #f9fafb;
}
header, footer, section {
  transition: background 0.3s ease, color 0.3s ease;
}
body.dark header,
body.dark footer {
  background-color: #1f2937;
  color: #f9fafb;
}
body.dark .bg-white {
  background-color: #1f2937 !important;
}
body.dark .bg-gray-50 {
  background-color: #1a202c !important;
}
body.dark .text-indigo-600 {
  color: #a5b4fc !important;
}
body.dark .text-indigo-700 {
  color: #c7d2fe !important;
}
.hero-wave {
  background: radial-gradient(ellipse at top, #4f46e5 0%, #4338ca 100%);
  clip-path: ellipse(140% 100% at 50% 0%);
  padding-top: 8rem;
  padding-bottom: 8rem;
  color: white;
}
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: none;
}
.btn-anim {
  transition: transform 0.2s ease-in-out;
}
.btn-anim:hover {
  transform: scale(1.05);
}
nav a {
  transition: color 0.3s ease;
}
nav a:hover {
  color: #6366f1;
}
#mobile-menu {
  transition: opacity 0.3s ease;
}
#mobile-menu.hidden {
  opacity: 0;
  pointer-events: none;
}
#mobile-menu:not(.hidden) {
  opacity: 1;
}
.floating-whatsapp {
  transition: transform 0.2s ease-in-out;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
}
.card-hover {
  transition: all 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}
.tooltip-text {
  position: absolute;
  bottom: 110%;
  right: 0;
  background: #1f2937;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.group:hover .tooltip-text {
  opacity: 1;
}
body.dark .bg-gray-100 {
  background-color: #334155 !important;
}
body.dark .card-hover {
  color: #f1f5f9;
}
body.dark .btn-anim {
  background-color: #6366f1 !important;
  color: white !important;
}
body.dark .btn-anim:hover {
  background-color: #4f46e5 !important;
  color: white !important;
}
body.dark .bg-white.text-indigo-700 {
  background-color: #1e293b !important;
  color: #e0e7ff !important;
}
hr.separator {
  margin: 4rem auto;
  border-top: 2px solid #e5e7eb;
  max-width: 6rem;
}
body.dark hr.separator {
  border-top-color: #334155;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes bounce-slow {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.animate-bounce-slow {
  animation: bounce-slow 2s infinite;
}

.logo-perfecto {
  border-radius: 9999px;
  object-fit: cover;
  padding: 0;
  margin: 0;
  display: block;
}

.logo-circular {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}
