:root {
  --v-columna: 960px;
  --v-margen: max(60px, calc((var(--ancho) - var(--v-columna)) / 2));
  --v-titulo-portada: 96px;
  --v-titulo: 60px;
  --v-cuerpo: 44px;
  --v-detalle: 34px;
  --v-minimo: 34px;
  --v-boton: 132px;
  --v-hueco: 40px;
}

html .escenario {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--v-hueco);
  padding: 96px var(--v-margen) 72px;
}

html .escenario > *,
html .escenario .columna-texto > * {
  flex: none;
  min-width: 0;
  max-width: none;
  margin: 0;
}

html .escenario .columna-texto {
  display: contents;
}

html .escenario > :is(header, main, footer),
html .escenario .columna-texto > :is(header, main, footer) {
  width: auto;
  align-self: stretch;
}

html .escenario > header,
html .escenario .columna-texto > header {
  order: 1;
  flex: none;
}

html .escenario > main,
html .escenario .columna-texto > main,
html .escenario .bloque-central {
  order: 2;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-content: safe center;
  gap: 32px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
  touch-action: pan-y;
}

html .escenario > main > *,
html .escenario .columna-texto > main > *,
html .escenario .bloque-central > * {
  flex-shrink: 0;
}

html .escenario > footer,
html .escenario .columna-texto > footer {
  order: 3;
  flex: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px 32px;
  padding: 0;
}

html .escenario footer > :is(.instruccion, h4, p) {
  flex: 1 1 100%;
  margin: 0;
}

html .escenario .HeaderPaso1Prompt {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 16px;
}

html .escenario :is(.boton1, .boton2, .boton3, .botonOpinar) {
  flex: none;
  min-height: var(--v-boton);
  margin: 0;
  font-size: var(--v-cuerpo);
}
