body {
  font-family: "Manrope", sans-serif;
  background-color: #f5f5f0;
  color: #334155;
  overflow-x: hidden;
}

/* --- Clases para Efecto de Aparición (Scroll Reveal) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- Utilidades Personalizadas --- */
.nav-blur {
  background: rgba(245, 245, 240, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(30, 41, 59, 0.05);
}

.chart-container {
  position: relative;
  width: 100%;
  height: 300px;
}

/* Efecto de Marquesina (Texto infinito) */
.marquee-container {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* Acordeón de Preguntas Frecuentes */
.accordion-content {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

.accordion-item.is-open .accordion-content {
  max-height: 300px;
  opacity: 1;
}

.accordion-icon {
  transition: transform 0.3s ease;
}

.accordion-item.is-open .accordion-icon {
  transform: rotate(180deg);
}

/* Animación del Logo en Footer */
.footer-logo-container:hover .logo-icon {
  transform: rotate(180deg) scale(1.2);
  filter: drop-shadow(0 0 8px rgba(255, 107, 107, 0.5));
}

.footer-logo-container:hover .logo-text {
  letter-spacing: 0.1em;
  color: #ff6b6b;
}

.logo-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Estilo de respaldo (Fallback) */
.logo-icon.fallback {
  width: 40px;
  height: 40px;
  background-color: #1e293b;
  clip-path: polygon(
    50% 0%,
    0% 100%,
    100% 100%,
    50% 20%,
    80% 80%,
    20% 80%,
    50% 20%
  );
}

.logo-text {
  transition: all 0.5s ease;
}

/* Barra de desplazamiento personalizada */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f0;
}

::-webkit-scrollbar-thumb {
  background: #ff6b6b;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff5252;
}

/* --- Animaciones de la Sección Equipo --- */
.team-img-container {
  overflow: hidden;
  transform: translateZ(0); /* Optimización de rendimiento navegador */
  position: relative;
}

.team-img-container img {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Efecto de zoom al pasar el mouse por la tarjeta */
.group:hover .team-img-container img {
  transform: scale(1.2);
}

/* Animación de Pulso/Resplandor */
.team-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

/* --- Animación de Texto (Shimmer) --- */
.text-shimmer {
  background: linear-gradient(to right, #1e293b 0%, #ff6b6b 50%, #1e293b 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% center;
  }
}
