/* ==========================================================================
   HomePhysio Care - static site stylesheet
   Design tokens ported 1:1 from the original Tailwind theme.
   Mobile first. Breakpoints: 640px (sm), 768px (md), 1024px (lg).
   ========================================================================== */

:root {
  --radius: 1rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: calc(var(--radius) + 8px);
  --radius-3xl: calc(var(--radius) + 12px);

  --background: oklch(1 0 0);
  --foreground: oklch(0.26 0.055 258);
  --card: oklch(1 0 0);
  --primary: oklch(0.55 0.14 245);
  --primary-foreground: oklch(0.99 0.005 240);
  --primary-soft: oklch(0.95 0.03 235);
  --secondary: oklch(0.96 0.015 240);
  --secondary-foreground: oklch(0.3 0.06 258);
  --muted: oklch(0.968 0.01 235);
  --muted-foreground: oklch(0.53 0.03 250);
  --accent: oklch(0.66 0.11 190);
  --accent-foreground: oklch(0.99 0.005 240);
  --accent-soft: oklch(0.955 0.035 190);
  --navy: oklch(0.28 0.07 258);
  --navy-foreground: oklch(0.98 0.005 240);
  --border: oklch(0.92 0.012 240);
  --ring: oklch(0.55 0.14 245);

  --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, sans-serif;

  --gradient-hero: linear-gradient(
    100deg,
    color-mix(in oklab, var(--navy) 88%, transparent) 0%,
    color-mix(in oklab, var(--navy) 68%, transparent) 45%,
    color-mix(in oklab, var(--navy) 42%, transparent) 100%
  );
  --gradient-brand: linear-gradient(120deg, var(--primary), var(--accent));

  --shadow-soft: 0 1px 2px oklch(0.28 0.07 258 / 0.04),
    0 12px 32px -16px oklch(0.28 0.07 258 / 0.18);
  --shadow-lift: 0 2px 4px oklch(0.28 0.07 258 / 0.05),
    0 24px 48px -20px oklch(0.28 0.07 258 / 0.28);

  --section-pad: 2.75rem;
  --pad-x: 1rem;
}

/* ---------- reset ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  color: var(--navy);
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 700;
  line-height: 1.2;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- layout primitives ---------- */

.container {
  width: 100%;
  margin-inline: auto;
  max-width: 75rem;
  padding-inline: var(--pad-x);
}

.container--narrow {
  max-width: 52rem;
}

.section {
  padding-block: var(--section-pad);
}

.section--alt {
  background-color: color-mix(in oklab, var(--secondary) 40%, transparent);
}

main {
  flex: 1 0 auto;
}

@media (min-width: 640px) {
  :root {
    --pad-x: 1.25rem;
  }
}

@media (min-width: 768px) {
  :root {
    --section-pad: 3.5rem;
    --pad-x: 1.5rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-pad: 4.5rem;
    --pad-x: 2rem;
  }
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--gap-lg {
  gap: 2rem;
}

@media (min-width: 640px) {
  .grid--2-sm,
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3-md {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4-md {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid--2-lg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stack > * + * {
  margin-top: 1rem;
}

/* ---------- typography helpers ---------- */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
}

.lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.prose p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.prose ul,
.prose ol {
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.prose li {
  font-size: inherit;
  line-height: inherit;
}

.prose p + p,
.prose ul {
  margin-top: 1rem;
}

/* headings must never sit flush against the text they introduce */
.prose h2,
.prose h3,
.prose h4 {
  margin-bottom: 0.875rem;
}

.prose h2 + p,
.prose h3 + p,
.prose h4 + p,
.prose h2 + ul,
.prose h3 + ul {
  margin-top: 0;
}

.prose > h2:not(:first-child),
.prose > h3:not(:first-child) {
  margin-top: 2rem;
}

.card h2 + p,
.card h3 + p,
.card > h2 + ul,
.card > h3 + ul {
  margin-top: 0.75rem;
}

.h2 + p,
.h2-sm + p,
.h3 + p {
  margin-top: 0.875rem;
}

.section-heading {
  max-width: 48rem;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-top: 0.75rem;
  font-size: 1.5rem;
}

.section-heading p {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.h2 {
  font-size: 1.5rem;
}

.h2-sm {
  font-size: 1.25rem;
}

.h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.subcol > h3 {
  margin-bottom: 0.875rem;
}

@media (min-width: 640px) {
  .section-heading h2 {
    font-size: 1.875rem;
  }
  .h2 {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .section-heading h2 {
    font-size: 2.25rem;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn--accent {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn--navy {
  background-color: var(--navy);
  color: var(--navy-foreground);
}

.btn--light {
  background-color: var(--background);
  color: var(--primary);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: none;
}

.btn--outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-row--center {
  justify-content: center;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  background-color: color-mix(in oklab, var(--background) 90%, transparent);
  backdrop-filter: blur(10px);
}

.site-header__bar {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand__logo {
  display: block;
  height: 1.9rem;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .brand__logo {
    height: 2.15rem;
  }
}

.site-footer__logo {
  display: block;
  height: 2.1rem;
  width: auto;
  margin-bottom: 0.75rem;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  border-radius: 999px;
  padding: 0.5rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

@media (min-width: 1280px) {
  .nav-desktop a {
    padding: 0.5rem 0.8rem;
    font-size: 0.875rem;
  }
}

.nav-desktop a:hover {
  color: var(--primary);
}

.nav-desktop a.is-active {
  background-color: var(--primary-soft);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-call {
  display: none;
  white-space: nowrap;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background-color: var(--primary);
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.header-call svg {
  width: 1rem;
  height: 1rem;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.nav-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.nav-toggle .icon-close,
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  display: grid;
  gap: 0.25rem;
  padding-block: 0.75rem;
}

.nav-mobile a {
  display: block;
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-mobile a.is-active {
  background-color: var(--primary-soft);
  color: var(--primary);
}

@media (min-width: 640px) {
  .header-call {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* ---------- home hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-hero);
}

.hero__inner {
  padding-block: 3rem;
}

.hero__content {
  max-width: 40rem;
}

.hero h1 {
  margin-top: 1.25rem;
  color: #fff;
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
}

.hero p {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.hero .btn-row {
  margin-top: 2rem;
}

.hero__hours {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.pill-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: color-mix(in oklab, white 14%, transparent);
  backdrop-filter: blur(14px);
  border: 1px solid color-mix(in oklab, white 24%, transparent);
}

.pill-glass svg {
  width: 0.875rem;
  height: 0.875rem;
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .hero__inner {
    padding-block: 4.5rem;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
}

/* ---------- inner hero ---------- */

.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
}

.inner-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.inner-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--gradient-hero);
}

.inner-hero__inner {
  padding-block: 2.5rem;
}

.inner-hero__content {
  max-width: 48rem;
}

.breadcrumb {
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: #fff;
}

.inner-hero .eyebrow {
  color: rgba(255, 255, 255, 0.8);
}

.inner-hero h1 {
  margin-top: 0.75rem;
  color: var(--navy-foreground);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.15;
}

.inner-hero__sub {
  margin-top: 1.25rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.inner-hero .btn-row {
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .inner-hero__inner {
    padding-block: 3rem;
  }
  .inner-hero h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .inner-hero__inner {
    padding-block: 3.75rem;
  }
  .inner-hero h1 {
    font-size: 3rem;
  }
}

/* ---------- cards ---------- */

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background-color: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.card--lg {
  border-radius: var(--radius-3xl);
  padding: 1.25rem;
}

.card--xl {
  border-radius: var(--radius-3xl);
  padding: 1.5rem;
}

.card--link {
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease;
}

.card--link:hover {
  box-shadow: var(--shadow-lift);
}

.card--link:hover .card__title {
  color: var(--primary);
}

.card__title {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.card__title--tight {
  margin-top: 0;
}

.card__body {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.card__body--grow {
  flex: 1 1 auto;
}

.card__more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}

.card__more svg {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background-color: var(--primary-soft);
  color: var(--primary);
}

.icon-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-badge--lg {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-xl);
}

.icon-badge--accent {
  background-color: var(--accent-soft);
  color: var(--accent);
}

.step-number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 700;
}

.card--flat {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background-color: var(--card);
  padding: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, color 0.2s ease;
}

.card--flat:hover {
  color: var(--primary);
  box-shadow: var(--shadow-lift);
}

.meta-line {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

/* ---------- check list ---------- */

.checklist {
  display: grid;
  gap: 0.75rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.checklist svg {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--accent);
}

@media (min-width: 640px) {
  .checklist--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.plain-list {
  display: grid;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ---------- faq ---------- */

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background-color: var(--card);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-item p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* ---------- cta band ---------- */

.cta-band {
  border-radius: 2rem;
  padding: 3rem 1.5rem;
  text-align: center;
  background: var(--gradient-brand);
  color: var(--navy-foreground);
}

.cta-band h2 {
  color: var(--navy-foreground);
  font-size: 1.5rem;
}

.cta-band p {
  margin-inline: auto;
  margin-top: 0.75rem;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--navy-foreground);
}

.cta-band .btn-row {
  margin-top: 1.75rem;
}

.cta-band__hours {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--navy-foreground);
}

@media (min-width: 640px) {
  .cta-band h2 {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .cta-band {
    padding-inline: 3rem;
  }
}

/* ---------- article ---------- */

.article {
  max-width: 48rem;
}

.article > section + section {
  margin-top: 2.5rem;
}

.article h2 {
  font-size: 1.25rem;
}

.article p {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

/* Blog body lists must match paragraph typography and retain real bullets/numbers. */
.article ul:not(.checklist),
.article ol:not(.checklist) {
  margin: 1rem 0;
  padding-left: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.article ul:not(.checklist) {
  list-style: disc;
}

.article ol:not(.checklist) {
  list-style: decimal;
}

.article ul:not(.checklist) li,
.article ol:not(.checklist) li {
  margin: 0 0 0.25rem;
  padding-left: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.75;
}

.article ul:not(.checklist) ul,
.article ol:not(.checklist) ol,
.article ul:not(.checklist) ol,
.article ol:not(.checklist) ul {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.article .checklist {
  margin-top: 1.25rem;
  list-style: none;
  padding-left: 0;
}

/* ---------- media blocks ---------- */

.media-figure {
  width: 100%;
  border-radius: 2rem;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.media-figure--soft {
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-soft);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }
}

/* ---------- contact list ---------- */

.contact-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-list svg {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  color: var(--primary);
}

.contact-list a:hover {
  color: var(--primary);
}

/* ---------- tag row ---------- */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.tag {
  border: 1px solid var(--border);
  border-radius: 999px;
  background-color: var(--card);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.tag:hover {
  color: var(--primary);
}

.label-strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- footer ---------- */

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--secondary) 50%, transparent);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  padding-block: 2.75rem;
}

.site-footer__brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}

.site-footer p,
.site-footer li {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.site-footer__grid > div > p + p {
  margin-top: 0.5rem;
}

.site-footer h2 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.site-footer ul {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.site-footer ul a:hover {
  color: var(--primary);
}

.site-footer__phone {
  font-weight: 600;
  color: var(--primary);
}

.site-footer__legal {
  border-top: 1px solid var(--border);
}

.site-footer__legal .container {
  padding-block: 1.5rem 7rem;
}

.site-footer__legal p {
  font-size: 0.75rem;
  line-height: 1.7;
}

.site-footer__legal p + p {
  margin-top: 0.75rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .site-footer__legal .container {
    padding-block: 1.5rem;
  }
}

/* ---------- mobile sticky cta ---------- */

.mobile-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--background) 95%, transparent);
  backdrop-filter: blur(10px);
  padding: 0.75rem;
}

.mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border-radius: 999px;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.mobile-cta svg {
  width: 1rem;
  height: 1rem;
}

.mobile-cta__call {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.mobile-cta__wa {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.mobile-cta__book {
  border: 1px solid var(--primary);
  color: var(--primary);
}

@media (min-width: 768px) {
  .mobile-cta {
    display: none;
  }
}

/* ---------- 404 ---------- */

.notfound {
  display: flex;
  min-height: 60vh;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}

.notfound h1 {
  font-size: 4.5rem;
}

.notfound h2 {
  margin-top: 1rem;
  font-size: 1.25rem;
}

.notfound p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.notfound .btn {
  margin-top: 1.5rem;
}

/* ---------- utilities ---------- */

.mt-10 {
  margin-top: 2.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 1.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- additions for PhysioSolution ---------- */

.nap {
  font-style: normal;
}

.nap p + p {
  margin-top: 0.35rem;
}

.section-heading--tight h2 {
  margin-top: 0;
}

.prose h3 {
  margin-top: 1.5rem;
  font-size: 1rem;
}

.numbered {
  counter-reset: step;
  display: grid;
  gap: 0.75rem;
}

.numbered li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 1.75rem 1fr;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.numbered li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.numbered strong {
  color: var(--navy);
  font-weight: 600;
}

.notice {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  background: color-mix(in oklab, var(--muted) 60%, transparent);
  padding: 1rem 1.25rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.map-embed {
  width: 100%;
  border: 0;
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 10;
}

/* ---------- hero service chips ---------- */

.hero-services {
  margin-top: 1.5rem;
}

.hero-services__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.hero-services__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.625rem;
}

.hero-services__row a {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  transition: background-color 0.2s ease;
}

.hero-services__row a:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- featured primary service ---------- */

.featured-service {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem;
}

.featured-service__tag {
  display: inline-block;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.featured-service h3 {
  margin-top: 0.75rem;
  font-size: 1.375rem;
}

.featured-service p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.featured-service .btn-row {
  margin-top: 1.25rem;
}

@media (min-width: 900px) {
  .featured-service {
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    padding: 2rem;
  }
}

/* ---------- floating contact buttons ---------- */

.float-cta {
  position: fixed;
  right: 1rem;
  bottom: 5.5rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-cta__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 6px 20px -6px oklch(0.28 0.07 258 / 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-cta__btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

.float-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px oklch(0.28 0.07 258 / 0.55);
}

.float-cta__wa {
  background-color: var(--accent);
}

.float-cta__call {
  background-color: var(--navy);
}

.float-cta__tip {
  position: absolute;
  right: calc(100% + 0.625rem);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  border-radius: 999px;
  background: var(--navy);
  color: var(--navy-foreground);
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.float-cta__btn:hover .float-cta__tip,
.float-cta__btn:focus-visible .float-cta__tip {
  opacity: 1;
}

@media (min-width: 768px) {
  .float-cta {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 767px) {
  /* the sticky bar already covers call and WhatsApp on small screens */
  .float-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .float-cta__btn:hover {
    transform: none;
  }
}

/* ---------- post cards with a featured image ---------- */

.card__img {
  width: calc(100% + 2.5rem);
  margin: -1.25rem -1.25rem 1rem;
  max-width: none;
  border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
