:root {
  color-scheme: light;
  --navy: #071c39;
  --navy-soft: #0d3158;
  --turquoise: #13aeb8;
  --turquoise-dark: #087b86;
  --gold: #e9b858;
  --paper: #f7fafb;
  --surface: #ffffff;
  --ink: #10243a;
  --muted: #50647a;
  --danger: #a32121;
  --success: #176b48;
  --shadow: 0 1rem 3rem rgb(3 20 42 / 12%);
  --radius: 1.25rem;
  --content: 72rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
button, .button { min-height: 2.75rem; min-width: 2.75rem; }
:focus-visible {
  outline: .2rem solid var(--navy);
  outline-offset: 0;
  box-shadow: 0 0 0 .4rem var(--gold);
}
section[id] { scroll-margin-top: 6rem; }
[hidden] { display: none !important; }

body { font-size: 1rem; }

.container { width: min(100% - 2rem, var(--content)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: white;
  background: rgb(7 28 57 / 97%);
  border-bottom: .0625rem solid rgb(255 255 255 / 10%);
}
.hero {
  overflow: clip;
  color: white;
  background-color: var(--navy);
  background-image:
    linear-gradient(0deg, rgb(7 28 57 / 94%), rgb(7 28 57 / 0%) 40%),
    linear-gradient(90deg, rgb(7 28 57 / 60%) 34%, rgb(7 28 57 / 18%) 54%, rgb(7 28 57 / 12%)),
    url("../images/hero-treatment-v2.jpg");
  background-size: cover;
  background-position: center, center, 62% top;
  background-repeat: no-repeat;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) 0;
}
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: 999px; padding: .75rem 1.1rem; font-weight: 750; text-decoration: none; }
.button-primary { background: var(--turquoise); color: var(--navy); }
.button-secondary { border: .125rem solid var(--gold); color: white; }

@media (min-width: 48rem) {
  .hero-grid { grid-template-columns: minmax(17rem, .82fr) minmax(0, 1.18fr); gap: clamp(3rem, 7vw, 6rem); }
}

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

.skip-link {
  position: absolute;
  z-index: 30;
  top: .5rem;
  left: .5rem;
  padding: .65rem .9rem;
  color: var(--navy);
  background: var(--gold);
  border-radius: .5rem;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1rem;
  min-height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: .01em;
  text-decoration: none;
}

.brand img { width: 2.85rem; height: 2.85rem; object-fit: contain; }

.menu-toggle {
  color: white;
  background: transparent;
  border: .125rem solid var(--gold);
  border-radius: .5rem;
  padding: .5rem .75rem;
  font-weight: 750;
}
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem; }

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .625rem;
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.site-header .site-nav a:hover { color: var(--gold); }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-title { margin-top: 0; font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; }
.approach-section { background: var(--surface); }
.approach-intro { max-width: 46rem; margin: 0 auto clamp(2rem, 5vw, 4rem); text-align: center; }
.approach-intro .section-title { margin-bottom: 1rem; text-wrap: balance; }
.approach-intro p { margin: 0; color: var(--muted); font-size: 1.125rem; }
.approach-grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.approach-card { border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2rem); }
.approach-vision { background: #eff4fc; }
.approach-mission { background: #edf9f5; }
.approach-values { background: #fff8e8; }
.approach-icon { display: inline-grid; width: 3rem; height: 3rem; place-items: center; border-radius: .85rem; background: var(--navy-soft); color: white; }
.approach-mission .approach-icon { background: var(--turquoise-dark); }
.approach-values .approach-icon { background: var(--gold); color: var(--navy); }
.approach-icon svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.approach-card h3 { margin: 1.25rem 0 .6rem; font-size: 1.25rem; line-height: 1.3; }
.approach-card p { margin: 0; color: var(--muted); }
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.hero-copy { max-width: 46rem; }
.hero-welcome { max-width: 27rem; }
.hero-welcome-title { margin: 0 0 1.25rem; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 400; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.hero-welcome-description { margin: 0; color: rgb(255 255 255 / 94%); font-size: 1rem; line-height: 1.8; text-wrap: pretty; }
.hero h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.75rem; }
.hero .button { border-radius: .75rem; padding: .85rem 1.25rem; }
.hero-actions .button svg { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hero .button-secondary { color: #55dce3; border-color: var(--turquoise); background: rgb(7 28 57 / 78%); }
.hero .button-secondary:hover { color: white; border-color: white; }
.hero-facts {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: .0625rem solid rgb(233 184 88 / 50%);
}
.hero-facts > li { display: flex; align-items: center; gap: .8rem; padding-block: 1.15rem; color: rgb(255 255 255 / 90%); font-weight: 750; }
.hero-facts > li + li { border-top: .0625rem solid rgb(255 255 255 / 13%); }
.fact-icon { display: inline-flex; width: 2rem; height: 2rem; flex: 0 0 auto; color: var(--gold); }
.fact-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero-professions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem .8rem; width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 0; list-style: none; text-align: left; }
.hero-professions > li { position: relative; display: flex; align-items: center; justify-content: center; gap: .65rem; min-width: 0; }
.hero-professions > li:first-child { grid-column: 1 / -1; }
.hero-professions > li + li::before { content: ""; display: none; position: absolute; inset-block: 0; inset-inline-start: -.4rem; border-inline-start: .0625rem solid rgb(233 184 88 / 55%); }
.hero-professions > li:last-child::before { display: block; }
.hero-professions > li > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.hero-professions .fact-icon { width: 1.5rem; height: 1.5rem; }
.hero-facts > .practitioner-item { display: block; padding: 0; }
.practitioner-name {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 4.5rem;
  padding-block: 1.15rem;
}

/* Team profiles reuse the existing clinic type and colour palette. */
.team-section { background: #edf6fa; }
.team-intro { margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.team-intro .section-title { margin-bottom: 0; color: var(--navy); text-wrap: balance; }
.team-intro p { max-width: 44rem; margin: 1rem auto 0; color: var(--muted); font-size: 1.125rem; text-wrap: balance; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.75rem); max-width: 62rem; margin-inline: auto; }
.team-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid #dfeaf0; border-radius: var(--radius); box-shadow: 0 .75rem 2rem rgb(7 28 57 / 6%); }
.team-photo { position: relative; overflow: hidden; aspect-ratio: 5 / 4; background: #e4eff3; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo-founder img { object-fit: contain; }
.team-photo-physiotherapist img { object-position: center 25%; }
.team-badge { position: absolute; top: 1rem; right: 1rem; z-index: 1; padding: .35rem .8rem; border: 1px solid rgb(255 255 255 / 65%); border-radius: 999px; color: var(--navy); background: #f9e7bc; box-shadow: 0 .25rem .75rem rgb(7 28 57 / 10%); font-size: .875rem; font-weight: 750; line-height: 1.4; }
.team-badge-clinical { color: #075b63; background: #e4faf5; }
.team-card-copy { flex: 1; padding: clamp(1.25rem, 2.5vw, 2rem); }
.team-card h3 { margin: 0 0 .35rem; color: var(--navy); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; text-wrap: balance; }
.team-role { margin: 0; color: var(--turquoise-dark); font-size: 1rem; font-weight: 700; line-height: 1.45; }
.team-credentials { display: grid; gap: .95rem; margin: 1.25rem 0 0; padding: 0; color: var(--ink); font-size: 1rem; line-height: 1.55; list-style: none; }
.team-credentials li { display: grid; grid-template-columns: 1.125rem minmax(0, 1fr); gap: .65rem; align-items: start; }
.team-credential-icon { width: 1.125rem; height: 1.125rem; margin-top: .25rem; color: var(--turquoise-dark); }
.team-qualification { display: block; font-weight: 500; }
.team-institution { display: block; margin-top: .25rem; color: var(--muted); font-size: .9375rem; }
.team-credentials-clinical { gap: .65rem; }
.team-registration { display: inline-flex; align-items: center; gap: .5rem; max-width: 100%; margin: 1.5rem 0 0; padding: .55rem .75rem; border: 1px solid #c7e4e3; border-radius: .7rem; color: #0a636c; background: #f0faf8; font-size: .875rem; font-weight: 650; line-height: 1.5; }
.team-registration svg { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; }
@media (min-width: 48rem) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .team-card { transition: transform .25s ease, box-shadow .25s ease; }
  .team-card:hover { transform: translateY(-.25rem); box-shadow: 0 1rem 2.5rem rgb(7 28 57 / 10%); }
}

.services-section { background: #f1f7fa; }
#treatments { background: var(--surface); }
.services-section .section-title { margin-bottom: 1rem; color: var(--navy); text-align: center; text-wrap: balance; }
.services-intro { max-width: 44rem; margin: 0 auto clamp(2rem, 4vw, 3rem); color: var(--muted); font-size: 1.125rem; text-align: center; text-wrap: balance; }
.service-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin: 0; padding: 0; list-style: none; }
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  color: var(--navy);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 .3rem 1rem rgb(7 28 57 / 6%);
}
.service-photo { flex-shrink: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.service-photo > img { width: 100%; height: 100%; object-fit: cover; }
.service-card-copy { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.service-card h3 { margin: 0 0 .65rem; font-size: 1.2rem; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); }
.service-details { margin-top: 1rem; }
.service-details summary, .service-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.75rem;
  color: var(--turquoise-dark);
  font-weight: 750;
  cursor: pointer;
}
.service-details summary { list-style: none; }
.service-details summary::-webkit-details-marker { display: none; }
.service-details summary svg, .service-more svg { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; }
.service-full-copy { padding-top: .75rem; }
.service-full-copy p + p { margin-top: 1rem; }
.service-full-copy ul, .service-dialog-description ul { margin: 1rem 0; padding-left: 1.3rem; color: var(--muted); }
.service-full-copy li + li, .service-dialog-description li + li { margin-top: .35rem; }
.service-more { width: 100%; margin-top: auto; padding: 1.1rem 0 0; background: transparent; border: 0; text-align: left; }
.service-more::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.service-card:has(.service-more:hover) { box-shadow: 0 1.25rem 1.5625rem -.3125rem rgb(7 28 57 / 10%), 0 .5rem .625rem -.375rem rgb(7 28 57 / 10%), inset 0 0 0 1px rgb(19 174 184 / 30%); }
.service-more:focus-visible { outline: none; box-shadow: none; }
.service-more:focus-visible::after { box-shadow: inset 0 0 0 .2rem var(--navy), inset 0 0 0 .4rem var(--gold); }
/* Overlapping inactive cards keep the row and controls steady as the page changes. */
.service-grid.is-carousel > .service-card { grid-row: 1; grid-column: 1; transition-property: none; }
.service-grid.is-carousel .service-card * { transition-property: none; }
.service-card.is-inactive { visibility: hidden; pointer-events: none; }
.service-pagination { display: grid; grid-template-columns: auto 5rem auto; align-items: center; justify-content: center; gap: .65rem 1rem; margin-top: 2rem; }
.service-page-arrow, .service-page-dot, .service-dialog-close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; cursor: pointer; }
.service-page-arrow { border: .0625rem solid #adc9d0; border-radius: 50%; color: var(--turquoise-dark); background: white; }
.service-page-arrow svg, .service-dialog-close svg { width: 1.4rem; height: 1.4rem; }
.service-page-arrow:hover:not([aria-disabled="true"]) { color: white; background: var(--turquoise-dark); border-color: var(--turquoise-dark); }
.service-page-arrow[aria-disabled="true"] { color: #627d88; background: #e7eff2; cursor: default; }
.service-page-buttons { display: none; }
.service-page-dot { background: transparent; border-radius: 50%; }
.service-page-dot::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: #acc5cb; }
.service-page-dot[aria-current="page"]::before { width: .7rem; height: .7rem; background: var(--turquoise-dark); }
.service-page-status { margin: 0; color: var(--muted); font-size: .875rem; text-align: center; }
.service-dialog-open { overflow: hidden; }
.service-dialog {
  position: fixed;
  width: min(calc(100% - 2rem), 42rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 1.5rem 5rem rgb(3 20 42 / 30%);
}
.service-dialog::backdrop { background: rgb(7 28 57 / 68%); backdrop-filter: blur(.25rem); }
.service-dialog-panel { max-height: calc(100dvh - 2rem); overflow: auto; overscroll-behavior: contain; border-radius: inherit; }
.service-dialog-image { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.service-dialog-close { position: absolute; z-index: 1; top: .75rem; right: .75rem; color: var(--navy); background: white; border-radius: 50%; box-shadow: 0 .15rem .75rem rgb(7 28 57 / 18%); }
.service-dialog-close:hover { color: white; background: var(--navy); }
.service-dialog-copy { padding: clamp(1.25rem, 3vw, 2rem); }
.service-dialog-copy h2 { margin: 0 0 1rem; color: var(--navy); font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.3; }
.service-dialog-description p { margin: 0; color: var(--muted); }
.service-dialog-description p + p { margin-top: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  .service-grid.is-carousel > .service-card { transition: box-shadow .15s cubic-bezier(.4, 0, .2, 1); }
  .service-grid.is-carousel .service-photo img { transition: transform .7s cubic-bezier(0, 0, .2, 1); }
  .service-grid.is-carousel .service-more svg { transition: transform .15s cubic-bezier(.4, 0, .2, 1); }
  .service-dialog[open] { animation: service-detail-enter .35s cubic-bezier(.16, 1, .3, 1); }
  .service-dialog[open]::backdrop { animation: service-backdrop-enter .25s ease-out; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card:not(.is-inactive):hover .service-photo img { transform: scale(1.05); }
  .service-card:not(.is-inactive):hover .service-more svg { transform: translateX(.25rem); }
}
@keyframes service-detail-enter {
  from { opacity: 0; transform: translateY(40px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes service-backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 40rem) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-pagination { grid-template-columns: auto auto auto; column-gap: 1.25rem; }
  .service-page-buttons { display: flex; }
  .service-page-status { grid-row: 2; grid-column: 1 / -1; }
}
@media (min-width: 40rem) and (max-width: 63.99rem) {
  .service-grid.is-carousel > .service-card:nth-child(2n) { grid-column: 2; }
}
@media (min-width: 64rem) {
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-grid.is-carousel > .service-card:nth-child(3n + 2) { grid-column: 2; }
  .service-grid.is-carousel > .service-card:nth-child(3n) { grid-column: 3; }
}

.appointment-section { background: #fffcf7; }
.appointment-layout { display: grid; gap: 2rem; align-items: start; max-width: 52rem; }
.appointment-copy { max-width: 48rem; margin-inline: auto; text-align: center; }
.appointment-copy .section-title { margin: 0 0 1rem; color: var(--navy); text-wrap: balance; }
.appointment-copy p { margin: 0; color: var(--muted); }
.appointment-copy p + p { margin-top: .75rem; color: var(--navy-soft); font-size: .9375rem; font-weight: 650; }
.appointment-hours {
  display: grid;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.5rem);
  border: .0625rem solid #bfded5;
  border-radius: var(--radius);
  background: linear-gradient(125deg, #f1fbf7, #e1f2ec);
  box-shadow: 0 .5rem 1.5rem rgb(27 95 78 / 5%);
}
.appointment-hours-heading {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  align-items: center;
  gap: .75rem;
}
.appointment-hours-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #a17119;
  background: #fff7e5;
  border: .0625rem solid #eddbb4;
  border-radius: 50%;
}
.appointment-hours-icon svg { width: 1.4rem; height: 1.4rem; }
.appointment-hours-heading h3 { margin: 0; color: var(--navy); font-size: 1.125rem; line-height: 1.3; }
.appointment-hours-table { width: 100%; border-collapse: collapse; color: var(--ink); font-size: 1rem; }
.appointment-hours-table th, .appointment-hours-table td { padding: .5rem 0; border-bottom: .0625rem solid #cce3da; }
.appointment-hours-table th { padding-right: .75rem; font-weight: 550; text-align: left; }
.appointment-hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.appointment-hours-table time { white-space: nowrap; }
.appointment-hours-table tr:last-child > * { border-bottom: 0; }
@media (min-width: 40rem) {
  .appointment-hours { grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr); align-items: center; gap: 1.5rem; }
}
.appointment-card { min-width: 0; }
.appointment-direct { margin-top: 1.5rem; padding-top: 1.25rem; border-top: .0625rem solid #dce8ed; }
.appointment-direct > p { margin: 0; color: var(--muted); font-size: .875rem; }
.request-options { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.request-options .button-secondary { color: var(--navy); border-color: var(--turquoise-dark); }
.request-options { align-items: flex-start; }
.appointment-email { min-width: 0; }
.appointment-email[open] { flex-basis: 100%; }
.appointment-email summary { list-style: none; cursor: pointer; }
.appointment-email summary::-webkit-details-marker { display: none; }
.email-options-panel { display: grid; gap: 1rem; margin-top: 1rem; padding: clamp(1rem, 3vw, 1.5rem); border: .0625rem solid #c5dedf; border-radius: .8rem; background: #edf8f8; }
.email-options-panel h3, .email-options-panel p { margin: 0; }
.email-options-panel p { color: var(--muted); }
.email-options-panel label { font-weight: 700; }
.email-options-panel > .button { justify-self: start; }
.email-options-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
#email-details { display: block; width: 100%; min-height: 10rem; resize: vertical; padding: .75rem; border: .1rem solid #8092a6; border-radius: .5rem; background: white; color: var(--ink); font: inherit; }
#email-copy-status:empty { display: none; }
#appointment-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 1.5rem; margin: 0; }
.appointment-field { display: grid; gap: .4rem; align-content: start; min-width: 0; }
.appointment-message, #form-error-summary, #prepare-request { grid-column: 1 / -1; }
#prepare-request { border: 0; cursor: pointer; }
#appointment-form label, #request-actions > label { display: grid; gap: .35rem; font-weight: 750; }
#appointment-form .appointment-field label { display: block; }
#appointment-form .appointment-field label span { color: var(--muted); font-weight: 450; }
#appointment-form input, #appointment-form textarea, #copy-fallback {
  width: 100%;
  min-height: 2.75rem;
  color: var(--ink);
  background: white;
  border: .1rem solid #8092a6;
  border-radius: .5rem;
  padding: .65rem .75rem;
}
#appointment-form textarea, #copy-fallback { min-height: 8rem; resize: vertical; }
#message-guidance { margin: 0; color: var(--muted); font-size: .875rem; }
#form-status:empty { display: none; }
@media (min-width: 48rem) {
  #appointment-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.error-summary { border: .15rem solid var(--danger); border-left-width: .45rem; padding: .85rem; font-weight: 750; }
.error-summary::before { content: "Error:"; display: block; }
.error-summary p { margin-top: 0; }
.error-summary ul { margin-bottom: 0; }
[aria-invalid="true"] { border-width: .2rem !important; border-color: var(--danger) !important; background: #fff5f5 !important; }
#request-actions { display: grid; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: .2rem solid var(--turquoise-dark); }
#request-actions h3 { margin: 0; }
#request-preview { overflow-wrap: anywhere; white-space: pre-wrap; margin: 0; padding: 1rem; color: var(--ink); background: #edf8f8; border-left: .35rem solid var(--turquoise-dark); }
#request-actions a, #request-actions button { width: fit-content; min-height: 2.75rem; padding: .75rem 1rem; font-weight: 750; }
#request-actions a { color: var(--navy); background: var(--gold); border-radius: .5rem; }
#request-actions button { color: white; background: var(--navy); border: .125rem solid var(--navy); border-radius: .5rem; }
#form-status { min-height: 1.65em; font-weight: 750; }

.contact-section { padding-block: 1.5rem 2.5rem; background: var(--surface); }
.contact-section > .container { width: min(100% - clamp(2rem, 5.5vw, 5.25rem), 91rem); }
.contact-intro { margin: 0 auto 1.75rem; text-align: center; }
.contact-intro .section-title { margin: 0 0 .45rem; color: var(--navy); font-size: clamp(2rem, 3.15vw, 3rem); font-weight: 700; line-height: 1.2; letter-spacing: normal; text-wrap: balance; }
.contact-intro p { margin: 0; color: var(--muted); font-size: clamp(1.0625rem, 1.8vw, 1.625rem); line-height: 1.45; }
.contact-intro .contact-eyebrow { margin-bottom: 1.15rem; color: var(--navy); font-size: clamp(1.25rem, 2.1vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: normal; }
.contact-eyebrow::after { content: ""; display: block; width: 7.5rem; height: .25rem; margin: .75rem auto 0; border-radius: 999px; background: #e6bd69; }
.contact-grid { display: grid; gap: 1.5rem; align-items: stretch; }
.contact-list { display: grid; min-width: 0; padding-inline: 1.15rem; border-radius: .625rem; background: linear-gradient(135deg, #e2f2ec, #f0f8f4); }
.contact-item { --contact-accent: #22796e; display: flex; align-items: flex-start; gap: 1.5rem; padding: 1rem .65rem; border-bottom: .0625rem solid rgb(70 125 110 / 22%); color: #164e49; text-decoration: none; min-width: 0; }
.contact-item:last-child { border-bottom: 0; }
.contact-item-copy { min-width: 0; }
.contact-item h3 { margin: 0 0 .2rem; font-size: .875rem; font-weight: 600; line-height: 1.4; color: #32665e; }
.contact-item p { margin: 0; }
.contact-icon { flex: 0 0 4.25rem; display: grid; place-items: center; width: 4.25rem; height: 4.25rem; color: var(--contact-accent); }
.contact-icon svg { width: 2.85rem; height: 2.85rem; }
.contact-call, .contact-email { --contact-accent: #957024; }
.contact-value { display: block; font-size: 1rem; font-weight: 500; line-height: 1.3; color: #164e49; overflow-wrap: anywhere; }
.contact-whatsapp .contact-value { font-size: 1.125rem; font-weight: 600; }
.contact-helper { display: block; color: #49655d; font-size: .875rem; font-weight: 400; line-height: 1.45; }
.contact-phone-links { display: grid; gap: .4rem; }
.contact-phone-links a { display: flex; flex-direction: column; justify-content: center; min-height: 2.75rem; width: fit-content; color: #164e49; font-size: 1.125rem; font-weight: 600; line-height: 1.3; text-decoration: none; border-radius: .2rem; }
.contact-phone-links a:hover > span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.contact-address address { font-style: normal; }
.contact-address .contact-helper { color: #164e49; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.contact-location { display: grid; grid-template-rows: minmax(25rem, 1fr) auto; min-width: 0; margin: 0; }
.contact-location iframe { display: block; width: 100%; height: 100%; min-height: 25rem; border: .0625rem solid #a7c8bc; border-radius: .625rem; background: #edf4f3; }
.contact-location figcaption { padding: .5rem 0 0; color: #49655d; font-size: .9375rem; text-align: left; }
.contact-address .contact-directions { margin-top: .65rem; padding: .6rem 1rem; border-radius: .65rem; background: #f3d48f; color: #164e49; font-size: 1rem; font-weight: 650; }
.contact-directions svg { width: 1.1rem; height: 1.1rem; flex-shrink: 0; }
.contact-address .contact-directions:hover { background: #f8e2b2; color: #164e49; }
.contact-section .contact-safety { display: flex; align-items: center; gap: 1.25rem; margin: 1.5rem 0 0; padding: 1.15rem 1.5rem; border: .0625rem solid #f0e0bd; border-left: .375rem solid #d9b567; background: #fffbf2; color: #164e49; font-size: 1rem; line-height: 1.5; }
.contact-safety > svg { flex: 0 0 2.75rem; width: 2.75rem; height: 2.75rem; color: #957024; }
@media (min-width: 64rem) {
  .contact-grid { grid-template-columns: minmax(22rem, .58fr) minmax(0, 1fr); }
}
@media (max-width: 35rem) {
  .contact-section { padding-block: 2rem; }
  .contact-intro { margin-bottom: 1.5rem; }
  .contact-intro .section-title { font-size: clamp(1.75rem, 6.5vw, 2.25rem); }
  .contact-list { padding-inline: .875rem; }
  .contact-item { gap: .75rem; padding: 1rem 0; }
  .contact-item h3 { font-size: .875rem; }
  .contact-icon { flex-basis: 2.25rem; width: 2.25rem; height: 2.75rem; }
  .contact-icon svg { width: 2rem; height: 2rem; }
  .contact-helper { font-size: .875rem; line-height: 1.55; }
  .contact-email .contact-value { font-size: 1rem; }
  .contact-section .contact-safety { align-items: flex-start; gap: .75rem; padding: 1rem .875rem; }
  .contact-safety > svg { flex-basis: 1.75rem; width: 1.75rem; height: 1.75rem; }
}
@media (hover: hover) and (pointer: fine) {
  a.contact-item:hover { background: rgb(34 121 110 / 7%); }
}
@media (prefers-reduced-motion: no-preference) {
  a.contact-item { transition: background-color .25s ease; }
  a.contact-item .contact-icon { transition: transform .25s ease; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  a.contact-item:hover .contact-icon { transform: scale(1.05); }
}
.safety-notice { color: var(--navy); background: #fff4dc; border-left: .35rem solid var(--gold); border-radius: .5rem; padding: 1rem; }
.site-footer { scroll-margin-top: 6rem; padding-top: clamp(3rem, 5vw, 4.5rem); color: #cfdee6; background: #0a4f6e; font-size: .875rem; line-height: 1.7; }
.site-footer p { margin: 0; }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
.footer-grid > * { min-width: 0; }
.site-footer h2 { margin: 0 0 1rem; color: #fff; font-size: 1rem; font-weight: 650; line-height: 1.5; }
.site-footer a { color: inherit; text-decoration: none; border-radius: .2rem; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: .25em; }
.site-footer a:focus-visible { outline: .15rem solid var(--gold); outline-offset: .2rem; box-shadow: none; }
.site-footer .footer-brand { display: inline-flex; align-items: center; gap: .8rem; max-width: 100%; margin-bottom: 1.25rem; color: white; line-height: 1.25; }
.footer-brand img { width: 3.5rem; height: 3.5rem; flex: 0 0 auto; object-fit: contain; }
.footer-brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 400; letter-spacing: .035em; }
.footer-brand > span > span { display: block; margin-top: .3rem; font-size: .8rem; }
.footer-about > p { max-width: 31ch; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: flex; align-items: center; gap: .65rem; width: fit-content; max-width: 100%; min-height: 2.75rem; min-width: 2.75rem; padding-block: .35rem; }
.footer-links a > span { min-width: 0; overflow-wrap: anywhere; }
.site-footer svg { display: block; width: 1rem; height: 1rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.footer-hours .footer-availability { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .75rem; color: #b9f0dd; font-weight: 600; }
.footer-availability svg { margin-top: .22rem; }
.footer-hours > p:last-child { max-width: 24ch; }
.footer-contact address { font-style: normal; }
.footer-detail { display: block; font-size: .8125rem; color: #bfd3df; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; border-top: 1px solid rgb(255 255 255 / 18%); padding-block: 1.25rem 1.5rem; font-size: .8125rem; }
@media (min-width: 40rem) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; }
}
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: 1.15fr .7fr 1fr 1.1fr; gap: clamp(1.75rem, 3vw, 3rem); padding-bottom: 3rem; }
}
.not-found { display: grid; min-height: 100vh; place-items: center; padding: 2rem; }
.not-found .card { max-width: 36rem; text-align: center; }

a { color: var(--turquoise-dark); }
a:hover { color: var(--navy-soft); }

@media (min-width: 48rem) {
  .header-inner { flex-wrap: nowrap; min-height: 5rem; }
  .site-header .brand { min-width: 0; }
  .site-header .brand img { flex-shrink: 0; }
  .approach-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { min-height: clamp(28rem, 47vw, 34rem); }
  .hero-copy { grid-column: 2; grid-row: 1; align-self: end; }
  .hero-welcome { grid-column: 1; grid-row: 1; align-self: end; }
  .hero-facts { grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 1fr); }
  .hero-facts > li { justify-content: center; min-height: 5.5rem; padding: 1rem clamp(1rem, 3vw, 2.5rem); text-align: center; }
  .hero-facts > li + li { border-top: 0; border-left: .0625rem solid rgb(233 184 88 / 55%); }
  .hero-facts > .practitioner-item { padding: 0; }
  .hero-facts > .professions-item { padding-inline: 1rem; }
  .practitioner-name { justify-content: center; min-height: 5.5rem; padding: 1rem clamp(1rem, 3vw, 2.5rem); }
  .section { padding-block: clamp(4rem, 8vw, 6.5rem); }
  .menu-toggle { display: none; }
  .site-nav { display: flex; flex: 1 1 0; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
}

@media (min-width: 64rem) {
  .hero-professions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-professions > li:first-child { grid-column: auto; }
  .hero-professions > li + li::before { display: block; }
  .hero-facts > .professions-item { align-items: stretch; padding-block: 0; }
  .hero-professions > li { padding-block: 1rem; }
  .hero-welcome { align-self: center; }
  .hero-welcome-title { font-size: clamp(2.5rem, 3.5vw, 3.25rem); }
  .hero-welcome-description { font-size: 1.25rem; line-height: 1.65; }
}

@media (max-width: 47.99rem) {
  .hero {
    --hero-photo-height: clamp(20rem, 95vw, 36rem);
    background-image:
      linear-gradient(180deg, rgb(7 28 57 / 0%), rgb(7 28 57 / 12%) calc(var(--hero-photo-height) - 10rem), var(--navy) var(--hero-photo-height)),
      url("../images/hero-treatment-v2.jpg");
    background-size: 100% 100%, auto var(--hero-photo-height);
    background-position: center, 62% top;
  }
  .hero-grid { grid-template-rows: auto auto; align-items: start; }
  .brand { max-width: calc(100% - 5.5rem); font-size: 1rem; line-height: 1.2; }
  .brand img { width: 2.5rem; height: 2.5rem; flex: 0 0 auto; }
  .hero-copy { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(var(--hero-photo-height) + 9rem); text-align: left; }
  .hero-actions .button { width: 100%; }
  .site-nav { display: none; width: 100%; }
  .site-nav.is-open { display: flex; }
}
