/* Calm Heart Wellness — mobile-first stylesheet (no frameworks) */
:root {
  --white: #ffffff;
  --sand: #f7f3ed;
  --beige: #ece3d6;
  --beige-deep: #d9cab5;
  --sage: #6f8f72;
  --sage-soft: #e6ede4;
  --forest: #2f4a3a;
  --forest-deep: #223628;
  --clay: #a8704a;
  --ink: #2b2a27;
  --muted: #5f5d57;
  --line: #e7e0d5;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --shadow: 0 6px 24px rgba(47, 74, 58, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  padding-bottom: 76px; /* room for sticky mobile CTA */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--forest-deep); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 7vw, 3.25rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage-soft); }
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sage); margin-bottom: .75em;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 10px 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 14px 26px; border-radius: var(--pill);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--forest-deep); color: var(--white); }
.btn--clay { background: var(--clay); color: var(--white); }
.btn--clay:hover { background: #8f5c3a; color: var(--white); }
.btn--ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--white); }
.btn--light { background: var(--white); color: var(--forest-deep); }
.btn--light:hover { background: var(--beige); color: var(--forest-deep); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest-deep); }
.logo svg { flex: none; }
.logo span { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; }
.nav { display: none; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--clay); }
.header-call { min-height: 44px; padding: 10px 16px; font-size: .92rem; }

/* Hero */
.hero { padding: 36px 0 48px; background: linear-gradient(180deg, var(--sand) 0%, var(--white) 100%); }
.hero-grid { display: grid; gap: 28px; }
.hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 36em; }
.hero-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 18px 0 22px; font-size: .95rem; }
.hero-loc a { font-weight: 600; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.trust { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.trust li {
  display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 600; color: var(--forest);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--pill); padding: 8px 12px;
}
.trust li::before { content: "✓"; color: var(--sage); font-weight: 800; }

/* Offer */
.offer {
  background: var(--forest); color: #eef2ec; border-radius: 24px; padding: 32px 22px;
  display: grid; gap: 24px; box-shadow: var(--shadow);
}
.offer h2, .offer h3 { color: var(--white); }
.offer .eyebrow { color: #c9dbc8; }
.offer-price { font-family: var(--serif); font-size: clamp(2.4rem, 9vw, 3.4rem); color: var(--white); line-height: 1; margin: 6px 0 4px; }
.offer-price small { font-family: var(--sans); font-size: 1rem; color: #c9dbc8; font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 0 0 20px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.fine { font-size: .85rem; color: var(--muted); }
.offer .fine { color: #c9dbc8; }

/* Cards */
.grid { display: grid; gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; display: flex; flex-direction: column;
}
.card--media { padding: 0; overflow: hidden; }
.card--media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card ul { padding-left: 1.1em; margin: 0 0 1em; color: var(--muted); }
.card ul li { margin-bottom: 4px; }
.card .btn { margin-top: auto; }

/* Pricing */
.price-card { position: relative; }
.price-card .price { font-family: var(--serif); font-size: 2rem; color: var(--forest-deep); line-height: 1.1; margin: 4px 0 2px; }
.price-card .unit { color: var(--muted); font-size: .95rem; margin-bottom: 14px; }
.price-card .btn { padding-left: 14px; padding-right: 14px; }
.price-card--featured { border: 2px solid var(--sage); box-shadow: var(--shadow); }
.badge {
  position: absolute; top: -13px; left: 22px; background: var(--sage); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--pill);
}
.pricing-note { text-align: center; margin-top: 26px; }

/* Schedule */
.schedule { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.schedule th, .schedule td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.schedule th { background: var(--beige); color: var(--forest-deep); font-weight: 700; }
.schedule tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* Benefits */
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--sage-soft);
  display: grid; place-items: center; color: var(--forest);
}
.benefit h3 { font-size: 1.15rem; margin-bottom: .3em; }
.benefit p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Local */
.local-grid { display: grid; gap: 26px; align-items: start; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--beige); aspect-ratio: 4 / 3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.address-card { background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); padding: 22px; margin: 18px 0; }
.address-card p { margin: 0 0 .4em; }
.community-img { border-radius: var(--radius); margin-top: 22px; aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* Testimonials */
.quote {
  background: var(--white); border: 1px dashed var(--beige-deep); border-radius: var(--radius); padding: 24px 22px; margin: 0;
}
.quote-label { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; display: block; }
.quote blockquote { margin: 0 0 12px; font-family: var(--serif); font-size: 1.1rem; color: var(--ink); }
.quote figcaption { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--sage); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* Form */
.form-card { background: var(--white); border-radius: 24px; padding: 28px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; /* prevents iOS zoom */
  padding: 13px 14px; min-height: 50px; border: 1px solid var(--beige-deep); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--sage); border-color: var(--sage); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.consent input { margin-top: 4px; width: 20px; height: 20px; flex: none; accent-color: var(--forest); }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status[data-state="error"] { color: #9b2c2c; }
.hp { position: absolute; left: -9999px; }

/* Final CTA */
.final-cta { background: var(--forest-deep); color: #e5ece3; text-align: center; border-radius: 24px; padding: 48px 22px; }
.final-cta h2 { color: var(--white); }
.final-cta .btn-row { max-width: 420px; margin: 24px auto 0; }

/* Footer */
.site-footer { background: var(--sand); padding: 48px 0 28px; font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 28px; }
.site-footer h2 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; margin-bottom: .6em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--forest); }
.legal-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.98);
  border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(0,0,0,.06);
}
.sticky-cta .btn { flex: 1; min-height: 52px; padding: 12px 10px; font-size: .98rem; }
.sticky-cta .btn--ghost { flex: 0 0 38%; }

/* Legal / content pages */
.page-hero { background: var(--sand); padding: 44px 0 32px; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); margin: 0; }
.prose { max-width: 760px; margin: 0 auto; padding: 44px 20px 64px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.note {
  background: var(--sage-soft); border-left: 4px solid var(--sage); padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .95rem; margin: 0 0 1.5em;
}

/* Tablet+ */
@media (min-width: 640px) {
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .trust { grid-template-columns: repeat(4, auto); justify-content: start; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer { padding: 44px 40px; }
}
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .nav { display: flex; gap: 26px; }
  .section { padding: 88px 0; }
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .trust { grid-template-columns: repeat(2, auto); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-4.pricing { grid-template-columns: repeat(4, 1fr); }
  .offer { grid-template-columns: 1.2fr 1fr; align-items: center; padding: 56px; }
  .local-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .final-cta { padding: 72px 40px; }
}
