:root {
  --blue: #0b4aa2;
  --blue-mid: #0e5cc4;
  --blue-deep: #072c63;
  --blue-soft: #e8f0fb;
  --blue-tint: #f2f7fd;
  --ink: #121826;
  --ink-soft: #3d4654;
  --muted: #5b6575;
  --line: #dce4f0;
  --line-soft: #e9eef7;
  --paper: #f4f6f8;
  --white: #ffffff;
  --star: #ffc107;
  --star-line: #e69500;
  --go: #16a34a;
  --go-deep: #15803d;
  --shadow-sm: 0 6px 16px rgba(18, 24, 38, 0.05);
  --shadow-md: 0 12px 32px rgba(18, 24, 38, 0.07);
  --shadow-lg: 0 20px 44px rgba(7, 24, 56, 0.12);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 60px;
  --header-offset: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  /* Large viewport: stable while the mobile URL bar shows/hides. JS may
     replace this with a pixel value; never update it on visualViewport. */
  --app-height: 100vh;
  --app-height: 100lvh;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
  height: 100%;
  scroll-padding-top: var(--header-offset);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100svh;
  max-width: 100%;
  padding-top: var(--header-offset);
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  overflow-wrap: break-word;
  color: var(--ink);
  /* Flat grey read as unfinished next to the white cards, so the page keeps a
     faint blue wash behind them. */
  background-color: var(--paper);
  background-image:
    radial-gradient(120% 60% at 12% 0%, rgba(11, 74, 162, 0.06), transparent 60%),
    radial-gradient(90% 55% at 100% 22%, rgba(11, 74, 162, 0.04), transparent 62%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

main {
  flex: 1 0 auto;
}

img,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 6px;
}

::selection {
  background: rgba(11, 74, 162, 0.16);
  color: var(--blue-deep);
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 60;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  transform: translate(-50%, -160%);
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

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

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

.container {
  width: min(1240px, calc(100% - 40px));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--header-offset);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

@supports not (backdrop-filter: blur(12px)) {
  .site-header {
    background: var(--white);
  }
}

/* JS flips this on once the page scrolls, so the bar lifts off the content. */
.site-header.is-stuck {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(7, 24, 56, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: var(--header-h);
  min-height: var(--header-h);
  max-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 20px;
}

.logo-accent-blue {
  font-style: normal;
  color: var(--blue);
  font-weight: 700;
}

.logo-mark {
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
  object-position: left center;
  flex: none;
}

.footer-logo .logo-mark {
  width: auto;
  height: 32px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 50%;
  z-index: 21;
  height: var(--header-h);
  transform: translateX(-50%);
}

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s var(--ease), background 0.15s var(--ease);
}

.nav a:hover,
.nav a.on,
.nav a[aria-current="page"] {
  color: var(--blue);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

a.is-disabled {
  pointer-events: none;
  cursor: default;
}

/* Underline marks the current page without shifting the row's height. */
.nav-link::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}

.nav-link.on::after,
.nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-icon {
  display: block;
  flex: none;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  order: 3;
}

.lang {
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.lang a {
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.lang a:hover {
  color: var(--blue);
}

.lang a.on {
  background: var(--blue);
  color: var(--white);
}

.lang-select-wrap,
.nav-drawer-head {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.menu-open,
body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: 78vh;
  min-height: 78svh;
  display: grid;
  align-items: end;
  color: var(--white);
}

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

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

/* Two layers: the horizontal wash carries the desktop copy, the vertical one
   keeps the same text readable once the columns stack on a phone. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 24, 56, 0.86) 0%,
      rgba(7, 24, 56, 0.52) 52%,
      rgba(7, 24, 56, 0.14) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 24, 56, 0.34) 0%,
      rgba(7, 24, 56, 0.06) 34%,
      rgba(7, 24, 56, 0.58) 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(238, 244, 252, 0) 0%, #eef4fc 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 120px 0 72px;
}

.hero h1 {
  max-width: none;
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-promise {
  max-width: 26ch;
  margin: 0;
  text-wrap: balance;
  font-size: clamp(2.05rem, 4vw, 3.35rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(7, 24, 56, 0.34);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
}

.hero-badges svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: #9dc4ff;
}

.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
}

.hero .eyebrow {
  color: #bcd4f7;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.lede {
  max-width: 34rem;
  color: var(--muted);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
  margin: 18px 0 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(11, 74, 162, 0.18);
  transition: background 0.16s var(--ease), box-shadow 0.16s var(--ease),
    transform 0.16s var(--ease);
}

.btn:hover {
  background: var(--blue-deep);
  box-shadow: 0 12px 24px rgba(7, 44, 99, 0.24);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(7, 44, 99, 0.2);
}

.btn svg {
  flex: none;
}

.btn-ghost,
.btn-outline {
  box-shadow: none;
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow-line::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.55;
}

.network-strip {
  padding: 40px 0 12px;
  background:
    linear-gradient(180deg, #eef4fc 0%, var(--paper) 78%);
}

.network-intro {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
  padding: 22px 22px 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(11, 74, 162, 0.12);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 140% at 0% 0%, rgba(56, 189, 248, 0.16), transparent 52%),
    radial-gradient(70% 120% at 100% 100%, rgba(11, 74, 162, 0.08), transparent 58%),
    linear-gradient(145deg, #ffffff 0%, #eef5fd 58%, #e4eefb 100%);
  box-shadow: 0 18px 40px rgba(11, 74, 162, 0.08);
}

.network-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding-left: 18px;
}

.network-copy::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 4px;
  border-radius: 99px;
  background: linear-gradient(180deg, #38bdf8 0%, var(--blue) 52%, var(--blue-deep) 100%);
}

.network-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(11, 74, 162, 0.22);
}

.network-kicker-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #dbeafe;
}

.network-kicker-icon svg {
  width: 13px;
  height: 13px;
}

.network-copy h2 {
  color: var(--ink);
  font-size: clamp(1.38rem, 2.3vw, 1.92rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.35;
}

.network-copy h2 mark {
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  color: var(--blue);
  font-style: normal;
  font-weight: 800;
}

.network-copy .lede {
  margin: 14px 0 0;
  color: var(--ink-soft);
}

.network-copy .lede mark {
  display: inline-block;
  margin: 0 0.08em;
  padding: 0.08em 0.48em;
  border-radius: 999px;
  background: linear-gradient(135deg, #0b4aa2 0%, #0284c7 100%);
  color: var(--white);
  font-style: normal;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 10px rgba(11, 74, 162, 0.2);
}

.network-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.network-stats li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

.network-stats li:hover {
  transform: translateY(-2px);
  border-color: #c9d9f1;
  box-shadow: var(--shadow-md);
}

.network-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: var(--blue);
  background: linear-gradient(160deg, var(--blue-soft) 0%, #dbe8fa 100%);
}

.network-icon svg {
  width: 22px;
  height: 22px;
}

.network-stat {
  min-width: 0;
}

.network-stats strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.network-label {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.network-hub {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(18, 24, 38, 0.16);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.network-hub:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(7, 24, 56, 0.24);
}

/* Hairline keeps the photo from bleeding into the page on light images. */
.network-hub::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.network-hub > * {
  grid-area: 1 / 1;
}

.network-hub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.network-hub:hover img {
  transform: scale(1.05);
}

.network-hub-copy {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 210px;
  padding: 18px 18px 20px;
  background: linear-gradient(
    180deg,
    rgba(7, 24, 56, 0) 0%,
    rgba(7, 24, 56, 0.22) 42%,
    rgba(7, 24, 56, 0.92) 100%
  );
}

.network-hub-count {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(7, 24, 56, 0.18);
}

.network-hub-country {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #bcd4f7;
}

.network-hub-city {
  margin-top: 6px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.network-hub-blurb {
  margin-top: 8px;
  max-width: 18rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.network-promises {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.network-promises li {
  position: relative;
  min-width: 0;
  padding: 20px 20px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

/* Thin brand rule along the top edge, revealed on hover. */
.network-promises li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-mid) 100%);
  opacity: 0;
  transition: opacity 0.2s var(--ease);
}

.network-promises li:hover {
  transform: translateY(-3px);
  border-color: #c9d9f1;
  box-shadow: var(--shadow-lg);
}

.network-promises li:hover::before {
  opacity: 1;
}

.network-promise-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--blue-soft) 0%, #dbe8fa 100%);
  color: var(--blue);
}

.network-promise-icon svg {
  width: 22px;
  height: 22px;
}

.network-promises h3 {
  font-size: 1.05rem;
}

.network-promises p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .network-hub img {
    transition: none;
  }

  .network-hub:hover img {
    transform: none;
  }
}

.flag {
  display: block;
  flex: none;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(11, 74, 162, 0.12);
}

.flag svg {
  display: block;
  width: 100%;
  height: 100%;
}

.flag-unknown {
  background: #9aa6b8;
}

.care-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.care-chips li {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(18, 24, 38, 0.04);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease),
    transform 0.16s var(--ease);
}

.care-chips li:hover {
  transform: translateY(-1px);
  border-color: #bed3ef;
  background: var(--blue-tint);
}

.page-facts,
.doctor-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 22px 0 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.page-facts li,
.doctor-facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--paper);
  transition: background 0.16s var(--ease);
}

.page-facts li:hover,
.doctor-facts li:hover {
  background: var(--blue-tint);
}

.page-facts-icon,
.doctor-facts-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
}

.page-facts-icon svg,
.doctor-facts-icon svg {
  width: 18px;
  height: 18px;
}

.page-facts-copy {
  min-width: 0;
  color: var(--ink);
}

.page-facts strong,
.doctor-facts strong {
  display: block;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  white-space: nowrap;
}

.page-facts-label {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.listing-count {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.listing-more {
  margin: 22px 0 0;
}

.listing-more-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 22px;
  border: 1.5px solid var(--blue);
  border-radius: 16px;
  background: var(--white);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background 0.16s var(--ease), color 0.16s var(--ease),
    border-color 0.16s var(--ease), transform 0.16s var(--ease),
    opacity 0.16s var(--ease);
}

.listing-more-btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.is-listing-enter {
  animation: listing-enter 0.48s var(--ease) both;
  animation-delay: var(--listing-enter-delay, 0ms);
}

@keyframes listing-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-listing-enter {
    animation: none;
  }
}

.listing-more-btn:hover:not(:disabled) {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

.listing-more-btn svg {
  flex: none;
  transition: transform 0.16s var(--ease);
}

.listing-more-btn:hover:not(:disabled) svg {
  transform: translateY(3px);
}

.listing-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.listing-notes article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.listing-notes article:hover {
  transform: translateY(-2px);
  border-color: #c9d9f1;
  box-shadow: var(--shadow-md);
}

.listing-notes h2 {
  font-size: 1rem;
}

.listing-notes p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.include-band {
  position: relative;
  padding: 56px 0;
  background:
    radial-gradient(70% 90% at 0% 100%, rgba(11, 74, 162, 0.06), transparent 58%),
    linear-gradient(180deg, var(--paper) 0%, #e8eef8 100%);
}

.include-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(70% 90% at 0% 0%, var(--blue-tint) 0%, transparent 62%),
    var(--white);
  box-shadow: var(--shadow-md);
}

.include-copy p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
}

.include-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: include;
}

.include-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  counter-increment: include;
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease);
}

.include-list li:hover {
  border-color: #c4d6f0;
  background: var(--blue-tint);
}

.include-list li::before {
  content: counter(include, decimal-leading-zero);
  flex: none;
  padding-top: 1px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.location-band {
  position: relative;
  padding: 56px 0;
  background:
    radial-gradient(80% 100% at 100% 100%, rgba(11, 74, 162, 0.07), transparent 58%),
    linear-gradient(180deg, #f3f6fb 0%, #e8f0fb 100%);
}

.location-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11, 74, 162, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 100%);
}

.location-band .container {
  position: relative;
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(60% 80% at 0% 100%, var(--blue-tint) 0%, transparent 60%),
    var(--white);
  box-shadow: var(--shadow-md);
}

.location-note {
  margin: 10px 0 0;
  color: var(--muted);
}

.location-meta {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

.location-meta dt {
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.location-meta dd {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.location-meta dd span {
  display: block;
  color: var(--muted);
  font-weight: 400;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.location-map {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: inset 0 1px 3px rgba(18, 24, 38, 0.08);
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.page-cta {
  padding: 8px 0 56px;
}

.page-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  overflow: hidden;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(90% 160% at 100% 0%, rgba(74, 144, 226, 0.38), transparent 62%),
    linear-gradient(135deg, #06255a 0%, var(--blue-deep) 46%, #0a3d86 100%);
  color: var(--white);
  box-shadow: 0 20px 44px rgba(7, 44, 99, 0.28);
}

/* Faint diagonal hatch so the panel is not a flat block of navy. */
.page-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.045) 14px 15px
  );
}

.page-cta-inner > * {
  position: relative;
}

.page-cta .eyebrow {
  color: #bcd4f7;
}

.page-cta p:last-child {
  margin: 8px 0 0;
  color: #c5d7f5;
}

.page-cta .btn {
  flex: none;
  background: var(--white);
  color: var(--blue-deep);
}

.page-cta .btn:hover {
  background: var(--blue-soft);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.22);
}

.page-cta .btn svg {
  transition: transform 0.16s var(--ease);
}

.page-cta .btn:hover svg {
  transform: translateX(3px);
}

.faq-section {
  position: relative;
  padding: 36px 0 56px;
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(11, 74, 162, 0.05), transparent 56%),
    linear-gradient(180deg, #eef3fa 0%, var(--paper) 100%);
}

.faq-section .section-head {
  margin-bottom: 22px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.side-panel {
  position: sticky;
  top: calc(var(--header-offset) + 16px);
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #f7faff 0%, var(--white) 46%);
  box-shadow: var(--shadow-md);
}

.side-panel h2 {
  font-size: 1.35rem;
}

.side-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.side-meta {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 16px 0 10px;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.side-meta li {
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--white);
}

.side-meta a:hover {
  color: var(--blue);
}

.side-panel .btn {
  width: 100%;
}

.clinics,
.steps,
.partners,
.page-hero {
  padding: 88px 0;
}

/* Clinics and steps used to share the page background, so the two sections ran
   together with only a hairline between them. */
.clinics {
  padding-top: 48px;
  background: var(--white);
  border-block: 1px solid var(--line-soft);
}

.steps {
  position: relative;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(11, 74, 162, 0.07), transparent 58%),
    linear-gradient(180deg, #eff4fb 0%, var(--paper) 100%);
  border-block: 1px solid var(--line);
}

.steps::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(11, 74, 162, 0.09) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 46%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 46%);
}

.steps .container {
  position: relative;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(11, 74, 162, 0.1), transparent 62%),
    linear-gradient(180deg, #e8f0fb 0%, var(--paper) 78%);
  padding: 36px 0 32px;
}

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

.page-hero h1 {
  max-width: 100%;
  font-size: clamp(1.25rem, 4.6vw, 2.4rem);
  overflow-wrap: break-word;
  text-wrap: balance;
}

.page-hero .lede {
  margin: 8px 0 0;
}

.hospital-hero-lede {
  max-width: 40rem;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

.page-hero .eyebrow {
  margin-bottom: 8px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.back-link:hover {
  color: var(--blue);
}

.back-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.back-link:hover .back-arrow {
  border-color: var(--blue);
  transform: translateX(-2px);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 40px;
}

.section-head p:last-child {
  color: var(--muted);
}

.clinic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* These used to sit bare on the page background while every other card on the
   site is a bordered white panel. */
.clinic-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto minmax(2.5em, 1fr) auto;
  height: 100%;
  padding: 10px 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.clinic-card:hover {
  transform: translateY(-3px);
  border-color: #c9d9f1;
  box-shadow: var(--shadow-lg);
}

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

.clinic-card:hover h3 {
  color: var(--blue);
}

.clinic-photo {
  height: 148px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #d7deea;
}

.clinic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.clinic-card h3 {
  margin: 2px 0 0;
  transition: color 0.16s var(--ease);
  font-size: 0.95rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
  overflow: hidden;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.place {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.clinic-rating {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  min-width: 0;
}

.clinic-rating .star {
  width: 16px;
  height: 16px;
}

.clinic-score {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  background: #16a34a;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
}

.stars {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: none;
}

.star {
  display: block;
  flex: none;
  overflow: visible;
  filter: drop-shadow(0 1px 0 rgba(0, 0, 0, 0.12));
}

.star-full path {
  fill: #ffc107;
  stroke: #e69500;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.star-half path {
  stroke: #e69500;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.star-empty path {
  fill: #ffffff;
  stroke: #c5cedc;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

.clinic-more {
  display: flex;
  justify-content: flex-end;
  margin: 24px 0 0;
}

.clinic-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  transition: border-color 0.16s var(--ease), background 0.16s var(--ease),
    color 0.16s var(--ease);
}

.clinic-more a:hover {
  border-color: var(--blue);
  background: var(--blue-tint);
  color: var(--blue-deep);
}

.clinic-more svg {
  flex: none;
  transition: transform 0.16s var(--ease);
}

.clinic-more a:hover svg {
  transform: translateX(3px);
}

.hospitals-page,
.company-page,
.doctors-listing,
.hospital-listing {
  padding-top: 8px;
  padding-bottom: 56px;
}

.hospitals-page,
.hospital-listing,
.doctors-listing {
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(11, 74, 162, 0.04), transparent 55%),
    linear-gradient(180deg, #eef3fa 0%, var(--paper) 72%);
}

.company-page {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(11, 74, 162, 0.05), transparent 58%),
    linear-gradient(180deg, var(--paper) 0%, #eef3fa 100%);
}

.company-legal {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.company-intro {
  max-width: 46rem;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

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

.company-card {
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.company-card:hover {
  transform: translateY(-3px);
  border-color: #c9d9f1;
  box-shadow: var(--shadow-lg);
}

.company-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
}

.company-card .flag {
  width: 26px;
  height: 18px;
  border-radius: 4px;
}

.company-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 52rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.faq-item:hover {
  border-color: #c9d9f1;
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  border-color: #bed3ef;
  background: linear-gradient(180deg, var(--blue-tint) 0%, var(--white) 34%);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  overflow-wrap: break-word;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 1.8px solid var(--blue);
  border-bottom: 1.8px solid var(--blue);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  translate: 0 3px;
}

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

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

.hospital-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 22px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.hospital-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 160px;
}

.hospital-stack {
  display: grid;
  gap: 18px;
}

.hospital-search input,
.hospital-toolbar-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.hospital-search input {
  padding-right: 40px;
}

.hospital-search input[type="search"]::-webkit-search-decoration,
.hospital-search input[type="search"]::-webkit-search-cancel-button,
.hospital-search input[type="search"]::-webkit-search-results-button {
  -webkit-appearance: none;
}

.hospital-search-icon {
  position: absolute;
  right: 13px;
  top: 50%;
  display: flex;
  color: #7b8494;
  pointer-events: none;
  transform: translateY(-50%);
}

.hospital-search input:focus,
.hospital-toolbar-field select:focus {
  outline: 2px solid var(--blue-soft);
  border-color: var(--blue);
}

.hospital-toolbar-field {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 210px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.hospital-filter {
  flex: 0 0 190px;
}

.hospital-toolbar-field span {
  flex: none;
}

.hospital-toolbar-field select {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  cursor: pointer;
}

.hospital-toolbar-submit {
  flex: none;
  border-radius: 12px;
  padding-inline: 20px;
}

.hospital-empty {
  margin: 8px 0 0;
  padding: 28px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--paper);
  color: var(--muted);
  text-align: center;
}

.hospital-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(18, 24, 38, 0.07);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.hospital-card:hover {
  transform: translateY(-3px);
  border-color: #c9d9f1;
  box-shadow: var(--shadow-lg);
}

.hospital-card-photo {
  display: grid;
  align-self: stretch;
  min-width: 0;
  min-height: 240px;
  height: 100%;
  padding: 16px 0 16px 16px;
  background: var(--white);
}

.hospital-card-frame {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #d7deea;
}

.hospital-card-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.hospital-card-body {
  min-width: 0;
  padding: 24px 28px;
}

.hospital-card-name {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  min-width: 0;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hospital-card-name a {
  min-width: 0;
  color: inherit;
  overflow-wrap: break-word;
}

.hospital-card-name a:hover {
  color: var(--blue);
}

.hospital-verified {
  display: inline-flex;
  flex: none;
  margin-top: 4px;
  color: var(--blue);
}

.hospital-card-place {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.hospital-pin {
  flex: none;
  color: #9aa6b8;
}

.hospital-card-copy {
  margin: 16px 0 0;
  color: #3d4654;
  font-size: 14px;
  line-height: 1.55;
}

.hospital-card-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 22px 22px 0;
}

.hospital-card-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
}

.hospital-card-score {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hospital-card-reviews {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.google-mark {
  display: inline-flex;
  flex: none;
  width: 16px;
  height: 16px;
  color: inherit;
}

.google-mark svg {
  display: block;
  width: 16px;
  height: 16px;
}

.hospital-card-actions {
  display: grid;
  gap: 10px;
}

.hospital-btn {
  width: 100%;
  border-radius: 10px;
  padding: 12px 16px;
}

.hospital-card-actions .btn:not(.btn-outline) {
  background: #16a34a;
}

.hospital-card-actions .btn:not(.btn-outline):hover {
  background: #15803d;
}

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn-outline:hover,
.hospital-card .btn-outline:hover {
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.hospital-detail {
  padding: 0 0 56px;
}

.hospital-detail-place {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.hospital-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 8px;
  height: min(520px, 56vw);
  margin: 0 0 32px;
  min-width: 0;
}

.hospital-gallery:not(:has(.hospital-gallery-grid)) {
  grid-template-columns: 1fr;
  height: min(360px, 48vw);
}

.hospital-gallery-hero,
.hospital-gallery-cell {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #d7deea;
  cursor: pointer;
}

.hospital-gallery-hero img,
.hospital-gallery-cell img,
.hospital-gallery-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border: 0;
}

.hospital-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  min-height: 0;
}

.hospital-gallery-cell {
  position: relative;
  min-height: 0;
}

.hospital-gallery-video {
  cursor: default;
  background: #111;
}

.hospital-gallery-more {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 20px);
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(18, 24, 38, 0.16);
  font-size: 13px;
  font-weight: 700;
}

.hospital-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.hospital-detail-copy {
  margin: 0;
  color: #3d4654;
  font-size: 16px;
  line-height: 1.65;
}

.hospital-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.hospital-chips span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
}

.hospital-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.hospital-stats li {
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(18, 24, 38, 0.05);
}

.hospital-stats span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.hospital-stats strong {
  display: block;
  margin-top: 6px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

.hospital-panel {
  margin-top: 28px;
}

.hospital-panel h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

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

.hospital-certs li {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.hospital-languages {
  margin: 0;
  color: var(--muted);
}

.hospital-detail-rating {
  justify-content: flex-start;
  margin: 0 0 16px;
}

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

.hospital-reviews li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.hospital-review-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  min-width: 0;
}

.hospital-reviews p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hospital-book {
  position: sticky;
  top: calc(var(--header-offset) + 16px);
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #f7faff 0%, var(--white) 48%);
  box-shadow: 0 16px 36px rgba(7, 24, 56, 0.08);
}

.hospital-book p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.hospital-book .btn {
  width: 100%;
  background: #16a34a;
}

.hospital-book .btn:hover {
  background: #15803d;
}

.photo-dialog {
  width: min(960px, calc(100% - 24px));
  max-width: calc(100% - 24px);
  max-height: calc(var(--app-height) - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(18, 24, 38, 0.28);
}

.photo-dialog::backdrop {
  background: rgba(7, 24, 56, 0.55);
}

.photo-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 8px;
}

.photo-dialog-head p {
  margin: 0;
  font-weight: 700;
}

.photo-dialog-close {
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.photo-dialog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 18px 18px;
  overflow: auto;
}

.photo-dialog-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}

.step-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.step:hover {
  transform: translateY(-3px);
  border-color: #c9d9f1;
  box-shadow: var(--shadow-lg);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--blue-soft) 0%, #dbe8fa 100%);
  color: var(--blue);
  transition: transform 0.2s var(--ease);
}

.step:hover .step-icon {
  transform: scale(1.06) rotate(-3deg);
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

/* Oversized ghost numeral: the old 13px label was easy to miss on a six-card
   grid where the order is the point. */
.step-num {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--blue);
  opacity: 0.14;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.2s var(--ease);
}

.step:hover .step-num {
  opacity: 0.24;
}

.step h3 {
  font-size: 1.05rem;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(74, 144, 226, 0.3), transparent 58%),
    radial-gradient(70% 70% at 0% 100%, rgba(11, 74, 162, 0.45), transparent 55%),
    linear-gradient(160deg, #06255a 0%, var(--blue-deep) 52%, #0a3d86 100%);
  color: var(--white);
  padding: 52px 0;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.035) 14px 15px
  );
}

.contact .container {
  position: relative;
}

.contact .eyebrow,
.contact .lede {
  color: #c5d7f5;
}

.contact h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}

.contact .lede {
  margin: 10px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-meta {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  color: #d7e4f8;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-meta svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: #9dc4ff;
}

.contact-meta a {
  color: inherit;
}

.contact-meta a:hover {
  color: var(--white);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0 0;
}

.social-btn {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  flex: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.social-btn svg {
  width: 24px;
  height: 24px;
}

.social-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.contact-form {
  display: grid;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.2);
}

.contact-form input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
.contact-form textarea,
.contact-form select {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
  background: var(--paper);
}

.contact-form textarea {
  resize: vertical;
  min-height: 92px;
}

.contact-form .btn {
  padding: 10px 20px;
}

.channel {
  border: 0;
  margin: 0;
  padding: 0;
}

.channel legend {
  padding: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.channel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.channel-option {
  position: relative;
}

.channel-option input {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.channel-option span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  background: var(--paper);
  cursor: pointer;
}

.channel-option input:checked + span {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-deep);
}

.channel-option input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.form-success {
  background: #e8f7ee;
  color: #146c2e;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.form-error {
  background: #fdecec;
  color: #9c1f1f;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.form-error p {
  margin: 0;
}

.form-error p + p {
  margin-top: 4px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.form-consent input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.form-consent a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-fineprint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.page-hero.contact-hero,
.doctor-profile-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(11, 74, 162, 0.1), transparent 62%),
    linear-gradient(180deg, #e8f0fb 0%, var(--paper) 78%);
  padding: 36px 0 32px;
}

.page-hero.clinics-hero,
.doctors-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 80% at 100% 0%, rgba(74, 144, 226, 0.3), transparent 58%),
    radial-gradient(70% 70% at 0% 100%, rgba(11, 74, 162, 0.45), transparent 55%),
    linear-gradient(160deg, #06255a 0%, var(--blue-deep) 52%, #0a3d86 100%);
  color: var(--white);
  padding: 36px 0 32px;
}

.page-hero.clinics-hero::before,
.doctors-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 14px,
    rgba(255, 255, 255, 0.035) 14px 15px
  );
}

.page-hero.clinics-hero .eyebrow,
.doctors-hero .eyebrow,
.page-hero.clinics-hero .hospital-hero-lede,
.doctors-hero .hospital-hero-lede {
  color: #c5d7f5;
}

.page-hero.clinics-hero .back-link,
.doctors-hero .back-link {
  color: #c5d7f5;
}

.page-hero.clinics-hero .back-link:hover,
.doctors-hero .back-link:hover {
  color: var(--white);
}

.page-hero.clinics-hero .back-arrow,
.doctors-hero .back-arrow {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.page-hero.clinics-hero .back-link:hover .back-arrow,
.doctors-hero .back-link:hover .back-arrow {
  border-color: rgba(255, 255, 255, 0.55);
}

.page-hero.clinics-hero .doctors-hero-pattern,
.doctors-hero .doctors-hero-pattern {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(255, 255, 255, 0.04) 18px 19px
  );
}

.page-hero.clinics-hero .doctors-hero-pattern svg path,
.doctors-hero .doctors-hero-pattern svg path {
  fill: rgba(255, 255, 255, 0.08);
}

.page-hero.clinics-hero .page-facts,
.doctors-hero .page-facts,
.doctors-hero .doctor-facts {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(4, 18, 48, 0.28);
}

.page-hero.clinics-hero .page-facts li,
.doctors-hero .page-facts li,
.doctors-hero .doctor-facts li {
  background: var(--paper);
}

.page-hero.clinics-hero .page-facts li:hover,
.doctors-hero .page-facts li:hover,
.doctors-hero .doctor-facts li:hover {
  background: var(--blue-tint);
}

.page-hero.clinics-hero .page-facts strong,
.doctors-hero .page-facts strong,
.doctors-hero .doctor-facts strong {
  color: var(--ink);
}

.page-hero.clinics-hero .page-facts-label,
.doctors-hero .page-facts-label {
  color: var(--muted);
}

.doctors-hero-pattern {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0 18px,
    rgba(11, 74, 162, 0.03) 18px 19px
  );
}

/* The wave used to stop at a hard 88% line; fading it out lets the band settle
   into the page instead of ending mid-section. */
.doctors-hero-pattern svg {
  position: absolute;
  left: -2px;
  top: 0;
  width: calc(100% + 4px);
  height: 92%;
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}

.doctors-hero .container,
.doctor-profile-hero .container,
.clinics-hero .container {
  position: relative;
}

.doctors-hero h1,
.doctor-profile-hero h1 {
  max-width: 22ch;
}

.doctor-stats-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
}

.doctor-stats-icon svg {
  width: 18px;
  height: 18px;
}

.hospital-detail,
.doctor-profile {
  background:
    linear-gradient(180deg, var(--paper) 0%, #eef3fa 42%, var(--paper) 100%);
}

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

.doctor-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(7, 24, 56, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doctor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(7, 24, 56, 0.1);
}

.doctor-card-photo {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: var(--paper);
}

.doctor-card-photo img,
.doctor-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transition: transform 0.4s ease;
}

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

.doctor-card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(7, 44, 99, 0.88);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.doctor-card-body {
  display: grid;
  gap: 8px;
  padding: 16px 16px 18px;
}

.doctor-card-name {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.doctor-card-name a:hover,
.doctor-card-clinic a:hover,
.doctor-profile-pins a:hover {
  color: var(--blue);
}

.doctor-card-role,
.doctor-profile-role {
  margin: 0;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.doctor-card-clinic,
.doctor-card-place,
.doctor-profile-pins li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.doctor-card-clinic svg,
.doctor-card-place svg,
.doctor-profile-pins svg,
.doctor-card-meta svg,
.doctor-education svg {
  flex: none;
  margin-top: 1px;
  color: var(--blue);
}

.doctor-card-clinic a,
.doctor-profile-pins a {
  color: inherit;
  font-weight: 600;
}

.doctor-card-meta {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.doctor-card-meta li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.doctor-card-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 0;
}

.doctor-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.doctor-btn {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  font-size: 13px;
}

.doctor-profile-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: end;
}

.doctor-profile-photo {
  position: relative;
  width: 220px;
  height: 260px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(7, 24, 56, 0.12);
}

.doctor-profile-intro h1 {
  margin: 4px 0 0;
}

.doctor-profile-pins {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.doctor-profile-rating {
  justify-content: flex-start;
  margin-top: 16px;
}

.doctor-profile {
  padding: 8px 0 56px;
}

.doctor-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}

.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.doctor-stats li {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.doctor-stats span:not(.doctor-stats-icon) {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.doctor-stats strong {
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.doctor-profile-copy {
  margin: 0 0 22px;
  max-width: 42rem;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.doctor-profile-copy p {
  margin: 0 0 1em;
}

.doctor-profile-copy p:last-child {
  margin-bottom: 0;
}

.doctor-education {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.doctor-education li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
}

.doctor-book {
  position: sticky;
  top: calc(var(--header-offset) + 16px);
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, #f7faff 0%, var(--white) 48%);
  box-shadow: 0 16px 36px rgba(7, 24, 56, 0.08);
}

.doctor-book h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.doctor-book p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.doctor-book .btn {
  width: 100%;
}

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

.partner-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.partner-row p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(11, 74, 162, 0.06), transparent 55%),
    linear-gradient(180deg, #eef3fa 0%, #e6edf6 100%);
  padding: 36px 0 max(20px, env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand p {
  margin: 12px 0 0;
  max-width: 32ch;
  line-height: 1.5;
}

.footer-label {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-nav a,
.footer-contact a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--blue);
}

.footer-contact span {
  color: var(--ink-soft);
  font-weight: 600;
}

.footer-contact .social {
  margin-top: 6px;
}

.side-panel .social {
  margin: 0 0 16px;
}

.footer-contact .social-btn,
.side-panel .social-btn {
  width: 42px;
  height: 42px;
  color: var(--blue);
  border-color: rgba(11, 74, 162, 0.28);
}

.footer-contact .social-btn svg,
.side-panel .social-btn svg {
  width: 20px;
  height: 20px;
}

.footer-contact .social-btn:hover,
.side-panel .social-btn:hover {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.footer-logo {
  line-height: 0;
  color: var(--ink);
}

.footer-brand .fine {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  font-size: 12px;
}

.footer-legal-links a {
  color: var(--muted);
  font-weight: 600;
}

.footer-legal-links a:hover {
  color: var(--blue);
}

.legal-doc {
  max-width: 46rem;
}

.legal-block + .legal-block {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin: 0;
  font-size: 1.15rem;
}

.legal-block p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.legal-contact {
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
}

.legal-contact a {
  color: var(--blue);
  font-weight: 700;
}

.error-actions {
  margin-top: 22px;
}

@media (min-width: 801px) {
  .contact {
    padding: 32px 0;
  }

  .contact-grid {
    gap: 20px;
  }
}

@media (max-width: 1040px) {
  .network-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .network-hubs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clinic-grid,
  .step-grid,
  .company-grid,
  .listing-notes,
  .include-list,
  .doctor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hospital-toolbar-field {
    flex: 1 1 160px;
  }

  .hospital-card {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .hospital-card-aside {
    grid-column: 1 / -1;
    padding: 0 22px 22px;
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
  }

  .hospital-card-rating {
    justify-content: flex-start;
  }

  .hospital-card-actions {
    min-width: 220px;
  }

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

  .hospital-detail-layout {
    grid-template-columns: 1fr;
  }

  .hospital-book {
    position: static;
  }

  .doctor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .doctor-profile-layout {
    grid-template-columns: 1fr;
  }

  .doctor-book {
    position: static;
  }
}

@media (max-width: 800px) {
  h1 {
    font-size: clamp(1.7rem, 8vw, 2.6rem);
  }

  .hero h1 {
    font-size: 1.35rem;
  }

  .hero-promise {
    font-size: clamp(1.5rem, 6.4vw, 2.15rem);
  }

  .hero {
    min-height: 0;
  }

  .hero-copy {
    padding: 56px 0 48px;
  }

  .clinics,
  .steps,
  .partners {
    padding: 48px 0;
  }

  .include-band,
  .location-band {
    padding: 36px 0;
  }

  .network-strip {
    padding: 28px 0 8px;
  }

  .network-intro {
    padding: 18px 16px;
    gap: 18px;
  }

  .network-copy {
    padding-left: 14px;
  }

  .network-promises {
    grid-template-columns: 1fr;
  }

  .network-hubs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-hub-copy {
    min-height: 170px;
  }

  .network-hub-blurb {
    display: none;
  }

  .network-stats li {
    padding: 12px 12px;
  }

  .page-facts,
  .doctor-facts {
    gap: 6px;
    padding: 6px;
  }

  .page-facts li,
  .doctor-facts li {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 4px;
    text-align: center;
  }

  .page-facts-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .page-facts-icon svg {
    width: 15px;
    height: 15px;
  }

  .page-facts strong {
    font-size: 1.05rem;
  }

  .page-facts-label {
    font-size: 10px;
  }

  .include-panel,
  .location-panel {
    padding: 20px;
  }

  .location-map,
  .location-map iframe {
    min-height: 260px;
  }

  .step-grid,
  .contact-grid,
  .partner-row,
  .footer-inner,
  .hospital-card,
  .company-grid,
  .listing-notes,
  .include-panel,
  .include-list,
  .location-panel,
  .faq-layout,
  .page-cta-inner,
  .clinic-grid {
    grid-template-columns: 1fr;
  }

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

  .doctor-card {
    grid-template-columns: 132px minmax(0, 1fr);
  }

  .doctor-card-photo {
    height: 100%;
    min-height: 180px;
  }

  .doctor-card-body {
    padding: 14px 14px 16px 0;
  }

  .doctor-card-actions {
    grid-template-columns: 1fr;
  }

  .doctor-profile-head {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .doctor-profile-photo {
    width: min(220px, 100%);
    height: 240px;
  }

  .doctor-stats {
    grid-template-columns: 1fr;
  }

  .page-cta-inner {
    display: grid;
    padding: 22px 18px;
    gap: 16px;
  }

  .side-panel {
    position: static;
  }

  .hospital-card-photo {
    min-height: 0;
    height: auto;
    padding: 14px 14px 0;
  }

  .hospital-card-frame {
    aspect-ratio: 16 / 10;
    max-height: 200px;
    height: auto;
  }

  .hospital-card-body {
    padding: 18px 18px 8px;
  }

  .hospital-card-aside {
    grid-column: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 18px 18px;
  }

  .hospital-card-actions {
    min-width: 0;
  }

  .hospital-card-name {
    font-size: 1.1rem;
  }

  .hospital-search {
    flex: 1 1 100%;
    min-width: 0;
  }

  .hospital-toolbar-field {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .hospital-filter,
  .hospital-sort {
    flex: 1 1 calc(50% - 5px);
  }

  .hospital-toolbar-submit {
    flex: 1 1 100%;
  }

  .hospital-gallery {
    height: auto;
    grid-template-columns: 1fr;
  }

  .hospital-gallery-hero {
    height: 240px;
  }

  .hospital-gallery-grid {
    min-height: 280px;
  }

  .hospital-stats {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hospital-gallery-more {
    font-size: 12px;
    padding: 6px 10px;
  }

  .photo-dialog-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .lang {
    display: none;
  }

  .header-right {
    display: none;
  }

  .header-inner {
    justify-content: flex-start;
    gap: 4px;
  }

  .logo {
    flex: 1 1 auto;
  }

  .lang-select-wrap {
    display: grid;
    gap: 8px;
    padding: 16px 20px 8px;
    border-top: 1px solid var(--line);
  }

  .lang-select-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
  }

  .lang-select {
    appearance: none;
    width: 100%;
    min-height: 44px;
    padding: 10px 36px 10px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background-color: var(--paper);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235b6575' d='M1 1.5 6 6.5 11 1.5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    order: 0;
    flex: none;
  }

  .logo {
    order: 1;
  }

  .logo-mark {
    height: 28px;
    max-width: 100%;
  }

  .nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    min-height: var(--header-h);
    padding: 0 8px 0 20px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .nav-drawer-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
  }

  .nav-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    font-size: 28px;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
  }

  .nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: auto;
    z-index: 40;
    width: min(280px, 78vw);
    height: var(--app-height);
    max-height: var(--app-height);
    margin: 0;
    padding: 0 0 calc(24px + env(safe-area-inset-bottom, 0px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    box-shadow: 8px 0 32px rgba(7, 24, 56, 0.18);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
    overflow-y: auto;
  }

  .nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav a {
    padding: 14px 20px;
    font-size: 16px;
  }

  .nav-link {
    width: 100%;
    white-space: normal;
  }

  .nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--app-height);
    z-index: 30;
    background: rgba(7, 24, 56, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

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

@media (max-width: 480px) {
  .container,
  .shell {
    width: min(1240px, calc(100% - 24px));
  }

  .hero-copy {
    padding: 40px 0 36px;
  }

  .page-hero,
  .page-hero.contact-hero,
  .doctors-hero,
  .doctor-profile-hero,
  .clinics-hero {
    padding: 24px 0 20px;
  }

  .hospital-filter,
  .hospital-sort,
  .hospital-toolbar-submit {
    flex: 1 1 100%;
  }

  .hospital-gallery-hero {
    height: 200px;
  }

  .hospital-gallery-grid {
    min-height: 220px;
  }

  .contact-form {
    padding: 14px;
  }

  .social-btn {
    width: 48px;
    height: 48px;
  }

  .network-strip {
    padding: 20px 0 8px;
  }

  .network-intro {
    padding: 14px 12px;
    border-radius: var(--radius-lg);
  }

  .network-kicker {
    letter-spacing: 0.12em;
  }

  .network-copy h2 {
    font-size: 1.28rem;
    line-height: 1.48;
  }

  .network-stats {
    gap: 8px;
  }

  .network-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .network-icon svg {
    width: 18px;
    height: 18px;
  }

  .network-stats strong {
    font-size: 1.2rem;
  }

  .network-label {
    font-size: 11px;
    white-space: normal;
  }

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

  .doctor-card-photo {
    height: 200px;
  }

  .doctor-card-body {
    padding: 16px;
  }

  .photo-dialog {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px);
    border-radius: 16px;
  }
}
