:root {
  --ink: #102027;
  --muted: #5c6b73;
  --line: #d9e4e8;
  --paper: #f6faf9;
  --white: #ffffff;
  --teal: #087f8c;
  --teal-dark: #065f68;
  --green: #2f7d59;
  --blue: #2d5f9a;
  --amber: #b17628;
  --shadow: 0 18px 42px rgba(16, 32, 39, .09);
  --radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(217,228,232,.8);
  backdrop-filter: blur(14px);
}
.nav { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; white-space: nowrap; }
.brand img { width: 124px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; color: #263b43; }
.nav-links a[aria-current="page"] { color: var(--teal); font-weight: 700; }
.nav-links .btn[aria-current="page"] { color: var(--white); }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--white); border-radius: 6px; width: 42px; height: 42px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 10px 18px; border-radius: 6px;
  border: 1px solid var(--teal); background: var(--teal); color: var(--white);
  font-weight: 700; cursor: pointer;
}
.btn.secondary { background: var(--white); color: var(--teal); }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  padding: 76px 0 58px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(246,250,249,.98) 0%, rgba(246,250,249,.98) 52%, rgba(235,246,246,.96) 100%),
    #f6faf9;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  background:
    linear-gradient(rgba(246,250,249,.5), rgba(246,250,249,.94)),
    url("images/customer-map.jpg") center / contain no-repeat;
  opacity: .42;
}
.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr);
  align-items: center;
  gap: 54px;
}
.hero-content { width: 100%; position: relative; z-index: 1; }
.hero-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .82fr 1fr;
  align-items: end;
  gap: 16px;
  padding: 22px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(217,228,232,.96);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-showcase::before {
  content: "患者服务界面";
  position: absolute;
  top: 18px;
  left: 22px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
}
.phone-shot {
  border-radius: 7px;
  background: #f7fbfb;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(16,32,39,.1);
  overflow: hidden;
}
.phone-shot.primary { margin-top: 28px; }
.phone-shot.secondary { opacity: .94; transform: translateY(22px); }
.phone-shot img { width: 100%; height: 390px; object-fit: cover; object-position: top; }
.eyebrow { color: var(--teal-dark); font-weight: 700; letter-spacing: 0; margin: 0 0 14px; }
h1, h2, h3 { line-height: 1.22; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(30px, 3.8vw, 44px); max-width: 760px; }
h2 { font-size: clamp(25px, 3.2vw, 36px); }
h3 { font-size: 20px; }
.lead { font-size: 18px; color: #31474f; max-width: 760px; margin: 22px 0 0; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; max-width: 700px; }
.proof-item { border-left: 3px solid var(--teal); padding-left: 14px; }
.proof-item strong { display: block; font-size: 24px; line-height: 1.1; }
.proof-item span { color: var(--muted); font-size: 14px; }
section { padding: 82px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.section-head p { max-width: 640px; color: var(--muted); margin: 12px 0 0; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid { display: grid; gap: 20px; }
.grid.two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 1px 0 rgba(16,32,39,.03);
}
.card.media { padding: 0; overflow: hidden; }
.card.media .body { padding: 22px; }
.card.media img { width: 100%; height: 220px; object-fit: cover; background: #eef4f4; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 10px; border: 1px solid #b8dadd; border-radius: 999px; color: var(--teal-dark); background: #edf8f7; font-size: 13px; font-weight: 700; }
.list { padding-left: 18px; margin: 16px 0 0; color: #30454d; }
.list li { margin: 8px 0; }
.metric { display: grid; gap: 6px; }
.metric strong { font-size: 30px; color: var(--teal-dark); line-height: 1.1; }
.matrix { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: #eef7f6; color: #173a42; }
tr:last-child td { border-bottom: 0; }
.page-hero { padding: 76px 0 56px; background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .lead { max-width: 820px; }
.case-hero { padding: 72px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 56px;
  align-items: center;
}
.case-hero .lead { max-width: 780px; }
.crumb { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 38px; align-items: center; }
.split > img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  object-position: center top;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbfb;
  box-shadow: 0 10px 30px rgba(16, 32, 39, .08);
}
.split > img[src$=".jpg"] { object-fit: cover; padding: 0; }
.interface-panel {
  display: grid;
  grid-template-columns: minmax(300px, .48fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}
.container.interface-panel {
  width: min(1160px, calc(100% - 40px));
}
.interface-panel.reverse { grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr); }
.interface-panel > div:not(.interface-image) {
  max-width: 640px;
}
.interface-image {
  width: min(100%, 340px);
  aspect-ratio: 390 / 844;
  margin: 0 auto;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.interface-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 6px;
  background: #f7fbfb;
}
.callout { background: #0f3f45; color: var(--white); padding: 50px; border-radius: var(--radius); }
.callout p { color: #cfe4e4; }
.timeline { border-left: 2px solid var(--line); padding-left: 24px; display: grid; gap: 22px; }
.timeline article { position: relative; }
.timeline article::before { content: ""; position: absolute; left: -31px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }
.contact-box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.contact-methods { display: grid; gap: 12px; margin: 18px 0 22px; }
.contact-method {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: var(--paper);
}
.contact-method strong { display: block; color: var(--teal-dark); }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; color: #263b43; font-weight: 700; }
input, select, textarea {
  width: 100%; border: 1px solid #bfd0d5; border-radius: 6px; padding: 12px 13px;
  font: inherit; color: var(--ink); background: var(--white);
}
textarea { min-height: 132px; resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.notice { color: var(--muted); font-size: 14px; }
.form-status { min-height: 28px; font-weight: 700; }
.site-footer { background: #102027; color: #d6e5e7; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 28px; }
.site-footer h3 { font-size: 17px; color: var(--white); margin-bottom: 12px; }
.site-footer a, .site-footer p { color: #b9ced2; margin: 6px 0; }
.qr { width: 120px; border-radius: 6px; border: 6px solid var(--white); }
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 20px; color: #9db4b8; font-size: 13px; }

@media (min-width: 1180px) {
  .hero h1 { white-space: nowrap; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 72px; display: none;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px;
    background: var(--white); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; }
  .hero { min-height: auto; background: var(--paper); padding: 58px 0; }
  .hero::before { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 30px; }
  .hero-showcase { grid-template-columns: 1fr 1fr; width: 100%; margin: 0; }
  .phone-shot img { height: 320px; }
  .interface-image {
    width: min(360px, 100%);
  }
  .hero-proof, .grid.two, .grid.three, .grid.four, .split, .interface-panel, .interface-panel.reverse, .contact-box, .footer-grid { grid-template-columns: 1fr; }
  .case-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-head { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .callout { padding: 30px; }
  section { padding: 58px 0; }
  .matrix { overflow: visible; border: 0; background: transparent; }
  table { min-width: 0; border-collapse: separate; border-spacing: 0 14px; }
  thead { display: none; }
  tbody, tr, td { display: block; width: 100%; }
  tr { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
  td { border-bottom: 1px solid var(--line); padding: 12px 14px; }
  td:last-child { border-bottom: 0; }
  td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--teal-dark);
    font-size: 13px;
    font-weight: 700;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  .container.interface-panel {
    width: min(1080px, calc(100% - 48px));
  }
  .interface-panel {
    grid-template-columns: minmax(280px, .45fr) minmax(0, 1fr);
    gap: 34px;
  }
  .interface-panel.reverse {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .45fr);
  }
  .interface-image {
    width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand img { width: 108px; }
  .hero-actions, .actions { flex-direction: column; }
  .btn { width: 100%; }
  .card { padding: 20px; }
  .page-hero { padding: 52px 0 42px; }
  .case-hero { padding: 52px 0 44px; }
  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  h3 { font-size: 19px; }
  .lead { font-size: 17px; }
  .eyebrow { font-size: 14px; }
  .hero-showcase { grid-template-columns: 1fr; }
  .hero-showcase::before { position: static; margin-bottom: 4px; }
  .phone-shot.secondary { display: none; }
  .phone-shot.primary { margin-top: 0; }
  .phone-shot img { height: 240px; }
  .interface-image { aspect-ratio: 390 / 640; }
  .interface-image img { height: 100%; }
}
