/* PrimeCare Network — Corporate B2B redesign
   Brand palette from official logo (teal → blue → violet) — hex values unchanged */

:root {
  --brand-teal: #00d2c1;
  --brand-cyan: #2ec4b6;
  --brand-blue: #3b98d4;
  --brand-violet: #4a57a4;
  --brand-gray: #959799;
  --brand-gradient: linear-gradient(135deg, #00d2c1 0%, #3b98d4 52%, #4a57a4 100%);
  --brand-gradient-soft: linear-gradient(125deg, #0b2a3d 0%, #1a4a6e 40%, #2a5f8a 70%, #3b98d4 100%);

  --teal-50: #f3faf9;
  --teal-100: #d2f5f0;
  --teal-200: #a5e8e0;
  --teal-300: #5ed4c8;
  --teal-400: #2ec4b6;
  --teal-500: #00d2c1;
  --teal-600: #00a89b;
  --teal-700: #008578;
  --teal-800: #0a5c6e;
  --teal-900: #0b2a3d;

  --navy-700: #3a4a8a;
  --navy-800: #2f3b72;
  --navy-900: #1a1f3d;

  --ink: #1a1f3d;
  --ink-muted: #5a6275;
  --paper: #ffffff;
  --surface: #f6f7f9;
  --white: #ffffff;
  --line: rgba(26, 31, 61, 0.1);

  --font-display: "Sora", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* Consistent type scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.0625rem;
  --text-lg: 1.125rem;

  --h-brand: clamp(2.75rem, 6.5vw, 4.75rem);
  --h-page: clamp(2rem, 4vw, 2.85rem);
  --h-section: clamp(1.6rem, 3vw, 2.2rem);
  --h-sub: clamp(1.2rem, 2vw, 1.4rem);
  --h-card: 1.125rem;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.75rem;
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: var(--weight-regular);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: var(--h-page);
}

h2 {
  font-size: var(--h-section);
}

h3 {
  font-size: var(--h-sub);
}

h4 {
  font-size: var(--h-card);
  letter-spacing: 0;
}

p {
  margin: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  max-width: 100%;
  margin-inline: auto;
}

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

/* ——— Top bar ——— */
.topbar {
  background: var(--brand-gradient);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.25rem;
  min-width: 0;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 1;
  min-width: 0;
}

.topbar a {
  opacity: 0.95;
  transition: opacity 0.2s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.topbar a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar__sep {
  opacity: 0.35;
}

.topbar__note {
  opacity: 0.85;
  display: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .topbar {
    font-size: 0.68rem;
  }

  .topbar__inner {
    gap: 0.4rem;
  }

  .topbar__links {
    gap: 0.35rem;
    margin-left: auto;
  }

  .topbar__sep {
    display: none;
  }

  .topbar__links a[href*="partner"],
  .topbar__links a[href*="#partner"] {
    max-width: 7.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (min-width: 720px) {
  .topbar__note {
    display: inline;
  }
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 31, 61, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 3.75rem;
  padding-block: 0.55rem;
  min-width: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  line-height: 0;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.logo__img {
  height: 2.25rem;
  width: auto;
  max-width: min(100%, 11.5rem);
  display: block;
  background: transparent;
  border: 0;
  outline: 0;
  box-shadow: none;
  border-radius: 0;
  flex-shrink: 1;
}

.site-header .logo,
.site-footer .logo {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.site-header .logo__img,
.site-footer .logo__img {
  mix-blend-mode: normal;
  background: transparent;
  max-width: none;
  height: 2.25rem;
  width: auto;
}

.nav {
  display: none;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 2.35rem;
  padding: 0 0.7rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  border-radius: 0.4rem;
  white-space: nowrap;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--navy-800);
  background: rgba(0, 210, 193, 0.08);
}

.nav a[aria-current="page"] {
  color: var(--brand-violet);
  background: transparent;
}

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
}

.btn--header {
  background: var(--white);
  color: var(--navy-800);
  border-color: rgba(74, 87, 164, 0.28);
}

.btn--header:hover {
  background: rgba(0, 210, 193, 0.1);
  border-color: var(--brand-teal);
  color: var(--teal-700);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header-actions .btn--sm {
  height: 2.35rem;
  padding: 0 0.85rem;
  font-size: var(--text-xs);
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

/* Mobile: keep header lean — Providers lives in the drawer */
.header-actions .btn--header {
  display: none;
}

.btn-label-short {
  display: inline;
}

.btn-label-full {
  display: none;
}

@media (min-width: 640px) {
  .site-header__inner {
    min-height: 4rem;
    gap: 1rem;
  }

  .logo__img,
  .site-header .logo__img {
    height: 2.4rem;
  }

  .header-actions {
    gap: 0.55rem;
  }

  .header-actions .btn--sm {
    padding: 0 0.95rem;
    font-size: var(--text-sm);
  }

  .header-actions .btn--header {
    display: inline-flex;
  }

  .btn-label-short {
    display: none;
  }

  .btn-label-full {
    display: inline;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border: 1.5px solid rgba(26, 31, 61, 0.14);
  border-radius: 0.25rem;
  background: var(--white);
  cursor: pointer;
  color: var(--navy-800);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.menu-toggle:hover {
  background: var(--teal-50);
  border-color: rgba(0, 210, 193, 0.45);
}

.menu-toggle__bars {
  position: relative;
  width: 1.05rem;
  height: 0.75rem;
}

.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease), top 0.25s var(--ease);
}

.menu-toggle__bars span:nth-child(1) {
  top: 0;
}

.menu-toggle__bars span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu-toggle__bars span:nth-child(3) {
  bottom: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
  bottom: auto;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile drawer */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 31, 61, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  z-index: 60;
}

.nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(20.5rem, 88vw);
  height: 100dvh;
  background: var(--white);
  border-left: 1px solid rgba(26, 31, 61, 0.08);
  box-shadow: -16px 0 40px rgba(26, 31, 61, 0.12);
  transform: translateX(105%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.15rem 1.5rem;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 31, 61, 0.08);
}

.mobile-nav__title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-violet);
}

.mobile-nav__close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(26, 31, 61, 0.12);
  background: var(--white);
  color: var(--navy-800);
  font-size: var(--h-sub);
  line-height: 1;
  cursor: pointer;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  overflow: auto;
}

.mobile-nav__links a {
  display: block;
  padding: 0.85rem 0.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--ink);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mobile-nav__links a:hover,
.mobile-nav__links a[aria-current="page"] {
  background: rgba(0, 210, 193, 0.1);
  color: var(--brand-violet);
}

.mobile-nav__actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(26, 31, 61, 0.08);
}

.mobile-nav__actions .btn {
  width: 100%;
}

.mobile-nav__actions .btn--header {
  color: var(--navy-800);
}

body.nav-open {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  touch-action: none;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  inset: 0;
  width: 100%;
  touch-action: none;
}

@media (min-width: 1100px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 4.5rem;
    column-gap: 1.5rem;
    padding-block: 0.65rem;
  }

  .logo__img,
  .site-header .logo__img {
    height: 2.65rem;
  }

  .nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    justify-self: center;
  }

  .header-actions {
    margin-left: 0;
    justify-self: end;
  }

  .header-actions .btn--header {
    display: inline-flex;
  }

  .header-actions .btn--sm {
    height: 2.5rem;
    padding: 0 1.05rem;
    font-size: var(--text-sm);
  }

  .menu-toggle {
    display: none;
  }

  .nav-backdrop,
  .mobile-nav {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .nav a {
    padding: 0 0.85rem;
    font-size: var(--text-sm);
  }

  .header-actions {
    gap: 0.7rem;
  }

  .header-actions .btn--sm {
    height: 2.5rem;
    padding: 0 1.15rem;
    font-size: var(--text-sm);
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.4rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 0.25rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn--primary {
  background: var(--brand-gradient);
  color: var(--white);
  box-shadow: none;
}

.btn--primary:hover {
  box-shadow: 0 6px 18px rgba(59, 152, 212, 0.28);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border-color: rgba(26, 31, 61, 0.22);
}

.btn--outline:hover {
  background: var(--surface);
  border-color: var(--brand-violet);
  color: var(--brand-violet);
}

.btn--light {
  background: var(--white);
  color: var(--navy-800);
}

.btn--light:hover {
  background: var(--surface);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: var(--text-sm);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: min(88vh, 42rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(26, 31, 61, 0.88) 0%, rgba(26, 74, 110, 0.72) 48%, rgba(59, 152, 212, 0.42) 100%),
    url("../assets/images/hero-care.jpg") center / cover no-repeat;
}

.hero__media--nurses {
  background:
    linear-gradient(100deg, rgba(26, 31, 61, 0.9) 0%, rgba(26, 74, 110, 0.7) 46%, rgba(0, 210, 193, 0.32) 100%),
    url("../assets/images/hero-nurses.jpg") center 28% / cover no-repeat;
}

.hero--home {
  min-height: min(86vh, 38rem);
  align-items: end;
}

.hero--home .hero__content {
  padding: 5.5rem 0 4.25rem;
}

.hero--home .hero__headline {
  max-width: 24ch;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 31, 61, 0.78) 0%,
    rgba(26, 31, 61, 0.22) 46%,
    transparent 70%
  );
}

.hero__glow {
  display: none;
}

.hero__content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 6rem 0 4.5rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: var(--h-brand);
  font-weight: var(--weight-bold);
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 1.35rem;
  animation: rise 0.85s var(--ease) both;
}

.hero__brand span {
  display: block;
  font-size: 0.28em;
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 0.45rem;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--h-sub);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.015em;
  max-width: 28ch;
  margin-bottom: 0.7rem;
  animation: rise 0.85s 0.1s var(--ease) both;
}

.hero__lede {
  max-width: 40ch;
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  opacity: 0.9;
  margin-bottom: 0;
  animation: rise 0.85s 0.18s var(--ease) both;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.65rem;
  animation: rise 0.85s 0.28s var(--ease) both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.85rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page hero (interior) */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
  padding: 4.5rem 0 3.5rem;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(26, 31, 61, 0.88) 0%, rgba(59, 152, 212, 0.55) 55%, rgba(0, 210, 193, 0.4) 100%),
    var(--page-hero-image, url("../assets/images/providers-network.jpg")) center / cover no-repeat;
  pointer-events: none;
}

.page-hero--providers {
  --page-hero-image: url("../assets/images/providers-hero.jpg");
}

.page-hero--coordination {
  --page-hero-image: url("../assets/images/coordination-hero.jpg");
  padding-bottom: 4rem;
}

.page-hero__lede {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  max-width: 40ch;
  margin-bottom: 0.85rem;
  opacity: 1;
}

.page-hero p + p {
  margin-top: 0.75rem;
}

.page-hero--about {
  --page-hero-image: url("../assets/images/about-hero.jpg");
}

.page-hero--about h1 {
  max-width: 22ch;
}

.page-hero--contact {
  --page-hero-image: url("../assets/images/contact-support.jpg");
}

.page-hero .container {
  position: relative;
}

.page-hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.75rem;
}

.page-hero h1 {
  font-size: var(--h-page);
  max-width: 16ch;
  margin-bottom: 0.85rem;
  font-weight: var(--weight-semibold);
}

.page-hero p {
  max-width: 48ch;
  opacity: 0.92;
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
}

.page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ——— Sections ——— */
.section {
  padding: 5.25rem 0;
}

.section--tight {
  padding: 3.75rem 0;
}

.section--teal {
  background: var(--brand-gradient-soft);
  color: var(--white);
}

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

.section__head {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-violet);
  margin-bottom: 0.7rem;
}

.section__head h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.75rem;
  font-weight: var(--weight-semibold);
}

.section__head p {
  color: var(--ink-muted);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
}

.section--teal .section__eyebrow {
  color: rgba(210, 245, 240, 0.92);
}

.section--teal .section__head h2,
.section--teal .section__head p {
  color: var(--white);
}

.section--teal .section__head p {
  opacity: 0.9;
}

/* ——— Pillars ——— */
.pillars {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  display: grid;
  gap: 1.25rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.35s var(--ease);
}

.pillar:last-child {
  border-bottom: 0;
}

.pillar:hover {
  background: linear-gradient(90deg, rgba(13, 155, 138, 0.06), transparent);
}

.pillar__index {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--teal-500);
  letter-spacing: 0.06em;
}

.pillar h3 {
  font-size: var(--h-sub);
  color: var(--navy-800);
}

.pillar p {
  color: var(--ink-muted);
  max-width: 52ch;
}

.pillar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--brand-violet);
  margin-top: 0.25rem;
}

.pillar__link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.pillar__link:hover::after {
  transform: translateX(3px);
}

@media (min-width: 800px) {
  .pillar {
    grid-template-columns: 4rem 1.1fr 1.4fr auto;
    align-items: start;
    gap: 1.75rem;
    padding: 2.5rem 0.5rem;
  }

  .pillar h3 {
    margin-top: -0.15rem;
  }

  .pillar__link {
    justify-self: end;
    align-self: center;
    margin-top: 0;
  }
}

/* ——— How it works ——— */
.steps {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--teal-200);
  margin-bottom: 0.75rem;
}

.section--teal .step__num {
  color: rgba(255, 255, 255, 0.22);
}

.step h3 {
  font-size: var(--h-sub);
  margin-bottom: 0.5rem;
  color: var(--navy-800);
}

.section--teal .step h3 {
  color: var(--white);
}

.step p {
  color: var(--ink-muted);
  font-size: var(--text-base);
}

.section--teal .step p {
  color: rgba(255, 255, 255, 0.88);
}

/* ——— Split ——— */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

.split__visual {
  min-height: 18rem;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(26, 31, 61, 0.28), rgba(0, 210, 193, 0.18)),
    var(--split-image, url("../assets/images/providers-network.jpg")) center / cover no-repeat;
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.split__visual::after {
  content: none;
}

.split__visual--alt {
  --split-image: url("../assets/images/coordination-split.jpg");
}

.split__visual--providers {
  --split-image: url("../assets/images/providers-network.jpg");
}

.split__visual--providers-referral {
  --split-image: url("../assets/images/providers-referral.jpg");
}

.split__visual--coordination {
  --split-image: url("../assets/images/coordination-split.jpg");
}

.split__visual--coord-hub {
  --split-image: url("../assets/images/care-coord-hub.jpg");
}

.split__closer {
  color: var(--navy-800) !important;
  font-weight: 600;
  margin-bottom: 0.25rem !important;
}

.split__visual--about {
  --split-image: url("../assets/images/about-who.jpg");
}

.split__visual--about-commitment {
  --split-image: url("../assets/images/about-commitment.jpg");
}

.split__visual--patient {
  --split-image: url("../assets/images/patient-support.jpg");
}

.split__visual--specialist {
  --split-image: url("../assets/images/network-specialist.jpg");
}

.split__visual--contact {
  --split-image: url("../assets/images/contact-support.jpg");
}

/* Photo grid on home */
.photo-strip {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .photo-strip {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 11.5rem 11.5rem;
  }

  .photo-strip__item:first-child {
    grid-row: 1 / span 2;
  }
}

.photo-strip__item {
  border-radius: 1rem;
  overflow: hidden;
  min-height: 11rem;
  position: relative;
}

.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.photo-strip__item:hover img {
  transform: scale(1.04);
}

.photo-strip__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(to top, rgba(26, 31, 61, 0.85), transparent);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 700;
}

.split__copy h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.split__copy p {
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.split__copy p + p {
  margin-bottom: 1.5rem;
}

/* ——— Feature list ——— */
.feature-list {
  display: grid;
  gap: 1.25rem;
}

.feature-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-list__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(0, 210, 193, 0.18), rgba(74, 87, 164, 0.18));
  color: var(--brand-violet);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.feature-list h3 {
  font-size: var(--h-card);
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}

.feature-list p {
  color: var(--ink-muted);
  font-size: var(--text-base);
}

/* ——— Specialty grid ——— */
.specialty-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.specialty-grid span {
  padding: 0.38rem 0.7rem;
  background: var(--white);
  border: 1px solid rgba(26, 31, 61, 0.12);
  border-radius: 0.15rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
}

/* ——— Audience bands ——— */
.audience {
  display: grid;
  gap: 0;
}

@media (min-width: 800px) {
  .audience {
    grid-template-columns: repeat(3, 1fr);
  }
}

.audience__item {
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 800px) {
  .audience__item {
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0 1.75rem;
  }

  .audience__item:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .audience__item:last-child {
    padding-right: 0;
  }
}

.audience__item h3 {
  font-size: var(--h-card);
  margin-bottom: 0.55rem;
}

.audience__item p {
  opacity: 0.88;
  font-size: var(--text-base);
}

/* ——— CTA band ——— */
.cta-band {
  padding: 4.75rem 0;
  background:
    linear-gradient(115deg, rgba(26, 31, 61, 0.92), rgba(74, 87, 164, 0.75)),
    url("../assets/images/patient-support.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-size: var(--h-section);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.cta-band p {
  max-width: 42ch;
  margin: 0 auto 1.75rem;
  opacity: 0.88;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ——— Contact form ——— */
.form {
  display: grid;
  gap: 1rem;
  max-width: 36rem;
}

.form__row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 600px) {
  .form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy-800);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--text-base);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--teal-500);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form__note {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  font-weight: 500;
}

.form__sms {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem;
  border: 1.5px solid var(--line);
  border-radius: 0.65rem;
  background: var(--white);
}

.form__sms-title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy-800);
}

.form__sms-label {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: var(--text-sm) !important;
  font-weight: 500 !important;
  color: var(--ink-muted);
  line-height: 1.55;
  cursor: pointer;
}

.form__sms-label input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--brand-teal);
  cursor: pointer;
  flex-shrink: 0;
}

.form__sms-label a {
  color: #c9a227;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__sms-label a:hover {
  color: var(--brand-violet);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--white);
  color: var(--ink-muted);
  padding: 5rem 0 2.25rem;
  border-top: 1px solid rgba(26, 31, 61, 0.08);
}

.footer__brand .logo__img {
  height: 3rem;
  width: auto;
  max-width: none;
  margin-bottom: 0.25rem;
}

.footer__brand p {
  margin-top: 1rem;
  font-size: var(--text-sm);
  max-width: 28ch;
  color: var(--ink-muted);
}

.footer__social-title {
  margin-top: 1.35rem;
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-violet);
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer__social a {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(26, 31, 61, 0.12);
  background: var(--teal-50);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer__social a:hover {
  background: rgba(0, 210, 193, 0.12);
  border-color: var(--brand-teal);
  color: var(--teal-700);
  transform: none;
}

.footer__social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: currentColor;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 800px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-violet);
  margin-bottom: 1rem;
}

.footer__col a,
.footer__col p {
  display: block;
  font-size: var(--text-sm);
  margin-bottom: 0.55rem;
  color: var(--ink-muted);
  opacity: 1;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--teal-700);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(26, 31, 61, 0.08);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}

/* ——— Legal document pages ——— */
.legal-doc {
  max-width: 46rem;
}

.legal-doc__updated {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.45rem);
  color: var(--navy-800);
  margin: 2rem 0 0.75rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--ink-muted);
  line-height: 1.65;
  font-size: var(--text-base);
}

.legal-doc ul {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.55rem;
}

.legal-doc a {
  color: var(--teal-700);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-doc__cta {
  margin-top: 2.5rem;
}

/* ——— Reveal on scroll ——— */
.reveal {
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

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

/* ——— Home content helpers ——— */
.check-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-muted);
  font-size: var(--text-base);
  line-height: 1.45;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 0;
  background: var(--brand-teal);
}

@media (min-width: 720px) {
  .check-list--cols {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
  }
}

.section--teal .check-list li {
  color: rgba(255, 255, 255, 0.9);
}

.disclaimer {
  margin-top: 0.85rem;
  font-size: var(--text-sm);
  color: var(--ink-muted);
  max-width: 54ch;
  line-height: 1.5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.q-list {
  display: grid;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
  color: var(--ink-muted);
}

.q-list li {
  padding-left: 1rem;
  position: relative;
}

.q-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--brand-teal);
}

.section__head--wide {
  max-width: 48rem;
}

.section__head--wide p + p {
  margin-top: 0.75rem;
}

/* ——— Intro band ——— */
.intro-band {
  position: relative;
  padding: 4.25rem 0 3.5rem;
  background: var(--white);
}

.intro-band__grid {
  display: grid;
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 880px) {
  .intro-band__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.intro-band__copy h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.intro-band__copy p {
  color: var(--ink-muted);
  max-width: 54ch;
}

.intro-band__aside {
  padding: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 880px) {
  .intro-band__aside {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 2.25rem;
  }
}

.intro-band__facts {
  margin: 0;
  display: grid;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

@media (min-width: 880px) {
  .intro-band__facts {
    padding-top: 0.15rem;
  }
}

.intro-band__facts dt {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-violet);
  margin-bottom: 0.45rem;
}

.intro-band__facts dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: var(--text-base);
  line-height: 1.55;
  max-width: 36ch;
}

/* ——— Pillar features (corporate split blocks) ——— */
.pillar-features {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pillar-feature {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
  align-items: stretch;
}

@media (min-width: 900px) {
  .pillar-feature {
    grid-template-columns: 0.95fr 1.2fr;
  }

  .pillar-feature--flip .pillar-feature__media {
    order: 2;
  }

  .pillar-feature--flip .pillar-feature__body {
    order: 1;
  }
}

.pillar-feature__media {
  min-height: 16rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.pillar-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(26, 31, 61, 0.28), rgba(0, 210, 193, 0.16));
}

@media (min-width: 900px) {
  .pillar-feature__media {
    min-height: 100%;
  }
}

.pillar-feature__body {
  padding: 2rem 0;
  display: grid;
  gap: 0.75rem;
  align-content: center;
}

@media (min-width: 900px) {
  .pillar-feature__body {
    padding: 2.75rem 0 2.75rem 2.75rem;
  }

  .pillar-feature--flip .pillar-feature__body {
    padding: 2.75rem 2.75rem 2.75rem 0;
  }
}

.pillar-feature h3 {
  font-size: var(--h-sub);
  color: var(--navy-800);
  font-weight: 600;
}

.pillar-feature p {
  color: var(--ink-muted);
  font-size: var(--text-base);
  max-width: 52ch;
}

.pillar-feature .disclaimer {
  margin-top: 0.15rem;
}

.pillar-feature .pillar__link {
  margin-top: 0.35rem;
}

/* ——— Network block ——— */
.network-block {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .network-block {
    grid-template-columns: 0.9fr 1.35fr;
    gap: 3.5rem;
  }
}

.network-block__visual {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  background: var(--navy-900);
}

.network-block__visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  display: block;
}

.network-block__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 31, 61, 0.18), rgba(0, 210, 193, 0.12));
  pointer-events: none;
}

.network-block__copy h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.network-block__copy > p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.chip-groups {
  display: grid;
  gap: 1.65rem;
}

.chip-group h3 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
}

.specialty-grid span {
  background: var(--white);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.specialty-grid span:hover {
  border-color: rgba(0, 210, 193, 0.45);
  color: var(--navy-800);
  transform: none;
}

.section--muted .specialty-grid span {
  background: var(--white);
}

/* ——— Visibility band ——— */
.visibility-band__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .visibility-band__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
    align-items: start;
  }
}

.visibility-band__intro h2 {
  font-size: var(--h-section);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.visibility-band__intro p {
  opacity: 0.9;
  margin-bottom: 0.85rem;
  max-width: 42ch;
}

.question-grid {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 600px) {
  .question-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.question-grid li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--text-sm);
  line-height: 1.4;
  padding-right: 1rem;
}

@media (min-width: 600px) {
  .question-grid li:nth-child(odd) {
    padding-right: 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .question-grid li:nth-child(even) {
    padding-left: 1.25rem;
  }
}

/* ——— Audience layouts ——— */
.audience-section {
  padding: 5rem 0;
}

.audience-layout {
  display: grid;
  gap: 2.25rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .audience-layout {
    grid-template-columns: 0.9fr 1.3fr;
    gap: 3.5rem;
  }

  .audience-layout--flip {
    grid-template-columns: 1.3fr 0.9fr;
  }
}

.audience-layout__media {
  min-height: 18rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.audience-layout__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(26, 31, 61, 0.22), rgba(0, 210, 193, 0.12));
}

@media (min-width: 960px) {
  .audience-layout__media {
    min-height: 100%;
  }
}

.audience-layout__copy h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.audience-layout__copy > p {
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}

.audience-layout__closer {
  margin-top: 1.15rem !important;
  font-weight: 600;
  color: var(--navy-800) !important;
}

/* ——— Process steps (corporate) ——— */
.process-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

@media (min-width: 960px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

.process-steps__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 960px) {
  .process-steps__item {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.75rem 1.1rem 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .process-steps__item:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.process-steps__num {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-teal);
  line-height: 1.3;
}

.process-steps__body h3 {
  font-size: var(--text-md);
  color: var(--navy-800);
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.process-steps__body p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

.process-steps__body .pillar__link {
  font-size: var(--text-sm);
}

/* Compact process list (nested in split / narrow columns) */
.process-steps--compact {
  margin: 1.25rem 0 0.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 960px) {
  .process-steps--compact {
    grid-template-columns: 1fr;
  }

  .process-steps--compact .process-steps__item {
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    padding: 1.15rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-steps--compact .process-steps__item:last-child {
    border-bottom: 0;
    padding-right: 0;
  }
}

/* Legacy timeline aliases (interior pages / older markup) */
.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .timeline {
    grid-template-columns: repeat(5, 1fr);
  }
}

.timeline__item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
  .timeline__item {
    padding: 0 0.85rem 0 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .timeline__item:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.timeline__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand-teal);
  margin-bottom: 0.75rem;
}

.timeline__item h3 {
  font-size: var(--text-md);
  color: var(--navy-800);
  margin-bottom: 0.45rem;
}

.timeline__item p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  margin-bottom: 0.65rem;
}

.timeline__item .pillar__link {
  font-size: var(--text-sm);
}

/* ——— Feature strip (no cards) ——— */
.feature-strip {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .feature-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-strip__item {
  padding: 1.5rem 1.15rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .feature-strip__item {
    padding: 1.75rem 1.35rem 1.75rem 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .feature-strip__item:nth-child(4n) {
    border-right: 0;
    padding-right: 0;
  }

  .feature-strip__item:nth-child(n + 5) {
    border-bottom: 0;
  }
}

.feature-strip__mark {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-teal);
  margin-bottom: 0.55rem;
}

.feature-strip__item h3 {
  font-size: var(--text-base);
  color: var(--navy-800);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.feature-strip__item p {
  color: var(--ink-muted);
  font-size: var(--text-sm);
}

.feature-strip__tagline {
  margin-top: 1.75rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* ——— Injury block ——— */
.injury-block {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .injury-block {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 3.5rem;
  }
}

.injury-block__copy h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.injury-block__copy > p {
  color: var(--ink-muted);
  margin-bottom: 1.25rem;
}

.injury-block__visual {
  overflow: hidden;
  min-height: 16rem;
  position: relative;
}

.injury-block__visual img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
}

.injury-block__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 87, 164, 0.2), rgba(0, 210, 193, 0.25));
  pointer-events: none;
}

/* ——— Why section ——— */
.why-layout {
  display: grid;
  gap: 2.5rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .why-layout {
    grid-template-columns: 0.9fr 1.25fr;
    gap: 3.5rem;
  }
}

.why-layout__media {
  min-height: 18rem;
  background-size: cover;
  background-position: center;
  position: relative;
}

.why-layout__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26, 31, 61, 0.35), rgba(0, 210, 193, 0.2));
}

.why-layout__copy h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.why-layout__copy > p {
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  max-width: 54ch;
}

.why-layout__close {
  margin-top: 0.5rem !important;
  color: var(--navy-800) !important;
  font-size: var(--text-md);
}

/* ——— Split visual polish ——— */
.split__visual {
  border-radius: 0;
  min-height: 22rem;
}

@media (min-width: 880px) {
  .split__visual {
    min-height: 28rem;
  }
}

/* ——— CTA band polish ——— */
.cta-band {
  background:
    linear-gradient(115deg, rgba(26, 31, 61, 0.92) 0%, rgba(59, 152, 212, 0.78) 55%, rgba(0, 210, 193, 0.55) 100%),
    url("../assets/images/patient-support.jpg") center / cover no-repeat;
}

.cta-band--coordination {
  background:
    linear-gradient(115deg, rgba(26, 31, 61, 0.92) 0%, rgba(59, 152, 212, 0.78) 55%, rgba(0, 210, 193, 0.55) 100%),
    url("../assets/images/care-coord-hub.jpg") center / cover no-repeat;
}

/* ——— Care Coordination page helpers ——— */
.chip-group__note {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  margin: 0 0 0.75rem;
  max-width: 52ch;
}

.chip-group__note--after {
  margin: 0.85rem 0 0;
}

.chip-group .check-list {
  margin-top: 0.35rem;
}

.chip-group .disclaimer {
  margin-top: 0.35rem;
}

.mid-cta {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.mid-cta p {
  margin: 0;
  color: var(--navy-800);
  font-weight: 600;
  font-size: var(--text-md);
}

.mid-cta--inline {
  margin-top: 2rem;
  border-top: 0;
  padding-top: 0;
}

.specialty-grid--on-dark span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
}

.specialty-grid--on-dark span:hover {
  border-color: rgba(0, 210, 193, 0.55);
  color: var(--white);
}

.visibility-band__closer {
  margin-top: 1rem !important;
  font-weight: 600;
  opacity: 1 !important;
}

.pathway {
  margin-top: 0.5rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}

.pathway__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-violet);
  margin-bottom: 1rem;
}

.pathway__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: center;
}

.pathway__steps li {
  position: relative;
  padding: 0.55rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--navy-800);
  margin-right: 1.35rem;
}

.pathway__steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-teal);
  font-weight: 700;
}

.pathway__note {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  font-size: var(--text-base);
}

.disclaimer-block {
  max-width: 48rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.disclaimer-block h2 {
  font-size: var(--h-sub);
  color: var(--navy-800);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.disclaimer-block p {
  color: var(--ink-muted);
  margin-bottom: 0.75rem;
  max-width: 54ch;
}

.disclaimer-block__closer {
  color: var(--navy-800) !important;
  font-weight: 600;
  margin-bottom: 0 !important;
}

.coord-detail-groups .chip-group {
  padding-bottom: 0.35rem;
}

@media (max-width: 720px) {
  .pathway__steps li {
    margin-right: 0;
    width: 100%;
  }

  .pathway__steps li:not(:last-child)::after {
    content: "↓";
    right: auto;
    left: 0.85rem;
    top: auto;
    bottom: -0.95rem;
    transform: none;
  }

  .pathway__steps {
    gap: 1.15rem 0;
  }
}

.cta-band--about {
  background:
    linear-gradient(115deg, rgba(26, 31, 61, 0.92) 0%, rgba(59, 152, 212, 0.78) 55%, rgba(0, 210, 193, 0.55) 100%),
    url("../assets/images/about-commitment.jpg") center / cover no-repeat;
}

/* ——— About page (namespaced) ——— */
.about-page__close {
  margin-top: 1.25rem !important;
  color: var(--navy-800) !important;
  font-weight: 600;
}

.about-page__together {
  margin-top: 1.75rem;
  color: var(--navy-800);
  font-weight: 600;
  font-size: var(--text-md);
}

.about-page__disclaimer {
  max-width: 48rem;
}

.about-page__disclaimer h2 {
  font-size: var(--h-section);
  color: var(--navy-800);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.about-page__disclaimer > p:last-child {
  color: var(--ink-muted);
  max-width: 58ch;
  line-height: 1.65;
}

/* ——— Blog ——— */
.page-hero--blog {
  --page-hero-image: url("../assets/images/care-coord-hub.jpg");
}

.blog-tiles {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .blog-tiles {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .blog-tiles {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

.blog-tile {
  background: var(--white);
  border: 1px solid var(--line);
  height: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.blog-tile:hover {
  border-color: rgba(0, 210, 193, 0.55);
  transform: translateY(-3px);
}

.blog-tile__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.blog-tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
}

.blog-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.blog-tile:hover .blog-tile__media img {
  transform: scale(1.04);
}

.blog-tile__placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(0, 210, 193, 0.18), rgba(74, 87, 164, 0.22)),
    var(--surface);
}

.blog-tile__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.4rem;
  gap: 0.55rem;
}

.blog-tile__meta {
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
}

.blog-tile__title {
  font-size: var(--h-card);
  color: var(--navy-800);
  line-height: 1.3;
  margin: 0;
}

.blog-tile__summary {
  color: var(--ink-muted);
  font-size: var(--text-sm);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-tile__cta {
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  color: var(--brand-violet);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.blog-tile__cta::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.blog-tile:hover .blog-tile__cta::after {
  transform: translateX(3px);
}

.blog-pagination {
  display: flex;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.blog-post__meta {
  margin-top: 0.75rem;
  font-size: var(--text-sm);
  opacity: 0.88;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.blog-post__feature {
  margin-top: -1.5rem;
  margin-bottom: 0;
}

.blog-post__feature img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

.blog-post__content {
  max-width: 44rem;
}

.blog-post__content h2 {
  font-size: var(--h-sub);
  color: var(--navy-800);
  margin: 1.75rem 0 0.75rem;
}

.blog-post__content p,
.blog-post__content li {
  color: var(--ink-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.blog-post__content p {
  margin-bottom: 1rem;
}

.blog-post__content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.45rem;
}

.blog-post__content a {
  color: var(--brand-violet);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post__content a.btn {
  text-decoration: none;
  font-weight: 700;
}

.blog-post__content a.btn--primary {
  color: var(--white);
}

.blog-post__content a.btn--primary:hover {
  color: var(--white);
}

.blog-post__content a.btn--outline {
  color: var(--navy-800);
}

.blog-post__content a.btn--outline:hover {
  color: var(--brand-violet);
}

.blog-post__content .cta-row {
  margin-top: 2.25rem;
}

/* ========== Top providers slider (home) ========== */
.top-providers-section {
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(0, 210, 193, 0.1), transparent 55%),
    radial-gradient(ellipse 60% 45% at 0% 100%, rgba(59, 152, 212, 0.1), transparent 50%),
    #fff;
}

.top-providers__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.top-providers__head .section__eyebrow {
  margin-bottom: 0.35rem;
}

.top-providers__head h2 {
  margin-bottom: 0.5rem;
}

.top-providers__head p {
  max-width: 40rem;
  margin: 0;
  color: var(--brand-gray);
}

.top-providers__head .btn {
  flex-shrink: 0;
}

.top-providers {
  position: relative;
  max-width: 100%;
  min-width: 0;
}

.top-providers__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  container-type: inline-size;
  container-name: top-providers;
  /* Allow vertical page scroll while still permitting horizontal swipes */
  touch-action: pan-x pan-y;
}

.top-providers__viewport::-webkit-scrollbar {
  display: none;
}

.top-providers__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1rem;
}

.top-provider {
  box-sizing: border-box;
  flex: 0 0 auto;
  width: calc((100cqi - 4rem) / 5);
  scroll-snap-align: start;
}

.top-provider__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid rgba(26, 31, 61, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.top-provider__link:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 210, 193, 0.45);
  box-shadow: 0 18px 36px rgba(26, 31, 61, 0.1);
}

.top-provider__media {
  aspect-ratio: 1 / 1;
  width: 100%;
  background: linear-gradient(135deg, rgba(0, 210, 193, 0.12), rgba(74, 87, 164, 0.12));
}

.top-provider__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  display: block;
}

.top-provider__body {
  padding: 0.9rem 0.95rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.top-provider__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--brand-blue);
}

.top-provider__stars {
  margin: 0.1rem 0 0.15rem;
  color: #f0a020;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

.top-provider__specialty {
  margin: 0;
  color: var(--brand-teal);
  font-weight: 700;
  font-size: 0.82rem;
}

.top-provider__clinic,
.top-provider__location {
  margin: 0;
  color: var(--navy-800);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-provider__clinic {
  color: var(--brand-gray);
}

.top-providers__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.top-providers__btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 31, 61, 0.14);
  background: var(--white);
  color: var(--navy-800);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.top-providers__btn:hover:not(:disabled) {
  border-color: var(--brand-teal);
  color: var(--brand-violet);
}

.top-providers__btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.top-providers__dots {
  display: flex;
  gap: 0.4rem;
}

.top-providers__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(26, 31, 61, 0.18);
  cursor: pointer;
}

.top-providers__dot.is-active {
  background: var(--brand-gradient);
  width: 1.35rem;
}

@media (max-width: 900px) {
  .top-providers__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 519px) {
  .top-provider {
    width: 100cqi;
  }
}

@media (min-width: 520px) and (max-width: 779px) {
  .top-provider {
    width: calc((100cqi - 1rem) / 2);
  }
}

@media (min-width: 780px) and (max-width: 1039px) {
  .top-provider {
    width: calc((100cqi - 2rem) / 3);
  }
}

@media (min-width: 1040px) {
  .top-provider {
    width: calc((100cqi - 3rem) / 4);
  }
}

/* ========== Doctors directory ========== */
.doctors-hero {
  padding: 3.5rem 0 2.25rem;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(0, 210, 193, 0.16), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 20%, rgba(59, 152, 212, 0.14), transparent 50%),
    linear-gradient(180deg, #f4fafc 0%, #ffffff 100%);
}

.doctors-hero--with-slider {
  padding-bottom: 1.5rem;
}

.doctors-hero__inner {
  margin-bottom: 1.75rem;
}

.doctors-hero__slider {
  margin-top: 0.25rem;
}

.doctors-hero .eyebrow {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-teal);
}

.doctors-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.6rem);
  color: var(--navy-900);
  margin: 0.35rem 0 0.75rem;
  max-width: 22ch;
}

.doctors-hero .lede {
  max-width: 42rem;
  color: var(--brand-gray);
  font-size: 1.05rem;
  margin: 0;
}

.doctors-search {
  padding: 0 0 1.5rem;
}

.doctors-search__panel {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(26, 31, 61, 0.08);
  box-shadow: 0 18px 40px rgba(26, 31, 61, 0.06);
  background: var(--white);
}

.doctors-search__title {
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.9rem 1.25rem;
  font-size: 1.05rem;
}

.doctors-search__form {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) auto;
  gap: 1rem;
  padding: 1.25rem;
  align-items: end;
}

.doctors-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
}

.doctors-field__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: 0.02em;
}

.doctors-field select,
.doctors-field input[type="search"],
.doctors-field input[type="text"] {
  width: 100%;
  border: 1px solid rgba(26, 31, 61, 0.16);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--navy-900);
  background: #fff;
}

.doctors-field input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

.doctors-field select:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f4f6f8;
}

.doctors-search__submit {
  width: 100%;
  justify-content: center;
}

.doctors-results {
  padding: 0.5rem 0 4rem;
}

.doctors-results__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--brand-gray);
  font-size: 0.95rem;
}

.text-link {
  background: none;
  border: 0;
  color: var(--brand-blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.doctors-list {
  display: flex;
  flex-direction: column;
}

.doctors-card {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(26, 31, 61, 0.1);
}

.doctors-card__photo {
  flex: 0 0 auto;
}

.doctors-card__photo img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.85rem;
  background: rgba(0, 210, 193, 0.08);
}

.doctors-card__main {
  flex: 1 1 auto;
  min-width: 0;
}

.doctors-card__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-family: var(--font-display);
}

.doctors-card__title a {
  color: var(--brand-blue);
  text-decoration: none;
}

.doctors-card__title a:hover {
  color: var(--brand-violet);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doctors-card__line {
  margin: 0.2rem 0 0;
  color: var(--navy-800);
  font-size: 0.95rem;
}

.doctors-card__line span {
  color: var(--brand-teal);
  font-weight: 700;
}

.doctors-card__actions {
  flex-shrink: 0;
}

.doctors-empty {
  padding: 2rem 0;
  color: var(--brand-gray);
}

.doctors-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.75rem;
  justify-content: center;
}

.doctors-page-btn {
  border: 1px solid rgba(26, 31, 61, 0.14);
  background: var(--white);
  color: var(--navy-800);
  border-radius: 0.45rem;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.doctors-page-btn:hover:not(:disabled) {
  border-color: var(--brand-teal);
  color: var(--brand-violet);
}

.doctors-page-btn.is-active {
  background: var(--brand-gradient);
  color: var(--white);
  border-color: transparent;
}

.doctors-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.provider-rating {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
}

.provider-rating__stars {
  color: #f0a020;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.provider-rating__value {
  color: var(--brand-gray);
  font-size: 0.85rem;
}

.provider-detail {
  padding: 2.5rem 0 4rem;
  background:
    linear-gradient(180deg, #f3f8fb 0%, #ffffff 40%);
}

.provider-detail__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--brand-gray);
  font-size: 0.9rem;
  margin: 0 0 1.25rem;
}

.provider-detail__crumb a {
  color: var(--brand-blue);
  text-decoration: none;
  font-weight: 600;
}

.provider-detail__card {
  background: var(--white);
  border: 1px solid rgba(26, 31, 61, 0.08);
  border-radius: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: 0 20px 50px rgba(26, 31, 61, 0.06);
  max-width: 46rem;
}

.provider-detail__photo {
  margin: 0 0 1.15rem;
}

.provider-detail__photo img {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
  border-radius: 1rem;
  background: rgba(0, 210, 193, 0.08);
}

.provider-detail__card h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  color: var(--brand-blue);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.provider-meta {
  margin: 0.35rem 0;
  color: var(--navy-800);
}

.provider-meta__label,
.provider-clinic {
  color: var(--brand-teal);
  font-weight: 700;
}

.provider-clinic {
  margin: 0.65rem 0;
  font-size: 1.05rem;
}

.provider-address {
  margin: 1rem 0;
}

.provider-address p {
  margin: 0.15rem 0;
  color: var(--navy-800);
}

.provider-bio {
  margin-top: 1.25rem;
  color: var(--navy-800);
  line-height: 1.65;
}

.provider-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.appt-modal[hidden] {
  display: none !important;
}

.appt-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1rem;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
}

.appt-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 22, 48, 0.55);
}

.appt-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 28rem);
  max-width: calc(100vw - 2rem);
  max-height: min(92vh, 40rem);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: 0 30px 80px rgba(10, 18, 40, 0.28);
}

.appt-modal__dialog h2 {
  margin: 0 2rem 0.4rem 0;
  font-family: var(--font-display);
  color: var(--navy-900);
  font-size: 1.35rem;
}

.appt-modal__lede {
  margin: 0 0 1.1rem;
  color: var(--brand-gray);
  font-size: 0.95rem;
}

.appt-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy-800);
  cursor: pointer;
}

.appt-form {
  display: grid;
  gap: 0.85rem;
}

.appt-form label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.9rem;
}

.appt-form input,
.appt-form textarea {
  width: 100%;
  border: 1px solid rgba(26, 31, 61, 0.16);
  border-radius: 0.55rem;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 500;
}

.appt-form__note {
  margin: 0;
  min-height: 1.2em;
  color: var(--brand-gray);
  font-size: 0.85rem;
  font-weight: 500;
}

.appt-form .btn {
  width: 100%;
  justify-content: center;
}

@media (max-width: 640px) {
  .appt-modal {
    padding: 0.5rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    align-items: center;
    place-items: center;
  }

  .appt-modal__dialog {
    width: min(100%, 20.5rem);
    max-width: calc(100vw - 1rem);
    max-height: min(72vh, 28rem);
    margin: 0 auto;
    border-radius: 0.85rem;
    padding: 0.9rem 0.85rem 0.85rem;
  }

  .appt-modal__dialog h2 {
    margin: 0 1.75rem 0.2rem 0;
    font-size: 1.05rem;
    line-height: 1.25;
  }

  .appt-modal__lede {
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .appt-modal__close {
    top: 0.4rem;
    right: 0.45rem;
    font-size: 1.25rem;
  }

  .appt-form {
    gap: 0.45rem;
  }

  .appt-form label {
    gap: 0.15rem;
    font-size: 0.78rem;
  }

  .appt-form input,
  .appt-form textarea {
    padding: 0.5rem 0.6rem;
    border-radius: 0.4rem;
    font-size: 16px; /* prevent iOS zoom */
  }

  .appt-form textarea {
    min-height: 3.5rem;
    max-height: 4.5rem;
    resize: none;
  }

  .appt-form .btn {
    padding: 0.6rem 0.9rem;
    font-size: 0.9rem;
  }

  .appt-form__note {
    font-size: 0.75rem;
  }
}

@media (max-width: 900px) {
  .doctors-search__form {
    grid-template-columns: 1fr 1fr;
  }

  .doctors-field--name {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .doctors-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .doctors-search__form {
    grid-template-columns: 1fr;
  }

  .doctors-field--name {
    grid-column: auto;
  }

  .provider-detail__actions,
  .doctors-card__actions {
    width: 100%;
  }

  .provider-detail__actions .btn,
  .doctors-card__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
