:root {
  color-scheme: light;
  --sans-font: 'Plus Jakarta Sans', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --heading-font: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  font-family: var(--sans-font);
  color: #12231f;
  background: #f6f8f5;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  --page-gutter: clamp(18px, 4vw, 56px);
  --content-width: 1320px;
  --ink: #12231f;
  --ink-soft: #283d38;
  --muted: #4f635d;
  --teal: #146c60;
  --teal-dark: #0b4a42;
  --forest: #0a2f2a;
  --line: #dbe4de;
  --line-strong: #bccbc3;
  --wash: #e8f2ed;
  --wash-deep: #d5e8df;
  --warm-badge: #f5efe3;
  --warm-ink: #694e1c;
  --paper: #ffffff;
  --canvas: #f6f8f5;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 38, 32, 0.04), 0 4px 14px rgba(12, 38, 32, 0.035);
  --shadow-md: 0 4px 12px rgba(12, 38, 32, 0.05), 0 16px 36px rgba(12, 38, 32, 0.065);
  --select-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23283d38' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

:root[lang="zh-CN"] {
  --sans-font: 'Plus Jakarta Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
  --heading-font: 'Noto Serif SC', 'Songti SC', 'STSong', 'PingFang SC', serif;
  font-family: var(--sans-font);
}

:root[lang="ru"] {
  --heading-font: Georgia, 'Times New Roman', serif;
}

:root[lang="vi"] .site-nav,
:root[lang="ru"] .site-nav {
  gap: clamp(4px, 0.9vw, 10px);
  font-size: .88rem;
}

:root[lang="vi"] .site-nav a,
:root[lang="ru"] .site-nav a {
  padding: 7px 11px;
}

@media (max-width: 680px) {
  :root[lang="vi"] .site-nav a,
  :root[lang="ru"] .site-nav a {
    padding: 5px 9px;
    font-size: .82rem;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; margin: 0; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
img { max-width: 100%; }
a { color: var(--teal-dark); text-underline-offset: 3px; transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
a:hover { color: var(--teal); }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
h1, h2, h3, h4, p { margin-block: 0; }
h1, h2 { text-wrap: balance; }
h1, h2, h3, h4 { color: var(--ink); }
p, li { line-height: 1.6; }

.site { min-height: 100vh; display: flex; flex-direction: column; }

.utility-bar {
  background: var(--forest);
  color: #dcebe6;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.utility-bar-inner {
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 8px var(--page-gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.utility-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: #ffffff;
}
.utility-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52d1b8;
  flex: none;
}
.utility-links {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #bfd6cf;
}
.utility-links a {
  color: #e2f1ec;
  text-decoration: none;
  font-weight: 500;
}
.utility-links a:hover { color: #ffffff; text-decoration: underline; }

.site-header, .site-footer {
  padding-inline: max(var(--page-gutter), calc((100% - var(--content-width)) / 2 + var(--page-gutter)));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  border-bottom: 1px solid rgba(219, 228, 222, 0.9);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -.015em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--wash);
  border: 1px solid #cde0d7;
}
.brand img, .site-tools img, .search img { display: block; mix-blend-mode: multiply; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; color: var(--ink); }
.brand-name strong { color: var(--teal); font-weight: 700; }
.brand-sub { font-size: .69rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; margin-top: 2px; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 14px);
  font-size: .92rem;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--teal-dark); background: var(--wash); text-decoration: none; }
.site-nav a[aria-current] { color: var(--teal-dark); background: var(--wash); }

.site-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .9rem;
}
.account-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f5f8f6;
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.account-pill:hover, .account-pill[aria-current] {
  background: var(--wash);
  border-color: var(--teal);
  color: var(--teal-dark);
}
.site-tools .language {
  min-height: 38px;
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--paper);
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.site-tools .language:hover { border-color: var(--teal); }
.accessibility {
  display: grid;
  place-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.accessibility:hover { background: var(--wash); border-color: var(--line-strong); }

.main-content {
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 28px var(--page-gutter) 56px;
  flex: 1;
}

/* Editorial Split Hero */
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: stretch;
  padding: clamp(24px, 3.6vw, 44px);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #ffffff 0%, #f1f6f3 100%);
  border: 1px solid #d5e2db;
  box-shadow: var(--shadow-md);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--wash);
  border: 1px solid #c5ddd3;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
:root[lang="zh-CN"] .hero-badge { letter-spacing: .02em; text-transform: none; font-size: .82rem; }
:root[lang="vi"] .hero-badge,
:root[lang="ru"] .hero-badge { letter-spacing: .025em; font-size: .75rem; max-width: 100%; }

.home-intro h1 {
  font: 500 clamp(2.25rem, 3.9vw, 3.45rem)/1.08 var(--heading-font);
  letter-spacing: -.028em;
  color: var(--ink);
}
:root[lang="zh-CN"] .home-intro h1 {
  font-size: clamp(2rem, 3.3vw, 2.95rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.01em;
}
:root[lang="vi"] .home-intro h1,
:root[lang="ru"] .home-intro h1 {
  font-size: clamp(2rem, 3.35vw, 3.05rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.tagline {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 58ch;
  line-height: 1.6;
}

.search-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 24px;
}
.home-search-control { position: relative; flex: 1; min-width: 0; }
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 6px 6px 6px 18px;
  background: var(--paper);
  border: 1.5px solid #9eb5ab;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(12, 42, 35, 0.07);
}
.search:focus-within {
  border-color: var(--teal);
  outline: 3px solid rgba(20, 108, 96, 0.16);
  outline-offset: 0;
}
.search img { flex: none; opacity: 0.72; }
.search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  font-size: .98rem;
  outline: 0;
  border: 0;
  background: transparent;
}
.search input:focus-visible { outline: 0; }
.search input::placeholder { color: #5f726c; opacity: 1; }
.search-submit {
  flex: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--teal-dark);
  font-weight: 700;
  font-size: .94rem;
  transition: background-color 150ms ease, transform 120ms ease;
}
.search-submit:hover { background: var(--forest); }

.ask-button {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 20px;
  border: 1.5px solid #b8d4c8;
  border-radius: 999px;
  background: var(--paper);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: .93rem;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.ask-button:hover { background: var(--wash); border-color: var(--teal); }
.ask-spark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--teal);
  font-size: .8rem;
}

.search-suggestions {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.search-suggestions a, .search-suggestions p { display: block; padding: 7px 12px; border-radius: 8px; }
.search-suggestions a { text-decoration: none; color: var(--ink); font-weight: 500; }
.search-suggestions a:hover { background: var(--wash); color: var(--teal-dark); }
.search-suggestions p { font-size: .76rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; }

.quick-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: .84rem;
}
.quick-topics-label { color: var(--muted); font-weight: 600; margin-right: 2px; }
.quick-topics a {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.quick-topics a:hover { border-color: var(--teal); background: var(--wash); color: var(--teal-dark); }

.home-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.home-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  row-gap: 4px;
  column-gap: 12px;
  padding: 15px 18px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.home-path strong { color: var(--ink); font-size: .98rem; }
.home-path > span:not(.path-arrow) { grid-column: 1; color: var(--muted); font-size: .88rem; line-height: 1.45; }
.home-path:hover { border-color: #88b5a2; background: #fbfdfb; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.path-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--wash);
  color: var(--teal-dark);
  font-size: 1rem;
}

/* Hero Visual Column */
.hero-visual {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  min-width: 0;
}
.hero-photo-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 310px;
  background: var(--forest);
  border: 1px solid rgba(12, 45, 38, 0.14);
}
.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-caption {
  position: absolute;
  inset: auto 14px 14px 14px;
  padding: 13px 16px;
  border-radius: 13px;
  background: rgba(11, 38, 33, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #f3f9f6;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-photo-caption strong { display: block; font-size: .93rem; color: #ffffff; }
.hero-photo-caption span { display: block; font-size: .8rem; color: #cbe0d9; margin-top: 2px; }

.hero-subcards {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}
.hero-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero-mini-card:hover { border-color: var(--teal); transform: translateY(-1px); }
.hero-mini-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
  background: var(--wash);
}
.hero-mini-card strong { display: block; font-size: .88rem; color: var(--ink); }
.hero-mini-card span { display: block; font-size: .79rem; color: var(--muted); margin-top: 2px; line-height: 1.35; }

/* Trust Metrics Strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.trust-stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.trust-stat strong {
  display: block;
  font: 600 clamp(1.45rem, 2.2vw, 1.9rem)/1.1 var(--heading-font);
  color: var(--teal-dark);
}
.trust-stat span {
  display: block;
  margin-top: 6px;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Home Sections */
.home-section {
  margin-top: 52px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 20px;
}
.section-heading-group { max-width: 64ch; }
.section-heading h2 {
  font: 500 clamp(1.65rem, 2.8vw, 2.25rem)/1.15 var(--heading-font);
  letter-spacing: -.02em;
}
:root[lang="zh-CN"] .section-heading h2 { font-weight: 600; letter-spacing: 0; }
.section-subtitle {
  margin-top: 6px;
  color: var(--muted);
  font-size: .95rem;
}
.section-heading a {
  font-size: .9rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
  white-space: nowrap;
}
.section-heading a:hover { color: var(--teal); text-decoration: underline; }

/* Specialties & Featured Conditions */
.specialty-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.specialty-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
}
.specialty-card:hover {
  border-color: #88b5a2;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.specialty-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--wash);
  border: 1px solid #cfe2d9;
  display: grid;
  place-items: center;
  flex: none;
}
.specialty-icon img { width: 22px; height: 22px; object-fit: contain; mix-blend-mode: multiply; }
.specialty-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.specialty-card p { font-size: .87rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.home-condition-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.home-condition-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 11px;
  color: var(--ink);
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.home-condition-links a span { color: var(--teal); font-weight: 700; }
.home-condition-links a:hover {
  color: var(--teal-dark);
  border-color: #88b5a2;
  background: var(--wash);
}

/* Flagship Hospitals Showcase on Homepage */
.flagship-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.flagship-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--ink);
}
.flagship-card:hover {
  border-color: #84b39f;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.flagship-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #dfeae4;
  overflow: hidden;
}
.flagship-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.flagship-card:hover .flagship-media img { transform: scale(1.03); }
.flagship-media-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.media-pill {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  max-width: 100%;
  background: rgba(12, 39, 34, 0.82);
  color: #ffffff;
  backdrop-filter: blur(6px);
}
.media-pill-gold {
  background: rgba(250, 243, 228, 0.95);
  color: var(--warm-ink);
}
.flagship-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 20px;
  flex: 1;
}
.flagship-body h3 {
  font-size: 1.08rem;
  line-height: 1.32;
  color: var(--ink);
}
.flagship-zh {
  font-size: .86rem;
  color: var(--muted);
}
.flagship-summary {
  font-size: .89rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}
.flagship-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--teal-dark);
  border-top: 1px solid #edf2ef;
}

/* Medical Hubs Photo Grid (3x2 balanced) */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-hub {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.home-hub:hover {
  color: var(--teal-dark);
  border-color: #84b39f;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.hub-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #dbe7e1;
  overflow: hidden;
}
.hub-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 320ms ease;
}
.home-hub:hover .hub-media img { transform: scale(1.03); }
.hub-visa {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
  font-size: .74rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.hub-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 16px 18px 18px;
  flex: 1;
}
.home-hub h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font: 500 1.42rem/1.15 var(--heading-font);
}
:root[lang="zh-CN"] .home-hub h3 { font-weight: 600; font-size: 1.25rem; }
.home-hub h3 span { color: var(--teal); font-family: var(--sans-font); font-size: 1.05rem; }
.home-hub p { font-size: .89rem; color: var(--muted); line-height: 1.5; }
.hub-media-link {
  display: block;
  text-decoration: none;
}
.hub-gateway-badge {
  font-size: .74rem !important;
  font-weight: 700;
  color: var(--teal) !important;
  letter-spacing: .02em;
}
.home-hub h3 a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  color: var(--ink);
  text-decoration: none;
}
.home-hub h3 a:hover { color: var(--teal-dark); }
.hub-footer-row {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf2ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.home-hub .hub-meta {
  margin-top: 0;
  padding-top: 0;
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.hub-map-pill {
  font-size: .78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wash);
  color: var(--teal-dark);
  text-decoration: none;
  white-space: nowrap;
}
.hub-map-pill:hover { background: var(--wash-deep); }

/* V2 Homepage Condition -> Leading Specialists Spotlight */
.specialist-spotlight {
  padding: clamp(20px, 2.8vw, 30px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border: 1px solid #cfe0d8;
  box-shadow: var(--shadow-md);
}
.spotlight-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e4ece8;
}
.spotlight-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.spotlight-chip, .gateway-tab {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #c9dbd3;
  background: #ffffff;
  color: var(--ink-soft);
  font-size: .86rem;
  font-weight: 600;
  transition: all 140ms ease;
}
.spotlight-chip:hover, .gateway-tab:hover {
  border-color: var(--teal);
  background: var(--wash);
  color: var(--teal-dark);
}
.spotlight-chip.is-active, .gateway-tab.is-active {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(11, 74, 66, 0.2);
}
.spotlight-select-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--muted);
}
.spotlight-select-wrap select {
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.benchmark-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #eef5f2;
  border: 1px solid #cfe1d9;
}
.benchmark-metric {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.benchmark-label {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--muted);
}
:root[lang="zh-CN"] .benchmark-label { text-transform: none; font-size: .78rem; letter-spacing: .01em; }
.benchmark-metric strong {
  font-size: .96rem;
  color: var(--ink);
  line-height: 1.3;
}
.benchmark-metric strong.benchmark-fast { color: var(--teal-dark); }
.benchmark-note {
  margin-top: 10px;
  font-size: .84rem;
  color: var(--ink-soft);
}

.spotlight-doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.spotlight-doc-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 18px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid #d7e4dd;
  box-shadow: var(--shadow-sm);
}
.spotlight-doc-card:hover {
  border-color: #8eb8a7;
  box-shadow: var(--shadow-md);
}
.spotlight-doc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.rank-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  background: #0d443c;
  color: #ffffff;
}
.rank-pill-1 { background: #0a3c35; color: #9df0dc; }
.authority-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  background: var(--warm-badge);
  color: var(--warm-ink);
  border: 1px solid #e6d7b9;
}
.authority-national {
  background: #fdf6e7;
  color: #6b4910;
  border-color: #e3cb96;
}
.authority-chief {
  background: #eaf4f0;
  color: var(--teal-dark);
  border-color: #c3ddd3;
}
.spotlight-doc-ident {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.spotlight-doc-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex: none;
  border: 1px solid #d5e3dc;
}
.spotlight-doc-ident h3 {
  font-size: 1.12rem;
  line-height: 1.25;
}
.spotlight-doc-ident h3 a {
  color: var(--ink);
  text-decoration: none;
}
.spotlight-doc-ident h3 a:hover { color: var(--teal-dark); text-decoration: underline; }
.spotlight-doc-title {
  font-size: .84rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-top: 2px;
}
.spotlight-doc-hosp {
  font-size: .83rem;
  color: var(--muted);
  margin-top: 2px;
}
.spotlight-doc-summary {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.spotlight-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: auto;
  padding-top: 4px;
}
.ims-inline-dot { color: var(--teal-dark); }
.spotlight-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #eef3f0;
}
.spotlight-doc-actions .button {
  min-height: 38px;
  padding: 6px 13px;
  font-size: .84rem;
}
.spotlight-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e4ece8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .86rem;
  color: var(--muted);
}

.gateway-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

/* Fullscreen Driver Taxi Dialog */
.taxi-fullscreen-dialog {
  width: min(680px, calc(100vw - 24px));
}
.taxi-giant-sheet {
  padding: 20px 22px;
  border-radius: 16px;
  background: #f5faf7;
  border: 2px solid var(--teal-dark);
}
.taxi-giant-greeting {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-dark);
}
.taxi-giant-hosp {
  margin-top: 10px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.22;
  color: #091d1a;
}
.taxi-giant-addr {
  margin-top: 8px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
  color: #153832;
}
.taxi-giant-gate {
  margin-top: 10px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff4dd;
  border: 1px solid #e3c88e;
  color: #5c400a;
  font-size: .98rem;
  font-weight: 700;
}
.taxi-giant-divider {
  border: 0;
  border-top: 1px dashed #b9cfc6;
  margin: 14px 0;
}
.taxi-giant-en {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.45;
}

/* International Patient Journey Section */
.journey-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 28px;
  padding: clamp(22px, 3.2vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: #edf5f2;
  box-shadow: var(--shadow-md);
}
.journey-panel h2 {
  color: #ffffff;
  font: 500 clamp(1.65rem, 2.8vw, 2.25rem)/1.15 var(--heading-font);
}
:root[lang="zh-CN"] .journey-panel h2 { font-weight: 600; }
.journey-eyebrow {
  color: #7ee0cb;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.journey-lede {
  color: #c6dcd5;
  margin-top: 8px;
  max-width: 58ch;
  font-size: .96rem;
}
.journey-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.journey-steps li {
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
}
.journey-step-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #52d1b8;
  color: var(--forest);
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.journey-steps strong { display: block; color: #ffffff; font-size: .96rem; }
.journey-steps p { color: #c2d9d2; font-size: .85rem; margin-top: 4px; line-height: 1.48; }

.journey-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
}
.journey-aside img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}
.journey-aside h3 { color: #ffffff; font-size: 1.08rem; }
.journey-aside p { color: #c7ded7; font-size: .88rem; margin-top: 6px; }
.journey-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--forest);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}
.button-light:hover { background: var(--wash); color: var(--forest); }
.button-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
}
.button-ghost-light:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }

/* Footer */
.site-footer {
  margin-top: auto;
  padding-block: 40px 32px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e7eeea;
}
.footer-brand strong { font-size: 1.08rem; color: var(--ink); }
.footer-brand strong span { color: var(--teal); }
.footer-brand p { margin-top: 8px; max-width: 42ch; line-height: 1.55; }
.footer-col h3 { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); margin-bottom: 10px; }
:root[lang="zh-CN"] .footer-col h3 { letter-spacing: .02em; font-size: .88rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-col a { color: var(--muted); text-decoration: none; }
.footer-col a:hover { color: var(--teal-dark); text-decoration: underline; }
.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: .82rem;
}

/* Shared Subpage Primitives */
.route-view { max-width: var(--content-width); }
.page-heading { margin-bottom: 24px; }
.page-heading h1, .route-view > h1 {
  font: 500 clamp(2.1rem, 3.8vw, 3.1rem)/1.1 var(--heading-font);
  letter-spacing: -.024em;
}
:root[lang="zh-CN"] .page-heading h1, :root[lang="zh-CN"] .route-view > h1 {
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.22;
}
.page-heading h1:focus, .home-intro h1:focus { outline: none; }
.eyebrow {
  color: var(--teal);
  letter-spacing: .045em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .77rem;
  margin-bottom: 6px;
}
:root[lang="zh-CN"] .eyebrow { letter-spacing: .02em; text-transform: none; font-size: .82rem; }
.lede { color: var(--muted); margin-top: 10px; max-width: 68ch; font-size: 1.02rem; }
.muted { color: var(--muted); }
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.stack { display: grid; gap: 12px; align-content: start; }
.grid-two, .grid-three { display: grid; gap: 16px; }
.grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 18px;
  font-size: .85rem;
}
.breadcrumbs > * + *::before { content: '/'; margin-right: 7px; color: #9ab0a7; font-weight: 400; }
.breadcrumbs a { text-decoration: none; color: var(--muted); }
.breadcrumbs a:hover { color: var(--teal-dark); text-decoration: underline; }

.inline-links { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--wash);
  border: 1px solid #d0e3da;
  color: var(--teal-dark);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-decoration: none;
}
a.tag:hover { background: var(--wash-deep); border-color: var(--teal); }
.tag.muted { background: #eff2f0; border-color: #e1e7e3; color: #7a8b85; font-weight: 500; }
.tag-warm { background: var(--warm-badge); border-color: #e7dac0; color: var(--warm-ink); }

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 42px;
  padding: 8px 16px;
  text-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--teal-dark);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  text-align: center;
}
.button:hover { background: var(--wash); border-color: var(--teal); color: var(--teal-dark); }
.button-primary { color: #ffffff; background: var(--teal-dark); border-color: var(--teal-dark); }
.button-primary:hover { color: #ffffff; background: var(--forest); border-color: var(--forest); }
.button-quiet { border-color: var(--line); color: var(--ink-soft); }
.button-quiet:hover { border-color: var(--line-strong); background: #f3f7f4; }

.notice {
  padding: 14px 18px;
  background: var(--wash);
  border: 1px solid #c6ddd2;
  border-radius: 12px;
}
.field { font-weight: 700; font-size: .9rem; color: var(--ink-soft); }
input[type="text"], input[type="search"], input[type="email"], textarea, select { max-width: 100%; }
textarea, select, .route-view input[type="text"], .route-view input[type="search"], .route-view input[type="email"] {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 10px 13px;
  background: var(--paper);
  color: var(--ink);
}
textarea { width: 100%; resize: vertical; }

.site-dialog {
  position: fixed;
  width: min(560px, calc(100vw - 26px));
  margin: auto;
  max-height: calc(100svh - 26px);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 38, 32, 0.24);
  background: var(--paper);
  color: var(--ink);
  padding: 24px;
}
.site-dialog::backdrop { background: rgba(10, 36, 31, 0.52); backdrop-filter: blur(3px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 12px; }
.dialog-top h2 { font: 500 1.75rem var(--heading-font); }
.close-dialog { min-height: 36px; padding: 2px 12px; font-size: 1.2rem; border-radius: 999px; }
.assistant-dialog > p { margin-bottom: 16px; }
.assistant-note { font-size: .86rem; color: var(--muted); }

.use-large-text { font-size: 114%; }
.use-high-contrast { --ink: #07120f; --muted: #1e302a; --teal: #004d3b; --teal-dark: #003528; --line: #758e83; --line-strong: #536e63; }

@media (max-width: 1024px) {
  .hero-shell, .journey-panel { grid-template-columns: minmax(0, 1fr); }
  .hero-photo-card { min-height: 260px; max-height: 340px; }
  .trust-strip, .benchmark-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specialty-showcase, .flagship-grid, .hub-grid, .spotlight-doctors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .utility-links { display: none; }
  .site-header { grid-template-columns: 1fr auto; gap: 10px; padding-block: 10px; min-height: auto; }
  .brand-sub { display: none; }
  .account-pill { padding: 5px 9px; font-size: .78rem; min-height: 32px; }
  .site-nav {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding-bottom: 2px;
    gap: 4px 6px;
  }
  .site-nav a { padding: 5px 9px; font-size: .82rem; }
  .site-tools { gap: 6px; }
  .main-content { padding-block: 18px 40px; }
  .hero-shell { padding: 20px 18px; border-radius: 18px; gap: 20px; }
  .search-row { flex-direction: column; gap: 10px; margin-top: 18px; }
  .search { min-height: 50px; padding: 5px 5px 5px 14px; }
  .search input { font-size: .92rem; }
  .search-submit { min-height: 40px; padding-inline: 18px; }
  .ask-button { min-height: 46px; width: 100%; }
  .home-paths, .hero-subcards, .trust-strip, .benchmark-strip, .spotlight-doctors-grid, .specialty-showcase, .home-condition-links, .flagship-grid, .hub-grid, .journey-steps, .grid-two, .grid-three, .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-section { margin-top: 38px; }
}
