/* ============================================================
   CSS Variables
   ============================================================ */
:root {
  --green-primary: #2F5E46;
  --green-deep: #244A38;
  --green-soft: #5F7F6B;
  --gold: #D8BE73;
  --gold-deep: #B89A4D;
  --white-soft: #F7F5F0;
  --charcoal: #2B2B2B;
  --white: #ffffff;

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  --max-width: 1100px;
  --max-width-narrow: 720px;

  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--charcoal);
  background-color: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--charcoal);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-lg) 0;
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center { text-align: center; }

.bg-light { background-color: var(--white-soft); }

.bg-green {
  background-color: var(--green-primary);
  color: var(--white);
}

.bg-green h2 { color: var(--white); }
.bg-green p { color: rgba(255, 255, 255, 0.88); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background-color: var(--green-primary);
  color: var(--white);
  border-color: var(--green-primary);
}

.btn-primary:hover {
  background-color: var(--green-deep);
  border-color: var(--green-deep);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--green-deep);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-deep);
  border-color: var(--gold-deep);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--green-primary);
  border-color: var(--green-primary);
}

.btn-outline:hover {
  background-color: var(--green-primary);
  color: var(--white);
}

/* ============================================================
   Header & Navigation
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  height: 72px;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 46px;
  width: auto;
  border-radius: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--green-primary);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

.nav-links a[aria-current="page"] {
  color: var(--green-primary);
  font-weight: 600;
}

.nav-cta {
  margin-left: 1.5rem;
  flex-shrink: 0;
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background-color: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 4px;
  border-radius: 2px;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background-color: var(--green-primary);
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  max-width: 640px;
  margin: 0 auto 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ============================================================
   Page Header (inner pages)
   ============================================================ */
.page-header {
  background-color: var(--green-deep);
  padding: 3rem 0;
}

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

.page-header p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* ============================================================
   Introduction Section
   ============================================================ */
.intro h2 {
  margin-bottom: 1.25rem;
}

.intro-resonance {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background-color: var(--white-soft);
  border-radius: 0 4px 4px 0;
}

.intro-resonance p {
  font-style: italic;
  color: var(--green-soft);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.intro-resonance li {
  padding: 0.2rem 0;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.intro-resonance li::before {
  content: "– ";
  color: var(--gold-deep);
  font-weight: 600;
}

/* ============================================================
   Services Overview
   ============================================================ */
.services-overview h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.card h3 {
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   Trust Section
   ============================================================ */
.trust h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-item h3 {
  color: var(--green-primary);
  padding-top: 1.25rem;
  position: relative;
}

.trust-item h3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 3px;
  background-color: var(--gold);
  border-radius: 2px;
}

/* ============================================================
   CTA Strip
   ============================================================ */
.cta-strip {
  text-align: center;
}

.cta-strip .btn {
  margin-top: 0.5rem;
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-block {
  padding: 1.75rem;
  background-color: var(--white-soft);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-block h3 {
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}

.contact-block a {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-block a:hover {
  color: var(--green-deep);
}

.contact-block a:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  background-color: var(--green-deep);
  padding: var(--space-md) 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-logo img {
  height: 38px;
  width: auto;
  border-radius: 3px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-crisis {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 440px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 1.5rem 1.25rem;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: var(--space-lg) 0;
  }

  .section {
    padding: 3rem 0;
  }

  .card-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   About Teaser (Homepage)
   ============================================================ */
.about-teaser-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.about-teaser-photo {
  flex-shrink: 0;
  width: 220px;
}

.about-teaser-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.about-teaser-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.about-teaser-text h2 {
  margin-bottom: 1rem;
}

/* ============================================================
   Bio Section (About Page)
   ============================================================ */
.bio-section {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.bio-photo {
  flex-shrink: 0;
  width: 260px;
}

.bio-photo img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.bio-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.bio-text h2 {
  margin-bottom: 1rem;
}

/* ============================================================
   Pull Quote
   ============================================================ */
.pull-quote {
  border-left: 3px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0 0;
  background-color: var(--white-soft);
  border-radius: 0 4px 4px 0;
}

.pull-quote p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--green-deep);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.pull-quote cite {
  font-size: 0.85rem;
  color: var(--green-soft);
  font-style: normal;
}

/* ============================================================
   Approach Cards (About & Services Pages)
   ============================================================ */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.approach-card {
  padding: 1.75rem;
  background-color: var(--white-soft);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.approach-card h3 {
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}

/* ============================================================
   What to Expect List (About Page)
   ============================================================ */
.expect-list {
  margin-top: 1.5rem;
}

.expect-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.expect-list li:last-child {
  border-bottom: none;
}

.expect-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background-color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-deep);
  margin-top: 0.2rem;
}

/* ============================================================
   Service Blocks (Services Page)
   ============================================================ */
.service-block {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-block h2 {
  color: var(--green-primary);
}

.service-meta {
  font-size: 0.9rem;
  color: var(--green-soft);
  margin-top: 0.25rem;
  font-style: italic;
}

/* ============================================================
   Specialty List (Services Page)
   ============================================================ */
.specialty-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
}

.specialty-list li {
  padding: 0.625rem 0.875rem;
  background-color: var(--white-soft);
  border-radius: 4px;
  font-size: 0.95rem;
  border-left: 3px solid var(--gold);
}

/* ============================================================
   Resource Page Components
   ============================================================ */
.crisis-banner {
  background-color: var(--green-deep);
  color: var(--white);
  padding: 1.75rem;
  border-radius: 8px;
  margin-bottom: 2.5rem;
}

.crisis-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.crisis-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.crisis-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crisis-links a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.95rem;
}

.crisis-links a:hover { color: var(--white); }

.resource-card {
  padding: 1.5rem 1.75rem;
  background-color: var(--white-soft);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 1rem;
}

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

.resource-card h3 {
  color: var(--green-primary);
  margin-bottom: 0.5rem;
}

.external-links-list li {
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
}

.external-links-list li:last-child { border-bottom: none; }

.external-links-list a {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.external-links-list a:hover { color: var(--green-deep); }

.resource-disclaimer {
  font-size: 0.8rem;
  color: var(--green-soft);
  margin-top: 2.5rem;
  font-style: italic;
}

/* ============================================================
   Inline Text Links
   ============================================================ */
.text-link {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover { color: var(--green-deep); }

.text-link:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   Footer Tagline
   ============================================================ */
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
}

/* ============================================================
   Responsive — Mobile additions for new components
   ============================================================ */
@media (max-width: 768px) {
  .about-teaser-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-teaser-photo {
    width: 160px;
  }

  .bio-section {
    flex-direction: column;
    gap: 1.5rem;
  }

  .bio-photo {
    width: 180px;
  }

  .approach-grid,
  .specialty-list {
    grid-template-columns: 1fr;
  }
}
