/* ============================================================
   PRIVACY POLICY PAGE — KIZINGO CARS
   Aesthetic: Refined editorial — navy, ivory, copper gold accents
   ============================================================ */

:root {
  --navy:      #002844;
  --navy-mid:  #003d6b;
  --ivory:     #faf8f5;
  --white:     #ffffff;
  --gray-100:  #f4f4f4;
  --gray-200:  #e8e4de;
  --gray-400:  #9a9286;
  --gray-600:  #5c574f;
  --copper:    #b87333;
  --copper-lt: #d4944a;
  --text:      #1a1612;
  --text-soft: #4a4540;
  --border:    rgba(0, 40, 68, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 40, 68, 0.07);
  --shadow-md: 0 8px 32px rgba(0, 40, 68, 0.1);
  --radius:    4px;
  --transition: 0.3s ease;
}

/* ── PAGE BASE ───────────────────────────────────────────── */
.pp-body {
  background-color: var(--ivory);
  color: var(--text);
  font-family: "Roboto", sans-serif;
}

/* ── HERO ────────────────────────────────────────────────── */
.pp-hero {
  position: relative;
  background-color: var(--navy);
  padding: 80px 40px 72px;
  overflow: hidden;
  text-align: left;
}

/* Diagonal stripe pattern — CSS only, no external images */
.pp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
}

/* Copper gradient orb bottom-right */
.pp-hero::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 115, 51, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.pp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.pp-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper-lt);
  margin-bottom: 20px;
}

.pp-hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--copper-lt);
}

.pp-hero h1 {
  font-family: "Roboto Slab", serif;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 20px;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.pp-hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.pp-hero-date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Roboto", sans-serif;
}

.pp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(184, 115, 51, 0.4);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--copper-lt);
  background: rgba(184, 115, 51, 0.08);
}

.pp-hero-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper-lt);
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.pp-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  align-items: start;
}

/* ── STICKY TOC SIDEBAR ──────────────────────────────────── */
.pp-toc {
  position: sticky;
  top: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  margin-right: 48px;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}

.pp-toc-title {
  font-family: "Roboto", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.pp-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-toc ul li a {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-soft);
  text-decoration: none;
  padding: 7px 10px;
  border-radius: var(--radius);
  border-left: 2px solid transparent;
  transition: all var(--transition);
}

.pp-toc ul li a:hover {
  color: var(--navy);
  background: rgba(0, 40, 68, 0.04);
  border-left-color: var(--copper);
}

.pp-toc ul li a.pp-toc-active {
  color: var(--navy);
  font-weight: 600;
  background: rgba(0, 40, 68, 0.05);
  border-left-color: var(--navy);
}

/* ── MAIN CONTENT ────────────────────────────────────────── */
.pp-content {
  min-width: 0;
}

/* ── SECTION BLOCK ───────────────────────────────────────── */
.pp-section {
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.pp-section.pp-visible {
  opacity: 1;
  transform: translateY(0);
}

.pp-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.pp-section-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  margin-top: 3px;
}

.pp-section h2 {
  font-family: "Roboto Slab", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
  padding-top: 5px;
}

.pp-section-body {
  padding-left: 52px;
}

.pp-section-body p {
  font-family: "Roboto Slab", serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-soft);
  margin: 0 0 16px;
}

.pp-section-body p:last-child {
  margin-bottom: 0;
}

/* Horizontal rule between sections */
.pp-section + .pp-section {
  padding-top: 0;
}

.pp-divider {
  height: 1px;
  background: linear-gradient(90deg, var(--copper) 0%, var(--gray-200) 60%, transparent 100%);
  margin: 0 0 56px;
  opacity: 0.4;
}

/* ── DATA TABLE ──────────────────────────────────────────── */
.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pp-table thead {
  background: var(--navy);
  color: var(--white);
}

.pp-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pp-table tbody tr {
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
  transition: background var(--transition);
}

.pp-table tbody tr:last-child {
  border-bottom: none;
}

.pp-table tbody tr:hover {
  background: rgba(0, 40, 68, 0.03);
}

.pp-table tbody td {
  padding: 12px 16px;
  color: var(--text-soft);
  font-family: "Roboto", sans-serif;
  line-height: 1.5;
  vertical-align: top;
}

.pp-table tbody td:first-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* ── HIGHLIGHT BOX ───────────────────────────────────────── */
.pp-highlight {
  background: var(--white);
  border-left: 3px solid var(--copper);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}

.pp-highlight p {
  margin: 0 !important;
  font-size: 14.5px !important;
  color: var(--text-soft) !important;
}

.pp-highlight strong {
  color: var(--navy);
}

/* ── RIGHTS LIST ─────────────────────────────────────────── */
.pp-rights-list {
  list-style: none;
  margin: 16px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pp-rights-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: "Roboto", sans-serif;
  font-size: 14.5px;
  color: var(--text-soft);
  line-height: 1.55;
}

.pp-rights-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--copper);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

/* ── CONTACT CARD ────────────────────────────────────────── */
.pp-contact-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.pp-contact-card-text p {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px !important;
}

.pp-contact-card-text strong {
  font-family: "Roboto Slab", serif;
  font-size: 18px;
  color: var(--white);
  display: block;
  margin-bottom: 6px;
}

.pp-contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--copper-lt);
  text-decoration: none;
  transition: color var(--transition);
  font-family: "Roboto", sans-serif;
}

.pp-contact-link i {
  width: 16px;
  text-align: center;
}

.pp-contact-link:hover {
  color: var(--white);
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
.pp-back-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--copper);
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--copper);
  border-radius: 2px;
  transition: all var(--transition);
  margin-top: 48px;
}

.pp-back-top:hover {
  background: var(--copper);
  color: var(--white);
}

/* ── MOBILE RESPONSIVE ───────────────────────────────────── */
.pp-mobile-toc {
  display: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.pp-mobile-toc-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--navy);
  user-select: none;
}

.pp-mobile-toc-toggle i {
  font-size: 12px;
  transition: transform var(--transition);
}

.pp-mobile-toc-toggle.open i {
  transform: rotate(180deg);
}

.pp-mobile-toc-body {
  display: none;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  margin-top: 14px;
}

.pp-mobile-toc-body.open {
  display: block;
}

.pp-mobile-toc-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  gap: 8px;
}

.pp-mobile-toc-body ul li {
  break-inside: avoid;
}

.pp-mobile-toc-body ul li a {
  display: block;
  font-size: 13px;
  padding: 5px 4px;
  color: var(--text-soft);
  text-decoration: none;
  transition: color var(--transition);
}

.pp-mobile-toc-body ul li a:hover {
  color: var(--navy);
}

@media (max-width: 768px) {
  .pp-hero {
    padding: 56px 20px 52px;
  }

  .pp-layout {
    grid-template-columns: 1fr;
    padding: 32px 20px 60px;
  }

  .pp-toc {
    display: none;
  }

  .pp-mobile-toc {
    display: block;
  }

  .pp-section-body {
    padding-left: 0;
  }

  .pp-section-header {
    gap: 12px;
  }

  .pp-section h2 {
    font-size: 19px;
  }

  .pp-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .pp-mobile-toc-body ul {
    columns: 1;
  }

  .pp-table {
    font-size: 13px;
  }

  .pp-table thead th,
  .pp-table tbody td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .pp-hero h1 {
    font-size: 28px;
  }

  .pp-section h2 {
    font-size: 17px;
  }
}
