/* ===== PÁGINAS LEGALES — Fossil Natura (v3) ===== */

/* ── Contenedor principal ── */
.legal-section {
  background: var(--c-bg, var(--color-bg));
}

.legal-container {
  max-width: 820px;
  padding-top: 3.5rem;
  padding-bottom: 5rem;
}

/* Fecha de actualización */
.legal-updated {
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-grey3);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

/* ── Tipografía ── */
.legal-container h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--color-text);
  margin: 2.5rem 0 0.9rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.legal-container h2:first-of-type {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.legal-container h3 {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: 1.6rem 0 0.5rem;
}

.legal-container p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.legal-container ul {
  margin: 0.5rem 0 1.2rem 1.25rem;
  padding: 0;
}

.legal-container ul li {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 0.35rem;
  list-style-type: disc;
}

.legal-container ul li strong {
  color: var(--color-text);
  font-weight: 500;
}

.legal-container a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}
.legal-container a:hover {
  opacity: 0.6;
}

/* ── Tabla ── */
.legal-table-wrap {
  overflow-x: auto;
  margin: 1.2rem 0 1.5rem;
  border: 1px solid var(--color-border);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 560px;
}

.legal-table thead tr {
  background: var(--color-dark);
  color: white;
}

.legal-table th {
  padding: 0.65rem 1rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.legal-table td {
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  vertical-align: top;
  line-height: 1.55;
}

.legal-table tbody tr:nth-child(even) td {
  background: var(--color-bg);
}

.legal-table code {
  font-family: monospace;
  font-size: 0.82rem;
  background: #f3f3f3;
  padding: 1px 5px;
  border-radius: 2px;
}

/* ── Nota a pie de tabla ── */
.legal-note {
  font-size: 0.78rem !important;
  font-style: italic;
  color: var(--color-grey3) !important;
  margin-top: -0.5rem !important;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .legal-container {
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }
  .legal-container h2 {
    font-size: 1.3rem;
  }
}
