/* Pie completo aprobado. No depende de los estilos de cada página. */
.bs-site-footer {
  display: flow-root;
  width: 100%;
  background: #0b0c10;
  color: #8892b0;
  font: 13px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
.bs-site-footer .bs-legacy-footer {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px 20px 0;
  border-top: 1px solid #1e2335;
  text-align: center;
  color: #8892b0;
  font-size: 13px;
}
.bs-site-footer .bs-legacy-footer p { margin: 0; line-height: 1.5; }
.bs-site-footer .footer-contact-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 8px; }
.bs-site-footer .footer-contact-btn {
  padding: 8px 13px;
  border: 1px solid #1e2335;
  border-radius: 999px;
  background: #151823;
  color: #e2e8f0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.bs-site-footer .footer-contact-btn:hover { border-color: #8a3f7f; background: #241b2a; }
.bs-site-footer .bs-footer-social { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.bs-site-footer .bs-legacy-footer .bs-footer-legal { margin-top: 8px; }
.bs-site-footer a { color: #d8a7d0; text-decoration: none; }
.bs-site-footer a:hover { color: #f0b6e8; text-decoration: underline; text-underline-offset: 3px; }
.bs-site-footer :focus-visible { outline: 2px solid #f0b6e8; outline-offset: 4px; }

/* En computadora, agrupar las líneas relacionadas evita un pie demasiado alto. */
@media (min-width: 901px) {
  .bs-site-footer .bs-legacy-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-content: center;
    column-gap: 24px;
    max-width: 1180px;
    margin: 12px auto 14px;
    padding: 12px 24px 0;
  }
  .bs-site-footer .bs-legacy-footer > p { min-width: 0; overflow-wrap: anywhere; }
  .bs-site-footer .footer-contact-actions,
  .bs-site-footer .bs-footer-social,
  .bs-site-footer .bs-footer-legal { grid-column: 1 / -1; }
  .bs-site-footer .footer-contact-actions { margin: 8px 0 6px; }
  .bs-site-footer .footer-contact-btn { padding: 6px 12px; }
  .bs-site-footer .bs-legacy-footer .bs-footer-legal { margin-top: 6px; }
}

/* El pie informativo queda debajo del editor, sin reemplazar sus controles. */
body.bs-studio-page { height: auto; min-height: 100vh; overflow-y: auto; overflow-x: hidden; }
