/* ==========================================================================
   Linknit · 东莞托晟服饰有限公司 官网公共样式 common.css
   纯静态 / 响应式 / 爬虫友好
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --c-primary: #8a6843;      /* 主色：暖棕（与全站新版式统一）*/
  --c-primary-d: #6f583c;
  --c-accent: #b89161;       /* 点缀：暖金棕 */
  --c-accent-d: #8a6843;
  --c-ink: #2b241e;
  --c-text: #4a4038;
  --c-muted: #746a60;
  --c-line: #e6ded2;
  --c-bg: #ffffff;
  --c-bg-soft: #f8f4ee;
  --c-bg-dark: #2f2822;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(72, 52, 34, .10);
  --shadow-lg: 0 10px 36px rgba(72, 52, 34, .16);
  --maxw: 1200px;
  --font: "Microsoft YaHei","微软雅黑","PingFang SC","Hiragino Sans GB","Helvetica Neue",Arial,sans-serif;
  /* ===== 统一字体栈 ===== */
  --font-sans: "Microsoft YaHei","微软雅黑",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB",Arial,sans-serif;
  --font-serif: "Microsoft YaHei","微软雅黑",sans-serif;
  --font-num: "Microsoft YaHei","微软雅黑",sans-serif;
  /* ===== 约束型字号体系（全站只允许取这些值）===== */
  --fs-h1: clamp(30px, 4vw, 44px);
  --fs-h2: clamp(24px, 3vw, 34px);
  --fs-h3: 20px;
  --fs-h4: 17px;
  --fs-lead: 17px;
  --fs-body: 15.5px;
  --fs-sm: 13px;
  --fs-label: 12.5px;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.70;
  font-size: 15.5px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--c-ink); line-height: 1.35; font-weight: 700; }
h1, h2 { font-family: var(--font-serif); letter-spacing: .02em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.text-accent { color: var(--c-accent); }
/* 正文重点关键词：加粗 + 变色，便于客户快速扫读 */
.kw { font-weight: 700; color: var(--c-accent-d); }
.kw-2 { font-weight: 700; color: var(--c-primary); }
/* 正文重点强调：作用域内 <b> 与 .hl 统一加粗+暖棕，长段落更易扫读 */
.hm-wrap b, .ab-wrap b, .sv-wrap b, .pf-wrap b, .ct-wrap b, .kb-wrap b, .prose b, .lead b, .hl { color: var(--c-primary); font-weight: 700; }
/* 深色/CTA 区域内的强调保持白色，避免看不清 */
.hm-cta b, .ab-cta b, .sv-cta b, .pf-cta b, .ct-cta b, .cta-band b, .site-footer b { color: inherit; }

/* ---------- 通用区块 ---------- */
.section { padding: 48px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: 30px; margin-bottom: 14px; }
.section-head .eyebrow {
  display: inline-block; color: var(--c-accent); font-weight: 700;
  letter-spacing: .04em; font-size: 13px; margin-bottom: 12px; text-transform: uppercase;
}
.section-head p { color: var(--c-muted); font-size: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 50px;
  font-weight: 800; font-size: 15px; cursor: pointer; border: 2px solid transparent;
  transition: all .25s;
}
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-d); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--c-primary); }
.btn-outline { border-color: var(--c-primary); color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }

/* ==========================================================================
   公共头部 Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--c-line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav { display: flex; align-items: center; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-name { font-size: 19px; font-weight: 800; color: var(--c-primary); letter-spacing: .5px; }
.brand-name small { display: block; font-size: 11px; color: var(--c-muted); font-weight: 500; letter-spacing: 1px; }
/* 头部字标：Linknit.com 居中，托晟服饰在下方与之居中对齐，不用 LK 图标 */
.site-header .brand-name { text-align: center; line-height: 1.1; }
.brand-word { display: block; font-family: var(--font-serif); font-size: 23px; font-weight: 800; color: var(--c-primary); letter-spacing: .3px; }
.brand-word i { font-style: normal; color: var(--c-accent); }
.site-header .brand-name small { display: block; text-align: center; font-size: 14px; color: #111; font-weight: 700; letter-spacing: 4px; margin-top: 3px; padding-left: 4px; }
.nav-menu { display: flex; gap: 4px; margin-left: auto; }
.nav-menu a {
  display: block; padding: 8px 12px; font-size: 15px; color: var(--c-text);
  font-weight: 500; border-radius: 6px; white-space: nowrap;
}
.nav-menu a:hover { color: var(--c-primary); background: var(--c-bg-soft); }
.nav-menu a.active { color: var(--c-primary); font-weight: 700; }
/* 导航下拉菜单 */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-parent { display: flex; align-items: center; gap: 4px; padding: 8px 12px; font-size: 15px; color: var(--c-text); font-weight: 500; border-radius: 6px; cursor: pointer; white-space: nowrap; }
.nav-parent::after { content: "▾"; font-size: 11px; color: var(--c-muted); }
.nav-item:hover .nav-parent, .nav-parent.active { color: var(--c-primary); background: var(--c-bg-soft); }
.nav-parent.active { font-weight: 700; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 170px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 8px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 1000; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 14px; font-size: 14.5px; color: var(--c-text); font-weight: 500; border-radius: 6px; white-space: nowrap; }
.dropdown a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
.nav-cta { display: flex; align-items: center; gap: 14px; margin-left: 22px; }
.nav-tel { font-size: 14px; color: var(--c-primary); font-weight: 700; white-space: nowrap; }

/* Language switcher in nav-cta */
.lang-sw {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 10px;
  border-radius: 8px; border: 1.5px solid var(--c-line, #ded0bf);
  background: #fff; color: var(--c-primary, #8a6843);
  font-size: 12.5px; font-weight: 700; letter-spacing: .03em;
  text-decoration: none; transition: .18s ease; white-space: nowrap;
}
.lang-sw:hover { background: var(--c-primary, #8a6843); color: #fff; border-color: var(--c-primary, #8a6843); }
@media (max-width: 768px) {
  .lang-sw { min-width: 30px; height: 30px; padding: 0 8px; font-size: 11px; border-radius: 6px; }
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-ink); transition: .3s; }

/* ==========================================================================
   首屏 Hero
   ========================================================================== */
.hero {
  position: relative; color: #fff; text-align: center;
  background: linear-gradient(135deg, var(--c-bg-dark) 0%, var(--c-primary) 100%);
  padding: 96px 0 88px; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 26px 26px;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--c-accent); letter-spacing: 3px; font-weight: 700; font-size: 13px; }
.hero h1 { color: #fff; font-size: 40px; margin: 18px 0; line-height: 1.3; }
.hero .slogan { font-size: 20px; color: #ece1d3; max-width: 720px; margin: 0 auto 14px; }
.hero .sub { color: #d8c8b5; max-width: 680px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* 首页 hero 左文案右产品图 */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; text-align: left; }
.hero-split .hero-copy h1 { font-size: 38px; }
.hero-split .hero-copy .slogan, .hero-split .hero-copy .sub { margin-left: 0; margin-right: 0; max-width: none; }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; box-shadow: 0 14px 34px rgba(0,0,0,.30); }
.hero-gallery img:nth-child(odd) { transform: translateY(-16px); }
.hero-gallery img:nth-child(even) { transform: translateY(16px); }
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero-split .hero-actions { justify-content: center; }
  .hero-gallery { max-width: 380px; margin: 6px auto 0; }
  .hero-gallery img:nth-child(odd), .hero-gallery img:nth-child(even) { transform: none; }
}
.page-hero { padding: 70px 0 60px; }
.page-hero h1 { font-size: 32px; }
.breadcrumb { font-size: 13px; color: var(--c-muted); margin-top: 14px; }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   数据条 Stats
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 30px 18px; text-align: center; box-shadow: var(--shadow);
}
.stat-num { font-size: 38px; font-weight: 800; color: var(--c-primary); line-height: 1; }
.stat-num .unit { font-size: 17px; color: var(--c-accent); margin-left: 3px; }
.stat-label { margin-top: 10px; color: var(--c-muted); font-size: 14px; }

/* ==========================================================================
   卡片网格 通用
   ========================================================================== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media {
  aspect-ratio: 4 / 3; background: linear-gradient(135deg, #e6ded2, #d6c8b4);
  display: flex; align-items: center; justify-content: center; color: var(--c-primary);
  font-weight: 700; position: relative; overflow: hidden;
}
.card-media .ph-icon { font-size: 40px; opacity: .55; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media.portrait { aspect-ratio: 3 / 4; }
.card-media .ph-tag {
  position: absolute; left: 12px; bottom: 12px; background: rgba(15,76,92,.85);
  color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 30px; font-weight: 600;
}
.card-body { padding: 22px; }
.card-body h3 { font-size: 18px; margin-bottom: 8px; }
.card-body p { color: var(--c-muted); font-size: 14.5px; }
.card-body .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.card-body .tags span {
  font-size: 12px; color: var(--c-primary); background: var(--c-bg-soft);
  padding: 3px 10px; border-radius: 20px;
}

/* 图标特性卡 */
.feature { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--c-muted); font-size: 14.5px; }

/* ==========================================================================
   流程 Process
   ========================================================================== */
.process-list { counter-reset: step; display: grid; gap: 18px; }
.process-step {
  display: flex; gap: 22px; align-items: flex-start; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow);
}
.process-step .no {
  counter-increment: step; flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-bg-soft); border: 2px solid var(--c-accent); color: var(--c-accent);
  font-weight: 800; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.process-step .no::before { content: counter(step, decimal-leading-zero); }
.process-step h3 { font-size: 18px; margin-bottom: 6px; }
.process-step p { color: var(--c-muted); font-size: 14.5px; }

/* ==========================================================================
   富文本 / 品牌故事
   ========================================================================== */
.prose { max-width: var(--maxw); margin: 0 auto; }
.prose p { margin-bottom: 18px; color: var(--c-text); }
.prose h2 { font-size: 26px; margin: 36px 0 16px; }
.prose h3 { font-size: 20px; margin: 28px 0 12px; color: var(--c-primary); }
.lead { font-size: 18px; color: var(--c-ink); font-weight: 500; }

/* ---------- 中文正文首行缩进 2 字 ---------- */
.prose p,
.lead,
.split > div > p,
p.indent { text-indent: 2em; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .media { aspect-ratio: 4/3; border-radius: var(--radius); background: linear-gradient(135deg,#e6ded2,#d6c8b4); display:flex; align-items:center; justify-content:center; color: var(--c-primary); box-shadow: var(--shadow); overflow: hidden; }
.split .media .ph-icon { font-size: 52px; opacity:.5; }
.split .media img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* 要点列表 */
.ticks { display: grid; gap: 12px; margin-top: 18px; }
.ticks li { position: relative; padding-left: 30px; color: var(--c-text); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--c-accent);
  width: 20px; height: 20px; border-radius: 50%; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
/* 「暂不承接」列表（✕ 标记）*/
.nope { list-style: none; display: grid; gap: 12px; }
.nope li { position: relative; padding-left: 30px; color: var(--c-text); }
.nope li::before {
  content: "✕"; position: absolute; left: 0; top: 1px; color: #fff; background: #c0392b;
  width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   联系信息
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background:#fff; border:1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-item .ic { flex:none; width:44px; height:44px; border-radius:10px; background: var(--c-bg-soft); color: var(--c-primary); display:flex; align-items:center; justify-content:center; font-size:20px; }
.contact-item .label { font-size: 13px; color: var(--c-muted); }
.contact-item .value { font-size: 16px; color: var(--c-ink); font-weight: 600; word-break: break-all; }
.map-ph { aspect-ratio: 1/1; border-radius: var(--radius); background: linear-gradient(135deg,#e6ded2,#d6c8b4); display:flex; align-items:center; justify-content:center; color: var(--c-primary); box-shadow: var(--shadow); overflow: hidden; }
.map-ph img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* CTA 通栏 */
.cta-band { background: linear-gradient(135deg, var(--c-primary), var(--c-primary-d)); color:#fff; text-align:center; }
.cta-band h2 { color:#fff; font-size: 30px; margin-bottom: 12px; }
.cta-band p { color:#cfe0e4; max-width: 640px; margin: 0 auto 26px; }

/* ==========================================================================
   公共页脚 Footer
   ========================================================================== */
.site-footer { background: var(--c-bg-dark); color: #cdbcaa; padding: 60px 0 24px; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1.4fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h4 { color:#fff; font-size: 16px; margin-bottom: 18px; }
.footer-brand .brand-name { color:#fff; }
.footer-brand .brand-name small { color: #b4a089; }
.footer-brand p { margin-top: 14px; color:#c4b3a0; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-flow: column; grid-template-rows: repeat(4, auto); gap: 10px 28px; }
.footer-links a:hover { color: var(--c-accent); }
.footer-info { display: grid; gap: 10px; }
.footer-info .row { display: flex; gap: 8px; }
.footer-info .row b { color:#fff; font-weight: 600; flex: none; }
.footer-bottom { padding-top: 22px; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color:#a3917d; font-size: 13px; }
.footer-bottom a:hover { color:#fff; }

/* ==========================================================================
   返回顶部
   ========================================================================== */
.to-top {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--c-primary); color:#fff; display:flex; align-items:center; justify-content:center;
  font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; z-index: 998; box-shadow: var(--shadow-lg); border:none;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--c-accent); }

/* 懒加载占位淡入 */
img.lazy { opacity: 0; transition: opacity .4s; }
img.lazy.loaded { opacity: 1; }
img.zoomable { cursor: zoom-in; }

/* ==========================================================================
   富媒体：图片画廊 / 图注 / 流程配图 / 二维码 / 灯箱
   ========================================================================== */
/* 内容图注 figure */
.fig { margin: 8px auto 26px; max-width: 720px; }
.fig img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.fig figcaption { text-align: center; color: var(--c-muted); font-size: 13.5px; margin-top: 10px; }

/* 画廊 gallery */
.gallery { gap: 16px; }
.gallery .gallery-item {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: linear-gradient(135deg,#e6ded2,#d6c8b4);
}
.gallery.portrait .gallery-item { aspect-ratio: 3 / 4; }
.gallery.landscape .gallery-item { aspect-ratio: 4 / 3; }
.gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery .gallery-item:hover img { transform: scale(1.05); }
.gallery .gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; color: #fff;
  font-size: 13px; font-weight: 600; background: linear-gradient(transparent, rgba(10,40,49,.82));
}

/* 工厂卡片用 media_box 时撑满卡片顶部 4:3 */
.card .media { aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; }

/* 生产流程逐步配图 */
.process-step { align-items: center; }
.ps-body { flex: 1; }
.ps-media { flex: none; width: 168px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg,#e6ded2,#d6c8b4); }
.ps-media img { width: 100%; height: 100%; object-fit: cover; }

/* 微信二维码卡片 */
.qr-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; text-align: center; }
.qr-card img { width: 220px; max-width: 70%; aspect-ratio: 1/1; margin: 0 auto 14px; border-radius: 8px; }
.qr-cap b { display: block; color: var(--c-primary); font-size: 16px; }
.qr-cap span { display: block; color: var(--c-muted); font-size: 13px; margin-top: 4px; }
.loc-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.loc-img img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   转化与信任组件
   ========================================================================== */
/* 信任徽章条 */
.trust-badges {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px 18px;
}
.tb-item { display: flex; align-items: center; gap: 10px; }
.tb-ic { font-size: 24px; flex: none; }
.tb-item b { display: block; color: var(--c-primary); font-size: 17px; line-height: 1.2; }
.tb-item span { color: var(--c-muted); font-size: 12.5px; }

/* 多渠道 CTA 按钮组 */
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 14px; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1eb858; transform: translateY(-2px); box-shadow: var(--shadow); }
.cta-assure { color: #bcd2d7 !important; font-size: 13px !important; }

/* 占位素材框（未上传统一标注）*/
.ph-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  background: repeating-linear-gradient(45deg,#eef2f3,#eef2f3 12px,#e7edee 12px,#e7edee 24px);
  border: 2px dashed #b6c6ca; border-radius: var(--radius); color: var(--c-primary); text-align: center; padding: 12px;
}
.ph-box .ph-cam { font-size: 26px; opacity: .5; }
.ph-box b { font-size: 14px; }
.ph-box .ph-note { font-size: 11.5px; color: var(--c-muted); }

/* 资质证书墙 */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; text-align: center; }
.cert-card .fig, .cert-card .ph-box { margin: 0 0 10px; }
.cert-card .fig img { aspect-ratio: 3/4; object-fit: cover; }
.cert-card h4 { font-size: 15px; color: var(--c-ink); }
.cert-card p { font-size: 12.5px; color: var(--c-muted); margin-top: 4px; }

/* 合作品牌墙 */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.brand-cell { aspect-ratio: 3/2; }
/* 品牌名文字卡（无 LOGO 时的合规呈现）*/
.brand-txt { width: 100%; height: 100%; min-height: 88px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px 12px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--c-primary); font-weight: 800; letter-spacing: .5px; font-size: 17px; line-height: 1.3; transition: transform .2s, box-shadow .2s, color .2s; }
.brand-txt:hover { color: var(--c-accent-d); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* 客户评价 */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; position: relative; }
.testi-card .quote-mark { font-size: 46px; color: var(--c-accent); line-height: .6; opacity: .35; }
.testi-card .stars { color: var(--c-accent); letter-spacing: 2px; margin: 6px 0 10px; }
.testi-card p { color: var(--c-text); font-size: 14.5px; }
.testi-card .who { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.testi-card .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--c-bg-soft); display: flex; align-items: center; justify-content: center; color: var(--c-primary); font-weight: 700; }
.testi-card .who b { font-size: 14px; color: var(--c-ink); display: block; }
.testi-card .who span { font-size: 12px; color: var(--c-muted); }

/* 客户案例 */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.case-card .case-body { padding: 20px 22px; }
.case-card h4 { font-size: 16px; margin-bottom: 12px; }
.case-meta { display: grid; gap: 8px; }
.case-meta .row { display: flex; justify-content: space-between; font-size: 13px; border-bottom: 1px dashed var(--c-line); padding-bottom: 7px; }
.case-meta .row span:first-child { color: var(--c-muted); }
.case-meta .row span:last-child { color: var(--c-ink); font-weight: 600; }

/* 服务：如何合作 步骤 */
.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: ht; }
.howto-step { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 22px; position: relative; }
.howto-step .n { counter-increment: ht; font-size: 30px; font-weight: 800; color: var(--c-accent); opacity: .9; }
.howto-step .n::before { content: "0" counter(ht); }
.howto-step h4 { font-size: 16px; margin: 6px 0 8px; }
.howto-step p { font-size: 13.5px; color: var(--c-muted); }

/* FAQ 手风琴（原生 details）*/
.faq { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; color: var(--c-ink); display: flex; justify-content: space-between; align-items: center; font-size: 15.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--c-accent); font-size: 22px; font-weight: 700; transition: transform .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--c-text); font-size: 14.5px; }

/* 产品分类筛选 tab */
.filter-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.filter-tabs button {
  border: 1px solid var(--c-line); background: #fff; color: var(--c-text); padding: 9px 20px;
  border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s;
}
.filter-tabs button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.filter-tabs button.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.gallery-item.hide { display: none; }

/* 工厂参数速览表 */
.spec-table { max-width: var(--maxw); margin: 0 auto; background:#fff; border:1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow); overflow:hidden; }
.spec-table table { width:100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align:left; padding: 12px 20px; font-size: 14.5px; border-bottom:1px solid var(--c-bg-soft); }
.spec-table th { width: 34%; color: #fff; font-weight:600; background: var(--c-bg-dark); }
.spec-table td { color: var(--c-ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom:none; }
.spec-table .todo { color: var(--c-accent-d); background:#fbf2e0; padding:1px 9px; border-radius:20px; font-size:12.5px; }

/* 痛点 → 解法 */
.pain-grid .ps-card { background:#fff; border:1px solid var(--c-line); border-radius:var(--radius); box-shadow:var(--shadow); padding:22px; }
.ps-card .ps-q { color:var(--c-ink); font-weight:600; font-size:15px; padding-bottom:12px; border-bottom:1px dashed var(--c-line); }
.ps-card .ps-q b { display:inline-block; font-size:11px; color:#fff; background:#c0392b; padding:1px 8px; border-radius:20px; margin-right:8px; font-weight:700; }
.ps-card .ps-s { color:var(--c-text); font-size:14px; padding-top:12px; }
.ps-card .ps-s b { display:inline-block; font-size:11px; color:#fff; background:var(--c-primary); padding:1px 8px; border-radius:20px; margin-right:8px; font-weight:700; }

/* 源头工厂 vs 贸易商 */
.vs-table { background:#fff; border:1px solid var(--c-line); border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.vs-table table { width:100%; border-collapse:collapse; }
.vs-table th, .vs-table td { padding:13px 16px; font-size:14px; text-align:left; border-bottom:1px solid var(--c-bg-soft); }
.vs-table thead th { background:var(--c-primary); color:#fff; font-weight:600; }
.vs-table thead th:nth-child(3) { background:var(--c-muted); }
.vs-table .vs-k { color:var(--c-muted); font-weight:600; width:18%; }
.vs-table .vs-ok { color:var(--c-primary); font-weight:600; }
.vs-table .vs-no { color:#9aa6ad; }
.vs-table tr:last-child td { border-bottom:none; }

/* 分品类导航 chips */
.cat-nav { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.cat-chip { border:1px solid var(--c-line); background:#fff; color:var(--c-text); padding:9px 18px; border-radius:50px; font-size:14px; font-weight:600; transition:all .2s; }
.cat-chip:hover { border-color:var(--c-primary); color:var(--c-primary); }
.cat-chip.active { background:var(--c-primary); border-color:var(--c-primary); color:#fff; }

/* 手机端固定底部联系条 */
.mobile-bar { display: none; }

/* 右侧微信二维码浮窗（电脑端）*/
.wechat-float { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 997; }
.wf-card {
  position: relative; width: 132px; background: #fff; border: 1px solid var(--c-line);
  border-right: none; border-radius: 10px 0 0 10px; box-shadow: var(--shadow-lg);
  padding: 12px 10px 11px; text-align: center; transition: transform .35s, opacity .35s;
}
.wf-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent)); border-radius: 10px 0 0 0;
}
.wf-title { font-size: 12px; font-weight: 700; color: var(--c-primary); margin-bottom: 7px; }
.wf-card img { width: 104px; height: 104px; margin: 0 auto; border-radius: 5px; }
.wf-sub { font-size: 10.5px; color: var(--c-muted); margin-top: 6px; line-height: 1.45; }
.wf-close {
  position: absolute; top: 4px; right: 6px; width: 20px; height: 20px; border: none; background: none;
  color: var(--c-muted); font-size: 16px; line-height: 1; cursor: pointer; border-radius: 50%;
}
.wf-close:hover { background: var(--c-bg-soft); color: var(--c-ink); }
.wf-tab {
  display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl; white-space: nowrap; padding: 16px 9px; border: none; cursor: pointer;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-d)); color: #fff;
  font-size: 14px; letter-spacing: 3px; border-radius: 10px 0 0 10px; box-shadow: var(--shadow-lg);
}
.wf-tab span { white-space: nowrap; }
.wf-tab:hover { background: var(--c-accent); }
/* 收起状态：卡片滑出，露出竖排标签 */
.wechat-float.collapsed .wf-card { transform: translateX(110%); opacity: 0; pointer-events: none; }
.wechat-float.collapsed .wf-tab { display: block; }

/* 灯箱 lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(8,24,30,.9); }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .wechat-float { display: none; }   /* 微信浮窗仅电脑端显示 */
  .trust-badges { grid-template-columns: repeat(3, 1fr); }
  .cert-grid, .testi-grid, .case-grid, .howto { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(4, 1fr); }
  /* 手机/平板：显示底部联系条，并给页面留出空间 */
  .mobile-bar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 999; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 -4px 18px rgba(15,76,92,.1);
  }
  .mobile-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    padding: 9px 4px; font-size: 12px; color: var(--c-text); border-right: 1px solid var(--c-bg-soft);
  }
  .mobile-bar a:last-child { border-right: none; }
  .mobile-bar .mb-ic { font-size: 17px; }
  .mobile-bar .mb-primary { background: var(--c-accent); color: #fff; font-weight: 700; }
  body { padding-bottom: 58px; }
  .to-top { bottom: 70px; }
}
@media (max-width: 1080px) {
  /* 导航：中等屏及以下收起为汉堡菜单，避免顶部拥挤换行 */
  .nav-tel { display: none; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .3s; max-height: calc(100vh - 72px); overflow:auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu a { padding: 12px 8px; border-bottom: 1px solid var(--c-bg-soft); border-radius: 0; white-space: normal; }
  /* 移动端：下拉子菜单常显并缩进 */
  .nav-item { display: block; }
  .nav-parent { padding: 12px 8px; border-bottom: 1px solid var(--c-bg-soft); white-space: normal; }
  .nav-parent::after { margin-left: auto; }
  .dropdown { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .hero h1 { font-size: 28px; }
  .hero .slogan { font-size: 17px; }
  .section { padding: 52px 0; }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .gallery.portrait, .gallery.landscape { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery .gallery-cap { font-size: 11.5px; padding: 16px 10px 8px; }
  .process-step { flex-wrap: wrap; }
  .ps-media { width: 100%; aspect-ratio: 16 / 9; order: -1; }
  .section-head h2 { font-size: 25px; }

  /* 手机端页脚精简：只保留品牌名 + 核心联系方式 + 版权 */
  .site-footer { padding: 36px 0 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 20px; padding-bottom: 22px; }
  .footer-brand p { display: none; }
  .footer-top > div:nth-child(2) { display: none; }     /* 隐藏页脚导航列（顶部菜单已有）*/
  .footer-info .row:nth-child(7) { display: none; }      /* 隐藏重复的官网地址行 */
  .footer-bottom { font-size: 12px; gap: 6px; }
  .trust-badges { grid-template-columns: repeat(2, 1fr); padding: 16px 14px; gap: 12px; }
  .cert-grid, .testi-grid, .case-grid, .howto { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-actions .btn { width: 100%; max-width: 320px; }
}

/* ==========================================================================
   打印样式 @media print —— 方便客户打印产品页 / 报价参考
   ========================================================================== */
@media print {
  *{ -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body { font-size: 12pt; line-height: 1.55; color: #000; background: #fff; }
  /* 隐藏导航、浮窗、按钮等非打印元素 */
  .site-header, .mobile-bar, .wechat-float, .to-top, .lightbox,
  .nav-toggle, .hero-actions, .cta-actions, .cta-band, .nav-cta,
  .filter-tabs, .cat-nav, .kb-toc { display: none !important; }
  main { padding-top: 0; }
  .section { padding: 14px 0; }
  .hero, .page-hero { background: none !important; color: #000 !important; padding: 10px 0; }
  .hero h1, .page-hero h1, .hero .slogan, .hero .eyebrow, .breadcrumb { color: #000 !important; }
  a { color: #000 !important; text-decoration: none; }
  /* 展开 FAQ 折叠项，确保打印完整 */
  .faq-item[open] .faq-a, details .faq-a { display: block !important; }
  .card, .feature, .spec-table, .kb-table, .process-step, .testi-card { box-shadow: none !important; border: 1px solid #ccc; break-inside: avoid; }
  img { max-width: 100% !important; }
  .site-footer { background: #fff !important; color: #000 !important; border-top: 1px solid #ccc; padding: 16px 0; }
  .site-footer * { color: #000 !important; }
  .kw, .kw-2 { color: #000 !important; font-weight: 700; }
}
