/**
 * Privacy Policy page — body sections only (nav + footer from the theme).
 * Scoped under .privacy-page; uses the theme design tokens.
 * @package Altojive
 */

.privacy-page { color: var(--text-primary); }

/* ── HERO ── */
.privacy-page .pp-hero { background: var(--navy); padding: 64px 40px 72px; position: relative; overflow: hidden; }
.privacy-page .pp-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,197,24,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.privacy-page .pp-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.privacy-page .pp-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
}
.privacy-page .pp-hero__title { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 12px; }
.privacy-page .pp-hero__sub { font-size: 0.9375rem; color: rgba(255,255,255,0.6); line-height: 1.65; max-width: 460px; }
.privacy-page .pp-hero__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.privacy-page .pp-meta-item { font-size: 0.8125rem; color: rgba(255,255,255,0.5); display: flex; align-items: center; gap: 8px; }
.privacy-page .pp-meta-item strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.privacy-page .pp-meta-item svg { width: 14px; height: 14px; color: var(--yellow); flex-shrink: 0; }

/* ── POPIA BAR ── */
.privacy-page .pp-popia { background: #2a2a42; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 14px 40px; }
.privacy-page .pp-popia__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.privacy-page .pp-popia__left { display: flex; align-items: center; gap: 10px; }
.privacy-page .pp-popia__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(245,197,24,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.privacy-page .pp-popia__icon svg { width: 15px; height: 15px; color: var(--yellow); }
.privacy-page .pp-popia__text { font-size: 0.8125rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.privacy-page .pp-popia__text strong { color: var(--yellow); font-weight: 700; }
.privacy-page .pp-popia__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  white-space: nowrap;
  transition: color 0.2s;
}
.privacy-page .pp-popia__link:hover { color: var(--yellow); }

/* ── LAYOUT ── */
.privacy-page .pp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── SIDEBAR ── */
.privacy-page .pp-sidebar { position: sticky; top: 90px; }
.privacy-page .pp-sidebar__title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  padding-left: 12px;
}
.privacy-page .pp-sidebar__nav { display: flex; flex-direction: column; gap: 2px; margin-bottom: 28px; }
.privacy-page .pp-sidebar__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}
.privacy-page .pp-sidebar__link:hover { background: var(--grey-50); color: var(--navy); }
.privacy-page .pp-sidebar__link.is-active { background: var(--grey-50); color: var(--navy); border-left-color: var(--yellow); font-weight: 700; }
.privacy-page .pp-sidebar__actions { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--border); }
.privacy-page .pp-sidebar__action {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s;
}
.privacy-page .pp-sidebar__action:hover { border-color: var(--navy); }
.privacy-page .pp-sidebar__action svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Mobile select */
.privacy-page .pp-mobile-select {
  display: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239499b0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
  outline: none;
  margin-bottom: 32px;
}

/* ── CONTENT ── */
.privacy-page .pp-content { min-width: 0; }
.privacy-page .pp-notice {
  background: rgba(245,197,24,0.1);
  border: 1.5px solid rgba(245,197,24,0.4);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  display: flex;
  gap: 12px;
  margin-bottom: 48px;
}
.privacy-page .pp-notice svg { width: 18px; height: 18px; color: #a07c00; flex-shrink: 0; margin-top: 1px; }
.privacy-page .pp-notice p { font-size: 0.875rem; color: #5a4800; line-height: 1.6; }
.privacy-page .pp-notice strong { font-weight: 700; }
.privacy-page .pp-notice a { color: #5a4800; font-weight: 700; }

.privacy-page .pp-section { margin-bottom: 56px; scroll-margin-top: 90px; }
.privacy-page .pp-section:last-of-type { margin-bottom: 0; }
.privacy-page .pp-section__num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--yellow);
  background: var(--navy);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.privacy-page .pp-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.privacy-page .pp-section p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.privacy-page .pp-section p:last-child { margin-bottom: 0; }
.privacy-page .pp-section h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--navy); margin: 24px 0 10px; }
.privacy-page .pp-section ul, .privacy-page .pp-section ol { padding-left: 20px; margin-bottom: 16px; }
.privacy-page .pp-section li { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 6px; }
.privacy-page .pp-section a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.privacy-page .pp-highlight {
  background: var(--grey-50);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 16px 20px;
  margin: 20px 0;
}
.privacy-page .pp-highlight p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0; }

/* Data table */
.privacy-page .pp-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.875rem; }
.privacy-page .pp-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--grey-50);
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--border);
}
.privacy-page .pp-table td { padding: 11px 14px; color: var(--text-secondary); border: 1px solid var(--border); vertical-align: top; line-height: 1.6; }
.privacy-page .pp-table tr:nth-child(even) td { background: #fafafa; }

/* Rights grid */
.privacy-page .pp-rights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.privacy-page .pp-right {
  background: var(--grey-50);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  display: flex;
  gap: 12px;
}
.privacy-page .pp-right__icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.privacy-page .pp-right__icon svg { width: 16px; height: 16px; color: var(--yellow); }
.privacy-page .pp-right__title { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--navy); margin-bottom: 4px; }
.privacy-page .pp-right__desc { font-size: 0.8125rem; color: var(--text-muted); line-height: 1.55; }

/* ── CTA BANNER ── */
.privacy-page .pp-cta { background: var(--grey-50); border-top: 1px solid var(--border); padding: 64px 40px; text-align: center; }
.privacy-page .pp-cta__title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); margin-bottom: 10px; }
.privacy-page .pp-cta__sub { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 28px; }
.privacy-page .pp-cta__buttons { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.privacy-page .pp-btn-dark,
.privacy-page .pp-btn-outline {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.privacy-page .pp-btn-dark { background: var(--navy); color: #fff; padding: 12px 28px; }
.privacy-page .pp-btn-dark:hover { opacity: 0.85; }
.privacy-page .pp-btn-outline { background: transparent; color: var(--navy); padding: 11px 28px; border: 2px solid var(--navy); }
.privacy-page .pp-btn-outline:hover { background: var(--navy); color: #fff; }

/* ══ Tablet (≤ 900px) ══ */
@media (max-width: 900px) {
  .privacy-page .pp-hero { padding: 48px 24px 56px; }
  .privacy-page .pp-hero__title { font-size: 1.875rem; }
  .privacy-page .pp-hero__meta { align-items: flex-start; margin-top: 16px; }
  .privacy-page .pp-popia { padding: 12px 24px; }
  .privacy-page .pp-wrap { grid-template-columns: 1fr; padding: 48px 24px; gap: 0; }
  .privacy-page .pp-sidebar { display: none; }
  .privacy-page .pp-mobile-select { display: block; }
  .privacy-page .pp-rights { grid-template-columns: 1fr; }
  .privacy-page .pp-table { display: block; overflow-x: auto; white-space: nowrap; }
  .privacy-page .pp-cta { padding: 48px 24px; }
}

/* ══ Mobile (≤ 600px) ══ */
@media (max-width: 600px) {
  .privacy-page .pp-hero { padding: 40px 20px 48px; }
  .privacy-page .pp-hero__title { font-size: 1.5rem; }
  .privacy-page .pp-hero__inner { flex-direction: column; gap: 20px; align-items: flex-start; }
  .privacy-page .pp-hero__meta { align-items: flex-start; }
  .privacy-page .pp-popia { padding: 12px 20px; }
  .privacy-page .pp-popia__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .privacy-page .pp-wrap { padding: 36px 20px; }
  .privacy-page .pp-section__title { font-size: 1.125rem; }
  .privacy-page .pp-cta { padding: 40px 20px; }
  .privacy-page .pp-cta__buttons { flex-direction: column; }
  .privacy-page .pp-btn-dark,
  .privacy-page .pp-btn-outline { display: block; text-align: center; }
}

/* ══ Print ══ */
@media print {
  .site-header, .site-footer, .privacy-page .pp-hero__meta, .privacy-page .pp-popia,
  .privacy-page .pp-sidebar, .privacy-page .pp-mobile-select, .privacy-page .pp-cta { display: none !important; }
  .privacy-page .pp-wrap { display: block; padding: 0; }
  .privacy-page .pp-hero { background: none; padding: 0 0 16px; }
  .privacy-page .pp-hero__title, .privacy-page .pp-eyebrow { color: #000; }
  .privacy-page .pp-section { page-break-inside: avoid; }
}
