/* ================================================= */
/* --- KEYFRAMES (Solo necesitamos el destello) --- */
/* ================================================= */

/* Animación de "Destello" (Rápido e Infrecuente) */
@keyframes premiumSheen {
  /* El destello ocurre en el primer 10% del tiempo (1.2s) */
  0% {
    transform: skewX(-20deg) translateX(-150%);
  }
  10% {
    transform: skewX(-20deg) translateX(150%); /* Cruza rápido */
  }
  /* El 90% restante, está "fuera de pantalla" */
  100% {
    transform: skewX(-20deg) translateX(150%);
  }
}

/* ================================================= */
/* --- CÓDIGO DEL FOOTER (Mejorado) --- */
/* ================================================= */

footer {
  /* MEJORA: Tu nuevo fondo estático. Limpio y profesional. */
  background: linear-gradient(135deg, #0d6efd 0%, #00bcd4 100%);

  /* Se elimina la animación 'triColorFlow' y 'background-size' */

  /* Estilos base */
  color: #fff;
  padding: 3rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}

/* El "Destello" (Glint) se mantiene sobre el fondo estático */
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.04) 50%,
    /* Destello blanco ultra-sutil */ rgba(255, 255, 255, 0) 100%
  );
  animation: premiumSheen 12s ease-in-out infinite;
  pointer-events: none;
}

/* --- Estructura del Footer --- */

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1; /* Contenido sobre las animaciones */
}

.footer-section h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.5rem;
}

/* MEJORA: Acento estático con tu Verde Limón */
.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #8bc34a; /* Verde Limón */
  border-radius: 1px;
}

.footer-section p,
.footer-section ul li {
  color: #e8f8ff;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
  transition: transform 0.2s ease;
}

.footer-section ul li:hover {
  transform: translateX(5px);
}

.footer-section ul li a {
  color: #e8f8ff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* MEJORA: Viñeta con acento Verde Limón */
.footer-section ul li a::before {
  content: '▸';
  color: #8bc34a; /* Verde Limón */
  font-size: 1.2rem;
}

.footer-section ul li a:hover {
  color: #fff;
  font-weight: 600;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 80px;
  width: auto;
  filter: brightness(1.1);
}

.footer-description {
  color: #e8f8ff;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

/* MEJORA: Hover profesional con el Verde Limón */
.social-links a:hover {
  background: #8bc34a; /* Verde Limón */
  color: #fff;
  transform: translateY(-3px);
  /* Resplandor con el color de acento */
  box-shadow: 0 5px 20px rgba(139, 195, 74, 0.5);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* MEJORA: Icono con acento Verde Limón */
.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 195, 74, 0.1); /* Fondo verde sutil */
  border-radius: 8px;
  color: #8bc34a; /* Icono verde */
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details p {
  margin: 0;
  color: #e8f8ff;
}

.contact-details strong {
  color: #fff;
  display: block;
  margin-bottom: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  color: #e8f8ff;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

/* CORREGIDO (sin 's' al final) */
.footer-bottom-links a {
  color: #e8f8ff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.ruc-info {
  color: #e8f8ff;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ================================================= */
/* --- SECCIÓN RESPONSIVE (Corregida) --- */
/* ================================================= */

@media (max-width: 768px) {
  footer {
    padding: 2rem 1rem 1rem;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* CORREGIDO (sin 'm' al final) */
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  /* CORREGIDO (sin 't' ni '}' extra) */
  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
