/* ============================================================
   ACAC Web Design System v2 — acac.au
   Soft, logo-cohesive palette · Fraunces + Nunito · calm layout
   ============================================================ */

:root {
  /* Palette — muted, cohesive with the ACAC green, nothing sharp */
  --cream: #FBFAF6;
  --cream-deep: #EBF0E3;
  --ink: #24384A;            /* deep navy — all text */
  --anchor: #46603A;         /* warm logo forest-green — bands, final CTA, footer, primary green */
  --terracotta: #B95C35;     /* softened clay */
  --terracotta-deep: #A24E2C;
  --marigold: #DCA84E;       /* small accents only */
  --sage: #7FA168;
  --sage-deep: #4A6B37;
  --sage-tint: #DEEAD3;
  --sage-pale: #EFF5E7;
  --sand: #F4E6C6;
  --sand-gold: #E8C98A;
  --on-anchor: #E5EAD6;
  --footer-body: #E0E7D1;
  --footer-fine: #A7B893;
  --card: #FFFFFF;
  --grey: #50606C;

  --font-head: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito', sans-serif;

  --r-band: 28px;
  --r-card: 20px;
  --r-img: 22px;
  --r-faq: 16px;
  --r-row: 16px;
  --r-pill: 999px;

  --shadow-soft: 0 2px 12px rgba(42, 59, 51, .07);
  --shadow-lift: 0 10px 30px rgba(42, 59, 51, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  font-size: clamp(17.5px, 1.45vw, 19px);
  line-height: 1.65;
  color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 1100' width='1500' height='1100'%3E%3Cdefs%3E%3CradialGradient id='sp' cx='34%25' cy='28%25' r='80%25'%3E%3Cstop offset='0%25' stop-color='%23FFFFFF' stop-opacity='1'/%3E%3Cstop offset='45%25' stop-color='%23F3F4F5' stop-opacity='0.8'/%3E%3Cstop offset='100%25' stop-color='%23E7E9EC' stop-opacity='0.9'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cg%3E%3Ccircle cx='210' cy='195' r='105' fill='url(%23sp)' opacity='0.5'/%3E%3Ccircle cx='1132' cy='345' r='80' fill='url(%23sp)' opacity='0.5'/%3E%3Ccircle cx='765' cy='740' r='120' fill='url(%23sp)' opacity='0.5'/%3E%3Ccircle cx='404' cy='878' r='46' fill='url(%23sp)' opacity='0.5'/%3E%3Ccircle cx='91' cy='646' r='22' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='680' cy='80' r='32' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='1419' cy='565' r='26' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='1310' cy='860' r='62' fill='url(%23sp)' opacity='0.5'/%3E%3Ccircle cx='560' cy='430' r='38' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='980' cy='150' r='28' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='1255' cy='700' r='55' fill='url(%23sp)' opacity='0.5'/%3E%3Ccircle cx='330' cy='470' r='20' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='875' cy='560' r='16' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='1050' cy='935' r='34' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='150' cy='925' r='26' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='1445' cy='185' r='42' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='470' cy='120' r='15' fill='url(%23sp)' opacity='0.6'/%3E%3Ccircle cx='720' cy='300' r='24' fill='url(%23sp)' opacity='0.6'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(1000px 600px at 90% -100px, rgba(200,205,210,0.05), transparent 60%),
    linear-gradient(180deg, #FDFDFB 0%, #FBFBF9 100%);
  background-attachment: fixed;
  background-repeat: repeat, no-repeat, no-repeat;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(36px, 4.6vw, 56px); }
h2 { font-size: clamp(27px, 3vw, 38px); }
h3 { font-size: clamp(19px, 1.9vw, 22px); font-weight: 600; }

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

a { color: var(--sage-deep); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }

section { padding: clamp(34px, 4.5vw, 60px) 0; }

.lead { font-size: clamp(18.5px, 1.7vw, 21px); color: var(--grey); line-height: 1.6; }

.center { text-align: center; }

:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 800;
  font-size: clamp(16.5px, 1.4vw, 18px);
  padding: 16px 30px; border-radius: var(--r-pill);
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); }
.btn-secondary { background: transparent; border: 2px solid var(--sage); color: var(--sage-deep); padding: 13px 26px; }
.btn-secondary:hover { background: var(--sage-pale); box-shadow: none; }
.on-anchor .btn-secondary { color: #fff; border-color: rgba(255,255,255,.55); }
.on-anchor .btn-secondary:hover { background: rgba(255,255,255,.1); }
.btn-phone svg { flex: 0 0 auto; }
.btn-yoga { background: var(--sage-deep); color: #fff; }
.btn-yoga:hover { background: #3a5f42; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: #FFFFFF;
  border-bottom: 1px solid var(--cream-deep);
}

/* ---------- $500 referral ribbon (site-wide) ---------- */
.ref-ribbon {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(90deg, #B95C35, #A24E2C 60%, #8F4526);
  color: #fff; text-decoration: none; font-family: var(--font-body);
  font-size: 14.5px; padding: 9px 44px 9px 16px; position: relative; z-index: 901;
}
.ref-ribbon:hover .ref-ribbon-cta { background: #fff; color: var(--terracotta-deep); }
.ref-ribbon-gift { font-size: 17px; animation: ref-gift-bounce 2.6s ease-in-out infinite; }
@keyframes ref-gift-bounce { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(-3px) rotate(-8deg); } 80% { transform: translateY(0) rotate(6deg); } 90% { transform: none; } }
.ref-ribbon-text { line-height: 1.35; }
.ref-ribbon-text strong { font-weight: 800; }
.ref-ribbon-cta {
  flex: 0 0 auto; border: 1.5px solid rgba(255,255,255,.75); border-radius: 999px;
  padding: 4px 13px; font-weight: 800; font-size: 13px; white-space: nowrap; transition: background .15s, color .15s;
}
.ref-ribbon-x {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,.8); font-size: 20px; line-height: 1;
  cursor: pointer; padding: 4px 8px;
}
.ref-ribbon-x:hover { color: #fff; }
@media (max-width: 640px) {
  .ref-ribbon { font-size: 13px; gap: 8px; padding: 8px 38px 8px 12px; text-align: left; }
  .ref-ribbon-cta { display: none; }
}
.nav-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px; max-width: 1220px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 78px; height: 66px; flex: 0 0 auto; display: flex; align-items: center;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name {
  font-family: var(--font-head); font-weight: 600; font-size: 18.5px;
  color: var(--ink); line-height: 1.12; letter-spacing: -0.01em; display: block;
  white-space: nowrap; flex: 0 0 auto;
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: var(--r-pill);
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 16.5px;
  white-space: nowrap;
}
.nav-links a:not(.btn):hover { background: var(--sage-pale); color: var(--sage-deep); }
.nav-links a.active:not(.btn) { color: var(--sage-deep); box-shadow: inset 0 -2px 0 var(--sage); border-radius: 0; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 800; font-size: 15.5px; color: var(--terracotta) !important;
  text-decoration: none; padding: 9px 12px; white-space: nowrap;
}
.nav-phone:hover { color: var(--terracotta-deep) !important; }
.nav-cta { padding: 12px 22px !important; font-size: 15.5px !important; margin-left: 6px; }

.nav-call-sm {
  display: none; align-items: center; justify-content: center; gap: 7px;
  background: var(--terracotta); color: #fff !important; text-decoration: none;
  font-weight: 800; font-size: 15.5px; padding: 11px 16px; border-radius: var(--r-pill);
  white-space: nowrap;
}
/* nav dropdowns */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: 7px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 16.5px; color: var(--ink);
  padding: 10px 14px; border-radius: var(--r-pill); white-space: nowrap;
}
.nav-drop-btn:hover { background: var(--sage-pale); color: var(--sage-deep); }
.nav-drop-btn.active { color: var(--sage-deep); box-shadow: inset 0 -2px 0 var(--sage); border-radius: 0; }
.nav-drop .chev { transition: transform .18s; flex: 0 0 auto; }
.nav-drop.open .chev { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: 0; display: none;
  background: #FFFFFF; border: 1px solid #E2EADA; border-radius: 14px;
  box-shadow: 0 14px 36px rgba(36, 56, 74, 0.14); padding: 8px;
  min-width: 260px; z-index: 90; list-style: none;
}
.nav-drop.open > .nav-menu { display: block; }
@media (hover: hover) and (min-width: 981px) { .nav-drop:hover > .nav-menu { display: block; } }
.nav-links .nav-menu a:not(.btn) { display: block; padding: 12px 16px; border-radius: 10px; font-size: 16px; }
.nav-links .nav-menu a.active:not(.btn) { box-shadow: none; background: var(--sage-pale); border-radius: 10px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2.5px; background: var(--ink); border-radius: 3px; margin: 5.5px 0; transition: .2s; }

@media (max-width: 1080px) {
  .nav-links a:not(.btn) { padding: 9px 9px; font-size: 15px; }
}
@media (max-width: 980px) {
  .nav-call-sm { display: inline-flex; margin-left: auto; }
  .brand { margin-right: 0; }
  .brand-mark { width: 60px; height: 51px; }
  .brand-name { font-size: 16.5px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); padding: 16px 20px 22px;
    border-bottom: 1px solid var(--cream-deep); box-shadow: var(--shadow-lift);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 13px 16px; font-size: 17px; }
  .nav-links a.active:not(.btn) { box-shadow: none; background: var(--sage-pale); border-radius: var(--r-pill); }
  .nav-links .btn, .nav-links .nav-phone { justify-content: center; margin: 4px 0 0; }
  .nav-drop { width: 100%; }
  .nav-drop-btn { width: 100%; justify-content: space-between; font-size: 17px; padding: 13px 16px; }
  .nav-drop-btn.active { box-shadow: none; background: var(--sage-pale); border-radius: var(--r-pill); }
  .nav-menu { position: static; box-shadow: none; border: 0; background: transparent; min-width: 0; padding: 0 0 4px 14px; }
  .nav-links .nav-menu a:not(.btn) { font-size: 16.5px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(30px, 4.5vw, 64px) 0 clamp(34px, 5vw, 64px); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin-bottom: 26px; max-width: 34em; }
.hero-art { position: relative; }
.hero-art::before {
  content: ''; position: absolute; inset: 7% -5% -5% 8%;
  background: var(--sage-tint);
  border-radius: 58% 42% 55% 45% / 52% 48% 60% 40%;
  z-index: 0;
}
.hero-art img { position: relative; z-index: 1; }

.blob-img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 38% 62% 55% 45% / 45% 42% 58% 55%;
}
.blob-sage, .blob-sand { border-radius: 55% 45% 42% 58% / 48% 55% 45% 52%; }

.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--card); border: 1.5px solid var(--sage-tint);
  border-radius: var(--r-pill); padding: 7px 14px;
  font-size: 15.5px; font-weight: 700; color: var(--grey);
}
.badge .tick { color: var(--sage-deep); font-weight: 800; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 380px; margin: 0 auto; }
}

/* ---------- Bands & cards ---------- */
.band { border-radius: var(--r-band); padding: clamp(28px, 4vw, 48px); }
.band-sage { background: var(--sage-pale); }
.band-sagetint { background: var(--sage-tint); }
.band-sand { background: var(--sand); }
.band-clinical { background: #EFF6FB; }
.band-independence { background: #FBF1EA; }
.band-everyday { background: #FCF6E2; }
.band-cream { background: #FFFFFF; border: 1.5px solid var(--sage-tint); }
.band-anchor { background: var(--anchor); }
.band-anchor h2, .band-anchor h3 { color: #fff; }
.band-anchor p { color: var(--on-anchor); }
.band-anchor a:not(.btn) { color: var(--sand-gold); }

.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.split.rev { grid-template-columns: .85fr 1.15fr; }
.split-art { max-width: 400px; margin: 0 auto; width: 100%; }
@media (max-width: 820px) {
  .split, .split.rev { grid-template-columns: 1fr; }
  .split-art { max-width: 300px; }
}

.card {
  background: var(--card); border-radius: var(--r-card);
  padding: 24px; border: 1px solid var(--cream-deep);
  box-shadow: var(--shadow-soft);
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.sec-head { max-width: 720px; margin: 0 auto clamp(24px, 3.5vw, 40px); text-align: center; }
.sec-head p { color: var(--grey); margin-top: 10px; }

/* ---------- Steps ---------- */
.step-art {
  width: 100%; aspect-ratio: 5 / 3.4; object-fit: cover;
  border-radius: 14px; margin-bottom: 16px;
}
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sage-deep); color: #fff;
  font-family: var(--font-body); font-weight: 800; font-size: 16px;
  display: grid; place-items: center; margin-bottom: 12px;
}

/* ---------- Service cards ---------- */
.svc-card { display: flex; flex-direction: column; gap: 10px; padding: 0; overflow: hidden; }
.svc-card > *:not(.svc-img) { margin-left: 22px; margin-right: 22px; }
.svc-card > .svc-icon { margin-top: 22px; }
.svc-card > h3:first-child, .svc-card > .pill-label:first-child { margin-top: 22px; }
.svc-card h3 { margin-top: 6px; }
.svc-card p { color: var(--grey); font-size: 16.5px; }
.svc-card > p:last-child, .svc-card > .svc-link { margin-bottom: 20px; }
.svc-img {
  width: 100%; aspect-ratio: 5 / 3.3; object-fit: cover; object-position: 50% 32%;
}
/* Illustration tiles (storybook art with baked blob) — show whole scene, never crop */
.svc-card > .svc-illus {
  object-fit: contain; object-position: center; background: #FBF8F0;
  padding: 6px 10px 0;
}
.svc-icon {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 18px;
  background: var(--sage-tint);
}
.svc-link { font-weight: 800; text-decoration: none; color: var(--terracotta); margin-top: auto; font-size: 16.5px; }
.svc-link:hover { text-decoration: underline; }

.svc-card > .split { margin: 20px 22px; }

/* ---------- Why us — friends-style hero ---------- */
.whyus-hero { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.whyus-bgimg { display: block; width: 100%; height: auto; }
.whyus-copy { position: absolute; top: 5%; left: 50%; transform: translateX(-50%);
  width: min(780px, 56%); text-align: center; }
.whyus-copy h1 span { white-space: nowrap; }
.whyus-copy .pill-label { background: rgba(255,255,255,0.92); color: var(--sage-deep); }
.whyus-copy h1 { color: var(--ink); max-width: 18em; margin: 10px auto 12px;
  font-size: clamp(27px, 3.7vw, 54px); line-height: 1.1;
  text-shadow: 0 0 16px rgba(255,255,255,0.75), 0 0 6px rgba(255,255,255,0.9), 0 2px 3px rgba(20,40,25,0.30); }
.whyus-copy h1 span { color: var(--terracotta); }
.whyus-copy .lead { color: var(--ink); max-width: 32em; margin: 0 auto 4px; font-weight: 700;
  text-shadow: 0 0 12px rgba(255,255,255,0.8), 0 0 5px rgba(255,255,255,0.85); }
/* CTA block below the illustration */
.whyus-cta { text-align: center; padding: 12px 18px 2px; }
.whyus-cta .btn-row { justify-content: center; }
.whyus-badges { justify-content: center; padding: 14px 18px 2px; }

/* Why us — real-people photo strip */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(22px, 3vw, 34px); }
.photo-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); display: block; box-shadow: 0 6px 20px rgba(36,56,74,0.08); }
@media (max-width: 720px){ .photo-strip { grid-template-columns: 1fr 1fr; } }

@media (max-width: 760px){
  /* stack on small screens (overlay won't fit the short image) */
  .whyus-hero { display: flex; flex-direction: column; max-width: none; }
  .whyus-copy { order: 1; position: static; transform: none; width: auto; padding: 8px 18px 4px; }
  .whyus-copy::before { display: none; }
  .whyus-cta { order: 2; padding-top: 10px; }
  .whyus-bgimg { order: 3; }
  .whyus-copy .pill-label { background: #DDEBF6; }
  .whyus-copy h1 { color: var(--ink); text-shadow: none; font-size: clamp(27px, 8vw, 40px); }
  .whyus-copy h1 span { color: var(--terracotta); white-space: normal; }
  .whyus-copy .lead { color: var(--grey); text-shadow: none; }
}

/* Calm background — applied only on pages with body.calm-bg (Why us) */
body.calm-bg {
  background:
    radial-gradient(1200px 720px at 50% -140px, rgba(143, 169, 124, 0.07), transparent 62%),
    linear-gradient(180deg, #FDFCFA 0%, #FBFAF5 100%);
  background-attachment: fixed;
  background-repeat: no-repeat, no-repeat;
}

/* ---------- Legal / policy pages ---------- */
.legal h2 { font-size: clamp(20px, 2.1vw, 25px); margin-top: 30px; margin-bottom: 8px; }
.legal p { margin-bottom: 14px; }
.legal .legal-meta { font-size: 14.5px; color: var(--grey); font-weight: 700; margin-bottom: 20px; }
.legal a { color: var(--anchor); font-weight: 700; }
.legal .why-item h3 { margin-bottom: 2px; }

/* ---------- Reviews & trust ---------- */
.stars { color: #E8A93C; font-size: 18px; letter-spacing: 3px; margin-bottom: 10px; line-height: 1; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 auto;
  background: #FFFFFF; border: 1px solid #E2EADA; border-radius: 999px;
  padding: 9px 20px 9px 14px; box-shadow: var(--shadow-soft);
}
.rating-badge .g-mark { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1;
  background: conic-gradient(from -45deg, #EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating-badge .score { font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink); }
.rating-badge .rb-stars { color: #E8A93C; font-size: 15px; letter-spacing: 1px; }
.rating-badge small { color: var(--grey); font-weight: 700; font-size: 13.5px; }
.trust-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.6vw, 22px); max-width: 1000px; margin: 0 auto; }
.trust-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.trust-item .ti-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--sage-pale); color: var(--sage-deep); display: grid; place-items: center; flex: 0 0 auto; }
.trust-item h4 { font-family: var(--font-body); font-weight: 800; font-size: 15px; line-height: 1.25; color: var(--ink); }
.trust-item p { font-size: 13.5px; color: var(--grey); line-height: 1.4; }
@media (max-width: 820px) { .trust-strip { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; } }
@media (max-width: 460px) { .trust-strip { grid-template-columns: 1fr; } }

/* header row variant on services page */
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.cat-head .svc-icon { width: 60px; height: 60px; border-radius: 16px; }

/* ---------- Why list ---------- */
.why-item {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--cream-deep);
  border-radius: var(--r-row); padding: 17px 20px;
}
.why-item .tick {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--sage-pale); color: var(--sage-deep);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.why-item h3 { font-size: 18.5px; margin-bottom: 3px; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }
.why-item p { color: var(--grey); font-size: 16.5px; margin: 0; }

/* ---------- Quote / testimonials ---------- */
.quote-card { background: var(--card); border: 1px solid var(--cream-deep); border-radius: var(--r-card); padding: 26px; position: relative; box-shadow: var(--shadow-soft); }
.quote-card::before { content: '\201C'; font-family: var(--font-head); font-size: 52px; color: var(--marigold); line-height: 1; display: block; margin-bottom: 4px; }
.quote-card cite { display: block; margin-top: 12px; font-style: normal; font-weight: 800; color: var(--sage-deep); font-size: 16px; }
.quote-card .placeholder-note { font-size: 13px; color: var(--footer-fine); margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 840px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { background: var(--card); border-radius: var(--r-faq); border: 1px solid var(--cream-deep); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 800; font-size: clamp(17px, 1.6vw, 18.5px);
  color: var(--ink); padding: 17px 54px 17px 22px; position: relative; line-height: 1.4;
}
.faq-q::after {
  content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--sage-pale);
  color: var(--sage-deep); font-size: 19px; font-weight: 700;
  display: grid; place-items: center; transition: transform .2s;
}
.faq-item.open .faq-q::after { content: '\2013'; background: var(--sand); color: var(--terracotta); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--grey); font-size: 16.5px; }

/* ---------- Postcode checker ---------- */
.postcode-box { max-width: 620px; margin: 0 auto; text-align: center; }
.postcode-form { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.postcode-form input {
  font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--ink);
  padding: 14px 22px; border-radius: var(--r-pill);
  border: 2px solid var(--sage); background: var(--card);
  width: 200px; text-align: center; outline: none;
}
.postcode-form input:focus { border-color: var(--sage-deep); }
.pc-result { margin-top: 22px; display: none; text-align: left; }
.pc-result.show { display: block; animation: fadeUp .35s ease; }
.pc-office { display: flex; gap: 18px; align-items: center; background: var(--card); border-radius: var(--r-card); padding: 20px 24px; border: 1px solid var(--sage-tint); }
.pc-office img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; background: var(--sage-tint); flex: 0 0 auto; }
.pc-office h3 { margin-bottom: 3px; }
.pc-office p { font-size: 15.5px; color: var(--grey); margin: 0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .pc-office { flex-direction: column; text-align: center; } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--r-card); background: var(--card); border: 1px solid var(--cream-deep); box-shadow: var(--shadow-soft); }
table.rates { width: 100%; border-collapse: collapse; min-width: 420px; }
table.rates th, table.rates td { padding: 13px 20px; text-align: left; font-size: 16.5px; }
table.rates th { font-family: var(--font-body); font-weight: 800; font-size: 15px; border-bottom: 2px solid var(--sage-tint); color: var(--sage-deep); text-transform: uppercase; letter-spacing: .04em; }
table.rates tr:nth-child(even) td { background: var(--cream); }
table.rates td strong { color: var(--sage-deep); }

/* ---------- Budget explorer ---------- */
.calc { background: var(--card); border: 1px solid var(--cream-deep); border-radius: var(--r-card); box-shadow: var(--shadow-soft); padding: clamp(22px, 3vw, 34px); margin-top: 26px; }
.calc-progs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.calc-prog {
  border: 2px solid var(--cream-deep); background: #FFFFFF; color: var(--ink);
  border-radius: 999px; padding: 10px 20px; font-family: var(--font-body);
  font-size: 15.5px; font-weight: 800; cursor: pointer; transition: border-color .15s, background .15s;
}
.calc-prog:hover { border-color: var(--sage); }
.calc-prog.sel { background: var(--sage-deep); border-color: var(--sage-deep); color: #FFFFFF; }
.calc-levels { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.calc-level {
  border: 2px solid var(--cream-deep); background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-weight: 800; font-size: 16px;
  min-width: 46px; height: 46px; padding: 0 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  transition: border-color .15s, background .15s, color .15s;
}
.calc-level:hover { border-color: var(--sage); }
.calc-level.sel { background: var(--sage-deep); border-color: var(--sage-deep); color: #fff; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.calc-stat { background: var(--cream); border-radius: 14px; padding: 16px 18px; }
/* soft category tints so the three figures stand apart (matching the service pages) */
.calc-out .calc-stat:nth-child(1) { background: #E4EFF6; }   /* soft blue */
.calc-out .calc-stat:nth-child(2) { background: #F9E7DB; }   /* soft peach */
.calc-out .calc-stat:nth-child(3) { background: #FBEFC5; }   /* soft gold */
.calc-stat .v { font-family: var(--font-head); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); color: var(--sage-deep); display: block; }
.calc-stat .l { font-size: 13.5px; font-weight: 700; color: var(--grey); letter-spacing: .02em; }
.calc-note { font-size: 14px; color: var(--grey); margin-top: 16px; }
@media (max-width: 640px) { .calc-out { grid-template-columns: 1fr; } }

/* ---------- Referral strip ---------- */
.referral-strip {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  background: var(--cream-deep); border-radius: var(--r-row);
  padding: 16px 24px; margin-top: 26px; font-weight: 700; font-size: 15.5px;
}
.band-anchor .referral-strip { background: rgba(251,248,243,.08); color: var(--on-anchor); }
.band-anchor .referral-strip a { color: var(--sand-gold); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--anchor); color: var(--footer-body);
  border-top: 3px solid var(--terracotta);
  padding: clamp(38px, 5vw, 58px) 0 24px; margin-top: clamp(30px, 4vw, 50px);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 12px; font-family: var(--font-body); font-weight: 800; letter-spacing: .03em; }
.site-footer a { color: var(--footer-body); text-decoration: none; }
.site-footer a:hover { color: var(--sand-gold); }
.site-footer ul { list-style: none; display: grid; gap: 9px; font-size: 16px; }
.footer-office p { font-size: 15.5px; margin-bottom: 4px; }
.footer-logo {
  width: 96px; height: 96px; display: block; margin-bottom: 16px;
  background: #F7F3E6; border-radius: 22px; padding: 13px;
  object-fit: contain;
}
.footer-brand { font-family: var(--font-head); font-weight: 600; font-size: 21px; color: #fff; margin-bottom: 8px; }
.footer-fine { border-top: 1px solid rgba(217,228,224,.18); margin-top: 32px; padding-top: 20px; font-size: 13.5px; color: var(--footer-fine); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Floating help widget ---------- */
.help-widget { position: fixed; right: 18px; bottom: 18px; z-index: 950; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.help-panel {
  display: none; flex-direction: column; gap: 10px;
  background: var(--card); border-radius: var(--r-card);
  box-shadow: var(--shadow-lift);
  padding: 16px; width: 272px;
}
.help-panel.open { display: flex; animation: fadeUp .25s ease; }
.help-panel-head { background: var(--sage-tint); border-radius: 12px; padding: 11px 15px; font-weight: 800; color: var(--ink); font-size: 15px; }
.help-opt {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  border: 1.5px solid var(--cream-deep); border-radius: var(--r-row);
  padding: 11px 13px; color: var(--ink); font-weight: 700; font-size: 15px;
  transition: border-color .15s;
}
.help-opt:hover { border-color: var(--sage); }
.help-opt .ico { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #fff; }
.ico-call { background: var(--terracotta); }
.ico-wa { background: var(--sage-deep); }
.ico-ai { background: var(--sand); color: var(--terracotta) !important; }
.help-opt small { display: block; font-weight: 600; color: var(--grey); font-size: 12.5px; }
.help-opt.disabled { opacity: .6; cursor: default; }
.help-toggle {
  border: 0; cursor: pointer; border-radius: var(--r-pill);
  background: var(--terracotta); color: #fff;
  font-family: var(--font-body); font-weight: 800; font-size: 15.5px;
  padding: 13px 20px; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 22px rgba(185,92,53,.35);
}
.help-toggle:hover { background: var(--terracotta-deep); }

/* ---------- Misc ---------- */
.tags { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 14.5px; font-weight: 700; }
.band-anchor .tags { color: var(--on-anchor); }
.squiggle { color: var(--terracotta); font-weight: 800; }
.pill-label {
  display: inline-block; background: var(--sand); color: var(--ink);
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 800;
  padding: 5px 14px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px;
}
.pill-label.clinical { background: #C9E0F0; color: #2B5A7E; }
.note-callout {
  background: var(--sand); border-radius: var(--r-row);
  padding: 18px 22px; font-size: 15.5px; margin-top: 20px;
}
.stub-hero { text-align: center; padding: clamp(48px, 7vw, 90px) 0; }
.stub-hero p { max-width: 600px; margin: 14px auto 28px; }


/* ---------- Inner-page hero (text only, calmer) ---------- */
.page-hero { text-align: center; padding: clamp(36px, 5vw, 64px) 0 clamp(10px, 2vw, 24px); }
.page-hero h1 { max-width: 17em; margin: 0 auto 14px; }
.page-hero .lead { max-width: 38em; margin: 0 auto 22px; }
.page-hero .btn-row { justify-content: center; }

/* ---------- CEO section ---------- */
.ceo-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
.ceo-photo { width: 100%; border-radius: var(--r-card); box-shadow: var(--shadow-lift); }
.ceo-quote {
  border-left: 4px solid var(--marigold); background: var(--sage-pale);
  border-radius: 0 var(--r-row) var(--r-row) 0;
  padding: 20px 24px; margin-top: 22px; font-family: var(--font-head);
  font-size: clamp(17px, 1.7vw, 20px); font-style: italic; color: var(--ink); line-height: 1.5;
}
.ceo-quote cite { display: block; margin-top: 10px; font-family: var(--font-body); font-style: normal; font-weight: 800; font-size: 15px; color: var(--sage-deep); }
@media (max-width: 780px) { .ceo-grid { grid-template-columns: 1fr; } .ceo-photo { max-width: 320px; margin: 0 auto; } }

/* ---------- Value cards ---------- */
.value-card {
  text-align: center; padding: 30px 22px 28px;
  border: 1px solid rgba(70,96,58,.08);
  box-shadow: 0 14px 32px rgba(42,59,51,.12);
  transition: transform .22s ease, box-shadow .22s ease;
}
.value-card .v-ico {
  width: 74px; height: 74px; margin: 0 auto 16px;
  border-radius: 47% 53% 63% 37% / 52% 44% 56% 48%;   /* organic blob, like the illustrations */
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 18px rgba(42,59,51,.18);
}
.value-card .v-ico svg { width: 32px; height: 32px; }
.value-card h3 { font-size: 20px; }
.value-card p { color: var(--grey); font-size: 16px; margin-top: 6px; }
/* each value gets its own personality */
#values-grid .value-card:nth-child(1) { background: #F9E9DF; transform: rotate(-1.3deg); }
#values-grid .value-card:nth-child(1) .v-ico { background: var(--terracotta); }
#values-grid .value-card:nth-child(1) h3 { color: var(--terracotta-deep); }
#values-grid .value-card:nth-child(2) { background: #E9F2DD; transform: rotate(1deg); }
#values-grid .value-card:nth-child(2) .v-ico { background: var(--sage-deep); border-radius: 63% 37% 47% 53% / 44% 56% 44% 56%; }
#values-grid .value-card:nth-child(2) h3 { color: var(--sage-deep); }
#values-grid .value-card:nth-child(3) { background: #E7EFF6; transform: rotate(-0.8deg); }
#values-grid .value-card:nth-child(3) .v-ico { background: #5E8FB4; border-radius: 37% 63% 53% 47% / 56% 48% 52% 44%; }
#values-grid .value-card:nth-child(3) h3 { color: #43708F; }
#values-grid .value-card:nth-child(4) { background: #F8F0D8; transform: rotate(1.2deg); }
#values-grid .value-card:nth-child(4) .v-ico { background: #B9912F; border-radius: 53% 47% 37% 63% / 48% 56% 44% 52%; }
#values-grid .value-card:nth-child(4) h3 { color: #8F6F1E; }
#values-grid .value-card:hover { transform: rotate(0deg) translateY(-6px); box-shadow: 0 24px 46px rgba(42,59,51,.18); }
@media (prefers-reduced-motion: reduce) { .value-card, #values-grid .value-card:hover { transform: none; } }
/* Contact page benefit cards — same colour language, left-aligned, smaller icons */
#enq-benefits .value-card { padding: 22px 20px; }
#enq-benefits .v-ico { width: 52px; height: 52px; margin: 0 0 12px; }
#enq-benefits .v-ico svg { width: 24px; height: 24px; }
#enq-benefits .value-card h3 { font-size: 18px; }
#enq-benefits .value-card p { font-size: 15px; }
#enq-benefits .value-card:nth-child(1) { background: #F9E9DF; }
#enq-benefits .value-card:nth-child(1) .v-ico { background: var(--terracotta); }
#enq-benefits .value-card:nth-child(1) h3 { color: var(--terracotta-deep); }
#enq-benefits .value-card:nth-child(2) { background: #E9F2DD; }
#enq-benefits .value-card:nth-child(2) .v-ico { background: var(--sage-deep); border-radius: 63% 37% 47% 53% / 44% 56% 44% 56%; }
#enq-benefits .value-card:nth-child(2) h3 { color: var(--sage-deep); }
#enq-benefits .value-card:nth-child(3) { background: #E7EFF6; }
#enq-benefits .value-card:nth-child(3) .v-ico { background: #5E8FB4; border-radius: 37% 63% 53% 47% / 56% 48% 52% 44%; }
#enq-benefits .value-card:nth-child(3) h3 { color: #43708F; }
#enq-benefits .value-card:nth-child(4) { background: #F8F0D8; }
#enq-benefits .value-card:nth-child(4) .v-ico { background: #B9912F; border-radius: 53% 47% 37% 63% / 48% 56% 44% 52%; }
#enq-benefits .value-card:nth-child(4) h3 { color: #8F6F1E; }
#enq-benefits .value-card:hover { transform: translateY(-4px); }

/* ---------- Sessions (chair yoga) ---------- */
.session-card { padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.session-day { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--terracotta); text-transform: uppercase; }
.session-card h3 { font-size: 21px; }
.session-card .s-time { font-weight: 800; color: var(--sage-deep); }
.session-card .s-venue { color: var(--grey); font-size: 15px; }

/* ---------- Price tables ---------- */
.price-note { font-size: 14.5px; color: var(--grey); }
.price-block { margin-top: 30px; }
.price-block h3 { margin-bottom: 12px; }
table.rates td { white-space: nowrap; }
table.rates td:first-child, table.rates th:first-child { white-space: normal; min-width: 130px; }

/* ---------- Referral reward band ---------- */
.reward-band { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; justify-content: space-between; }
.reward-amount { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5vw, 60px); color: var(--terracotta); line-height: 1; }


/* ---------- "Which sounds like you" triage ---------- */
.triage-card {
  text-align: left;
  border: 1px solid rgba(70, 96, 58, .10);
  box-shadow: 0 16px 38px rgba(42, 59, 51, .14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.triage-card:hover { transform: translateY(-5px); box-shadow: 0 26px 52px rgba(42, 59, 51, .20); }
.triage-card h3 { font-size: clamp(20px, 2vw, 23px); }
.triage-card .btn { margin: 4px 22px 22px; align-self: flex-start; }
/* Each card gets a soft on-brand shade; the illustration sits inside a rounded-cut
   "window" with that same shade all around it, so the three read as one cohesive set. */
.grid-3 .triage-card:nth-child(1) { background: #F7E7DC; }   /* warm peach */
.grid-3 .triage-card:nth-child(2) { background: #E7F1DB; }   /* soft green */
.grid-3 .triage-card:nth-child(3) { background: #F6F0DF; }   /* warm oat/sand */
.triage-card .svc-img {
  width: calc(100% - 36px);
  margin: 18px 18px 8px;
  border-radius: 34px / 42px;
  box-shadow: 0 6px 16px rgba(42, 59, 51, .10);
}


/* ---------- Life-at-ACAC mural above the footer ---------- */
.scene-footer { display: none; } /* footer scene hidden for now — remove this line to bring it back */
.scene-footer { overflow: hidden; margin-top: clamp(36px, 5vw, 64px); position: relative; }
.scene-footer img { display: block; width: 100%; height: auto; }
.scene-footer::before { /* soft entry from the page */
  content: ''; position: absolute; inset: 0 0 auto 0; height: 22%;
  background: linear-gradient(180deg, #FDFDFB 0%, rgba(253,253,251,0) 100%);
  pointer-events: none;
}
.scene-footer::after { /* gentle grounding into the footer */
  content: ''; position: absolute; inset: auto 0 0 0; height: 12%;
  background: linear-gradient(0deg, rgba(222,234,211,.55) 0%, rgba(222,234,211,0) 100%);
  pointer-events: none;
}
.scene-footer + .site-footer { margin-top: 0; }
@media (max-width: 700px) {
  .scene-footer img { width: 185%; margin-left: -42%; }
}



/* ---------- ACAC Care Assistant (chat, bottom-left) ---------- */
#pac-root { position: fixed; bottom: 96px; left: 22px; z-index: 960; width: 330px; max-width: calc(100vw - 36px); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-family: var(--font-body); }

/* Persistent Care Assistant launcher — bottom-left, waving hand */
#pac-fab { position: fixed; left: 22px; bottom: 22px; z-index: 958; width: 68px; height: 68px; border: 3px solid #fff; border-radius: 50%; background: var(--anchor); cursor: pointer; box-shadow: 0 10px 24px rgba(40,55,35,.30); padding: 0; transition: transform .18s ease; }
#pac-fab:hover { transform: scale(1.07); }
#pac-fab.pac-hide { display: none; }
#pac-fab .pac-fab-ring { position: absolute; inset: 0; border-radius: 50%; animation: pac-fab-pulse 2.4s ease-out infinite; }
#pac-fab .pac-fab-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
#pac-fab .pac-fab-tip { position: absolute; left: 74px; top: 50%; transform: translateY(-50%) translateX(-6px); white-space: nowrap; background: var(--ink); color: #fff; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; padding: 8px 13px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; box-shadow: var(--shadow-lift); }
#pac-fab .pac-fab-tip::before { content: ''; position: absolute; left: -5px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-right-color: var(--ink); }
#pac-fab:hover .pac-fab-tip { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes pac-fab-wave { 0%, 55%, 100% { transform: rotate(0deg); } 62% { transform: rotate(16deg); } 71% { transform: rotate(-9deg); } 80% { transform: rotate(14deg); } 89% { transform: rotate(-5deg); } }
@keyframes pac-fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(214,90,31,.5); } 70% { box-shadow: 0 0 0 15px rgba(214,90,31,0); } 100% { box-shadow: 0 0 0 0 rgba(214,90,31,0); } }
@media (prefers-reduced-motion: reduce) { #pac-fab .pac-fab-hand, #pac-fab .pac-fab-ring { animation: none; } }
#pac-peek { background: var(--card); border: 1px solid var(--cream-deep); border-radius: 18px 18px 18px 4px; padding: 16px; box-shadow: var(--shadow-lift); display: flex; flex-direction: column; gap: 12px; transform: translateY(18px); opacity: 0; transition: transform .5s cubic-bezier(.32,1.1,.48,1), opacity .4s; pointer-events: none; width: 100%; }
#pac-peek.show { transform: none; opacity: 1; pointer-events: all; }
#pac-peek.hide { transform: translateY(14px); opacity: 0; pointer-events: none; transition: transform .3s, opacity .25s; }
#pac-root .pac2-top { display: flex; align-items: flex-start; gap: 11px; }
#pac-root .pac2-av { width: 38px; height: 38px; border-radius: 50%; background: var(--sage-deep); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
#pac-root .pac2-av svg { width: 20px; height: 20px; }
#pac-peek .pac2-body { flex: 1; }
#pac-peek .pac2-name { font-size: 13px; font-weight: 800; color: var(--sage-deep); margin-bottom: 4px; letter-spacing: .02em; }
#pac-peek .pac2-msg { font-size: 15.5px; color: var(--ink); line-height: 1.5; }
#pac-peek .pac2-x { background: none; border: 0; color: var(--footer-fine); font-size: 20px; cursor: pointer; padding: 0 2px; line-height: 1; flex: 0 0 auto; }
#pac-peek .pac2-x:hover { color: var(--ink); }
#pac-peek .pac2-btns { display: flex; gap: 8px; }
#pac-peek .pac2-yes { flex: 1; padding: 12px 14px; background: var(--terracotta); border: 0; border-radius: 999px; font-family: var(--font-body); font-size: 15px; font-weight: 800; color: #fff; cursor: pointer; }
#pac-peek .pac2-yes:hover { background: var(--terracotta-deep); }
#pac-peek .pac2-no { padding: 12px 14px; background: var(--cream); border: 0; border-radius: 999px; font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--grey); cursor: pointer; white-space: nowrap; }
#pac-peek .pac2-no:hover { background: var(--cream-deep); }
#pac-chat { background: var(--card); border: 1px solid var(--cream-deep); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lift); width: 100%; display: none; flex-direction: column; transform: translateY(14px); opacity: 0; transition: transform .35s cubic-bezier(.32,1.1,.48,1), opacity .28s; }
#pac-chat.open { transform: none; opacity: 1; }
#pac-hdr { background: var(--sage-pale); padding: 12px 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--cream-deep); }
#pac-hdr .pac2-av { background: var(--card); border: 1.5px solid var(--sage-tint); }
#pac-hdr .pac2-hn { font-size: 15px; font-weight: 800; color: var(--ink); }
#pac-hdr .pac2-hs { font-size: 12px; color: var(--sage-deep); font-weight: 700; display: flex; align-items: center; gap: 5px; margin-top: 1px; }
#pac-hdr .pac2-hdot { width: 7px; height: 7px; border-radius: 50%; background: #5FA36B; display: inline-block; }
#pac-min { margin-left: auto; background: none; border: 0; cursor: pointer; color: var(--grey); font-size: 22px; line-height: 1; padding: 0 6px; }
#pac-msgs { padding: 12px; display: flex; flex-direction: column; gap: 9px; height: 300px; overflow-y: auto; background: var(--cream); }
#pac-msgs::-webkit-scrollbar { width: 4px; }
#pac-msgs::-webkit-scrollbar-thumb { background: var(--cream-deep); border-radius: 2px; }
#pac-msgs .pac2-msg-row { display: flex; flex-direction: column; max-width: 92%; }
#pac-msgs .pac2-msg-row.bot { align-self: flex-start; }
#pac-msgs .pac2-msg-row.user { align-self: flex-end; }
#pac-msgs .pac2-bubble { padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.55; white-space: pre-wrap; }
#pac-msgs .pac2-msg-row.bot .pac2-bubble { background: var(--card); border: 1px solid var(--cream-deep); border-bottom-left-radius: 4px; color: var(--ink); }
#pac-msgs .pac2-msg-row.user .pac2-bubble { background: var(--sage-deep); color: #fff; border-bottom-right-radius: 4px; }
#pac-msgs .pac2-time { font-size: 11px; color: var(--footer-fine); margin-top: 3px; padding: 0 2px; }
#pac-msgs .pac2-msg-row.user .pac2-time { text-align: right; }
#pac-msgs .pac2-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
#pac-msgs .pac2-opt { font-family: var(--font-body); font-size: 14.5px; font-weight: 700; padding: 8px 13px; border: 1.5px solid var(--sage); border-radius: 999px; background: var(--card); color: var(--sage-deep); cursor: pointer; line-height: 1.35; transition: background .12s; }
#pac-msgs .pac2-opt:hover { background: var(--sage-pale); }
#pac-msgs .pac2-opt:disabled { opacity: .4; cursor: default; }
#pac-msgs .pac2-typing { display: flex; align-items: center; gap: 4px; padding: 2px 0; }
#pac-msgs .pac2-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); animation: pac2bounce 1.2s infinite; }
#pac-msgs .pac2-typing span:nth-child(2) { animation-delay: .2s; }
#pac-msgs .pac2-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes pac2bounce { 0%,60%,100% { transform: none; } 30% { transform: translateY(-5px); } }
#pac-inp-row { padding: 10px; border-top: 1px solid var(--cream-deep); display: flex; gap: 8px; align-items: center; background: var(--card); }
#pac-inp { flex: 1; padding: 10px 14px; border: 1.5px solid var(--cream-deep); border-radius: 999px; font-family: var(--font-body); font-size: 15px; background: var(--cream); color: var(--ink); outline: none; }
#pac-inp:focus { border-color: var(--sage-deep); }
#pac-isend { width: 38px; height: 38px; border-radius: 50%; background: var(--terracotta); border: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
#pac-isend:hover { background: var(--terracotta-deep); }
#pac-isend svg { width: 15px; height: 15px; }
#pac-root .pac2-lead { background: var(--sage-pale); border: 1.5px solid var(--sage-tint); border-radius: 12px; padding: 13px; margin-top: 8px; }
#pac-root .pac2-lead label { font-size: 12px; color: var(--grey); display: block; margin: 9px 0 4px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
#pac-root .pac2-lead label:first-child { margin-top: 0; }
#pac-root .pac2-lead input, #pac-root .pac2-lead select { width: 100%; padding: 9px 12px; font-size: 14.5px; border: 1.5px solid var(--cream-deep); border-radius: 9px; background: var(--card); color: var(--ink); font-family: var(--font-body); box-sizing: border-box; }
#pac-root .pac2-lead input:focus, #pac-root .pac2-lead select:focus { outline: none; border-color: var(--sage-deep); }
#pac-root .pac2-lead-btn { margin-top: 12px; width: 100%; padding: 11px; background: var(--terracotta); border: 0; border-radius: 999px; font-size: 15px; font-weight: 800; color: #fff; cursor: pointer; font-family: var(--font-body); }
#pac-root .pac2-lead-btn:hover { background: var(--terracotta-deep); }
#pac-root .pac2-lead-btn:disabled { opacity: .6; cursor: default; }
#pac-root .pac2-err { font-size: 13.5px; color: var(--terracotta); font-weight: 700; margin-top: 8px; }
#pac-root .pac2-privacy { font-size: 11.5px; color: var(--grey); margin-top: 8px; line-height: 1.5; }
#pac-root .pac2-success { background: var(--sage-pale); border: 1.5px solid var(--sage); border-radius: 10px; padding: 12px; margin-top: 8px; font-size: 14.5px; color: var(--sage-deep); font-weight: 700; line-height: 1.55; }
#pac-reopen { background: var(--sage-deep); border: 0; border-radius: 999px; padding: 11px 20px; font-size: 14.5px; font-weight: 800; color: #fff; cursor: pointer; box-shadow: var(--shadow-lift); font-family: var(--font-body); }
#pac-foot { text-align: center; padding: 6px 0 8px; background: var(--card); border-top: 1px solid var(--cream-deep); }
#pac-foot button { font-size: 12.5px; color: var(--footer-fine); background: none; border: 0; cursor: pointer; text-decoration: underline; font-family: var(--font-body); }
#pac-foot button:hover { color: var(--grey); }
@media (max-width: 560px) {
  #pac-root { left: 14px; bottom: 86px; width: min(330px, calc(100vw - 28px)); }
}


/* ============================================================
   Brightness & section-rhythm pass
   ============================================================ */

/* Sections glued with inline padding-top:0 get breathing room back */
main > section[style*="padding-top:0"] { padding-top: clamp(30px, 4vw, 52px) !important; }


/* Section headings carry a marigold accent line — a visible "new section" marker */
.sec-head h2::after {
  content: ''; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: var(--marigold); margin: 16px auto 0;
}
.narrow > h2::after, .container.narrow h2:first-child::after {
  content: ''; display: block; width: 56px; height: 4px; border-radius: 2px;
  background: var(--marigold); margin: 14px 0 0;
}
.narrow > h2.center::after { margin-left: auto; margin-right: auto; }
.band .sec-head h2::after, .band-anchor h2::after { display: none; }

/* Tables get proper colour: deep sage header, soft green zebra, warm numbers */
table.rates thead { background: var(--sage-deep); }
table.rates th { color: #fff !important; border-bottom: none !important; }
table.rates tr:nth-child(even) td { background: #F3F8ED !important; }
table.rates td strong { color: var(--terracotta); }
.table-wrap { border-color: var(--sage-tint); }

/* Cards get a touch more definition against the lighter page */
.card, .why-item, .faq-item { border-color: #E2EADA; }


.scene-footer { background: transparent; }

/* ---------- Why-us full-bleed hero ---------- */
.why-hero-full { padding: clamp(8px, 1.5vw, 20px) 0 0; }
.why-hero-wrap { position: relative; max-width: 1440px; margin: 0 auto; }
.why-hero-wrap > img { display: block; width: 100%; height: auto; }
.why-hero-text {
  position: absolute; top: clamp(4px, 1vw, 14px); left: 50%; transform: translateX(-50%);
  width: min(700px, 92%); text-align: center;
  background: rgba(255, 252, 244, 0.90); backdrop-filter: blur(6px);
  border-radius: 22px; padding: clamp(14px, 1.8vw, 22px) clamp(18px, 2.6vw, 34px);
  box-shadow: 0 10px 46px rgba(36, 56, 74, 0.14);
}
.why-hero-text h1 { margin: 0 auto; font-size: clamp(27px, 3.2vw, 46px); line-height: 1.08; }
.why-hero-text .lead { margin: 9px auto 0; max-width: 40em; font-size: clamp(14px, 1.35vw, 16.5px); }
.why-hero-cta .btn-primary { background: var(--anchor); }
.why-hero-cta .btn-primary:hover { background: #1C3F3A; }
.why-hero-cta {
  position: absolute; bottom: clamp(10px, 2.5vw, 34px); left: 50%; transform: translateX(-50%);
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
}
@media (max-width: 760px) {
  .why-hero-text { position: static; transform: none; width: auto; margin: 16px 16px 4px; background: transparent; backdrop-filter: none; box-shadow: none; padding: 8px 4px; }
  .why-hero-cta { position: static; transform: none; margin: 12px 16px 8px; }
}

/* ---------- Step-by-step journey flow ---------- */
.steps-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 8px; align-items: stretch; margin-top: clamp(26px, 3.5vw, 38px); }
.step-card {
  background: #FFFFFF; border: 1px solid #E2EADA; border-radius: 20px;
  padding: 24px 20px; box-shadow: 0 3px 14px rgba(36, 56, 74, 0.05);
  display: flex; flex-direction: column;
}
.step-num {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 22px; color: #FFFFFF; margin-bottom: 14px;
}
.step-card h3 { font-family: var(--font-body); font-weight: 800; font-size: 18px; margin-bottom: 8px; letter-spacing: 0; }
.step-card p { color: var(--grey); font-size: 15.5px; line-height: 1.55; }
.step-1 .step-num { background: #5E8FB4; }
.step-2 .step-num { background: #C98A64; }
.step-3 .step-num { background: #B9912F; }
.step-4 .step-num { background: var(--sage-deep); }
.step-arrow { align-self: center; color: var(--terracotta); display: grid; place-items: center; }
@media (max-width: 940px) {
  .steps-flow { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); padding: 2px 0; }
}

/* ---------- Basket icons ---------- */
.basket-ico { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; object-position: 50% 100%; display: block; margin-top: 22px; margin-bottom: 2px; }

/* ---------- Pathway story cards ---------- */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 30px); margin-top: clamp(26px, 3.5vw, 40px); }
.path-card { border-radius: 24px; padding: clamp(24px, 3vw, 34px) clamp(20px, 2.6vw, 30px); }
.path-card .path-ico { width: 74px; height: 74px; margin-bottom: 20px; }
.path-card h3 { font-family: var(--font-head); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.2; margin-bottom: 16px; }
.path-card .wte { display: block; font-size: 15px; font-weight: 800; letter-spacing: .03em; margin-bottom: 8px; color: var(--ink); }
.path-card p { color: #46555F; font-size: 16.5px; line-height: 1.6; }
.path-card .svc-link { margin-top: 14px; display: inline-block; }
.path-yellow { background: #FBF3D2; }
.path-peach  { background: #FAE3D3; }
.path-mint   { background: #E2F1E3; }
@media (max-width: 860px) { .path-grid { grid-template-columns: 1fr; } }

/* ---------- Two roads, one program (funding) ---------- */
.roads { max-width: 860px; margin: 34px auto 0; text-align: center; }
.roads-top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 28px); }
.road-card { border-radius: 18px; padding: 24px 22px; border: 1.5px solid; text-align: center; }
.road-card h3 { font-family: var(--font-head); font-size: clamp(19px, 2vw, 23px); margin: 10px 0 8px; }
.road-card p { color: var(--grey); font-size: 16px; }
.road-hcp { background: #FBF1EA; border-color: #EFD9C9; }
.road-new { background: #EFF6FB; border-color: #D0E4F1; }
.roads-arrows { display: block; margin: -4px auto; }
.road-home { display: inline-block; background: var(--anchor); color: #FFFFFF; border-radius: 18px; padding: 22px 34px; }
.road-home h3 { font-family: var(--font-head); font-size: clamp(20px, 2.1vw, 24px); color: #FFFFFF; }
.road-home p { color: var(--on-anchor); font-size: 15.5px; margin-top: 6px; }
.fund-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(20px, 3vw, 34px); align-items: start; margin-top: clamp(28px, 4vw, 44px); }
.fund-col h3 { font-family: var(--font-head); font-size: clamp(20px, 2.1vw, 24px); margin-bottom: 6px; }
.fund-col .fund-sub { color: var(--grey); font-size: 15.5px; margin-bottom: 16px; min-height: 3.2em; }
@media (max-width: 820px) {
  .roads-top, .fund-grid { grid-template-columns: 1fr; }
  .fund-col .fund-sub { min-height: 0; }
}

/* ---------- Services explorer ---------- */
.svc-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 52px) 0 clamp(14px, 2vw, 26px); }
.svc-hero h1 { margin-bottom: 14px; }
.svc-hero .lead { margin-bottom: 22px; }
.svc-hero-art img { width: 100%; height: auto; display: block; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); text-align: center; }
.cat-card .arch { border-radius: 500px 500px 22px 22px; overflow: hidden; aspect-ratio: 1 / 1.12; position: relative; }
.cat-card .arch::before, .cat-card .arch::after { content: ''; position: absolute; border-radius: 50%; }
.cat-card .arch::before { width: 78%; height: 60%; top: 9%; left: -14%; }
.cat-card .arch::after { width: 64%; height: 46%; top: 30%; right: -16%; }
.cat-card .arch img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; position: relative; z-index: 1; }
.arch-clinical { background: #DEEDF6; } .arch-clinical::before, .arch-clinical::after { background: #CBE2F0; }
.arch-independence { background: #F9E4D7; } .arch-independence::before, .arch-independence::after { background: #F4D2BE; }
.arch-everyday { background: #FCE49B; } .arch-everyday::before, .arch-everyday::after { background: #F8D45E; }
/* service rows take the selected category's colour */
.svc-rows.cat-clinical .svc-row { background: #EFF6FB; border-color: #D0E4F1; }
.svc-rows.cat-independence .svc-row { background: #FBF1EA; border-color: #EFD9C9; }
.svc-rows.cat-everyday .svc-row { background: #FCF6E2; border-color: #ECE0BC; }
.cat-card h3 { font-family: var(--font-head); font-size: clamp(23px, 2.4vw, 29px); font-weight: 600; letter-spacing: -0.01em; margin-top: 20px; }
.cat-card .pill-label { margin: 10px 0 0; }
.cat-card p { color: var(--grey); font-size: 16.5px; margin-top: 10px; max-width: 30em; margin-left: auto; margin-right: auto; }
.cat-btn { display: inline-block; margin-top: 16px; border: 2px solid var(--anchor); color: var(--anchor); background: #FFFFFF; border-radius: 999px; padding: 12px 28px; font-family: var(--font-body); font-size: 17px; font-weight: 800; cursor: pointer; transition: background .15s, color .15s; }
.cat-btn:hover { background: var(--sage-pale); }
.cat-btn.active { background: var(--anchor); color: #FFFFFF; }
.svc-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-top: clamp(28px, 3.4vw, 46px); align-items: start; }
.svc-row { background: #FFFFFF; border: 1px solid #DCE5DA; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(36,56,74,0.04); }
.svc-row > button { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 22px; background: none; border: 0; cursor: pointer; font-family: var(--font-head); font-size: clamp(18.5px, 1.9vw, 22px); font-weight: 600; color: var(--ink); text-align: left; }
.svc-row > button:focus-visible { outline: 3px solid var(--terracotta); outline-offset: -3px; border-radius: 14px; }
.svc-row > a { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 14px; padding: 19px 22px; text-decoration: none; font-family: var(--font-head); font-size: clamp(18.5px, 1.9vw, 22px); font-weight: 600; color: var(--ink); }
.svc-row > a:hover { color: var(--sage-deep); }
.svc-row > a:hover .arrow { transform: translateX(4px); }
.svc-row > a:focus-visible { outline: 3px solid var(--terracotta); outline-offset: -3px; border-radius: 14px; }
.svc-row .arrow { flex: 0 0 auto; transition: transform .18s; color: var(--anchor); font-size: 20px; line-height: 1; }
.svc-row.open .arrow { transform: rotate(90deg); }
.svc-row .svc-body { display: none; padding: 0 22px 19px; color: var(--grey); font-size: 16.5px; line-height: 1.55; }
.svc-row.open .svc-body { display: block; }
.svc-row[hidden] { display: none; }
@media (max-width: 860px) {
  .svc-hero { grid-template-columns: 1fr; text-align: center; }
  .svc-hero .btn-row { justify-content: center; }
  .svc-hero-art { max-width: 420px; margin: 0 auto; }
  .cat-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .svc-rows { grid-template-columns: 1fr; }
}


/* ---------- Basket identity colours ---------- */
.pill-label.independence { background: #F4D9CA; color: #A04A28; }
.pill-label.everyday { background: #EFE0B8; color: #8A6A1F; }
.basket-clinical { background: #E7F1F8 !important; border-color: #CBE0EF !important; }
.basket-independence { background: #FBEDE7 !important; border-color: #F0D6C9 !important; }
.basket-everyday { background: #F8F1E1 !important; border-color: #EADFC2 !important; }

/* ---------- Accessibility menu (left edge, clear of the corner widgets) ---------- */
.a11y-widget { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 980; }
.a11y-toggle { width: 46px; height: 52px; border-radius: 0 26px 26px 0; border: 0; cursor: pointer;
  background: var(--anchor); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: width .15s; }
.a11y-toggle:hover { width: 52px; }
.a11y-panel { position: absolute; left: 54px; top: 50%; transform: translateY(-50%); width: 226px; background: #fff;
  border-radius: 16px; box-shadow: 0 16px 44px rgba(0,0,0,.20); padding: 10px; display: none; }
.a11y-widget.open .a11y-panel { display: block; }
.a11y-head { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); padding: 6px 8px 10px; }
.a11y-panel button { display: block; width: 100%; text-align: left; background: var(--sage-pale);
  border: 1.5px solid transparent; border-radius: 10px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--ink);
  padding: 11px 13px; margin-bottom: 6px; }
.a11y-panel button:hover { background: var(--sage-tint); }
.a11y-panel button.on { border-color: var(--anchor); background: var(--sage-tint); }
.a11y-panel button[data-a11y="reset"] { background: transparent; color: var(--grey); font-weight: 800; text-align: center; margin-top: 2px; }

/* accessibility states applied to <html> */
html.a11y-links a, html.a11y-links .btn, html.a11y-links .nav-links a:not(.btn) {
  text-decoration: underline !important; text-underline-offset: 2px; font-weight: 800 !important; }
html.a11y-readable body, html.a11y-readable button, html.a11y-readable input, html.a11y-readable textarea,
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable h4 {
  font-family: Verdana, 'Segoe UI', Tahoma, Arial, sans-serif !important; letter-spacing: .005em; }
html.a11y-readable p, html.a11y-readable li { line-height: 1.85 !important; }

/* help quick-replies */
.help-quick { display: grid; gap: 8px; margin-bottom: 8px; }

@media (max-width: 560px){
  .a11y-toggle { width: 40px; height: 46px; }
  .a11y-panel { left: 48px; top: auto; bottom: -40px; transform: none; width: min(226px, calc(100vw - 62px)); }
}

/* Why us values grid — responsive on small screens */
@media (max-width: 760px){ #values-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* ---------- Soft blob shapes behind illustrations (Five Good Friends style) ---------- */
.svc-hero[data-cat] .svc-hero-art, .split-art[data-cat] { position: relative; }
.svc-hero[data-cat] .svc-hero-art > img, .split-art[data-cat] > img { position: relative; z-index: 1; }
.svc-hero[data-cat] .svc-hero-art::before,
.split-art[data-cat]::before {
  content: ""; position: absolute; z-index: 0;
  left: -8%; right: -8%; top: -6%; bottom: -6%;
  border-radius: 47% 53% 63% 37% / 52% 44% 56% 48%;
  background: #F4D9C6; opacity: .55;   /* independence — soft peach (default) */
}
.svc-hero[data-cat="clinical"] .svc-hero-art::before,
.split-art[data-cat="clinical"]::before { background: #CFE6F1; }   /* clinical — soft blue */
.svc-hero[data-cat="everyday"] .svc-hero-art::before,
.split-art[data-cat="everyday"]::before { background: #FBEAAE; }   /* everyday — soft yellow */

/* ---------- Staff voice quote ---------- */
.staff-voice {
  max-width: 860px; margin: clamp(28px,4vw,44px) auto 0;
  background: var(--sage-pale); border: 1px solid var(--cream-deep);
  border-left: 6px solid var(--sage-deep);
  border-radius: var(--r-card); padding: 28px clamp(24px,3vw,36px); text-align: center;
}
.staff-voice p {
  font-family: var(--font-head); font-size: clamp(18px,2vw,21px);
  line-height: 1.5; color: var(--ink); margin: 0; font-weight: 600;
}
.staff-voice cite {
  display: block; margin-top: 14px; font-style: normal;
  font-weight: 800; font-size: 15.5px; color: var(--sage-deep);
}
