/* V9 - formularios compactos + eliminación de franja gris durante el scroll */

/* Mantener el lienzo de toda la web limpio, sin gutter/franja lateral visible. */
html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden !important;
  background: #fff !important;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Edge/IE heredado */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

/* Evitar que contenedores generales generen una franja lateral por sombras o ancho excedido. */
body > *,
main,
section,
footer,
header {
  max-width: 100%;
}

/* Refuerzo específico para las páginas legales. */
body.pagina-legal,
body.pagina-legal main,
body.pagina-legal .legal-contenido,
body.pagina-legal .miga-global {
  box-shadow: none !important;
  filter: none !important;
}
body.pagina-legal {
  overflow-x: hidden !important;
  background: #fff !important;
}

/* El scrollbar interno de los modales puede seguir usándose, pero sin pista gris visible. */
.modal-asesoria,
.modal-asesoria form {
  scrollbar-width: thin;
  scrollbar-color: rgba(7,63,57,.28) transparent;
}
.modal-asesoria::-webkit-scrollbar,
.modal-asesoria form::-webkit-scrollbar {
  width: 5px;
}
.modal-asesoria::-webkit-scrollbar-track,
.modal-asesoria form::-webkit-scrollbar-track {
  background: transparent;
}
.modal-asesoria::-webkit-scrollbar-thumb,
.modal-asesoria form::-webkit-scrollbar-thumb {
  background: rgba(7,63,57,.28);
  border-radius: 999px;
}
