/* ═══════════════════════════════════════════════════════════
   Jason Stuart — Counselling & Psychotherapy
   Shared Stylesheet
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

/* ─── Variables ──────────────────────────────────────────── */
:root {
  --sage-deep:    #2A4A38;
  --sage-mid:     #3D6B52;
  --sage-light:   #5E8E71;
  --sage-pale:    #B8D4C2;
  --sage-ultra:   #EBF4EE;
  --terra:        #C27055;
  --terra-mid:    #A85C42;
  --terra-light:  #F0D5C4;
  --terra-ultra:  #FAF0E8;
  --cream:        #F4EEE3;
  --warm-white:   #FDFAF6;
  --text-dark:    #1C2720;
  --text-mid:     #455249;
  --text-light:   #728078;
  --border:       #DDE7E2;
  --border-warm:  #E8DDD3;

  --section-y:    clamp(4rem, 8vw, 7rem);
  --content-x:    clamp(1.5rem, 5vw, 3.5rem);
  --max-w:        1160px;

  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   28px;
  --r-xl:   50px;

  --shadow-sm: 0 2px 14px rgba(42,74,56,0.07);
  --shadow-md: 0 8px 36px rgba(42,74,56,0.12);
  --trans:     0.22s ease;
}

/* ─── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 500; }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: 'Playfair Display', serif; }
p  { color: var(--text-mid); line-height: 1.82; }
a  { text-decoration: none; color: inherit; transition: color var(--trans); }
img { display: block; max-width: 100%; height: auto; }

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  background: var(--sage-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--content-x);
  box-shadow: 0 2px 20px rgba(0,0,0,0.14);
}
.nav-brand { display: flex; flex-direction: column; gap: 1px; }
.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 600;
  color: #fff; letter-spacing: 0.01em;
}
.nav-brand-sub {
  font-size: 0.67rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--sage-pale);
}
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a {
  font-size: 0.84rem; color: rgba(255,255,255,0.7);
  font-weight: 400; letter-spacing: 0.03em;
  padding-bottom: 2px;
  border-bottom: 1.5px solid transparent;
  transition: color var(--trans), border-color var(--trans);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; border-bottom-color: var(--terra); }
.nav-cta {
  background: var(--terra) !important;
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 500 !important;
  border-bottom: none !important;
  font-size: 0.84rem !important;
}
.nav-cta:hover { background: var(--terra-mid) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
}
.mobile-nav {
  display: none; position: absolute; top: 72px; left: 0; right: 0;
  background: var(--sage-deep); z-index: 99;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 1.5rem var(--content-x);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; }
.mobile-nav li + li { margin-top: 1.1rem; }
.mobile-nav a { color: rgba(255,255,255,0.8); font-size: 1rem; }

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: #1D3527;
  padding: clamp(3rem, 6vw, 5rem) var(--content-x) 0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
}
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 600; color: #fff; margin-bottom: 0.4rem;
}
.footer-brand-sub {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--sage-pale); margin-bottom: 1rem;
}
.footer p { font-size: 0.84rem; color: rgba(255,255,255,0.42); line-height: 1.75; }
.footer-col-heading {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.13em; color: var(--sage-pale);
  font-weight: 600; margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { font-size: 0.87rem; color: rgba(255,255,255,0.5); transition: color var(--trans); }
.footer-col a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 0.75rem;
}
.footer-bottom span { font-size: 0.77rem; color: rgba(255,255,255,0.28); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: 100px;
  font-size: 0.92rem; font-weight: 500;
  font-family: 'Plus Jakarta Sans', sans-serif;
  cursor: pointer; border: none;
  transition: all var(--trans);
}
.btn-terra  { background: var(--terra); color: #fff; }
.btn-terra:hover  { background: var(--terra-mid); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(194,112,85,0.3); }
.btn-sage   { background: var(--sage-deep); color: #fff; }
.btn-sage:hover   { background: var(--sage-mid); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--sage-deep);
  border: 1.5px solid var(--sage-pale);
}
.btn-outline:hover { border-color: var(--sage-mid); color: var(--sage-mid); }
.btn-outline-white {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.07); }

/* ─── Common Layout ──────────────────────────────────────── */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-y) var(--content-x);
}

/* ─── Section Labels ─────────────────────────────────────── */
.label {
  display: block; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.16em;
  font-weight: 600; margin-bottom: 0.8rem;
  color: var(--terra);
}
.label-sage { color: var(--sage-light); }
.label-pale { color: rgba(255,255,255,0.55); }

/* ─── Divider ─────────────────────────────────────────────── */
.divider { width: 40px; height: 2px; background: var(--terra); margin: 1.25rem 0; }
.divider-sage { background: var(--sage-light); }

/* ─── Page Hero (inner pages) ────────────────────────────── */
.page-hero {
  background: var(--cream);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--content-x);
  border-bottom: 1px solid var(--border-warm);
}
.page-hero-inner { max-width: var(--max-w); margin: 0 auto; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 700px; }
.page-hero p { font-size: 1.05rem; max-width: 560px; margin-top: 0.85rem; line-height: 1.8; }

/* ─── Cards ──────────────────────────────────────────────── */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2.25rem;
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ─── Tags ───────────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 0.75rem; font-weight: 500;
  padding: 0.28rem 0.85rem;
  border-radius: 100px;
  background: var(--sage-ultra);
  color: var(--sage-mid);
  border: 1px solid var(--sage-pale);
}
.tag-terra {
  background: var(--terra-ultra);
  color: var(--terra-mid);
  border-color: var(--terra-light);
}

/* ─── FAQ Accordion ──────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-btn {
  width: 100%; background: none; border: none; text-align: left;
  padding: 1.5rem 0; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem; color: var(--text-dark);
  transition: color var(--trans);
}
.faq-btn:hover { color: var(--sage-mid); }
.faq-icon {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sage-ultra);
  border: 1px solid var(--sage-pale);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.faq-icon svg { width: 14px; height: 14px; stroke: var(--sage-mid); transition: transform var(--trans); }
.faq-item.open .faq-icon { background: var(--sage-mid); }
.faq-item.open .faq-icon svg { stroke: #fff; transform: rotate(45deg); }
.faq-body {
  overflow: hidden; max-height: 0;
  transition: max-height 0.35s ease, padding-bottom 0.25s ease;
}
.faq-item.open .faq-body { max-height: 500px; padding-bottom: 1.5rem; }
.faq-body p { font-size: 0.96rem; line-height: 1.8; }

/* ─── CTA Band ───────────────────────────────────────────── */
.cta-band {
  background: var(--sage-deep);
  text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) var(--content-x);
}
.cta-band-inner { max-width: 680px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { color: rgba(255,255,255,0.68); font-size: 1.05rem; margin-bottom: 2.25rem; }
.cta-band-actions { display: flex; justify-content: center; gap: 1.25rem; flex-wrap: wrap; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 520px) {
  .cta-band-actions { flex-direction: column; align-items: center; }
}
