/* ==========================================================================
   ESTILOS DE LAS PÁGINAS LEGALES (términos y privacidad)
   Se usa junto con estilos.css: los colores y tipografías salen de ahí.
   ========================================================================== */

/* Cabecera oscura con el título */
.cabecera-legal { padding-bottom: 48px; }
.cabecera-legal h1 { font-size: clamp(2rem, 7vw, 48px); line-height: 1.2; }
.cabecera-legal .microtexto { margin-top: 8px; }

.volver {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  color: inherit;
  text-decoration: underline;
}
.volver:focus-visible { outline: 2px solid var(--titulo-oscuro); outline-offset: 3px; }

/* Texto legal: columna angosta y cómoda de leer */
.legal { max-width: 760px; margin: 0 auto; text-align: left; }

.legal h2 {
  font-size: 24px;
  line-height: 1.3;
  margin: 44px 0 14px;
}
.legal > h2:first-child,
.legal > p:first-child + h2 { margin-top: 36px; }

.legal ul { padding-left: 22px; margin: 0 0 16px; }
.legal li { margin-bottom: 8px; }
.legal strong { font-weight: 700; }

.legal a { color: inherit; text-decoration: underline; }
.legal a:focus-visible { outline: 2px solid var(--titulo-claro); outline-offset: 2px; }

/* Recuadro para avisos importantes (por ejemplo, la advertencia de salud) */
.legal .nota {
  margin: 0 0 16px;
  padding: 16px 20px;
  border-left: 3px solid var(--boton);
  background: rgba(43, 43, 43, 0.05);
  border-radius: 0 6px 6px 0;
}
.legal .nota p:last-child,
.legal .nota ul:last-child { margin-bottom: 0; }
