@charset "UTF-8";
/* ==========================================================================
   吾老科技 WulaoTech · 设计系统 + 首页样式
   移动优先 / 适老化 / WCAG 2.1 AA
   字号基准：--fs = 18px（标准）→ 20px（大字号）→ 22px（适老模式），A/A+ 按钮可调，全站字号由 calc 派生
   ========================================================================== */

:root {
  /* 品牌色（说明书第 5 节，禁止自创） */
  --c-primary: #E28024;
  --c-primary-dark: #35434A;
  --c-primary-hover: #B05A16;
  --c-blue-soft: #FBECD2;
  --c-bg: #FBF6EF;
  --c-warm: #E28024;
  --c-warm-soft: #F5E4C9;
  --c-warm-line: #EBD9BE;
  --c-mark: #F3E1C6;
  --c-text: #35434A;
  --c-text-2: #5D6E73;
  --c-line: #E6DED2;
  --c-link: #B05A16;      /* 正文链接色：比主色深一档，浅底色上仍达 5.5:1 */
  --c-warm-text: #A94B1B; /* 暖色小字：浅肤底上 4.9:1 */

  /* 客户精准色（2026-10-23 第二次校准） */
  --c-blue: #198BC8;      /* 蓝：切换按钮/AI 助手/吾字标（大字或图形场景） */
  --c-blue-deep: #1473A6; /* 蓝加深：小号白字场景 5.2:1 */
  --c-slate: #97AFB4;     /* 铅灰点缀 */
  --c-sand: #EAB686;      /* 深肤点缀 */

  /* 语义色（仅用于表单校验，非品牌色） */
  --c-danger: #B3261E;
  --c-success: #1B6B45;

  /* 尺寸 */
  --fs: 18px;
  --lh: 1.7;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --header-h: 64px;
  --container: 1160px;

  --shadow-1: 0 1px 2px rgba(53, 67, 74, 0.05);
  --shadow-2: 0 2px 6px rgba(53, 67, 74, 0.04), 0 18px 40px -24px rgba(53, 67, 74, 0.28);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 适老模式：整体字号 20px、行距加大、高对比 */
html[data-senior="1"] {
  --fs: 22px;
  --lh: 1.85;
  --shadow-1: none;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans SC", "MiSans",
    "PingFang SC", "Microsoft YaHei", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs);
  line-height: var(--lh);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.03em;            /* 中文略微加宽，老人扫读更稳 */
  font-variant-numeric: tabular-nums; /* 数字等宽，指标对齐易读 */
  font-synthesis: none;               /* 禁止仿斜体/仿细体 */
}

i, em, cite, address { font-style: normal; } /* 老年网站不用斜体 */
h1, h2, h3, h4 { letter-spacing: 0.02em; }

h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: var(--c-link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: #F5E2C4; color: var(--c-primary-dark); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 300;
  padding: 14px 22px;
  background: #fff;
  color: var(--c-primary-dark);
  font-weight: 700;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-2);
}
.skip-link:focus { top: 12px; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }
@media (min-width: 1100px) { .container { padding-inline: 40px; } }

/* ---------- 通用排版 ---------- */
.article p, .legal p, .lede, .form__note { max-width: 36em; }

.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 80px; } }
@media (min-width: 1100px) { .section { padding-block: 100px; } }
.section--tight { padding-block: 48px; }
.section--white { background: #fff; }

.section-head { max-width: 760px; margin-bottom: 32px; }
@media (min-width: 768px) { .section-head { margin-bottom: 44px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: calc(var(--fs) * 0.85);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-link);
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-warm);
  flex: none;
}

.h2 {
  font-size: calc(var(--fs) * 1.5);
  line-height: 1.35;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .h2 { font-size: calc(var(--fs) * 1.85); } }
@media (min-width: 1100px) { .h2 { font-size: calc(var(--fs) * 2.05); } }

.lede {
  margin-top: 14px;
  max-width: 58ch;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 1.02);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  font-size: calc(var(--fs) * 1);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-primary); color: #33261A; }
.btn--primary:hover { background: var(--c-primary-hover); color: #33261A; }

.btn--ghost {
  background: #fff;
  color: var(--c-primary-dark);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-primary); background: var(--c-blue-soft); }

.btn--onDark {
  background: rgba(255, 255, 255, 0.38);
  color: #26343A;
  border-color: rgba(38, 52, 58, 0.45);
}
.btn--onDark:hover { background: rgba(255, 255, 255, 0.62); color: #26343A; }

.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 14px 30px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-line);
  box-shadow: 0 10px 30px -26px rgba(53, 67, 74, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}
@media (min-width: 1100px) { :root { --header-h: 76px; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--c-primary-dark);
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--c-primary);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  flex: none;
}
.brand-name {
  display: block;
  font-size: calc(var(--fs) * 1.12);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.brand-en {
  display: block;
  font-size: calc(var(--fs) * 0.7);
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  color: var(--c-text-2);
  text-transform: uppercase;
}

.nav { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: none;
}

.senior-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-primary-dark);
  font-size: calc(var(--fs) * 0.85);
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.senior-toggle:hover { border-color: var(--c-primary); background: var(--c-blue-soft); }
.senior-toggle__dot {
  position: relative;
  width: 34px; height: 20px;
  border-radius: var(--r-pill);
  background: #DEC9A8;
  flex: none;
  transition: background-color 0.2s var(--ease);
}
.senior-toggle__dot::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease);
}
.senior-toggle[aria-pressed="true"] { background: var(--c-blue-soft); border-color: var(--c-primary); }
.senior-toggle[aria-pressed="true"] .senior-toggle__dot { background: var(--c-blue); border-color: var(--c-blue-deep); }
.senior-toggle[aria-pressed="true"] .senior-toggle__dot::after { transform: translateX(14px); }
.senior-toggle__label { display: none; }
@media (min-width: 480px) { .senior-toggle__label { display: inline; } }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  color: var(--c-primary-dark);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: var(--c-blue-soft); border-color: var(--c-primary); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--c-blue-soft);
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: calc(var(--fs) * 0.92);
  white-space: nowrap;
}
.header-phone:hover { background: #F0E0C4; text-decoration: none; }
.header-phone__num { display: none; }
@media (min-width: 620px) { .header-phone__num { display: inline; } }

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  color: var(--c-primary-dark);
  cursor: pointer;
  /* 手机端：消除 300ms 点击延迟与双击缩放，保证点击热区稳定 */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  z-index: 101;
}
.menu-btn__bars { position: relative; width: 20px; height: 14px; pointer-events: none; }
.menu-btn__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s var(--ease), opacity 0.2s;
}
.menu-btn__bars span:nth-child(1) { top: 0; }
.menu-btn__bars span:nth-child(2) { top: 6px; }
.menu-btn__bars span:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 移动端抽屉 */
@media (max-width: 1099px) {
  .nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-h);
    z-index: 99;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px 20px 24px;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 24px 40px -30px rgba(53, 67, 74, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 8px 4px;
    border-bottom: 1px solid #F9F1E2;
    color: var(--c-text);
    font-weight: 600;
    font-size: calc(var(--fs) * 1.02);
  }
  .nav__link:hover { color: var(--c-primary-dark); text-decoration: none; }
  .nav__link[aria-current="page"] { color: var(--c-primary); }
  .nav__link[aria-current="page"]::after {
    content: "当前页";
    font-size: calc(var(--fs) * 0.78);
    font-weight: 600;
    color: var(--c-primary);
    background: var(--c-blue-soft);
    padding: 2px 8px;
    border-radius: var(--r-pill);
  }
  .nav__foot { margin-top: 20px; }
  .nav__foot .btn { width: 100%; }
  .nav__foot .btn + .btn { margin-top: 10px; }
}

/* 窄屏：朗读入口移入抽屉，避免页头挤压 */
@media (max-width: 519px) {
  #voiceBtn { display: none; }
}
@media (min-width: 520px) {
  #voiceBtnMobile { display: none; }
}
@media (max-width: 359px) {
  .header-phone { display: none; }
  .brand-en { display: none; }
}

@media (min-width: 1100px) {
  .nav { display: block; margin-left: auto; }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 10px;
    color: var(--c-text);
    font-weight: 500;
    font-size: calc(var(--fs) * 0.94);
    white-space: nowrap;
    transition: background-color 0.18s, color 0.18s;
  }
  .nav__link:hover { background: var(--c-blue-soft); color: var(--c-primary-dark); text-decoration: none; }
  .nav__link[aria-current="page"] {
    background: var(--c-blue-soft);
    color: var(--c-primary-dark);
    font-weight: 700;
  }
  .nav__foot { display: none; }
  .menu-btn { display: none; }
  .header-actions { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: 40px 48px; background: var(--c-bg); }
@media (min-width: 768px) { .hero { padding-block: 56px 72px; } }
@media (min-width: 1100px) { .hero { padding-block: 76px 96px; } }

.hero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.04fr 0.96fr; gap: 64px; }
}

.hero__title {
  margin: 18px 0 0;
  font-size: calc(var(--fs) * 1.95);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-primary-dark);
}
@media (min-width: 768px) { .hero__title { font-size: calc(var(--fs) * 2.5); } }
@media (min-width: 1024px) { .hero__title { font-size: calc(var(--fs) * 2.9); } }

.mark {
  font-style: normal;
  background: var(--c-mark);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding: 0 0.12em;
  border-radius: 4px;
}

.hero__lede {
  margin-top: 20px;
  max-width: 46ch;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 1.08);
  line-height: 1.75;
}
.hero__lede strong { color: var(--c-text); font-weight: 600; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__actions .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .hero__actions .btn { flex: 0 0 auto; } }

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 1);
}
.hero__note a { font-weight: 700; color: var(--c-primary-dark); }

.hero__media {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-blue-soft);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-2);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

.media-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.76);
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- 四有 ---------- */
.four {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 560px) { .four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .four { grid-template-columns: repeat(4, 1fr); } }

.four__item {
  background: #fff;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 768px) { .four__item { padding: 30px 26px; } }

.four__num {
  font-size: calc(var(--fs) * 0.8);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--c-warm-text);
}
.four__text {
  font-size: calc(var(--fs) * 1.12);
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-primary-dark);
}

/* ---------- 三大业务 ---------- */
.biz-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .biz-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
@media (min-width: 768px) { .card { padding: 28px; } }

.biz-card { display: flex; flex-direction: column; height: 100%; }
.biz-card:hover {
  transform: translateY(-3px);
  border-color: #D5BF9E;
  box-shadow: var(--shadow-2);
}

.biz-card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--c-blue-soft);
  color: var(--c-primary);
  margin-bottom: 18px;
}
.biz-card__title {
  font-size: calc(var(--fs) * 1.25);
  font-weight: 700;
  color: var(--c-primary-dark);
  line-height: 1.4;
}
.biz-card__desc {
  margin-top: 10px;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.97);
  line-height: 1.7;
}
.biz-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.8);
  font-weight: 500;
}
.biz-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
  min-height: 44px;
  font-weight: 700;
  color: var(--c-primary);
  font-size: calc(var(--fs) * 0.95);
}
.biz-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.biz-card__link:hover { text-decoration: none; }
.biz-card:hover .biz-card__link { color: var(--c-primary-hover); }
.biz-card:hover .biz-card__link svg { transform: translateX(3px); }
.biz-card__link svg { transition: transform 0.2s var(--ease); }

/* ---------- 故事 ---------- */
.story-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .story-grid { grid-template-columns: 1fr 1fr; } }

.story-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.story-card__media { position: relative; margin: 0; aspect-ratio: 16 / 10; background: var(--c-blue-soft); }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; }
.story-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.story-card__role {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--c-warm-soft);
  color: #8A3A16;
  font-size: calc(var(--fs) * 0.78);
  font-weight: 700;
  margin-bottom: 12px;
}
.story-card__quote {
  font-size: calc(var(--fs) * 1.12);
  font-weight: 700;
  line-height: 1.55;
  color: var(--c-primary-dark);
}
.story-card__text { margin-top: 10px; color: var(--c-text-2); font-size: calc(var(--fs) * 0.96); }
.story-card__meta { margin-top: 16px; color: var(--c-text-2); font-size: calc(var(--fs) * 0.82); }

/* ---------- 文化面板 ---------- */
.panel {
  background: var(--c-blue-soft);
  border-radius: var(--r-lg);
  padding: 28px 22px;
}
@media (min-width: 768px) { .panel { padding: 40px; } }
@media (min-width: 960px) {
  .panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    padding: 52px;
  }
}
.panel .h2 { font-size: calc(var(--fs) * 1.4); }
@media (min-width: 768px) { .panel .h2 { font-size: calc(var(--fs) * 1.7); } }

.culture-list { display: flex; flex-direction: column; gap: 2px; }
.culture-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 4px;
  border-bottom: 1px solid #D8C29A;
}
.culture-item:first-child { border-top: 1px solid #D8C29A; }
.culture-item__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-primary);
  flex: none;
}
.culture-item__name {
  font-weight: 700;
  color: var(--c-primary-dark);
  font-size: calc(var(--fs) * 1);
}
.culture-item__meta {
  margin-left: auto;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.8);
  white-space: nowrap;
}
.culture-note {
  margin-top: 16px;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.85);
  line-height: 1.6;
}

/* ---------- 信任 ---------- */
.trust-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-card {
  background: #fff;
  border: 1px dashed #D5BF9E;
  border-radius: var(--r-md);
  padding: 24px;
}
.trust-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.trust-card__title {
  font-size: calc(var(--fs) * 1.02);
  font-weight: 700;
  color: var(--c-primary-dark);
}
.trust-card__tag {
  flex: none;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--c-warm-soft);
  border: 1px solid var(--c-warm-line);
  color: #8A3A16;
  font-size: calc(var(--fs) * 0.74);
  font-weight: 700;
  white-space: nowrap;
}
.trust-card__text {
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.9);
  line-height: 1.7;
}

/* ---------- AI 引导 ---------- */
.ai-panel {
  position: relative;
  background: #97AFB4;
  color: #2E3B41;
  border-radius: var(--r-lg);
  padding: 32px 22px;
  overflow: hidden;
}
@media (min-width: 768px) { .ai-panel { padding: 44px; } }
@media (min-width: 980px) {
  .ai-panel {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 56px;
    align-items: center;
    padding: 56px;
  }
}
.ai-panel .eyebrow { color: #26343A; }
.ai-panel .h2 { color: #26343A; font-size: calc(var(--fs) * 1.45); }
@media (min-width: 768px) { .ai-panel .h2 { font-size: calc(var(--fs) * 1.8); } }
.ai-panel__text {
  margin-top: 14px;
  color: #2E3B41;
  font-size: calc(var(--fs) * 0.98);
  max-width: 46ch;
}
.ai-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(38, 52, 58, 0.45);
  background: rgba(255, 255, 255, 0.42);
  color: #26343A;
  font-size: calc(var(--fs) * 0.88);
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s, border-color 0.2s;
}
.chip:hover { background: rgba(255, 255, 255, 0.65); border-color: rgba(38, 52, 58, 0.7); }

.ai-panel__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.ai-preview {
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.32);
  border: 1px solid rgba(38, 52, 58, 0.22);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-preview__row { display: flex; gap: 10px; align-items: flex-start; }
.ai-preview__avatar {
  width: 32px; height: 32px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--c-blue-deep);
  color: #fff;
}
.ai-preview__bubble {
  padding: 10px 14px;
  border-radius: 4px 14px 14px 14px;
  background: rgba(255, 255, 255, 0.8);
  color: #2E3B41;
  font-size: calc(var(--fs) * 0.88);
  line-height: 1.6;
}
.ai-preview__meta { color: #3E4F55; font-size: calc(var(--fs) * 0.78); }

/* ---------- 留资 ---------- */
.lead__grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .lead__grid { grid-template-columns: 1fr 0.86fr; gap: 64px; align-items: start; }
}

.lead__points { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.lead__point { display: flex; gap: 12px; align-items: flex-start; color: var(--c-text-2); }
.lead__point svg { flex: none; color: var(--c-primary); margin-top: 3px; }

.form {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-2);
}
@media (min-width: 560px) { .form { padding: 32px 28px; } }

.form__title {
  font-size: calc(var(--fs) * 1.15);
  font-weight: 700;
  color: var(--c-primary-dark);
  margin-bottom: 6px;
}
.form__sub { color: var(--c-text-2); font-size: calc(var(--fs) * 0.85); margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: calc(var(--fs) * 0.92);
  color: var(--c-text);
}
.field__req { color: var(--c-danger); margin-left: 4px; }

.field input,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #E2CDAC;
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--c-text);
  font-family: inherit;
  font-size: var(--fs);
  line-height: 1.4;
}
.field input::placeholder { color: #A9BCC0; }
.field input:hover,
.field select:hover { border-color: #C9B491; }
.field input:focus,
.field select:focus { border-color: var(--c-primary); }
.field input:focus-visible,
.field select:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 1px; }

.field--error input,
.field--error select { border-color: var(--c-danger); background: #FDFAF5; }
.field__error {
  display: none;
  margin-top: 6px;
  color: var(--c-danger);
  font-size: calc(var(--fs) * 0.82);
  font-weight: 600;
}
.field--error .field__error { display: block; }

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 8px 0;
  cursor: pointer;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.85);
  line-height: 1.6;
}
.checkbox input {
  width: 22px; height: 22px;
  margin: 3px 0 0;
  flex: none;
  accent-color: var(--c-primary);
  cursor: pointer;
}
.checkbox a { color: var(--c-primary-dark); text-decoration: underline; text-underline-offset: 2px; }

.form__status {
  margin-top: 14px;
  padding: 0;
  font-size: calc(var(--fs) * 0.88);
  line-height: 1.6;
  color: var(--c-text-2);
}
.form__status.is-success {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: #EAF6EF;
  color: var(--c-success);
  font-weight: 600;
}
.form__status.is-error {
  padding: 12px 14px;
  border-radius: var(--r-sm);
  background: #F9EFDE;
  color: var(--c-danger);
  font-weight: 600;
}
.form__note { margin-top: 12px; color: var(--c-text-2); font-size: calc(var(--fs) * 0.82); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #97AFB4;
  color: #2E3B41;
  padding-top: 48px;
  font-size: calc(var(--fs) * 0.9);
}
@media (min-width: 768px) { .site-footer { padding-top: 64px; } }

.footer__grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; } }

.footer__brand-name {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #26343A;
  font-size: calc(var(--fs) * 1.1);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer__brand-name .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.footer__desc { line-height: 1.75; color: #2E3B41; }

.footer__title {
  color: #26343A;
  font-weight: 700;
  font-size: calc(var(--fs) * 0.92);
  margin-bottom: 14px;
}
.footer__list { display: flex; flex-direction: column; gap: 2px; }
.footer__list a,
.footer__list span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2E3B41;
  font-size: calc(var(--fs) * 0.9);
}
.footer__list a:hover { color: #26343A; }
.footer__list .is-muted { color: #44555C; }

.footer__contact li { display: flex; gap: 10px; padding: 4px 0; align-items: center; }
.footer__contact svg { flex: none; color: #33261A; }
.footer__contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #26343A;
  font-weight: 600;
}
.footer__contact a:hover { text-decoration: underline; }

.footer__bottom {
  margin-top: 40px;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(38, 52, 58, 0.28);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  color: #2E3B41;
  font-size: calc(var(--fs) * 0.8);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #26343A;
}
.footer__legal a:hover { color: #33261A; }
.footer__beian {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2E3B41;
}

.site-footer :focus-visible { outline-color: #26343A; }

/* 行内链接扩大点击热区（不影响排版） */
.inline-hit {
  display: inline-block;
  padding: 10px 4px;
  margin: -10px -4px;
  min-height: 44px;
  vertical-align: middle;
}

/* ---------- AI 浮窗 ---------- */
.ai-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 56px;
  height: 56px;
  padding: 0 16px;
  border: none;
  border-radius: var(--r-pill);
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: calc(var(--fs) * 0.9);
  box-shadow: 0 12px 28px -10px rgba(53, 67, 74, 0.55);
  cursor: pointer;
  transition: background-color 0.2s, transform 0.15s var(--ease);
}
.ai-fab:hover { background: var(--c-primary-hover); }
.ai-fab:active { transform: scale(0.97); }
.ai-fab__label { display: none; }
@media (min-width: 768px) { .ai-fab__label { display: inline; } }

.ai-dialog {
  position: fixed;
  right: 16px;
  bottom: 84px;
  z-index: 95;
  display: none;
  flex-direction: column;
  width: calc(100% - 32px);
  max-width: 386px;
  max-height: min(72vh, 580px);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  box-shadow: 0 30px 70px -24px rgba(53, 67, 74, 0.45);
  overflow: hidden;
}
.ai-dialog.is-open { display: flex; }

.ai-dialog__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 14px 18px;
  border-bottom: 1px solid var(--c-line);
  background: #fff;
}
.ai-dialog__title { font-weight: 700; color: var(--c-primary-dark); font-size: calc(var(--fs) * 0.98); }
.ai-dialog__sub { display: block; color: var(--c-text-2); font-size: calc(var(--fs) * 0.74); font-weight: 500; }
.ai-dialog__close {
  margin-left: auto;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--c-text-2);
  cursor: pointer;
}
.ai-dialog__close:hover { background: var(--c-bg); color: var(--c-primary-dark); }

.ai-dialog__body {
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  background: var(--c-bg);
}
.ai-msg {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: calc(var(--fs) * 0.9);
  line-height: 1.65;
  white-space: pre-line;
}
.ai-msg--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-text);
  border-bottom-left-radius: 4px;
}
.ai-msg--user {
  align-self: flex-end;
  background: var(--c-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.ai-msg__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ai-msg__actions .btn { min-height: 44px; font-size: calc(var(--fs) * 0.82); padding: 8px 14px; }

.ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--c-line);
  background: #fff;
}
.ai-quick button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-primary-dark);
  font-size: calc(var(--fs) * 0.82);
  font-weight: 600;
  cursor: pointer;
}
.ai-quick button:hover { background: var(--c-blue-soft); border-color: var(--c-primary); }

.ai-dialog__foot {
  padding: 10px 16px 14px;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.78);
  line-height: 1.5;
  background: #fff;
  border-top: 1px solid #F9F1E2;
}

/* ---------- 动效 ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 适老模式增强 ---------- */
body.senior-mode {
  color: #202A2C;
  background: #fff;
}
body.senior-mode a { text-decoration: underline; text-underline-offset: 3px; }
body.senior-mode .btn { min-height: 60px; }
body.senior-mode .header-phone { background: var(--c-blue-soft); }
body.senior-mode .card,
body.senior-mode .trust-card,
body.senior-mode .four__item { border-width: 2px; }
body.senior-mode .tag,
body.senior-mode .story-card__role,
body.senior-mode .trust-card__tag {
  font-size: calc(var(--fs) * 0.78);
  border-width: 1.5px;
}
body.senior-mode .js .reveal,
body.senior-mode .reveal { opacity: 1; transform: none; transition: none; }
body.senior-mode .biz-card:hover,
body.senior-mode .card:hover { transform: none; }

/* ==========================================================================
   子页共享组件
   ========================================================================== */

/* ---------- 页头 Hero（内页） ---------- */
.page-hero {
  background: var(--c-blue-soft);
  padding-block: 36px 44px;
}
@media (min-width: 768px) { .page-hero { padding-block: 52px 64px; } }
@media (min-width: 1100px) { .page-hero { padding-block: 64px 80px; } }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-bottom: 18px;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.82);
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--c-text-2);
}
.breadcrumbs a:hover { color: var(--c-primary-dark); }
.breadcrumbs .is-current { color: var(--c-primary-dark); font-weight: 600; }
.breadcrumbs__sep { color: var(--c-text-2); padding: 0 4px; }

.page-hero .h1 {
  font-size: calc(var(--fs) * 1.7);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--c-primary-dark);
}
@media (min-width: 768px) { .page-hero .h1 { font-size: calc(var(--fs) * 2.15); } }
@media (min-width: 1100px) { .page-hero .h1 { font-size: calc(var(--fs) * 2.45); } }

.page-hero__lede {
  margin-top: 16px;
  max-width: 60ch;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 1.02);
}

/* ---------- 通用两栏 ---------- */
.split { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
}
.split--wide-right { grid-template-columns: 1fr; }
@media (min-width: 900px) { .split--wide-right { grid-template-columns: 0.9fr 1.1fr; } }

.media-frame {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-blue-soft);
  box-shadow: var(--shadow-2);
  position: relative;
}
.media-frame--43 { aspect-ratio: 3 / 2; }
.media-frame--1610 { aspect-ratio: 16 / 10; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 筛选条（产品 / 新闻分类） ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 18px;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--c-text);
  font-size: calc(var(--fs) * 0.92);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s;
}
.filter-btn:hover { border-color: var(--c-primary); color: var(--c-primary-dark); }
.filter-btn[aria-pressed="true"] {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #33261A;
}
.filter-btn .n {
  margin-left: 6px;
  font-size: calc(var(--fs) * 0.78);
  opacity: 0.72;
  font-weight: 500;
}

/* ---------- 产品卡 ---------- */
.product-grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1240px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.product-card__media { margin: 0; aspect-ratio: 1 / 1; background: var(--c-blue-soft); position: relative; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__cat {
  position: absolute;
  top: 12px; left: 12px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  color: var(--c-primary-dark);
  font-size: calc(var(--fs) * 0.74);
  font-weight: 700;
}
.product-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__name { font-size: calc(var(--fs) * 1.02); font-weight: 700; color: var(--c-primary-dark); line-height: 1.5; }
.product-card__desc { margin-top: 6px; color: var(--c-text-2); font-size: calc(var(--fs) * 0.86); line-height: 1.65; }
.product-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-card__price { color: var(--c-text-2); font-size: calc(var(--fs) * 0.85); font-weight: 600; }
.product-card__price .is-tbd { color: #7A4E22; }
.product-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  background: var(--c-blue-soft);
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: calc(var(--fs) * 0.85);
}
.product-card__link:hover { background: #F0E0C4; text-decoration: none; }

/* ---------- 活动卡 ---------- */
.event-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .event-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .event-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }

.event-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.event-card__media { margin: 0; aspect-ratio: 16 / 10; background: var(--c-blue-soft); position: relative; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--c-warm-soft);
  border: 1px solid var(--c-warm-line);
  color: #8A3A16;
  font-size: calc(var(--fs) * 0.74);
  font-weight: 700;
}
.event-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.event-card__name { font-size: calc(var(--fs) * 1.02); font-weight: 700; color: var(--c-primary-dark); line-height: 1.5; }
.event-card__meta { color: var(--c-text-2); font-size: calc(var(--fs) * 0.84); line-height: 1.6; }
.event-card__btn { margin-top: auto; padding-top: 12px; }

/* ---------- 照片墙 ---------- */
.photo-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .photo-grid { grid-template-columns: 1fr 1fr 1fr; } }
.photo-grid figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-blue-soft);
  aspect-ratio: 4 / 3;
  position: relative;
}
.photo-grid img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid figcaption {
  position: absolute;
  left: 10px; bottom: 10px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.72);
}

/* ---------- 服务流程 ---------- */
.step-list {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
@media (min-width: 960px) {
  .step-list { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}
.step {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--shadow-1);
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-blue-soft);
  color: var(--c-primary-dark);
  font-weight: 700;
  font-size: calc(var(--fs) * 0.9);
  margin-bottom: 12px;
}
.step__name { font-weight: 700; color: var(--c-primary-dark); font-size: calc(var(--fs) * 0.98); line-height: 1.5; }
.step__text { margin-top: 6px; color: var(--c-text-2); font-size: calc(var(--fs) * 0.84); line-height: 1.65; }

/* ---------- 套餐 ---------- */
.price-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.price-card { display: flex; flex-direction: column; }
.price-card--hot { border: 2px solid var(--c-warm); }
.price-card__badge {
  align-self: flex-start;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--c-warm-soft);
  border: 1px solid var(--c-warm-line);
  color: #8A3A16;
  font-size: calc(var(--fs) * 0.74);
  font-weight: 700;
}
.price-card__name { font-size: calc(var(--fs) * 1.12); font-weight: 700; color: var(--c-primary-dark); }
.price-card__price { margin-top: 8px; font-size: calc(var(--fs) * 1.35); font-weight: 700; color: var(--c-primary); }
.price-card__price small { font-size: calc(var(--fs) * 0.72); font-weight: 500; color: var(--c-text-2); }
.price-card__list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.price-card__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--c-text-2); font-size: calc(var(--fs) * 0.9); }
.price-card__list svg { flex: none; color: var(--c-primary); margin-top: 3px; }
.price-card .btn { margin-top: auto; }
.price-card__body-gap { display: flex; flex-direction: column; flex: 1; gap: 0; }

/* ---------- 发展历程 ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 4px; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 10px; bottom: 10px;
  width: 2px;
  background: var(--c-line);
  border-radius: 2px;
}
.timeline__item { position: relative; padding: 10px 0 14px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -26px; top: 18px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary);
}
.timeline__year { font-weight: 700; color: var(--c-link); font-size: calc(var(--fs) * 0.92); }
.timeline__text { margin-top: 4px; color: var(--c-text-2); font-size: calc(var(--fs) * 0.94); line-height: 1.7; }

/* ---------- 文化四尊/四成就 网格 ---------- */
.culture-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .culture-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .culture-grid { grid-template-columns: repeat(4, 1fr); } }
.culture-cell {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 22px;
}
.culture-cell__t { font-weight: 700; color: var(--c-primary-dark); font-size: calc(var(--fs) * 1); line-height: 1.5; }
.culture-cell__d { margin-top: 6px; color: var(--c-text-2); font-size: calc(var(--fs) * 0.86); line-height: 1.65; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; border-top: 1px solid var(--c-line); }
.news-item { border-bottom: 1px solid var(--c-line); }
.news-item a {
  display: grid;
  gap: 4px 20px;
  padding: 22px 4px;
  min-height: 44px;
  grid-template-columns: 1fr;
  color: var(--c-text);
}
@media (min-width: 720px) {
  .news-item a { grid-template-columns: 110px 1fr auto; align-items: baseline; }
}
.news-item a:hover { background: var(--c-blue-soft); text-decoration: none; }
.news-item__date { color: var(--c-text-2); font-size: calc(var(--fs) * 0.85); white-space: nowrap; }
.news-item__title { font-weight: 700; color: var(--c-primary-dark); font-size: calc(var(--fs) * 1.02); line-height: 1.55; }
.news-item__sum { grid-column: 1 / -1; color: var(--c-text-2); font-size: calc(var(--fs) * 0.88); line-height: 1.7; }
.news-item__cat {
  justify-self: start;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--c-blue-soft);
  color: var(--c-primary-dark);
  font-size: calc(var(--fs) * 0.74);
  font-weight: 700;
  white-space: nowrap;
}
.pager { display: flex; gap: 10px; justify-content: center; margin-top: 32px; }
.pager span {
  display: inline-grid;
  place-items: center;
  min-width: 44px; min-height: 44px;
  border-radius: 10px;
  border: 1px solid var(--c-line);
  background: #fff;
  color: var(--c-text-2);
  font-weight: 600;
}
.pager .is-on { background: var(--c-primary); border-color: var(--c-primary); color: #33261A; }

/* ---------- 文章页 ---------- */
.article { max-width: 760px; }
.article h1 {
  font-size: calc(var(--fs) * 1.5);
  line-height: 1.4;
  font-weight: 700;
  color: var(--c-primary-dark);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .article h1 { font-size: calc(var(--fs) * 1.9); } }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  margin-top: 16px;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.86);
}
.article__cover {
  margin: 28px 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-blue-soft);
}
.article__cover img { width: 100%; height: auto; }
.article__body { margin-top: 8px; }
.article__body p { margin: 18px 0; color: var(--c-text); line-height: 1.85; font-size: calc(var(--fs) * 1); }
.article__body h2 {
  margin: 34px 0 6px;
  font-size: calc(var(--fs) * 1.18);
  font-weight: 700;
  color: var(--c-primary-dark);
}
.article__body ul { margin: 12px 0; display: flex; flex-direction: column; gap: 8px; }
.article__body li { position: relative; padding-left: 22px; color: var(--c-text); line-height: 1.8; }
.article__body li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.75em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-warm);
}
.article__body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--c-primary);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--c-blue-soft);
  color: var(--c-primary-dark);
  font-weight: 600;
  line-height: 1.8;
}

/* ---------- 法务页 ---------- */
.legal { max-width: 780px; }
.legal p, .legal li { color: var(--c-text); line-height: 1.85; }
.legal h2 {
  margin: 36px 0 8px;
  font-size: calc(var(--fs) * 1.15);
  font-weight: 700;
  color: var(--c-primary-dark);
}
.legal ul { margin: 10px 0; display: flex; flex-direction: column; gap: 8px; list-style: disc; padding-left: 24px; }
.legal .tbd {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--c-warm-soft);
  border: 1px solid var(--c-warm-line);
  color: #8A3A16;
  font-size: calc(var(--fs) * 0.8);
  font-weight: 600;
}

/* ---------- 底部转化条 ---------- */
.cta-band {
  background: #97AFB4;
  color: #26343A;
  border-radius: var(--r-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
@media (min-width: 860px) {
  .cta-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 44px 52px; }
}
.cta-band__t { font-size: calc(var(--fs) * 1.25); font-weight: 700; line-height: 1.5; }
@media (min-width: 768px) { .cta-band__t { font-size: calc(var(--fs) * 1.55); } }
.cta-band__d { margin-top: 8px; color: #2E3B41; font-size: calc(var(--fs) * 0.95); max-width: 52ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--onDark { border-color: rgba(38, 52, 58, 0.45); }

/* 表单页内锚点留白 */
.anchor-offset { scroll-margin-top: calc(var(--header-h) + 24px); }

/* 隐藏筛选项 */
.is-hidden { display: none !important; }

/* ---------- 页头横幅图（子页） ---------- */
.page-hero__media {
  margin: 26px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-2);
  position: relative;
}
.page-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
}
@media (min-width: 768px) {
  .page-hero__media img { aspect-ratio: 16 / 7; }
}
@media (min-width: 1100px) {
  .page-hero__media { margin-top: 30px; }
}
/* 轻微蓝调渐变罩：让照片与浅蓝页头色衔接，避免突兀 */
.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(251, 236, 210, 0.22) 0%,
    rgba(251, 236, 210, 0) 34%,
    rgba(53, 67, 74, 0) 72%,
    rgba(53, 67, 74, 0.12) 100%
  );
}

/* ---------- 法务页正文标题（原为重复 h1，改为 h2 后保持视觉层级） ---------- */
.legal__title {
  font-size: calc(var(--fs) * 1.4);
  font-weight: 700;
  color: var(--c-primary-dark);
  margin: 6px 0 10px;
  line-height: 1.4;
}
.legal .lede { margin-bottom: 8px; }

/* ---------- 文章页元信息 / 声明 / 列表计数 ---------- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 16px;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.88);
}
.article-meta time { font-variant-numeric: tabular-nums; }

.article__body > :first-child { margin-top: 0; }
.article__note {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.84);
  line-height: 1.7;
}

.list-count {
  margin-top: 22px;
  text-align: center;
  color: var(--c-text-2);
  font-size: calc(var(--fs) * 0.86);
}

/* ---------- AI 浮窗：移动端缩小，表单在视口内时自动让位 ---------- */
@media (max-width: 767px) {
  .ai-fab { width: 52px; height: 52px; right: 14px; bottom: 16px; }
  .ai-fab__label { font-size: 10px; }
}
.ai-fab {
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.ai-fab.is-aside {
  visibility: hidden;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
}

/* ==========================================================================
   客户 Logo（心形标 + 吾老）与字号调节 A / A+
   ========================================================================== */
.brand__img {
  display: block;
  height: 44px;
  width: auto;
}
@media (max-width: 767px) { .brand__img { height: 34px; } }
@media (min-width: 1100px) { .brand__img { height: 48px; } }

.footer__logo {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 14px;
}
.footer__logo img { display: block; height: 40px; width: auto; }

.fs-ctl {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-pill);
  background: #fff;
  overflow: hidden;
}
.fs-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--c-text);
  font-weight: 700;
  cursor: pointer;
  padding: 0 10px;
}
.fs-btn:first-child { font-size: calc(var(--fs) * 0.88); }
.fs-btn:last-child  { font-size: calc(var(--fs) * 1.08); }
.fs-btn + .fs-btn { border-left: 1.5px solid var(--c-line); }
.fs-btn:hover { background: var(--c-blue-soft); }
.fs-btn[aria-pressed="true"] { background: var(--c-blue-deep); color: #fff; }

/* ==========================================================================
   客户精准色应用：AI 助手与吾字标用蓝；主按钮橙底墨字（4.97:1）
   ========================================================================== */
.brand-mark {
  background: var(--c-blue);
  color: #fff;
}
.ai-fab {
  background: var(--c-blue-deep);
  color: #fff;
}
.ai-fab:hover { background: #11639A; }
.ai-msg--user { background: var(--c-blue-deep); }
.ai-dialog__send {
  background: var(--c-blue-deep);
  color: #fff;
}
.hero__title .indent {
  display: inline-block;
  padding-left: 3em; /* 第二行「以及人之老」起于第一行第三字「老」之后；em 随字号/屏幕缩放，观感一致 */
}

/* ===== 赛事中心胶囊：5 个间隙收到 1/3，左端承接（2026-11-24） ===== */
.lead-link {
  flex: 0 0 auto;
  min-width: max-content;
  margin-right: 4px;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--c-blue-soft);
  color: var(--c-primary);
  font-weight: 700;
  font-size: calc(var(--fs) * 0.85);
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.lead-link:hover { background: var(--c-warm-soft); color: var(--c-primary-hover); }
.lead-link[aria-current="page"] { background: var(--c-primary); color: #fff; }
.nav__item--mobile { display: none; }
/* 2026-11-25：平板保留胶囊，手机改用页头下方横条 */
@media (max-width: 699px) {
  .lead-link { display: none; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .lead-link { margin-left: 0; padding: 5px 10px; font-size: calc(var(--fs) * 0.82); }
}
@media (max-width: 699px) {
  .nav__item--mobile { display: block; }
}
.lead-bar { display: none; }
@media (max-width: 699px) {
  .lead-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px; margin: 0; padding: 10px 16px;
    background: #fdf1e3; color: #b4552a; text-decoration: none;
    font-size: 15px; font-weight: 600; letter-spacing: .3px;
    border-bottom: 1px solid #f2ddc6;
  }
  .lead-bar span { font-size: 13px; font-weight: 400; color: #8a6a4d; }
}
@media (min-width: 1100px) {
  /* 方案 A：导航贴住 logo，间隙固定 8px（3+2+3），省下的宽度全部让给右侧空白 */
  .nav { margin-left: -1px; } /* 首页左移一个字（16.92px） */
  .nav__list { gap: 2px; }
  .nav__link { padding: 0 3px; }
  /* 胶囊：字号放大 30%（0.85 → 1.1），并整体左移 3 个字宽（3 × 19.8px ≈ 59px） */
  .lead-link {
    margin-left: -59px;
    padding: 8px 12px;
    font-size: calc(var(--fs) * 1.1);
  }
}
