/* ==========================================================================
   Lexiang Global — International design layer (v2)
   Loaded AFTER style.css. Overrides colour, type scale, nav, hero, cards.
   Editorial / restrained: thin rules, generous whitespace, real photography.
   ========================================================================== */

:root {
  --ink: #0F172A;
  --muted: #5B6472;
  --line: #E6E8EC;
  --line-strong: #D5D9E0;
  --navy: #12345F;
  --navy-dark: #0A1F3C;
  --navy-soft: #1E4B7A;
  --blue: #1B4B8F;
  --sky: #F5F7FA;
  --sky-deep: #E9EDF2;
  --gold: #C6A15B;
  --gold-deep: #A9853F;
  --gold-soft: #F7F2E7;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --bg-blue: #F2F5F9;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
  --nav-h: 84px;
  --container: 1240px;
}

/* ---------- Type ---------- */
body {
  font-size: 16.5px;
  line-height: 1.72;
  letter-spacing: -.005em;
  color: var(--ink);
}
h1, h2, h3, h4, h5 {
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 650;
  color: var(--ink);
}
h1 { font-size: clamp(38px, 5.4vw, 68px); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(19px, 1.6vw, 22px); }
a { color: var(--navy); }
a:hover { color: var(--gold-deep); }
.container { max-width: var(--container); padding: 0 28px; }
.section { padding: 104px 0; }
.section-soft { background: var(--bg-soft); }
.muted { color: var(--muted); }

/* ---------- Buttons (micro-radius, no gradients) ---------- */
.btn {
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  padding: 13px 26px;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn-lg { padding: 16px 30px; font-size: 15.5px; }
.btn-sm { padding: 9px 18px; font-size: 13.5px; }

.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; transform: none; box-shadow: none; }

.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: none; box-shadow: none; }

.btn-outline { background: #fff; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { background: #fff; border-color: var(--navy); color: var(--navy); }

.btn-ghost {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border-color: rgba(255, 255, 255, .34);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; color: var(--navy-dark); border-color: #fff; }

/* ---------- Navbar: transparent on hero, solid after scroll ---------- */
body { padding-top: 0; }
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
  transition: background .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.navbar .container { height: var(--nav-h); transition: height .28s ease; }
.navbar::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 38, .46) 0%, rgba(8, 20, 38, .16) 62%, rgba(8, 20, 38, 0) 100%);
  pointer-events: none;
  opacity: 1;
  transition: opacity .28s ease;
}
.navbar.is-stuck {
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(15, 23, 42, .03);
}
.navbar.is-stuck::before { opacity: 0; }
.navbar.is-stuck .container { height: 70px; }

.brand img { height: 44px; transition: filter .28s ease, height .28s ease; }
.navbar:not(.is-stuck) .brand img { filter: brightness(0) invert(1); }
.navbar.is-stuck .brand img { height: 40px; }

.nav > li > a {
  font-size: 14.5px;
  font-weight: 550;
  letter-spacing: -.005em;
  padding: 10px 13px;
  border-radius: 3px;
  color: var(--ink);
  text-shadow: none;
  transition: color .2s, background .2s;
}
.navbar:not(.is-stuck) .nav > li > a {
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 1px 10px rgba(6, 14, 26, .45);
}
.navbar:not(.is-stuck) .nav > li > a:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.navbar:not(.is-stuck) .nav-toggle { color: #fff; }
.navbar:not(.is-stuck) .nav > li > a .caret { color: rgba(255, 255, 255, .8); }

.nav > li > a:hover, .nav > li > a.active { background: var(--sky); color: var(--navy); }
.navbar.is-stuck .nav > li > a.active { color: var(--navy); }

.dropdown {
  border-radius: 6px;
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
  padding: 10px;
  min-width: 250px;
}
.dropdown a { border-radius: 3px; font-weight: 500; padding: 10px 13px; }
.dropdown a .dot { width: 5px; height: 5px; background: var(--gold); }

@media (max-width: 992px) {
  .nav-wrap { top: var(--nav-h); border-radius: 0; box-shadow: 0 20px 40px rgba(15, 23, 42, .16); }
  .navbar.is-stuck .nav-wrap { top: 70px; }
  .navbar:not(.is-stuck) .nav-wrap { background: #fff; }
  .navbar:not(.is-stuck) .nav > li > a { color: var(--ink); text-shadow: none; }
}

/* ---------- Hero: full-bleed, 100svh ---------- */
.hero-slider {
  min-height: 100vh;
  min-height: 100svh;
  background: #0A1F3C;
}
.hero-slider .slide { align-items: center; }
.hero-slider .slide::after {
  background:
    linear-gradient(90deg, rgba(8, 20, 38, .62) 0%, rgba(8, 20, 38, .40) 34%, rgba(8, 20, 38, .10) 62%, rgba(8, 20, 38, 0) 100%),
    linear-gradient(180deg, rgba(8, 20, 38, .38) 0%, rgba(8, 20, 38, 0) 24%);
}
.hero-slider .container { padding-top: calc(var(--nav-h) - 20px); padding-bottom: 96px; }
.hero-slider .hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  padding: 0;
  margin-bottom: 22px;
  color: #E4C583;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-slider h1 {
  color: #fff;
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
  text-shadow: 0 2px 30px rgba(6, 14, 26, .28);
}
.hero-slider .lead {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 34px;
  text-shadow: 0 1px 16px rgba(6, 14, 26, .35);
}
.hero-slider .hero-actions { gap: 12px; }
.hero-slider .hero-trust { margin-top: 40px; gap: 26px; }
.hero-slider .hero-trust .t {
  color: rgba(255, 255, 255, .80);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .01em;
}
.hero-slider .hero-trust .t i { color: #E4C583; font-size: 13px; }

.slider-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .30);
  background: rgba(8, 20, 38, .18);
  font-size: 15px;
  backdrop-filter: blur(6px);
}
.slider-arrow:hover { background: rgba(255, 255, 255, .22); }
.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }

.slider-dots { bottom: 34px; gap: 9px; }
.slider-dots button {
  width: 26px; height: 2px;
  border-radius: 1px;
  border: 0;
  background: rgba(255, 255, 255, .32);
  transition: background .2s, width .2s;
}
.slider-dots button.is-active { width: 40px; background: #E4C583; }

@media (max-width: 768px) {
  .hero-slider { min-height: 92vh; min-height: 92svh; }
  .hero-slider .container { padding-top: calc(var(--nav-h) + 8px); padding-bottom: 72px; }
  .hero-slider h1 { font-size: 32px; }
  .hero-slider .lead { font-size: 15.5px; }
  .slider-dots { bottom: 22px; }
}

/* ---------- Section heads ---------- */
.sec-kicker {
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
}
.sec-head { margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(28px, 3.3vw, 40px); margin-bottom: 14px; }
.sec-head p { font-size: 16.5px; color: var(--muted); line-height: 1.7; }

/* ---------- Cards ---------- */
.grid { gap: 24px; }
.card {
  border-radius: var(--radius);
  border-color: var(--line);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
  border-color: var(--line-strong);
}
.card .card-img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-img img { transform: scale(1.04); }
.card .card-body { padding: 22px; }
.card .card-body h3 { font-size: 18.5px; letter-spacing: -.02em; }
.card .card-body p { font-size: 14.5px; line-height: 1.62; }
.card .tag {
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: 11.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  padding: 4px 9px;
}

.icon-card { background: #fff; }
.icon-badge {
  width: 46px; height: 46px;
  border-radius: 3px;
  background: none;
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: 19px;
  margin-bottom: 20px;
  box-shadow: none;
}

/* ---------- Split / steps / CTA ---------- */
.split { gap: 64px; }
.split .media { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(15, 23, 42, .10); }
.split h2 { font-size: clamp(26px, 3vw, 38px); }
.check-list li { font-size: 15.5px; padding: 10px 0; }
.check-list li i { color: var(--gold-deep); }

.step { border-radius: var(--radius); background: #fff; box-shadow: none; border-color: var(--line); padding: 30px 24px 24px; }
.step .num {
  width: 34px; height: 34px;
  border-radius: 2px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  top: -17px;
  box-shadow: none;
}
.step h4 { font-size: 16.5px; letter-spacing: -.015em; }
.step p { font-size: 14.5px; }

.cta-band {
  background: var(--navy-dark);
  border-radius: var(--radius);
  padding: 56px 52px;
  box-shadow: none;
}
.cta-band h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.025em; }
.cta-band p { color: rgba(255, 255, 255, .72); font-size: 15.5px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--nav-h) + 72px) 0 76px;
}
.page-hero h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 12px; }
.page-hero p { color: var(--muted); font-size: 16.5px; max-width: 760px; }
.crumb { font-size: 12.5px; color: #8A93A3; letter-spacing: .02em; margin-bottom: 18px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--navy); }

/* ---------- Content typography ---------- */
.content { font-size: 16.5px; line-height: 1.82; }
.content h2 { font-size: 26px; margin: 1.5em 0 .55em; letter-spacing: -.025em; }
.content h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.content .lead { font-size: 18px; border-left-color: var(--gold); }
.content th { background: var(--bg-soft); }
.content img { border-radius: var(--radius-sm); }

/* ---------- Forms ---------- */
.form-card { border-radius: var(--radius); box-shadow: none; border-color: var(--line); padding: 32px; }
.field input, .field select, .field textarea {
  border-radius: 3px;
  border-color: var(--line-strong);
  font-size: 15px;
  padding: 12px 13px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(18, 52, 95, .08);
}
.captcha-row img { border-radius: 3px; }

/* ---------- FAQ / quotes / stats ---------- */
.faq-item { border-radius: var(--radius-sm); }
.faq-q { font-size: 16px; font-weight: 550; }
.quote { border-radius: var(--radius); box-shadow: none; }
.quote .avatar { border-radius: 2px; background: var(--navy); }
.stat { border-radius: var(--radius); box-shadow: none; }
.stat b { font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.filter-btn { border-radius: 3px; }
.filter-btn.active { background: var(--navy); border-color: var(--navy); }
.hosp-link { color: var(--navy); }
.city-pill { background: var(--bg-blue); color: var(--navy); border-radius: 2px; }
.tier-pill { border-radius: 2px; }
.chip { border-radius: 2px; }
.fact-grid > div { border-radius: var(--radius-sm); }

/* ---------- Footer (dark, editorial) ---------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .70);
  border-top: 0;
  padding: 76px 0 0;
  font-size: 14px;
}
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .10em; text-transform: uppercase; margin-bottom: 20px; font-weight: 600; }
.footer a { color: rgba(255, 255, 255, .64); }
.footer a:hover { color: #E4C583; }
.footer .brand img { filter: brightness(0) invert(1); height: 38px; opacity: .92; }
.footer ul li { padding: 7px 0; }
.footer ul li i { color: var(--gold); }
.footer .brand-pill img { filter: brightness(0) invert(1); height: 34px; opacity: .92; }
.footer .brand-pill { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .72); border-radius: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .10); color: rgba(255, 255, 255, .50); margin-top: 54px; padding: 24px 0; font-size: 12.5px; }

/* ---------- Utilities ---------- */
.pill { border-radius: 3px; border-color: var(--line); font-weight: 550; }
.badge { border-radius: 2px; }
.badge-navy { background: var(--bg-blue); }
.badge-gold { background: var(--gold-soft); }
.inc-table td { border-color: var(--line); }

html { scroll-padding-top: 90px; }

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ================= Page hero with photography ================= */
.page-hero.has-img {
  position: relative;
  background: #0A1F3C;
  border-bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 400px;
  padding: calc(var(--nav-h) + 84px) 0 84px;
}
.page-hero .page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero .page-hero-bg img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center 42%;
}
.page-hero.has-img::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(6,16,32,.88) 0%, rgba(6,16,32,.68) 36%, rgba(6,16,32,.30) 68%, rgba(6,16,32,.08) 100%),
    linear-gradient(180deg, rgba(6,16,32,.34) 0%, rgba(6,16,32,0) 34%, rgba(6,16,32,.06) 100%);
}
.page-hero.has-img .container { position: relative; z-index: 2; }
.page-hero.has-img h1 { color: #fff; }
.page-hero.has-img p { color: rgba(255,255,255,.80); }

/* Crumb — readable on both light and photo backgrounds */
.crumb { font-size: 13px; color: #7C8695; letter-spacing: .01em; margin-bottom: 20px; }
.crumb a { color: var(--navy-2); font-weight: 500; text-decoration: none; }
.crumb a:hover { color: var(--navy); text-decoration: underline; }
.page-hero.has-img .crumb,
.page-hero.has-img .crumb a { color: rgba(255,255,255,.66); }
.page-hero.has-img .crumb a:hover { color: #fff; }

/* Prev / next article navigation */
.post-nav {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.post-nav .pn { flex: 1 1 240px; min-width: 0; }
.post-nav .pn:empty { display: none; }
.post-nav .pn a {
  display: block; padding: 13px 16px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  font-size: 14px; color: var(--navy-2); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: border-color .18s, color .18s;
}
.post-nav .pn a:hover { border-color: var(--navy-3); color: var(--navy); }
.post-nav:empty { display: none; margin: 0; padding: 0; border: 0; }

/* ================= Partnership page ================= */
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2 { margin: 10px 0 12px; }
.section-head p { margin: 0; }
.eyebrow {
  display: inline-block; font-size: 11.5px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}

.agmt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}
.agmt-item {
  margin: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease;
}
.agmt-item img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 4; object-fit: cover; background: #EEF1F5;
}
.agmt-item figcaption {
  padding: 14px 16px 16px; font-size: 13px; line-height: 1.6; color: var(--muted);
}
.agmt-item figcaption b {
  display: block; margin-bottom: 4px;
  font-size: 13.5px; color: var(--navy); letter-spacing: -.01em;
}
.agmt-item:hover { box-shadow: 0 12px 32px rgba(10,31,60,.10); transform: translateY(-2px); }

@media (max-width: 700px) {
  .agmt-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .agmt-item figcaption { padding: 12px 12px 14px; font-size: 12.5px; }
}

/* ================= Breadcrumb bar (below page hero) ================= */
.bread-bar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.bread-bar .container {
  display: flex; align-items: center; flex-wrap: wrap;
  min-height: 46px; padding-top: 10px; padding-bottom: 10px;
  color: #6B7686; letter-spacing: .01em;
}
.bread-bar a { color: #566172; font-weight: 500; text-decoration: none; }
.bread-bar a:hover { color: var(--navy); text-decoration: underline; }
.bread-bar > .container > :last-child { color: var(--navy); font-weight: 600; }

@media (max-width: 640px) {
  .bread-bar .container { min-height: 42px; font-size: 12.5px; }
}

/* ================= Mobile menu — hardened readability ================= */
.navbar.menu-open {
  background: #fff;
  border-bottom-color: var(--line);
  box-shadow: 0 2px 10px rgba(15, 23, 42, .06);
}
.navbar.menu-open::before { opacity: 0; }
.navbar.menu-open .brand img { filter: none; }
.navbar.menu-open .nav-toggle { color: var(--navy); }
body.nav-locked { overflow: hidden; }

@media (max-width: 992px) {
  .nav-wrap { background: #fff !important; max-height: calc(100svh - 70px); overflow-y: auto; }

  .nav-wrap .nav > li > a,
  .navbar.menu-open .nav > li > a,
  .navbar:not(.is-stuck) .nav > li > a {
    color: var(--ink) !important;
    text-shadow: none !important;
    font-size: 15px !important;
  }
  .nav-wrap .nav > li > a .caret,
  .navbar.menu-open .nav > li > a .caret,
  .navbar:not(.is-stuck) .nav > li > a .caret {
    color: #8A93A3 !important;
  }
  .nav-wrap .nav > li {
    border-bottom: 1px solid #EEF1F5;
  }
  .nav-wrap .nav > li > a {
    padding: 15px 6px !important;
    min-height: 50px;
    box-sizing: border-box;
    border-radius: 0 !important;
    background: transparent !important;
  }
  .nav-wrap .nav > li.open > a { color: var(--navy) !important; font-weight: 650 !important; }
  .nav-wrap .dropdown { display: none; padding: 0 0 12px 8px !important; }
  .nav-wrap .nav > li.open .dropdown { display: block; }
  .nav-wrap .dropdown a {
    color: #42506A !important;
    text-shadow: none !important;
    font-size: 14px !important;
    padding: 11px 10px !important;
    border-radius: 4px !important;
    min-height: 42px;
  }
  .nav-wrap .dropdown a:hover { background: var(--sky); color: var(--navy) !important; }
  .nav-wrap .dropdown a .dot { background: var(--gold); }
  .nav-wrap .nav-cta { padding: 16px 0 6px; }
  .nav-wrap .nav-cta .btn { min-height: 48px; }
}

/* Chinese name note (hospital detail only) */
.cn-name {
  margin: 0 0 20px; padding: 12px 15px;
  background: #F5F8FC; border-left: 3px solid var(--gold); border-radius: 4px;
  font-size: 13.5px; line-height: 1.55; color: #6B7686;
}
.cn-name i { color: var(--gold); margin-right: 6px; }
.cn-name span { color: var(--navy); font-weight: 600; }

/* ================= Responsive two-column layouts ================= */
.split-aside { grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.split-wide  { grid-template-columns: 1.5fr 1fr; gap: 44px; align-items: start; }
.split-2     { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.split-aside.align-center, .split-2.align-center { align-items: center; }

.stat-3 { grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0 0; }
.stat-3 .stat { padding: 18px 16px; }
.stat-3 .stat b { font-size: 26px; }
.stat-3 .stat span { font-size: 12.5px; }

.content img { max-width: 100%; height: auto; display: block; }

@media (max-width: 900px) {
  .split-aside, .split-wide, .split-2 {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
  }
  .split-aside.align-center, .split-2.align-center { align-items: stretch; }
}

/* ================= Mobile pass (all pages) ================= */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-soft { padding: 56px 0; }

  /* page hero */
  .page-hero { padding: calc(var(--nav-h) + 44px) 0 44px; }
  .page-hero.has-img { min-height: 300px; padding: calc(var(--nav-h) + 46px) 0 46px; }
  .page-hero h1 { font-size: 27px; line-height: 1.24; }
  .page-hero p { font-size: 15px; }

  /* breadcrumb */
  .bread-bar .container { min-height: 42px; font-size: 12.5px; }

  /* aside cards must not float above content */
  .lead-box { position: static; top: auto; }
  .form-card { padding: 20px !important; }

  /* buttons & bands */
  .cta-band { flex-direction: column; align-items: flex-start; gap: 18px; }
  .cta-band .btn { width: 100%; justify-content: center; text-align: center; }
  .btn-lg { padding: 14px 20px; font-size: 15px; }

  /* filters scroll instead of stacking tall */
  .filter-row { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
  .filter-row .filter-btn { flex: none; }

  /* article body */
  .content { font-size: 16px; line-height: 1.78; }
  .content h2 { font-size: 22px; margin-top: 30px; }
  .content h3 { font-size: 18px; }
  .content table { display: block; overflow-x: auto; white-space: nowrap; }
  .post-nav { flex-direction: column; }
  .post-nav .pn { width: 100%; }
  .post-nav .pn a { white-space: normal; }

  /* cards & grids */
  .agmt-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .section-head { margin-bottom: 26px; }
  .section-head h2 { font-size: 24px; }
  .stat-3 { gap: 10px; margin-top: 22px; }
  .stat-3 .stat { padding: 14px 12px; }
  .stat-3 .stat b { font-size: 21px; }
  .stat-3 .stat span { font-size: 11px; line-height: 1.35; }

  .hero-slider { min-height: 520px; }
  .hero-slider .lead { font-size: 15px; }
}

@media (max-width: 480px) {
  .page-hero h1 { font-size: 24px; }
  .agmt-grid { grid-template-columns: 1fr; }
  .stat-3 .stat b { font-size: 19px; }
}

/* ================= Hospital directory filter ================= */
.hosp-filter {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px 14px;
  margin: 0 0 34px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.hf-search { position: relative; margin-bottom: 18px; }
.hf-search i {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: #9AA4B2; font-size: 14px;
}
.hf-search input {
  width: 100%; height: 46px; box-sizing: border-box;
  padding: 0 16px 0 42px;
  border: 1px solid #DDE3EC; border-radius: 4px;
  font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
.hf-search input::placeholder { color: #99A2B2; }
.hf-search input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 161, 91, .14);
}

.hf-group { display: flex; align-items: flex-start; gap: 14px; padding: 10px 0; border-top: 1px solid #F1F4F8; }
.hf-label {
  flex: none; width: 74px; padding-top: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: #8A93A3;
}
.hf-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.chip {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 13px;
  border: 1px solid #DDE3EC; border-radius: 17px;
  background: #fff; color: #55606F;
  font-size: 13.5px; font-weight: 500; line-height: 1;
  cursor: pointer; white-space: nowrap;
  transition: all .16s ease;
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-on {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.hf-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 2px; }
#hfCount { font-size: 13.5px; color: #6B7686; }
.hf-clear {
  border: 0; background: none; padding: 6px 0;
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}

/* card meta */
.hosp-sub { color: #7A8595 !important; font-size: 13.5px !important; margin: 6px 0 10px !important; line-height: 1.5 !important; }
.hosp-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hosp-specs .spec {
  font-size: 11.5px; font-weight: 600; letter-spacing: .03em;
  color: #8A6A2F; background: #FBF4E6;
  border: 1px solid #EFE0C4; border-radius: 3px;
  padding: 3px 7px; white-space: nowrap;
}

.hf-empty { text-align: center; padding: 70px 20px; color: #6B7686; }
.hf-empty i { font-size: 38px; color: #C9D1DC; margin-bottom: 16px; display: block; }
.hf-empty h3 { font-size: 20px; color: var(--ink); margin: 0 0 8px; }
.hf-empty p { max-width: 460px; margin: 0 auto 20px; font-size: 14.5px; line-height: 1.7; }

@media (max-width: 768px) {
  .hosp-filter { padding: 16px 16px 10px; margin-bottom: 24px; position: sticky; top: 70px; z-index: 40; }
  .hf-search { margin-bottom: 12px; }
  .hf-search input { height: 44px; font-size: 16px; }
  .hf-group { display: block; padding: 8px 0; }
  .hf-label { display: block; width: auto; padding: 0 0 8px; }
  .hf-chips {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 6px; margin-right: -16px; padding-right: 16px;
    scrollbar-width: none;
  }
  .hf-chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; height: 32px; font-size: 13px; }
  .hf-foot { padding: 10px 0 2px; }
}
@media (max-width: 420px) {
  .hosp-filter { position: static; }
}

/* footer credit */
.footer .footer-credit { color: rgba(255, 255, 255, .40); }
.footer .footer-credit a {
  color: rgba(255, 255, 255, .62); text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
  transition: color .18s, border-color .18s;
}
.footer .footer-credit a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }

.muted-sm { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 6px 0 0; }

/* ===== 负责人卡片 ===== */
.rep-card {
  text-align: center;
  padding: 30px 24px 26px;
  display: flex; flex-direction: column; align-items: center;
}
.rep-avatar {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 16px; position: relative;
  box-shadow: 0 0 0 1px rgba(198, 161, 91, .55), 0 0 0 5px rgba(198, 161, 91, .10), 0 8px 20px rgba(10, 31, 60, .12);
}
.rep-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rep-name { font-size: 19px; font-weight: 700; color: #0A1F3C; margin: 0 0 6px; letter-spacing: -.01em; }
.rep-role {
  font-size: 11px; font-weight: 600; color: #A9853F;
  letter-spacing: .09em; text-transform: uppercase; line-height: 1.5;
  margin: 0 0 8px;
}
.rep-lang { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.rep-mail {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; margin: 0 0 16px;
}
.rep-mail a { color: #12345F; text-decoration: none; border-bottom: 1px solid rgba(18, 52, 95, .18); padding-bottom: 1px; }
.rep-mail a:hover { border-bottom-color: #12345F; }
.rep-copy {
  border: 0; background: #F2F4F8; color: #7C8AA3; cursor: pointer;
  width: 24px; height: 24px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px;
  transition: background .16s, color .16s;
}
.rep-copy:hover { background: #E6EAF2; color: #12345F; }
.rep-copy.done { background: #E4F5EC; color: #1C7A45; }
.rep-wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 44px; border-radius: 999px;
  background: #1FA855; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  transition: background .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 6px 16px rgba(31, 168, 85, .22);
}
.rep-wa:hover { background: #178F47; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(31, 168, 85, .28); }
.rep-wa i { font-size: 17px; }
.rep-wx { font-size: 12px; color: var(--muted); margin: 12px 0 0; letter-spacing: .01em; }

@media (max-width: 760px) {
  .rep-card { padding: 26px 20px 22px; }
  .rep-avatar { width: 84px; height: 84px; }
  .rep-wa { max-width: 280px; }
}

/* ===== Cookie 同意条 ===== */
.ck-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: #fff; border-top: 1px solid #E3E7EE;
  box-shadow: 0 -10px 34px rgba(10, 31, 60, .10);
  transform: translateY(102%); opacity: 0; visibility: hidden;
  transition: transform .34s cubic-bezier(.4, .0, .2, 1), opacity .34s, visibility .34s;
}
body.ck-open .ck-bar, .ck-bar.ck-on { transform: none; opacity: 1; visibility: visible; }
.ck-wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 16px; padding-bottom: 16px;
}
.ck-text {
  margin: 0; font-size: 13px; line-height: 1.65; color: #4A5668; max-width: 720px;
}
.ck-text a { color: #12345F; text-decoration: underline; text-underline-offset: 2px; }
.ck-btns { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ck-btn {
  height: 38px; padding: 0 18px; border-radius: 6px; cursor: pointer;
  font-size: 13px; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: background .18s, border-color .18s, color .18s;
}
.ck-ghost { background: #fff; color: #12345F; border: 1px solid #D8DEE8; }
.ck-ghost:hover { border-color: #12345F; background: #F7F9FC; }
.ck-solid { background: #0A1F3C; color: #fff; border: 1px solid #0A1F3C; }
.ck-solid:hover { background: #14335C; border-color: #14335C; }
.ck-prefs { display: none; border-top: 1px solid #EEF1F6; background: #FAFBFD; }
.ck-prefs.open { display: block; }
.ck-prefs .container { padding-top: 14px; padding-bottom: 18px; }
.ck-row { display: flex; align-items: flex-start; gap: 10px; padding: 9px 0; font-size: 13px; color: #4A5668; }
.ck-row input { margin-top: 3px; accent-color: #12345F; width: 15px; height: 15px; }
.ck-row b { display: block; color: #0A1F3C; font-size: 13px; }
.ck-row em { font-style: normal; color: #7C8AA3; font-size: 12px; line-height: 1.55; display: block; margin-top: 2px; }
.ck-save { margin-top: 10px; }

/* 浮钮让位，任何屏幕都不遮挡 */
body.ck-open .wa-float { bottom: calc(var(--ck-h, 0px) + 16px); }
body.ck-open .back-top { bottom: calc(var(--ck-h, 0px) + 86px); }

@media (max-width: 760px) {
  .ck-bar {
    left: 12px; right: 12px; bottom: 12px;
    border: 1px solid #E3E7EE; border-radius: 10px;
    box-shadow: 0 12px 34px rgba(10, 31, 60, .16);
  }
  .ck-wrap { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px 16px 14px; }
  .ck-text { font-size: 12.5px; line-height: 1.6; }
  .ck-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ck-btn { height: 40px; padding: 0 10px; font-size: 12.5px; }
  .ck-btn.ck-solid { grid-column: 1 / -1; }
  .ck-prefs { border-radius: 0 0 10px 10px; }
  .ck-row { padding: 8px 0; }
}

/* ===== 微信图形（替代通用气泡） ===== */
.ico-wx { width: 15px; height: 15px; fill: currentColor; vertical-align: -2px; }
.ico-wx .wx-eye { fill: #fff; opacity: .92; }
.footer ul li .ico-wx { color: var(--gold); }
.rep-wx .ico-wx { color: #27AE60; width: 14px; height: 14px; margin-right: 5px; vertical-align: -1px; }

/* ===== 语言胶囊 ===== */
.lang-chips { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 10px; }
.lang-chips span {
  display: inline-flex; align-items: center; height: 26px; padding: 0 11px;
  border-radius: 999px; background: #F2F4F8; border: 1px solid #E3E7EE;
  font-size: 12.5px; color: #12345F; font-weight: 500; letter-spacing: .01em;
}

/* ===== 地图链接 ===== */
.map-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: #12345F; text-decoration: none;
  border-bottom: 1px solid rgba(18, 52, 95, .2); padding-bottom: 1px;
  margin-top: 10px; transition: color .16s, border-color .16s;
}
.map-link:hover { color: #1B4B8F; border-bottom-color: #1B4B8F; }
.map-link i { font-size: 11px; }

/* ===== 中国实时时钟 ===== */
.clock-time {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
  font-size: 30px; font-weight: 700; letter-spacing: .02em;
  color: #0A1F3C; line-height: 1.1; margin: 2px 0 6px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}
.clock-date { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; letter-spacing: .01em; }
.clock-live { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #1C7A45; margin: 0; }
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #25C26E;
  box-shadow: 0 0 0 0 rgba(37, 194, 110, .55);
  animation: lx-pulse 2.4s ease-out infinite;
}
@keyframes lx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 194, 110, .55); }
  70% { box-shadow: 0 0 0 7px rgba(37, 194, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 194, 110, 0); }
}
@media (max-width: 760px) {
  .clock-time { font-size: 26px; }
}

/* 联系页四卡等高时，非负责人卡内容垂直居中，避免底部大片留白 */
@media (min-width: 761px) {
  .contact-cards .icon-card:not(.rep-card),
  .grid-4 > .icon-card:not(.rep-card) {
    display: flex; flex-direction: column; justify-content: center;
  }
}
