#colophon,
.site-footer:not(.xg-footer),
.ast-builder-footer {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.xg-footer {
  background: var(--xg-footer-bg);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.xg-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px 24px;
  text-align: center;
}

.xg-footer__nav,
.xg-footer__legal {
  margin: 0;
}

.xg-footer__links,
.xg-footer__legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  justify-items: center;
}

.xg-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.xg-footer__legal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px 24px;
}

.xg-footer__links li,
.xg-footer__legal-links li {
  text-align: center;
}

.xg-footer__link {
  display: inline-block;
  color: #1a1a1a;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.xg-footer__link:hover {
  opacity: 0.7;
  text-decoration: none;
}

.xg-footer__link:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

.xg-footer__link--strong {
  font-weight: 600;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  appearance: none;
}

.xg-footer a.x-btn,
.xg-footer a.x-btn--primary,
.xg-footer a[href*="/subir-grupo/"] {
  display: inline-block !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: 1.35 !important;
  color: #1a1a1a !important;
  transform: none !important;
}

.xg-footer__transparency {
  margin: 20px 0 0;
  color: #666;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.xg-footer__legal {
  margin-top: 18px;
}

.xg-footer__copy {
  margin: 20px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 640px) {
  .xg-footer__inner {
    padding: 24px 16px 22px;
  }

  .xg-footer__links {
    gap: 10px 20px;
  }

  .xg-footer__legal-links {
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
  }

  .xg-footer__transparency {
    font-size: 13px;
  }

  .xg-footer__copy {
    font-size: 12px;
  }
}
