/* ════════════════════════════════════════════
   MOMENTUM LAB — LEGAL PAGES
   Política de Privacidad · Términos · Cookies
   ════════════════════════════════════════════ */

/* ── HERO LEGAL ── */
.l-hero {
  position: relative;
  padding: 14rem 2.5rem 6rem;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}

.l-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 50%, rgba(99,102,241,.07) 0%, transparent 70%);
  pointer-events: none;
}

.l-hero__vline {
  position: absolute;
  top: 0; bottom: 0; left: 2.5rem;
  width: 1px;
  background: rgba(255,255,255,.06);
  pointer-events: none;
}

.l-hero__inner {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.l-hero__label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.l-hero__titulo {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
}

.l-hero__sub {
  font-size: .9rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
}

/* ── CONTENIDO LEGAL ── */
.l-content {
  background: #f8fafc;
  color: #0f172a;
  padding: 6rem 2.5rem 8rem;
}

.l-content__inner {
  max-width: 760px;
  margin: 0 auto;
}

/* Índice */
.l-index {
  background: rgba(99,102,241,.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 1.5rem 2rem;
  margin-bottom: 4rem;
}

.l-index__titulo {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.l-index ol {
  list-style: decimal;
  padding-left: 1.2rem;
}

.l-index ol li {
  font-size: .85rem;
  color: rgba(15,23,42,.55);
  line-height: 2;
}

.l-index ol li a {
  color: rgba(15,23,42,.55);
  transition: color .2s;
}

.l-index ol li a:hover {
  color: var(--accent);
}

/* Actualización */
.l-update {
  font-size: .75rem;
  color: rgba(15,23,42,.35);
  letter-spacing: .04em;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

/* Secciones */
.l-section {
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(15,23,42,.06);
}

.l-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.l-section__num {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}

.l-section__titulo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #0f172a;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.l-section p {
  font-size: .92rem;
  color: rgba(15,23,42,.7);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.l-section p:last-child { margin-bottom: 0; }

.l-section ul, .l-section ol {
  padding-left: 1.3rem;
  margin: .75rem 0 1rem;
}

.l-section ul li, .l-section ol li {
  font-size: .92rem;
  color: rgba(15,23,42,.7);
  line-height: 1.85;
  margin-bottom: .4rem;
}

/* Tabla de cookies */
.l-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 6px;
  border: 1px solid rgba(15,23,42,.08);
}

.l-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .82rem;
}

.l-table th {
  background: rgba(99,102,241,.07);
  color: #0f172a;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .75rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.l-table td {
  padding: .75rem 1rem;
  color: rgba(15,23,42,.7);
  border-bottom: 1px solid rgba(15,23,42,.05);
  vertical-align: top;
  line-height: 1.6;
}

.l-table tr:last-child td { border-bottom: none; }

/* Bloque de contacto */
.l-contact {
  background: rgba(99,102,241,.06);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 1.5rem;
}

.l-contact p {
  font-size: .9rem !important;
  color: rgba(15,23,42,.65) !important;
  margin-bottom: .4rem !important;
}

.l-contact a {
  color: var(--accent);
  font-weight: 500;
  transition: opacity .2s;
}

.l-contact a:hover { opacity: .7; }

/* Nav en páginas legales — fondo oscuro fijo */
.l-hero #nav { position: absolute; }

/* ── RESPONSIVE ── */
@media(max-width: 960px) {
  .l-hero { padding: 12rem 1.5rem 5rem; }
  .l-content { padding: 5rem 1.5rem 6rem; }
  .l-hero__vline { left: 1.5rem; }
}

@media(max-width: 600px) {
  .l-hero { padding: 10rem 1.5rem 4rem; }
  .l-content { padding: 4rem 1.5rem 5rem; }
  .l-index { padding: 1.25rem 1.5rem; }
  .l-section { margin-bottom: 2.5rem; padding-bottom: 2.5rem; }
}
