/* ===========================
   Buses Chía — Privacy Policy
   styles.css
   =========================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand-primary: #1a6fb4;
  --brand-dark: #0d4a7a;
  --brand-light: #e8f2fb;
  --text-main: #1c1c1e;
  --text-muted: #5a5a5f;
  --border: #d1d9e0;
  --bg: #f7f9fc;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --max-width: 860px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.75;
  font-size: 16px;
}

/* ── Header ── */
header {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
  color: var(--white);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
}

header .logo-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

header h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

header .subtitle {
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Back link ── */
.back-link-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  text-align: center;
}

.back-link-bar a {
  color: var(--brand-primary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

.back-link-bar a:hover {
  text-decoration: underline;
}

/* ── Main container ── */
main {
  max-width: var(--max-width);
  margin: 2.5rem auto;
  padding: 0 1.25rem 3rem;
}

/* ── Section card ── */
.policy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2.5rem 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 600px) {
  .policy-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ── Section headings ── */
.policy-card h2 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  border-left: 4px solid var(--brand-primary);
  padding-left: 0.75rem;
  margin-bottom: 1rem;
}

/* ── Lists ── */
.policy-card ul {
  list-style: none;
  padding-left: 0;
}

.policy-card ul li {
  padding: 0.25rem 0 0.25rem 1.5rem;
  position: relative;
  color: var(--text-main);
}

.policy-card ul li::before {
  content: "•";
  position: absolute;
  left: 0.4rem;
  color: var(--brand-primary);
  font-weight: 700;
}

/* ── Paragraphs ── */
.policy-card p {
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

/* ── Framework note ── */
.framework-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--brand-light);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  margin-bottom: 1.5rem;
}

/* ── Contact section ── */
.contact-card {
  background: var(--brand-light);
  border: 1px solid #b8d4ef;
}

.contact-card .contact-email {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--brand-primary);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  word-break: break-all;
}

.contact-card .contact-email:hover {
  text-decoration: underline;
}

/* ── Version badge ── */
.version-badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid #b8d4ef;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  margin-top: 1rem;
}

/* ── Consent note ── */
.consent-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.75rem;
}

/* ── Footer ── */
footer {
  background: var(--brand-dark);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.85rem;
}

footer strong {
  color: var(--white);
}

/* ── Responsive tweaks ── */
@media (max-width: 480px) {
  header {
    padding: 2rem 1rem 1.75rem;
  }
  header h1 {
    font-size: 1.25rem;
  }
  main {
    margin-top: 1.5rem;
  }
}
