/* Motion Physiotherapy: white, tangerine, ink and lilac. Bebas Neue for headings, Manrope for text.
   Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --soft: #F2F2F0;
  --ink: #111418;
  --muted: #4E535C;
  --line: #E4E4E0;
  --line-strong: #CFCFCA;
  --brand: #FF5F1F;
  --brand-hover: #E84E10;
  --brand-ink: #111418;
  --brand-text: #D9460C;
  --lilac: #C9B8FF;
  --eyebrow: #D9460C;
  --announce-bg: #111418;
  --announce-ink: #FFFFFF;
  --head: "Bebas Neue", Impact, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --fs-body: 1.04rem;
  --radius: 6px;
  --radius-lg: 10px;
  --btn-radius: 6px;
  --wrap: 1220px;
  --gap: 22px;
}
h1, h2 { font-weight: 400; letter-spacing: .01em; line-height: .95; }
h3 { font-family: var(--body); font-weight: 800; letter-spacing: -.01em; }
h1 em { font-style: normal; color: var(--brand); }
.btn { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.btn-primary { box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.eyebrow { font-weight: 800; }

/* header */
.header { background: #fff; border-bottom: 2px solid var(--ink); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.logo span { font: 400 1.9rem/1 var(--head); color: var(--ink); letter-spacing: .02em; }
.logo b { font-weight: 400; color: var(--brand); }
.nav a { font-weight: 700; }
.nav a[aria-current="page"] { background: var(--lilac); }

/* hero */
.hero { padding-block: clamp(28px, 4vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(3.6rem, 10vw, 7.6rem); margin: 14px 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-body { position: relative; display: block; max-width: 230px; margin-inline: auto; padding: 20px; border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--lilac); text-decoration: none; color: var(--ink); }
.hero-body .body-svg { width: 100%; height: auto; display: block; }
.hero-body .body-svg g { fill: #fff; }
.hb-dot { position: absolute; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 6px rgba(255,95,31,.25); animation: throb 2s infinite; }
.hb-1 { left: 50%; top: 44%; }
.hb-2 { left: 41%; top: 71%; animation-delay: .6s; }
.hb-3 { left: 31%; top: 23%; animation-delay: 1.2s; }
@keyframes throb { 50% { box-shadow: 0 0 0 12px rgba(255,95,31,0); } }
@media (prefers-reduced-motion: reduce) { .hb-dot { animation: none; } }
.hb-tag { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); padding: 6px 12px; background: var(--ink); color: #fff; font-weight: 800; font-size: .85rem; white-space: nowrap; border-radius: var(--radius); }
.ticker-band { padding-block: 0; background: var(--brand); border-block: 2px solid var(--ink); overflow: hidden; }
.ticker { overflow: hidden; }
.ticker p { width: max-content; padding: 14px 0; font: 400 1.6rem var(--head); letter-spacing: .04em; color: var(--ink); white-space: nowrap; animation: slide 30s linear infinite; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker p { animation: none; } }

/* pain map */
.pm { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .pm { grid-template-columns: minmax(0, 1fr); } }
.pm-body { display: grid; gap: 16px; }
.pm-figure { position: relative; max-width: 280px; width: 100%; margin-inline: auto; padding: 16px; border: 2px solid var(--ink); border-radius: var(--radius-lg); background: var(--soft); }
.pm-figure svg { display: block; width: 100%; height: auto; }
.pm-hit { position: absolute; inset: 16px; width: calc(100% - 32px) !important; }
.pm-hit path { fill: var(--brand); fill-opacity: 0; stroke: var(--brand); stroke-opacity: 0; stroke-width: 2; cursor: pointer; transition: fill-opacity .15s; }
.pm-hit path:hover, .pm-hit path:focus-visible { fill-opacity: .35; stroke-opacity: 1; outline: none; }
.pm-hit path[aria-pressed="true"] { fill-opacity: .7; stroke-opacity: 1; }
.pm-list { justify-content: center; }
.pm-list button { padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.pm-list button[aria-pressed="true"] { background: var(--brand); }
.pm-in { display: grid; gap: 14px; }
.pm-out { display: grid; gap: 12px; padding: clamp(20px, 3vw, 28px); border: 2px solid var(--ink); border-radius: var(--radius-lg); box-shadow: 6px 6px 0 var(--lilac); }
.pm-out h2 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.pm-out [data-pm-detail] { display: grid; gap: 12px; }
.pm-plan { padding: 12px 14px; background: var(--lilac); font-weight: 700; border-radius: var(--radius); }
.pm-flag { padding: 12px 14px; border-left: 4px solid #C0392B; background: #FDECEA; }

/* inner pages */
.page-head { margin-bottom: clamp(24px, 4vw, 40px); border-bottom: 2px solid var(--ink); }
.page-head h1 { font-size: clamp(3rem, 7vw, 5rem); }
.sec-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }

/* CTA + footer */
.cta-band { padding-block: clamp(44px, 6vw, 80px); background: var(--lilac); border-top: 2px solid var(--ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 22px; }
.cta-band h2 { font-size: clamp(2.6rem, 6vw, 4rem); }
.cta-band p { margin-top: 6px; font-weight: 500; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer { background: var(--ink); color: #B8BCC4; --footer-line: rgba(255,255,255,.14); }
.f-big { font: 400 clamp(4rem, 14vw, 10rem)/.9 var(--head); color: var(--brand); margin-bottom: 30px; }
.footer .logo span { color: #fff; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a { color: #fff; }
@media (max-width: 420px) { .header .logo span { font-size: 1.45rem; } .header .logo-mark { width: 34px; height: 34px; } .header-cta .btn { padding-inline: 12px; } }
