/* ─────────────────────────────────────────────────
   Therapeutic Solutions — stylesheet
   Palette: forest green / slate / gold
   ───────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Source+Sans+3:wght@300;400;500;600&display=swap');

/* ─── Tokens ──────────────────────────────────────── */
:root {
  --green-900: #0E2218;
  --green-800: #163220;
  --green-700: #1E4A2E;
  --green-600: #276040;
  --slate-700: #2C4A5C;
  --slate-500: #4A7090;
  --gold:      #BF9828;
  --gold-hover:#D4AF3A;
  --gold-pale: #FBF7EB;
  --surface:   #F3F6F4;
  --white:     #FFFFFF;
  --text-h:    #0E2218;
  --text-b:    #2D4A38;
  --text-m:    #5A7A68;
  --border:    #C2D4CA;
}

/* ─── Reset / Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-b);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-h);
  line-height: 1.25;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.125rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
h5 { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

address { font-style: normal; }

img { max-width: 100%; display: block; }

/* ─── Layout ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.625rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-900);
}
.btn-gold:hover { background: var(--gold-hover); text-decoration: none; }

.btn-green {
  background: var(--green-700);
  color: var(--white);
}
.btn-green:hover { background: var(--green-600); text-decoration: none; }

.btn-slate {
  background: var(--slate-700);
  color: var(--white);
}
.btn-slate:hover { background: var(--slate-500); text-decoration: none; }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.btn-outline-slate {
  background: transparent;
  color: var(--slate-700);
  border: 2px solid var(--slate-700);
}
.btn-outline-slate:hover {
  background: var(--slate-700);
  color: var(--white);
  text-decoration: none;
}

/* ─── Header / Nav ────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-logo em {
  font-style: italic;
  color: var(--gold);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.15s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--white); }

.site-nav a.active {
  border-bottom: 2px solid var(--gold);
  padding-block-end: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ─── Eyebrow ─────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-block-end: 1.125rem;
  padding-block-end: 0.375rem;
  border-bottom: 2px solid var(--gold);
}

/* ─── Hero ────────────────────────────────────────── */
.hero {
  background-color: var(--green-900);
  background-image:
    linear-gradient(
      to bottom,
      rgba(14,34,24,0.74) 0%,
      rgba(14,34,24,0.80) 100%
    ),
    url('hero-medical.jpg');
  background-size: cover;
  background-position: center 40%;
  padding-block: 5.5rem 5rem;
  color: var(--white);
  position: relative;
}

.hero h1 {
  color: var(--white);
  max-width: 700px;
  margin-block-end: 1.125rem;
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-block-end: 2.25rem;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  margin-block-start: 3rem;
  padding-block-start: 2.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-n {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-l {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-block-start: 0.125rem;
}

/* ─── Page header (inner pages) ──────────────────── */
.page-header {
  background: var(--green-800);
  padding-block: 2.75rem 2.5rem;
  color: var(--white);
}

.page-header h1 { color: var(--white); }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-block-end: 0.875rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb sep { color: rgba(255,255,255,0.3); }

/* ─── Sections ────────────────────────────────────── */
.section { padding-block: 4.5rem; }
.section-alt { background: var(--surface); }
.section-dark {
  background: var(--green-900);
  color: var(--white);
}
.section-dark h2 { color: var(--white); }

/* ─── Section label ──────────────────────────────── */
.section-label { margin-block-end: 2.75rem; }
.section-label p.section-lead {
  margin-block-start: 0.875rem;
  font-size: 1.0625rem;
  color: var(--text-m);
  max-width: 600px;
}

/* ─── Service grid ───────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.75rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-block-end: 0.625rem;
  color: var(--text-h);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-m);
  line-height: 1.65;
}

/* ─── Journals section ───────────────────────────── */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-block-start: 2rem;
}

.journal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green-700);
  border-radius: 4px;
  padding: 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.journal-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  background: #E4F0E9;
  padding: 0.2rem 0.625rem;
  border-radius: 3px;
  width: fit-content;
}

.journal-card h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-h);
}

.journal-card p {
  font-size: 0.9rem;
  color: var(--text-m);
  line-height: 1.6;
  flex: 1;
}

.journal-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  margin-block-start: 0.25rem;
}
.journal-link:hover { color: var(--green-600); text-decoration: underline; }
.journal-link::after { content: '→'; }

/* ─── Reason grid ────────────────────────────────── */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.reason {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
}

.reason-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin-block-start: 0.125rem;
}

.reason-icon svg {
  width: 100%;
  height: 100%;
}

.reason h4 {
  margin-block-end: 0.375rem;
  color: var(--text-h);
}

.reason p {
  font-size: 0.9375rem;
  color: var(--text-m);
  line-height: 1.65;
}

/* ─── About photo ────────────────────────────────── */
.about-photo-wrap {
  position: relative;
  max-height: 420px;
  overflow: hidden;
  line-height: 0;
}

.about-photo-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

/* ─── CTA band ───────────────────────────────────── */
.cta-band {
  background: var(--slate-700);
  color: var(--white);
  padding-block: 4rem;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-block-end: 0.875rem;
}

.cta-band p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-inline: auto;
  margin-block-end: 2rem;
}

/* ─── Capability list ────────────────────────────── */
.cap-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 820px;
}

.cap-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.cap-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-block-start: 0.6rem;
}

.cap-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-b);
}

/* ─── Contact cards ──────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 680px;
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.875rem;
  background: var(--white);
}

.contact-card h3 {
  margin-block-end: 0.375rem;
}

.contact-role {
  font-size: 0.875rem;
  color: var(--text-m);
  margin-block-end: 1.125rem;
}

.contact-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.5rem;
  border-top: 1px solid var(--border);
}

.contact-row-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-m);
  min-width: 60px;
}

/* ─── Legal pages ────────────────────────────────── */
.legal-wrap { max-width: 760px; }

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-m);
  margin-block-end: 2rem;
}

.legal-wrap h2 {
  font-size: 1.25rem;
  margin-block: 2rem 0.625rem;
  padding-block-end: 0.375rem;
  border-bottom: 1px solid var(--border);
}

.legal-wrap h2:first-of-type { margin-block-start: 0; }

.legal-wrap p,
.legal-wrap li {
  font-size: 0.9375rem;
  color: var(--text-b);
  line-height: 1.75;
}

.legal-wrap ul {
  padding-inline-start: 1.375rem;
  margin-block: 0.5rem 1rem;
}

.legal-wrap a { color: var(--green-700); }

/* ─── Footer ─────────────────────────────────────── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.55);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-block-end: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-block-end: 1.5rem;
}

.footer-brand .site-logo { margin-block-end: 0.875rem; }

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-col h5 {
  color: rgba(255,255,255,0.85);
  margin-block-end: 1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a,
.footer-col address p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  line-height: 1.7;
}

.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-col address a { text-decoration: none; }
.footer-col address a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-legal {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-900);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 1.5rem 1.5rem;
  }

  .site-nav.open { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding-block: 0.625rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .site-header { position: relative; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .footer-legal { flex-wrap: wrap; gap: 1rem; }

  .hero { padding-block: 3.5rem 3rem; }
  .hero-stats { gap: 1rem 2rem; }
  .section { padding-block: 3rem; }
}

@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .reason-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .footer-legal { gap: 0.75rem; }
}
