/* Footer canónico de Fixy.
   Se carga después de brand.css para conservar la versión responsive
   validada en todas las páginas del sitio. */
.site-footer {
  background: #0c2234;
  border: 0;
  color: rgba(255, 255, 255, .75);
  padding: 0;
  font-size: 16px;
}
.site-footer .footer-top { padding: 72px 0 48px; }
.site-footer .footer-grid-2026 {
  display: grid;
  grid-template-columns: 1.05fr 1.05fr 1fr 1.25fr;
  gap: 34px;
}
.site-footer .footer-items {
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  text-align: left;
}
.site-footer .footer-title {
  margin: 0 0 8px;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-footer ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer ul li {
  padding: 6px 0;
  color: rgba(255, 255, 255, .7);
  font-size: .9rem;
  line-height: 1.45;
}
.site-footer ul li a,
.site-footer ul li span {
  display: inline !important;
  min-height: 0 !important;
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: inherit;
  text-decoration: none;
}
.site-footer ul li a:hover,
.site-footer ul li a:focus {
  color: #FBBE37;
  text-decoration: none;
}
.site-footer .footer-partners-2026 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .footer-partners-2026 a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  min-height: 54px;
  margin: 0;
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  transition: background-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.site-footer .footer-partners-2026 img {
  display: block;
  width: auto;
  height: auto;
  max-width: 90px;
  max-height: 34px;
  object-fit: contain;
  opacity: .9;
  filter: brightness(0) invert(1);
  transition: opacity .24s ease, transform .24s ease;
}
.site-footer .footer-partners-2026 a:hover,
.site-footer .footer-partners-2026 a:focus-visible {
  background: rgba(255, 255, 255, .13);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  transform: translateY(-3px);
}
.site-footer .footer-partners-2026 a:hover img,
.site-footer .footer-partners-2026 a:focus-visible img {
  opacity: 1;
  transform: scale(1.04);
}
.site-footer .social-icons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-top: 14px;
}
.site-footer .social-icons > a {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 40px;
  height: 40px;
  min-width: 40px !important;
  min-height: 40px !important;
  margin: 5px;
  border: 0 !important;
  border-radius: 9px;
  color: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
  transition: box-shadow .24s ease, transform .24s cubic-bezier(.2, .75, .3, 1.3);
}
.site-footer .social-icons > a::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70%;
  left: -115%;
  width: 62%;
  height: 240%;
  background: rgba(255, 255, 255, .32);
  transform: rotate(24deg);
  transition: left .42s ease;
}
.site-footer .social-icons > a:hover,
.site-footer .social-icons > a:focus-visible {
  box-shadow: 0 12px 24px rgba(0, 0, 0, .34);
  transform: translateY(-4px) scale(1.06);
}
.site-footer .social-icons > a:hover::after,
.site-footer .social-icons > a:focus-visible::after {
  left: 145%;
}
.site-footer .social-icons > a.facebook { background: #3b5999; }
.site-footer .social-icons > a.instagram {
  background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.site-footer .social-icons > a.linkedin { background: #0077b5; }
.site-footer .social-icons > a.tiktok { background: #000; }
.site-footer .social-icons > a.youtube { background: #f00; }
.site-footer .social-icons svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
  pointer-events: none;
  transition: transform .28s cubic-bezier(.2, .75, .3, 1.35);
}
.site-footer .social-icons > a:hover svg,
.site-footer .social-icons > a:focus-visible svg {
  animation: fixy-social-roll .5s cubic-bezier(.2, .75, .3, 1);
}
.site-footer .social-icons > a:focus-visible,
.site-footer .footer-partners-2026 a:focus-visible {
  outline: 3px solid #FBBE37;
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .site-footer .footer-grid-2026 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer .footer-items { margin-bottom: 30px; }
}

@media (max-width: 575px) {
  .site-footer { padding-bottom: 10px !important; }
  .site-footer .footer-top { padding: 44px 0 26px; }
  .site-footer .footer-grid-2026 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 38px;
  }
  .site-footer .footer-items {
    grid-column: auto;
    margin-bottom: 0;
  }
  .site-footer .footer-items:nth-child(1) { grid-column: auto; order: 1; }
  .site-footer .footer-items:nth-child(4) { grid-column: auto; order: 2; }
  .site-footer .footer-items:nth-child(2) { grid-column: auto; order: 3; }
  .site-footer .footer-items:nth-child(3) { grid-column: auto; order: 4; }
  .site-footer .footer-items:nth-child(3) > ul,
  .site-footer .footer-items:nth-child(4) > ul {
    display: block !important;
  }
  .site-footer .footer-partners-2026 {
    gap: 10px;
    margin-top: 26px;
    padding-top: 20px;
  }
  .site-footer .footer-partners-2026 a {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 34px;
    padding: 5px 10px;
    border-radius: 8px;
  }
  .site-footer .footer-partners-2026 img {
    max-width: 62px;
    max-height: 20px;
  }
  .site-footer .social-icons {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 6px;
  }
  .site-footer .social-icons > a {
    flex: 0 1 30px;
    min-width: 0;
    width: 30px;
    height: 30px;
    min-width: 30px !important;
    min-height: 30px !important;
    margin: 0;
    border-radius: 7px;
  }
  .site-footer .social-icons svg {
    width: 15px;
    height: 15px;
  }
}

@keyframes fixy-social-roll {
  0% { transform: translateY(0) scale(1); }
  42% { transform: translateY(-150%) scale(.92); }
  43% { transform: translateY(150%) scale(.92); }
  100% { transform: translateY(0) scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer .social-icons > a,
  .site-footer .social-icons > a::after,
  .site-footer .social-icons svg,
  .site-footer .footer-partners-2026 a,
  .site-footer .footer-partners-2026 img {
    transition: none;
  }
  .site-footer .social-icons > a:hover svg,
  .site-footer .social-icons > a:focus-visible svg {
    animation: none;
  }
}
