/* Páginas legales: aviso legal, privacidad y cookies */
.legal-page { background: var(--paper); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
.legal-top { background: var(--navy-deep); padding: 14px 0; }
.legal-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.legal-top .brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; }
.legal-top .brand img { border-radius: 50%; }
.legal-top .brand b { color: var(--pink); font-weight: 700; }
.legal-top a.back { color: rgba(255,255,255,.85); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }

.legal { max-width: 760px; margin: 0 auto; padding: 48px 22px 72px; line-height: 1.7; font-size: 1.02rem; }
.legal .kicker { color: var(--pink); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; margin: 0 0 8px; }
.legal h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.1; margin: 0 0 10px; color: var(--navy-deep); }
.legal .updated { color: #5b6478; font-size: .92rem; margin: 0 0 32px; }
.legal h2 { font-family: "Fraunces", Georgia, serif; font-size: 1.35rem; color: var(--navy-deep); margin: 40px 0 10px; line-height: 1.25; }
.legal h3 { font-size: 1.02rem; margin: 24px 0 6px; color: var(--navy); }
.legal p, .legal li { color: #24304a; }
.legal ul { padding-left: 1.2em; }
.legal li { margin: 4px 0; }
.legal a { color: var(--navy); text-underline-offset: 3px; }
.legal .summary { background: #fff; border: 1px solid #e6e1d8; border-left: 4px solid var(--navy); border-radius: 12px; padding: 18px 22px; margin: 0 0 8px; }
.legal .summary p { margin: 0 0 6px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; background: #fff; border-radius: 12px; overflow: hidden; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #ece7de; }
.legal th { background: #f3efe8; color: var(--navy-deep); font-weight: 700; width: 34%; }
.legal .table-wide th { width: auto; }
.legal-foot { margin-top: auto; border-top: 1px solid #e6e1d8; padding: 22px 0; font-size: .88rem; color: #5b6478; text-align: center; }
.legal-foot a { color: inherit; }
@media (max-width: 600px) {
  .legal { padding: 32px 18px 56px; font-size: 1rem; }
  .legal th { width: 40%; }
  .legal .table-wide, .legal .table-wide tbody, .legal .table-wide tr, .legal .table-wide td, .legal .table-wide th { display: block; width: 100%; }
  .legal .table-wide thead { display: none; }
  .legal .table-wide td { border-bottom: none; padding: 4px 12px; }
  .legal .table-wide tr { border-bottom: 1px solid #ece7de; padding: 8px 0; }
  .legal .table-wide td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--navy-deep); }
}
.legal table { table-layout: fixed; }
.legal td, .legal th { overflow-wrap: anywhere; }
