/* Shared stylesheet for static legal pages (privacidad, terminos, eliminar-datos, contacto). */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.legal-page {
  min-height: 100vh;
  background: #ffffff;
  color: #1a1a2e;
  display: flex;
  flex-direction: column;
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  color: #1a1a2e;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6c5ce7, #00cec9);
  border-radius: 8px;
  font-size: 18px;
}

.legal-nav-back {
  color: #6c5ce7;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.legal-nav-back:hover {
  text-decoration: underline;
}

.legal-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  flex: 1;
  width: 100%;
}

.legal-container h1 {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.legal-updated {
  color: #6b7280;
  font-size: 14px;
  margin: 0 0 40px;
}

.legal-container h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.legal-container h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 10px;
}

.legal-container p,
.legal-container li {
  font-size: 15.5px;
  line-height: 1.75;
  color: #33334d;
}

.legal-container p {
  margin: 0 0 16px;
}

.legal-container ul,
.legal-container ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-container li {
  margin-bottom: 8px;
}

.legal-container strong {
  color: #1a1a2e;
  font-weight: 600;
}

.legal-container a {
  color: #6c5ce7;
  text-decoration: underline;
}

.legal-callout {
  background: #fff8e1;
  border-left: 4px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.legal-callout strong {
  color: #92400e;
}

.legal-contact-card {
  background: #f8f7ff;
  border: 1px solid #e5e3f7;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 20px 0;
}

.legal-contact-card h3 {
  margin-top: 0;
}

.legal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 28px 24px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.legal-footer a {
  color: #6c5ce7;
  text-decoration: none;
  margin: 0 10px;
}

.legal-footer a:hover {
  text-decoration: underline;
}

.legal-footer .legal-footer-meta {
  margin-top: 8px;
}

@media (max-width: 640px) {
  .legal-container {
    padding: 40px 20px 72px;
  }
  .legal-container h1 {
    font-size: 30px;
  }
  .legal-container h2 {
    font-size: 19px;
  }
}
