/* ========================================= 
   CONFIGURACIÓN GLOBAL DEL FOOTER 
   ========================================= */ 
footer { 
  background: #000; 
  text-align: center; 
  color: #fff; 
  margin-top: 75px; 
} 
 
.footer-container { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: 0 20px; 
} 
 
/* ========================================= 
   NUEVA SECCIÓN: PATROCINADORES 
   ========================================= */ 
.footer-sponsors-wrapper { 
  background-color: #ffffff; 
  padding: 25px 0; /* antes 10px → más alto */ 
  border-bottom: 2px solid #b01e28; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
 
  --slot-width: 280px; /* antes 250 */ 
  --logo-max-w: 220px; /* antes 180 */ 
  --logo-max-h: 90px; /* antes 120 → logos más grandes */ 
} 

.logos-slider { 
  position: relative; 
  width: 100%; 
  overflow: hidden; 
} 
 
.logos-track { 
  display: flex; 
  width: calc(var(--slot-width) * 10); /* 5 originales + 5 duplicados */ 
  animation: scrollSponsors 50s linear infinite; 
} 
 
.logos-track:hover { 
  animation-play-state: paused; 
} 
 
.logos-track a { 
  width: var(--slot-width); 
  flex-shrink: 0; /* CLAVE: evita que se compriman y se enciman */ 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  padding: 0 15px; /* respiro lateral entre logos */ 
  box-sizing: border-box; 
  transition: transform 0.3s ease; 
  filter: grayscale(10%); 
  opacity: 0.6; 
} 
 
.logos-track a:hover { 
  filter: grayscale(0%); 
  opacity: 1; 
  transform: scale(1.05); 
} 
 
.logos-track img { 
  max-width: var(--logo-max-w); 
  max-height: var(--logo-max-h); /* Ajustado para respetar las variables */
  width: 100%; /* ocupa el slot pero respetando max-width */ 
  object-fit: contain; 
  display: block; 
} 
 
@keyframes scrollSponsors { 
  0% { 
    transform: translateX(0); 
  } 
  100% { 
    transform: translateX(calc(var(--slot-width) * -5)); 
  } 
} 

/* === Tablet === */ 
@media (max-width: 768px) { 
  .footer-sponsors-wrapper { 
    padding: 20px 0; 
    --slot-width: 200px; 
    --logo-max-w: 160px; 
    --logo-max-h: 110px; 
  } 
} 
 
/* === Celular === */ 
@media (max-width: 480px) { 
  .footer-sponsors-wrapper { 
    padding: 15px 0; 
    --slot-width: 130px; /* Ajuste para que entren mejor en pantalla chica */
    --logo-max-w: 100px; 
    --logo-max-h: 70px; 
  } 
} 
 
/* ========================================= 
   DISEÑO ORIGINAL DEL FOOTER 
   ========================================= */ 
.main-footer-content { 
  padding-top: 30px; 
  padding-bottom: 20px; 
} 
 
.footer-top { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding-bottom: 20px; 
  border-bottom: 1px solid #444; 
} 
 
.address { 
  text-align: left; 
} 
 
.social-icons a { 
  margin: 0 10px; 
  color: #fff; 
  font-size: 24px; 
  transition: color 0.3s; 
} 
 
/* Colores específicos para cada red social en hover */ 
.social-icons a[href*="facebook"]:hover { 
  color: #1877f2; 
} 
.social-icons a[href*="twitter"]:hover { 
  color: #1da1f2; 
} 
.social-icons a[href*="instagram"]:hover { 
  color: #c13584; 
} 
.social-icons a[href*="youtube"]:hover { 
  color: #ff0000; 
} 
.social-icons a[href*="spotify"]:hover { 
  color: #1db954; 
} 
.social-icons a[href*="tiktok"]:hover { 
  color: #69c9d0; 
} 
 
.footer-middle { 
  padding: 30px 0; 
} 
 
.footer-logo { 
  width: 350px; 
  height: auto; 
} 
 
.footer-bottom { 
  display: flex; 
  justify-content: space-between; /* Mantiene el texto separado a los lados */ 
  padding-top: 10px; 
  font-size: 14px; 
  color: #fff; 
} 
 
@media (max-width: 768px) { 
  .footer-top { 
    flex-direction: column; 
    text-align: center; 
  } 
 
  .address, 
  .social-icons { 
    margin-bottom: 15px; 
  } 
 
  .footer-bottom { 
    flex-direction: column; 
    gap: 15px; 
  } 
 
  .footer-bottom p { 
    text-align: center !important; 
  } 
} 
 
/* ========================================= 
   BOTÓN VOLVER ARRIBA 
   ========================================= */ 
html { 
  scroll-behavior: smooth; 
} 
 
.back-to-top { 
  position: fixed; 
  bottom: 30px; 
  right: 30px; 
  width: 50px; 
  height: 50px; 
  background-color: #284d98;  
  color: white; 
  border: none; 
  border-radius: 50%; 
  cursor: pointer; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.2rem; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
  z-index: 9999; 
  opacity: 0; 
  visibility: hidden; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  transform: translateY(20px); 
} 
 
.back-to-top.show { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0); 
} 
 
.back-to-top:hover { 
  background-color: #8a171f; 
  transform: scale(1.1) translateY(-5px); 
  box-shadow: 0 6px 20px rgba(176, 30, 40, 0.4); 
}