/* ============================================================
   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: #FBF8F3;
  --cream-deep: #F1EAE0;
  --ink: #2A3B33;            /* deep green-charcoal — text only */
  --anchor: #24504B;         /* eucalyptus — budget band, final CTA, footer ONLY */
  --terracotta: #B95C35;     /* softened clay */
  --terracotta-deep: #A24E2C;
  --marigold: #DCA84E;       /* small accents only */
  --sage: #7FA986;
  --sage-deep: #46704E;
  --sage-tint: #DEEAD3;
  --sage-pale: #EBF2E1;
  --sand: #F4E6C6;
  --sand-gold: #E8C98A;
  --on-anchor: #D7E3DE;
  --footer-body: #D9E4E0;
  --footer-fine: #9DB4AD;
  --card: #FFFFFF;
  --grey: #5F6E64;

  --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(16.5px, 1.35vw, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -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(17.5px, 1.6vw, 20px); color: var(--grey); line-height: 1.55; }

.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(15.5px, 1.3vw, 17px);
  padding: 15px 28px; 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: var(--cream);
  border-bottom: 1px solid var(--cream-deep);
}
.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: 42px; height: 42px; flex: 0 0 auto;
  color: var(--sage-deep);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--font-head); font-weight: 600; font-size: 19px;
  color: var(--ink); line-height: 1.05; letter-spacing: -0.01em; display: block;
}
.brand-sub {
  font-size: 10.5px; font-weight: 800; color: var(--sage-deep);
  letter-spacing: .14em; display: block; margin-top: 2px; text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a:not(.btn) {
  display: block; padding: 9px 13px; border-radius: var(--r-pill);
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 15.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-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-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; }
}

/* ---------- 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: 14.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-cream { background: var(--cream-deep); }
.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: 15.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%;
}
.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: 15.5px; }
.svc-link:hover { text-decoration: underline; }

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

/* 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: 17.5px; margin-bottom: 3px; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; }
.why-item p { color: var(--grey); font-size: 15.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: 15px; }
.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(16px, 1.5vw, 17.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 19px; color: var(--grey); font-size: 15.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: 12px 20px; text-align: left; font-size: 15.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-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;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  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; }
.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: 8px; font-size: 15px; }
.footer-office p { font-size: 14.5px; margin-bottom: 4px; }
.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: var(--sage-tint); color: var(--sage-deep); }
.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; }
