:root {
  --green-950: #223029;
  --green-900: #34443b;
  --footer-bg: #d0dfc2;
  --footer-ink: #213026;
  --green-800: #4c681f;
  --green-700: #5f9417;
  --green-600: #70a81b;
  --sage-100: #f1f7e9;
  --sage-200: #dfedcf;
  --sage-300: #c6dda9;
  --mist: #f7faf7;
  --paper: #ffffff;
  --ink: #101815;
  --muted: #5f6d66;
  --line: #dce6df;
  --warm-line: #e7e2d8;
  --shadow: 0 16px 40px rgba(68, 94, 39, 0.14);
  --shadow-soft: 0 10px 24px rgba(48, 67, 31, 0.09);
  --radius: 8px;
  --container: 1180px;
  --header-height: 88px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  color: var(--green-950);
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

address {
  font-style: normal;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-150%);
  padding: 10px 14px;
  background: var(--green-950);
  color: var(--paper);
  border-radius: var(--radius);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: auto;
  height: clamp(54px, 5vw, 64px);
  max-width: 210px;
  object-fit: contain;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 13px;
  color: #313b36;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 3px;
  border-radius: 999px;
  background: var(--green-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a[aria-current="page"] {
  color: var(--green-900);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: var(--radius);
  background: var(--green-600);
  color: var(--green-950);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 750;
  letter-spacing: 0;
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-950);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: clamp(500px, 66vh, 680px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero-treatment-room.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.01);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 34%, rgba(255, 255, 255, 0.2) 70%),
    linear-gradient(0deg, rgba(12, 47, 33, 0.14), rgba(12, 47, 33, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: 60px 0 52px;
  max-width: none;
  justify-self: start;
}

.hero-content h1 {
  max-width: 780px;
  font-size: clamp(2.65rem, 5.2vw, 4.65rem);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 650px;
  margin-top: 24px;
  color: #2f3b35;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-actions,
.section-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 750;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button-primary {
  background: var(--green-600);
  color: var(--green-950);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--green-600);
  color: var(--green-900);
}

.button-inverted {
  background: var(--paper);
  color: var(--green-900);
}

.appointment-note {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 650;
}

.section {
  padding: clamp(70px, 8vw, 112px) 0;
}

.section-tight {
  padding: clamp(42px, 5vw, 72px) 0;
}

.section-muted {
  background: var(--mist);
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fact-item,
.team-card,
.therapy-card,
.feature-panel,
.news-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.fact-item {
  min-height: 190px;
  padding: 28px;
  display: grid;
  align-content: center;
  justify-items: start;
}

.fact-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-800);
  font-weight: 900;
  position: relative;
  overflow: hidden;
}

.icon-location {
  background: #eef6e6;
}

.icon-location::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 3px solid var(--green-600);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.icon-location::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-900);
}

.icon-u6 {
  width: 64px;
  height: 36px;
  border-radius: 0;
  background: #006bac url("../images/u6-logo.png") center / cover no-repeat;
  color: #ffffff;
}

.icon-u6::before {
  content: "";
}

.icon-parking {
  border-radius: 8px;
  background: #0b62b4;
  color: #ffffff;
}

.icon-parking::before {
  content: "P";
  font-size: 1.3rem;
  font-weight: 900;
}

.fact-item h2 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.fact-item p {
  color: var(--muted);
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

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

.section-heading p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.1rem;
}

.therapy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.therapy-card {
  overflow: hidden;
  min-height: 250px;
  display: grid;
  grid-template-rows: 175px auto;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
  will-change: transform;
}

.therapy-card:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--green-600);
  background: var(--green-600);
  box-shadow: var(--shadow);
  z-index: 2;
}

.therapy-card:hover img {
  opacity: 0.9;
}

.therapy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.therapy-card span {
  display: grid;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px 18px;
  color: var(--green-950);
  font-weight: 800;
  font-size: 1.08rem;
  transition: background 180ms ease, color 180ms ease;
}

.therapy-card:hover span {
  background: var(--green-600);
  color: var(--green-950);
}

.section-actions {
  justify-content: center;
  margin-top: 34px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.content-block p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.content-block h2 {
  margin-bottom: 18px;
}

.highlight-list {
  display: grid;
  gap: 12px;
}

.highlight-list div {
  padding: 20px 22px;
  border-left: 4px solid var(--green-600);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
}

.highlight-list strong,
.highlight-list span {
  display: block;
}

.highlight-list strong {
  color: var(--green-950);
  font-size: 1.1rem;
}

.highlight-list span {
  margin-top: 4px;
  color: var(--muted);
}

.split-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-800);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-grid-compact .team-card {
  min-height: 250px;
}

.team-card {
  padding: 28px;
}

.team-card h3 {
  margin: 18px 0 10px;
  font-size: 1.45rem;
}

.team-card p {
  margin: 0;
  color: var(--muted);
}

.team-description {
  padding-bottom: 20px;
  margin-bottom: 20px !important;
  border-bottom: 1px solid var(--line);
}

.team-avatar {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--green-900);
  font-weight: 900;
  font-size: 1.35rem;
}

.team-card-large {
  min-height: 100%;
}

.team-card-head {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.team-card-head h3 {
  margin-top: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #27322d;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-600);
  border-radius: 50%;
  color: var(--green-700);
  font-size: 0.75rem;
  font-weight: 900;
}

.check-list-wide {
  margin-top: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-panel {
  padding: 32px;
}

.feature-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.feature-panel p {
  color: var(--muted);
}

.feature-panel-green {
  background: var(--green-600);
  color: var(--green-950);
  border-color: var(--green-600);
}

.feature-panel-green h2,
.feature-panel-green .eyebrow,
.feature-panel-green p {
  color: var(--green-950);
}

.news-career {
  align-items: stretch;
}

.cta-band {
  padding: clamp(42px, 5vw, 66px) 0;
  background: var(--sage-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.cta-inner h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.cta-inner p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
}

.site-footer {
  padding: 54px 0;
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: 4px solid var(--green-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, 1fr);
  gap: 34px;
}

.footer-brand img {
  padding: 8px;
  border-radius: var(--radius);
  background: var(--paper);
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--green-950);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 7px;
}

.site-footer a:hover {
  color: var(--green-700);
}

.page-hero {
  padding: clamp(74px, 9vw, 130px) 0 clamp(58px, 7vw, 96px);
  background: linear-gradient(180deg, var(--mist), var(--paper));
  border-bottom: 1px solid var(--line);
}

.page-hero-image {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.26) 100%),
    url("../images/hero-treatment-room.jpg") center right / cover;
}

.page-hero-inner {
  max-width: 790px;
}

.page-hero h1 {
  font-size: clamp(2.55rem, 6vw, 5rem);
}

.page-hero p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.therapy-tabs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.therapy-tab {
  display: grid;
  grid-template-rows: 105px 1fr;
  gap: 0;
  min-height: 185px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--green-950);
  font: inherit;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.therapy-tab:hover,
.therapy-tab[aria-selected="true"] {
  transform: translateY(-3px) scale(1.02);
  background: var(--green-600);
  border-color: var(--green-600);
  box-shadow: var(--shadow);
}

.therapy-tab:hover img,
.therapy-tab[aria-selected="true"] img {
  opacity: 0.9;
}

.therapy-tab img {
  width: 100%;
  height: 105px;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.therapy-tab span {
  display: grid;
  align-items: center;
  padding: 12px;
}

.therapy-tab[aria-selected="true"] {
  outline: 2px solid rgba(112, 168, 27, 0.22);
}

.therapy-detail-wrap {
  margin-top: 26px;
}

.therapy-detail {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.therapy-detail.is-active {
  display: grid;
}

.therapy-detail img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
}

.therapy-detail h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.therapy-detail p {
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
}

.detail-list div {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--mist);
}

.detail-list dt {
  color: var(--green-900);
  font-weight: 900;
}

.detail-list dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.contact-column {
  display: grid;
  gap: 18px;
}

.contact-panel {
  padding: clamp(28px, 5vw, 46px);
}

.contact-panel h2 {
  margin-bottom: 18px;
}

.contact-panel address {
  color: var(--muted);
  font-size: 1.2rem;
}

.contact-note {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.contact-form-panel > p {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-950);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green-600);
  outline: 3px solid rgba(112, 168, 27, 0.18);
}

.form-consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 650 !important;
  color: var(--muted) !important;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-weight: 750;
}

body.form-sent .form-success {
  display: block;
  color: #244915;
  background: #e6f5d7;
}

body.form-error .form-error {
  display: block;
  color: #6b260e;
  background: #fff0e8;
}

.location-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-self: start;
}

.location-cards .fact-item {
  min-height: 0;
  padding: 14px 16px;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  align-content: center;
  align-items: center;
}

.location-cards .fact-icon {
  grid-row: 1 / span 2;
  margin-bottom: 0;
}

.location-cards .icon-u6 {
  width: 58px;
  height: 33px;
}

.location-cards .icon-parking {
  width: 44px;
  height: 44px;
}

.location-cards .fact-item h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.location-cards .fact-item p {
  grid-column: 2;
  font-size: 0.92rem;
  line-height: 1.45;
}

.map-frame {
  overflow: hidden;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  background: var(--paper);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.news-card {
  padding: 28px;
}

.news-card h3 {
  margin: 12px 0;
}

.news-card p {
  color: var(--muted);
}

.blog-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.blog-card-body {
  display: grid;
  gap: 12px;
  margin: 0 24px 18px;
}

.blog-card-body p {
  margin: 0;
}

.blog-card .text-link {
  margin-top: auto;
}

.blog-card .news-date,
.blog-card h3,
.blog-card .blog-card-button {
  margin-left: 24px;
  margin-right: 24px;
}

.blog-card h3 {
  font-size: 1.35rem;
}

.blog-card-image {
  width: 100%;
  height: 185px;
  object-fit: cover;
  margin-bottom: 22px;
}

.blog-card-button {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 24px;
}

.blog-article-hero {
  padding: clamp(54px, 7vw, 96px) 0;
  background: linear-gradient(180deg, var(--mist), var(--paper));
  border-bottom: 1px solid var(--line);
}

.blog-article-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.blog-article-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.blog-article-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.blog-article-hero img,
.blog-article-side-image {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.blog-article-hero img {
  height: 420px;
}

.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.blog-article-body {
  max-width: 780px;
}

.blog-article-body p {
  color: #35443b;
  font-size: 1.15rem;
  line-height: 1.8;
}

.blog-article-side-image {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  height: 360px;
}

.news-date {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--green-800);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--sage-100);
  color: var(--green-900);
  font-weight: 800;
}

.legal-hero {
  background: var(--mist);
}

.legal-content {
  max-width: 820px;
}

.legal-content h2 {
  margin: 34px 0 12px;
  font-size: 1.5rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--green-800);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav a {
    padding-inline: 9px;
  }

  .header-call {
    padding-inline: 14px;
  }

  .therapy-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .header-inner {
    width: min(100% - 28px, 1440px);
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .brand-place {
    font-size: 0.68rem;
    letter-spacing: 0.32em;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 14px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
  }

  .site-nav a {
    min-height: 50px;
    padding-inline: 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    left: 4px;
    right: auto;
    width: 48px;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 62%, rgba(255, 255, 255, 0.55) 100%),
      linear-gradient(0deg, rgba(12, 47, 33, 0.08), rgba(12, 47, 33, 0.02));
  }

  .hero-media {
    background-position: center;
  }

  .hero-content {
    padding: 52px 0 48px;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 8.6vw, 3.45rem);
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 1.08rem;
  }

  .quick-facts,
  .therapy-grid,
  .team-grid,
  .news-grid,
  .footer-grid,
  .two-column,
  .contact-layout,
  .blog-article-hero-grid,
  .blog-article-layout {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .therapy-detail.is-active {
    grid-template-columns: 1fr;
  }

  .therapy-detail img {
    height: 300px;
  }

  .check-list-wide {
    grid-template-columns: 1fr;
  }

  .blog-article-side-image {
    position: static;
    height: 260px;
  }
}

@media (max-width: 640px) {
  .container,
  .hero-content {
    width: min(100% - 28px, var(--container));
  }

  .brand-copy {
    gap: 0;
  }

  .brand-place {
    letter-spacing: 0.24em;
  }

  .hero-actions,
  .contact-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .button {
    width: 100%;
    padding-inline: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 44px 0 36px;
  }

  .hero-content h1 {
    font-size: clamp(2.1rem, 9.5vw, 2.45rem);
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 8.6vw, 2.35rem);
  }

  .hero-lead {
    margin-top: 14px;
    font-size: 1rem;
  }

  .appointment-note {
    margin-top: 14px;
    font-size: 0.94rem;
  }

  .quick-facts {
    gap: 12px;
  }

  .fact-item {
    min-height: auto;
  }

  .location-cards {
    grid-template-columns: 1fr;
  }

  .therapy-grid {
    gap: 14px;
  }

  .therapy-card {
    grid-template-rows: 160px auto;
  }

  .therapy-tabs {
    grid-template-columns: 1fr;
  }

  .therapy-tab {
    grid-template-columns: 132px 1fr;
    grid-template-rows: 112px;
    min-height: 112px;
    text-align: left;
  }

  .therapy-tab img {
    height: 112px;
  }

  .therapy-detail {
    padding: 18px;
  }

  .therapy-detail img {
    height: 220px;
  }

  .team-card-head {
    grid-template-columns: 1fr;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
    height: 320px;
  }

  .blog-card .blog-card-button {
    width: calc(100% - 48px);
  }

  .blog-article-hero img {
    height: 250px;
  }
}
