/* ============================================================
   legal.css — estilos exclusivos de pages/politica-de-privacidad.html
   y pages/terminos-y-condiciones.html
   ============================================================ */

.legal {
  max-width: 820px;
  margin: 0 auto;
}
.legal__updated {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--verde-claro);
  background: var(--gris-claro);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 40px;
}
.legal__intro {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 8px;
}
.legal__toc {
  background: var(--gris-claro);
  border-radius: var(--radio-lg);
  padding: 28px 32px;
  margin: 40px 0 56px;
}
.legal__toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde-claro);
  margin-bottom: 16px;
}
.legal__toc ol {
  list-style: none;
  columns: 2;
  column-gap: 32px;
  counter-reset: toc;
}
.legal__toc li { break-inside: avoid; margin-bottom: 10px; }
.legal__toc a {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--negro);
  transition: color 0.2s;
}
.legal__toc a:hover { color: var(--verde-medio); }
.legal__toc a::before {
  counter-increment: toc;
  content: counter(toc) ".";
  color: var(--verde-claro);
  font-weight: 600;
  flex-shrink: 0;
}
.legal__section { padding: 32px 0; border-bottom: 1px solid var(--crema-oscura); scroll-margin-top: 100px; }
.legal__section:last-of-type { border-bottom: none; }
.legal__section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 1.35rem;
  color: var(--verde-oscuro);
  margin-bottom: 16px;
}
.legal__section h2 .legal__num {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--verde-menta);
  background: var(--verde-oscuro);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.legal__section h3 {
  font-size: 1.05rem;
  color: var(--verde-medio);
  margin: 20px 0 10px;
}
.legal__section p { margin-bottom: 14px; line-height: 1.75; }
.legal__section p:last-child { margin-bottom: 0; }
.legal__section ul,
.legal__section ol.legal__list { margin: 0 0 14px 0; padding-left: 0; }
.legal__section ul li,
.legal__section ol.legal__list li {
  list-style: none;
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.65;
  color: var(--gris-texto);
}
.legal__section ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--verde-claro);
}
.legal__section ol.legal__list { counter-reset: legallist; }
.legal__section ol.legal__list li::before {
  counter-increment: legallist;
  content: counter(legallist) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--verde-claro);
}
.legal__contact-box {
  background: var(--verde-oscuro);
  border-radius: var(--radio-lg);
  padding: 32px;
  margin-top: 16px;
  color: var(--blanco);
}
.legal__contact-box a { color: var(--verde-menta); font-weight: 600; }
.legal__contact-box a:hover { text-decoration: underline; }
.legal__contact-box .footer__contact-item { color: rgba(255,255,255,0.85); }
.legal__contact-box .footer__contact-item svg { color: var(--verde-menta); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .legal__toc ol { columns: 1; }
  .legal__section h2 { font-size: 1.15rem; }
}
