/* Páginas legales: términos, privacidad, cookies y licencias */

.legal-page .nav { position: absolute; opacity: 1; animation: none; }
.legal .awning { height: 92px; }

.legal__text { max-width: 760px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 110px); }
.legal__text h1 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-variation-settings: "SOFT" 100;
  font-size: clamp(38px, 5.6vw, 64px);
  line-height: 1;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.legal__text h2 {
  margin: 36px 0 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 27px);
  line-height: 1.15;
}
.legal__date { margin: 0 0 22px; color: var(--ink-soft); font-size: 15px; }
.legal__lead { margin: 18px 0 0; font-size: clamp(17px, 1.5vw, 19px); }
.legal__text p, .legal__text li { line-height: 1.65; text-wrap: pretty; }
.legal__text ul { padding-left: 22px; }
.legal__text li { margin: 4px 0; }
.legal__text a { color: var(--red-deep); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__text a:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 3px; }

.legal__table { margin: 16px 0; overflow-x: auto; border-radius: 14px; background: #fff; box-shadow: 0 18px 34px -26px rgba(70, 20, 10, .5); }
.legal__table table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.5; border-top: 1px solid rgba(29, 21, 19, .1); }
.legal__table thead th { border-top: 0; color: var(--red-deep); font-size: 14px; }
.legal__text pre {
  margin: 14px 0;
  padding: 16px;
  overflow-x: auto;
  border-radius: 14px;
  background: #fff;
  font: 13px/1.5 ui-monospace, Consolas, monospace;
  white-space: pre-wrap;
}
@media (max-width: 640px) {
  .legal__table table { min-width: 0; display: block; }
  .legal__table thead { display: none; }
  .legal__table tbody, .legal__table tr, .legal__table tbody th, .legal__table td { display: block; }
  .legal__table tr { padding: 14px 0; border-top: 1px solid rgba(29, 21, 19, .1); }
  .legal__table tr:first-child { border-top: 0; }
  .legal__table tbody th, .legal__table td { padding: 2px 16px; border: 0; }
  .legal__table td::before { content: attr(data-l) ": "; font-weight: 700; color: var(--red-deep); }
}
