/* ── PathfinderCare Global Styles ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal-deep:   #064e3b;
  --teal-mid:    #0f766e;
  --teal-bright: #14b8a6;
  --teal-light:  #99f6e4;
  --teal-pale:   #f0fdf9;
  --cream:       #fdfaf5;
  --ink:         #0d1f1c;
  --ink-soft:    #2d4a45;
  --muted:       #5f847d;
  --border:      rgba(15, 118, 110, 0.15);
  --shadow-sm:   0 1px 4px rgba(6,78,59,0.04);
  --shadow-md:   0 4px 24px rgba(6,78,59,0.06), 0 1px 4px rgba(6,78,59,0.04);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Lora', serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ── Nav ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(253,250,245,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Lora', serif;
  font-size: 19px; font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.nav-logo span { color: var(--teal-bright); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 400;
  color: var(--muted); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-mid); }
.nav-cta {
  font-size: 14px; font-weight: 500;
  color: var(--teal-deep) !important;
  padding: 8px 20px;
  border: 1.5px solid var(--teal-mid);
  border-radius: 100px;
  transition: background 0.2s, color 0.2s !important;
}
.nav-cta:hover { background: var(--teal-mid) !important; color: white !important; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px; font-weight: 500;
  color: white; background: var(--teal-deep);
  padding: 14px 28px; border-radius: 100px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--teal-mid); transform: translateY(-1px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  font-size: 14px; font-weight: 400;
  color: var(--teal-mid); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s; padding-bottom: 1px;
}
.btn-secondary:hover { border-color: var(--teal-bright); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--teal-deep);
  padding: 12px 24px; border-radius: 100px;
  border: 1.5px solid var(--teal-mid);
  text-decoration: none; cursor: pointer; background: transparent;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--teal-pale); }

/* ── Section layouts ── */
.section { padding: 96px 48px; }
.section-sm { padding: 64px 48px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 720px; margin: 0 auto; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-mid); margin-bottom: 16px;
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--teal-bright);
}
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600; color: var(--ink);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px; font-weight: 300;
  color: var(--ink-soft); line-height: 1.7;
  max-width: 580px;
}

/* ── Cards ── */
.card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

/* ── Footer ── */
footer {
  background: var(--teal-deep);
  color: var(--teal-light);
  padding: 48px;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo {
  font-family: 'Lora', serif;
  font-size: 18px; font-weight: 600; color: white;
  text-decoration: none; letter-spacing: -0.02em;
}
.footer-logo span { color: var(--teal-light); }
.footer-links { display: flex; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: 13px; color: rgba(153,246,228,0.7);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--teal-light); }
.footer-copy { font-size: 12px; color: rgba(153,246,228,0.5); }

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadePop {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
.anim-up   { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.anim-right { opacity: 0; animation: fadeRight 0.8s ease forwards; }

/* ── Responsive ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .nav-links { display: none; }
  .section { padding: 72px 24px; }
  .section-sm { padding: 48px 24px; }
  footer { padding: 36px 24px; }
  .footer-inner { flex-direction: column; gap: 16px; }
}
