/* ===========================================
   MARÉS STUDIO 360 — Páginas Legales
   =========================================== */

/* ─── Hero / Cabecera ─── */
.mlegal-hero {
  background: var(--marino);
  padding: 140px 40px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mlegal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(197,176,142,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.mlegal-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mares2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mlegal-label::before,
.mlegal-label::after {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--mares2);
}
.mlegal-h1 {
  font-family: 'Aileron', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 600;
  color: var(--arena);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.mlegal-date {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(253, 244, 236, 0.30);
  text-transform: uppercase;
}

/* ─── Contenido ─── */
.mlegal-body {
  background: var(--arena);
  padding: 80px 40px 100px;
}
.mlegal-inner {
  max-width: 740px;
  margin: 0 auto;
}

/* ─── Secciones ─── */
.mlegal-section {
  margin-bottom: 52px;
  padding-bottom: 52px;
  border-bottom: 0.5px solid rgba(27, 36, 49, 0.10);
}
.mlegal-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.mlegal-section-num {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mares1);
  margin-bottom: 10px;
  display: block;
}
.mlegal-section h2 {
  font-family: 'Aileron', sans-serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--marino);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.mlegal-section p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(27, 36, 49, 0.68);
  line-height: 1.75;
  margin-bottom: 14px;
}
.mlegal-section p:last-child { margin-bottom: 0; }

.mlegal-section ul,
.mlegal-section ol {
  padding-left: 0;
  margin-top: 10px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mlegal-section li {
  font-size: 14px;
  font-weight: 300;
  color: rgba(27, 36, 49, 0.68);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}
.mlegal-section li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--mares2);
  font-size: 11px;
  top: 3px;
}
.mlegal-section ol { counter-reset: legal-ol; }
.mlegal-section ol li { counter-increment: legal-ol; }
.mlegal-section ol li::before {
  content: counter(legal-ol) '.';
  font-size: 11px;
  font-weight: 600;
  color: var(--mares1);
  top: 2px;
}

.mlegal-section strong {
  font-weight: 600;
  color: var(--marino);
}
.mlegal-section a {
  color: var(--mares1);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mlegal-section a:hover { color: var(--marino); }

/* ─── Tabla cookies ─── */
.mlegal-table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 6px;
  border: 0.5px solid rgba(27, 36, 49, 0.12);
}
.mlegal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  color: rgba(27, 36, 49, 0.72);
}
.mlegal-table th {
  background: rgba(27, 36, 49, 0.05);
  color: var(--marino);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 0.5px solid rgba(27, 36, 49, 0.12);
}
.mlegal-table td {
  padding: 10px 14px;
  border-bottom: 0.5px solid rgba(27, 36, 49, 0.07);
  line-height: 1.5;
}
.mlegal-table tr:last-child td { border-bottom: none; }

/* ─── Footer mínimo ─── */
.mlegal-footer {
  background: var(--marino-dark);
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mlegal-footer-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
}
.mlegal-footer-logo-main {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--arena);
}
.mlegal-footer-logo-sub {
  font-size: 7px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mares2);
}
.mlegal-footer-copy {
  font-size: 11px;
  color: rgba(253, 244, 236, 0.28);
  letter-spacing: 0.04em;
}
.mlegal-footer-links {
  display: flex;
  gap: 20px;
}
.mlegal-footer-links a {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: rgba(253, 244, 236, 0.35);
  transition: color 0.2s;
}
.mlegal-footer-links a:hover { color: var(--mares2); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .mlegal-hero  { padding: 120px 24px 56px; }
  .mlegal-body  { padding: 56px 24px 72px; }
  .mlegal-section { margin-bottom: 40px; padding-bottom: 40px; }
  .mlegal-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px;
  }
  .mlegal-footer-copy { order: 3; }
}
@media (max-width: 480px) {
  .mlegal-hero  { padding: 108px 20px 48px; }
  .mlegal-body  { padding: 40px 20px 60px; }
  .mlegal-footer-links { flex-wrap: wrap; gap: 14px; }
}
