:root {
  --ink: #15312f;
  --ink-strong: #0c2523;
  --muted: #5d716d;
  --line: #d8e5df;
  --paper: #fbfaf6;
  --paper-soft: #f2efe7;
  --teal: #0e5a55;
  --teal-dark: #123f3c;
  --sage: #cfe0d4;
  --mint: #e8f3ec;
  --coral: #c95f4d;
  --gold: #c79a43;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(21, 49, 47, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@keyframes movingBanner {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink-strong);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(216, 229, 223, 0.9);
  backdrop-filter: blur(18px);
}

.notice-bar {
  display: flex;
  justify-content: center;
  gap: 1.1rem;
  padding: 0.48rem 1rem;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 0.82rem;
}

.notice-bar a {
  font-weight: 750;
  color: #f4d994;
}

.nav-shell {
  min-height: 74px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-logo {
  width: 116px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
  padding: 0.25rem;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.08;
  color: var(--ink-strong);
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  padding: 0.35rem 0;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.ghost-link {
  color: var(--teal);
  font-weight: 750;
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 0.82rem 1.12rem;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(201, 95, 77, 0.2);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-small {
  min-height: 40px;
  padding: 0.62rem 0.9rem;
  font-size: 0.9rem;
}

.button-secondary {
  background: var(--white);
  color: var(--ink-strong);
  box-shadow: none;
}

.dark-button {
  background: var(--teal-dark);
  color: var(--white);
}

.text-link {
  color: var(--white);
  font-weight: 800;
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
}

.text-link.dark {
  color: var(--teal-dark);
  border-bottom-color: rgba(14, 90, 85, 0.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 0.68rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink-strong);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: clamp(690px, 88vh, 900px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--ink-strong);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-2.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 37, 35, 0.91) 0%, rgba(12, 37, 35, 0.72) 42%, rgba(12, 37, 35, 0.22) 100%),
    linear-gradient(0deg, rgba(12, 37, 35, 0.7) 0%, rgba(12, 37, 35, 0.04) 54%);
}

.hero-content {
  position: relative;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0;
  color: var(--white);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.56fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.hero-main {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-weight: 850;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 665px;
  margin: 1.55rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-stats {
  width: min(690px, 100%);
  margin: 3.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-stats div {
  padding: 1.1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 900;
}

.hero-stats dd {
  margin: 0.12rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.hero-showcase {
  display: grid;
  gap: 1rem;
}

.hero-photo-card,
.hero-video-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.hero-photo-card {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero-photo-card.large {
  min-height: 330px;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}

.hero-photo-card.large img {
  min-height: 285px;
}

.hero-photo-card span {
  position: static;
  display: block;
  padding: 0.72rem 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 37, 35, 0.92);
  color: var(--white);
  font-weight: 850;
}

.hero-mini-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.hero-video-card {
  min-height: 190px;
  display: grid;
  align-content: end;
  gap: 0.55rem;
  padding: 1rem;
  background:
    linear-gradient(145deg, rgba(201, 95, 77, 0.94), rgba(18, 63, 60, 0.92)),
    url("assets/cb-phx-3.jpg");
  background-size: cover;
  background-position: center;
}

.hero-photo-card:hover,
.hero-photo-card:focus-visible,
.hero-video-card:hover,
.hero-video-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.42);
}

.play-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--coral);
}

.hero-video-card strong {
  color: var(--white);
  font-size: 1.22rem;
  line-height: 1.12;
}

.hero-video-card small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.quick-actions {
  max-width: var(--max);
  margin: -2rem auto 0;
  position: relative;
  z-index: 2;
  width: calc(100% - 2.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid rgba(216, 229, 223, 0.85);
}

.quick-actions a {
  min-height: 112px;
  padding: 1.35rem;
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
}

.quick-action.urgent {
  background: var(--teal-dark);
}

.quick-action.urgent span,
.quick-action.urgent strong,
.quick-action.urgent em {
  color: var(--white);
}

.quick-actions a:last-child {
  border-right: 0;
}

.quick-actions span {
  color: var(--muted);
  font-size: 0.9rem;
}

.quick-actions strong {
  margin-top: 0.2rem;
  color: var(--ink-strong);
  font-size: 1.2rem;
}

.quick-actions em {
  margin-top: 0.35rem;
  color: var(--coral);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
}

.moving-banner {
  margin-top: 3.25rem;
  padding: 1.65rem 0;
  overflow: hidden;
  background: var(--ink-strong);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.moving-track {
  display: flex;
  width: max-content;
  animation: movingBanner 34s linear infinite;
  will-change: transform;
}

.moving-banner:hover .moving-track {
  animation-play-state: paused;
}

.moving-set {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.55rem);
  padding-right: clamp(1.25rem, 3vw, 2.55rem);
  white-space: nowrap;
}

.moving-set span {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.2rem, 2.5vw, 2.15rem);
  font-weight: 850;
  letter-spacing: 0;
}

.moving-set em {
  color: #f4d994;
  font-style: normal;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2,
.media-content h2,
.insurance-panel h2,
.contact-info h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  padding-top: 6.8rem;
}

.intro-section .section-heading {
  display: block;
  margin: 0;
}

.intro-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-copy p {
  margin: 0;
}

.image-story {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 6rem;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 2rem;
  align-items: end;
}

.story-copy {
  padding: 2rem;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 45px rgba(21, 49, 47, 0.09);
}

.story-copy h2,
.video-copy h2 {
  margin: 0;
  color: var(--ink-strong);
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: 0;
}

.story-copy p,
.video-copy p {
  color: var(--muted);
}

.story-gallery {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1rem;
}

.story-gallery figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink-strong);
  box-shadow: 0 18px 52px rgba(21, 49, 47, 0.13);
  display: grid;
  grid-template-rows: 1fr auto;
}

.story-gallery figure.wide {
  grid-row: span 2;
}

.story-gallery img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.story-gallery figcaption {
  position: static;
  padding: 0.78rem 0.9rem;
  background: var(--ink-strong);
  color: var(--white);
  font-weight: 820;
}

.service-section {
  padding-top: 4.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-card {
  min-height: 290px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.service-card span {
  color: var(--coral);
  font-weight: 900;
  font-size: 0.85rem;
}

.service-card h3 {
  margin: 1.2rem 0 0.55rem;
  color: var(--ink-strong);
  font-size: 1.25rem;
  line-height: 1.12;
}

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

.service-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 850;
}

.featured-service {
  grid-column: span 2;
  background: var(--teal-dark);
  color: var(--white);
}

.featured-service h3,
.featured-service p,
.featured-service a {
  color: var(--white);
}

.featured-service span {
  color: #f4d994;
}

.featured-service h3 {
  max-width: 560px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.media-band {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  background: var(--mint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.media-image {
  min-height: 640px;
  background-image: url("assets/TMS-for-Cognitive-Decline.jpg");
  background-size: cover;
  background-position: center;
}

.media-content {
  padding: clamp(3rem, 7vw, 6rem);
  align-self: center;
}

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

.check-list {
  margin: 1.6rem 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 720;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.26rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--mint);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.video-section {
  max-width: var(--max);
  margin: 6rem auto 0;
  width: calc(100% - 2.5rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.video-card {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--ink-strong);
  box-shadow: var(--shadow);
}

.video-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12, 37, 35, 0.5), rgba(12, 37, 35, 0.08));
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.video-play .play-button {
  width: 76px;
  height: 76px;
}

.video-copy {
  padding: 2rem;
}

.condition-section {
  padding-bottom: 5rem;
}

.condition-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.condition-grid span {
  padding: 0.78rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-strong);
  font-weight: 760;
}

.team-section {
  background: var(--paper-soft);
  max-width: none;
  padding-left: max(1.25rem, calc((100% - var(--max)) / 2));
  padding-right: max(1.25rem, calc((100% - var(--max)) / 2));
}

.team-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2rem;
}

.team-lead {
  padding: 2rem;
  background: var(--teal-dark);
  color: var(--white);
  border-radius: 8px;
}

.team-lead h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.team-lead p {
  color: rgba(255, 255, 255, 0.78);
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

.team-list article {
  min-height: 156px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 104px 1fr;
  overflow: hidden;
}

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

.team-list img {
  width: 104px;
  height: 100%;
  object-fit: cover;
  background: var(--mint);
}

.team-list article > div {
  display: grid;
  align-content: center;
  padding: 1rem;
}

.team-list strong {
  color: var(--ink-strong);
  line-height: 1.18;
}

.team-list span {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.team-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.team-strip article {
  min-height: 96px;
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
}

.team-strip img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
}

.team-strip span {
  color: var(--ink-strong);
  font-weight: 820;
}

.insurance-panel {
  max-width: var(--max);
  margin: 6rem auto 0;
  width: calc(100% - 2.5rem);
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border-radius: 8px;
  background: var(--ink-strong);
  color: var(--white);
}

.insurance-panel h2,
.insurance-panel p {
  color: var(--white);
}

.insurance-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.insurance-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}

.insurance-steps span {
  padding: 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
}

.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-list li {
  min-height: 245px;
  padding: 1.2rem;
  border-top: 4px solid var(--teal);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(21, 49, 47, 0.08);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--teal);
  font-weight: 900;
}

.process-list h3 {
  margin: 1rem 0 0.5rem;
  color: var(--ink-strong);
  line-height: 1.12;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.faq-section {
  padding-top: 3rem;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  cursor: pointer;
  padding: 1.1rem 1.2rem;
  color: var(--ink-strong);
  font-weight: 820;
}

details p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 6rem max(1.25rem, calc((100% - var(--max)) / 2));
  background: var(--mint);
}

.contact-info p {
  color: var(--muted);
}

.contact-info ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-info a {
  color: var(--teal);
  font-weight: 780;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-form {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 1rem;
  color: var(--ink-strong);
  font-size: 1.55rem;
}

.contact-form label {
  display: grid;
  gap: 0.38rem;
  margin-top: 0.95rem;
  color: var(--ink-strong);
  font-weight: 760;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9d9d3;
  border-radius: 8px;
  background: #fbfdfb;
  color: var(--ink);
  padding: 0.85rem 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(14, 90, 85, 0.16);
  border-color: var(--teal);
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  min-height: 1.4rem;
  margin: 0.8rem 0 0;
}

.subpage-hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: var(--ink-strong);
  color: var(--white);
}

.subpage-hero-media {
  min-height: inherit;
  overflow: hidden;
}

.subpage-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.subpage-hero-content {
  display: grid;
  align-content: center;
  padding: clamp(3rem, 7vw, 6rem);
}

.subpage-hero-content h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.subpage-hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.subpage-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.6rem;
}

.subpage-proof span {
  padding: 0.7rem 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 780;
  font-size: 0.9rem;
}

.subpage-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem;
}

.compact-heading {
  grid-template-columns: 1fr;
  max-width: 820px;
}

.subpage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.48fr);
  gap: 1.5rem;
  align-items: start;
}

.copy-panel,
.cta-panel-lite,
.article-card {
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 45px rgba(21, 49, 47, 0.08);
}

.copy-panel {
  padding: clamp(1.5rem, 4vw, 2.4rem);
}

.copy-panel h2 {
  margin: 0 0 1rem;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.copy-panel p {
  color: var(--muted);
  font-size: 1.03rem;
}

.dark-check li::before {
  box-shadow: inset 0 0 0 4px var(--white);
}

.cta-panel-lite {
  position: sticky;
  top: 116px;
  padding: 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.cta-panel-lite h3 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 1.55rem;
}

.cta-panel-lite p {
  margin: 0;
  color: var(--muted);
}

.related-links {
  margin-top: 1.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--mint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.related-links span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.related-links a {
  padding: 0.58rem 0.72rem;
  border-radius: 999px;
  background: var(--white);
  color: var(--teal-dark);
  font-weight: 800;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.provider-grid article {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 38px rgba(21, 49, 47, 0.08);
}

.provider-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
}

.provider-grid div {
  padding: 1rem;
}

.provider-grid strong,
.provider-grid span {
  display: block;
}

.provider-grid strong {
  color: var(--ink-strong);
  line-height: 1.15;
}

.provider-grid span {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-grid,
.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.article-card {
  min-height: 250px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
}

.article-card span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
}

.article-card h3 {
  margin: 0.8rem 0 0.5rem;
  color: var(--ink-strong);
  line-height: 1.08;
}

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

.article-card a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 850;
}

.directory-grid a {
  min-height: 74px;
  display: grid;
  place-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
  text-align: center;
  font-weight: 820;
  box-shadow: 0 10px 28px rgba(21, 49, 47, 0.06);
}

.copy-section {
  max-width: 900px;
}

.copy-section h2 {
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

.copy-section p {
  color: var(--muted);
}

.subpage-contact {
  margin-top: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1fr;
  gap: 2rem;
  padding: 3rem max(1.25rem, calc((100% - var(--max)) / 2));
  background: var(--ink-strong);
  color: var(--white);
}

.footer-brand strong,
.footer-brand small {
  color: var(--white);
}

.footer-brand .brand-logo {
  background: var(--white);
}

.site-footer p,
.footer-links a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-links a {
  font-weight: 760;
}

.footer-legal {
  text-align: right;
}

@media (max-width: 1120px) {
  .nav-actions {
    display: none;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .insurance-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .notice-bar {
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    justify-content: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 112px 1rem auto 1rem;
    display: none;
    padding: 1rem;
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: grid;
    gap: 0.3rem;
  }

  .nav-links a {
    padding: 0.8rem;
    border-radius: 6px;
  }

  .nav-links a:hover {
    background: var(--mint);
  }

  .hero {
    min-height: auto;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(12, 37, 35, 0.95) 0%, rgba(12, 37, 35, 0.67) 64%, rgba(12, 37, 35, 0.2) 100%);
  }

  .hero-content {
    padding: 5.5rem 0 3.5rem;
  }

  .hero h1 {
    font-size: clamp(3.15rem, 15vw, 5rem);
  }

  .hero-stats,
  .hero-inner,
  .subpage-hero,
  .quick-actions,
  .intro-section,
  .image-story,
  .story-gallery,
  .section-heading,
  .media-band,
  .video-section,
  .team-layout,
  .team-strip,
  .subpage-grid,
  .contact-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .quick-actions a {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .quick-actions a {
    border-bottom-color: var(--line);
  }

  .hero-stats div:last-child,
  .quick-actions a:last-child {
    border-bottom: 0;
  }

  .hero-showcase {
    margin-top: 1rem;
  }

  .hero-mini-row {
    grid-template-columns: 1fr;
  }

  .story-gallery figure.wide {
    grid-row: span 1;
  }

  .section,
  .intro-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .service-grid,
  .team-list,
  .provider-grid,
  .article-grid,
  .directory-grid,
  .process-list,
  .insurance-steps {
    grid-template-columns: 1fr;
  }

  .featured-service {
    grid-column: span 1;
  }

  .media-image {
    min-height: 360px;
  }

  .video-card {
    min-height: 330px;
  }

  .subpage-hero {
    min-height: auto;
  }

  .subpage-hero-media {
    min-height: 340px;
  }

  .subpage-hero-content {
    padding: 3rem 1.25rem;
  }

  .cta-panel-lite {
    position: static;
  }

  .contact-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .brand strong {
    max-width: 165px;
  }

  .brand-logo {
    width: 92px;
  }

  .hero-actions,
  .inline-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
    text-align: center;
  }

  .condition-grid span {
    width: 100%;
    border-radius: 8px;
  }

  .team-list article,
  .team-strip article {
    grid-template-columns: 88px 1fr;
  }

  .team-list img,
  .team-strip img {
    width: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .moving-track {
    animation: none;
    transform: none;
  }

  .moving-banner {
    overflow-x: auto;
  }
}
