.legal-page { background: #f5f7fb; min-height: 100vh; padding-bottom: 60px; }
.legal-hero {
  background: linear-gradient(135deg, #06102a 0%, #1F2D54 100%);
  color: #fff;
  padding: 72px 0 48px;
  text-align: center;
}
.legal-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin: 0 0 12px; }
.legal-hero p { color: rgba(238,242,255,0.85); font-size: 1rem; margin: 0; }
.legal-badge {
  display: inline-block;
  background: rgba(252,152,3,0.18);
  color: #FCA503;
  border: 1px solid rgba(252,152,3,0.4);
  border-radius: 999px;
  padding: 4px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px;
}
.legal-content h2 {
  color: #1F2D54;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(252,152,3,0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.legal-content h2 span.num {
  background: #1F2D54;
  color: #fff;
  border-radius: 50%;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.legal-content p { line-height: 1.8; color: #374151; margin: 0 0 14px; }
.legal-content ul { padding-left: 22px; color: #374151; line-height: 1.8; margin: 0 0 14px; }
.legal-content li { margin-bottom: 6px; }
.legal-content strong { color: #1F2D54; }
.legal-info-box {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  border-left: 4px solid #FCA503;
  box-shadow: 0 4px 16px rgba(31,45,84,0.07);
  margin: 32px 0;
}
.legal-info-box p { margin: 0; }
.legal-date {
  text-align: center;
  color: #9ca3af;
  font-size: 0.88rem;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.legal-nav { 
  display: flex; 
  gap: 16px; 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: 40px; 
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}
.legal-nav a {
  padding: 12px 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1F2D54 0%, #111a36 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(31, 45, 84, 0.15);
}
.legal-nav a:hover { 
  background: linear-gradient(135deg, #FCA503 0%, #d98400 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(252, 165, 3, 0.3);
}
/* Tarjetas de tipos de cookie */
.cookie-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 16px; margin: 20px 0 28px; }
.cookie-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 3px 12px rgba(31,45,84,0.07);
  border-top: 4px solid #1F2D54;
}
.cookie-card.essential { border-top-color: #1abc9c; }
.cookie-card.analytics  { border-top-color: #3757ff; }
.cookie-card.functional { border-top-color: #FCA503; }
.cookie-card .c-icon { font-size: 1.6rem; margin-bottom: 10px; }
.cookie-card h3 { color: #1F2D54; font-size: 1rem; font-weight: 800; margin: 0 0 8px; }
.cookie-card p { font-size: 0.88rem; color: #6b7280; line-height: 1.5; margin: 0 0 10px; }
.cookie-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-required { background: #d1fae5; color: #065f46; }
.badge-optional { background: #dbeafe; color: #1e40af; }
/* Tabla de cookies */
.cookie-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 0.9rem; }
.cookie-table th { background: #1F2D54; color: #fff; padding: 10px 14px; text-align: left; font-weight: 700; }
.cookie-table td { padding: 10px 14px; border-bottom: 1px solid #e5e7eb; color: #374151; vertical-align: top; }
.cookie-table tr:nth-child(even) td { background: #f9fafb; }
