/* BeWellTrip design system (2026-10 redesign)
   Mobile first: base rules are for phones; min-width queries add the larger layouts.
   Breakpoints (em, so they follow the visitor's font size): 40em 640px · 48em 768px · 64em 1024px · 80em 1280px
   ------------------------------------------------------------------------------------------------ */
:root {
  /* colour */
  /* 2026-10-17 checkup redesign: white pages, a fresh teal and a warm accent (owner: "not so heavy") */
  --paper: #ffffff;          /* page background */
  --paper-2: #f4f8f7;        /* alternate section, cool off-white */
  --tint: #eaf5f3;           /* tinted section */
  --sky: #eef5fb;            /* second tint, used in gradients */
  --surface: #ffffff;
  --ink: #13252b;            /* headings and body text */
  --ink-2: #43555a;          /* secondary text */
  --muted: #5d6e72;          /* captions (AA on paper-2) */
  --line: #e3eaea;
  --line-strong: #c9d5d4;
  --brand: #0b7a75;          /* fresh teal (white text 5.2:1) */
  --brand-deep: #075e5a;
  --brand-tint: #e2f3f1;
  --sage: #6cc1b3;
  --sage-light: #bfe6df;
  --brass: #a9501f;          /* warm terracotta for labels (5.4:1 on white) */
  --brass-tint: #fdeee5;
  --accent: #f39c5a;         /* warm highlight, decoration only (no text on it) */
  --footer: #0f3a3c;
  --wa: #0e7a3e;             /* WhatsApp actions (white text, AA) */
  --wa-hover: #0b6533;
  --wa-bright: #25d366;
  /* legacy names, still used by inline SVG backgrounds and older rules */
  --teal: var(--brand); --teal-deep: var(--brand-deep); --green: var(--sage); --green-soft: var(--brand-tint); --gold: #b08d57;
  --bg: var(--paper); --bg-alt: var(--paper-2); --ink-soft: var(--ink-2);

  /* type */
  --serif: var(--sans);
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-h1: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem);
  --fs-h2: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem);
  --fs-h3: 1.14rem;
  --fs-lead: clamp(1.06rem, 1rem + .35vw, 1.25rem);

  /* space (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: clamp(64px, 5rem + 4vw, 136px);
  --gutter: 20px;

  /* shape and depth */
  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(12, 31, 30, .04), 0 12px 32px -14px rgba(12, 31, 30, .18);
  --shadow-lg: 0 2px 4px rgba(12, 31, 30, .04), 0 30px 60px -24px rgba(12, 31, 30, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --max: 1240px;
  --header-h: 64px;
  --bar-h: 0px;              /* mobile action bar height, set below */
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
html.menu-open { overflow: hidden; }
[hidden] { display: none !important; }
.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; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -200px; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 200; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 8px; }
body {
  margin: 0; min-width: 320px; overflow-x: hidden;
  background: var(--paper); color: var(--ink);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: var(--bar-h);
}
img, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.06; }
h1 em, h2 em { font-style: italic; }
h3, h4 { font: 600 var(--fs-h3)/1.35 var(--sans); letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
b, strong { font-weight: 600; }
small { font-size: .86em; }
::selection { background: var(--sage-light); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
@media (min-width: 48em) { :root { --gutter: 32px; } }
@media (min-width: 80em) { :root { --gutter: 40px; } }

.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.section--dark { background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #e3f1ee; }
.section--tint { background: linear-gradient(180deg, var(--tint), var(--paper)); }
.section--dark h2, .section--dark h3 { color: #fff; }
.mt-0 { margin-top: 0; }
.section.mt-0 { padding-top: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.spacer { height: var(--s6); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s4);
  font: 600 .74rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass);
}
.section--dark .eyebrow, .hero .eyebrow, .cta-band .eyebrow { color: var(--sage-light); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.section--dark .lead { color: #d3e8e3; }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin-bottom: 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); letter-spacing: -.005em; text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .04); }
.btn--light:hover { background: #fff; color: var(--brand-deep); border-color: #fff; }
.btn--light-solid, .btn--hero { background: #fff; color: var(--brand-deep); }
.btn--light-solid:hover, .btn--hero:hover { background: var(--brand-tint); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 39.99em) {
  .btn-row > .btn { flex: 1 1 100%; }
}

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px;
  color: var(--ink); background: transparent; border: 1px solid var(--line); cursor: pointer; flex: none;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.icon-btn:hover { background: var(--surface); border-color: var(--line-strong); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--wa { color: var(--wa); }

.link-arrow { margin-top: auto; font-weight: 600; color: var(--brand); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
a:hover > .link-arrow::after, a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }

.tag {
  display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: var(--brand-tint);
  color: var(--brand); font: 600 .76rem/1.3 var(--sans); letter-spacing: .01em;
}
.tag--gold { background: var(--brass-tint); color: var(--brass); }
.tag svg { width: 14px; height: 14px; margin-inline-end: 6px; flex: none; }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 80; height: var(--header-h);
  background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(12, 31, 30, .35); }
.site-header__inner { display: flex; align-items: center; gap: var(--s4); height: 100%; max-width: 1360px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; min-height: 44px; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 400 1.5rem/1 var(--serif); letter-spacing: -.01em; }
.brand__name b { color: var(--brand); font-weight: 400; font-style: italic; }
.brand__tag { display: none; font: 600 .6rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
@media (min-width: 30em) { .brand__tag { display: block; } }

.nav { display: none; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: var(--s2); }
.header-cta, .header-wa { display: none; }
.header-cta { min-height: 44px; padding: 10px 20px; font-size: .93rem; }
@media (min-width: 48em) {
  :root { --header-h: 72px; }
  .header-cta, .header-wa { display: inline-flex; }
}
/* the full nav needs room; longer translated labels get it a little later */
@media (min-width: 80em) {
  html[lang="en"] .nav, html[lang^="zh"] .nav { display: flex; }
  html[lang="en"] .menu, html[lang^="zh"] .menu { display: none; }
}
@media (min-width: 120em) {
  .nav { display: flex; }
  .menu { display: none; }
}
.nav { align-items: center; gap: 2px; margin-inline-start: var(--s5); min-width: 0; }
.nav a {
  padding: 10px 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none;
  font: 500 .92rem/1 var(--sans); white-space: nowrap; transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: rgba(12, 31, 30, .05); }
.nav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }

/* language menu */
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px;
  justify-content: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink);
  font: 600 .88rem/1 var(--sans);
}
.lang-menu summary:hover { background: var(--surface); }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 18px; height: 18px; flex: none; }
.lang-menu__name { display: none; }
@media (min-width: 40em) { .lang-menu__name { display: inline; } }
.lang-menu ul {
  position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 90; margin: 0; padding: 8px; list-style: none;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 2px; font-size: .95rem;
}
.lang-menu li a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.lang-menu li a:hover { background: var(--paper); }
.lang-menu li a[aria-current] { color: var(--brand); font-weight: 700; background: var(--brand-tint); }
@media (max-width: 39.99em) {
  .lang-menu ul { position: fixed; top: calc(var(--header-h) - 4px); left: 12px; right: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* mobile / tablet menu: a sheet under the header */
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__bars { position: relative; width: 18px; height: 12px; display: block; }
.menu__bars span { position: absolute; inset-inline: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.menu__bars span:nth-child(1) { top: 0; }
.menu__bars span:nth-child(2) { top: 5.25px; }
.menu__bars span:nth-child(3) { bottom: 0; }
.menu[open] .menu__bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.menu[open] .menu__bars span:nth-child(2) { opacity: 0; }
.menu[open] .menu__bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }
.menu[open] .menu__toggle { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu__sheet {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 79; overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: var(--s5) var(--gutter) calc(var(--s7) + env(safe-area-inset-bottom));
  animation: sheet-in .32s var(--ease);
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.menu__nav { display: flex; flex-direction: column; margin-bottom: var(--s5); max-width: 40rem; }
.menu__nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 6px 2px;
  border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 400 1.65rem/1.2 var(--serif);
}
.menu__nav a::after { content: "→"; font: 400 1rem/1 var(--sans); color: var(--muted); }
.menu__nav a[aria-current="page"] { color: var(--brand); }
.menu__nav a[aria-current="page"]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); margin-inline-end: 10px; order: -1; }
.menu__nav a[aria-current="page"] { justify-content: flex-start; }
.menu__nav a[aria-current="page"]::after { margin-inline-start: auto; }
.menu__actions { display: grid; gap: var(--s3); margin-bottom: var(--s5); max-width: 40rem; }
.menu__meta { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: .92rem; margin: 0 0 var(--s2); }
.menu__meta svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.menu__meta a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
.menu__langs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s5); }
.menu__langs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .92rem; background: var(--surface);
}
.menu__langs a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* mobile action bar: WhatsApp + free plan, always in reach of the thumb */
.action-bar { display: none; }
@media (max-width: 47.99em) {
  :root { --bar-h: calc(72px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: auto 1fr; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(12, 31, 30, .35);
  }
  .action-bar .btn { min-height: 50px; padding: 12px 18px; font-size: .97rem; }
  .action-bar .btn--wa span { font-weight: 600; }
  html.menu-open .action-bar { display: none; }
  body[data-page="contact"] .action-bar { grid-template-columns: 1fr; }
  body[data-page="contact"] .action-bar .btn--primary { display: none; }
}

/* ---------------------------------------------------------------- hero (home) */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - var(--header-h) - var(--bar-h)); max-height: 980px;
  color: #fff; background: var(--brand-deep);
}
@supports not (height: 100svh) { .hero { min-height: 640px; } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: hero-zoom 14s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.06); } to { transform: none; } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(4, 22, 22, .45) 0%, rgba(4, 22, 22, .15) 30%, rgba(4, 22, 22, .55) 62%, rgba(4, 22, 22, .92) 100%);
}
.hero__content { position: relative; padding-top: 96px; padding-bottom: clamp(36px, 6vw, 88px); }
.hero h1 { color: #fff; max-width: 13em; margin-bottom: .3em; }
.hero h1 em { color: var(--sage-light); }
.hero__lead { font-size: var(--fs-lead); max-width: 36em; color: rgba(255, 255, 255, .86); margin-bottom: var(--s6); }
.hero .btn-row { gap: var(--s3); }
.btn--hero { min-height: 56px; padding-inline: 34px; font-size: 1.05rem; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.hero__alt { margin: var(--s4) 0 0; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.hero__alt a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hero__alt svg { width: 18px; height: 18px; color: var(--wa-bright); }
@media (max-width: 47.99em) {
  .hero__lead { font-size: 1rem; }
  .hero .btn--hero { width: 100%; }
}

/* ---------------------------------------------------------------- page hero (inner pages) */
/* Light hero (2026-10-17): photo on top for phones; from 64em the photo fills the right side and fades into the tint */
.page-hero { position: relative; color: var(--ink); background: linear-gradient(135deg, var(--tint), var(--sky)); overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.page-hero__img { width: 100%; aspect-ratio: 16 / 9; max-height: 46svh; object-fit: cover; }
.page-hero__content { position: relative; width: 100%; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero h1 { color: var(--ink); max-width: 15em; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); }
.page-hero .lead { color: var(--ink-2); margin-bottom: var(--s5); }
.page-hero .eyebrow { color: var(--brass); }
.page-hero .btn-row { margin-top: var(--s2); }
.page-hero .btn--light, .hero-split .btn--light { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }
.page-hero .btn--light:hover { border-color: var(--ink); background: var(--surface); color: var(--ink); }
@media (min-width: 64em) {
  .page-hero { flex-direction: row; align-items: center; min-height: min(68svh, 600px); }
  .page-hero__img { position: absolute; inset-block: 0; inset-inline-end: 0; width: 62%; height: 100%; max-height: none; aspect-ratio: auto; z-index: -2; }
  .page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, #f0f7f6 0%, #f0f7f6 36%, rgba(240, 247, 246, .82) 48%, rgba(240, 247, 246, 0) 68%);
  }
  [dir="rtl"] .page-hero::after { background: linear-gradient(270deg, #f0f7f6 0%, #f0f7f6 36%, rgba(240, 247, 246, .82) 48%, rgba(240, 247, 246, 0) 68%); }
  .page-hero__content { padding-block: 72px; }
  .page-hero .page-hero__content > * { max-width: 36rem; }
}
.page-hero--plain { background: linear-gradient(180deg, var(--tint), var(--paper)); color: var(--ink); min-height: 0; border-bottom: 1px solid var(--line); }
.page-hero--plain::after { display: none; }
.page-hero--plain .page-hero__content { padding-top: clamp(48px, 7vw, 104px); padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain .lead { color: var(--ink-2); margin-bottom: 0; }
.page-hero + .section { padding-top: clamp(48px, 6vw, 96px); }

/* ---------------------------------------------------------------- grids and cards */
.grid { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 42.5em) {
  .grid { gap: var(--s5); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 60em) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 42.5em) and (max-width: 59.99em) {
  .grid--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px); height: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card h3 { margin-bottom: .4em; font-size: 1.16rem; }
.card p { color: var(--ink-2); }
.card p:last-child { margin-bottom: 0; }
.card .small.muted { color: var(--muted); padding-top: var(--s3); border-top: 1px solid var(--line); margin-top: var(--s3); }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--brand-tint); color: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s4); flex: none;
}
.card__icon svg { width: 24px; height: 24px; }
.section--dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.section--dark .card p { color: #b9cfc8; }
.section--dark .card__icon { background: rgba(155, 195, 176, .16); color: var(--sage-light); }

.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card--media:hover .card__img img { transform: scale(1.03); }
.card--link { display: block; color: inherit; text-decoration: none; }
.card--link:hover { border-color: var(--brand); transform: translateY(-2px); }
.card--link h3::after { content: " \2192"; color: var(--brand); }
[dir="rtl"] .card--link h3::after { content: " \2190"; }
.card__body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; flex: 1; }
.card__body .checklist { margin-bottom: var(--s3); }
.card__body .eyebrow { margin-bottom: var(--s3); }

.checklist { list-style: none; padding: 0; margin: 0 0 var(--s5); }
.checklist li { padding: 8px 0; padding-inline-start: 32px; position: relative; color: var(--ink-2); }
.checklist li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.note {
  background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); border-radius: var(--radius-sm);
  padding: 16px 20px; color: var(--ink-2); font-size: .94rem; margin-block: var(--s5);
}
.note b { color: var(--ink); }

/* split: text beside an image */
.split { display: grid; gap: var(--s6); align-items: center; }
.split__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 56em) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 96px); }
  .split--rev > :first-child { order: 2; }
  .split__img { aspect-ratio: 5 / 4.4; }
}

/* ---------------------------------------------------------------- home: three-step start */
.start-steps {
  list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; gap: 0; counter-reset: s;
  border-top: 1px solid var(--line);
}
.start-steps li {
  counter-increment: s; position: relative; display: grid; gap: 4px; padding: var(--s5) 0; padding-inline-start: 64px;
  border-bottom: 1px solid var(--line);
}
.start-steps li::before {
  content: "0" counter(s); position: absolute; inset-inline-start: 0; top: var(--s5);
  font: 400 2.2rem/1 var(--serif); color: var(--brass);
}
.start-steps b { font: 600 1.12rem/1.35 var(--sans); color: var(--ink); }
.start-steps span { color: var(--ink-2); }
@media (min-width: 60em) {
  .start-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6); border-top: 0; }
  .start-steps li { padding: var(--s6) 0 0; border-bottom: 0; border-top: 1px solid var(--ink); gap: 8px; }
  .start-steps li::before { position: static; display: block; font-size: 3.4rem; margin-bottom: var(--s4); }
}

/* ---------------------------------------------------------------- home: services */
.service-card {
  display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service-card:hover { text-decoration: none; }
.service-card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-card__body { padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; flex: 1; }
.service-card__body h3 { font: 400 clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem)/1.1 var(--serif); letter-spacing: -.01em; margin-bottom: .3em; }
.service-card__line { color: var(--ink-2); margin: 0 0 var(--s4); }
.service-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: var(--s4); }
.service-card__body ul { margin: 0 0 var(--s5); padding: 0; list-style: none; }
.service-card__body li { padding: 9px 0; padding-inline-start: 22px; position: relative; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.service-card__body li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 19px; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
  .service-card:hover .service-card__img img { transform: scale(1.04); }
}
/* phones: a swipeable row of cards, next card peeking in */
@media (max-width: 47.99em) {
  .services {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 6px;
  }
  .services::-webkit-scrollbar { display: none; }
  .services .service-card { scroll-snap-align: start; }
  .services .service-card__body ul, .services .tag--gold { display: none; }
  .services .service-card__img { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- comparison table */
.compare-wrap { margin: var(--s2) 0 var(--s5); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .96rem; }
.compare th, .compare td { text-align: start; vertical-align: top; }
.compare td { color: var(--ink-2); }
.compare tbody th { color: var(--ink); font-weight: 600; }
/* phones and small tablets: one card per row, each cell labelled with its column (data-label is added by build.py) */
@media (max-width: 55.99em) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .compare tbody { display: grid; gap: var(--s3); }
  .compare tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .compare tbody th { padding: 16px 18px 12px; font: 400 1.5rem/1.15 var(--serif); }
  .compare td { padding: 10px 18px 14px; border-top: 1px solid var(--line); font-size: .94rem; }
  .compare td::before { content: attr(data-label); display: block; font: 600 .72rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .compare td.compare__us { background: var(--brand-tint); color: var(--ink); border-top-color: transparent; }
  .compare td.compare__us::before { color: var(--brand); }
}
@media (min-width: 56em) {
  .compare-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
  .compare { table-layout: fixed; }
  .compare thead td { width: 17%; }
  .compare th, .compare td { padding: 20px 22px; border-bottom: 1px solid var(--line); }
  .compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
  .compare thead th { font: 400 1.4rem/1.15 var(--serif); color: var(--ink); vertical-align: bottom; padding-top: 28px; }
  .compare thead th.compare__us { background: var(--brand); color: #fff; }
  .compare td.compare__us { background: var(--brand-tint); color: var(--ink); }
  .compare tbody th { font-size: .95rem; }
}
.compare-note { color: var(--muted); font-size: .92rem; max-width: 52em; }

/* 三甲 explainer */
.explainer {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; padding-inline-start: 72px; margin: 0 0 var(--s6);
}
.explainer::before {
  content: "三甲"; position: absolute; inset-inline-start: 20px; top: 22px; width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; background: var(--brand); color: #fff;
  font: 600 .78rem/1 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .02em;
}
.explainer__title { font: 600 1.06rem/1.4 var(--sans); margin: 0 0 .4em; }
.explainer p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* one-line statement */
.band {
  margin: 0; padding: var(--s6) 0; border-block: 1px solid var(--line);
  font: 400 clamp(1.55rem, 1.1rem + 1.8vw, 2.6rem)/1.22 var(--serif); color: var(--ink); max-width: 30em; letter-spacing: -.01em;
}

/* ---------------------------------------------------------------- cities */
.city-card {
  position: relative; display: flex; align-items: flex-end; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden;
  color: #fff; text-decoration: none; isolation: isolate; background: var(--brand-deep);
}
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.city-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 22, 22, 0) 25%, rgba(4, 22, 22, .88) 100%); }
.city-card__body { padding: clamp(24px, 3vw, 40px); }
.city-card h3 { color: #fff; font: 400 clamp(2rem, 1.5rem + 1.6vw, 2.8rem)/1.05 var(--serif); margin-bottom: .3em; }
.city-card__cn { display: block; font: 600 .78rem/1 var(--sans); color: var(--sage-light); letter-spacing: .2em; margin-bottom: 12px; }
.city-card p { color: rgba(255, 255, 255, .85); max-width: 30em; font-size: .97rem; }
.city-card .link-arrow { color: #fff; }
@media (hover: hover) { .city-card:hover img { transform: scale(1.04); } }
@media (min-width: 64em) { .city-card { min-height: 560px; } }

.city-panel { display: flex; flex-direction: column; }
.city-panel__img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; margin-bottom: var(--s5); background: var(--paper-2); }
.city-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.city-panel h3 { font: 400 2rem/1.1 var(--serif); }

/* ---------------------------------------------------------------- steps (how it works, dental, TCM) */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 0 var(--s5); padding-inline-start: 56px; }
.step::before { content: ""; position: absolute; inset-inline-start: 17px; top: 40px; bottom: 6px; width: 1px; background: var(--line-strong); }
.step:last-child::before { display: none; }
.step__num {
  position: absolute; inset-inline-start: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font: 600 .82rem/1 var(--sans);
  background: var(--brand); color: #fff;
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; padding-top: 6px; }
.step p { color: var(--ink-2); font-size: .96rem; margin-bottom: 8px; }
.step__get { font-size: .9rem; color: var(--brand); }
.step__get b { display: inline; margin-inline-end: 6px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.section--dark .step::before { background: rgba(255, 255, 255, .18); }
.section--dark .step__num { background: rgba(155, 195, 176, .2); color: var(--sage-light); }
.section--dark .step p { color: #b9cfc8; }
.section--dark .step__get { color: var(--sage-light); }
.section--dark .step__get b { color: #8fa9a2; }
@media (min-width: 48em) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
  .step { padding: var(--s6) var(--s5) var(--s5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .step::before { display: none; }
  .step__num { position: static; width: auto; height: auto; background: none; color: var(--brass); font: 400 3rem/1 var(--serif); justify-content: flex-start; margin-bottom: var(--s4); }
  .step h3 { padding-top: 0; }
  .step__get { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--line); }
  .step__get b { display: block; margin-bottom: 4px; }
  .section--dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
  .section--dark .step__num { background: none; color: var(--sage); }
  .section--dark .step__get { border-color: rgba(255, 255, 255, .14); }
}
@media (min-width: 64em) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* trip timeline (dental, TCM) */
.trip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 30px); height: 100%; }
.trip__bar { display: flex; gap: 6px; margin: var(--s4) 0 var(--s3); align-items: stretch; }
.trip__seg { border-radius: 10px; padding: 10px 12px; font: 600 .82rem/1.3 var(--sans); flex: 1; }
.trip__seg--in { background: var(--brand); color: #fff; }
.trip__seg--home { background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 6px, var(--paper-2) 6px, var(--paper-2) 12px); color: var(--ink-2); flex: 1.6; }
.trip__seg--soft { background: var(--brand-tint); color: var(--brand); }
.trip__seg small { display: block; font-weight: 500; opacity: .85; }
.card__body .trip__seg { padding: 8px 10px; }

/* ---------------------------------------------------------------- FAQ */
.faq { max-width: 52rem; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 22px 0; padding-inline-end: 56px; min-height: 44px;
  font: 600 1.06rem/1.45 var(--sans); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong);
  font: 400 1.3rem/1 var(--sans); color: var(--brand); transition: transform .3s var(--ease), background-color .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--brand); border-color: var(--brand); color: #fff; }
.faq details > div { padding: 0 0 24px; padding-inline-end: 56px; color: var(--ink-2); }

/* ---------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0a6f6a 0%, var(--brand) 100%); color: #fff; padding: clamp(40px, 6vw, 88px) clamp(24px, 6vw, 80px);
}
.cta-band::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -220px;
  background: radial-gradient(circle, rgba(243, 156, 90, .35), rgba(243, 156, 90, 0) 70%);
}
.cta-band h2 { color: #fff; max-width: 14em; }
.cta-band p { color: rgba(255, 255, 255, .8); max-width: 34em; font-size: var(--fs-lead); }
.cta-band .btn-row { margin-top: var(--s5); }

/* ---------------------------------------------------------------- health checkup modules */
.modules { display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .modules { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); } }
@media (min-width: 80em) { .modules { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.module .card__icon { margin-bottom: var(--s3); }
.module h3 { font-size: 1.08rem; margin-bottom: .3em; }
.module__key { display: block; font: 400 1.6rem/1.15 var(--serif); color: var(--brand); margin-bottom: 8px; }
.module p { margin: 0; color: var(--ink-2); font-size: .94rem; }

/* ---------------------------------------------------------------- before you arrive */
.stage-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s5); }
.stage-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none;
}
.stage-nav a:hover { border-color: var(--brand); color: var(--brand); }
.stage { padding-block: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line); }
.stage__num { display: inline-block; font: 600 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: var(--s3); }
.stage .grid { margin-top: var(--s5); }
.stage .card ul { padding-inline-start: 20px; margin: 8px 0 0; color: var(--ink-2); }
.stage .card li { margin: 4px 0; }

/* ---------------------------------------------------------------- hospitals: list, filters, cards */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.filter-btn {
  min-height: 44px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px;
  padding: 0 18px; font: 600 .9rem/1 var(--sans); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.filter-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters--small .filter-btn { min-height: 40px; padding: 0 14px; font-size: .84rem; }
.search {
  width: 100%; max-width: 440px; min-height: 52px; padding: 12px 20px; padding-inline-start: 46px; border-radius: 999px; border: 1px solid var(--line-strong);
  font: 500 1rem var(--sans); color: var(--ink);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c6b69' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") left 18px center / 18px no-repeat;
}
html[dir="rtl"] .search { background-position: right 18px center; }
.select-wrap { display: inline-flex; }
.select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 18px; padding-inline-end: 40px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a75' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
  font: 600 .9rem/1 var(--sans); color: var(--ink-2); cursor: pointer; max-width: 230px;
}
html[dir="rtl"] .select { background-position: left 14px center; }
.search:focus, .select:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand-tint); outline-offset: 0; border-color: var(--brand); }
.hosp-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: var(--s4); margin-bottom: var(--s5); }
.hosp-toolbar > div { min-width: 0; }
.hosp-count { color: var(--muted); font-size: .92rem; margin: 0 0 var(--s4); }
.hosp-more { text-align: center; margin-top: var(--s6); }

.hosp {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  display: flex; flex-direction: column; gap: 12px; height: 100%;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
@media (hover: hover) { .hosp:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); } }
.hosp__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: var(--paper-2); }
.hosp__img img { width: 100%; height: 100%; object-fit: cover; }
.hosp__img--none { display: flex; align-items: center; justify-content: center; color: var(--sage); background: linear-gradient(135deg, var(--brand-tint), var(--paper-2)); }
.hosp__img--none svg { width: 40px; height: 40px; opacity: .7; }
.hosp__top { display: flex; gap: 12px; align-items: flex-start; padding-inline: 6px; }
.hosp__badge { display: none; }
.hosp h3 { font: 600 1.04rem/1.35 var(--sans); margin: 0 0 4px; }
.hosp__link { color: inherit; text-decoration: none; }
.hosp__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hosp__link:focus-visible { outline: none; }
.hosp:has(.hosp__link:focus-visible) { outline: 3px solid var(--sage); outline-offset: 2px; }
.hosp__cn { color: var(--muted); font-size: .88rem; }
.hosp__home { margin-top: 8px; }
.hosp p { color: var(--ink-2); font-size: .93rem; margin: 0; padding-inline: 6px; }
.hosp__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hosp > .hosp__tags { padding-inline: 6px; }
.hosp__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px 2px; border-top: 1px solid var(--line); font-size: .88rem; }
.hosp__city { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); }
.hosp__city svg { width: 16px; height: 16px; }
.hosp__ask { position: relative; z-index: 1; color: var(--wa); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.place__video, .place__count {
  position: absolute; background: rgba(7, 46, 46, .72); color: #fff; border-radius: 999px;
  font: 600 .74rem/1 var(--sans); display: inline-flex; align-items: center; justify-content: center;
}

/* phones: one row per hospital, photo on the side */
@media (max-width: 47.99em) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn, .select-wrap { flex: none; white-space: nowrap; }
  .hosp-toolbar > div { flex: 1 1 100%; }
  .search { max-width: none; }
  #hospital-list, .hosp-list { gap: 10px; }
  .hosp { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; padding: 10px; height: auto; align-content: start; }
  .hosp__img { grid-row: 1 / span 3; aspect-ratio: 1 / 1; align-self: start; border-radius: 12px; }
  .hosp__top, .hosp p, .hosp > .hosp__tags, .hosp__foot { padding-inline: 0; }
  .hosp > p, .hosp__ask, .hosp__home { display: none; }
  .hosp h3 { font-size: .97rem; margin: 2px 0 2px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .hosp__cn { font-size: .8rem; }
  .hosp .hosp__tags { flex-wrap: nowrap; overflow: hidden; }
  .hosp .hosp__tags .tag { white-space: nowrap; font-size: .72rem; }
  .hosp .hosp__tags .tag:nth-child(n+3) { display: none; }
  .hosp__foot { border-top: 0; padding-top: 0; font-size: .8rem; }
}

/* ---------------------------------------------------------------- hospital page */
.place-page { padding-top: var(--s5); }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: var(--s3); font-weight: 600; font-size: .94rem; text-decoration: none; color: var(--ink-2); }
.back-link:hover { color: var(--brand); text-decoration: underline; }
.hosp-page__head { margin-top: var(--s5); }
.hosp-page__head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); margin-bottom: 6px; max-width: 18em; }
.hosp-page__second { color: var(--muted); margin: 0 0 1em; }
.hosp-page .hosp__tags { margin-bottom: .6em; }
.hosp-page__media .gallery__item { aspect-ratio: 21 / 9; }
.hosp-page__media .hosp__img--none { display: flex; align-items: center; justify-content: center; color: var(--sage); }
.hosp-page__media .hosp__img--none svg { width: 64px; height: 64px; opacity: .6; }
.hosp-tabs {
  position: sticky; top: var(--sticky-top, var(--header-h)); z-index: 5; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  background: var(--paper); border-bottom: 1px solid var(--line); margin: var(--s4) 0 0; padding: 8px 0;
}
.hosp-tabs::-webkit-scrollbar { display: none; }
.hosp-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font: 600 .9rem/1 var(--sans); white-space: nowrap; }
.hosp-tabs a[aria-current="true"] { background: var(--ink); color: #fff; }
.hosp-page .place-page__grid { margin-top: var(--s5); }
.hosp-sec { scroll-margin-top: calc(var(--sticky-top, 72px) - var(--html-pad, 88px) + 60px); padding-bottom: 8px; }
.hosp-sec + .hosp-sec { border-top: 1px solid var(--line); margin-top: var(--s5); padding-top: 4px; }
.hosp-sec h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); margin-top: .8em; }
.hosp-sec h3 { font-size: 1.08rem; margin-top: 1.2em; }
.strengths { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.strengths li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; display: grid; gap: 4px; }
.strengths b { color: var(--ink); }
.strengths span { color: var(--ink-2); }
.condition-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px 20px; padding: 0; list-style: none; }
@media (min-width: 48em) { .condition-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.condition-list li { padding-inline-start: 18px; position: relative; color: var(--ink-2); }
.condition-list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.stat-tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; display: grid; gap: 2px; }
.stat-tile b { font: 400 1.7rem/1.1 var(--serif); color: var(--brand); }
.stat-tile span { color: var(--ink-2); font-size: .86rem; }
.env-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.env-photo { margin: 0; }
.env-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.env-photo figcaption { font-size: .84rem; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 47.99em) {
  .hosp-tabs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .hosp-page__media .gallery__item { aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- travel */
.places { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: var(--s3); }
.place { display: flex; flex-direction: row; align-items: center; gap: 14px; color: var(--ink); text-decoration: none;
  padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.place__cover { position: relative; flex: 0 0 36%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.place__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.place:focus-visible { outline: none; }
.place:focus-visible .place__cover { outline: 3px solid var(--sage); outline-offset: 3px; }
.place__cover--text { display: flex; align-items: flex-end; padding: 10px; }
.place__cover--yunnan { background: linear-gradient(160deg, #dcebe2 0%, #a9cbb9 100%); }
.place__cover--chongqing { background: linear-gradient(160deg, #f2e4c8 0%, #dcb78a 100%); }
.place__cover-title { font: 400 1.05rem/1.1 var(--serif); color: var(--brand-deep); text-wrap: balance; }
.place__count { display: none; inset-inline-start: 10px; bottom: 10px; padding: 6px 9px; }
.place__video { inset-inline-end: 6px; top: 6px; width: 28px; height: 28px; }
.place__video svg { width: 14px; height: 14px; margin-inline-start: 2px; }
.place__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.place__where { font: 600 .7rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.place h3 { font: 600 .98rem/1.3 var(--sans); margin: 0; }
.place p { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.place__facts { font-size: .82rem; color: var(--brand); font-weight: 600; margin-top: 2px; }
@media (min-width: 48em) {
  .places { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
  .place { flex-direction: column; align-items: stretch; gap: 12px; padding: 0; background: none; border: 0; border-radius: 0; }
  .place__cover { flex: none; aspect-ratio: 4 / 5; border-radius: var(--radius); }
  .place__cover--text { padding: 20px; }
  .place__cover-title { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); }
  .place__count { display: inline-flex; }
  .place__video { inset-inline-end: 10px; top: 10px; width: 34px; height: 34px; }
  .place h3 { font-size: 1.06rem; }
  .place p { -webkit-line-clamp: 3; }
}
@media (hover: hover) { .place:hover .place__cover img { transform: scale(1.04); } }
@media (min-width: 72em) { .places { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* a place's (or hospital's) own page */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); scrollbar-width: thin;
}
.gallery--single { grid-auto-columns: 100%; }
.gallery__item { scroll-snap-align: start; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); position: relative; }
.gallery__item img, .gallery__item video, .gallery__item iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }
.gallery__item--video { background: var(--brand-deep); }
.gallery__item.place__cover--text { display: flex; align-items: flex-end; padding: 28px; }
.gallery--single .gallery__item--portrait { aspect-ratio: 9 / 16; width: 100%; height: auto; }
@media (min-width: 48em) {
  .gallery { grid-auto-columns: minmax(300px, 44%); gap: 12px; }
  .gallery--single { grid-auto-columns: 100%; }
  .gallery--single .gallery__item { aspect-ratio: 21 / 9; }
  .gallery--single .gallery__item--portrait { height: min(82vh, 760px); width: auto; justify-self: center; }
}
@media (max-width: 47.99em) {
  .place-page .gallery--single { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .place-page .gallery--single .gallery__item { border-radius: 0; }
}
.video-play { position: absolute; inset: 0; padding: 0; border: 0; background: none; cursor: pointer; }
.video-play__icon {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%;
  background: rgba(7, 46, 46, .78); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .25s var(--ease), background-color .2s;
}
.video-play__icon svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play:hover .video-play__icon, .video-play:focus-visible .video-play__icon { transform: scale(1.08); background: var(--wa); }
.place-page__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); margin-top: var(--s6); align-items: start; }
@media (min-width: 60em) { .place-page__grid { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s7); } }
.place-page__note h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem); }
.place-page__note .prose h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 1.4em; }
.place-page__aside { position: static; }
@media (min-width: 60em) { .place-page__aside { position: sticky; top: calc(var(--header-h) + 72px); } }
.place-page__aside .card { display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow); }
.place-page__aside .btn { width: 100%; }
.place-page__aside .small { margin: 0; }
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.facts dt { font: 600 .72rem/1.7 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.dayplan { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; }
.dayplan li { display: contents; }
.dayplan li b { color: var(--brand); font-size: .9rem; padding-top: 2px; }

/* ---------------------------------------------------------------- prose (legal, credits, notes) */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.12rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .4em; }
.prose > :first-child { margin-top: 0; }

/* ---------------------------------------------------------------- contact + forms */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); align-items: start; }
@media (min-width: 60em) { .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--s7); } }
.contact-card {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; min-height: 76px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
a.contact-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.contact-card .card__icon { margin: 0; }
a.contact-card[href*="wa.me"] .card__icon { background: #dff3e6; color: var(--wa); }
.contact-card b { display: block; font-size: 1.02rem; }
.contact-card span { color: var(--ink-2); font-size: .94rem; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.5rem); margin-bottom: var(--s5); }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--s4); }
@media (min-width: 40em) { .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font: 600 .9rem/1.3 var(--sans); }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  font: 500 1rem var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 12px 14px; min-height: 50px; width: 100%;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 40px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a75' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
}
html[dir="rtl"] .field select { background-position: left 14px center; }
.field textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); margin-bottom: 12px; min-height: 28px; cursor: pointer; }
.check input { margin-top: 2px; width: 20px; height: 20px; accent-color: var(--brand); flex: none; }
.needs { border: 0; padding: 0; margin: 0 0 var(--s3); min-width: 0; }
.needs legend { font: 600 .9rem/1.3 var(--sans); padding: 0; margin-bottom: 12px; }
.needs legend small { font-weight: 500; color: var(--muted); }
.needs__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 40em) { .needs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.needs .check { margin-bottom: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; align-items: center; }
.needs .check:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); }
.needs .check input { margin-top: 0; }
.tz { font-size: .88rem; color: var(--muted); margin: -6px 0 18px; }
.form .btn { width: 100%; }
.form__hint { font-size: .85rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
.form .form__email { margin-top: 12px; }
.form #form-done { margin-top: 16px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--footer); color: #a8bfb9; padding: clamp(56px, 7vw, 104px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: .95rem; }
.site-footer a { color: #dbe8e3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .btn:hover { text-decoration: none; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s5); padding-bottom: clamp(40px, 5vw, 64px); margin-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-slogan { font: 400 clamp(2.6rem, 1.6rem + 4vw, 5rem)/1 var(--serif); color: #fff; margin: 0; letter-spacing: -.02em; }
.site-footer .btn--light-solid { color: var(--brand-deep); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6) var(--s5); }
.footer-about { grid-column: 1 / -1; }
.footer-about p { max-width: 26em; margin-top: var(--s4); }
@media (min-width: 60em) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--s7); }
  .footer-about { grid-column: auto; }
}
.site-footer .footer-heading { font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin: 0 0 var(--s4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer li:not(:has(a)) { padding-block: 9px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__tag { display: block; color: #8fa9a2; }
.site-footer .brand__name b { color: var(--sage); }
.site-footer .brand__mark circle { fill: #0f3d3d; }
.footer-langs { margin-top: var(--s7); display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: .9rem; }
.footer-langs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; color: #b9cfc8; }
.footer-langs a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); text-decoration: none; }
.footer-langs a[aria-current] { color: var(--brand-deep); background: #fff; border-color: #fff; font-weight: 600; }
.footer-bottom { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: .84rem; color: #87a19a; }
.footer-bottom span:last-child { max-width: 44em; }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__img { animation: none; }
}

/* ---------------------------------------------------------------- languages: fonts, sizes, right-to-left */
html[lang="zh-Hans"] { --serif: var(--sans); --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html[lang="zh-Hant"] { --serif: var(--sans); --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }
html[lang="th"] { --serif: var(--sans); --sans: "Noto Sans Thai", "Plus Jakarta Sans", system-ui, sans-serif; }
html[lang="bn"] { --serif: "Noto Serif Bengali", serif; --sans: "Noto Sans Bengali", system-ui, sans-serif; }
html[lang="hi"] { --serif: "Noto Serif Devanagari", serif; --sans: "Noto Sans Devanagari", system-ui, sans-serif; }
html[lang="ar"], html[lang="fa"] { --serif: var(--sans); --sans: "Noto Sans Arabic", system-ui, sans-serif; }
html[lang="he"] { --serif: "Noto Serif Hebrew", serif; --sans: "Noto Sans Hebrew", system-ui, sans-serif; }
/* non-Latin scripts get slightly smaller headings 
html[lang^="zh"], html[lang="th"], html[lang="ar"], html[lang="fa"], html[lang="bn"], html[lang="hi"], html[lang="he"] {
  --fs-h1: clamp(2.1rem, 1.4rem + 3.4vw, 4rem);
  --fs-h2: clamp(1.7rem, 1.25rem + 2vw, 2.7rem);
}
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang="th"] h1, html[lang="th"] h2, html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 500; letter-spacing: 0; }
html[lang^="zh"] .page-hero h1, html[lang="th"] .page-hero h1, html[lang="ar"] .page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
html[lang^="zh"] .service-card__body h3, html[lang="th"] .service-card__body h3, html[lang="ar"] .service-card__body h3,
html[lang^="zh"] .city-card h3, html[lang="th"] .city-card h3, html[lang="ar"] .city-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; }
html[lang^="zh"] .footer-slogan, html[lang="th"] .footer-slogan, html[lang="ar"] .footer-slogan { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 500; }
html[lang^="zh"] .band, html[lang="th"] .band, html[lang="ar"] .band { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); }
html[lang^="zh"] .menu__nav a, html[lang="th"] .menu__nav a, html[lang="ar"] .menu__nav a { font-size: 1.3rem; font-weight: 500; }
html[lang="th"] body, html[lang="bn"] body, html[lang="hi"] body, html[lang="ar"] body, html[lang="fa"] body { line-height: 1.8; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="fa"] h1, html[lang="fa"] h2 { line-height: 1.35; }
html:not([lang="en"]) .eyebrow { letter-spacing: .06em; }
html[lang="ar"] .eyebrow, html[lang="fa"] .eyebrow, html[lang^="zh"] .eyebrow, html[lang="th"] .eyebrow { letter-spacing: 0; font-size: .82rem; }
html[lang="ar"] .compare td::before, html[lang="ar"] .facts dt, html[lang="ar"] .place__where { letter-spacing: 0; }
html[dir="rtl"] .link-arrow::after, html[dir="rtl"] .menu__nav a::after { content: "←"; }
html[dir="rtl"] a:hover > .link-arrow::after, html[dir="rtl"] a:hover .link-arrow::after, html[dir="rtl"] .link-arrow:hover::after { transform: translateX(-4px); }
html[dir="rtl"] .video-play__icon svg, html[dir="rtl"] .place__video svg { transform: none; }

/* ---------------------------------------------------------------- fit-ups */
.header-cta { white-space: nowrap; }
/* desktop nav shown but space is tight: drop the extras until there is room */
@media (min-width: 80em) and (max-width: 99.99em) {
  html[lang="en"] .lang-menu__name, html[lang="en"] .header-wa, html[lang="en"] .brand__tag,
  html[lang^="zh"] .lang-menu__name, html[lang^="zh"] .header-wa, html[lang^="zh"] .brand__tag { display: none; }
  .nav { margin-inline-start: var(--s3); }
  .nav a { padding-inline: 10px; }
}
/* the one-line statement sits between two sections, so it needs no full section padding */
.section:has(> .container > .band) { padding-block: 0; }
/* footer: contact column full width on phones so the number stays on one line */
.site-footer li a { display: inline-block; padding-block: 9px; min-height: 0; }
@media (max-width: 59.99em) { .footer-grid > div:last-child { grid-column: 1 / -1; } }
/* the wordmark keeps its own typeface in every language */

/* no synthetic italics in scripts that have none */
html[lang="ar"] em, html[lang="fa"] em, html[lang^="zh"] em, html[lang="th"] em { font-style: normal; }
/* phones: the hero text sits over the busiest part of the photo, so the shade is deeper there */
@media (max-width: 47.99em) {
  .hero::after { background: linear-gradient(180deg, rgba(4, 22, 22, .5) 0%, rgba(4, 22, 22, .35) 22%, rgba(4, 22, 22, .78) 50%, rgba(4, 22, 22, .94) 100%); }
  .action-bar .btn { line-height: 1.15; }
}
/* nothing under 12px */
.tag, .hosp .hosp__tags .tag { font-size: .75rem; }
.place__where, .footer-heading, .compare td::before, .facts dt, .step__get b, .brand__tag { font-size: .75rem; }
.brand__tag { font-size: .62rem; }
/* tap targets: at least 44px */
.footer-langs a, .filters--small .filter-btn, .hosp-tabs a, .site-footer li a { min-height: 44px; }
.site-footer li a { display: inline-flex; align-items: center; padding-block: 0; }
.link-arrow { min-height: 44px; }
.eyebrow { font-size: .75rem; }
.place__video { font-size: .75rem; }
.site-footer li a { display: inline-block; padding-block: 10px; min-height: 0; }

/* ---------------------------------------------------------------- one sans-serif typeface (2026-10, owner feedback) */
h1, h2 { font-weight: 700; letter-spacing: -.025em; }
h1 { line-height: 1.08; }
h2 { line-height: 1.15; }
em, h1 em, h2 em { font-style: normal; }
.hero h1 em { color: var(--sage-light); }
.brand__name { font: 700 1.25rem/1 var(--sans); letter-spacing: -.02em; }
.brand__name b { font-style: normal; font-weight: 700; }
.service-card__body h3, .city-card h3 { font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.city-panel h3 { font-weight: 700; font-size: 1.6rem; }
.band { font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.35; }
.footer-slogan { font-weight: 700; letter-spacing: -.03em; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.menu__nav a { font-weight: 600; font-size: 1.2rem; }
.compare thead th { font-weight: 700; font-size: 1.05rem; }
.compare tbody th { font-weight: 700; }
@media (max-width: 55.99em) { .compare tbody th { font-size: 1.15rem; } }
.start-steps li::before, .step__num, .module__key, .stat-tile b { font-weight: 700; letter-spacing: -.02em; }
@media (min-width: 60em) { .start-steps li::before { font-size: 2.4rem; } }
@media (min-width: 48em) { .step__num { font-size: 2.2rem; } }
.module__key { font-size: 1.3rem; }
.stat-tile b { font-size: 1.4rem; }
.place__cover-title { font-weight: 700; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); }
.hosp-page__head h1, .place-page__note h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.hosp-sec h2, .prose h2, .place-page__note .prose h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.form h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.9rem); }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang="th"] h1, html[lang="th"] h2, html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 700; }
html[lang^="zh"] .hero h1, html[lang^="zh"] .page-hero h1 { max-width: none; text-wrap: wrap; }

/* ---------------------------------------------------------------- review pass (2026-10): less template, fewer repeats */
/* icons sit plainly on the card instead of in a tinted square */
.card .card__icon, .module .card__icon { width: auto; height: auto; border-radius: 0; background: none; margin-bottom: var(--s3); }
.card .card__icon svg, .module .card__icon svg { width: 28px; height: 28px; }
.section--dark .card .card__icon { background: none; }
/* phones: swipeable service cards keep their own height (no empty gap above the link) */
@media (max-width: 47.99em) {
  .services .service-card { align-self: start; }
  .services .link-arrow { margin-top: var(--s2); }
  /* clipped tag rows fade out instead of cutting a word in half */
  .hosp .hosp__tags { -webkit-mask-image: linear-gradient(to right, #000 80%, transparent); mask-image: linear-gradient(to right, #000 80%, transparent); }
  html[dir="rtl"] .hosp .hosp__tags { -webkit-mask-image: linear-gradient(to left, #000 80%, transparent); mask-image: linear-gradient(to left, #000 80%, transparent); }
  /* the bottom bar stays out of the way while a hero with its own buttons is on screen */
  .action-bar { transition: transform .3s var(--ease); }
  html.hero-in-view .action-bar { transform: translateY(110%); }
}

/* ---------------------------------------------------------------- enquiry form: three short parts, hints, inline errors */
.form__intro { color: var(--ink-2); font-size: .95rem; margin: -12px 0 var(--s5); }
.form__step { border: 0; padding: 0; margin: 0 0 var(--s5); min-width: 0; }
.form__step + .form__step { padding-top: var(--s5); border-top: 1px solid var(--line); }
.form__step-title { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: var(--s4); font: 700 1.05rem/1.3 var(--sans); color: var(--ink); }
.form__step-title small { font-weight: 500; color: var(--muted); font-size: .85rem; }
.form__step-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--brand); color: #fff; font: 700 .85rem/1 var(--sans); }
.field__hint { margin: 0; font-size: .85rem; line-height: 1.45; color: var(--muted); }
.field__error { margin: 0; font-size: .86rem; line-height: 1.4; font-weight: 600; color: #a3312a; }
.field.is-invalid input, .field.is-invalid select { border-color: #a3312a; background-color: #fdf3f2; }
.check.is-invalid { flex-wrap: wrap; }
.check.is-invalid .field__error { flex-basis: 100%; padding-inline-start: 32px; }
.check.is-invalid input { outline: 2px solid #a3312a; outline-offset: 2px; }
.needs .form__step-title { font: 700 1.05rem/1.3 var(--sans); margin-bottom: var(--s4); }
/* a floated legend is laid out like a normal heading, not drawn into the fieldset's top border */
.form__step-title { float: left; width: 100%; }
html[dir="rtl"] .form__step-title { float: right; }
.form__step-title + * { clear: both; }
/* the contact page is all contact options already: no bottom bar covering the form */
@media (max-width: 47.99em) {
  body[data-page="contact"] { padding-bottom: 0; }
  body[data-page="contact"] .action-bar { display: none; }
}
.form__step-title, .needs .form__step-title { display: block; position: relative; padding-inline-start: 38px; min-height: 28px; padding-top: 2px; }
.form__step-num { position: absolute; inset-inline-start: 0; top: 0; }
.form__step-title small { margin-inline-start: 4px; }
.needs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.needs .check { margin: 0; min-height: 52px; padding: 8px 12px; font-size: .9rem; line-height: 1.35; }
.needs__grid { grid-template-columns: minmax(0, 1fr); gap: 6px; }
@media (min-width: 40em) { .needs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.needs .check { min-height: 48px; padding: 6px 14px; gap: 12px; }
.field input[type="checkbox"] { min-height: 0; width: 20px; height: 20px; padding: 0; border-radius: 4px; }

/* homepage hospital guide: four hospitals from four cities instead of one stock photo */
.split__img--grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: none; border-radius: 0; overflow: visible; }
.split__img--grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
@media (min-width: 56em) { .split__img--grid { aspect-ratio: auto; gap: 12px; } .split__img--grid img { border-radius: var(--radius); } }
/* hospital facts: what happened first, the date or figure under it */
.stat-tile { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stat-tile span { font-size: .9rem; }
.stat-tile b { font-size: 1.15rem; line-height: 1.25; }
/* TCM page on phones: therapy, programme and city cards swipe sideways like the homepage services,
   so the page is shorter without dropping any text (safety notes stay on each card) */
@media (max-width: 47.99em) {
  #therapies .grid, #programmes .grid, #cities .grid {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 6px;
  }
  #therapies .grid::-webkit-scrollbar, #programmes .grid::-webkit-scrollbar, #cities .grid::-webkit-scrollbar { display: none; }
  #therapies .grid > *, #programmes .grid > *, #cities .grid > * { scroll-snap-align: start; }
  #therapies .grid + .grid { margin-top: var(--s4); }
}
.place__count { font-size: .75rem; }

/* Published clinical strengths remain readable on cards and without JavaScript. */
.hosp-highlights { margin: 0 0 1rem; padding-inline-start: 1.15rem; font-size: .875rem; line-height: 1.6; }
.hosp-highlights li + li { margin-block-start: .5rem; }
.hospital-city-links { margin-block: 1.5rem; }
.hospital-breadcrumb { font-size: .875rem; margin-block: .5rem 1.5rem; overflow-wrap: anywhere; }
.hospital-sources { margin-block: 1.5rem; font-size: .875rem; }
.hospital-sources summary { cursor: pointer; font-weight: 600; }
@media (max-width: 47.99em) {
  .hosp__top { grid-column: 2; grid-row: 1; }
  .hosp > .hosp__tags { grid-column: 2; grid-row: 2; }
  .hosp__foot { grid-column: 2; grid-row: 3; }
  .hosp-highlights { grid-column: 1 / -1; grid-row: 4; margin: .5rem 0 0; padding-block-start: .65rem; border-top: 1px solid var(--line); }
}

/* ================================================================ 2026-10-17 checkup-led home page */
.btn--lg { min-height: 56px; padding-inline: 30px; font-size: 1.04rem; }
.btn-row--center { justify-content: center; }
.btn--primary { box-shadow: 0 10px 24px -14px rgba(11, 122, 117, .8); }

/* hero: text beside a bright photo */
.hero-split { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--tint) 0%, var(--paper) 55%, var(--sky) 100%); }
.hero-split::before {
  content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; inset-inline-start: -200px; bottom: -320px;
  background: radial-gradient(circle, rgba(243, 156, 90, .18), rgba(243, 156, 90, 0) 70%); pointer-events: none;
}
.hero-split__inner { position: relative; display: grid; gap: var(--s6); padding-block: clamp(28px, 5vw, 80px); align-items: center; }
.hero-split h1 { margin-bottom: .35em; }
.hero-split h1 em { font-style: normal; color: var(--brand); }
.hero-split__lead { font-size: var(--fs-lead); color: var(--ink-2); max-width: 34em; margin-bottom: var(--s5); }
.hero-split__media { position: relative; }
.hero-split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-split__float {
  position: absolute; inset-inline-start: 16px; bottom: 16px; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .95); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
}
.hero-split__float b { display: block; font-size: 1.05rem; color: var(--ink); }
.hero-split__float small { display: block; color: var(--muted); font-size: .84rem; }
.hero-split__float-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-tint); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hero-split__float-icon svg { width: 22px; height: 22px; }
@media (min-width: 60em) {
  .hero-split__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); min-height: min(calc(100svh - var(--header-h)), 760px); }
  .hero-split__media img { aspect-ratio: 4 / 4.4; }
  .hero-split__float { inset-inline-start: -28px; bottom: 40px; }
}

.chips { list-style: none; padding: 0; margin: var(--s5) 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); font-size: .9rem; font-weight: 500;
}
.chips svg { width: 16px; height: 16px; color: var(--brand); flex: none; }

/* checkup programmes */
.pkgs { display: grid; gap: var(--s5); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 60em) { .pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pkg {
  position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 2.6vw, 34px); box-shadow: var(--shadow);
}
.pkg--featured { border: 2px solid var(--brand); }
.pkg__ribbon {
  position: absolute; top: -14px; inset-inline-start: 24px; background: var(--brand); color: #fff;
  font: 600 .76rem/1 var(--sans); letter-spacing: .04em; padding: 8px 12px; border-radius: 999px;
}
.pkg__level { display: block; font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 10px; }
.pkg__head h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: .25em; }
.pkg__head p { color: var(--ink-2); margin-bottom: var(--s4); }
.pkg__list { list-style: none; padding: 0; margin: 0 0 var(--s5); border-top: 1px solid var(--line); }
.pkg__list li { position: relative; padding: 10px 0; padding-inline-start: 30px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .96rem; }
.pkg__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a75' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.pkg__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.pkg__price { font-weight: 600; color: var(--ink); font-size: .92rem; }
.pkgs__note { max-width: 52rem; margin-inline: auto; }

/* what you take home */
.takeaways { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .takeaways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .takeaways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 80em) { .takeaways { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.takeaway { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(19, 37, 43, .04); }
.takeaway__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--brass-tint); color: var(--brass); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s4); }
.takeaway__icon svg { width: 24px; height: 24px; }
.takeaway h3 { font-size: 1.06rem; margin-bottom: .35em; }
.takeaway p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* six-step flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); grid-template-columns: minmax(0, 1fr); counter-reset: f; }
@media (min-width: 40em) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); } }
@media (min-width: 80em) { .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.flow li { counter-increment: f; display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: var(--radius); background: var(--paper-2); }
.flow li::before {
  content: counter(f); width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font: 700 .95rem/1 var(--sans); margin-bottom: 8px;
}
.flow b { font: 600 1.02rem/1.35 var(--sans); color: var(--ink); }
.flow span { color: var(--ink-2); font-size: .93rem; }

/* city tiles: photo, or a coloured text cover until a photo is added */
.city-tiles { display: grid; gap: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48em) { .city-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); } }
@media (min-width: 64em) {
  .city-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .city-tile:first-child { grid-column: span 2; grid-row: span 2; }
  .city-tile:nth-child(6), .city-tile:nth-child(7) { grid-column: span 2; }
}
@media (max-width: 47.99em) { .city-tile:first-child { grid-column: 1 / -1; } }
.city-tile {
  position: relative; display: flex; align-items: flex-end; min-height: 220px; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  color: #fff; text-decoration: none; background: var(--brand);
}
.city-tile:hover { text-decoration: none; }
.city-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.city-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 30, 32, .05) 20%, rgba(10, 30, 32, .55) 55%, rgba(10, 30, 32, .9) 100%); }
@media (max-width: 47.99em) { .city-tile:not(:first-child) .city-tile__line { display: none; } .city-tile { min-height: 180px; } .city-tile__name { font-size: 1.3rem; } }
@media (hover: hover) { .city-tile:hover img { transform: scale(1.05); } }
.city-tile__body { display: grid; gap: 2px; padding: 18px; }
.city-tile__cn { font: 600 .8rem/1 var(--sans); letter-spacing: .2em; color: rgba(255, 255, 255, .85); }
.city-tile__name { font: 700 1.5rem/1.15 var(--sans); letter-spacing: -.02em; }
.city-tile__line { font-size: .9rem; color: rgba(255, 255, 255, .92); }
.city-tile__meta { font-size: .8rem; color: rgba(255, 255, 255, .8); margin-top: 4px; }
.city-tile__tag {
  position: absolute; top: 12px; inset-inline-start: 12px; padding: 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font: 600 .74rem/1 var(--sans);
}
.city-tile__tag--home { background: var(--accent); color: #2b1606; }
.city-tile:first-child .city-tile__name { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.city-tile--text::after { background: linear-gradient(180deg, rgba(10, 30, 32, 0) 30%, rgba(10, 30, 32, .4) 100%); }
.city-tile__glyph {
  position: absolute; inset-inline-end: -6px; top: 22px; z-index: -1; font: 800 clamp(4.5rem, 3rem + 5vw, 7rem)/1 "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: rgba(255, 255, 255, .18); letter-spacing: -.04em; white-space: nowrap;
}
.city-tile--chengdu { background: linear-gradient(135deg, #2c7a50, #5fae63); }
.city-tile--beijing { background: linear-gradient(135deg, #9e3527, #d0703c); }
.city-tile--shanghai { background: linear-gradient(135deg, #1d5a96, #3f8fc7); }
.city-tile--guangzhou { background: linear-gradient(135deg, #7e3870, #bf6690); }
.city-tile--shenzhen { background: linear-gradient(135deg, #10627a, #2b9aab); }

/* ================================================================ 2026-10-17 TCM page: constitution quiz and explainer */
.quiz-section { background: linear-gradient(180deg, var(--paper) 0%, var(--tint) 100%); }
.quiz-wrap { max-width: 52rem; margin-inline: auto; }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(16px, 3vw, 36px); }
.quiz__list { list-style: none; counter-reset: q; padding: 0; margin: 0; }
.quiz__q { counter-increment: q; padding: 18px 0; border-bottom: 1px solid var(--line); }
.quiz__q:first-child { padding-top: 0; }
.quiz__q.is-missing { background: var(--brass-tint); border-radius: 12px; padding-inline: 12px; }
.quiz__text { margin: 0 0 12px; font-weight: 600; color: var(--ink); }
.quiz__text::before { content: counter(q) ". "; color: var(--brand); }
.quiz__scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.quiz__opt { position: relative; }
.quiz__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz__opt span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 4px; border-radius: 12px;
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font-size: .86rem; font-weight: 500; text-align: center; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.quiz__opt:hover span { border-color: var(--brand); }
.quiz__opt input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.quiz__opt input:focus-visible + span { outline: 3px solid var(--sage); outline-offset: 2px; }
.quiz__bar { position: sticky; bottom: calc(var(--bar-h) + 8px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .96); box-shadow: 0 -6px 24px -18px rgba(19, 37, 43, .5); }
.quiz__progress { color: var(--muted); font-size: .92rem; }
.quiz__error { margin: 16px 0 0; color: var(--brass); font-weight: 600; }
.quiz-result { background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 40px); box-shadow: var(--shadow); }
.quiz-result:focus { outline: none; }
.quiz-result h3 { font-size: 1.3rem; }
.quiz-result__types { display: flex; flex-direction: column; gap: 14px; margin: 16px 0; }
.quiz__type { padding: 18px 20px; border-radius: var(--radius); background: var(--tint); }
.quiz__type h4 { font: 700 1.2rem/1.3 var(--sans); color: var(--brand-deep); margin-bottom: .3em; }
.quiz__type > p { color: var(--ink-2); }
.quiz__type .checklist { margin-bottom: 0; }
.quiz__warn { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--brass-tint); color: var(--ink); font-weight: 600; font-size: .94rem; }

.sub-h { font-size: 1.25rem; font-weight: 700; margin: var(--s6) 0 var(--s4); }
.exams { display: grid; gap: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 64em) { .exams { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); } }
.exam { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.exam__cn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--brass-tint); color: var(--brass); font: 700 1.5rem/1 "Noto Sans SC", "PingFang SC", sans-serif; margin-bottom: 12px; }
.exam h4 { font-size: 1.05rem; margin-bottom: .3em; }
.exam p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.ctypes { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); margin: var(--s4) 0 var(--s5); }
.ctype { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s var(--ease); }
.ctype:hover { border-color: var(--brand); text-decoration: none; transform: translateY(-2px); }
.ctype b { color: var(--brand-deep); }
.ctype span { color: var(--ink-2); font-size: .9rem; }
.tcm-hosp { text-decoration: none; color: inherit; }
.tcm-hosp:hover { text-decoration: none; border-color: var(--brand); }
.tcm-hosp__second { color: var(--muted); font-size: .9rem; margin-top: -.3em; }

/* ================================================================ 2026-10-17 visual refresh (frontend-design pass)
   Idea: a checkup trip, told as a calm itinerary. Celadon and jade (Chinese ceramics, clinical calm) on white,
   one sunlit accent used only as a mark. Fewer boxes: content sits on rules and tints, not on floating cards.
   Type: Bricolage Grotesque for headings (sans, warm, a little character), Figtree for reading. Chinese keeps Noto Sans SC. */
:root {
  --display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ink: #0f2a2e;
  --ink-2: #3d5357;
  --muted: #5a6d70;
  --brand: #0b6e68;          /* jade, white text 5.9:1 */
  --brand-deep: #08524e;
  --brand-tint: #e3f1ed;
  --celadon: #d5ebe4;
  --mist: #f3f7f6;
  --paper-2: var(--mist);
  --tint: #eaf4f1;
  --sky: #f3f7f6;
  --sun: #f2b63d;            /* decoration only, never text */
  --line: #e1e9e7;
  --line-strong: #c3d3d0;
  --radius: 16px;
  --radius-lg: 20px;
  --radius-sm: 10px;
  --shadow: none;
  --shadow-lg: 0 24px 48px -32px rgba(15, 42, 46, .35);
}
html[lang="zh-Hans"] { --display: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html[lang="zh-Hant"] { --display: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }
html:not([lang="en"]):not([lang^="zh"]) { --display: var(--sans); }

h1, h2, .city-tile__name, .pkg__head h3, .footer-slogan, .band, .cta-band h2 { font-family: var(--display); }
h1 { font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
h2 { font-weight: 650; letter-spacing: -.03em; line-height: 1.08; }
html[lang^="zh"] h1, html[lang^="zh"] h2 { letter-spacing: 0; line-height: 1.2; font-weight: 700; }
.lead { color: var(--ink-2); }

/* labels above headings: quiet sentence case with a small sun mark, not tracked capitals */
.eyebrow { text-transform: none; letter-spacing: 0; font: 600 .95rem/1.3 var(--sans); color: var(--brand); gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--sun); flex: none; }
.section-head--center .eyebrow::before { display: none; }
html[lang^="zh"] .eyebrow { font-size: .95rem; }

/* buttons: squarer, no glow */
.btn { border-radius: 12px; }
.btn--primary { box-shadow: none; }
.btn--ghost { border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }

/* header */
.site-header { background: rgba(255, 255, 255, .92); }
.nav a { border-radius: 8px; }
.nav a[aria-current="page"] { background: none; color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

/* ---- home hero: text left, photo right, the trip as a strip across the photo's foot */
.hero-split { background: var(--paper); }
.hero-split::before { display: none; }
.hero-split__inner { padding-block: clamp(24px, 4vw, 64px) clamp(40px, 5vw, 80px); }
.hero-split h1 em { color: inherit; }
.hero-split__media { position: relative; padding-bottom: 0; }
.hero-split__media::before {
  content: ""; position: absolute; inset: 20px -10px -10px 20px; border-radius: var(--radius-lg); background: var(--celadon); z-index: 0;
}
.hero-split__media img { position: relative; z-index: 1; box-shadow: none; border-radius: var(--radius-lg); }
.hero-trip {
  position: relative; z-index: 2; list-style: none; margin: -56px 16px 0; padding: 16px 18px; counter-reset: none;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px;
  background: #fff; border-radius: 14px; box-shadow: 0 18px 40px -24px rgba(15, 42, 46, .45);
}
.hero-trip li { position: relative; display: grid; gap: 2px; padding-top: 14px; }
.hero-trip li::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--brand); }
.hero-trip li::after { content: ""; position: absolute; top: 4px; inset-inline: 16px 0; height: 1px; background: var(--line-strong); }
.hero-trip li:last-child::before { background: var(--sun); }
.hero-trip b { font: 700 .8rem/1.2 var(--sans); color: var(--brand); }
.hero-trip span { font: 600 .92rem/1.3 var(--sans); color: var(--ink); }
@media (min-width: 40em) { .hero-trip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 60em) {
  .hero-split__media img { aspect-ratio: 4 / 4.2; }
  .hero-trip { margin: -64px -24px 0 -40px; padding: 18px 22px; }
  [dir="rtl"] .hero-trip { margin: -64px -40px 0 -24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-trip li { animation: trip-in .5s var(--ease) both; }
  .hero-trip li:nth-child(2) { animation-delay: .12s; }
  .hero-trip li:nth-child(3) { animation-delay: .24s; }
  .hero-trip li:nth-child(4) { animation-delay: .36s; }
}
@keyframes trip-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chips li { background: transparent; border: 0; padding: 4px 0; margin-inline-end: 14px; color: var(--ink-2); }
.chips { gap: 4px 0; }

/* ---- programmes: one joined comparison panel instead of three floating cards */
.pkgs { gap: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: visible; background: #fff; }
.pkg { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.pkg + .pkg { border-top: 1px solid var(--line-strong); }
.pkg--featured { border: 0; background: var(--tint); }
.pkg + .pkg--featured, .pkg--featured + .pkg { border-top: 1px solid var(--line-strong); }
@media (min-width: 60em) {
  .pkg + .pkg, .pkg + .pkg--featured, .pkg--featured + .pkg { border-top: 0; border-inline-start: 1px solid var(--line-strong); }
  .pkg:first-child { border-start-start-radius: var(--radius-lg); border-end-start-radius: var(--radius-lg); }
  .pkg:last-child { border-start-end-radius: var(--radius-lg); border-end-end-radius: var(--radius-lg); }
}
.pkg__ribbon { position: static; display: inline-block; align-self: flex-start; margin-bottom: 14px; border-radius: 6px; background: var(--brand); padding: 6px 10px; }
.pkg__level { text-transform: none; letter-spacing: 0; font: 600 .95rem/1.2 var(--sans); color: var(--brand); }
.pkg__head h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem); letter-spacing: -.02em; }
.pkg__list li::before { background: none; width: 14px; height: 2px; top: 21px; border-radius: 1px; background-color: var(--brand); }
.pkg__list li { padding-inline-start: 26px; }
.pkg .tag { background: #fff; border: 1px solid var(--line); color: var(--ink-2); }

/* ---- what you take home: a ruled list, not five boxes */
.takeaways { gap: 0 clamp(24px, 3vw, 48px); }
@media (min-width: 64em) { .takeaways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80em) { .takeaways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.takeaway {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; align-items: start;
  background: none; border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; padding: 22px 0;
}
.takeaway__icon { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--brand); border: 1px solid var(--line-strong); margin: 0; }
.takeaway__icon svg { width: 22px; height: 22px; }
.takeaway h3 { font-size: 1.12rem; }
.takeaway p { font-size: 1rem; }
.section--tint { background: var(--tint); }

/* ---- six steps: a real timeline on a line */
.flow { gap: 0; counter-reset: f; }
.flow li { position: relative; background: none; border-radius: 0; padding: 0 0 26px; padding-inline-start: 52px; }
.flow li::before { position: absolute; inset-inline-start: 0; top: 0; margin: 0; width: 34px; height: 34px; background: #fff; color: var(--brand); border: 1.5px solid var(--brand); font-size: .9rem; }
.flow li::after { content: ""; position: absolute; inset-inline-start: 16.5px; top: 38px; bottom: 4px; width: 1px; background: var(--line-strong); }
.flow li:last-child::after { display: none; }
.flow li:last-child::before { background: var(--brand); color: #fff; }
@media (min-width: 40em) and (max-width: 79.99em) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } .flow li::after { display: none; } }
@media (min-width: 64em) and (max-width: 79.99em) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 80em) {
  .flow { grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 20px; }
  .flow li { padding: 52px 0 0; }
  .flow li::after { inset-inline: 42px -16px; top: 17px; bottom: auto; width: auto; height: 1px; }
}

/* ---- city tiles: a little less gloom on the photos */
.city-tile { border-radius: var(--radius); }
.city-tile::after { background: linear-gradient(180deg, rgba(10, 30, 32, 0) 28%, rgba(10, 30, 32, .62) 58%, rgba(10, 30, 32, .9) 100%); }
.city-tile__body { text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.city-tile__tag { border-radius: 6px; }
.city-tile__tag--home { background: var(--sun); color: #2a1d02; }
.city-tile__cn { letter-spacing: .12em; }

/* ---- cards in general: flat, ruled, no lift */
.card, .service-card, .exam, .ctype, .quiz, .quiz-result { box-shadow: none; }
@media (hover: hover) { .service-card:hover { transform: none; box-shadow: none; border-color: var(--brand); } }
.card__icon, .exam__cn { border-radius: 10px; }
.exam__cn { background: var(--celadon); color: var(--brand-deep); }
.note { border-inline-start-color: var(--sun); }

/* ---- inner page heroes: celadon, photo fades in from the right */
.page-hero { background: var(--tint); }
@media (min-width: 64em) {
  .page-hero::after { background: linear-gradient(90deg, #eaf4f1 0%, #eaf4f1 36%, rgba(234, 244, 241, .8) 48%, rgba(234, 244, 241, 0) 68%); }
  [dir="rtl"] .page-hero::after { background: linear-gradient(270deg, #eaf4f1 0%, #eaf4f1 36%, rgba(234, 244, 241, .8) 48%, rgba(234, 244, 241, 0) 68%); }
}
.page-hero .eyebrow { color: var(--brand); }
.page-hero--plain { background: var(--tint); }

/* ---- closing band and footer */
.cta-band { background: var(--brand-deep); }
.site-footer { background: #0c2b2d; }
.site-footer .footer-heading { text-transform: none; letter-spacing: 0; font-size: .95rem; color: #fff; }
.cta-band::before { display: none; }
@media (max-width: 59.99em) { .hero-split__media::before { inset: 16px 0 -10px 16px; } .hero-split__media img { width: calc(100% - 10px); } }
.brand__tag { text-transform: none; letter-spacing: .01em; font-size: .72rem; }
/* text cards and modules in a grid: a top rule instead of a box */
.grid > .card:not(.card--media):not(.tcm-hosp), .grid > .step, .modules > .module {
  background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 20px 4px 8px 0; height: auto;
}
.section--dark .grid > .card:not(.card--media) { border-top-color: rgba(255, 255, 255, .5); }
.grid > .step::before { display: none; }
.grid > .step { padding-inline-start: 0; }
.grid > .step .step__num { position: static; width: auto; height: auto; border-radius: 0; background: none; color: var(--brand); justify-content: flex-start; margin-bottom: 10px; }
.module__key { font-family: var(--display); font-weight: 700; }
.step__num { color: var(--brand); }
@media (min-width: 48em) {
  .steps > .step { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: var(--s5) var(--s4) var(--s4) 0; }
  .section--dark .steps > .step { background: transparent; border-top-color: rgba(255, 255, 255, .5); }
}
.place__where, .compare td::before, .facts dt { text-transform: none; letter-spacing: 0; font-size: .8rem; }

/* ================================================================ 2026-10-19 medical journey, contact email, TCM hero slides */
.hero-split__contact { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 14px 0 0; font-size: .93rem; }
.hero-split__contact a { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--ink); font-weight: 600; text-decoration: none; }
.hero-split__contact a:hover { color: var(--brand); text-decoration: underline; }
.hero-split__contact svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.cta-band__alt { margin: 16px 0 0; color: rgba(255, 255, 255, .85); font-size: .96rem; }
.cta-band__alt a { color: #fff; font-weight: 600; }

.journey { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; gap: var(--s5); }
@media (min-width: 48em) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px); } }
.journey li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; border-top: 2px solid var(--ink); padding-top: 20px; }
.journey__n { font: 700 2.6rem/1 var(--display); color: var(--brand); letter-spacing: -.03em; }
.journey h3 { font-size: 1.25rem; margin-bottom: .35em; }
.journey p { margin: 0; color: var(--ink-2); }
.journey__why { max-width: 62rem; background: #fff; border-inline-start: 3px solid var(--sun); border-radius: var(--radius-sm); padding: 20px 24px; margin: 0 0 var(--s6); }
.journey__why h3 { font-size: 1.08rem; margin-bottom: .4em; }
.journey__why p { margin: 0; color: var(--ink-2); }
.jh { display: grid; gap: var(--s3); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 var(--s5); }
@media (min-width: 40em) { .jh { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); } }
@media (min-width: 64em) { .jh { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 96em) { .jh { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--s3); } }
.jh-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s; }
.jh-card:hover { border-color: var(--brand); text-decoration: none; }
.jh-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--celadon); }
.jh-card__img img { width: 100%; height: 100%; object-fit: cover; }
.jh-card__body { display: grid; gap: 3px; padding: 12px 14px 14px; }
.jh-card__city { font: 600 .78rem/1.2 var(--sans); color: var(--brand); }
.jh-card__name { font: 700 .92rem/1.3 var(--sans); color: var(--ink); }
.jh-card__line { font-size: .82rem; line-height: 1.4; color: var(--ink-2); }

.page-hero__slides { overflow: hidden; background: var(--celadon); }
@media (max-width: 63.99em) { .page-hero__slides { position: relative; } }
.page-hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s var(--ease); }
.page-hero__slides img.is-active { opacity: 1; }
.slides__dots { position: absolute; z-index: 2; bottom: 10px; inset-inline-end: 12px; display: flex; gap: 2px; }
.slides__dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.slides__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .6); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); transition: transform .2s, background-color .2s; }
.slides__dots button[aria-current="true"]::before { background: #fff; transform: scale(1.3); }
.slides__dots button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 50%; }

/* why China: three pillars on rules, then the nationwide note */
.pillars { list-style: none; padding: 0; margin: 0 0 var(--s5); display: grid; gap: var(--s4); }
@media (min-width: 48em) { .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); } }
.pillars li { border-top: 2px solid var(--brand); padding-top: 16px; }
.pillars h4 { font-size: 1.1rem; margin-bottom: .35em; }
.pillars p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.journey__scope { max-width: 58rem; margin: 0 0 var(--s6); padding: 14px 18px; background: #fff; border-inline-start: 3px solid var(--sun); border-radius: var(--radius-sm); color: var(--ink); }
#journey .sub-h { margin-top: 0; }

/* ================================================================ 2026-10-19 floating contact stack: email, WhatsApp, WeChat (replaces the phone action bar) */
@media (max-width: 47.99em) { :root { --bar-h: 0px; } }
.action-bar { display: none !important; }
.float-contact { position: fixed; z-index: 70; inset-inline-end: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); display: grid; gap: 10px; justify-items: end; }
.float-contact__btn {
  width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px -10px rgba(15, 42, 46, .55);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.float-contact__btn svg { width: 24px; height: 24px; }
.float-contact__btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(15, 42, 46, .6); }
.float-contact__btn--mail { background: var(--brand); }
.float-contact__btn--wa { background: var(--wa); }
.float-contact__btn--wx { background: #07c160; }
.float-contact__btn[aria-expanded="true"] { background: var(--ink); }
.float-contact__card {
  width: min(320px, calc(100vw - 28px)); background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px;
  box-shadow: var(--shadow-lg); margin-bottom: 4px; font-size: .93rem; color: var(--ink-2);
}
.float-contact__card b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.float-contact__card p { margin: 0 0 12px; }
.float-contact__id { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 12px; border: 1px solid var(--line-strong); border-radius: 10px; margin-bottom: 10px; }
.float-contact__id code { font: 600 1rem/1.2 var(--sans); color: var(--ink); letter-spacing: .01em; }
.float-contact__id .btn { min-height: 36px; padding: 6px 12px; font-size: .84rem; border-radius: 8px; }
.float-contact__open { display: none; font-weight: 600; }
@media (hover: none) and (pointer: coarse) { .float-contact__open { display: inline-flex; min-height: 40px; align-items: center; } }
@media (max-width: 47.99em) { .quiz__bar { bottom: 8px; } }

/* ================================================================ 2026-10-19 escort service standard (how-it-works.html#escort) */
.svc { list-style: none; padding: 0; margin: 0 0 var(--s6); counter-reset: none; }
.svc > li { display: grid; gap: 10px 32px; padding: 22px 0 18px; border-top: 1px solid var(--line-strong); }
.svc > li:first-child { border-top: 2px solid var(--ink); }
.svc__head { display: flex; align-items: center; gap: 14px; }
.svc__head h3 { margin: 0; font-size: 1.2rem; }
.svc__n { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--brand); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font: 700 .95rem/1 var(--sans); flex: none; }
.svc .checklist { margin: 0; }
.svc .checklist li { padding: 6px 0; padding-inline-start: 30px; }
@media (min-width: 48em) { .svc .checklist { columns: 2; column-gap: 32px; } .svc .checklist li { break-inside: avoid; } }
@media (min-width: 64em) {
  .svc > li { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
  .svc__head { position: sticky; top: calc(var(--header-h) + 16px); }
}
.svc__bounds { max-width: 62rem; background: var(--tint); border-radius: var(--radius-sm); padding: 20px 24px; }
.svc__bounds h3 { font-size: 1.08rem; margin-bottom: .4em; }
.svc__bounds p { margin: 0; color: var(--ink-2); }

/* hospital page: key figures sit under the introduction, before the specialties */
.stat-tiles--lead { margin: 20px 0 28px; }
.stat-tiles { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48em) { .stat-tiles { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.stat-tile { border-top: 2px solid var(--brand); padding: 12px 2px 4px; }
.stat-tile b { display: block; font: 700 1.5rem/1.1 var(--display); color: var(--ink); letter-spacing: -.02em; }
.stat-tile span { display: block; margin-top: 4px; font-size: .84rem; color: var(--ink-2); line-height: 1.35; }
.cta-band__alt b { color: #fff; font-weight: 700; letter-spacing: .01em; }
.cta-band__copy { margin-inline-start: 6px; padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; font: 600 .8rem/1 var(--sans); cursor: pointer; vertical-align: middle; }
.cta-band__copy:hover { background: #fff; color: var(--brand-deep); }

/* phone menu: current page shown by colour only, no dot and no arrows (owner 2026-10-19) */
.menu__nav a::after, .menu__nav a[aria-current="page"]::before { display: none; }
.menu__nav a[aria-current="page"] { color: var(--brand); font-weight: 700; }
/* positioning statement between the hero and why-China */
.band { max-width: 44em; padding: clamp(28px, 4vw, 44px) 0; border-block: 1px solid var(--line); }

/* about: six service commitments, short label + one line */
.pledges { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4) var(--s6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 40em) { .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .pledges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pledges li { border-top: 2px solid var(--brand); padding-top: 14px; }
.pledges b { display: block; font: 700 1.2rem/1.3 var(--display); color: var(--ink); margin-bottom: 6px; letter-spacing: -.01em; }
.pledges span { color: var(--ink-2); }

/* guides: index list and article body */
.guide-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); }
@media (min-width: 48em) { .guide-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-list a { display: grid; gap: 6px; padding: 20px 0; border-top: 2px solid var(--ink); color: inherit; text-decoration: none; }
.guide-list a:hover b { color: var(--brand); }
.guide-list b { font: 700 1.2rem/1.3 var(--display); color: var(--ink); }
.guide-list span { color: var(--ink-2); }
.guide { max-width: 46rem; }
.guide h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.guide h3 { margin-top: 1.2em; }
.guide .answer { background: var(--tint); border-inline-start: 3px solid var(--brand); border-radius: var(--radius-sm); padding: 16px 20px; margin: 0 0 var(--s5); }
.guide .answer p:last-child { margin-bottom: 0; }
.guide table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.guide th, .guide td { text-align: start; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.guide th { color: var(--ink); background: var(--mist); }
.guide .meta { color: var(--muted); font-size: .9rem; }
.guide .sources { font-size: .88rem; color: var(--muted); }
@media (max-width: 47.99em) { .guide table { display: block; overflow-x: auto; } }

/* ================================================================ 2026-10-21 phone pass (owner: text too heavy, layout cramped)
   Below 48em: tighter sections, smaller type, compact hero, swipe rows instead of long stacks, smaller floating buttons. */
@media (max-width: 47.99em) {
  :root { --section: 44px; --gutter: 18px; }
  body { font-size: .95rem; line-height: 1.6; }
  h1 { font-size: 1.85rem; line-height: 1.15; }
  h2 { font-size: 1.4rem; line-height: 1.25; }
  h3 { font-size: 1.02rem; }
  html[lang^="zh"] h1 { font-size: 1.7rem; line-height: 1.3; }
  html[lang^="zh"] h2 { font-size: 1.3rem; line-height: 1.35; }
  .lead, .hero-split__lead { font-size: 1rem; line-height: 1.6; }
  .eyebrow { font-size: .82rem; margin-bottom: 8px; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { margin-bottom: .3em; }
  .page-hero + .section { padding-top: 36px; }
  .page-hero__content { padding-top: 22px; padding-bottom: 26px; }
  .page-hero h1, html[lang^="zh"] .page-hero h1 { font-size: 1.6rem; }
  .page-hero__img { max-height: 34svh; aspect-ratio: 16 / 9; }
  .btn { min-height: 46px; padding: 11px 18px; font-size: .95rem; }
  .btn--lg { min-height: 48px; font-size: 1rem; }

  /* hero: text, two buttons, one contact line, compact tags, photo with the day strip underneath */
  .hero-split__inner { gap: 18px; padding-block: 18px 32px; }
  .hero-split h1 { margin-bottom: .3em; }
  .hero-split__lead { margin-bottom: 16px; }
  .hero-split__contact { gap: 2px 16px; margin-top: 10px; font-size: .86rem; }
  .hero-split__contact a { min-height: 32px; }
  .chips { margin-top: 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .chips li { margin: 0; padding: 2px 0; font-size: .8rem; line-height: 1.35; gap: 6px; align-items: flex-start; }
  .chips li:last-child { grid-column: 1 / -1; }
  .chips svg { width: 14px; height: 14px; margin-top: 2px; }
  .hero-split__media::before { display: none; }
  .hero-split__media img { width: 100%; aspect-ratio: 16 / 10; border-radius: 14px; }
  .hero-trip { margin: 10px 0 0; padding: 12px 14px; grid-template-columns: 1fr 1fr; gap: 10px 14px; box-shadow: none; border: 1px solid var(--line); }
  .hero-trip li { padding-top: 10px; }
  .hero-trip b { font-size: .74rem; }
  .hero-trip span { font-size: .82rem; line-height: 1.35; }
  .hero-trip li { animation: none; }

  /* the positioning line between hero and Why China */
  .band, html[lang^="zh"] .band { font-size: 1.05rem; line-height: 1.6; padding: 20px 0; font-weight: 600; }
  .section:has(> .container > .band) { padding-block: 0; }

  /* why China: pillars tighter; the seven hospitals as a swipe row */
  .pillars { gap: 14px; }
  .pillars li { padding-top: 10px; }
  .pillars h4 { font-size: 1rem; }
  .pillars p { font-size: .9rem; }
  .journey__scope { padding: 10px 14px; font-size: .9rem; margin-bottom: 20px; }
  .jh { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 62%; gap: 10px;
        overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .jh::-webkit-scrollbar { display: none; }
  .jh-card { scroll-snap-align: start; }
  .jh-card__body { padding: 10px 12px 12px; }

  /* cities: shorter tiles */
  .city-tiles { gap: 8px; }
  .city-tile { min-height: 150px; }
  .city-tile:first-child { min-height: 190px; }
  .city-tile__body { padding: 12px; }
  .city-tile__line { font-size: .8rem; }

  /* journey steps and the process timeline */
  .journey { gap: 14px; margin-bottom: 0; }
  .journey li { grid-template-columns: 36px minmax(0, 1fr); gap: 10px; padding-top: 14px; }
  .journey__n { font-size: 1.8rem; }
  .journey h3 { font-size: 1.05rem; }
  .flow li { padding-bottom: 16px; }
  .flow span { font-size: .88rem; }

  /* programmes: one swipe row of three cards instead of a long stack */
  .pkgs { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 86%; gap: 10px;
          overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 0; background: none;
          margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); padding-bottom: 4px; }
  .pkgs::-webkit-scrollbar { display: none; }
  .pkg, .pkg + .pkg, .pkg--featured, .pkg + .pkg--featured, .pkg--featured + .pkg { border: 1px solid var(--line-strong); border-radius: 14px; scroll-snap-align: start; padding: 18px; }
  .pkg__head h3 { font-size: 1.15rem; }
  .pkg__head p { font-size: .88rem; margin-bottom: 10px; }
  .pkg__list { margin-bottom: 14px; }
  .pkg__list li { padding: 7px 0 7px 22px; font-size: .88rem; }
  .pkg__list li::before { top: 17px; width: 12px; }
  .pkgs__note { font-size: .82rem; }

  /* take-home list, modules, cards */
  .takeaway { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 14px 0; }
  .takeaway__icon { width: 36px; height: 36px; }
  .takeaway__icon svg { width: 18px; height: 18px; }
  .takeaway h3 { font-size: 1rem; }
  .takeaway p { font-size: .9rem; }
  .modules > .module, .grid > .card:not(.card--media):not(.tcm-hosp), .grid > .step { padding: 14px 0 6px; }
  .module__key { font-size: 1.1rem; }
  .grid { gap: 12px; }
  .note { padding: 12px 14px; font-size: .86rem; }

  /* hospital list and pages */
  .hospital-city-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .hospital-city-links > .btn { flex: initial; min-height: 40px; padding: 8px 6px; font-size: .86rem; }
  .stat-tile b { font-size: 1.2rem; }

  /* guides: tables become stacked rows */
  .guide table, .guide tbody, .guide tr, .guide td { display: block; width: 100%; }
  .guide thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .guide tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .guide td { padding: 2px 0; border: 0; }
  .guide td:first-child { font-weight: 700; color: var(--brand); }
  .guide .answer { padding: 12px 14px; }

  /* closing band and footer: one call to action, not two */
  .cta-band { padding: 26px 20px; border-radius: 16px; }
  .cta-band h2 { font-size: 1.3rem; }
  .cta-band p { font-size: .92rem; }
  .site-footer { padding-top: 36px; }
  .footer-top { padding-bottom: 24px; margin-bottom: 24px; }
  .footer-top .btn-row { display: none; }
  .footer-slogan, html[lang^="zh"] .footer-slogan { font-size: 1.35rem; line-height: 1.35; }

  /* floating contact buttons: smaller, and lifted above the cookie bar while it shows */
  .float-contact { gap: 8px; inset-inline-end: 10px; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .float-contact__btn { width: 42px; height: 42px; box-shadow: 0 6px 16px -8px rgba(15, 42, 46, .6); }
  .float-contact__btn svg { width: 20px; height: 20px; }
  body:has(.ad-consent:not([hidden])) .float-contact { bottom: calc(64px + env(safe-area-inset-bottom)); }
}
