/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES · contenido extenso, tipografía cómoda lectura
   Aviso legal · Política privacidad · Política cookies
   ═══════════════════════════════════════════════════════════════ */

.legal-body .page-hero {
  padding-bottom: clamp(40px, 6vh, 64px);
}
.legal-body .page-hero-title {
  font-size: clamp(36px, 5.5vw, 72px);
}
.legal-body .page-hero-lead {
  margin-top: 24px;
  max-width: 56ch;
}

.legal-content {
  padding: clamp(24px, 4vh, 56px) clamp(28px, 6vw, 80px) clamp(80px, 12vh, 140px);
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif, 'Belleza'), serif;
  color: var(--ink, #1d1d1f);
  line-height: 1.7;
}

.legal-inner h2 {
  font-family: 'Belleza', sans-serif;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  color: var(--ink, #1d1d1f);
}
.legal-inner h2:first-child { margin-top: 0; }

.legal-inner p {
  font-size: clamp(15px, 1.05vw, 17px);
  margin: 0 0 16px;
  color: var(--ink-soft, #4a4a4a);
}

.legal-inner ul {
  margin: 0 0 24px;
  padding-left: 22px;
}
.legal-inner ul li {
  font-size: clamp(15px, 1.05vw, 17px);
  margin-bottom: 10px;
  color: var(--ink-soft, #4a4a4a);
  line-height: 1.6;
}

.legal-inner strong {
  color: var(--ink, #1d1d1f);
  font-weight: 500;
}

.legal-inner a {
  color: var(--ink, #1d1d1f);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-inner a:hover {
  color: var(--bronze, #8B7355);
}

.legal-inner code {
  font-family: 'Courier New', monospace;
  background: rgba(15, 15, 14, 0.06);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.92em;
}

.legal-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 15, 14, 0.12);
  font-size: 13px;
  color: var(--ink-soft, #6a6a6a);
  font-style: italic;
}

/* Tabla de cookies */
.legal-table-wrap {
  overflow-x: auto;
  margin: 0 0 32px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(13px, 0.95vw, 15px);
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 15, 14, 0.1);
  vertical-align: top;
}
.legal-table th {
  font-family: 'Belleza', sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ink, #1d1d1f);
  background: rgba(15, 15, 14, 0.03);
}
.legal-table td {
  color: var(--ink-soft, #4a4a4a);
}
.legal-table td code {
  white-space: nowrap;
}

@media (max-width: 600px) {
  .legal-inner h2 { margin-top: 40px; font-size: 22px; }
  .legal-content { padding: 24px 18px 80px; }
  .legal-table th, .legal-table td { padding: 10px 8px; font-size: 13px; }
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE BANNER · informativo (solo cookies técnicas, sin consent)
   ═══════════════════════════════════════════════════════════════ */

.cookie-banner {
  position: fixed;
  left: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 10500;
  background: #0F0F0E;
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: 'Belleza', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}
/* En páginas árabes el override global fuerza Reem Kufi en todos los elementos,
   incluyendo el banner. Aquí lo anulamos: el banner siempre con Belleza para
   tamaño consistente entre idiomas. */
html[dir="rtl"] .cookie-banner,
html[dir="rtl"] .cookie-banner *,
html[dir="rtl"] .cookie-banner__text,
html[dir="rtl"] .cookie-banner__text a,
html[dir="rtl"] .cookie-banner__btn {
  font-family: 'Belleza', sans-serif !important;
  font-size: 14px !important;
  direction: ltr;
  text-align: left;
}
html[dir="rtl"] .cookie-banner__btn { font-size: 14px !important; }
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__text {
  flex: 1;
  color: rgba(255, 255, 255, 0.88);
}
.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.cookie-banner__text a:hover {
  color: var(--bronze, #c9a87a);
}
.cookie-banner__btn {
  background: #fff;
  color: #0F0F0E;
  border: none;
  padding: 12px 28px;
  font-family: 'Belleza', sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.cookie-banner__btn:hover {
  background: var(--bronze, #8B7355);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px;
    gap: 14px;
    bottom: 12px;
    left: 12px;
    right: 12px;
  }
  .cookie-banner__btn { width: 100%; padding: 12px; }
}
