/* ==========================================================================
   Matria Wellness — shared stylesheet
   Palette + type pulled from the existing client-facing PDFs so the site
   reads as a continuation of the brand, not a reboot.
   ========================================================================== */

:root {
  --sage-deep: #5f6f52;      /* primary dark green (headers, footer, nav) */
  --sage-mid: #7c8a6c;       /* secondary green accent */
  --sage-pale: #c7cec0;      /* light sage-gray page background */
  --cream: #f6f4ef;          /* off-white section background */
  --terracotta: #c97b52;     /* primary warm accent (buttons, links) */
  --terracotta-dark: #a8613e;/* hover state */
  --peach: #f0cdb2;          /* soft accent background */
  --ink: #2f3329;            /* body text */
  --ink-soft: #55594c;       /* secondary text */
  --white: #ffffff;

  --font-display: 'Quicksand', sans-serif;
  --font-body: 'Karla', sans-serif;

  --radius-lg: 2rem;
  --radius-md: 1rem;
  --max-width: 1100px;
}

* { 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.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--sage-deep);
}

h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--white);
  border: 2px solid var(--terracotta);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--sage-deep);
}

/* ---------- Header / Nav ---------- */
.site-header {
  background: var(--sage-deep);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.01em;
}
.nav-brand span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--peach);
}
.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--peach); text-decoration: none; }
.nav-links a.current { color: var(--peach); }

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

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sage-deep);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 0.75rem 1.5rem;
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--sage-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 6.5rem;
}
@media (max-width: 800px) {
  .hero { padding: 10px 10px 0; }
}
.hero .container {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  grid-template-areas:
    "text photo"
    "actions photo";
  column-gap: 3rem;
  row-gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-text { grid-area: text; }
.hero-photo-frame { grid-area: photo; }
.hero-actions { grid-area: actions; }
@media (max-width: 800px) {
  .hero .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "photo"
      "actions";
    gap: 0;
  }
  .hero .hero-photo-frame { margin-top: 3rem; }
  .hero .hero-actions { justify-content: center; margin-top: 3rem; margin-bottom: 3rem; }
  .hero p.lede { margin-bottom: 0; }
}
.hero h1 { color: var(--white); }
.hero .eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--peach);
  margin-bottom: 0.75rem;
  display: block;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--sage-pale);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }

.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--peach);
  max-width: 340px;
  margin: 0 auto;
}
.hero-photo-frame img { width: 100%; height: auto; display: block; }

.photo-frame-natural {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--peach);
}
.photo-frame-natural img { width: 100%; height: auto; display: block; }
.photo-placeholder {
  text-align: center;
  color: var(--sage-deep);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 2rem;
  font-size: 0.95rem;
}

/* decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  z-index: 1;
}
.blob-1 {
  width: 340px; height: 340px;
  background: var(--sage-mid);
  top: -120px; right: -100px;
}
.blob-2 {
  width: 220px; height: 220px;
  background: var(--terracotta);
  bottom: -90px; left: -70px;
  opacity: 0.25;
}

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--sage-pale); }
.section-tight { padding: 3rem 0; }

.section-head { max-width: 62ch; margin: 0 auto 2.75rem; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; }

.section-head-wide { max-width: 70%; text-align: left; }
@media (max-width: 800px) {
  .section-head-wide { max-width: 100%; }
}

/* ---------- Card grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--peach);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--sage-deep);
}
.icon { width: 24px; height: 24px; flex-shrink: 0; }
.icon-sm { width: 20px; height: 20px; }
.fact-emoji { color: var(--terracotta); display: inline-flex; }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding-left: 1.9rem;
  position: relative;
  margin-bottom: 0.85rem;
}
.checklist.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage-mid);
  font-weight: 700;
}
.checklist.cross li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}

/* ---------- Timeline (Our Work Together) ---------- */
.timeline-item {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.75rem;
  border-left: 6px solid var(--terracotta);
}
.timeline-item .meta {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--terracotta);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: block;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--terracotta);
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  margin: 0 auto;
  max-width: var(--max-width);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--peach); max-width: 50ch; margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sage-deep);
  color: var(--sage-pale);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.footer-grid a { color: var(--sage-pale); }
.footer-grid a:hover { color: var(--peach); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--sage-pale);
  opacity: 0.8;
}

/* ---------- Forms ---------- */
.form-field { margin-bottom: 1.4rem; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--sage-deep);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  border: 1.5px solid var(--sage-pale);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-hint { font-size: 0.85rem; color: var(--ink-soft); margin-top: -0.9rem; margin-bottom: 1.4rem; }
.hidden-field { position: absolute; left: -9999px; }

/* ---------- Misc pages ---------- */
.page-hero {
  background: var(--sage-deep);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { color: var(--sage-pale); max-width: 60ch; margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

.fact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.fact-list { list-style: none; padding: 0; margin: 0; }
.fact-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--sage-pale);
  font-size: 0.95rem;
}
.fact-list li:last-child { border-bottom: none; }
.fact-emoji { font-size: 1.3rem; }
