/* 打包：footer + cmh-brand + v2-factory（由 scripts/stamp-assets.py 生成，勿手改） */
/* ===== footer.css ===== */
/* ChinaMakersHub — shared footer stylesheet
 * Single source of truth for the site-wide footer + footer logo.
 * Extracted from the homepage (web/index.html), which is the visual master.
 * Linked last in <head> on every page so it overrides any older footer rules
 * still living in article.css / factory.css until those are cleaned up.
 * Relies on the page's own :root palette vars (--ink / --paper / --cinnabar /
 * --font-mono) — it does not redefine them.
 */

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(var(--paper-rgb), 0.12);
}
/* factory detail pages carry an extra per-factory contact column */
.footer-top.has-factory-contact { grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; }

.footer-brand .logo { color: var(--paper); margin-bottom: 1.5rem; }
.footer-brand .logo-mark { background: var(--paper); color: var(--ink); }
.footer-brand .logo-mark::after { border-color: var(--ink); }
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(var(--paper-rgb), 0.6);
  line-height: 1.6;
  max-width: 22em;
}

/* contact rows — used for CMH contact in the brand block and for the
   per-factory contact column on factory detail pages */
.footer-contact { margin-top: 1.3rem; }
.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: rgba(var(--paper-rgb), 0.6);
  line-height: 1.6;
  margin-bottom: 0.55rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; opacity: 0.5; }
.footer-contact-item a { color: inherit; text-decoration: none; transition: color 0.3s; }@media(hover:hover){.footer-contact-item a:hover{ color: var(--paper); }}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cinnabar);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(var(--paper-rgb), 0.7);
  text-decoration: none;
  transition: color 0.3s;
}@media(hover:hover){.footer-col a:hover{ color: var(--paper); }}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: rgba(var(--paper-rgb), 0.5);
  line-height: 1.7;
}
.footer-legal { text-transform: uppercase; }
.footer-legal strong {
  display: block;
  color: var(--paper);
  margin-bottom: 0.5rem;
}
.footer-bank {
  text-align: right;
  text-transform: uppercase;
}
.footer-bank strong {
  display: block;
  color: var(--paper);
  margin-bottom: 0.5rem;
}

@media (max-width: 1024px) {
  .footer-top,
  .footer-top.has-factory-contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  /* 紧凑两列(淘宝式密度)：品牌块通栏,链接列两列排,间距全压缩 — 2026-06-10 */
  .footer-top,
  .footer-top.has-factory-contact { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; padding-bottom: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { font-size: 0.8rem; }
  .footer-contact { margin-top: 0.9rem; }
  .footer-contact-item { font-size: 0.76rem; margin-bottom: 0.4rem; }
  .footer-col h5 { margin-bottom: 0.7rem; }
  .footer-col li { margin-bottom: 0.35rem; }
  .footer-col a { font-size: 0.8rem; }
  .footer-bottom { grid-template-columns: 1fr; gap: 1rem; font-size: 0.7rem; }
  .footer-bank { text-align: left; }
}

/* 顶部跑马灯 — 供未 link article.css 的页 (factories / categories) 用; 与 article.css 同规则 */
.marquee{background:var(--ink);color:var(--paper);padding:0.6rem 0;font-family:var(--font-mono);font-size:0.72rem;letter-spacing:0.12em;text-transform:uppercase;overflow:hidden;}
.marquee-track{display:flex;white-space:nowrap;animation:scroll 40s linear infinite;}
.marquee-track span{padding:0 2rem;display:flex;align-items:center;gap:2rem;}
.marquee-track span::after{content:'\25C6';font-size:0.5rem;opacity:0.5;}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* 社媒图标(2026-06-10)— 深底 footer,light 图标 */
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid rgba(var(--paper-rgb),0.22); border-radius: 50%; color: rgba(var(--paper-rgb),0.75); transition: background .2s, color .2s, border-color .2s; }@media(hover:hover){.footer-social a:hover{ background: var(--paper); color: var(--ink); border-color: var(--paper); }}
.footer-social svg { width: 16px; height: 16px; display: block; }

/* ===== cmh-brand.css ===== */
/* ============ Inter 自托管（2026-10-24） ============
   原来走 fonts.googleapis.com + fonts.gstatic.com：两次跨域连接 + 一次渲染阻塞的 CSS。
   改为本地可变字体（一个文件覆盖 100–900 全字重）。 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-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: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/inter-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===================================================================
 * CMH 品牌样式 · 单一真源（v2 · 2026-09-28 视觉升级 P0「令牌层」）
 * 全站每页最后加载（在所有 per-page CSS / 内联样式之后）。
 * 依据设计师 Figma「CMH海外」Token Board：
 *   navy #133478 · navy-deep #0C1A3A · orange #E58821（≤5%）· ink #161A22 · charcoal #3A4151 ·
 *   slate #6B7385 · silver #AEB6C2 · mist #E6E9EF · cloud #F5F6F8 · paper #FAFAF7
 *   标题 Poppins Medium（64/70 · 40/48 · 28/36 · 20/28）· 正文 Inter 16/26 · 说明 12/18 · 标签 14/20
 *   圆角：按钮 6 · 卡片 / 输入框 8 · 统计块 12 · 胶囊 999
 *
 * 变量映射（为什么 --ink 不是文字色）：站内 60 多处把 var(--ink) 当**深色底**用（页脚、深色条带、主按钮、
 * 跑马灯）。所以 --ink 继续代表「品牌深色」= navy，文字色另立 --text（body 上生效）；
 * --ink-soft / --ink-mute 只用于文字，直接映到 charcoal / slate。
 * 中文不嵌普惠体（单字重 10 MB，2026-09-14 踩过），中文走系统字体栈；Poppins 只带 latin 子集、自托管。
 * =================================================================== */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/poppins-500-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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/poppins-600-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; }

/* ① 令牌 ─────────────────────────────────────────────────────── */
:root {
  /* 设计令牌（新名字） */
  --navy:        #133478;
  --navy-deep:   #0C1A3A;
  --orange:      #E58821;
  --orange-deep: #C9731A;
  --text:        #161A22;
  --charcoal:    #3A4151;
  --slate:       #6B7385;
  --silver:      #AEB6C2;
  --mist:        #E6E9EF;
  --cloud:       #F5F6F8;
  --paper-tone:  #FAFAF7;
  --success:     #2E9E5B;
  --error:       #D64242;
  --info:        #2C6FBF;
  --radius-s: 6px; --radius: 8px; --radius-l: 12px; --radius-pill: 999px;

  /* 旧变量 → 新令牌（各页 :root 里的旧值被这里覆盖） */
  --paper:       #FFFFFF;
  --paper-warm:  var(--cloud);
  --paper-pure:  #FFFFFF;
  --paper-rgb:   255, 255, 255;
  --ink:         var(--navy);          /* 深色底 / 品牌色 */
  --ink-rgb:     19, 52, 120;
  --ink-soft:    var(--charcoal);      /* 次要文字 */
  --ink-mute:    var(--slate);         /* 弱化文字 */
  --line:        var(--mist);
  --line-strong: var(--silver);
  --cinnabar:    var(--orange);
  --cinnabar-deep: var(--orange-deep);
  --jade:        var(--success);
  --font-display:   'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-editorial: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body:      'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono:      'Inter', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
body { color: var(--text); }
body::before { display: none; }              /* 旧的噪点纹理：新稿是干净的白底 */
::selection { background: rgba(229, 136, 33, .25); }

/* 标题：Poppins Medium，不再用负字距 / 极细字重（旧稿 300 weight 在 Poppins 下没有对应字重） */
h1, h2, h3, h4,
.section-title, .page-title, .article-title, .hero-title, .vp-title, .cat-name, .fcard-name, .factory-card-name,
.journal-card-title, .journal-title, .faq-q, .related-card h4, .rel-card h3, .stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variation-settings: normal;
}
.hero-title em, .page-title em, .section-title em, .vp-title em, .vp-section .container > h2 em, .vp-faq h2 em, .vp-cta h2 em {
  font-style: normal; font-weight: 500; color: var(--orange);
}

/* ② 导航（稿：78 高白底、内容 1320；链接 Inter 600 16/26、间距 40，悬浮 / 当前页 = 底部 2px 橙线；
 *   语言按钮 40 高、描边 ink 30%，悬浮变藏青；Request a Quote 藏青 14/20 常规字重、无箭头，悬浮变橙；
 *   语言菜单 160 宽、白底、1px silver 描边、圆角 8、当前语言橙色） ─────────────── */
/* logo 是品牌资产：宽高比任何时候都不许变。
   2026-10-04 手机版被压成 2.7×32；2026-10-28 桌面端搜索框聚焦时又被压扁——
   原因都是 a.logo { flex: 0 0 auto } 只写在 @media (max-width:560px) 里，桌面端不生效。
   现在无条件生效，并且图片本身也不许被拉伸。 */
a.logo { flex: 0 0 auto; min-width: max-content; }
.logo > .logo-img, a.logo > .logo-img { height: 40px; width: auto; max-width: none; object-fit: contain; display: block; }
@media (max-width: 560px) { .logo > .logo-img, a.logo > .logo-img { height: 32px; } }
.nav, header.nav {
  background: #fff;
  border-bottom: 1px solid #fff;
  backdrop-filter: blur(3px);
}
/* 2026-10-27 反馈 #6：左右 60px、两端对齐。
   换行的做法是错的——搜索框 focus 时从 220 涨到 320，"How It Works"/"Request a Quote"
   会被挤成两行。正确做法是菜单永不换行，间距整体收窄（gap 用 clamp 跟随视口）。 */
.nav-inner { height: auto; min-height: 78px; padding: 12px clamp(24px, 4.2vw, 60px); gap: clamp(12px, 1.6vw, 24px); justify-content: space-between; align-items: center; }
.nav-inner > nav { min-width: 0; flex: 0 1 auto; }
.nav-inner > nav a, .nav-actions, .nav-actions > * { white-space: nowrap; }
.nav-actions { flex-wrap: nowrap; flex: none; }
@media (max-width: 1240px) { .nav-links { gap: clamp(14px, 1.8vw, 26px); } }
/* 搜索框聚焦变宽时，先让语言切换器让位（它是低频操作），菜单文字永不换行、也不被盖住 */
@media (max-width: 1420px) {
  .nav-inner:has(.cmh-sf-nav:focus-within) .cmh-langsw { display: none; }
}
@media (max-width: 1340px) {
  .cmh-sf-nav:focus-within { width: clamp(180px, 15vw, 240px); }
  .nav-links { gap: 14px; }
}
@media (max-width: 1180px) {
  .nav-inner:has(.cmh-sf-nav:focus-within) .nav-links a { font-size: 15px; }
}
@media (max-width: 1050px) { .nav-inner { padding: 12px 24px; } .nav-links { gap: 16px; } }
@media (max-width: 900px) { .nav-inner { padding: 12px var(--gutter, 24px); } }
.nav-inner > nav { margin-left: 16px; }          /* logo 与链接一组，间距 40（24 + 16） */
.nav-inner > .nav-actions { margin-left: auto; padding-left: clamp(16px, 2vw, 40px); }
.nav-links { gap: clamp(20px, 2.8vw, 40px); }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0;
  font-family: var(--font-body); font-size: 16px; line-height: 26px; font-weight: 600; color: var(--text); letter-spacing: 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--orange); transition: width .25s ease;
}
@media (hover: hover) { .nav-links a:hover { color: var(--text); } .nav-links a:hover::after { width: 100%; } }
.nav-links a.active, .nav-links a[aria-current="page"] { color: var(--text); }   /* 稿：当前页只加橙色下划线，字仍是 ink */
.nav-links a.active::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-actions { gap: 16px; }
.nav-actions > .btn-primary {
  height: 40px; min-height: 40px; padding: 10px 14px; border-radius: 6px; background: var(--navy); color: #fff;
  font: 400 14px/20px var(--font-body); letter-spacing: 0; gap: 0;
}
.nav-actions > .btn-primary svg { display: none; }
@media (hover: hover) { .nav-actions > .btn-primary:hover { background: var(--orange); color: #fff; transform: none; box-shadow: none; } }
.nav-lang { display: none; }
.cmh-sf-nav input { height: 40px; border: 1px solid rgba(22, 26, 34, .3); border-radius: 6px; }

/* 语言切换器（cmh-lang-switcher.js 自带一段行内样式，这里按稿覆盖） */
.cmh-langsw__btn {
  height: 40px !important; padding: 0 14px !important; gap: 6px !important; border: 1px solid rgba(22, 26, 34, .3) !important; border-radius: var(--radius-s) !important;
  font: 400 14px/20px var(--font-body) !important; color: var(--text) !important; background: #fff !important; letter-spacing: 0 !important; text-transform: none !important;
}
.cmh-langsw__btn svg { width: 10px !important; height: 10px !important; }
@media (hover: hover) { .cmh-langsw__btn:hover { border-color: var(--navy) !important; color: var(--navy) !important; } }
.cmh-langsw__btn[aria-expanded="true"] { border-color: var(--navy) !important; color: var(--navy) !important; }
.cmh-langsw__menu {
  top: calc(100% + 25px) !important; min-width: 160px !important; width: 160px !important; padding: 4.8px !important;
  background: #fff !important; border: 1px solid var(--silver) !important; border-radius: var(--radius) !important; box-shadow: none !important;
}
.cmh-langsw__menu a { display: block; padding: 8.8px 11.2px !important; font: 400 14px/20px var(--font-body) !important; color: var(--text) !important; border-radius: 2px; }
.cmh-langsw__menu a[aria-current="true"] { color: var(--orange) !important; }
@media (hover: hover) { .cmh-langsw__menu a:hover { color: var(--orange) !important; background: transparent !important; } }

/* ③ 按钮 ─────────────────────────────────────────────────────── */
.btn-primary {
  background: var(--navy); color: #fff;
  padding: 10px 14px; min-height: 40px; border-radius: var(--radius-s);
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 0; text-transform: none;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.btn-primary svg { transition: transform .25s ease; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--orange); color: #fff; transform: none; box-shadow: none; filter: none; }
}
.btn-ghost { font-size: 14px; font-weight: 600; border-bottom-color: var(--silver); }
@media (hover: hover) { .btn-ghost:hover { color: var(--orange); border-bottom-color: var(--orange); } }
.btn-light, .btn-secondary, .btn-outline { border-radius: var(--radius-s); }

/* ④ 胶囊 / 标签 / 徽章 ──────────────────────────────────────── */
.filter-chip, .chip, .tag, .fcard-tags span, .factory-card-tag, .product-cat-tag, .srp-tags span, .srp-facet a[aria-current="true"] {
  border-radius: var(--radius-pill);
  text-transform: none; letter-spacing: 0;
}
.filter-chip { font-size: 13px; font-weight: 500; padding: 6px 14px; border: 1px solid var(--silver); color: var(--charcoal); background: #fff; }
@media (hover: hover) { .filter-chip:hover { border-color: var(--navy); color: var(--navy); } }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.fcard-badge, .badge, .badge-pending, .factory-card-badge, .cat-card-badge, .cert-badge, .verified-badge-chip, .chip-v, .listing-status {
  border-radius: 4px; text-transform: none; letter-spacing: .02em; font-weight: 600;
}
.marquee { display: none; }   /* 稿子里没有顶部跑马灯（2026-09-28 Sam：视觉严格照稿）；标记留着，build-marquee 照跑 */

/* ⑤ 卡片与容器：8px 圆角 + 悬浮浮起 ──────────────────────────── */
.factory-card, .fcard, .journal-card, .faq-card, .rel-card, .related-card, .cat, .cat.has-bg, .trust-card, .cert-card, .review-card, .f-floor-card,
.product, .sidebar-card, .callout, .srp-card, .srp-pcard, .kit-card, .author-card, .hero-meta, .page-stats .stat-item, .vp-step, .step-card {
  border-radius: var(--radius);
}
.factory-card, .fcard, .cat, .cat.has-bg, .product, .journal-card, .srp-card, .srp-pcard { overflow: hidden; }
.factory-card, .fcard, .journal-card, .faq-card, .rel-card, .related-card, .trust-card, .cert-card, .product {
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, border-color .3s ease;
}
/* 2026-10-28 反馈：这些卡片悬停会浮起并带阴影，但卡片本身没有内边距，
   文字直接贴在卡片左边缘。给它们补内边距与白底，浮起时是一张完整的卡。 */
.rel-card, .related-card { padding: 20px 20px 22px; border-radius: 10px; background: transparent; }
@media (hover: hover) {
  .rel-card:hover, .related-card:hover { background: #fff; }
}
@media (hover: hover) {
  .factory-card:hover, .fcard:hover, .journal-card:hover, .faq-card:hover, .rel-card:hover, .related-card:hover, .trust-card:hover, .cert-card:hover, .product:hover {
    transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgba(12, 26, 58, .28); position: relative; z-index: 2;
  }
  .rel-card:hover h3, .related-card:hover h4 { color: var(--orange); }
}
.cat-grid, .cat { border-color: rgba(255, 255, 255, .16); }
.author-card { transition: background .2s ease, transform .25s ease, box-shadow .25s ease; }
@media (hover: hover) { .author-card:hover { background: var(--cloud); transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(12, 26, 58, .2); } }
img, .factory-card-bg, .fcard-image, .product-img { border-radius: inherit; }

/* 分区底：旧的「暖纸」分区改成 cloud 浅灰 */
.section-alt, .vp-section.alt, .alt-band { background: var(--cloud); }

/* ⑥ 表单 ─────────────────────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="number"], select, textarea {
  border-radius: var(--radius); border-color: var(--silver); font-family: var(--font-body); color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(19, 52, 120, .10); }
.cmh-sf input { color: var(--text); border-color: var(--silver); border-radius: var(--radius); }
.cmh-sf input:focus { border-color: var(--navy); }

/* ⑦ 页脚（稿：藏青底、上 70 下 32；左列 458 宽：logo → 24 → 说明 14/20 白 60%（宽 310）→ 20 → 社媒 34 圆 → 20 → 联系方式；
 *   右侧三列各 216、间距 40、靠右：栏目名 Inter 600 12/18 大写橙 → 24 → 链接 14/20 白 70%、行距 12；
 *   底部一条 1px 白 20% 分隔，下面居中：公司名 Inter 600 14/20 白 + 地址 / 版权 12/18 白 50%。稿子没有「Banking Partner」一栏） ── */
footer { background: var(--navy); color: #fff; padding: 70px 0 32px; }
footer .footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0; padding-bottom: 32px; border-bottom: 0; }
footer .footer-brand { flex: 0 1 458px; }
footer .footer-brand .logo { margin-bottom: 0; }
footer .footer-brand p { margin: 24px 0 0; max-width: 310px; font: 400 14px/20px var(--font-body); color: rgba(255, 255, 255, .6); }
footer .footer-social { display: flex; gap: 12px; margin-top: 20px; }
footer .footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; }
footer .footer-social a svg { width: 16px; height: 16px; }
footer .footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
footer .footer-contact-item { margin: 0; align-items: center; gap: 8px; font: 400 14px/20px var(--font-body); color: rgba(255, 255, 255, .6); }
footer .footer-contact-item svg { width: 14px; height: 14px; margin: 0; opacity: .6; }
footer .footer-contact-item a { color: rgba(255, 255, 255, .6); font-size: 14px; }
footer .footer-col { flex: 0 0 216px; }
footer .footer-col:first-of-type, footer .footer-brand + .footer-col { margin-left: auto; }
footer .footer-col + .footer-col { margin-left: 40px; }
footer .footer-col h5 { margin: 0 0 24px; color: var(--orange); font-family: var(--font-body); font-size: 12px; line-height: 18px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
footer .footer-col ul { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
footer .footer-col li { margin: 0; }
footer .footer-col a { color: rgba(255, 255, 255, .7); font: 400 14px/20px var(--font-body); }
@media (hover: hover) { footer .footer-col a:hover, footer .footer-contact-item a:hover { color: #fff; } }
footer .footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .2);
  text-align: center; font: 400 12px/18px var(--font-body); letter-spacing: 0; color: rgba(255, 255, 255, .5);
}
footer .footer-legal { text-transform: none; font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, .5); }
footer .footer-legal strong { display: block; margin: 0 0 8px; color: #fff; font: 600 14px/20px var(--font-body); }
footer .footer-bank { display: none; }
footer .footer-top.has-factory-contact .footer-col { flex-basis: 200px; }
@media (max-width: 1024px) {
  footer .footer-top { flex-wrap: wrap; gap: 32px 24px; }
  footer .footer-brand { flex: 1 1 100%; }
  footer .footer-col, footer .footer-col:first-of-type, footer .footer-brand + .footer-col, footer .footer-col + .footer-col { margin-left: 0; flex: 1 1 180px; }
}

/* 右下角浮动联系按钮：尺寸 / 颜色 / 阴影已与稿一致，图标换成稿子里的气泡 */
.cmh-cta-fab svg.icon-chat { background: url('/assets/img/icons/float-chat.svg') center / 24px 24px no-repeat; }
.cmh-cta-fab svg.icon-chat > * { display: none; }

/* ⑧ 移动端菜单 ──────────────────────────────────────────────── */
.mobile-menu ul li a { font-family: var(--font-display); font-weight: 500; letter-spacing: 0; }
.mobile-menu-cta a { border-radius: var(--radius-s); text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ⑨ 底部橙色联系带（稿「contact」：工厂列表页、工厂详情页共用）──────────────
 *   橙底、上下 80；587 宽居中：标题 Poppins 40/48 → 16 → 说明 Poppins 500 18/24 → 40 → 48 高按钮两颗（白底 + 白描边），间距 16；
 *   两道白色弧线（左上、右下）用稿子导出的 svg，角度与位置照稿。 */
.cta-band { position: relative; overflow: hidden; margin: 0; padding: 80px 0; background: var(--orange); color: #fff; text-align: center; border: 0; }
.cta-band::before, .cta-band::after { content: ''; position: absolute; pointer-events: none; border: 0; border-radius: 0; background-repeat: no-repeat; background-size: 100% 100%; opacity: 1; }
.cta-band::before { left: -24px; top: -46.8px; width: 435.865px; height: 126.981px; background-image: url('/assets/img/cta-swoosh-tl.svg'); transform: rotate(165deg); }
.cta-band::after { right: -133.1px; bottom: -231.7px; width: 952.231px; height: 277.415px; background-image: url('/assets/img/cta-swoosh-br.svg'); transform: rotate(-30.56deg); }
.cta-band-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; box-sizing: content-box; max-width: 587px; margin: 0 auto; }  /* 587 是文字宽，容器左右留白另算 */
.cta-band h2 { margin: 0; font: 500 40px/48px var(--font-display); letter-spacing: 0; color: #fff; text-wrap: balance; font-variation-settings: normal; }
.cta-band h2 em { font-family: inherit; font-style: normal; color: #fff; }
.cta-band p { max-width: none; margin: 16px 0 0; font: 500 18px/24px var(--font-display); color: #fff; opacity: 1; }
.cta-band .cta-buttons { display: flex; justify-content: center; gap: 16px; margin-top: 40px; }
.cta-band .btn-light, .cta-band .btn-ghost, .cta-band .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0; height: 48px; border-radius: 6px;
  font: 600 14px/20px var(--font-body); letter-spacing: 0; text-transform: none; transform: none; box-shadow: none; white-space: nowrap;
}
.cta-band .btn-light { padding: 10px 24px; background: #fff; color: var(--text); border: 0; }
.cta-band .btn-light svg { display: none; }
.cta-band .btn-ghost, .cta-band .btn-outline { padding: 11px 25px; background: transparent; color: #fff; border: 1px solid #fff; }
@media (hover: hover) {
  .cta-band .btn-light:hover { background: var(--navy); color: #fff; }
  .cta-band .btn-ghost:hover, .cta-band .btn-outline:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
}
@media (max-width: 768px) {
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: 28px; line-height: 36px; }
  .cta-band .cta-buttons { flex-wrap: wrap; flex-direction: row; }
}

/* ⑩ 相关阅读 / 相关工厂卡片（工厂详情、类目详情共用；标记是内联样式，只能按结构选）────────────────
 *   稿（Factories2 的 Related reading / Related）：区块头居中 = 小标（20px 图标 + Poppins 18/24 大写橙）→ 16 → 标题 Poppins 40/48 → 70 → 卡片；
 *   卡片之间 24；每张顶部 2px 藏青线、内边距 24；标题 Poppins 20/28（留两行高）→ 16 → 底行 14/20 slate + 28px 圆形箭头（silver 描边）；
 *   悬浮：cloud 底，箭头变橙并转 -45°。卡片里的分类小标、摘要、「Read article →」稿子里都没有，收起。 */
section:has(> .container > div > .rel-card) { background: #fff !important; border: 0 !important; }
section:has(> .container > div > .rel-card) > .container > div:first-child {
  display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: flex-start !important;
  margin: 0 0 70px !important; padding: 0 !important; border: 0 !important; text-align: center;
}
section:has(> .container > div > .rel-card) > .container > div:first-child > div { display: flex; flex-direction: column; align-items: center; gap: 16px; }
section:has(> .container > div > .rel-card) > .container > div:first-child > div > div:first-child {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 !important;
  font: 500 18px/24px var(--font-display) !important; letter-spacing: 0 !important; text-transform: uppercase !important; color: var(--orange) !important;
}
section:has(> .container > div > .rel-card) > .container > div:first-child > div > div:first-child::before {
  content: ''; flex: none; width: 20px; height: 20px; background: url('/assets/img/icons/eyebrow-reading.svg') center / 20px 20px no-repeat;
}
section:has(> .container > div > .rel-card[href^="/factories/"]) > .container > div:first-child > div > div:first-child::before { background-image: url('/assets/img/icons/eyebrow-related.svg'); }
section:has(> .container > div > .rel-card) > .container > div:first-child h2 {
  margin: 0 !important; font: 500 40px/48px var(--font-display) !important; letter-spacing: 0 !important; font-variation-settings: normal !important; color: var(--text) !important; text-wrap: balance;
}
section:has(> .container > div > .rel-card) > .container > div:first-child > a { display: none !important; }
section:has(> .container > div > .rel-card) > .container > div:last-child { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 24px !important; background: none !important; }
section:has(> .container > div > .rel-card[href^="/factories/"]) > .container > div:last-child,
section:has(> .container > div > .rel-card:nth-of-type(4)) > .container > div:last-child { grid-template-columns: repeat(4, 1fr) !important; }  /* 稿：3 篇文章三列、4 家工厂四列；4 篇文章也走四列，免得落单 */
.rel-card {
  position: relative; display: flex !important; flex-direction: column; gap: 16px; padding: 24px !important; border: 0 !important; border-top: 2px solid var(--navy) !important;
  border-radius: 0 !important; background: #fff !important; color: var(--text) !important; text-decoration: none !important; transition: background .2s;
}
.rel-card > div:first-child, .rel-card > span, .rel-card > div:nth-of-type(3) { display: none !important; }
.rel-card h3 { margin: 0 !important; min-height: 56px; font: 500 20px/28px var(--font-display) !important; letter-spacing: 0 !important; font-variation-settings: normal !important; color: var(--text) !important; }
.rel-card > div:nth-of-type(2) { display: flex; align-items: center; min-height: 28px; margin: auto 0 0 !important; padding-right: 44px; font: 400 14px/20px var(--font-body) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--slate) !important; }
.rel-card::after {
  content: '→'; position: absolute; right: 24px; bottom: 24px; width: 28px; height: 28px; box-sizing: border-box; border: 1px solid var(--silver); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font: 400 12px/18px var(--font-body); color: var(--silver); transition: transform .2s, color .2s, border-color .2s;
}
@media (hover: hover) {
  .rel-card:hover { background: var(--cloud) !important; transform: none; box-shadow: none; }
  .rel-card:hover h3 { color: var(--text) !important; }
  .rel-card:hover::after { border-color: var(--orange); color: var(--orange); transform: rotate(-45deg); }
}
@media (max-width: 1100px) {
  section:has(> .container > div > .rel-card[href^="/factories/"]) > .container > div:last-child,
  section:has(> .container > div > .rel-card:nth-of-type(4)) > .container > div:last-child { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  section:has(> .container > div > .rel-card) > .container > div:first-child { margin-bottom: 32px !important; }
  section:has(> .container > div > .rel-card) > .container > div:first-child h2 { font-size: 28px !important; line-height: 36px !important; }
  section:has(> .container > div > .rel-card) > .container > div:last-child,
  section:has(> .container > div > .rel-card[href^="/factories/"]) > .container > div:last-child,
  section:has(> .container > div > .rel-card:nth-of-type(4)) > .container > div:last-child { grid-template-columns: 1fr !important; gap: 16px !important; }
}

/* ⑪ 面包屑（稿：导航下 20、Inter 12/18；链接与斜杠橙色，当前页 ink）—— 各页共用，页面 CSS 只调它与下一块的距离 */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 20px 0 0; font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text); }
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb .sep { margin: 0 6px; color: var(--orange); }
.breadcrumb .current, .breadcrumb > span:last-child { color: var(--text); }
@media (hover: hover) { .breadcrumb a:hover { text-decoration: underline; } }

/* #4（2026-10-27 反馈）：主按钮的箭头滑动交互。
   结构不变（.btn-primary 里若带 svg 就是箭头），只做位移：悬停时整块内容右移 2px、
   箭头再多移 4px；没有箭头时只做轻微右移，不会显得突兀。 */
.btn-primary > svg, .btn-primary .btn-ico { transition: transform .28s ease-out; }
@media (hover: hover) {
  .btn-primary:hover { transform: translateX(2px); }
  .btn-primary:hover > svg, .btn-primary:hover .btn-ico { transform: translateX(4px); }
}
.btn-primary { transition: background .25s ease-out, border-color .25s ease-out, transform .28s ease-out; }

/* ===== v2-factory.css ===== */
/* ===================================================================
 * 工厂详情页（153 页共用）· 2026-09-28 按 Figma「Factories2」（东虹样张）+「工厂页 说明」整份重写。
 * 在 factory.css 与 cmh-brand.css 之后加载；标记由 build-pages.js 回填，这里只管样子（FAQ 折叠在 /factories/factory.js）。
 * 稿子里没有的区块（图库、信任带、评分、产品目录、评价）沿用同一套令牌，不另起一套。
 * =================================================================== */

/* 面包屑 */
.breadcrumb { padding: 20px 0 0; margin: 0; font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text); }
.breadcrumb a { color: var(--orange); text-decoration: none; }
.breadcrumb .sep { margin: 0 6px; color: var(--orange); }
.breadcrumb .current { color: var(--text); }

/* ── 页头（稿：左 723：名字 Poppins 64/70 + 右侧「CMH Verified」橙色小旗（109×30，带尾巴）→ 24 → 说明 16/26 slate → 24 → 城市 | 成立 |（12/18，竖线橙色）+ 两行 12/18 细节；
 *   右 521：询价卡插画 + 下方两颗 48 高按钮（藏青实心 + 藏青描边）） ── */
.f-header { padding: 80px 0 120px; border: 0; }
.f-header-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.f-header-grid > div:first-child { flex: 0 1 723px; min-width: 0; display: grid; grid-template-columns: minmax(0, max-content) max-content 1fr; column-gap: 16px; row-gap: 24px; align-items: start; }
.f-eyebrow { display: none; }
.f-title { grid-column: 1; grid-row: 1; margin: 0; font: 500 64px/70px var(--font-display); letter-spacing: 0; color: var(--text); }
.verified-badge-chip {
  grid-column: 2; grid-row: 1; justify-self: start; align-self: start; position: relative;
  display: inline-flex; align-items: center; gap: 5px; height: 30px; margin: 0; padding: 0 12px 4px 8px; border: 0; border-radius: 0; white-space: nowrap;
  background: url('/assets/img/icons/verified-tag.svg') left top / 100% 30px no-repeat; color: #fff;
  font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; cursor: pointer;
}
.verified-badge-chip svg { width: 12px; height: 12px; }
.f-tagline { grid-column: 1 / -1; margin: 0; max-width: none; font: 400 16px/26px var(--font-body); color: var(--slate); }
.f-quick {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 12px; margin: 0;
  font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--slate);
}
.f-quick-item { display: inline-flex; align-items: center; gap: 8px; padding: 0; }
.f-quick-item::before { display: none; content: none; }
.f-quick-item:nth-child(-n+2)::after { content: '|'; color: var(--orange); }
.f-quick-item:nth-child(n+3) { flex-basis: 100%; }
/* 右侧：询价卡插画 + 两颗按钮 */
.trust-card {
  flex: 0 0 521px; display: flex; flex-direction: column; justify-content: flex-end; height: 396px; padding: 0; overflow: visible;
  border: 0; border-radius: 24px; background: url('/assets/img/factory-quote-illustration.webp') center top / 335.5px 313.5px no-repeat;
}
.trust-card > *:not(.trust-card-cta) { display: none; }
.trust-card-cta { display: flex; flex-direction: row; justify-content: center; gap: 16px; padding: 0; border: 0 !important; }
.trust-card-cta > div { display: none; }
/* 有工厂视频的页（稿子没有这种情况）：视频放在插画的位置（上方 521 宽、16:9），两颗按钮照旧在底部 */
.trust-card:has(video) { background-image: none; }
.trust-card-cta:has(video) { flex-wrap: wrap; align-content: space-between; height: 100%; }
.trust-card-cta video { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; border: 0; border-radius: 14px; background: var(--navy-deep); object-fit: cover; }
.trust-card .btn-block {
  flex: 0 0 auto; width: auto; display: inline-flex; align-items: center; justify-content: center; gap: 4px; height: 48px; margin: 0; padding: 10px 24px;
  border: 1px solid var(--navy); border-radius: 6px; background: var(--navy); color: #fff; font: 600 14px/20px var(--font-body); letter-spacing: 0; text-transform: none; white-space: nowrap;
}
.trust-card .btn-block svg { display: none; }
.trust-card .btn-block:not(.outline)::after { content: '→'; }
.trust-card .btn-block.outline { padding: 10px 24px; background: #fff; color: var(--navy); }
@media (hover: hover) {
  .trust-card .btn-block:not(.outline):hover { background: var(--orange); border-color: var(--orange); }
  .trust-card .btn-block.outline:hover { background: var(--navy); color: #fff; }
}

/* ── 区块节奏与区块头（稿：区块之间 120；小标 Poppins 18/24 大写橙 + 20px 图标；标题 Poppins 40/48；小标→标题 16，区块头→内容 50） ── */
.section { padding: 0 0 120px; }
.section.capabilities, .section.certs { background: #fff; border: 0; }
.section-header { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 1020px; margin: 0 auto 50px; padding: 0; border: 0; }
.section-num {
  display: inline-flex; align-items: center; gap: 12px;
  font: 500 18px/24px var(--font-display); letter-spacing: 0; text-transform: uppercase; color: var(--orange);
}
.section-num::before {
  content: ''; flex: none; width: 20px; height: 20px; border-radius: 0; background: url('/assets/img/icons/eyebrow-build.svg') center / 20px 20px no-repeat;
}
.section-num strong { display: none; }
.section.capabilities .section-num::before { background-image: url('/assets/img/icons/eyebrow-capabilities.svg'); }
.section.certs .section-num::before { background-image: url('/assets/img/icons/eyebrow-credentials.svg'); }
.section:has(.about-grid) .section-num::before { background-image: url('/assets/img/icons/eyebrow-about.svg'); }
.section.timeline .section-num::before { background-image: url('/assets/img/icons/eyebrow-process.svg'); }
.section.capabilities ~ .section.capabilities .section-num::before { background-image: url('/assets/img/icons/eyebrow-applications.svg'); }
#faq .section-num::before { background-image: url('/assets/img/icons/eyebrow-faq.svg'); }
.section-title { max-width: 931px; margin: 0; font: 500 40px/48px var(--font-display); letter-spacing: 0; font-variation-settings: normal; color: var(--text); text-wrap: wrap; }
.section.certs .section-title { max-width: 1020px; }
.section-title em { font-style: normal; color: inherit; }

/* ── 编号条目（What we build 四列 · Capabilities / Applications 三列）：
 *   无框，内边距 24/32；编号 Poppins 28/36 橙（01 两位，不带斜杠）→ 16 → 标题 Poppins 20/28 → 14 → 正文 14/20 slate ── */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; border: 0; counter-reset: cap; }
#builds .cap-grid, .section.capabilities ~ .section.capabilities .cap-grid { grid-template-columns: repeat(4, 1fr); }
/* 旧样式会把落单的最后一条拉成通栏（body.cap-fill-lone），稿子里落单的照样待在自己那一列 */
body.cap-fill-lone .cap-grid .cap:last-child:nth-child(3n+1) { grid-column: auto; }
.cap { counter-increment: cap; display: flex; flex-direction: column; gap: 16px; padding: 24px 32px; border: 0; border-radius: 14px; background: transparent; }
.cap-num { margin: 0; font-size: 0; line-height: 0; letter-spacing: 0; color: var(--orange); }
.cap-num::before { content: counter(cap, decimal-leading-zero); font: 500 28px/36px var(--font-display); }
.cap h4 { margin: 0; font: 500 20px/28px var(--font-display); letter-spacing: 0; color: var(--text); }
.cap p { margin: -2px 0 0; font: 400 14px/20px var(--font-body); color: var(--slate); }
/* 有图的条目（部分工厂的 What we build 带产品图） */
.cap.has-img { padding: 0; border: 1px solid var(--mist); overflow: hidden; background: #fff; }
.cap-img { border: 0; }
.cap-body { display: flex; flex-direction: column; gap: 14px; padding: 16px 24px 24px; }

/* ── 资质（稿：cloud 底、圆角 24、上下 40 的大面板；3×2 格，格间 1px mist 分隔，每格 32 内边距；
 *   48px 线描图标 → 16 → 标题 Inter 600 16/26 → 4 → 说明 14/20 slate，居中） ── */
.certs { background: #fff; }
.certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 40px 0; border: 0; border-radius: 24px; background: var(--cloud); overflow: hidden; }
.cert-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 32px; border: 0; border-right: 1px solid var(--mist); border-bottom: 1px solid var(--mist);
  background: transparent; text-align: center;
}
.cert-card:nth-child(3n) { border-right: 0; }
.cert-card:nth-last-child(-n+3):nth-child(3n+1), .cert-card:nth-last-child(-n+3):nth-child(3n+1) ~ .cert-card { border-bottom: 0; }
.certs-grid > .cert-card:nth-child(-n+3) { padding-top: 0; }
.certs-grid > .cert-card:nth-last-child(-n+3):nth-child(3n+1), .certs-grid > .cert-card:nth-last-child(-n+3):nth-child(3n+1) ~ .cert-card { padding-bottom: 0; }
@media (hover: hover) { .cert-card:hover { background: transparent; transform: none; box-shadow: none; } }
.cert-mark, .cert-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin: 0 0 12px; border: 0; border-radius: 0;
  font: 500 18px/1 var(--font-display); letter-spacing: 0; color: var(--text);
}
.cert-mark svg { width: 40px; height: 40px; fill: none; stroke: var(--text); stroke-width: .7; stroke-linecap: round; stroke-linejoin: round; }
.cert-mark[data-icon] { font-size: 0; background: center / 48px 48px no-repeat; }
.cert-mark[data-icon] > * { display: none; }
.cert-mark[data-icon="licence"] { background-image: url('/assets/img/icons/cert-licence.svg'); }
.cert-mark[data-icon="patent"] { background-image: url('/assets/img/icons/cert-patent.svg'); }
.cert-mark[data-icon="test"] { background-image: url('/assets/img/icons/cert-test.svg'); }
.cert-mark[data-icon="declaration"] { background-image: url('/assets/img/icons/cert-declaration.svg'); }
.cert-mark[data-icon="cert"] { background-image: url('/assets/img/icons/cert-cert.svg'); }
.cert-mark[data-icon="iso"] { background-image: url('/assets/img/icons/cert-iso.svg'); }
.cert-mark:not([data-icon]):not(:has(svg)) { width: 44px; height: 44px; margin: 2px 2px 14px; border: 1px solid var(--text); border-radius: 50%; font: 500 12px/1 var(--font-display); }
.cert-name, .cert-value { margin: 0; font: 600 16px/26px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--text); }
.cert-desc, .cert-label { margin: 0; font: 400 14px/20px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--slate); text-align: center; }
.cert-badge { border-radius: 4px; font: 600 12px/18px var(--font-body); text-transform: none; letter-spacing: 0; }
.certs .container > p { margin: 24px 0 0 !important; max-width: none !important; font: 400 14px/20px var(--font-body) !important; color: var(--slate) !important; }

/* ── About（稿：正文通栏 16/26 ink、段距 24 → 40 → 两张表并排、间距 16：
 *   藏青表头 10/24、Inter 600 16/26 大写白；表身 cloud 底、1px mist 描边、左右 24；每行上下 13、底线 mist；左列 98 宽 slate，右列靠右 ink） ── */
.about-grid { display: flex; flex-direction: column; gap: 40px; }
.about-prose { display: flex; flex-direction: column; gap: 24px; max-width: none; font: 400 16px/26px var(--font-body); color: var(--text); text-align: justify; }
.about-prose p { margin: 0; }
.about-prose p:first-child::first-letter { font-size: inherit; float: none; line-height: inherit; font-weight: inherit; margin: 0; padding: 0; color: inherit; }
.about-quote { border-radius: 12px; border-left: 3px solid var(--orange); background: var(--paper-tone); }
.about-quote::before { display: none; }
.about-side {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; grid-auto-flow: column; column-gap: 16px; row-gap: 0;
  position: static; padding: 0; border: 0; background: none;
}
.about-side h4, .about-side h4[style] {
  margin: 0 !important; padding: 10px 24px; border-radius: 14px 14px 0 0; background: var(--navy);
  font: 600 16px/26px var(--font-body); letter-spacing: 0; text-transform: uppercase; color: #fff;
}
.about-side ul { margin: 0; padding: 0 24px; list-style: none; border: 1px solid var(--mist); border-top: 0; border-radius: 0 0 14px 14px; background: var(--cloud); }
.about-side li { display: flex; align-items: flex-start; gap: 24px; padding: 13px 0; border: 0; border-bottom: 1px solid var(--mist); font: 400 14px/20px var(--font-body); }
.about-side li:last-child { border-bottom: 0; }
.about-side li span { flex: 0 0 98px; color: var(--slate); font: inherit; text-transform: none; letter-spacing: 0; }
.about-side li strong { flex: 1 1 auto; min-width: 0; color: var(--text); font: inherit; font-weight: 400; text-align: right; }
.f-spec, .f-sec { border: 1px solid var(--mist); border-radius: 14px; overflow: hidden; }
.f-spec h3, .f-sec h3, .f-sec-tag, .f-sublabel { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

/* ── Story（稿：藏青整条；中轴 48 宽、10px 橙点 + 2px 橙线；左右交错，每条相距 166；
 *   年份 Poppins 28/36 橙 → 16 → 标题 Inter 600 18/26 白 → 16 → 正文 14/20 白 65%） ── */
.timeline { padding: 72px 0 72px; margin-bottom: 120px; background: var(--navy); }
.timeline .section-title { color: #fff; }
/* 稿子是新的在上（2026-09 在最上、居右），各页标记都是按时间正序写的 → 倒过来排；左右交替从最后一条（视觉上第一条）数起 */
.timeline-list { position: relative; display: flex; flex-direction: column-reverse; width: 992px; max-width: 100%; margin: 0 auto; padding: 64px 0 52px; list-style: none; }
.timeline-list::before { display: none; }
.timeline-item {
  position: relative; width: 448px; min-height: 166px; margin: 0 0 0 544px; padding: 0 0 12px; border: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left;
}
.timeline-item:nth-last-child(even) { margin-left: 0; align-items: flex-end; text-align: right; }
.timeline-item::before {
  content: ''; position: absolute; top: 13px; left: -53px; width: 10px; height: 10px; border: 0; border-radius: 50%; background: var(--orange);
}
.timeline-item:nth-last-child(even)::before { left: auto; right: -53px; }
.timeline-item::after { content: ''; position: absolute; top: 36px; bottom: 0; left: -49px; width: 2px; background: var(--orange); }
.timeline-item:nth-last-child(even)::after { left: auto; right: -49px; }
.timeline-item:first-child::after { display: none; }
.timeline-year { margin: 0; font: 500 28px/36px var(--font-display); letter-spacing: 0; color: var(--orange); }
.timeline-content { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.timeline-content h4 { margin: 0; font: 600 18px/26px var(--font-body); color: #fff; }
.timeline-content p { margin: 0; font: 400 14px/20px var(--font-body); color: rgba(255,255,255,.65); text-align: justify; text-align-last: left; }

/* ── Related reading / More verified factories：卡片样式在 cmh-brand.css（⑩，工厂详情 + 类目详情共用）；这里只管本页的节奏 ── */
main > section:has(.rel-card) { padding: 0 0 140px !important; }
/* 稿：相关阅读 → 相关工厂 140；相关工厂 → FAQ 80 + FAQ 自身上下 72；FAQ 之后紧接橙色联系带 */
main > section:has(.rel-card[href^="/factories/"]) { padding-bottom: 80px !important; }

/* ── FAQ（稿：左 774 折叠列表 + 右侧区块头；问题 Poppins 18/28 ink + 24px 加减号；收起时上下 20，展开时问题→答案 12、答案 14/20 slate 右留 24、底部 24；每条底线 mist；
 *   一次只开一条，第一条默认展开 —— 行为在 /factories/factory.js，它把问题收进 <button>、答案收进 .ffaq-a） ── */
#faq { padding: 72px 0; }
#faq .container { display: grid; grid-template-columns: 774px 1fr; column-gap: 0; align-items: start; }
#faq .section-header { grid-column: 2; grid-row: 1; margin: 0; align-self: start; }
.ffaq-list { grid-column: 1; grid-row: 1; margin: 0 !important; border-top: 0 !important; }
.ffaq-item { padding: 20px 0 24px !important; border: 0 !important; border-bottom: 1px solid var(--mist) !important; }
.ffaq-item h3 { position: relative; margin: 0 0 12px !important; padding: 0 !important; font: 500 18px/28px var(--font-display) !important; letter-spacing: 0; color: var(--text) !important; }
.ffaq-item p { max-width: none !important; margin: 0 !important; padding: 0 24px 0 0; font: 400 14px/20px var(--font-body) !important; color: var(--slate) !important; }
/* JS 接管后 */
.ffaq-list.is-acc .ffaq-item { padding: 0 !important; }
.ffaq-list.is-acc .ffaq-item h3 { margin: 0 !important; }
.ffaq-item h3 > button {
  position: relative; display: block; width: 100%; margin: 0; padding: 20px 40px 20px 0; border: 0; border-radius: 0; background: none;
  font: inherit; color: inherit; letter-spacing: inherit; text-align: left; cursor: pointer; transition: padding-bottom .3s ease-out;
}
.ffaq-item h3 > button::after {
  content: ''; position: absolute; right: 0; top: 22px; width: 24px; height: 24px; background: url('/assets/img/icons/faq-plus.svg') center / 24px 24px no-repeat;
}
.ffaq-item.is-open h3 > button { padding-bottom: 12px; }
.ffaq-item:first-child { padding-top: 0 !important; }
.ffaq-list.is-acc .ffaq-item:first-child h3 > button { padding-top: 0; }
.ffaq-list.is-acc .ffaq-item:first-child h3 > button::after { top: 2px; }
.ffaq-item.is-open h3 > button::after { background-image: url('/assets/img/icons/faq-minus.svg'); }
.ffaq-item h3 > button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.ffaq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease-out; }
.ffaq-a > div { min-height: 0; overflow: hidden; }
.ffaq-a > div > :last-child { padding-bottom: 24px; }
.ffaq-item.is-open .ffaq-a { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .ffaq-a, .ffaq-item h3 > button { transition: none; } }

/* ── 底部联系带：与工厂列表页同一套（cmh-brand.css 的 .cta-band） ── */

/* ── 稿子里没有、沿用令牌的区块 ────────────────────────────────── */
/* 图库 / 厂房照片墙：白底、跟页头之间 120；图片圆角 14、间距 16；角标 Inter 12/18、藏青半透明小签 */
.gallery { padding: 0 0 120px; background: #fff; border: 0; }
.gallery-grid, .f-floor { gap: 16px; }
.gallery-item, .f-floor-card { border-radius: 14px; }
.gallery-label, .f-floor-label {
  left: 16px; bottom: 16px; padding: 4px 10px; border-radius: 6px; background: rgba(12, 26, 58, .72); backdrop-filter: none;
  font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: #fff;
}
/* 产品 / 款式卡、行业图卡、流程条：圆角 12–14、mist 细线，字换成 Inter / Poppins，去掉等宽大写小字 */
.product-img { border-radius: 12px; border: 1px solid var(--mist); overflow: hidden; }
.product-info { border-top: 0; padding-top: 0; margin-top: 12px; }
.product h4, .product-info h4 { margin: 0 0 8px; font: 600 14px/20px var(--font-body); color: var(--text); }
.product-cat-tag, .f-build .fb-tag { margin: 0 0 4px; font: 500 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--orange); }
.product-spec { font: 400 12px/18px var(--font-body); color: var(--slate); }
.product-moq { border-radius: 4px; font: 500 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; }
.product-overlay span { border-radius: 6px; font: 400 14px/20px var(--font-body); letter-spacing: 0; text-transform: none; }
.f-build { border: 1px solid var(--mist); border-radius: 12px; background: #fff; }
.f-build .fb-img { background: var(--cloud); }
.f-build .fb-body { padding: 12px 16px 16px; }
.f-build .fb-name { font: 600 14px/20px var(--font-body); letter-spacing: 0; color: var(--text); }
.f-sec { border-radius: 14px; }
.f-sec::after { background: linear-gradient(180deg, rgba(12,26,58,.08) 0%, rgba(12,26,58,.45) 42%, rgba(12,26,58,.9) 100%); }
.f-sec-tag { font: 500 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--orange); text-shadow: none; }
.f-sec h4 { font: 500 20px/28px var(--font-display); letter-spacing: 0; color: #fff; }
.f-sec p { font: 400 14px/20px var(--font-body); color: rgba(255,255,255,.8); }
.f-sec-more { font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; }
.f-intro { max-width: 760px; margin: 0 0 40px; font: 400 16px/26px var(--font-body); color: var(--slate); }
.f-sublabel { margin: 50px 0 24px; font: 500 18px/24px var(--font-display); letter-spacing: 0; text-transform: uppercase; color: var(--orange); }
.f-sublabel::before { width: 20px; height: 2px; background: var(--orange); }
.f-step .n { width: 32px; height: 32px; background: var(--orange); font: 500 14px/20px var(--font-display); }
.f-step::before { top: 16px; background: var(--mist); }
.f-step strong { font: 600 16px/26px var(--font-body); letter-spacing: 0; color: var(--text); }
.f-step .d { font: 400 14px/20px var(--font-body); color: var(--slate); }
.cat-btn, .cat-page-btn { border-radius: 6px; font: 400 12px/18px var(--font-body); text-transform: none; letter-spacing: 0; }
.cat-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
/* 信任带（藏青整条）+ 评分条：跟下一块之间同样 120 */
.trust-band { margin: 0 0 120px; padding: 72px 0; background: var(--navy); }
.trust-band:has(+ .ratings-bar) { margin-bottom: 0; }
.trust-band-grid { border: 0; gap: 16px; }
.trust-item { padding: 24px; border: 0; border-radius: 12px; background: rgba(255,255,255,.06); }
.trust-item-icon { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; color: var(--orange); }
.trust-item-num { margin: 0 0 4px; font: 500 40px/48px var(--font-display); letter-spacing: 0; font-variation-settings: normal; color: var(--orange); }
.trust-item-label { margin: 0 0 8px; font: 600 14px/20px var(--font-body); text-transform: none; letter-spacing: 0; color: #fff; }
.trust-item-desc { font: 400 14px/20px var(--font-body); color: rgba(255,255,255,.65); }
.ratings-bar { margin: 0 0 120px; padding: 32px 0; background: #fff; border: 0; border-bottom: 1px solid var(--mist); }
.rating-score { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rating-score .score { font: 500 40px/48px var(--font-display); letter-spacing: 0; font-variation-settings: normal; color: var(--orange); }
.rating-score .score.cmh-rv-audit { font-size: 28px; line-height: 36px; }
.rating-score .stars { margin: 0; font: 500 18px/24px var(--font-display); letter-spacing: 0; color: var(--orange); }
.rating-score .count { font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--slate); }
.rating-score .rating-action {
  height: 40px; margin-top: 12px; padding: 10px 14px; border: 1px solid var(--navy); border-radius: 6px; background: #fff; color: var(--navy);
  font: 400 14px/20px var(--font-body); letter-spacing: 0; text-transform: none;
}
@media (hover: hover) { .rating-score .rating-action:hover { background: var(--navy); color: #fff; } }
.rating-divider { background: var(--mist); }
.certs-strip { gap: 8px; }
.certs-strip .cert-badge { min-width: 96px; padding: 16px; border: 0; border-radius: 12px; background: var(--cloud); }
.certs-strip .cert-icon { margin: 0 0 4px; color: var(--orange); }
.certs-strip .cert-value { font: 500 20px/28px var(--font-display); letter-spacing: 0; font-variation-settings: normal; color: var(--text); }
.certs-strip .cert-label { font: 400 12px/18px var(--font-body); letter-spacing: 0; text-transform: none; color: var(--slate); }
section h2[style*="font-weight:300"] { font-weight: 500 !important; letter-spacing: 0 !important; }

/* ── 响应式 ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .f-header-grid { flex-direction: column; align-items: stretch; }
  .trust-card { flex-basis: auto; min-height: 380px; }
  #builds .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  #faq .container { grid-template-columns: 1fr; row-gap: 32px; }
  #faq .section-header { grid-column: 1; grid-row: 1; }
  .ffaq-list { grid-row: 2; }
}
@media (max-width: 768px) {
  .trust-card { height: auto; min-height: 0; padding-top: 300px; background-size: 290px auto; }
  .trust-card-cta { flex-wrap: wrap; }
  .trust-card .btn-block { flex: 1 1 140px; padding: 10px 12px; }
  .trust-card-cta:has(video) { height: auto; padding-top: 0; }
  .trust-card:has(video) { padding-top: 0; }
  .f-header { padding: 40px 0 72px; }
  .f-title { font-size: 40px; line-height: 46px; }
  .section { padding-bottom: 72px; }
  .section-title { font-size: 28px; line-height: 36px; }
  .cap-grid, #builds .cap-grid { grid-template-columns: 1fr; }
  .cap { padding: 16px 0; }
  .certs-grid { grid-template-columns: 1fr; padding: 16px 0; }
  .cert-card, .cert-card:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--mist); padding: 24px !important; }
  .cert-card:last-child { border-bottom: 0; }
  .about-side { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; row-gap: 0; }
  .about-side ul { margin-bottom: 16px; }
  .timeline-list { width: auto; padding: 32px 0 0 48px; }
  .timeline-item, .timeline-item:nth-last-child(even) { width: auto; margin: 0; align-items: flex-start; text-align: left; }
  .timeline-item::before, .timeline-item:nth-last-child(even)::before { left: -34px; right: auto; }
  .timeline-item::after, .timeline-item:nth-last-child(even)::after { left: -30px; right: auto; }
  main > section:has(.rel-card) { padding-bottom: 72px !important; }
  #faq { padding: 48px 0; }
}

/* 同城 / 同类工厂内链（2026-10-23）
   425 个工厂页原来彼此不链接，等于 425 个孤岛；这块把「城市 × 类目」织成网。 */
.nearby-factories { background: var(--cloud); padding: 64px 0; border-top: 1px solid var(--mist); }
.nearby-group + .nearby-group { margin-top: 36px; }
.nearby-group h3 { font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-bottom: 16px; }
.nearby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nearby-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: #fff;
  border: 1px solid var(--mist); border-radius: var(--radius); text-decoration: none;
  transition: border-color .15s, box-shadow .15s; }
.nearby-card:hover { border-color: var(--orange); box-shadow: 0 4px 14px rgba(19,52,120,.08); }
.nearby-note { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); font-weight: 600; }
.nearby-card strong { font-size: .95rem; color: var(--text); font-weight: 600; line-height: 1.3; }
.nearby-city { font-size: .8rem; color: var(--slate); }
@media (max-width: 900px) { .nearby-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .nearby-grid { grid-template-columns: 1fr; } .nearby-factories { padding: 44px 0; } }
.nearby-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
