/* ==========================================================================
   密瞳宠物医院 · 官网样式
   品牌色取自门头与 Logo：橙 #FF8901 / 深灰 #363636
   ========================================================================== */

:root {
  --ink: #1f1d1b;
  --ink-2: #4a4642;
  --ink-3: #7b736a;
  --orange: #ff8901;
  --orange-d: #b85c07;
  --orange-soft: #fff3e2;
  --cream: #fbf6ec;
  --cream-2: #f5eddf;
  --line: #e7dfd0;
  --line-soft: #f0e9dc;
  --white: #ffffff;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --serif: "Times New Roman", Times, Georgia, serif;
  --shadow: 0 1px 2px rgba(31, 29, 27, 0.04), 0 12px 32px -18px rgba(31, 29, 27, 0.18);
  --hdr: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.95;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.34; letter-spacing: -0.01em; text-wrap: balance; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: 900px; }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--ink);
  color: #cfc7bc;
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 38px; flex-wrap: wrap;
}
.topbar__left, .topbar__right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; row-gap: 2px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--orange); }
.topbar__dot { width: 3px; height: 3px; border-radius: 50%; background: #6b635a; }
.topbar strong { color: #fff; font-weight: 500; letter-spacing: 0.06em; }

/* ---------- 页头 ---------- */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: var(--hdr);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { height: 42px; width: auto; }
.brand__name {
  font-size: 19px; font-weight: 600; letter-spacing: 0.06em; line-height: 1.2;
}
.brand__en {
  font-family: var(--serif); font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--ink-3); text-transform: uppercase; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 9px 13px;
  font-size: 14.5px; color: var(--ink-2); letter-spacing: 0.02em;
  border-radius: 2px; transition: color 0.18s;
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--orange); transform: scaleX(0);
  transform-origin: left; transition: transform 0.24s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 500; }

.masthead__cta {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; background: var(--ink); color: #fff;
  font-size: 14px; letter-spacing: 0.03em; border-radius: 2px;
  transition: background 0.2s;
}
.masthead__cta:hover { background: var(--orange-d); }
.masthead__cta svg { width: 15px; height: 15px; }

.navtoggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 2px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.navtoggle span {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: relative;
}
.navtoggle span::before, .navtoggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
}
.navtoggle span::before { top: -6px; }
.navtoggle span::after { top: 6px; }

/* ---------- 通用排版 ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 12px; letter-spacing: 0.24em; color: var(--orange-d);
  text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--orange); }
.eyebrow--plain::before { display: none; }

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #efe8dd; }
.section--tight { padding: 72px 0; }

.h2 { font-size: clamp(25px, 3vw, 36px); letter-spacing: -0.015em; }
.lead {
  margin-top: 20px; max-width: 62ch; color: var(--ink-2);
  font-size: 16.5px; line-height: 2.0;
}
.section--ink .lead { color: #c8bfb3; }

.sec-head { max-width: 780px; margin-bottom: 54px; }
.sec-head--split {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; max-width: none; flex-wrap: wrap;
}
.sec-head--split .sec-head__text { max-width: 700px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; font-size: 15px; letter-spacing: 0.03em;
  border-radius: 2px; border: 1px solid transparent; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--orange-d); }
.btn--orange { background: var(--orange); color: #221a0c; font-weight: 500; }
.btn--orange:hover { background: #ffa22e; }
.btn--ghost { border-color: rgba(31, 29, 27, 0.24); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--light { border-color: rgba(255, 255, 255, 0.34); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn svg { width: 16px; height: 16px; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14.5px; color: var(--orange-d); border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.textlink:hover { border-color: var(--orange-d); }
.textlink::after { content: "→"; font-size: 14px; transition: transform 0.2s; }
.textlink:hover::after { transform: translateX(3px); }

/* ---------- 首屏 ---------- */
.hero { background: var(--cream); }
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px; align-items: end; padding: 82px 0 60px;
}
.hero__body { max-width: 760px; }

.hero__aside { border-top: 1px solid var(--line); padding-top: 20px; }
.hero__aside > p {
  font-size: 11.5px; letter-spacing: 0.2em; color: var(--ink-3);
}
.hero__aside ul { margin-top: 6px; }
.hero__aside li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 20px; letter-spacing: 0.05em; color: var(--ink);
}
.hero__aside li span {
  font-family: var(--serif); font-size: 11px; letter-spacing: 0.14em;
  color: var(--orange-d);
}
.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px); letter-spacing: -0.03em;
  line-height: 1.14; font-weight: 600;
}
.hero h1 .en {
  display: block; font-family: var(--serif); font-size: 0.26em;
  letter-spacing: 0.22em; color: var(--ink-3); font-weight: 400;
  margin-top: 18px; text-transform: uppercase;
}
.hero__lead {
  margin-top: 28px; max-width: 46ch; font-size: 17px; line-height: 2.05;
  color: var(--ink-2);
}
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px;
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; color: var(--ink-2); border-radius: 2px;
}
.chip::before {
  content: ""; width: 5px; height: 5px; background: var(--orange);
  border-radius: 50%; flex: none;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__media { position: relative; width: 100%; overflow: hidden; }
.hero__media img {
  width: 100%; aspect-ratio: 2.25 / 1; object-fit: cover; object-position: 50% 17%;
}
.hero__caption {
  position: absolute; bottom: 26px;
  left: max(28px, calc((100% - 1200px) / 2 + 28px));
  padding: 12px 20px; background: rgba(31, 29, 27, 0.8);
  color: #e6ded2; font-size: 12px; letter-spacing: 0.08em;
  backdrop-filter: blur(6px);
}

/* ---------- 数据条 ---------- */
.stats { border-top: 1px solid var(--line); background: #fff; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 34px 30px 34px 0; border-right: 1px solid var(--line-soft); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: 27px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2;
}
.stat__num small { font-size: 14px; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.stat__label { margin-top: 8px; font-size: 13.5px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 三支柱卡片 ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.pillar:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; }
.pillar:nth-child(3) .pillar__media img { object-position: 50% 16%; }
.pillar__body { padding: 30px 30px 34px; }
.pillar__idx {
  font-family: var(--serif); font-size: 12px; letter-spacing: 0.2em;
  color: var(--orange-d);
}
.pillar h3 { margin-top: 10px; font-size: 21px; letter-spacing: 0.01em; }
.pillar p { margin-top: 14px; font-size: 15px; line-height: 2.0; color: var(--ink-2); }

/* ---------- 医师 ---------- */
.doctors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.doc {
  background: #fff; border: 1px solid var(--line); border-radius: 2px;
  overflow: hidden; transition: box-shadow 0.25s;
}
.doc:hover { box-shadow: var(--shadow); }
.doc__media { aspect-ratio: 4 / 5; overflow: hidden; background: #f3efe8; }
.doc__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.doc__body { padding: 26px 28px 30px; }
.doc__name { font-size: 22px; letter-spacing: 0.06em; }
.doc__role {
  margin-top: 7px; font-size: 13.5px; color: var(--orange-d);
  letter-spacing: 0.06em;
}
.doc__meta { margin-top: 18px; border-top: 1px solid var(--line-soft); }
.doc__meta div {
  display: flex; gap: 14px; padding: 10px 0;
  border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.doc__meta dt { flex: none; width: 62px; color: var(--ink-3); }
.doc__meta dd { margin: 0; color: var(--ink-2); }
.doc__meta .num { font-family: var(--serif); letter-spacing: 0.06em; }

/* ---------- 医师档案（版式参考佑爱医生详情页） ---------- */
.crumb {
  display: flex; gap: 10px; margin-bottom: 26px;
  font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.02em;
}
.crumb a:hover { color: var(--orange-d); }
.crumb span:last-child { color: var(--ink-2); }

.profile-list { padding: 52px 0 88px; }
.profile {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px; align-items: start;
  padding: 54px 0; border-top: 1px solid var(--line);
}
.profile:last-child { border-bottom: 1px solid var(--line); }
.profile__photo {
  position: sticky; top: calc(var(--hdr) + 24px);
  aspect-ratio: 3 / 4; border-radius: 3px; overflow: hidden;
  background: var(--cream-2); box-shadow: var(--shadow);
}
.profile__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 14%;
}
.profile__head { margin-bottom: 28px; }
.profile__name { font-size: clamp(27px, 3vw, 34px); }
.profile__role {
  margin-top: 6px; font-size: 14.5px; color: var(--orange-d); letter-spacing: 0.04em;
}

.cred-note {
  display: flex; gap: 15px; align-items: flex-start;
  padding: 17px 20px; margin-bottom: 32px;
  background: var(--orange-soft); border: 1px solid rgba(255, 137, 1, 0.28);
  border-radius: 3px;
}
.cred-note .cred-note__icon {
  flex: none; width: 34px; height: 34px; border-radius: 3px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
}
.cred-note strong { display: block; font-size: 15px; line-height: 1.6; }
.cred-note span {
  display: block; margin-top: 2px;
  font-size: 13px; line-height: 1.7; color: var(--orange-d);
}

.info-sec { margin-bottom: 34px; }
.info-sec:last-child { margin-bottom: 0; }
.info-sec h3 {
  font-size: 16px; font-weight: 600; color: var(--ink);
  padding-bottom: 11px; margin-bottom: 10px;
  border-bottom: 2px solid var(--orange-soft);
}
.info-tbl { width: 100%; border-collapse: collapse; }
.info-tbl tr { border-bottom: 1px solid var(--line-soft); }
.info-tbl tr:last-child { border-bottom: 0; }
.info-tbl td { padding: 11px 0; font-size: 14px; line-height: 1.85; vertical-align: top; }
.info-tbl td:first-child {
  width: 92px; padding-right: 16px; white-space: nowrap;
  font-weight: 600; color: var(--ink);
}
.info-tbl td:last-child { color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  font-size: 12.5px; line-height: 1.6; padding: 5px 12px;
  border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink-2); background: #fdfbf7;
}
.tag--orange {
  border-color: rgba(255, 137, 1, 0.4); color: var(--orange-d);
  background: var(--orange-soft);
}
.info-desc { font-size: 14px; line-height: 2; color: var(--ink-2); }
.profile__cert { margin: 0; max-width: 300px; }
.profile__cert img {
  width: 100%; border: 1px solid var(--line); border-radius: 2px;
  pointer-events: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.profile__cert figcaption {
  margin-top: 10px; font-size: 12.5px; line-height: 1.75; color: var(--ink-3);
}

/* ---------- 图文块 ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; border-radius: 2px; }
.figure-cap {
  margin-top: 12px; font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.04em;
}

/* ---------- 图库 ---------- */
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.gallery figure { margin: 0; }
.gallery .ph {
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); border-radius: 2px;
}
.gallery .ph img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.gallery figure:hover .ph img { transform: scale(1.028); }
.gallery figcaption {
  margin-top: 11px; font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.03em;
}
.gallery--two { grid-template-columns: repeat(2, 1fr); }
.gallery--four { grid-template-columns: repeat(4, 1fr); }

/* ---------- 信息卡 ---------- */
.infocard {
  background: #fff; border: 1px solid var(--line); padding: 32px 34px; border-radius: 2px;
}
.infocard h3 { font-size: 17px; letter-spacing: 0.03em; }
.infocard p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.infogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- 表格 ---------- */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 2px; background: #fff; }
table.data {
  width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px;
}
table.data caption {
  text-align: left; padding: 22px 26px 4px; font-size: 13px; color: var(--ink-3);
  letter-spacing: 0.06em;
}
table.data th, table.data td {
  padding: 15px 26px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line-soft);
}
table.data thead th {
  font-size: 12.5px; font-weight: 500; color: var(--ink-3);
  letter-spacing: 0.1em; background: var(--cream); border-bottom: 1px solid var(--line);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover td { background: #fdfaf4; }
table.data .key { color: var(--ink-3); width: 34%; }
table.data .mono { font-family: var(--serif); letter-spacing: 0.06em; }
table.data .price { font-family: var(--serif); font-size: 17px; letter-spacing: 0.03em; white-space: nowrap; }
table.data .price small { font-family: var(--sans); font-size: 12px; color: var(--ink-3); }

/* ---------- 提示条 ---------- */
.note {
  display: flex; gap: 16px; padding: 24px 28px; background: var(--orange-soft);
  border-left: 2px solid var(--orange); border-radius: 2px;
  font-size: 14.5px; line-height: 1.95; color: var(--ink-2);
}
.note strong { color: var(--ink); font-weight: 600; }
.note--plain { background: #f7f4ee; border-left-color: var(--ink-3); }

/* ---------- 证件 ---------- */
.certs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cert {
  margin: 0; background: #fff; border: 1px solid var(--line);
  padding: 14px; border-radius: 2px;
}
.cert img {
  width: 100%; height: auto; pointer-events: none;
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.cert figcaption {
  margin-top: 12px; font-size: 12.5px; color: var(--ink-3);
  line-height: 1.7; letter-spacing: 0.02em;
}
.certs--three { grid-template-columns: repeat(3, 1fr); }

/* ---------- 口碑 ---------- */
.reviews { columns: 2; column-gap: 24px; }
.reviews figure {
  margin: 0 0 24px; break-inside: avoid;
  background: #fff; border: 1px solid var(--line); padding: 12px; border-radius: 2px;
}
.reviews img { width: 100%; height: auto; }

/* 口碑页：11 张按两列网格排，最后一张居中横跨，避免奇数留下大片空白 */
.reviews--all { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.reviews--all figure { margin: 0; }
.reviews--all figure:last-child:nth-child(odd) {
  grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px);
}

/* ---------- 到院 ---------- */
.visit-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.addr-block { border-top: 1px solid var(--line); }
.addr-row {
  display: grid; grid-template-columns: 88px 1fr; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line-soft);
}
.addr-row dt { font-size: 13px; color: var(--ink-3); letter-spacing: 0.08em; }
.addr-row dd { margin: 0; font-size: 15.5px; line-height: 1.8; }
.addr-row dd .big { font-size: 20px; font-family: var(--serif); letter-spacing: 0.04em; }

/* ---------- 统一 CTA 横幅 ---------- */
.cta-band {
  background: var(--ink); color: #f0e9de; padding: 66px 0;
  border-top: 3px solid var(--orange);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap;
}
.cta-band__kicker {
  font-size: 12px; letter-spacing: 0.24em; color: var(--orange);
  text-transform: uppercase; margin-bottom: 16px;
}
.cta-band h2 {
  font-size: clamp(22px, 2.5vw, 30px); letter-spacing: -0.01em; color: #fff;
  max-width: 28em; line-height: 1.5;
}
.cta-band__meta {
  margin-top: 16px; font-size: 14px; color: #b8afa3; line-height: 2;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
}
.cta-band__meta span { display: inline-flex; align-items: center; gap: 8px; }
.cta-band__meta span::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%; background: #6b635a;
}
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 页脚 ---------- */
.footer { background: #161412; color: #8f877d; font-size: 13.5px; line-height: 1.85; }
.footer__top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 44px;
  padding: 66px 0 52px;
}
.footer .brand__mark { height: 38px; margin-bottom: 18px; }
.footer h4 {
  font-size: 12px; letter-spacing: 0.2em; color: #d8d0c4;
  text-transform: uppercase; margin-bottom: 18px; font-weight: 500;
}
.footer a:hover { color: var(--orange); }
.footer li { margin-bottom: 9px; }
.footer__name { color: #fff; font-size: 17px; letter-spacing: 0.08em; }
.footer__en {
  font-family: var(--serif); font-size: 10.5px; letter-spacing: 0.2em;
  color: #6f675e; text-transform: uppercase; margin-top: 6px;
}
.footer__lic { margin-top: 16px; font-size: 12.5px; color: #6f675e; }
.footer__bottom {
  border-top: 1px solid #2a2724; padding: 22px 0 30px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 12px; color: #6f675e; letter-spacing: 0.02em;
}

/* ---------- 移动端悬浮拨号 ---------- */
.callbar { display: none; }

/* ---------- 动效 ---------- */
/* 为保证任何环境下内容都可见，不使用淡入隐藏；仅保留悬停反馈 */
.reveal { opacity: 1; transform: none; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .nav a { padding: 9px 9px; font-size: 14px; }
  .hero__body { padding-right: 32px; }
  .doctors { gap: 20px; }
  .profile { grid-template-columns: 300px minmax(0, 1fr); gap: 36px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .nav { display: none; }
  .masthead__cta { display: none; }
  .navtoggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 52px 0 40px; }
  .hero__aside { display: none; }
  .hero__body { padding: 0; }
  .hero__media img { aspect-ratio: 4 / 3; object-position: 50% 26%; }
  .hero__caption { position: static; background: var(--ink); left: auto; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 20px 26px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .pillars, .doctors, .infogrid { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .profile__photo { position: static; max-width: 330px; }
  .profile__cert { max-width: 330px; }
  .split, .split--rev .split__media, .visit-grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split { gap: 32px; }
  .gallery, .gallery--four { grid-template-columns: repeat(2, 1fr); }
  .certs, .certs--three { grid-template-columns: 1fr; }
  .reviews, .reviews--all { columns: 1; display: block; }
  .reviews--all figure { margin-bottom: 24px; }
  .reviews--all figure:last-child:nth-child(odd) { width: 100%; }
  .section { padding: 66px 0; }
  .sec-head { margin-bottom: 36px; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; padding: 48px 0 36px; }
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: var(--ink); border-top: 1px solid #2a2724;
  }
  .callbar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 9px;
    padding: 15px 8px; font-size: 15px; color: #fff; letter-spacing: 0.04em;
  }
  .callbar a + a { border-left: 1px solid #2a2724; }
  .callbar a.primary { background: var(--orange); color: #221a0c; font-weight: 500; }
  body { padding-bottom: 54px; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 20px; }
  .topbar__right { display: none; }
  .topbar .wrap { min-height: 34px; font-size: 11.5px; gap: 6px; }
  .topbar__left { gap: 10px; }
  .topbar__dot { display: none; }
  .brand__en { font-size: 9px; letter-spacing: 0.14em; }
  .brand__name { font-size: 17px; }
  .hero h1 { font-size: 34px; }
  .gallery, .gallery--four { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 0; }
  .cta-band__actions .btn { flex: 1; }
  table.data th, table.data td { padding: 13px 16px; }
  .infocard, .note { padding: 22px; }
}

/* 移动端菜单 */
.menu-open .mobilenav { display: block; }
.mobilenav {
  display: none; position: fixed; inset: var(--hdr) 0 0 0; z-index: 55;
  background: #fff; padding: 20px 0 40px; overflow-y: auto;
}
.mobilenav a {
  display: block; padding: 17px 28px; font-size: 17px;
  border-bottom: 1px solid var(--line-soft);
}
.mobilenav a[aria-current="page"] { color: var(--orange-d); font-weight: 500; }
.mobilenav .btn { margin: 26px 28px 0; width: calc(100% - 56px); }

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

/* ==========================================================================
   页面组件补充
   ========================================================================== */

.brand__name { display: block; }
.brand__en { display: block; }
.footer__desc { margin-top: 12px; max-width: 30ch; }

/* 服务条目（诊疗服务页） */
.svc-list { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 46px 0; border-bottom: 1px solid var(--line);
}
.svc__head { display: flex; gap: 18px; align-items: baseline; }
.svc__n {
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.14em;
  color: var(--orange-d); flex: none; padding-top: 2px;
}
.svc__head h2 { font-size: 21px; letter-spacing: 0.01em; }
.svc__body p { color: var(--ink-2); font-size: 15.5px; line-height: 2.0; max-width: 62ch; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 13px; color: var(--ink-2); background: #fdfbf7;
}

/* 时间线 */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li {
  display: grid; grid-template-columns: 92px 1fr; gap: 20px;
  padding: 0 0 30px 26px; position: relative;
}
.timeline li::before {
  content: ""; position: absolute; left: -4.5px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px var(--white);
}
.timeline__date {
  font-family: var(--serif); font-size: 13px; letter-spacing: 0.1em; color: var(--orange-d);
}
.timeline h3 { font-size: 16px; letter-spacing: 0.02em; }
.timeline p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); line-height: 1.9; }

/* 步骤 */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.step { background: #fff; padding: 32px 30px 34px; }
.step__n { font-family: var(--serif); font-size: 12px; letter-spacing: 0.18em; color: var(--orange-d); }
.step h3 { margin-top: 12px; font-size: 17.5px; }
.step p { margin-top: 12px; font-size: 14.5px; line-height: 1.95; color: var(--ink-2); }

/* 不做清单 */
.nolist { border-top: 1px solid var(--line); }
.nolist li { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.nolist strong { display: block; font-size: 16px; font-weight: 600; }
.nolist span { display: block; margin-top: 5px; font-size: 14.5px; color: var(--ink-3); line-height: 1.85; }

@media (max-width: 900px) {
  .svc { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .steps { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 76px 1fr; gap: 14px; }
}

/* 竖版图库（设备实拍：完整显示，不裁切） */
.gallery--tall { grid-template-columns: repeat(4, 1fr); }
.gallery--tall .ph { aspect-ratio: 3 / 4; background: var(--cream-2); }
.gallery--tall .ph img { object-fit: contain; }
.gallery--tall figure:hover .ph img { transform: none; }

/* 自然比例图库（制度牌等竖横混排） */
.gallery--natural { align-items: start; }
.gallery--natural .ph { aspect-ratio: auto; overflow: visible; }
.gallery--natural .ph img { width: 100%; height: auto; }
.gallery--natural figure:hover .ph img { transform: none; }

.addr-row dd.big { font-size: 20px; font-family: var(--serif); letter-spacing: 0.04em; }
.addr-row dd .big { font-size: 20px; font-family: var(--serif); letter-spacing: 0.04em; }

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

/* 顶部对齐的左右分栏（一侧内容明显更高时使用） */
.split--top { align-items: start; }

/* ==========================================================================
   医疗设备页：标签式设备行（文左 / 图右）
   ========================================================================== */
.dev-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.dev-jump a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 2px;
  font-size: 13.5px; color: var(--ink-2); background: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.dev-jump a:hover { border-color: var(--orange); color: var(--orange-d); }

.dev-group { padding: 54px 0 0; }
.dev-group + .dev-group { padding-top: 84px; }
.dev-group__head { max-width: 720px; margin-bottom: 38px; }
.dev-group__head .h2 { font-size: clamp(23px, 2.6vw, 31px); }

.dev-list { border-top: 1px solid var(--line); }
.dev-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 540px;
  gap: 56px; padding: 46px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.dev-tag {
  font-size: 11.5px; letter-spacing: 0.18em; color: var(--orange-d);
}
.dev-row h3 {
  margin-top: 11px; font-size: 21px; letter-spacing: 0.01em; line-height: 1.45;
}
.dev-brand {
  margin-top: 11px; font-size: 14.5px; color: var(--ink-3); letter-spacing: 0.03em;
}
.dev-brand strong {
  font-family: var(--serif); font-size: 17px; letter-spacing: 0.06em;
  color: var(--ink); font-weight: 600;
}
.dev-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.dev-badge {
  font-size: 11.5px; letter-spacing: 0.04em; padding: 4px 9px;
  border: 1px solid var(--line); border-radius: 2px; color: var(--ink-3);
  background: #fdfbf7;
}
.dev-badge--ok {
  border-color: rgba(255, 137, 1, 0.42); color: var(--orange-d);
  background: var(--orange-soft);
}
.dev-desc {
  margin-top: 18px; font-size: 15px; line-height: 1.98;
  color: var(--ink-2); max-width: 54ch;
}
.dev-use {
  margin-top: 14px; font-size: 13.5px; line-height: 1.9; color: var(--ink-3);
  max-width: 54ch;
}
.dev-use b { color: var(--ink-2); font-weight: 500; }

.dev-row__media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.dev-shot {
  margin: 0; padding: 8px; border: 1px solid var(--line);
  background: #fff; border-radius: 2px;
}
.dev-shot img {
  width: 100%; height: 296px; display: block;
  object-fit: contain; background: #fdfbf7;
}
.dev-shot figcaption {
  margin-top: 9px; padding-bottom: 2px; text-align: center;
  font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-3);
}

@media (max-width: 1080px) {
  .dev-row { grid-template-columns: minmax(0, 1fr) 440px; gap: 36px; }
  .dev-shot img { height: 250px; }
}
@media (max-width: 900px) {
  .dev-row { grid-template-columns: 1fr; gap: 26px; padding: 36px 0; }
  .dev-row__media { max-width: 520px; }
  .dev-shot img { height: 210px; }
  .dev-desc, .dev-use { max-width: none; }
}
