/* ============================================================
   LeadmaticAD — Estilos de páginas legales (marca 2.0)
   Azul noche #07101F + naranja #FF9901 · Clash Display + Outfit
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #07101F;
  --bg2: #0B1726;
  --accent: #FF9901;
  --accent-2: #FFB340;
  --accent-glow: rgba(255,153,1,0.35);
  --text: #FFFFFF;
  --text-2: #A8B3C4;
  --text-3: #6B7688;
  --border: rgba(255,255,255,0.08);
  --ease: cubic-bezier(0.32,0.72,0,1);
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at top right, rgba(255,153,1,0.06), transparent 50%),
    radial-gradient(circle at bottom left, rgba(255,153,1,0.04), transparent 55%);
}
h1, h2, h3 { font-family: 'Clash Display', 'Outfit', sans-serif; letter-spacing: -0.01em; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* NAV */
.l-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 clamp(16px, 4vw, 40px);
  background: rgba(7,16,31,0.72); backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border);
}
.l-nav .brand-logo { height: 32px; width: auto; display: block; }
.l-back { font-size: 14px; font-weight: 500; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; }
.l-back:hover { color: var(--text); text-decoration: none; }

/* HERO */
.legal-hero { padding: 80px 0 48px; text-align: center; position: relative; z-index: 1; }
.legal-breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.legal-breadcrumb a { color: var(--text-3); }
.legal-breadcrumb a:hover { color: var(--text-2); }
.legal-hero h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 600; line-height: 1.05; margin-bottom: 12px; }
.legal-hero p { font-size: 16px; color: var(--text-2); }

/* CONTENT */
.legal-body { padding: 0 0 96px; position: relative; z-index: 1; }
.legal-card { background: rgba(255,255,255,0.025); border: 1px solid var(--border); border-radius: 22px; padding: clamp(28px, 5vw, 56px); }
.legal-updated { font-size: 13px; color: var(--text-3); margin-bottom: 40px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.legal-section { margin-bottom: 44px; }
.legal-section:last-child { margin-bottom: 0; }
.legal-section h2 {
  font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.legal-section h2 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #c46f00);
  color: #07101F; font-size: 13px; font-weight: 800;
  box-shadow: 0 0 16px var(--accent-glow);
}
.legal-section h3 { font-size: 15px; font-weight: 600; color: var(--text); margin: 20px 0 8px; }
.legal-section p { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-bottom: 12px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul, .legal-section ol { padding-left: 20px; margin: 8px 0 12px; }
.legal-section li { font-size: 15px; line-height: 1.8; color: var(--text-2); margin-bottom: 6px; }
.legal-section strong { color: var(--text); }
.legal-highlight { background: rgba(255,153,1,0.08); border: 1px solid rgba(255,153,1,0.2); border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
.legal-highlight p { font-size: 14px; color: var(--text-2); margin: 0; }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0; }
.right-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; }
.right-card strong { display: block; font-size: 14px; color: var(--text); margin-bottom: 4px; }
.right-card span { font-size: 13px; color: var(--text-2); }

/* COOKIE TABLE */
.cookie-table-wrap { overflow-x: auto; margin: 12px 0 8px; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.cookie-table th { color: var(--text-3); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.05em; }
.cookie-table td { color: var(--text-2); }
.cookie-name { font-family: ui-monospace, monospace; color: var(--accent-2); font-size: 12.5px; }
.cookie-type-label { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 8px; }
.badge-essential { background: rgba(120,200,140,0.12); color: #84d89a; }
.badge-analytics { background: rgba(255,153,1,0.12); color: var(--accent-2); }
.cookie-type-group { margin-bottom: 24px; }

/* FOOTER */
.l-footer { padding: 48px 0 36px; border-top: 1px solid var(--border); position: relative; z-index: 1; }
.l-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--text-3); }
.l-footer-links { display: flex; gap: 22px; }
.l-footer-links a { color: var(--text-3); }
.l-footer-links a:hover { color: var(--text-2); }

@media (max-width: 600px) {
  .rights-grid { grid-template-columns: 1fr; }
  .l-back span { display: none; }
  .l-footer .container { flex-direction: column; text-align: center; }
}
