/* ==========================================================================
   demo-website — 取自 demo-habasit（B）的三个区块样式
     区块二 · 光伏制造产业链  #chainB（四张工序图卡）
     区块五 · 客户评价        #voices（横向自动滚动卡片带）
     页脚 · 联系方式          footer.ftr#contact（右侧新增「联系我们」入口）

   这一版把 A（StartBootstrap Agency）与 B（Habasit 版式）拼在同一个页面里，
   所以 B 的样式不再全局铺开，全部收在 #chainB / #voices / footer.ftr 之下；
   B 里与 Bootstrap 同名的 .btn 也改名为 .hbBtn，避免被 A 的按钮样式接管。
   颜色变量沿用 A 已有的 --green / --ink / --muted 等，B 独有的补 --hb-* 前缀。

   字体：Urbanist 仍是本地文件（assets/fonts/），运行时零外部域名请求。
   对比度沿用 B 的实测结论：
     白底 + 正文 #3a3c3f ......... 11.06:1
     白底 + 次要 #5c6165 .........  6.26:1
     白底 + 深绿 #4a7317 .........  5.59:1
     墨底 #18191b + #c4c9cb ...... 10.40:1
     墨底 #18191b + #9aa1a5 ......  6.64:1
   绿字 #6ca424 对白底只有 3.01:1，只用于 ≥24px 大字或装饰，不用于正文。
   ========================================================================== */

/* ---------- 字体（本地） ---------- */
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/urbanist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/urbanist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* B 独有的变量，全部加 --hb- 前缀，不覆盖 A 的同名变量 */
  --hb-muted-2: #5c6165;
  --hb-line-2: #dbdddf;
  --hb-on-ink: #c4c9cb;
  --hb-on-dark-dim: #9aa1a5;
  --hb-r-card: 14px;
  --hb-r-btn: 8px;
  --hb-r-pill: 30px;
  --hb-shell: 1320px;
  --hb-pad: clamp(20px, 4vw, 40px);
  --hb-band-y: clamp(56px, 6.5vw, 100px);
  /* 固定导航占着视口顶部，锚点又落在区块顶边，所以上留白必须比导航高一点。
     A 的 --navH 是滚动后的实测高度（桌面 72px / 折叠 80px），直接用。 */
  --hb-band-y-top: max(min(var(--hb-band-y), 7vh), calc(var(--navH, 72px) + 18px));
  /* 2026-10-20 用户：客户评价卡片改用指定阴影。
     近景一层 1px 偏移 / 8px 模糊收住边缘，远景一层 31px 偏移 / 30px 模糊、
     -18px 扩散向下散开。悬停不再变化（特效已去掉）。 */
  --hb-shadow: rgba(0, 0, 0, 0.06) 0px 1px 8px 0px,
    rgba(0, 0, 0, 0.16) 0px 31px 30px -18px;
}

/* ---------- 三个 B 区块的公共底子 ---------- */
#chainB,
#voices,
footer.ftr {
  font-family: "Urbanist", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  -webkit-font-smoothing: antialiased;
}

/* Bootstrap 的标题、段落、列表、图片默认值在这里统一归零，B 的版式靠自己的规则 */
#chainB h1,
#chainB h2,
#chainB h3,
#chainB h4,
#voices h1,
#voices h2,
#voices h3,
#voices h4,
footer.ftr h1,
footer.ftr h2,
footer.ftr h3,
footer.ftr h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}
#chainB p,
#voices p,
footer.ftr p {
  margin: 0 0 1em;
}
#chainB p:last-child,
#voices p:last-child,
footer.ftr p:last-child {
  margin-bottom: 0;
}
#chainB ul,
#chainB ol,
#chainB dl,
#voices ul,
#voices ol,
#voices dl,
footer.ftr ul,
footer.ftr ol,
footer.ftr dl {
  margin: 0;
  padding: 0;
  list-style: none;
}
#chainB figure,
#voices figure,
footer.ftr figure {
  margin: 0;
}
#chainB blockquote,
#voices blockquote,
footer.ftr blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: inherit;
  font-style: normal;
}
#chainB a,
#voices a,
footer.ftr a {
  color: inherit;
  text-decoration: none;
}
#chainB img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 内容宽度：B 的 .shell */
#chainB .shell,
#voices .shell,
footer.ftr .shell {
  width: 100%;
  max-width: var(--hb-shell);
  margin-inline: auto;
  padding-inline: var(--hb-pad);
}

/* B 的小标题 / 段落标题 / 导语 */
#chainB .eyebrow,
#voices .eyebrow {
  margin: 0 0 14px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-ink);
}
#chainB .secHead,
#voices .secHead {
  max-width: 74ch;
  margin-bottom: clamp(30px, 4vw, 52px);
}
#chainB .secTitle,
#voices .secTitle {
  font-size: min(clamp(26px, 3.4vw, 46px), 5.2vh);
  letter-spacing: -0.022em;
}
#chainB .secLead,
#voices .secLead {
  margin-top: min(18px, 2.2vh);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 64ch;
}

/* 2026-10-19 用户：产业链区块不显示「VALUE CHAIN」小标题，
   一级标题（H1）与二级导语都居中。
   .secHead 的 74ch 限宽保留，用 auto 左右外边距把这一块摆到中间；
   导语自己的 64ch 限宽同样居中，否则会贴着左边缘。 */
#chainB .secHead {
  margin-inline: auto;
  text-align: center;
}
#chainB .secLead {
  margin-inline: auto;
}

/* ---------- 按钮：B 的 .btn → .hbBtn（避开 Bootstrap 的 .btn） ---------- */
.hbBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border: 1px solid var(--green);
  border-radius: var(--hb-r-btn);
  background: var(--green);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease;
}
.hbBtn:hover {
  background: #7ab52f;
  border-color: #7ab52f;
  color: var(--ink);
}
.hbBtn:active {
  transform: translateY(1px);
}
.hbBtn:focus-visible {
  outline: 3px solid var(--green-ink);
  outline-offset: 3px;
}

/* 2026-10-19 用户：页面中所有「了解更多」统一跳转商城。
   产业链卡片的按钮不再是置灰占位，直接沿用绿色 .hbBtn；
   元素仍是 <a> 内的 <span>，点击 / 键盘由 scripts.js 打开商城。 */

/* ==========================================================================
   区块二 · 光伏制造产业链  #chainB
   四张工序图铺满卡片，文字压在卡片最暗的下半段；电脑端四列，
   1100px 以下两列，640px 以下纵向排列。
   ========================================================================== */
/* 高度扣掉固定导航：点「产业链」跳转时，区块顶边落在导航下沿
   （html 的 scroll-padding-top = --navH）。若仍按 100svh 取高，区块底部会被
   切掉一截，内容看着整体偏低。扣掉导航后区块正好占满导航以下的可见窗口；
   上下留白取同一值，内容便落在窗口正中（2026-10-19 用户：
   「产业链区块在窗口中上移，居中显示」）。 */
#chainB {
  min-height: calc(100vh - var(--navH, 72px));
  min-height: calc(100svh - var(--navH, 72px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--hb-band-y-top);
  background: #fff;
}

#chainB .chainGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
}
#chainB .chainCard {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 27vw, 420px);
  border-radius: var(--hb-r-card);
  overflow: hidden;
  background: var(--ink);
}
/* 图片绝对定位铺满，卡片高度由 min-height 决定 —— 不用 aspect-ratio：
   卡片同时是文字容器，内容比比例高时 aspect-ratio 会把文字裁掉。 */
#chainB .chainImg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 压暗层按实测定：四张工序图在下半部分都压着亮部，文字从 42% 高度起，
   所以 48% 处必须已经压到 .84，白字对纯白照片才有 4.9:1。 */
#chainB .chainScrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 11, 0.12) 0%,
    rgba(8, 10, 11, 0.3) 24%,
    rgba(8, 10, 11, 0.62) 38%,
    rgba(8, 10, 11, 0.84) 48%,
    rgba(8, 10, 11, 0.9) 100%
  );
}
#chainB .chainBody {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(18px, 2vw, 26px);
}
/* 工序序号：自带深底的小徽标，落在 48% 高度处仍保持 5.5:1 */
#chainB .chainStep {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: var(--hb-r-pill);
  background: rgba(8, 10, 11, 0.7);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--green-lift);
}
#chainB .chainName {
  margin-bottom: 9px;
  font-size: clamp(19px, 1.7vw, 25px);
  letter-spacing: -0.015em;
  color: #fff;
}
/* 2026-10-19 用户：工序详情固定三行 —— 按用户要求直接改文案，四条中文
   都写到 39–40 字、英文 95–115 字符（见 _build-i18n.cjs），桌面四列时
   实测各占三行。这里保留三行 min-height 作为兜底：两列 / 单列的窄屏
   文字会自然变少，但文字块高度仍锁定三行，卡片和按钮始终对齐。
   只保底、不截断，英文在极窄屏超过三行时仍完整显示。 */
#chainB .chainText {
  min-height: calc(3 * 1.62em);
  margin-bottom: 18px;
  font-size: 13.5px;
  line-height: 1.62;
  color: #fff;
}
#chainB .chainBody .hbBtn {
  min-height: 44px;
  padding: 11px 20px;
  font-size: 13.5px;
}

/* ==========================================================================
   区块五 · 客户评价  #voices
   参考图的结构：白卡、头像 / 姓名 / 次要身份，正文里用品牌绿标出关键词与
   #服务标签。卡片带匀速左移，悬停暂停；整条带子滚出屏幕时由脚本暂停动画。

   卡片内容日期一律是「示例客户 A」这类可辨占位，不伪装真实客户。
   ========================================================================== */
/* 2026-10-19 用户：客户评价「整个窗口展示，一级二级目录居中，去掉 CLIENT VOICES」。
   本屏重新占满导航以下的可见窗口（与 #chainB 同一算法），内容垂直居中；
   标题行居中，.secHead / .secLead 的限宽用 auto 外边距摆到中间。 */
#voices {
  min-height: calc(100vh - var(--navH, 72px));
  min-height: calc(100svh - var(--navH, 72px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: var(--hb-band-y-top) var(--hb-band-y);
  background: #fff;
}
#voices .secHead {
  margin-inline: auto;
  margin-bottom: clamp(20px, 2.4vw, 30px);
  text-align: center;
}
#voices .secLead {
  margin-inline: auto;
}
#voices .eyebrow {
  display: none;
}
/* 导语本身就是演示标注，压成次要色 —— 别让人读成一句卖点 */
#voices .voiceCaveat {
  color: var(--hb-muted-2);
}

/* 2026-10-20 用户：参考 image.png，标题与导语下加一排大星。
   五颗星是这一屏的主视觉，尺寸随视口走；第五颗按 4.9 分在 90% 处
   切成品牌绿 + 浅灰，和参考图里「差一点点满星」的观感一致。
   星形整组 aria-hidden，评分数字已写在导语里，读屏不重复播报。 */
#voices .voiceScore {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(7px, 0.85vw, 11px);
  margin: clamp(14px, 1.6vw, 20px) 0 clamp(22px, 2.6vw, 32px);
  color: var(--green);
}
#voices .voiceStar {
  display: block;
  width: clamp(44px, 5.6vw, 80px);
  height: auto;
}

/* 卡片带两端柔和淡出。卡片带是从屏幕外滚进来的，硬边看着像被裁断。 */
#voices .voiceRail {
  position: relative;
  overflow: hidden;
  /* 2026-10-20 用户：卡片阴影不能被截断。带子要 overflow:hidden 才能装下
     滚动的复制组，所以底部留出阴影的下沿：31px 偏移 − 18px 扩散 +
     30px 模糊 ≈ 43px，取 48px 富余。顶部阴影都在卡片内，16px 足够。 */
  padding: 16px 0 48px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 7%,
    #000 93%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 7%,
    #000 93%,
    transparent 100%
  );
}

/* 2026-10-20 用户：去掉特效 —— 掠过卡片带的柔光已移除。 */

/* 48s 跑完一组（八张卡）。一张卡约 7 秒走完，能扫一眼但不至于看漏。 */
#voices .voiceTrack {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: hbVoiceScroll 58s linear infinite;
}
/* 悬停暂停：正在读的那张不该被滚走。带子上的任何位置都停。 */
#voices .voiceTrack:hover {
  animation-play-state: paused;
}
/* 整条带子滚出屏幕时由 scripts.js 加 .isOffscreen 暂停 */
#voices .voiceTrack.isOffscreen {
  animation-play-state: paused;
}
@keyframes hbVoiceScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

#voices .voiceSet {
  display: flex;
}

/* 一张评价卡：白底 + 轻投影，和 #f5f6f7 的区块底分开层次 */
#voices .voice {
  position: relative;
  flex: 0 0 auto;
  width: clamp(280px, 27vw, 368px);
  /* 2026-10-19 用户：客户评价卡片之间的间距加大（原 12–20px）。 */
  margin: 0 clamp(24px, 2.4vw, 36px) 0 0;
  padding: clamp(22px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--hb-r-card);
  box-shadow: var(--hb-shadow);
  text-align: left;
  /* 2026-10-20 用户：去掉特效 —— 卡片不再做悬停抬起 / 描边转绿 / 其余卡片
     变淡。带子悬停暂停保留，那是阅读需要，不是装饰。 */
}

/* 卡片头部：首字母圆牌 / 姓名 / 地点与产线 */
#voices .voiceMeta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(12px, 1.4vw, 16px);
}
/* 2026-10-20 用户：客户评价改用真人头像，先供企业内部演示。
   头像取自 Pexels（与页脚图片来源说明一致），只是示意素材，
   不代表真实客户；身份仍写「示例客户 A」这类可辨占位。 */
#voices .voiceAva {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #eaf5da;
}
#voices .voiceId {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
#voices .voiceWho {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}
#voices .voiceWhere {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--hb-muted-2);
}

/* 2026-10-20 用户：参考 image.png 的卡片层次 —— 只有「谁」和「说了什么」。
   场景行不再加绿色竖规，压成一行安静的小字，放在引文前面作背景说明。 */
#voices .voiceScene {
  margin: 0 0 clamp(8px, 0.9vw, 11px);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: var(--hb-muted-2);
}

/* 引文：结论粗体，支撑句次要灰；#服务标签在正文内用品牌绿 */
#voices .voiceQuote {
  margin: 0;
}
#voices .voiceText {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 15px);
  line-height: 1.7;
  color: var(--muted);
}
#voices .voiceHead {
  color: var(--ink);
  font-weight: 700;
}
#voices .voiceJoin {
  color: var(--hb-muted-2);
}
/* 话题标签按参考图改成正文里的彩色井号，不再是一个绿底胶囊 */
#voices .voiceTag {
  display: inline;
  margin-left: 3px;
  color: var(--green-ink);
  font-size: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* 收尾：唯一的动作落在这一屏正中，标注压在它下面 */
#voices .voiceFoot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(9px, 1vw, 12px);
  /* 2026-10-20 用户：「加入我们」离评价卡片再近 10px。卡片带下内边距
     已从 16px 加到 48px（给阴影让位），所以在原间距基础上减 42px，
     卡片底边到按钮的净间距正好比之前少 10px。 */
  margin-top: clamp(14px, calc(5.4vw - 42px), 38px);
  text-align: center;
}
#voices .voiceNote {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--hb-muted-2);
}
/* 「加入我们」是这一屏唯一的动作，用主按钮绿底。2026-10-20 用户：去掉
   呼吸绿晕的特效，按钮保持静态。 */
#voices .voiceCta {
  flex: 0 0 auto;
}

/* ==========================================================================
   页脚 · 联系方式  footer.ftr#contact
   上层三列：Logo | 联系人信息 | 「联系我们」入口；下层导航 + 版权。
   联系信息右侧的入口是本次新增（需求原文：联系人的信息右边需要添加一个
   联系我们入口），按钮直接发邮件给销售团队，比再滚回顶部更省一步。
   ========================================================================== */
/* A 里有一条 #contact { min-height:100vh; display:flex; … } 的整屏规则。
   ID 选择器的权重高于 footer.ftr，所以这里必须把 #contact 一起写进来
   （1 个 ID + 1 个类 + 1 个元素 > 1 个 ID），否则页脚会被撑成一整屏。 */
footer.ftr#contact {
  display: block;
  min-height: 0;
  padding: clamp(46px, 5vw, 72px) 0 26px;
  background: var(--ink);
  color: var(--hb-on-ink);
}

footer.ftr .ftrTop {
  display: grid;
  /* 联系信息是这一栏的主角，给它最大的一份；右侧入口按内容宽度收口。
     中文字符比 Urbanist 的 0 字宽，所以标语不用 ch 定宽，改用 em。 */
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.5fr) auto;
  gap: clamp(24px, 3.4vw, 56px);
  align-items: start;
}
footer.ftr .ftrBrand img {
  /* 2026-10-20 用户：页脚 logo 加大 —— 与导航栏的 40px 保持同一高度 */
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
footer.ftr .ftrTagline {
  /* 约 24 个中文字宽：中文标语一行放下，英文自然折成两行 */
  max-width: 24em;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--hb-on-dark-dim);
}

footer.ftr .ftrContact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px clamp(28px, 4vw, 56px);
}
footer.ftr .ftrContact dt {
  margin-bottom: 4px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--hb-on-dark-dim);
}
footer.ftr .ftrContact dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #e2e6e7;
  overflow-wrap: anywhere;
}
footer.ftr .ftrContact a {
  padding-bottom: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
footer.ftr .ftrContact a:hover {
  border-bottom-color: var(--green);
  color: #fff;
}
/* 待补充项：虚线底 + 次要色，明确读作「这里还空着」，不冒充真实资料 */
footer.ftr .pending {
  padding-bottom: 1px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.34);
  color: var(--hb-on-dark-dim);
}

/* 联系信息右侧的入口 */
footer.ftr .ftrCta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
footer.ftr .ftrCtaLead {
  max-width: 22ch;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--hb-on-dark-dim);
}
footer.ftr .ftrCtaBtn {
  min-height: 46px;
  padding: 12px 24px;
  white-space: nowrap;
}

footer.ftr .ftrBottom {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(24px, 3vw, 64px);
  align-items: start;
  margin-top: clamp(34px, 4vw, 54px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
footer.ftr .ftrNav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
footer.ftr .ftrNav a {
  font-size: 14px;
  color: var(--hb-on-ink);
}
footer.ftr .ftrNav a:hover {
  color: var(--green-lift);
}
footer.ftr .ftrLegal p {
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--hb-on-dark-dim);
}
footer.ftr .pendingLine {
  margin-bottom: 8px !important;
}
footer.ftr .ftrCredit {
  max-width: 74ch;
  line-height: 1.7;
}

/* ==========================================================================
   断点
   ========================================================================== */
@media (max-width: 1100px) {
  #chainB .chainGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer.ftr .ftrTop,
  footer.ftr .ftrBottom {
    grid-template-columns: 1fr;
  }
  /* 收成单列后，入口落在联系人信息下方；改成一条横排，别占掉半屏 */
  footer.ftr .ftrCta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  footer.ftr .ftrCtaLead {
    max-width: 46ch;
  }
}

@media (max-width: 760px) {
  footer.ftr .ftrContact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  /* 375px 上下两列会让工序名与「了解更多」挤成一团，这里选纵向排列 */
  #chainB .chainGrid {
    grid-template-columns: 1fr;
  }
  #chainB .chainCard {
    min-height: 340px;
  }

  /* 触屏没有悬停，卡片带上下那点悬停余量可以收掉 */
  #voices .voiceRail {
    padding: 13px 0 47px;
  }
  /* 原间距 13 + 44 = 57px，减 10px 后由 47px 的下内边距单独承担 */
  #voices .voiceFoot {
    margin-top: 0;
  }
  #voices .voiceNote {
    font-size: 12.5px;
  }
  #voices .voice {
    width: min(84vw, 340px);
  }

  footer.ftr .ftrCta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 430px) {
  footer.ftr .ftrNav {
    gap: 8px 18px;
  }
}

/* ---------- 减弱动态效果 ---------- */
@media (prefers-reduced-motion: reduce) {
  /* 持续横移对前庭敏感的用户是实打实的不适，所以整条停掉，改成可手动横滑。
     重复的那组同时撤掉 —— 留着就是同一批内容连着出现两遍。 */
  #voices .voiceRail {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }
  #voices .voiceRail .voiceSet[aria-hidden="true"] {
    display: none;
  }
  #voices .voiceTrack {
    animation: none;
    width: max-content;
  }
}
