:root {
  color-scheme: light;
  --seo-ink: #17342f;
  --seo-muted: #5d706c;
  --seo-brand: #0b6255;
  --seo-brand-dark: #07493f;
  --seo-mint: #eaf6f2;
  --seo-line: #dce8e4;
  --seo-paper: #ffffff;
  --seo-warm: #f7f8f4;
  --seo-shadow: 0 16px 44px rgba(16, 58, 50, 0.09);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--seo-paper);
  color: var(--seo-ink);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--seo-brand); text-underline-offset: 0.18em; }

a:hover { color: var(--seo-brand-dark); }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 { line-height: 1.14; letter-spacing: -0.025em; }

h1 { font-size: clamp(2.25rem, 6vw, 4.85rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

.seo-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.seo-skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 999px;
  background: var(--seo-brand-dark);
  color: #fff;
  padding: 0.75rem 1rem;
}

.seo-skip-link:focus { top: 1rem; }

.seo-site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--seo-line);
  background: rgba(255, 255, 255, 0.96);
}

.seo-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.seo-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--seo-ink);
  text-decoration: none;
}

.seo-brand img { width: 44px; height: 44px; object-fit: contain; }
.seo-brand span { display: grid; line-height: 1.1; }
.seo-brand strong { font-size: 1.2rem; }
.seo-brand small { margin-top: 0.25rem; color: var(--seo-muted); font-size: 0.74rem; }

.seo-site-header nav { display: flex; align-items: center; gap: 1.35rem; }
.seo-site-header nav a { color: var(--seo-ink); font-weight: 650; text-decoration: none; }
.seo-site-header nav a:last-child { border: 1px solid var(--seo-brand); border-radius: 999px; color: var(--seo-brand); padding: 0.48rem 0.9rem; }

.seo-breadcrumbs {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  color: var(--seo-muted);
  font-size: 0.84rem;
  white-space: nowrap;
}

.seo-breadcrumbs a { color: inherit; text-decoration: none; }
.seo-breadcrumbs a[aria-current="page"] { color: var(--seo-ink); font-weight: 650; }

.seo-hero {
  border-block: 1px solid var(--seo-line);
  background: linear-gradient(135deg, #f7fbf9 0%, #e9f5f1 55%, #f9f4e9 100%);
  padding: clamp(3rem, 7vw, 6.75rem) 0;
}

.seo-profile-grid,
.seo-facility-hero-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.seo-profile-image-wrap {
  width: clamp(168px, 22vw, 244px);
  aspect-ratio: 1;
  border-radius: 32px;
  background: #dbeae5;
  box-shadow: var(--seo-shadow);
  overflow: hidden;
}

.seo-profile-image { width: 100%; height: 100%; object-fit: cover; }

.seo-profile-copy { max-width: 760px; }

.seo-facility-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr); }
.seo-facility-image { width: 100%; aspect-ratio: 16 / 9; border-radius: 28px; object-fit: cover; box-shadow: var(--seo-shadow); background: #dbeae5; }

.seo-eyebrow {
  margin-bottom: 0.65rem;
  color: var(--seo-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.seo-lead { max-width: 760px; margin-bottom: 1.5rem; color: #34524c; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.seo-hero-facts { max-width: 760px; margin: -0.75rem 0 1.25rem; color: #48635e; font-weight: 650; }
.seo-count { display: inline-flex; border-radius: 999px; background: rgba(255, 255, 255, 0.78); color: var(--seo-brand-dark); font-weight: 750; padding: 0.5rem 0.9rem; }

.seo-chips, .seo-actions, .seo-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; }
.seo-chips { margin-bottom: 1.5rem; }

.seo-chip {
  border: 1px solid rgba(11, 98, 85, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--seo-brand-dark);
  font-size: 0.82rem;
  font-weight: 650;
  padding: 0.38rem 0.75rem;
  text-decoration: none;
}

.seo-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--seo-brand);
  border-radius: 999px;
  background: var(--seo-brand);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 750;
  padding: 0.65rem 1rem;
  text-align: center;
  text-decoration: none;
}

.seo-button:hover { background: var(--seo-brand-dark); color: #fff; }
.seo-button-secondary { background: transparent; color: var(--seo-brand); }
.seo-button-secondary:hover { background: var(--seo-mint); color: var(--seo-brand-dark); }

.seo-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  align-items: start;
  gap: clamp(2.25rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.seo-section { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.seo-section-heading { margin-bottom: 1.5rem; }
.seo-section-heading h2 { margin-bottom: 0; }
.seo-prose { max-width: 760px; color: #354f4a; font-size: 1.04rem; }
.seo-prose p:last-child { margin-bottom: 0; }
.seo-stack { display: grid; gap: 1rem; }

.seo-fact-panel,
.seo-filter-panel {
  position: sticky;
  top: 1.5rem;
  border: 1px solid var(--seo-line);
  border-radius: 24px;
  background: #fbfcfa;
  box-shadow: 0 10px 28px rgba(16, 58, 50, 0.05);
  padding: 1.35rem;
}

.seo-fact-panel h2, .seo-filter-panel h2 { margin-bottom: 1rem; font-size: 1.15rem; }
.seo-fact-panel dl { margin: 0; }
.seo-fact-panel dl > div { display: grid; gap: 0.2rem; border-top: 1px solid var(--seo-line); padding: 0.9rem 0; }
.seo-fact-panel dt { color: var(--seo-muted); font-size: 0.76rem; font-weight: 750; letter-spacing: 0.05em; text-transform: uppercase; }
.seo-fact-panel dd { margin: 0; overflow-wrap: anywhere; font-weight: 650; }
.seo-updated, .seo-muted { color: var(--seo-muted); font-size: 0.88rem; }

.seo-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.seo-card {
  border: 1px solid var(--seo-line);
  border-radius: 22px;
  background: var(--seo-paper);
  box-shadow: 0 9px 24px rgba(16, 58, 50, 0.045);
  padding: 1.25rem;
}

.seo-card h3 { margin-bottom: 0.55rem; }
.seo-card h3 a { color: var(--seo-ink); text-decoration: none; }
.seo-card p { margin-bottom: 0.65rem; }
.seo-practice-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.25rem; }
.seo-directory-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 1rem; }

.seo-card-avatar { width: 88px; height: 88px; border-radius: 18px; object-fit: cover; background: var(--seo-mint); }
.seo-card-facility-image { width: 112px; }
.seo-card-placeholder { display: grid; place-items: center; color: var(--seo-brand); font-weight: 850; }
.seo-text-link { font-size: 0.9rem; font-weight: 750; text-decoration: none; }
.seo-price { color: var(--seo-brand-dark); font-weight: 750; }

.seo-hours { margin-top: 1rem; }
.seo-hours summary { color: var(--seo-brand); cursor: pointer; font-weight: 700; }
.seo-hours ul { display: grid; gap: 0.3rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.seo-hours li { display: flex; justify-content: space-between; gap: 1rem; color: var(--seo-muted); font-size: 0.84rem; }
.seo-hours strong { color: var(--seo-ink); }

.seo-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.seo-service-list li { border-radius: 16px; background: var(--seo-mint); padding: 1rem; font-weight: 650; }

.seo-hub-hero { max-width: 920px; }
.seo-hub-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; gap: 2rem; padding-block: clamp(3rem, 7vw, 6rem); }
.seo-filter-panel nav { display: grid; gap: 0.2rem; }
.seo-filter-panel nav a { display: flex; justify-content: space-between; gap: 0.75rem; border-radius: 12px; color: var(--seo-ink); padding: 0.55rem 0.65rem; text-decoration: none; }
.seo-filter-panel nav a:hover { background: var(--seo-mint); }
.seo-filter-panel nav span { color: var(--seo-muted); }
.seo-cross-link { display: block; border-top: 1px solid var(--seo-line); margin-top: 1rem; padding: 1rem 0.65rem 0; font-weight: 700; text-decoration: none; }

.seo-disclaimer { border-block: 1px solid var(--seo-line); background: var(--seo-warm); padding: 2rem 0; }
.seo-disclaimer .seo-shell { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1.5rem; }
.seo-disclaimer p { margin-bottom: 0; color: var(--seo-muted); }

.seo-site-footer { background: #102f2a; color: #e8f3f0; padding: 3rem 0; }
.seo-site-footer .seo-shell { display: grid; grid-template-columns: 1fr auto; gap: 2rem; }
.seo-site-footer nav { display: grid; align-content: start; gap: 0.5rem; }
.seo-site-footer a { color: #e8f3f0; }
.seo-footer-note { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.16); margin: 0; padding-top: 1rem; color: #bdd1cc; font-size: 0.86rem; }

@media (max-width: 850px) {
  .seo-content-grid, .seo-hub-layout { grid-template-columns: 1fr; }
  .seo-fact-panel, .seo-filter-panel { position: static; }
  .seo-filter-panel nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seo-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .seo-shell { width: min(100% - 28px, 1160px); }
  .seo-header-inner { min-height: 66px; }
  .seo-site-header nav { gap: 0.8rem; font-size: 0.86rem; }
  .seo-site-header nav a:nth-child(2) { display: none; }
  .seo-brand small { display: none; }
  .seo-profile-grid, .seo-facility-hero-grid { grid-template-columns: 1fr; }
  .seo-profile-image-wrap { width: 148px; border-radius: 24px; }
  .seo-facility-image { order: -1; border-radius: 20px; }
  .seo-practice-card { grid-template-columns: 1fr; }
  .seo-card-actions, .seo-actions { align-items: stretch; }
  .seo-card-actions .seo-button, .seo-actions .seo-button { width: 100%; }
  .seo-directory-card { grid-template-columns: 70px minmax(0, 1fr); }
  .seo-card-avatar, .seo-card-facility-image { width: 70px; height: 70px; border-radius: 15px; }
  .seo-service-list, .seo-filter-panel nav { grid-template-columns: 1fr; }
  .seo-disclaimer .seo-shell, .seo-site-footer .seo-shell { grid-template-columns: 1fr; }
  .seo-footer-note { grid-column: auto; }
}

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