/* =========================================================
   天津市惠民养老服务咨询评估中心 · 门户样式
   视觉方向：民政庄重 × 人文温暖 · 宣纸质感 · 编辑排版
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* 字体：中文系统栈（宋体标题 / 黑体正文），零网络请求 */
  --font-serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", "Times New Roman", serif;
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Helvetica Neue", sans-serif;

  /* 纸墨：暖调中性，避免纯白纯黑 */
  --paper:      oklch(97.4% 0.016 82);
  --paper-2:    oklch(99.4% 0.005 82);
  --paper-3:    oklch(94.2% 0.024 78);
  --paper-4:    oklch(90.5% 0.03 74);

  --ink:        oklch(23% 0.022 38);
  --ink-2:      oklch(40% 0.017 38);
  --ink-3:      oklch(54% 0.013 38);

  /* 主色：民政暖砖红；辅：稳重青；点缀：劳模金 */
  --brand:      oklch(43% 0.135 30);
  --brand-2:    oklch(52% 0.15 30);
  --brand-soft: oklch(93.5% 0.033 32);
  --brand-line: oklch(80% 0.07 30);
  --teal:       oklch(42% 0.055 208);
  --teal-soft:  oklch(94% 0.022 208);
  --gold:       oklch(63% 0.10 76);

  --line:        oklch(87% 0.015 76);
  --line-strong: oklch(74% 0.022 70);

  /* 间距（4pt 基准，rem 表达以跟随字号缩放） */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* 圆角与阴影：克制 */
  --r-sm: 3px; --r-md: 6px; --r-lg: 10px;
  --shadow-1: 0 1px 2px oklch(23% 0.02 38 / 0.05);
  --shadow-2: 0 6px 20px -8px oklch(23% 0.02 38 / 0.14);

  --wrap: 78rem;
  --bar-h: 2.6rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 420ms;
}

/* 高对比模式 */
html[data-contrast="high"] {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --paper-3: #f0f0f0;
  --paper-4: #e4e4e4;
  --ink: #141414;
  --ink-2: #2a2a2a;
  --ink-3: #444444;
  --brand: oklch(34% 0.16 28);
  --brand-2: oklch(38% 0.17 28);
  --brand-soft: #ffffff;
  --brand-line: #7a1f16;
  --teal: oklch(32% 0.08 210);
  --teal-soft: #eef4f6;
  --gold: oklch(45% 0.12 76);
  --line: #8a8a8a;
  --line-strong: #141414;
  --shadow-1: none;
  --shadow-2: none;
}

/* 减少动效 */
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
  animation-duration: 1ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 1ms !important;
  scroll-behavior: auto !important;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar-h) + 4.5rem);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;          /* 18px @ 100% */
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.28; letter-spacing: 0.01em; }
p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--brand-2);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand); color: var(--paper-2);
  padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. 无障碍工具栏 ---------- */
.a11y-bar {
  position: sticky; top: 0; z-index: 120;
  background: var(--ink);
  color: oklch(96% 0.01 82);
  border-bottom: 1px solid var(--ink);
}
.a11y-inner {
  width: min(100% - 2rem, var(--wrap)); margin-inline: auto;
  min-height: var(--bar-h);
  display: flex; align-items: center; gap: var(--sp-3);
  flex-wrap: wrap; padding-block: var(--sp-1);
}
.a11y-title { font-size: 0.8125rem; letter-spacing: 0.14em; opacity: 0.72; margin-right: var(--sp-2); }
.a11y-group { display: flex; align-items: center; gap: 2px; }
.a11y-group-label { font-size: 0.8125rem; opacity: 0.72; margin-right: var(--sp-2); }
.a11y-btn {
  background: transparent; color: inherit;
  border: 1px solid oklch(100% 0 0 / 0.28);
  border-radius: var(--r-sm);
  padding: 0.28rem 0.7rem;
  font-size: 0.875rem; line-height: 1.5;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: background 160ms var(--ease), border-color 160ms var(--ease);
}
.a11y-btn:hover { background: oklch(100% 0 0 / 0.12); }
.a11y-btn[aria-pressed="true"] {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
  font-weight: 600;
}
.a11y-ico { font-size: 0.9em; }
.a11y-reset { margin-left: auto; opacity: 0.8; }
.a11y-bar :focus-visible { outline-color: oklch(88% 0.14 78); }

/* ---------- 4. 滚动进度 ---------- */
.scroll-progress { position: sticky; top: var(--bar-h); z-index: 118; height: 2px; background: transparent; }
.scroll-progress i { display: block; height: 100%; width: 0%; background: var(--brand); transition: width 90ms linear; }

/* ---------- 5. 顶栏 ---------- */
.site-header {
  position: sticky; top: var(--bar-h); z-index: 110;
  background: oklch(97.4% 0.016 82 / 0.94);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--line);
}
html[data-contrast="high"] .site-header { backdrop-filter: none; background: #fff; }
.header-inner { display: flex; align-items: center; gap: var(--sp-5); min-height: 4.25rem; }

.brand { display: flex; align-items: center; gap: var(--sp-3); color: var(--ink); flex: 0 0 auto; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; flex: 0 0 auto;
  background: var(--brand); color: var(--paper-2);
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0.06em; line-height: 1.1; border-radius: var(--r-sm);
  writing-mode: vertical-rl; text-orientation: upright; padding: 0.15rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.0625rem; letter-spacing: 0.02em; }
.brand-text em {
  font-style: normal; font-size: 0.6875rem; letter-spacing: 0.12em;
  color: var(--ink-3); text-transform: uppercase;
}

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: var(--sp-2); }
.primary-nav a {
  display: block; padding: 0.5rem 0.7rem;
  color: var(--ink-2); font-size: 0.9375rem; border-radius: var(--r-sm);
  border-bottom: 2px solid transparent;
}
.primary-nav a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--brand-line); }
.primary-nav a.is-current { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--paper-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); padding: 0.45rem 0.9rem; font-size: 0.9375rem;
  align-items: center; gap: 0.5rem;
}
.nav-toggle span {
  display: block; width: 1rem; height: 1px; background: currentColor; position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 1rem; height: 1px; background: currentColor;
}
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 62%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  /* 宣纸横纹：极淡的发丝线 */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, oklch(80% 0.012 76 / 0.28) 39px 40px);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-8); align-items: center;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.8125rem; letter-spacing: 0.16em; color: var(--ink-2);
  margin-bottom: var(--sp-5); text-transform: uppercase;
}
.eyebrow .dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--brand); display: inline-block; }

.hero-title { font-family: var(--font-serif); font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 600; letter-spacing: 0.03em; }
.hero-title .line { display: block; }
.hero-title .accent { color: var(--brand); }
.hero-lede {
  margin-top: var(--sp-5); max-width: 46ch; color: var(--ink-2);
  font-size: 1.0625rem; line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: 0.6rem 1.4rem;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 1rem; font-weight: 500; letter-spacing: 0.02em;
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--paper-2); border-color: var(--brand); }
.btn-primary:hover { background: oklch(38% 0.14 30); border-color: oklch(38% 0.14 30); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--brand); color: var(--brand); }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: var(--sp-6);
  margin: var(--sp-7) 0 0; padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.hero-facts dt { font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--ink-3); }
.hero-facts dd { margin: 0.15rem 0 0; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; }

.hero-figure { margin: 0; }
.hero-figure figcaption { font-size: 0.8125rem; color: var(--ink-3); margin-top: var(--sp-3); text-align: right; }
.scale-svg { width: 100%; height: auto; }
.scale-svg .scale-axis line { stroke: var(--line-strong); stroke-width: 1.5; }
.scale-svg .tick { stroke: var(--brand); stroke-width: 1.8; opacity: 0; transition: opacity 600ms var(--ease); }
.scale-svg .tick.is-alt { stroke: var(--teal); }
.scale-svg .bracket { stroke: var(--line-strong); stroke-width: 1; fill: none; }
.scale-svg .glabel { font-family: var(--font-sans); font-size: 12px; fill: var(--ink-2); letter-spacing: 0.04em; }
.scale-svg text { fill: var(--ink); }
.scale-svg .scale-kicker { font-size: 12px; letter-spacing: 0.22em; fill: var(--ink-3); font-family: var(--font-sans); }
.scale-svg .scale-head { font-family: var(--font-serif); font-size: 22px; letter-spacing: 0.04em; }
.scale-svg .scale-foot { font-size: 12px; fill: var(--ink-3); letter-spacing: 0.06em; font-family: var(--font-sans); }

.hero-strip {
  position: relative; display: flex; flex-wrap: wrap; gap: var(--sp-6);
  width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto;
  padding-block: var(--sp-3); border-top: 1px solid var(--line);
  font-size: 0.8125rem; letter-spacing: 0.18em; color: var(--ink-3);
}
.hero-strip span::before { content: "—"; margin-right: 0.6rem; color: var(--brand-line); }

/* ---------- 7. 数据条 ---------- */
.metrics { padding-block: var(--sp-7); background: var(--paper-2); border-bottom: 1px solid var(--line); }
.metric-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0;
}
.metric {
  padding: var(--sp-2) var(--sp-4);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.metric:first-child { border-left: 0; padding-left: 0; }
.metric b {
  font-family: var(--font-serif); font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.05; font-weight: 600; letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: baseline; gap: 0.15em;
}
.metric-unit { font-size: 0.9375rem; color: var(--brand); font-weight: 600; margin-top: 0.15rem; }
.metric-name { font-size: 1rem; color: var(--ink); margin-top: var(--sp-2); font-weight: 500; }
.metric small { font-size: 0.8125rem; line-height: 1.6; color: var(--ink-3); margin-top: var(--sp-1); }

/* ---------- 8. 通用区块 ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }

.sec-head { max-width: 60ch; margin-bottom: var(--sp-7); }
.sec-kicker {
  font-size: 0.75rem; letter-spacing: 0.24em; color: var(--brand);
  text-transform: uppercase; margin-bottom: var(--sp-3);
}
.sec-title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: 0.06em;
  position: relative; padding-bottom: var(--sp-4);
}
.sec-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 3.5rem; height: 3px; background: var(--brand);
}
.sec-lede { margin-top: var(--sp-5); color: var(--ink-2); font-size: 1.0625rem; line-height: 1.9; }
.sub-head {
  font-family: var(--font-serif); font-size: 1.3rem; letter-spacing: 0.05em;
  margin: var(--sp-6) 0 var(--sp-3);
  padding-left: var(--sp-4); border-left: 3px solid var(--brand-line);
}
.sub-head.center { text-align: center; border-left: 0; padding-left: 0; }
.sub-head.center::after {
  content: ""; display: block; width: 2.5rem; height: 2px; background: var(--brand); margin: var(--sp-3) auto 0;
}

/* ---------- 9. 双受众 ---------- */
.audience { padding-block: clamp(2.5rem, 5vw, 4rem); }
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: var(--sp-7); }
.aud { border-top: 2px solid var(--ink); padding-top: var(--sp-5); }
.aud-tag {
  font-size: 0.75rem; letter-spacing: 0.2em; color: var(--brand);
  text-transform: uppercase; margin-bottom: var(--sp-3);
}
.aud h3 { font-family: var(--font-serif); font-size: 1.55rem; margin-bottom: var(--sp-4); letter-spacing: 0.04em; }
.aud p { color: var(--ink-2); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 500; margin-top: var(--sp-3);
  border-bottom: 1px solid var(--brand-line); padding-bottom: 2px;
}
.link-arrow:hover { text-decoration: none; border-bottom-color: var(--brand); }
.link-arrow span { transition: transform 220ms var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- 10. 机构简介 ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--sp-8); }
.about-copy .lead {
  font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.95;
  color: var(--ink); margin-bottom: var(--sp-5);
}
.about-copy p { color: var(--ink-2); }
.honor-band { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.honor {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper-2); border: 1px solid var(--brand-line);
  border-radius: var(--r-sm); padding: 0.4rem 0.9rem;
  font-size: 0.9375rem; color: var(--brand);
}
.honor i { color: var(--gold); font-style: normal; }

.timeline { position: relative; padding-left: var(--sp-6); border-left: 1px solid var(--line-strong); }
.timeline li { position: relative; padding-bottom: var(--sp-6); }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: calc(-1 * var(--sp-6) - 4px); top: 0.65rem;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--brand);
}
.tl-year {
  display: block; font-family: var(--font-serif); font-size: 1.15rem;
  font-weight: 600; color: var(--brand); letter-spacing: 0.04em;
}
.tl-body { display: block; color: var(--ink-2); font-size: 1rem; line-height: 1.85; margin-top: 0.2rem; }
.tl-body b { display: block; color: var(--ink); font-family: var(--font-serif); font-size: 1.05rem; }

/* ---------- 11. 评估服务 ---------- */
.service-list { border-top: 1px solid var(--line-strong); }
.service {
  display: grid; grid-template-columns: 5rem minmax(0, 1fr);
  gap: var(--sp-5); padding-block: var(--sp-6);
  border-bottom: 1px solid var(--line);
  transition: background 240ms var(--ease);
}
.service:hover { background: var(--paper-2); }
.svc-num {
  font-family: var(--font-serif); font-size: 1.6rem; color: var(--brand-line);
  letter-spacing: 0.04em; line-height: 1.2;
}
.svc-body h3 { font-family: var(--font-serif); font-size: 1.35rem; letter-spacing: 0.04em; margin-bottom: var(--sp-3); }
.svc-body p { color: var(--ink-2); max-width: 62ch; }
.svc-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-4); }
.svc-tags li {
  font-size: 0.8125rem; color: var(--teal);
  background: var(--teal-soft); border-radius: var(--r-sm); padding: 0.2rem 0.65rem;
}
html[data-contrast="high"] .svc-tags li { border: 1px solid var(--teal); }

.scope-band { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line-strong); }
.scope-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: var(--sp-3) var(--sp-6); }
.scope-list li { color: var(--ink-2); padding-left: var(--sp-5); position: relative; }
.scope-list li::before {
  content: ""; position: absolute; left: 0; top: 0.85em;
  width: 0.85rem; height: 1px; background: var(--brand);
}

/* ---------- 12. 流程 ---------- */
.flow { border: 1px solid var(--line); background: var(--paper-2); border-radius: var(--r-md); overflow: hidden; }
.flow-steps {
  display: grid; grid-template-columns: repeat(10, 1fr);
  border-bottom: 1px solid var(--line); background: var(--paper);
}
.flow-steps li { border-left: 1px solid var(--line); }
.flow-steps li:first-child { border-left: 0; }
.flow-steps button {
  width: 100%; height: 100%; min-height: 5.5rem;
  background: transparent; border: 0; border-bottom: 3px solid transparent;
  padding: var(--sp-3) var(--sp-2);
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  text-align: center; transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
  color: var(--ink-2);
}
.flow-steps button:hover { background: var(--paper-3); }
.flow-steps button i {
  font-style: normal; font-family: var(--font-serif); font-size: 1.1rem;
  width: 1.9rem; height: 1.9rem; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.flow-steps button span { font-size: 0.875rem; line-height: 1.4; }
.flow-steps button[aria-selected="true"] {
  background: var(--paper-2); border-bottom-color: var(--brand); color: var(--brand);
}
.flow-steps button[aria-selected="true"] i { background: var(--brand); color: var(--paper-2); border-color: var(--brand); }

.flow-panels { padding: var(--sp-6) clamp(1.25rem, 4vw, 3rem); }
.flow-panel { max-width: 60ch; animation: fadeUp var(--dur) var(--ease) both; }
.fp-num {
  font-family: var(--font-serif); font-size: 2.6rem; line-height: 1;
  color: var(--brand-soft); margin-bottom: var(--sp-2);
}
.flow-panel h3 { font-family: var(--font-serif); font-size: 1.45rem; letter-spacing: 0.05em; margin-bottom: var(--sp-3); }
.flow-panel p { color: var(--ink-2); }

/* ---------- 13. 指标体系 ---------- */
.indicators { margin-top: var(--sp-8); }
.ind-note { text-align: center; color: var(--ink-2); max-width: 52ch; margin: 0 auto var(--sp-6); font-size: 1rem; }
.ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: var(--sp-4); }
.ind { border: 1px solid var(--line); background: var(--paper-2); border-radius: var(--r-md); overflow: hidden; }
.ind-head {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center;
  gap: var(--sp-3); padding: var(--sp-4) var(--sp-5); min-height: 3.75rem;
}
.ind-head:hover { background: var(--paper-3); }
.ind-idx { font-family: var(--font-serif); font-size: 1.2rem; color: var(--brand); }
.ind-name { font-weight: 600; font-size: 1.0625rem; }
.ind-count { font-size: 0.8125rem; color: var(--ink-3); white-space: nowrap; }
.ind-caret { font-size: 1.35rem; color: var(--brand); line-height: 1; transition: transform 260ms var(--ease); }
.ind.is-open .ind-caret { transform: rotate(45deg); }
.ind.is-open { border-color: var(--brand-line); }
.ind-panel { padding: 0 var(--sp-5) var(--sp-5); animation: fadeUp var(--dur) var(--ease) both; }
.ind-desc { color: var(--ink-2); font-size: 1rem; margin-bottom: var(--sp-4); }
.chip-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip-list li {
  font-size: 0.875rem; padding: 0.25rem 0.7rem;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink-2);
}
.disclaimer {
  margin-top: var(--sp-5); font-size: 0.875rem; color: var(--ink-3);
  border-left: 2px solid var(--line-strong); padding-left: var(--sp-4);
}

/* ---------- 14. 专家团队（专业构成陈述，不列示个人身份） ---------- */
.expert-lead {
  max-width: 60ch; margin: 0 0 var(--sp-7);
  font-size: 1.1875rem; line-height: 1.9; color: var(--ink-2); text-wrap: pretty;
  border-left: 2px solid var(--brand); padding-left: var(--sp-5);
}
.role-list { display: grid; margin: 0; border-top: 1px solid var(--line-strong); }
.role-item {
  display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr);
  align-items: baseline; gap: var(--sp-2) var(--sp-6);
  padding: var(--sp-5) var(--sp-3); border-bottom: 1px solid var(--line);
  transition: background 220ms var(--ease);
}
.role-item:hover { background: var(--paper-2); }
.role-item dt {
  font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--ink);
}
.role-item dd { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--sp-2) var(--sp-5); }
.role-org { font-size: 1rem; color: var(--ink-2); }
.role-pos { font-size: 1rem; color: var(--brand); font-weight: 600; }
.team-note { margin-top: var(--sp-6); font-size: 0.875rem; color: var(--ink-3); line-height: 1.8; max-width: 62ch; }

/* ---------- 15. 服务承诺 ---------- */
.pledge-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--sp-6) var(--sp-7); }
.pledge { border-top: 1px solid var(--line-strong); padding-top: var(--sp-4); }
.pl-idx { font-family: var(--font-serif); font-size: 0.9375rem; color: var(--brand); letter-spacing: 0.1em; }
.pledge h3 { font-size: 1.15rem; margin: var(--sp-2) 0 var(--sp-2); letter-spacing: 0.03em; }
.pledge p { color: var(--ink-2); font-size: 1rem; }

.alert-card {
  margin-top: var(--sp-8);
  border: 1px solid var(--brand-line); border-left: 4px solid var(--brand);
  background: var(--brand-soft); border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
}
.alert-tag {
  font-size: 0.75rem; letter-spacing: 0.2em; color: var(--brand);
  text-transform: uppercase; margin-bottom: var(--sp-2);
}
.alert-card p:last-child { color: var(--ink-2); line-height: 1.9; }

/* ---------- 16. 长者指南 ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr)); gap: var(--sp-7); margin-bottom: var(--sp-8); }
.tick-list li { position: relative; padding-left: var(--sp-5); color: var(--ink-2); margin-bottom: var(--sp-3); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 0.75em;
  width: 0.7rem; height: 0.7rem; border: 1px solid var(--brand); border-radius: 50%;
}
.tick-list b { color: var(--ink); display: block; font-weight: 600; }

/* 初筛工具 */
.screener {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--paper); padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-block: var(--sp-8);
}
.sc-form { margin-top: var(--sp-5); }
.sc-group { border: 0; padding: 0; margin: 0 0 var(--sp-6); }
.sc-group legend {
  font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0.05em;
  color: var(--ink); padding: 0; margin-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line); width: 100%; padding-bottom: var(--sp-2);
}
.sc-q { padding: var(--sp-3) 0; border-bottom: 1px dashed var(--line); }
.sc-q:last-child { border-bottom: 0; }
.sc-q > p { margin: 0 0 var(--sp-3); font-size: 1.0625rem; }
.sc-opts { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.sc-opts label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.9rem; min-height: 2.75rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  cursor: pointer; font-size: 0.9375rem;
  transition: background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}
.sc-opts label:hover { background: var(--paper-3); }
.sc-opts input { width: 1.15rem; height: 1.15rem; accent-color: var(--brand); flex: 0 0 auto; }
.sc-opts input:checked + span { font-weight: 600; color: var(--brand); }
.sc-opts label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.sc-error { color: var(--brand); font-size: 0.9375rem; margin-bottom: var(--sp-3); }
.sc-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

.sc-result {
  margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 2px solid var(--ink);
}
.sc-result h4 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: var(--sp-4); }
.sc-bars { display: grid; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.sc-bar { display: grid; grid-template-columns: 10rem 1fr auto; gap: var(--sp-3); align-items: center; }
.sc-bar-name { font-size: 0.9375rem; color: var(--ink-2); }
.sc-bar-track { height: 0.7rem; background: var(--paper-3); border-radius: 999px; overflow: hidden; }
.sc-bar-fill { display: block; height: 100%; width: 0; background: var(--brand); border-radius: 999px; transition: width 600ms var(--ease); }
.sc-bar-fill.lv1 { background: var(--teal); }
.sc-bar-fill.lv2 { background: var(--gold); }
.sc-bar-fill.lv3 { background: var(--brand); }
.sc-bar-lv { font-size: 0.875rem; color: var(--ink-2); white-space: nowrap; }
.sc-summary { color: var(--ink-2); line-height: 1.9; }
.sc-cta { font-size: 0.875rem; color: var(--ink-3); margin-top: var(--sp-3); }

/* 覆盖区域 */
.coverage { margin-block: var(--sp-8); }
.district-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr));
  gap: var(--sp-2); max-width: 52rem; margin-inline: auto;
}
.district {
  display: grid; place-items: center; text-align: center;
  min-height: 3.25rem; padding: var(--sp-2);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper-2); font-size: 0.9375rem; color: var(--ink-2);
  transition: background 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}
.district.is-core {
  background: var(--brand); color: var(--paper-2); border-color: var(--brand); font-weight: 600;
}
.district:hover, .district:focus-visible { border-color: var(--brand); }
.district.is-core:hover, .district.is-core:focus-visible { background: oklch(38% 0.14 30); }
.coverage-tip { text-align: center; font-size: 0.8125rem; color: var(--ink-3); margin-top: var(--sp-4); }

/* FAQ */
.faq { margin-top: var(--sp-8); }
.faq-list { border-top: 1px solid var(--line-strong); max-width: 62rem; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-2); min-height: 3.5rem;
  font-size: 1.0625rem; font-weight: 500;
}
.faq-q:hover { background: var(--paper-2); color: var(--brand); }
.faq-q i { font-style: normal; font-size: 1.5rem; color: var(--brand); line-height: 1; transition: transform 260ms var(--ease); flex: 0 0 auto; }
.faq-q[aria-expanded="true"] i { transform: rotate(45deg); }
.faq-a { padding: 0 var(--sp-2) var(--sp-5); animation: fadeUp var(--dur) var(--ease) both; }
.faq-a p { color: var(--ink-2); max-width: 68ch; }

/* ---------- 17. 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--sp-8); }
.info-list { display: grid; gap: var(--sp-4); margin: 0; }
.info-list > div { border-bottom: 1px solid var(--line); padding-bottom: var(--sp-3); }
.info-list dt { font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--ink-3); }
.info-list dd { margin: 0.2rem 0 0; font-size: 1.0625rem; }
/* 咨询电话：以图片呈现号码，随字号档位等比放大 */
.tel-link {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  gap: 0.35rem; padding: 0.15rem 0; border-radius: var(--r-sm);
  text-decoration: none;
}
.tel-img { display: block; width: 11.5rem; height: auto; }
.tel-link:hover .tel-img, .tel-link:focus-visible .tel-img { opacity: 0.82; }
.tel-hint { font-size: 0.8125rem; color: var(--ink-3); letter-spacing: 0.02em; }
html[data-contrast="high"] .tel-img { width: 12.5rem; }
.todo {
  display: inline-block; border: 1px dashed var(--brand-line);
  background: var(--brand-soft); color: var(--brand);
  padding: 0 0.5rem; border-radius: var(--r-sm); font-size: 0.9375rem;
}
.todo-inline { border-bottom: 1px dashed var(--line-strong); color: var(--ink-3); }
.info-note { margin-top: var(--sp-5); font-size: 0.875rem; color: var(--ink-3); line-height: 1.8; }

.cform { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
.field { display: flex; flex-direction: column; gap: var(--sp-2); }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.9375rem; font-weight: 500; }
.field label em { color: var(--brand); font-style: normal; }
.field input, .field select, .field textarea {
  background: var(--paper-2); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  padding: 0.7rem 0.85rem; min-height: 3rem; font-size: 1rem; width: 100%;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.field textarea { min-height: 7rem; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline-offset: 0; }
.field.invalid input, .field.invalid select { border-color: var(--brand); background: var(--brand-soft); }
.field-err { font-size: 0.875rem; color: var(--brand); margin: 0; }
.cform-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cform-note { grid-column: 1 / -1; font-size: 0.875rem; color: var(--ink-3); margin: 0; }

.cform-result { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 2px solid var(--ink); }
.cform-result h4 { font-family: var(--font-serif); font-size: 1.3rem; margin-bottom: var(--sp-3); }
.cform-result pre {
  white-space: pre-wrap; word-break: break-word;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-4); font-family: var(--font-sans); font-size: 0.9375rem; line-height: 1.8; margin: 0 0 var(--sp-4);
}
.cform-result-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.copy-hint { font-size: 0.875rem; color: var(--teal); margin: var(--sp-3) 0 0; min-height: 1.4em; }

/* ---------- 18. 页脚 ---------- */
.site-footer { background: var(--ink); color: oklch(93% 0.012 82); padding-block: var(--sp-8) var(--sp-6); margin-top: 0; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-8); padding-bottom: var(--sp-7); border-bottom: 1px solid oklch(100% 0 0 / 0.16);
}
.footer-brand { display: flex; gap: var(--sp-4); align-items: flex-start; }
.footer-brand .brand-mark { background: oklch(93% 0.012 82); color: var(--ink); }
.footer-brand strong { display: block; font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: var(--sp-2); }
.footer-brand p { color: oklch(80% 0.01 82); font-size: 0.9375rem; line-height: 1.85; }
.footer-qual li {
  position: relative; padding-left: var(--sp-5); margin-bottom: var(--sp-3);
  color: oklch(84% 0.01 82); font-size: 0.9375rem; line-height: 1.8;
}
.footer-qual li::before { content: "—"; position: absolute; left: 0; color: oklch(70% 0.06 76); }
.footer-bottom { padding-top: var(--sp-5); font-size: 0.8125rem; color: oklch(74% 0.008 82); }
.footer-bottom p { margin-bottom: var(--sp-2); }
.footer-legal { opacity: 0.85; }
.footer-a11y { opacity: 0.7; }
.site-footer a { color: oklch(88% 0.04 82); }

/* ---------- 19. 回到顶部 & 点读提示 ---------- */
.to-top {
  position: fixed; right: 1.25rem; bottom: 1.5rem; z-index: 90;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--ink); color: var(--paper-2); border: 1px solid var(--ink);
  display: grid; place-items: center; font-size: 1.25rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 240ms;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); border-color: var(--brand); }

.read-hint {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  z-index: 95; background: var(--brand); color: var(--paper-2);
  padding: 0.6rem 1.2rem; border-radius: 999px; font-size: 0.9375rem;
  box-shadow: var(--shadow-2);
}
body.read-mode [data-readable] { cursor: pointer; }
body.read-mode [data-readable]:hover { background: var(--brand-soft); }

/* ---------- 20. 滚动揭示 ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
html[data-motion="off"] .reveal { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-6); }
  .hero-figure { order: -1; max-width: 26rem; }
  .hero-figure figcaption { text-align: left; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .flow-steps { grid-template-columns: repeat(5, 1fr); }
  .flow-steps li:nth-child(6) { border-left: 0; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    display: none; margin-left: 0;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 0; padding: var(--sp-2) 0; }
  .primary-nav a { padding: 0.85rem 1.25rem; font-size: 1.0625rem; border-bottom: 0; border-left: 3px solid transparent; }
  .primary-nav a:hover, .primary-nav a.is-current { border-left-color: var(--brand); border-bottom-color: transparent; }
  .header-inner { position: relative; flex-wrap: wrap; }

  .metric { border-left: 0; border-top: 1px solid var(--line); padding: var(--sp-4) 0; }
  .metric:first-child { border-top: 0; }
  .metric-row { grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: 0 var(--sp-5); }

  .flow-steps { grid-template-columns: repeat(5, 1fr); grid-auto-rows: minmax(4.5rem, auto); }
  .service { grid-template-columns: 1fr; gap: var(--sp-2); }
  .svc-num { font-size: 1.2rem; }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-6); }
  .expert-lead { padding-left: var(--sp-4); font-size: 1.125rem; }
  .role-item { grid-template-columns: 1fr; padding-inline: 0; }
  .cform { grid-template-columns: 1fr; }
  .sc-bar { grid-template-columns: 1fr auto; }
  .sc-bar-track { grid-column: 1 / -1; }
  .brand-text em { display: none; }
}

@media (max-width: 560px) {
  .hero-facts { gap: var(--sp-4) var(--sp-6); }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .flow-steps li:nth-child(odd) { border-left: 0; }
  .hero-strip { gap: var(--sp-3) var(--sp-5); font-size: 0.75rem; }
  .a11y-title, .a11y-group-label { display: none; }
  .a11y-reset { margin-left: 0; }
}

/* 打印：输出咨询摘要 */
@media print {
  .a11y-bar, .site-header, .to-top, .scroll-progress, .hero-figure, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .cform-result { border-top: 1px solid #000; }
}
