/* Sage Physiotherapy & Wellness — Lander system rethemed to the Sage brand:
   cream paper, deep forest green, olive accents, Fraunces serif headings. */

:root {
  --ink: #1C2B21;
  --body: #44534A;
  --mut: #66746B;
  --forest: #2C4A38;         /* primary — buttons, links */
  --forest-dark: #20382A;
  --olive: #8F9A6B;
  --olive-deep: #6E7A4C;     /* readable olive for kickers */
  --page: #FBF9F2;           /* cream page ground */
  --band: #F1EDE0;           /* deeper cream band */
  --soft: #E9EFE4;           /* soft green tint */
  --card: #FFFFFF;
  --line: #E3DECD;

  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;

  --pad-x: clamp(1.25rem, 5vw, 4rem);
  --wrap: 1120px;
  --shadow: 0 1px 2px rgba(28, 43, 33, 0.05), 0 12px 32px rgba(28, 43, 33, 0.08);
  --shadow-lg: 0 24px 60px rgba(28, 43, 33, 0.13);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--forest); color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad-x); }

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin-bottom: 16px;
  display: block;
}
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; line-height: 1.12; }
h1 { font-size: clamp(33px, 4.8vw, 62px); }
h2 { font-size: clamp(28px, 3.2vw, 42px); }
h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -0.01em; }
.lede { color: var(--body); font-size: clamp(16px, 1.4vw, 18px); }

.section { padding: clamp(64px, 8vw, 100px) 0; }
.section--band { background: var(--band); }
.section-head { max-width: 700px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head .lede { margin-top: 14px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(44, 74, 56, 0.24);
}
.btn:hover { background: var(--forest-dark); transform: translateY(-2px); }
.btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--band); }

/* nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 242, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.nav__logo { text-decoration: none; line-height: 1.1; }
.nav__logo b { font-family: var(--serif); font-weight: 600; font-size: 26px; color: var(--forest); display: block; }
.nav__logo span { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive-deep); }
.nav__links { display: flex; gap: 24px; align-items: center; }
.nav__links a:not(.btn) { color: var(--body); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav .btn { height: 42px; padding: 0 20px; font-size: 14px; }

/* hero */
.hero { padding: clamp(48px, 6vw, 76px) 0 clamp(44px, 5vw, 64px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--olive-deep); }
.hero .lede { max-width: 52ch; margin: 20px 0 28px; }
.hero__ctas { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hero__phone { font-size: 14.5px; color: var(--mut); text-decoration: none; font-weight: 600; white-space: nowrap; }
.hero__phone b { color: var(--ink); font-weight: 700; }
.hero__phone:hover b { color: var(--forest); }
.hero__trust { margin-top: 24px; font-size: 13.5px; color: var(--mut); font-weight: 500; }

/* first-visit card */
.visit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  max-width: 440px;
  justify-self: end;
  width: 100%;
}
.visit-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.visit-card__title { font-size: 14px; font-weight: 700; }
.visit-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--olive-deep);
  background: var(--soft);
  border-radius: 999px;
  padding: 4px 11px;
}
.step {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 12px;
  padding: 11px 0;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}
.step.on { opacity: 1; }
.step__dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--olive-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.step.on .step__dot { background: var(--forest); color: #fff; }
.step b { font-size: 13.5px; font-weight: 700; display: block; }
.step p { grid-column: 2; font-size: 12.5px; color: var(--mut); line-height: 1.5; }
.visit-card__foot {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.visit-card__foot .btn { width: 100%; }

/* modes band */
.modes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--band); }
.modes__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.mode b { display: block; font-family: var(--serif); font-weight: 600; font-size: 21px; }
.mode span { font-size: 13px; color: var(--mut); font-weight: 500; }

/* services — reference-style rounded colour-block cards */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-card {
  border-radius: 26px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc-card .ico { font-size: 27px; margin-bottom: 16px; }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.svc-card .go { margin-top: auto; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.svc-card--forest { background: var(--forest-dark); }
.svc-card--forest h3, .svc-card--forest .go { color: #fff; }
.svc-card--forest p { color: rgba(255, 255, 255, 0.78); }
.svc-card--olive { background: #8F9A6B; }
.svc-card--olive h3, .svc-card--olive .go { color: #1E2A20; }
.svc-card--olive p { color: rgba(30, 42, 32, 0.8); }
.svc-card--sage { background: #E3E8D5; }
.svc-card--sage h3, .svc-card--sage .go { color: var(--ink); }
.svc-card--sage p { color: #4E5B50; }

/* about split */
.about { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__photo img {
  width: 100%;
  max-width: 360px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: block;
}
.about__body .lede { margin-top: 14px; }
.about__values { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.value-chip {
  background: var(--soft);
  color: var(--forest);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 700;
}

/* dark band */
.dark-band {
  background: var(--forest-dark);
  color: #fff;
  border-radius: 24px;
  padding: clamp(36px, 5vw, 60px);
  text-align: center;
}
.dark-band .kicker { color: #C4CCA4; }
.dark-band h2 { color: #fff; }
.dark-band .lede { color: rgba(255, 255, 255, 0.75); max-width: 56ch; margin: 14px auto 0; }
.dark-band .btn { background: #fff; color: var(--forest-dark); box-shadow: none; margin-top: 26px; }
.dark-band .btn:hover { background: var(--band); transform: translateY(-2px); }

/* areas */
.areas__chips { display: flex; flex-wrap: wrap; gap: 10px; max-width: 820px; }
.area-chip {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
}
.areas__note { margin-top: 20px; font-size: 14.5px; color: var(--body); max-width: 62ch; }
.areas__note b { color: var(--ink); }

/* funding cards */
.fund-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fund-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.fund-card h3 { margin-bottom: 8px; }
.fund-card p { font-size: 14px; color: var(--body); line-height: 1.6; }

/* faq */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 19px 4px;
  font-weight: 700;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--serif); font-size: 24px; color: var(--olive-deep); flex-shrink: 0; transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 19px; font-size: 14.5px; color: var(--body); max-width: 66ch; }

/* contact panel */
.contact__panel {
  background: var(--forest-dark);
  color: #fff;
  border-radius: 24px;
  padding: clamp(34px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.contact__panel .kicker { color: #C4CCA4; }
.contact__panel h2 { color: #fff; }
.contact__panel .lede { color: rgba(255, 255, 255, 0.75); margin-top: 12px; }
.contact__alt { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.contact__alt .btn { background: #fff; color: var(--forest-dark); box-shadow: none; }
.contact__alt .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.contact__alt .btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }
.contact__phone { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.7); }
.contact__phone a { color: #fff; font-weight: 700; text-decoration: none; }
.form {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 11px;
}
.form input, .form textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  font-family: var(--font);
  font-size: 14.5px;
  color: var(--ink);
  width: 100%;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(44, 74, 56, 0.15); }
.form ::placeholder { color: #9AA79E; }
.form textarea { min-height: 84px; resize: vertical; }
.form__math {
  display: flex; align-items: center; gap: 12px;
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
}
.form__math label { font-size: 13.5px; font-weight: 600; color: var(--mut); }
.form__math label b { color: var(--olive-deep); font-weight: 800; }
.form__math input { width: 72px !important; text-align: center; font-weight: 700; margin-left: auto; flex-shrink: 0; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-msg { font-size: 13px; min-height: 18px; color: var(--mut); }
.form-msg.ok { color: var(--forest); font-weight: 700; }
.form-msg.err { color: #a33c3c; }

/* footer */
.footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.65);
  margin-top: clamp(64px, 8vw, 100px);
  padding: 48px 0 92px;
  font-size: 13.5px;
  text-align: center;
}
.footer .brand { font-family: var(--serif); font-weight: 600; font-size: 24px; color: #fff; }
.footer .brand-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #C4CCA4; margin-bottom: 14px; }
.footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer a:hover { color: #C4CCA4; }
.footer p { margin-bottom: 8px; }
.footer .fine { margin-top: 12px; opacity: 0.6; }

/* mobile action bar */
.abar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 249, 242, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
}
.abar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
}
.abar .book { background: var(--forest); color: #fff; }
.abar .call { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }

/* responsive */
@media (max-width: 1000px) {
  .fund-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .visit-card { justify-self: stretch; max-width: 100%; }
  .modes__grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about__photo img { margin: 0 auto; max-width: 300px; }
  .contact__panel { grid-template-columns: 1fr; }
}
@media (hover: none), (max-width: 768px) {
  .nav__links a:not(.btn) { display: none; }
  .abar { display: flex; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__phone { text-align: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .contact__alt { flex-direction: column; align-items: stretch; }
  .contact__alt .btn { width: 100%; }
}

.visit-card__foot .hero__phone { display: block; text-align: center; margin-top: 10px; }

/* v5 — logo in nav, hero photo, photo service cards (light), accreditation badges */
.nav__logo img { height: 48px; width: auto; display: block; mix-blend-mode: multiply; }
.hero__photo img { width: 100%; height: auto; display: block; border-radius: 28px; border: 1px solid var(--line); box-shadow: 0 30px 70px -35px rgba(28, 43, 33, 0.4); }
.svc-card { background: #E9EDDC; padding: 0; overflow: hidden; }
.svc-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.svc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { color: var(--ink); }
.svc-body p { color: #3E4A3F; }
.svc-body .go { color: var(--forest); }
.badges { text-align: center; }
.badges img { width: 100%; max-width: 560px; height: auto; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
@media (max-width: 768px) {
  .nav__logo img { height: 38px; }
  .hero__photo { margin-top: 6px; }
}

/* v6 — mock-driven flow: tighter rhythm, care strip, about card, side-by-side service cards */
.section { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { margin-bottom: clamp(22px, 3vw, 34px); }
.hero { padding: clamp(36px, 4.5vw, 56px) 0 clamp(32px, 4vw, 48px); }
.hero .lede + .lede { margin-top: 12px; }
.hero__photo--leaf { display: flex; justify-content: flex-end; }
.hero__photo--leaf img { max-width: 320px; border-radius: 170px 170px 24px 24px; box-shadow: none; border: 1px solid var(--line); }

.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 26px; padding-bottom: 30px; }
.strip__item { text-align: center; padding: 4px 18px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.strip__ico { width: 56px; height: 56px; border-radius: 50%; background: #E7EBDA; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.strip__ico svg { width: 26px; height: 26px; stroke: var(--forest); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.strip__item b { display: block; font-size: 16px; color: var(--ink); margin-bottom: 5px; }
.strip__item > span:last-child { font-size: 13.5px; color: #6B7365; line-height: 1.55; }

.about-card { background: #EDF0E1; border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.about-card h2 { margin-top: 6px; }
.about__role { font-weight: 700; color: var(--olive-deep); margin: 4px 0 12px; }
.about-card .about__photo img { width: 100%; max-width: 400px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 20px; border: 0; margin-left: auto; display: block; }

.svc-card { display: grid; grid-template-columns: 215px 1fr; align-items: stretch; }
.svc-img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.svc-body { padding: 22px 24px 24px; }
.svc-body h3 { font-size: 19px; margin-bottom: 8px; }
.svc-body p { font-size: 14.5px; }
.svc-body .go { font-size: 14px; }

.contact__badges { margin-top: 20px; }
.contact__badges img { width: 100%; max-width: 340px; height: auto; background: #fff; border-radius: 14px; display: block; }

@media (max-width: 900px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .strip__item:nth-child(odd) { border-left: 0; }
  .about-card { grid-template-columns: 1fr; }
  .about-card .about__photo img { margin: 0 auto; }
  .hero__photo--leaf { justify-content: center; }
  .hero__photo--leaf img { max-width: 260px; }
}
@media (max-width: 620px) {
  .svc-card { grid-template-columns: 1fr; }
  .svc-img { aspect-ratio: 16 / 8; height: auto; }
}
