:root {
  --navy: #062c6d;
  --navy-deep: #041d48;
  --blue: #1597ed;
  --green: #48b83e;
  --orange: #ff8615;
  --ink: #10233f;
  --muted: #5d6d81;
  --paper: #faf7ef;
  --white: #ffffff;
  --line: rgba(6, 44, 109, 0.16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  color: var(--navy);
  background: rgba(250, 247, 239, 0.9);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: border-color 180ms ease, background 180ms ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(250, 247, 239, 0.97); }
.brand img { width: 196px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.site-nav a span { color: var(--navy); font-size: 14px; font-weight: 600; }
.site-nav a small { margin-top: 5px; color: #77879a; font-size: 8px; font-weight: 700; }
.site-nav .language-link { padding-left: 18px; border-left: 1px solid var(--line); }
.site-nav .language-link span { color: var(--blue); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; padding: 10px; }
.menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.hero {
  position: relative;
  min-height: min(820px, 94vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--paper);
}
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,247,239,0.99) 0%, rgba(250,247,239,0.92) 35%, rgba(250,247,239,0.18) 68%); }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(660px, 88vw);
  margin-left: max(28px, calc((100vw - var(--max)) / 2));
  padding-top: 56px;
}
.eyebrow, .section-kicker { color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: 0; }
.hero h1 { margin: 12px 0 14px; color: var(--navy); font-size: clamp(58px, 7vw, 100px); line-height: 1.05; font-weight: 650; }
.hero-statement { margin: 0 0 16px; color: var(--navy); font-size: clamp(25px, 3vw, 38px); font-weight: 600; line-height: 1.35; }
.hero-lead { max-width: 590px; margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.75; color: #3d536c; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border: 1px solid var(--navy); font-size: 14px; transition: 160ms ease; }
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: var(--navy-deep); }
.button-quiet:hover { background: rgba(255,255,255,0.72); }
.hero-metrics {
  position: absolute;
  z-index: 3;
  left: max(28px, calc((100vw - var(--max)) / 2));
  right: max(28px, calc((100vw - var(--max)) / 2));
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 670px;
  background: rgba(255,255,255,0.9);
  border-top: 3px solid var(--navy);
}
.hero-metrics div { padding: 18px 24px; border-right: 1px solid var(--line); }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong { display: block; color: var(--navy); font-size: 25px; line-height: 1.2; }
.hero-metrics span { color: var(--muted); font-size: 13px; }

.section { max-width: var(--max); margin: 0 auto; padding: 104px 28px; }
.section h2 { margin: 12px 0 0; color: var(--navy); font-size: clamp(34px, 4vw, 55px); line-height: 1.25; font-weight: 600; }
.intro-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 76px; align-items: center; }
.intro-visual { position: relative; min-height: 490px; overflow: hidden; background: #dce4eb; }
.intro-visual > img { width: 100%; height: 490px; object-fit: cover; }
.intro-caption { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; width: 220px; padding: 25px 28px; color: white; background: var(--navy); }
.intro-caption strong { font-size: 29px; line-height: 1.15; }
.intro-caption span { margin-top: 6px; color: #d6e3f2; font-size: 12px; }
.intro-copy { padding-top: 4px; color: #30465f; font-size: 17px; }
.intro-copy h2 { margin-bottom: 28px; }
.intro-copy p { margin: 0 0 22px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; margin-top: 10px; color: var(--navy); font-size: 14px; font-weight: 700; border-bottom: 1px solid var(--navy); }
.text-link span { color: var(--orange); }
.experience-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-strip span { padding: 18px 14px; color: var(--navy); font-size: 14px; text-align: center; border-right: 1px solid var(--line); }
.experience-strip span:last-child { border-right: 0; }

.services { max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); background: var(--white); }
.section-heading { display: grid; grid-template-columns: 1fr 0.8fr; gap: 80px; align-items: end; margin-bottom: 52px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { min-width: 0; background: #f6f8fa; border-bottom: 3px solid var(--navy); }
.service-card > img { width: 100%; height: 220px; object-fit: cover; }
.service-card:nth-child(2) > img { object-position: center; }
.service-card-body { min-height: 330px; padding: 25px 23px 22px; }
.service-index { color: var(--blue); font-size: 10px; font-weight: 800; }
.service-card h3 { margin: 16px 0 12px; color: var(--navy); font-size: 21px; line-height: 1.4; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-card a { display: inline-flex; gap: 10px; align-items: center; margin-top: 22px; color: var(--navy); font-size: 13px; font-weight: 700; }
.service-card a span { color: var(--orange); }

.platforms { max-width: none; padding-left: max(28px, calc((100vw - var(--max)) / 2)); padding-right: max(28px, calc((100vw - var(--max)) / 2)); background: var(--navy); color: white; }
.platform-layout { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 76px; align-items: stretch; }
.platform-visual { position: relative; min-height: 540px; overflow: hidden; background: #d9e2eb; }
.platform-visual img { width: 100%; height: 100%; object-fit: cover; }
.platform-mark { position: absolute; left: 0; bottom: 0; padding: 20px 24px; color: white; background: var(--orange); font-size: 12px; font-weight: 800; line-height: 1.45; }
.platforms h2 { color: white; }
.platform-copy { padding: 28px 0; }
.platform-copy > p { max-width: 500px; color: #c9d6e7; font-size: 16px; }
.platform-list { margin-top: 42px; border-top: 1px solid rgba(255,255,255,0.22); }
.platform-list div { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.22); }
.platform-list b { color: var(--orange); font-size: 11px; }
.platform-list span { color: #c9d6e7; font-size: 14px; }
.platform-list strong { display: block; margin-bottom: 4px; color: white; font-size: 19px; font-weight: 600; }

.area-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.area-cloud span { padding: 14px 20px; color: var(--navy); background: white; border: 1px solid var(--line); font-size: 17px; }
.area-cloud span:nth-child(3n+1) { border-top-color: var(--blue); }
.area-cloud span:nth-child(3n+2) { border-top-color: var(--green); }
.area-cloud span:nth-child(3n) { border-top-color: var(--orange); }

.patient-stories {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 28px 110px;
}
.patient-copy {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  column-gap: 80px;
  align-items: end;
  margin-bottom: 38px;
}
.patient-copy .section-kicker { grid-column: 1 / -1; }
.patient-copy h2 { margin: 12px 0 0; color: var(--navy); font-size: clamp(32px, 4vw, 52px); line-height: 1.25; font-weight: 600; }
.patient-copy p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; }
.patient-gallery {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr 1fr;
  grid-template-rows: 410px;
  gap: 12px;
}
.patient-gallery figure { position: relative; margin: 0; overflow: hidden; background: #dce4eb; }
.patient-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.patient-gallery figure:hover img { transform: scale(1.025); }
.patient-young img { object-position: center; }
.patient-senior img { object-position: 48% center; }
.patient-clinical img { object-position: 55% center; }
.patient-gallery figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 9px 12px;
  color: white;
  background: rgba(4, 29, 72, 0.8);
  font-size: 13px;
}

.pathway { border-top: 1px solid var(--line); }
.pathway-list { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 48px 0 0; padding: 0; }
.pathway-list li { min-height: 210px; padding: 24px; border-left: 1px solid var(--line); }
.pathway-list li:last-child { border-right: 1px solid var(--line); }
.pathway-list > li > span { color: var(--blue); font-size: 13px; font-weight: 700; }
.pathway-list b { display: block; margin-top: 52px; color: var(--navy); font-size: 20px; }
.pathway-list p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.contact { position: relative; min-height: 560px; overflow: hidden; background: var(--navy); }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.contact::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,29,72,0.98) 0%, rgba(4,29,72,0.92) 45%, rgba(4,29,72,0.28) 78%); }
.contact-panel { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 80px; align-items: center; max-width: var(--max); margin: 0 auto; padding: 90px 28px; color: white; }
.contact-panel h2 { margin: 12px 0 20px; font-size: clamp(38px, 5vw, 62px); line-height: 1.25; font-weight: 580; }
.contact-copy > p { max-width: 540px; color: #d4deeb; font-size: 17px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.contact-links a { width: fit-content; font-size: 18px; }
.contact-links span { display: inline-block; width: 72px; color: var(--orange); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.contact-qr { width: 149px; margin: 0; padding: 12px; color: var(--navy); background: white; text-align: center; }
.contact-qr img { width: 125px; height: 125px; }
.contact-qr figcaption { margin-top: 8px; font-size: 13px; font-weight: 700; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 30px max(28px, calc((100vw - var(--max)) / 2)); color: var(--muted); background: #f2eee5; font-size: 12px; }
footer img { width: 125px; }
footer p { margin: 0; }

.en-page .site-nav { gap: 24px; }
.en-page .site-nav a span { font-size: 13px; }
.en-page .hero-content { width: min(700px, 88vw); transform: translateY(-34px); }
.en-page .hero h1 { font-size: clamp(56px, 6vw, 82px); }
.en-page .hero-statement { max-width: 660px; font-size: clamp(24px, 2.6vw, 34px); }
.en-page .hero-lead { max-width: 640px; font-size: clamp(16px, 1.45vw, 19px); line-height: 1.65; }
.en-page .hero-actions { margin-top: 24px; }
.en-page .service-card h3 { font-size: 19px; }
.en-page .service-card-body { min-height: 380px; }

@media (max-width: 1000px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .site-header { height: 68px; padding: 0 20px; }
  .brand img { width: 154px; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; background: rgba(250,247,239,0.98); border-bottom: 1px solid var(--line); }
  .site-nav.open { display: flex; }
  .site-nav a { align-items: flex-start; padding: 12px 0; }
  .site-nav a small { margin-top: 3px; }
  .site-nav .language-link { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero { min-height: 740px; align-items: flex-start; padding-top: 150px; }
  .hero-image { object-position: 66% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(250,247,239,0.98) 8%, rgba(250,247,239,0.9) 52%, rgba(250,247,239,0.18) 100%); }
  .hero-content { margin-left: 22px; padding-top: 0; }
  .hero h1 { font-size: 58px; }
  .hero-lead { font-size: 18px; }
  .en-page .hero { min-height: 820px; }
  .en-page .hero-content { transform: none; }
  .hero-metrics { left: 20px; right: 20px; grid-template-columns: 1fr; max-width: none; }
  .hero-metrics div { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding: 76px 22px; }
  .intro-grid, .section-heading, .platform-layout { grid-template-columns: 1fr; gap: 28px; }
  .intro-visual, .intro-visual > img { min-height: 350px; height: 350px; }
  .experience-strip { grid-template-columns: repeat(2, 1fr); }
  .experience-strip span:nth-child(2) { border-right: 0; }
  .service-card-body { min-height: 290px; }
  .en-page .service-card-body { min-height: 340px; }
  .platforms { padding-left: 22px; padding-right: 22px; }
  .platform-visual { min-height: 390px; }
  .platform-copy { padding-bottom: 0; }
  .patient-stories { padding: 0 22px 76px; }
  .patient-copy { grid-template-columns: 1fr; gap: 18px; }
  .patient-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 250px 240px; }
  .patient-clinical { grid-column: 1 / -1; }
  .pathway-list { grid-template-columns: repeat(2, 1fr); }
  .pathway-list li:nth-child(2) { border-right: 1px solid var(--line); }
  .contact { min-height: 610px; }
  .contact > img { object-position: 42% center; }
  .contact::after { background: linear-gradient(180deg, rgba(4,29,72,0.99) 0%, rgba(4,29,72,0.9) 58%, rgba(4,29,72,0.35) 100%); }
  .contact-panel { grid-template-columns: 1fr; gap: 38px; }
  .contact-qr { width: 132px; padding: 11px; }
  .contact-qr img { width: 110px; height: 110px; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { align-items: stretch; flex-direction: column; width: 210px; }
  .experience-strip, .pathway-list, .service-grid { grid-template-columns: 1fr; }
  .service-card > img { height: 210px; }
  .service-card-body { min-height: 0; }
  .en-page .service-card-body { min-height: 0; }
  .patient-gallery { grid-template-columns: 1fr; grid-template-rows: repeat(3, 260px); }
  .patient-clinical { grid-column: auto; }
  .experience-strip span, .pathway-list li, .pathway-list li:nth-child(2) { border-right: 0; }
  .pathway-list li:last-child { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
