/* ============================================================
   WJM — Allied Health landing page
   Page-specific sections layered on top of main.css + inner.css.
   ============================================================ */

/* ── AHPRA compare ─────────────────────────────────────────── */
.svc-ahpra { background: var(--dark); position: relative; overflow: hidden; }
.svc-ahpra .section-title { color: var(--cream); }
.svc-ahpra .section-tag { color: rgba(245,240,232,.4); }
.svc-ahpra-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; margin-bottom: 4.5rem;
}
.svc-ahpra-sub {
  max-width: 420px; font-size: .95rem;
  line-height: 1.75; color: rgba(245,240,232,.55);
  padding-bottom: .4rem;
}
.ahpra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.ahpra-card {
  background: rgba(245,240,232,.04);
  border: 1px solid rgba(245,240,232,.08);
  border-radius: 10px;
  padding: 3rem 2.6rem;
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s, transform .25s;
}
.ahpra-card:hover {
  transform: translateY(-4px);
  background: rgba(245,240,232,.07);
  border-color: rgba(245,240,232,.14);
}
.ahpra-card-label {
  font-family: var(--f-mono); font-size: .6rem;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1.6rem; display: inline-block;
}
.ahpra-card.bad .ahpra-card-label { color: var(--purple-lt); }
.ahpra-card.good .ahpra-card-label { color: rgba(245,240,232,.55); }
.ahpra-card h3 {
  font-family: var(--f-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--cream); line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.8rem;
}
.ahpra-list {
  display: flex; flex-direction: column; gap: 1rem;
  list-style: none; padding: 0;
}
.ahpra-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  font-size: .92rem; line-height: 1.65;
  color: rgba(245,240,232,.78);
}
.ahpra-mark {
  flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display); font-size: .8rem; font-weight: 700;
  line-height: 1; margin-top: .2rem;
}
.ahpra-card.bad .ahpra-mark { background: rgba(181,67,141,.15); color: var(--purple-lt); }
.ahpra-card.good .ahpra-mark { background: rgba(245,240,232,.1); color: var(--cream); }
.ahpra-card-num {
  position: absolute; bottom: 1.5rem; right: 2rem;
  font-family: var(--f-display); font-size: 5rem;
  font-weight: 800; color: rgba(245,240,232,.04);
  line-height: 1; user-select: none;
}
.ahpra-fineprint {
  margin-top: 3rem; font-size: .85rem;
  color: rgba(245,240,232,.45); max-width: 68ch;
  line-height: 1.7;
}

/* ── Integrations ──────────────────────────────────────────── */
.svc-integ { background: var(--cream); }
.svc-integ-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; margin-bottom: 4rem;
}
.svc-integ-sub {
  max-width: 420px; font-size: .95rem;
  line-height: 1.75; color: var(--muted);
  padding-bottom: .4rem;
}
.integ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.integ-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.6rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.integ-chip:hover {
  transform: translateY(-3px);
  border-color: var(--purple);
  background: var(--cream);
}
.integ-dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: var(--purple);
  flex-shrink: 0;
}
.integ-name {
  font-family: var(--f-display);
  font-size: 1rem; font-weight: 700;
  color: var(--green); letter-spacing: -.01em;
}
.integ-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: .92rem; color: var(--muted);
  max-width: 62ch; line-height: 1.7;
}
.integ-note strong { color: var(--text); font-weight: 600; }

/* ── Who we build for ──────────────────────────────────────── */
.svc-who { background: var(--bg); }
.svc-who-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 6rem;
  align-items: start;
}
.svc-who-body {
  font-size: 1rem; line-height: 1.8;
  color: var(--muted); margin-bottom: 1.2rem;
}
.svc-who-body strong { color: var(--text); font-weight: 600; }
.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
.disc {
  font-family: var(--f-body);
  font-size: .88rem;
  font-weight: 500;
  color: var(--green);
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  border-radius: 10px;
  text-align: left;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.disc:nth-child(3n-1) {
  background: var(--green);
  color: var(--cream);
  border-color: transparent;
}
.disc:hover {
  transform: translateY(-2px);
  background: var(--purple);
  color: var(--cream);
  border-color: var(--purple);
}

/* ── Proof — clinic cards on dark ──────────────────────────── */
.svc-proof { background: var(--dark); }
.svc-proof .section-title { color: var(--cream); }
.svc-proof .section-tag { color: rgba(245,240,232,.4); }
.svc-proof-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; margin-bottom: 4rem;
}
.svc-proof-sub {
  max-width: 380px; font-size: .92rem;
  line-height: 1.75; color: rgba(245,240,232,.5);
  padding-bottom: .4rem;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.proof-card {
  background: rgba(245,240,232,.05);
  border: 1px solid rgba(245,240,232,.08);
  border-radius: 8px;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: background .3s, border-color .3s, transform .25s;
}
.proof-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--purple);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.proof-card:hover {
  background: rgba(245,240,232,.09);
  border-color: rgba(245,240,232,.14);
  transform: translateY(-3px);
}
.proof-card:hover::before { transform: scaleX(1); }
.proof-tag {
  font-family: var(--f-mono); font-size: .58rem;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--purple-lt); margin-bottom: 1.4rem;
  display: block;
}
.proof-card h3 {
  font-family: var(--f-display); font-size: 1.15rem;
  font-weight: 700; color: var(--cream);
  margin-bottom: .6rem; line-height: 1.2;
  letter-spacing: -.01em;
  transition: color .3s;
}
.proof-card:hover h3 { color: var(--purple-lt); }
.proof-card p {
  font-size: .82rem; line-height: 1.7;
  color: rgba(245,240,232,.5);
}

/* ── Process — 5-step staggered cascade ────────────────────── */
.svc-process { background: var(--cream); }
.svc-process .section-title { color: var(--green); }
.svc-process .section-tag { color: var(--purple); }
.svc-process-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; margin-bottom: 5rem;
}
.svc-process-sub {
  max-width: 360px; font-size: .92rem;
  line-height: 1.75; color: var(--muted);
  padding-bottom: .4rem;
}
.svc-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.svc-timeline::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; width: 0;
  height: 2px; background: var(--purple);
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
.svc-timeline.in::before { width: 100%; }
.timeline-step {
  padding: 2.5rem 1.6rem 2.5rem 1.8rem;
  position: relative;
  border-right: 1px solid var(--border);
}
.timeline-step:last-child { border-right: none; }
.timeline-step::before {
  content: '';
  position: absolute;
  top: -4.5px; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--border);
  transition: background .3s, border-color .3s;
}
.timeline-step:hover::before {
  background: var(--purple);
  border-color: var(--purple);
}
.tl-num {
  font-family: var(--f-display);
  font-size: 3.5rem; font-weight: 800;
  color: rgba(26,46,30,.06); line-height: 1;
  letter-spacing: -.04em;
  margin-top: .6rem;
  margin-bottom: .4rem;
}
.timeline-step h3 {
  font-family: var(--f-display); font-size: 1.15rem;
  font-weight: 700; color: var(--green);
  margin-bottom: .7rem; line-height: 1.15;
  letter-spacing: -.02em;
}
.timeline-step p {
  font-size: .82rem; line-height: 1.7; color: var(--muted);
}
.svc-process-footer {
  margin-top: 3.5rem;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 2rem; border-top: 1px solid var(--border);
  gap: 1.5rem; flex-wrap: wrap;
}
.svc-process-note {
  font-size: .88rem; color: var(--muted);
  font-style: italic;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .svc-who-inner { grid-template-columns: 1fr; gap: 3rem; }
  .ahpra-grid { grid-template-columns: 1fr; }
  .integ-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline-step:nth-child(3) { border-right: none; }
  .timeline-step:nth-child(4) { border-top: 1px solid var(--border); padding-top: 2.5rem; }
  .timeline-step:nth-child(5) { border-top: 1px solid var(--border); padding-top: 2.5rem; }
}
@media (max-width: 768px) {
  .svc-ahpra-head,
  .svc-integ-head,
  .svc-proof-head,
  .svc-process-head { flex-direction: column; align-items: flex-start; }
  .integ-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .disc-grid { grid-template-columns: 1fr 1fr; }
  .svc-timeline { grid-template-columns: 1fr; }
  .timeline-step { border-right: none; border-top: 1px solid var(--border); padding-top: 2rem; }
  .timeline-step:first-child { border-top: none; }
}
