/* ============================================
   BOSCO HEALTH — Main Stylesheet
   ============================================ */

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

:root {
  --cream:            #faf7f2;
  --warm-white:       #fff9f4;
  --terracotta:       #99512f;
  --terracotta-light: #e8895f;
  --sage:             #7a9e87;
  --ink:            #1C2B22;
  --light-sage:        #dbe6e0;
  --charcoal:         #2c2c2c;
  --mid:              #6b6560;
  --soft:             #a09890;
  --border:           #e8e0d8;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--terracotta);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(232, 235, 231, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--mid);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--terracotta);
}

/* ── PAGE WRAPPER ── */
main {
  max-width: 860px;
  margin: 0 auto;
  padding: 7rem 2.5rem 4rem;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--terracotta-light);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--mid);
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s;
  margin-left: 1rem;
  cursor: pointer;
  background: none;
}

.btn-secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 3rem 0;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--soft);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

footer a {
  color: var(--soft);
  text-decoration: none;
}

footer a:hover {
  color: var(--terracotta);
}

/* ── LEGAL PAGES ── */
.page-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.page-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.page-header h1 {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.page-header .updated {
  font-size: 0.8rem;
  color: var(--soft);
}

.legal-content h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--charcoal);
  margin: 2rem 0 0.6rem;
}

.legal-content p {
  color: var(--mid);
  font-size: 0.925rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul {
  color: var(--mid);
  font-size: 0.925rem;
  padding-left: 1.4rem;
  margin-bottom: 1rem;
  line-height: 1.8;
}

.legal-content ul li {
  margin-bottom: 0.3rem;
}

.legal-content a {
  color: var(--terracotta);
  text-decoration: none;
}

.legal-highlight {
  background: var(--warm-white);
  border-left: 3px solid var(--sage);
  padding: 1rem 1.4rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

.legal-highlight p {
  margin: 0;
  font-size: 0.9rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 580px) {
  nav {
    padding: 1rem 1.2rem;
  }

  .nav-links {
    gap: 1rem;
  }

  main {
    padding: 6rem 1.2rem 3rem;
  }
}