/* ==========================================================================
   壹欣云官网 · 内页专属样式（pages.css）
   作用范围：/fuwu /anli /guanyu /xinwen /lianxi /yinsi

   视觉方向 v3.1 —— 暖白米茶 + 陶土棕 + 焦糖金（2026-11-02 老板否决深黑、选定米茶色后重定）
   --------------------------------------------------------------------------
   - 核心色板由 site.css 提供（令牌名不变，取值见站内 v3 规范）：
     --bg-0/--bg-1/--bg-2/--line/--line-strong/--text/--text-2/
     --accent-1/--accent-2/--accent-3/--grad/--glass/--dark-band/--on-dark
   - 本文件只补内页专用令牌（见 §1），全部按浅色主题取值：
     暖白面 + --line 边框 + 轻阴影；不再有任何“白色叠加”假设。
   - 深色只出现在页面底部 CTA 一条带（--dark-band / --on-dark）。
   - 除 §1 的令牌定义外不出现任何颜色字面量，一律走 var()。
   - 布局类统一 pg- 前缀，通用组件（.wrap .btn .card 基础态）复用 site.css。
   ========================================================================== */

/* ---------- 1. 内页补充令牌（浅色主题） ---------- */
:root {
  /* 暖白面上的墨绿墨水：替代原深色主题里的“白色叠加” */
  --ink-02: rgba(15, 43, 40, .02);
  --ink-05: rgba(15, 43, 40, .05);
  --ink-06: rgba(15, 43, 40, .06);
  --ink-30: rgba(15, 43, 40, .30);

  /* 主色墨绿（文字安全色：对暖白 ≥6:1） */
  --accent-1-soft: rgba(14, 140, 128, .10);
  --accent-1-wash: rgba(14, 140, 128, .05);
  --accent-1-wash-2: rgba(14, 140, 128, .09);
  --accent-1-glow: rgba(14, 140, 128, .10);
  --accent-1-line: rgba(14, 140, 128, .34);
  --accent-1-line-2: rgba(14, 140, 128, .20);

  /* 亮青绿：只做描边 / 图标 / 光晕，不承载正文 */
  --accent-2-soft: rgba(22, 186, 170, .12);
  --accent-2-wash-2: rgba(22, 186, 170, .07);
  --accent-2-glow: rgba(22, 186, 170, .12);
  --accent-2-line: rgba(22, 186, 170, .32);
  --accent-2-line-2: rgba(22, 186, 170, .36);
  --accent-2-line-3: rgba(22, 186, 170, .46);
  --accent-2-line-6: rgba(22, 186, 170, .44);

  /* 暖金铜：色块 / 描边 / 图标底；需要文字时用 --accent-3-deep */
  --accent-3-deep: rgb(138, 90, 43);
  --accent-3-soft: rgba(92, 207, 196, .12);
  --accent-3-wash: rgba(92, 207, 196, .08);
  --accent-3-line: rgba(92, 207, 196, .38);
  --accent-3-line-2: rgba(92, 207, 196, .42);
  --accent-3-line-3: rgba(92, 207, 196, .34);
  --accent-3-dash: rgba(92, 207, 196, .55);
  --accent-3-glow: rgba(92, 207, 196, .12);

  /* 表单 */
  --placeholder: rgba(90, 107, 104, .92);

  /* 阴影：浅色主题只允许极轻的墨绿灰投影 */
  --shadow-card: 0 8px 30px rgba(15, 43, 40, .06);
  --shadow-card-hover: 0 14px 34px rgba(15, 43, 40, .10);

  /* 深色带（仅 CTA）上的叠加与文字 */
  --on-dark-soft: rgba(234, 246, 244, .80);
  --on-dark-line: rgba(234, 246, 244, .34);
  --on-dark-wash: rgba(234, 246, 244, .06);
  --on-dark-wash-2: rgba(234, 246, 244, .10);
  --on-dark-teal: rgba(22, 186, 170, .22);
  --on-dark-gold: rgba(92, 207, 196, .20);
  --shadow-dark: 0 22px 50px rgba(14, 31, 28, .26);

  /* v3 新增令牌的兜底：site.css 提供 --dark-band/--on-dark 时优先用 site.css 的值 */
  --dark-band-fallback: rgb(42, 33, 28);
  --on-dark-fallback: rgb(246, 239, 231);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;

  --mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
}

/* ---------- 2. 基础补充（site.css 已有重置，这里只补它没有的） ---------- */
table {
  border-collapse: collapse;
  width: 100%;
}

b,
strong { font-weight: 600; }

.muted { color: var(--text-2); }

/* 渐变文字（标题关键词；浅底可读；reduced-motion 下关闭流光） */
.gx {
  background: var(--grad-text);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: sheen 11s linear infinite;
}

@keyframes sheen {
  0% { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

/* ---------- 3. 内页 banner ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  /* 顶部留出 site.css 固定导航的高度 */
  padding: calc(var(--header-h) + clamp(48px, 8vh, 96px)) 0 clamp(52px, 8vh, 88px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(88% 120% at 8% -20%, var(--accent-1-glow), transparent 62%),
    radial-gradient(70% 110% at 92% 0%, var(--accent-3-glow), transparent 60%),
    linear-gradient(180deg, var(--bg-1), var(--bg-0));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto 20%;
  height: 340px;
  background: radial-gradient(closest-side, var(--accent-2-glow), transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.pg-hero-inner { position: relative; }

/* 细渐变光线装饰（纯 CSS，不用图片） */
.pg-hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.pg-hero-lines i {
  position: absolute;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2-line-3), transparent);
  opacity: .55;
}

.pg-hero-lines i:nth-child(1) { top: 22%; left: -10%; width: 70%; transform: rotate(-8deg); }
.pg-hero-lines i:nth-child(2) { top: 58%; left: 35%; width: 62%; transform: rotate(-5deg); opacity: .38; }
.pg-hero-lines i:nth-child(3) { top: 78%; left: -14%; width: 52%; transform: rotate(-3deg); opacity: .28; }

.pg-hero-lines b {
  position: absolute;
  top: 18%;
  right: 6%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: inset 0 0 80px var(--accent-1-wash-2);
}

.pg-hero-title {
  margin-top: 16px;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.015em;
  max-width: 24ch;
  text-wrap: balance;
}

.pg-hero-lead {
  margin-top: 20px;
  color: var(--text-2);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.75;
  max-width: 60ch;
}

/* ---------- 4. 区块布局 ---------- */
.pg-section {
  position: relative;
  padding: clamp(48px, 7vh, 80px) 0;
}

.pg-section--tight { padding: clamp(38px, 6vh, 60px) 0; }

.pg-section--alt {
  background: var(--bg-1);
  border-block: 1px solid var(--line);
}

.pg-section-head {
  max-width: 74ch;
  margin-bottom: clamp(26px, 4vh, 40px);
}

.pg-section-title {
  margin-top: 14px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.pg-section-lead {
  margin-top: 14px;
  color: var(--text-2);
  max-width: 68ch;
}

.pg-section-note {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-2);
}

.pg-section-note + .pg-cta { margin-top: 26px; }

/* ---------- 5. 卡片 ---------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
  transition: transform .28s var(--ease), border-color .28s var(--ease),
    box-shadow .28s var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
}

.card-title {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.4;
}

.card-text {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.72;
}

/* ---------- 6. 三栏（监管 / 机构 / 家属） ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pillar {
  --pillar: var(--accent-1);
  --pillar-text: var(--accent-1);
  --pillar-soft: var(--accent-1-soft);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--pillar-soft), transparent 46%), var(--bg-2);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.pillar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--pillar), transparent 78%);
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
}

.pillar--b { --pillar: var(--accent-2); --pillar-text: var(--accent-1); --pillar-soft: var(--accent-2-soft); }
.pillar--c { --pillar: var(--accent-3); --pillar-text: var(--accent-3-deep); --pillar-soft: var(--accent-3-soft); }

.pillar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pillar-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .18em;
  color: var(--pillar-text);
}

.pillar-tag {
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.pillar-title {
  margin-top: 16px;
  font-size: clamp(19px, 1.8vw, 23px);
  line-height: 1.36;
}

.pillar-lead {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.72;
}

.pillar-list {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
}

.pillar-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15.5px;
  line-height: 1.72;
}

.pillar-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--pillar, var(--accent-1));
  transform: rotate(45deg);
}

.pillar-list strong {
  color: var(--text);
  display: block;
  font-size: 15.5px;
  margin-bottom: 2px;
}

.pillar-list span {
  color: var(--text-2);
  font-size: 15px;
}

.pillar-foot {
  margin-top: auto;
  padding-top: 20px;
}

/* ---------- 7. 服务项目清单表（浅色斑马纹 + 1px 分隔线） ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
}

.svc-table {
  min-width: 660px;
  font-size: 15.5px;
}

.svc-table caption {
  caption-side: top;
  padding: 18px 20px 0;
  text-align: left;
  font-size: 14px;
  color: var(--text-2);
}

.svc-table th,
.svc-table td {
  padding: 15px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.svc-table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--text-2);
  background: var(--bg-1);
  white-space: nowrap;
}

.svc-table tbody tr:last-child td { border-bottom: 0; }

/* 浅色斑马纹 */
.svc-table tbody tr:nth-child(even) { background: var(--ink-02); }

.svc-table tbody tr:hover { background: var(--accent-1-wash); }

.svc-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.svc-table td:nth-child(2) { color: var(--text); }
.svc-table td:nth-child(3) { color: var(--text-2); font-size: 14.5px; }

/* ---------- 8. 案例分块 ---------- */
.case-list {
  display: grid;
  gap: 16px;
}

.case-block {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 20px;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
  transition: border-color .28s var(--ease), transform .28s var(--ease),
    box-shadow .28s var(--ease);
}

.case-block:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
}

.case-num {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--accent-1);
  padding-top: 6px;
}

.case-title {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.36;
}

.case-text {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.75;
}

.case-text + .case-text { margin-top: 12px; }

.case-text strong { color: var(--text); }

.case-meta {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
}

/* 案例右栏：允许长内容收缩，避免撑破两列网格 */
.case-block__body { min-width: 0; }

/* ---------- 9. 照片占位 ---------- */
.ph-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
}

.ph {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  aspect-ratio: 16 / 10;
  padding: 18px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(135deg,
      var(--ink-02) 0 10px,
      var(--ink-06) 10px 11px);
  color: var(--text-2);
}

.ph--tall { aspect-ratio: 4 / 3; }

.ph-icon {
  width: 34px;
  height: 34px;
  color: var(--ink-30);
}

.ph-tag {
  font-size: 14px;
  letter-spacing: .06em;
  color: var(--text-2);
}

.ph-note {
  font-size: 12.5px;
  color: var(--text-2);
}

/* ---------- 10. 标签 / 徽记 ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .04em;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  white-space: nowrap;
}

.tag--policy { color: var(--accent-1); border-color: var(--accent-1-line); background: var(--accent-1-soft); }
.tag--progress { color: var(--accent-1); border-color: var(--accent-2-line-2); background: var(--accent-2-soft); }
.tag--product { color: var(--accent-3-deep); border-color: var(--accent-3-line); background: var(--accent-3-soft); }
.tag--ph { color: var(--accent-3-deep); border-color: var(--accent-3-line-2); background: var(--accent-3-soft); }
.tag--todo { color: var(--accent-3-deep); border-color: var(--accent-3-line-3); background: var(--accent-3-wash); }

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
  font-size: 14.5px;
  color: var(--text);
}

.chip em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent-1);
}

/* ---------- 11. 业务模块 ---------- */
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
  transition: border-color .24s var(--ease), box-shadow .24s var(--ease),
    transform .24s var(--ease);
}

.module:hover {
  transform: translateY(-3px);
  border-color: var(--accent-1-line);
  box-shadow: var(--shadow-card-hover);
}

.module-name {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
}

.module-desc {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ---------- 12. 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.prose p {
  color: var(--text-2);
  font-size: 16.5px;
  line-height: 1.8;
}

.prose p + p { margin-top: 14px; }

.prose strong { color: var(--text); }

.facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 16px;
  background: var(--bg-2);
  font-size: 15px;
}

.fact-k { color: var(--text-2); flex: 0 0 auto; }

.fact-v { color: var(--text); text-align: right; }

.fact-v em {
  font-style: normal;
  color: var(--accent-3-deep);
  border-bottom: 1px dashed var(--accent-3-dash);
  padding-bottom: 1px;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cert {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 188px;
  padding: 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(135deg,
      var(--ink-02) 0 10px,
      var(--ink-05) 10px 11px);
  transition: border-color .24s var(--ease), transform .24s var(--ease);
}

.cert:hover {
  transform: translateY(-3px);
  border-color: var(--accent-1-line);
}

.cert-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cert-name {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
}

.cert-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.cert-state { margin-top: auto; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tech {
  padding: 22px;
  border-left: 2px solid var(--accent-2-line-6);
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, var(--accent-2-wash-2), transparent 62%);
}

.tech-title {
  font-size: 17px;
  font-weight: 600;
}

.tech-text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-2);
}

/* ---------- 13. 新闻列表 ---------- */
.pg-news-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
}

.pg-news-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
}

.aside-title {
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--text-2);
  font-weight: 600;
}

.cat-list {
  margin-top: 14px;
  display: grid;
  gap: 4px;
}

.cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-2);
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.cat:hover {
  color: var(--text);
  background: var(--ink-05);
}

.cat em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--text-2);
}

.cat.is-current {
  color: var(--text);
  background: var(--accent-1-wash-2);
  box-shadow: inset 2px 0 0 var(--accent-1);
}

.aside-note {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}

.pg-news-list {
  display: grid;
  gap: 16px;
}

.pg-news-card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
  transition: transform .28s var(--ease), border-color .28s var(--ease),
    box-shadow .28s var(--ease);
}

.pg-news-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
}

.pg-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
}

.pg-news-date {
  font-family: var(--mono);
  letter-spacing: .04em;
}

.pg-news-title {
  margin-top: 14px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.45;
}

.pg-news-excerpt {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--text-2);
}

.pg-news-foot {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

/* ---------- 14. 联系我们 ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}

.contact-card { padding: clamp(22px, 2.6vw, 32px); }

.contact-list { display: grid; gap: 2px; margin-top: 18px; }

.contact-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.contact-row:last-child { border-bottom: 0; }

.contact-k { color: var(--text-2); }

.contact-v { color: var(--text); }

.blank {
  color: var(--accent-3-deep);
  letter-spacing: .12em;
}

.contact-v a { color: var(--accent-1); border-bottom: 1px solid var(--accent-1-line-2); }

.contact-v small { color: var(--text-2); font-size: 12.5px; }
.contact-layout--single { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: 22px; }
.qr-ph { border: 0; background: none; }
.qr-ph img { width: 132px; height: 132px; border-radius: 12px; background: #fff; padding: 6px; display: block; }

.qr-ph {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 132px;
  height: 132px;
  margin-top: 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-size: 12.5px;
  text-align: center;
  background: repeating-linear-gradient(135deg,
    var(--ink-02) 0 8px,
    var(--ink-05) 8px 9px);
}

.map-ph {
  display: grid;
  place-items: center;
  gap: 10px;
  margin-top: 20px;
  min-height: 220px;
  aspect-ratio: 16 / 7;
  padding: 20px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  color: var(--text-2);
  background:
    radial-gradient(60% 70% at 50% 40%, var(--accent-1-wash-2), transparent 70%),
    repeating-linear-gradient(0deg, var(--ink-05) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(90deg, var(--ink-05) 0 1px, transparent 1px 26px);
}

/* 表单 */
.form-card { min-width: 0; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.field { display: grid; gap: 8px; }

.field--full { grid-column: 1 / -1; }

.label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: .02em;
}

.req {
  color: var(--accent-3-deep);
  font-weight: 600;
}

.label .req {
  margin-left: 4px;
  font-weight: 400;
}

.label .opt {
  color: var(--text-2);
  margin-left: 6px;
  font-size: 12.5px;
  font-weight: 400;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-size: 16.5px;
  line-height: 1.5;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
    background-color .2s var(--ease);
}

.textarea {
  min-height: 118px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder { color: var(--placeholder); }

.input:hover,
.select:hover,
.textarea:hover { border-color: var(--accent-1-line-2); }

.input:focus,
.select:focus,
.textarea:focus {
  border-color: var(--accent-1);
  background: var(--bg-2);
  box-shadow: 0 0 0 3px var(--accent-1-soft);
  outline: none;
}

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: 2px solid var(--accent-1);
  outline-offset: 2px;
}

.select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-2) 50%),
    linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 21px) 22px, calc(100% - 15px) 22px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.select option { background: var(--bg-2); color: var(--text); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
}

.check input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--accent-1);
  cursor: pointer;
}

.check a {
  color: var(--accent-1);
  border-bottom: 1px solid var(--accent-1-line-2);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--accent-1);
}

.form-hint {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ---------- 15. 隐私政策条款 ---------- */
.policy-list {
  counter-reset: policy;
  display: grid;
  gap: 14px;
}

.policy-item {
  counter-increment: policy;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(20px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  box-shadow: var(--shadow-card);
}

.policy-item::before {
  content: counter(policy, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent-1);
  padding-top: 6px;
}

.policy-item > * { grid-column: 2; }

.policy-title {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.4;
}

.policy-body {
  margin-top: 10px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.78;
}

.policy-body + .policy-body { margin-top: 10px; }

.policy-body strong { color: var(--text); }

.policy-body ul { margin-top: 8px; display: grid; gap: 6px; }

.policy-body li {
  position: relative;
  padding-left: 16px;
}

.policy-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-1-line);
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--text-2);
}

/* ---------- 16. 结尾 CTA：全站唯一的深色带 ---------- */
.pg-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 5vw, 56px);
  border: 1px solid var(--dark-band, var(--dark-band-fallback));
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 150% at 0% 0%, var(--on-dark-teal), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, var(--on-dark-gold), transparent 60%),
    var(--dark-band, var(--dark-band-fallback));
  box-shadow: var(--shadow-dark);
  color: var(--on-dark, var(--on-dark-fallback));
}

.pg-cta-title {
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  max-width: 30ch;
  color: var(--on-dark, var(--on-dark-fallback));
}

.pg-cta-text {
  margin-top: 12px;
  color: var(--on-dark-soft);
  max-width: 56ch;
}

.pg-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

/* 深色带上的次级按钮：site.css 的 .btn--ghost 按浅色底定义，这里局部反色 */
.pg-cta .btn--ghost {
  background: var(--on-dark-wash);
  border: 1px solid var(--on-dark-line);
  color: var(--on-dark, var(--on-dark-fallback));
}

.pg-cta .btn--ghost:hover {
  background: var(--on-dark-wash-2);
  border-color: var(--on-dark-line);
}

/* ---------- 17. 响应式 ---------- */
@media (max-width: 1120px) {
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .about-grid,
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .pg-news-layout { grid-template-columns: minmax(0, 1fr); }
  .pg-news-aside { position: static; }
  .cat-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .pillar-grid,
  .tech-grid { grid-template-columns: minmax(0, 1fr); }

  .case-block { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .case-num { padding-top: 0; }

  .policy-item { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .policy-item::before { grid-column: 1; grid-row: auto; padding-top: 0; }
  .policy-item > * { grid-column: 1; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-hero-lines b { display: none; }
  .pg-hero-title { max-width: none; }
}

@media (max-width: 640px) {
  .cert-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-list { grid-template-columns: minmax(0, 1fr); }
  .contact-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .fact { flex-direction: column; align-items: flex-start; gap: 2px; }
  .fact-v { text-align: left; }
}

/* ---------- 18. 动效降级：prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .gx {
    animation: none !important;
    background-position: 50% 50%;
  }

  .card:hover,
  .pillar:hover,
  .case-block:hover,
  .pg-news-card:hover,
  .module:hover,
  .cert:hover {
    transform: none !important;
  }
}

/* ---------- 19. 兼容兜底：不支持 background-clip:text 时用实色 ---------- */
@supports not ((background-clip: text) or (-webkit-background-clip: text)) {
  .gx {
    background: none;
    color: var(--accent-1);
    -webkit-text-fill-color: currentColor;
    animation: none;
  }
}

/* ---------- 20. 高对比度 / 强制颜色兜底 ---------- */
@media (forced-colors: active) {
  .card,
  .pillar,
  .case-block,
  .pg-news-card,
  .ph,
  .cert,
  .map-ph { border: 1px solid CanvasText; }
  .gx { -webkit-text-fill-color: CanvasText; color: CanvasText; }
}


/* 服务区域地图（2026-11-03） */
.map-card {
  margin-top: 18px;
  padding: 22px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md, 16px);
  background: var(--bg-2, #fff);
}
.map-card__canvas {
  width: 100%;
  margin: 14px 0 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-1, #f1f5f9);
  line-height: 0;
}
.map-card__canvas img {
  width: 100%;
  height: auto;
  display: block;
}
.map-card__fallback { margin-top: 12px; font-size: 13px; color: var(--text-2); }
@media (max-width: 720px) { .map-card__canvas { border-radius: 10px; } }

/* 团队与发展：两栏（2026-11-03） */
.pg-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.pg-two-col .card { padding: 26px 28px; }
.pg-two-col .card-title { margin-bottom: 10px; }
.pg-two-col .card-text + .card-text { margin-top: 10px; }
@media (max-width: 860px) { .pg-two-col { grid-template-columns: 1fr; } }
