/* Willow Family Wellness — brand stylesheet (no-build, hand-authored)
   Palette sampled from the logo. */

:root {
  /* Brand tokens */
  --cream: #ECEAD9;
  --cream-deep: #E3E0CB;
  --pine: #1E6E5C;
  --pine-dark: #155244;
  --teal: #4F9E8B;        /* decorative/borders only — too light for small text on light bg */
  --sage: #9ED3A6;        /* decorative only */
  --sage-soft: #C7E6CC;
  --ink: #1D3B36;
  --muted: #4F615B;       /* AA on cream and white */
  --white: #FFFFFF;

  /* Type */
  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1080px;
  --radius: 14px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(29, 59, 54, 0.08);
  --shadow-sm: 0 4px 14px rgba(29, 59, 54, 0.07);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--pine);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; }

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section--sage { background: var(--sage-soft); }
.section--pine { background: var(--pine); color: var(--cream); }
.section--pine h2, .section--pine h3 { color: var(--white); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pine); /* AA contrast on cream/sage; teal is too light for small text */
  margin-bottom: 0.5rem;
}

/* Visible keyboard focus for accessibility */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--pine); color: var(--white); }
.btn--primary:hover { background: var(--pine-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn--ghost:hover { background: var(--pine); color: var(--white); }
.btn--on-pine { background: var(--cream); color: var(--pine); }
.btn--on-pine:hover { background: var(--white); color: var(--pine-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(236, 234, 217, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-deep);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--font-head); font-weight: 700; color: var(--pine); font-size: 1.1rem; }

.nav { display: flex; align-items: center; gap: 1.4rem; }
.nav a { color: var(--ink); font-weight: 600; }
.nav a:hover { color: var(--pine); text-decoration: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--pine);
  cursor: pointer;
  line-height: 1;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 1rem 1.25rem 1.4rem;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-deep);
  }
  .nav.open { display: flex; }
  .nav .btn { margin-top: 0.5rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine);
  color: var(--cream);
  padding: 2.5rem 0 1.5rem;
}
.site-footer a { color: var(--sage-soft); } /* AA on pine */
.site-footer a:hover { color: var(--white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h3 { color: var(--white); font-size: 1.05rem; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 0.85rem;
  color: var(--sage-soft);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--sage-soft), transparent 60%),
    var(--cream);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.5rem; }
.hero-art img { margin: 0 auto; max-width: 360px; width: 100%; }
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 240px; }
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--pine);
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); margin: 0; }
.cards--two { grid-template-columns: repeat(2, 1fr); }
.card--left { text-align: left; }
.card--left .card-icon { margin-bottom: 0.75rem; }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } }

.callout {
  background: var(--white);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  box-shadow: var(--shadow-sm);
}
.callout p { margin: 0; }

/* ---------- Inner page header ---------- */
.page-head {
  background: var(--sage-soft);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.page-head h1 { margin: 0; }

/* ---------- Bio ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.bio-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
  width: 100%;
  height: auto;
}
.bio-photo img.is-placeholder {
  object-fit: contain;
  background: var(--sage-soft);
  padding: 1.5rem;
}
@media (max-width: 820px) { .bio-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-grid h2 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.t-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--sage);
}
.t-quote { margin: 0 0 0.75rem; font-size: 1.05rem; color: var(--ink); }
.t-cite { color: var(--pine); font-weight: 700; font-style: normal; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.stack > * + * { margin-top: 1rem; }
