/* Documentos legales y enlaces compartidos. */
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 22px; font: 600 14px/1.6 "Plus Jakarta Sans", system-ui, sans-serif; }
.legal-links a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.legal-links a:focus-visible { outline: 3px solid #f57a3e; outline-offset: 4px; }
.site-legal-footer {
  width: auto;
  margin: 0;
  padding: 30px 5vw 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #25283a;
  color: #fff4e1;
  font: 700 14px/1.4 "Plus Jakarta Sans", system-ui, sans-serif;
}
.site-legal-footer .legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 58px);
  flex-wrap: wrap;
  font: inherit;
}
.site-legal-footer .legal-links a {
  color: #fff4e1;
  text-decoration: none;
}
.site-legal-footer .legal-links a:hover { color: #ffd77a; }
.site-legal-footer .footer-copy {
  color: #ffd77a;
  font-size: 14px;
  text-align: center;
}
.legal-page { margin: 0; background: #fffcf8; color: #1c120f; font: 500 16px/1.75 "Plus Jakarta Sans", system-ui, sans-serif; }
.legal-page * { box-sizing: border-box; letter-spacing: 0; }
.legal-shell { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.legal-header { min-height: 150px; display: grid; place-items: center; padding: 24px 20px 28px; background: #1d0903; color: #fff; text-align: center; }
.legal-hero { width: 100%; max-width: 900px; min-width: 0; }
.legal-page .legal-header h1 { margin: 0; font-size: 48px; line-height: 1.12; font-weight: 900; overflow-wrap: anywhere; text-wrap: balance; }
.legal-page .legal-header .legal-date { margin: 14px 0 0; color: #d7c4b9; font-size: 14px; font-weight: 600; }
.legal-page main { padding-block: 54px 84px; }
.legal-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 34px; color: #5a3328; font-size: 15px; font-weight: 700; text-decoration: none; }
.legal-back:hover { color: #ed5a25; }
.legal-back:focus-visible { outline: 3px solid #f57a3e; outline-offset: 4px; }
.legal-page section { padding-block: 32px; scroll-margin-top: 24px; }
.legal-page .legal-intro { margin-bottom: 20px; padding: 30px 32px 28px; border-radius: 8px; background: #1d0903; color: #fff8f2; }
.legal-page .legal-kicker { margin-bottom: 16px; color: #ff6a2b; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.legal-page h2 { margin: 0 0 25px; color: #17110f; font-size: 22px; line-height: 1.3; font-weight: 900; }
.legal-page h2::after { content: ""; display: block; width: min(246px, 55%); height: 3px; margin-top: 12px; background: #f15a24; }
.legal-page h3 { margin: 24px 0 8px; color: #ef5a25; font-size: 17px; }
.legal-page p { margin: 0 0 16px; }
.legal-page p:last-child { margin-bottom: 0; }
.legal-page ul { margin: 0 0 18px; padding-left: 24px; }
.legal-page li { margin-block: 10px; }
.legal-page a { color: #6d382c; overflow-wrap: anywhere; text-underline-offset: 3px; }
.legal-page section:not(.legal-intro) a:hover { color: #ed5a25; }
.legal-page footer:not(.site-legal-footer) { padding-block: 24px; border-top: 2px solid #f57a3e; }
#contacto .contact-privacy { grid-column: 1 / -1; margin: 8px 0 0; font: 500 13px/1.5 "Plus Jakarta Sans", sans-serif; color: #625662; }
#contacto .contact-privacy a { text-decoration: underline; }
@media (max-width: 600px) {
  .legal-shell { width: min(760px, calc(100% - 32px)); }
  .legal-header { min-height: 136px; padding-inline: 16px; }
  .legal-page .legal-header h1 { font-size: 32px; }
  .legal-page main { padding-block: 36px 60px; }
  .legal-back { margin-bottom: 24px; }
  .legal-page .legal-intro { padding: 25px 22px 22px; }
  .legal-page section { padding-block: 25px; }
  .legal-page h2 { font-size: 21px; }
}
@media print {
  .legal-page { background: white; color: black; }
  .legal-page .legal-header { min-height: auto; background: white; color: black; }
  .legal-page .legal-header .legal-date { color: black; }
  .legal-page .legal-back, .legal-page footer { display: none; }
  .legal-page .legal-intro { border: 1px solid black; background: white; color: black; }
  .legal-page section { break-inside: auto; }
}
