/* ══════════════════════════════════════════
   PRIVACY PAGE
══════════════════════════════════════════ */

html { scroll-behavior: smooth; }

.privacy-page {
  background: var(--white, #fff);
  color: var(--navy, #0e1030);
}

/* Header — navy, sober (match inner-hero pattern from other pages) */
.privacy-header {
  background: var(--navy, #0e1030);
  padding: 140px 5% 60px;
  position: relative;
  overflow: hidden;
  min-height: 38vh;
  display: flex;
  align-items: center;
}
.privacy-header::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle 300px at 70% 50%, rgba(var(--blue-rgb, 65, 102, 176), 0.22) 0%, transparent 70%);
}
.privacy-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(var(--white-rgb, 255, 255, 255), 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--white-rgb, 255, 255, 255), 0.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.privacy-header-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}
.privacy-header h1 {
  font-family: 'Syne', 'Syne Fallback', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white, #fff);
  margin: 0 0 14px;
}
.privacy-header .privacy-updated {
  font-family: 'DM Sans', 'DM Sans Fallback', sans-serif;
  font-size: 14px;
  color: rgba(var(--white-rgb, 255, 255, 255), 0.6);
  margin: 0;
}

/* Content column */
.privacy-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 5% 96px;
  font-family: 'DM Sans', 'DM Sans Fallback', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(var(--navy-rgb, 14, 16, 48), 0.85);
}
/* Override base "section { padding: 80px 5% }" — sections here are content blocks, not page sections */
.privacy-content section { padding: 0; }
.privacy-content p {
  margin: 0 0 1.1em;
}
.privacy-content strong {
  color: var(--navy, #0e1030);
  font-weight: 600;
}
.privacy-content a {
  color: var(--blue, #4166b0);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.privacy-content a:hover {
  color: var(--navy, #0e1030);
}

/* Section headings */
.privacy-content h2 {
  font-family: 'Syne', 'Syne Fallback', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy, #0e1030);
  margin: 56px 0 16px;
  scroll-margin-top: 100px;
}
.privacy-content h3 {
  font-family: 'Syne', 'Syne Fallback', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy, #0e1030);
  margin: 32px 0 12px;
  scroll-margin-top: 100px;
}

/* Numbered sub-items inside "Tipo de información recolectada" */
.privacy-content ol.privacy-numbered {
  padding-left: 1.4em;
  margin: 0 0 1.1em;
}
.privacy-content ol.privacy-numbered > li {
  margin: 0 0 1em;
}

/* Table of contents */
.privacy-toc {
  background: rgba(var(--navy-rgb, 14, 16, 48), 0.03);
  border: 1px solid rgba(var(--navy-rgb, 14, 16, 48), 0.08);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 16px 0 8px;
}
.privacy-toc-title {
  font-family: 'Syne', 'Syne Fallback', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(var(--navy-rgb, 14, 16, 48), 0.6);
  margin: 0 0 12px;
}
.privacy-toc ol {
  margin: 0;
  padding-left: 1.4em;
  font-size: 15px;
  line-height: 1.9;
}
.privacy-toc a {
  color: var(--navy, #0e1030);
  text-decoration: none;
}
.privacy-toc a:hover {
  color: var(--blue, #4166b0);
  text-decoration: underline;
}

/* Print: hide nav/footer/WA button, full-width content, drop navy hero */
@media print {
  nav, footer, .wa-float, .whatsapp-float, #waFloat { display: none !important; }
  .privacy-header {
    background: none !important;
    padding: 0 0 24px;
    min-height: 0;
    border-bottom: 1px solid #000;
  }
  .privacy-header::before,
  .privacy-header::after { display: none !important; }
  .privacy-header h1 { color: #000 !important; }
  .privacy-header .privacy-updated { color: #444 !important; }
  .privacy-header-inner { text-align: left; }
  .privacy-content {
    max-width: 100%;
    padding: 24px 0;
    font-size: 11pt;
    color: #000;
  }
  .privacy-toc { background: none; border: 1px solid #ccc; }
  .privacy-content a { color: #000; text-decoration: underline; }
  .privacy-content h2, .privacy-content h3 { page-break-after: avoid; }
}

/* Mobile */
@media (max-width: 600px) {
  .privacy-header { padding: 110px 5% 32px; }
  .privacy-content { padding: 32px 5% 64px; font-size: 15px; }
  .privacy-content h2 { font-size: 1.3rem; margin-top: 44px; }
  .privacy-toc { padding: 20px; }
}
