/* ==========================================================================
   Jinsifang Technology — B2B export site stylesheet
   Brand palette derived from the J.S.F logo (green #007830-#009030,
   violet #6060F0, magenta #9000C0, lime #90F000)
   ========================================================================== */

:root {
  --brand: #0a8f3c;
  --brand-d: #046b2c;
  --brand-l: #34ad63;
  --brand-tint: #eaf6ee;
  --brand-tint2: #d6ecdf;
  --violet: #5b5be8;
  --violet-tint: #eeeefd;
  --lime: #a8e22a;
  --amber: #d9822b;
  --amber-tint: #fdf3e7;

  --ink: #0e1a24;
  --ink-2: #23323f;
  --slate: #5a6773;
  --slate-2: #8695a3;
  --line: #e2e8ed;
  --line-2: #eef2f5;
  --bg: #ffffff;
  --bg-alt: #f5f8f6;
  --bg-dark: #0d1f19;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(14, 26, 36, .05);
  --sh-2: 0 4px 16px rgba(14, 26, 36, .07);
  --sh-3: 0 18px 44px rgba(14, 26, 36, .12);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --maxw: 1240px;
  --hdr: 72px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink);
  background: var(--bg); font-size: 16px; line-height: 1.68;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
/* ⚠ 兜底：内联 SVG 只带 viewBox、没有 width/height 时，浏览器会按默认 300×150 渲染，
   足以撑破页脚这类窄栏。未显式约束尺寸的图标统一给 1em；
   下方所有具名规则（.btn svg、.card-ico svg …）优先级更高，会正常覆盖它。 */
li > svg, p > svg, span > svg, a > svg { width: 1em; height: 1em; flex: 0 0 auto; }
/* <picture> 只做格式协商，不参与布局，让内部 img 直接继承原有槽位样式 */
picture { display: contents; }
/* ⚠ 关键：img 的 width/height 属性是 presentational hint，等价于 height:Npx。
   凡是「只设了 width」的槽位（.split、.hero-media、行内配图），浏览器会把高度
   钉死在属性值上，容器一变窄就纵向拉伸失真。height:auto 让高度跟随宽度；
   属性带来的 aspect-ratio:auto W/H 仍会保留，用于提前占位、消除布局抖动。 */
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.22; letter-spacing: -.018em; font-weight: 800; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 2.9vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.375rem); font-weight: 700; }
h4 { font-size: 1.03rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--brand-l); outline-offset: 2px; border-radius: 4px; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 860px; }
.sec { padding: 84px 0; }
.sec-sm { padding: 56px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-tint { background: var(--brand-tint); }
.sec-ink { background: var(--bg-dark); color: #dfeae5; }
.sec-ink h1, .sec-ink h2, .sec-ink h3, .sec-ink h4 { color: #fff; }
.sec-ink a { color: #8fe0ab; }
.sec-ink .lead { color: #b9cdc4; }
.sec-head { max-width: 780px; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 1.075rem; color: var(--slate); }
.sm { font-size: .875rem; }
.xs { font-size: .8rem; }
.mono { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.muted { color: var(--slate); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; } .mt3 { margin-top: 3rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: .75rem;
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.sec-ink .eyebrow { color: var(--lime); }
.sec-ink .eyebrow::before { background: var(--lime); }

.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.g-2-1 { grid-template-columns: 1.15fr .85fr; }
.g-1-2 { grid-template-columns: .85fr 1.15fr; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-wide { grid-template-columns: 1.05fr .95fr; }

/* ---------- topbar + header ---------- */
.topbar {
  background: var(--bg-dark); color: #b6c8c0; font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar a { color: #d6e5de; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); display: inline-block; }

.hdr {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.hdr .wrap { display: flex; align-items: center; gap: 22px; min-height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { height: 36px; width: auto; flex: 0 0 auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.12; white-space: nowrap; }
.brand-name { font-weight: 800; font-size: .95rem; color: var(--ink); letter-spacing: -.01em; }
.brand-sub { font-size: .72rem; color: var(--slate); letter-spacing: .075em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 0; margin-left: auto; flex-wrap: nowrap; }
/* ⚠ 导航项是 <ul class="nav-list"> 的子元素，ul 本身用 display:contents 退出布局，
   让 li 直接成为 .nav 的弹性子项。选择器必须带 .nav-list 这一层，
   否则 .nav > li>a 全部落空 —— 链接会退回浏览器默认样式（绿色、无内边距、
   li 还带项目符号），表现就是「导航挤成一坨」。 */
.nav-list { display: contents; }
.nav > .nav-list > li { list-style: none; position: relative; }
.nav > .nav-list > li > a {
  display: block; padding: 10px 12px; color: var(--ink-2); font-size: .9rem;
  font-weight: 600; border-radius: var(--r-sm); white-space: nowrap;
}
.nav > .nav-list > li > a:hover, .nav > .nav-list > li.active > a { color: var(--brand); background: var(--brand-tint); }
.nav .has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; width: 5px; height: 5px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-2px); }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3);
  padding: 8px; margin: 0; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: .18s ease; list-style: none;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: .885rem; color: var(--ink-2); font-weight: 500; }
.sub a:hover { background: var(--brand-tint); color: var(--brand-d); }
.sub a.on { background: var(--brand-tint); color: var(--brand-d); font-weight: 700; }
.hdr-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 13px; font: inherit; font-size: .82rem; font-weight: 600;
  color: var(--ink-2); cursor: pointer;
}
.lang-btn:hover { border-color: var(--brand-l); color: var(--brand-d); }
.lang-btn svg { width: 14px; height: 14px; opacity: .7; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-3); padding: 6px; min-width: 178px; display: none; z-index: 70;
}
.lang.open .lang-menu { display: block; }
.lang-menu a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 11px;
  border-radius: var(--r-sm); font-size: .85rem; color: var(--ink-2); }
.lang-menu a:hover { background: var(--brand-tint); }
.lang-menu a.on { background: var(--brand-tint); color: var(--brand-d); font-weight: 700; }
.lang-menu a span { color: var(--slate-2); font-size: .76rem; }
.lang-menu .soon { opacity: .45; cursor: not-allowed; }

.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
.burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-size: .93rem; font-weight: 700; padding: 13px 24px; border-radius: var(--r-sm);
  border: 1.5px solid transparent; cursor: pointer; transition: .18s ease; text-align: center; line-height: 1.2;
}
.btn svg { width: 17px; height: 17px; }
.btn-p { background: var(--brand); color: #fff; box-shadow: 0 2px 10px rgba(10, 143, 60, .22); }
.btn-p:hover { background: var(--brand-d); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(10, 143, 60, .28); }
.btn-o { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-o:hover { border-color: var(--brand); color: var(--brand-d); background: var(--brand-tint); }
.btn-w { background: #fff; color: var(--brand-d); }
.btn-w:hover { background: var(--brand-tint); }
.btn-g { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn-g:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-sm { padding: 10px 17px; font-size: .85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 76px 0 68px; background:
  radial-gradient(1100px 480px at 88% -8%, var(--brand-tint) 0%, rgba(255,255,255,0) 62%), #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.hero h1 .hl { color: var(--brand); }
.hero .lead { font-size: 1.13rem; max-width: 33em; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--sh-3); width: 100%; }
.hero-badge {
  position: absolute; left: -14px; bottom: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-2); padding: 12px 16px; display: flex; gap: 12px; align-items: center;
}
.hero-badge b { display: block; font-size: 1.28rem; color: var(--brand); line-height: 1.1; }
.hero-badge svg { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; }
.hero-badge span { font-size: .74rem; color: var(--slate-2); letter-spacing: .04em; text-transform: uppercase; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 7px 14px; font-size: .82rem; font-weight: 600; color: var(--ink-2);
}
.chip svg { width: 15px; height: 15px; color: var(--brand); flex: 0 0 auto; }
.chip.solid { background: var(--brand-tint); border-color: var(--brand-tint2); color: var(--brand-d); }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stat { background: #fff; padding: 26px 22px; }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: .84rem; color: var(--slate); }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: .2s ease; height: 100%;
}
.card:hover { border-color: var(--brand-tint2); box-shadow: var(--sh-2); transform: translateY(-2px); }
.card-ico {
  width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-d);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card-ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card-num {
  font-size: .74rem; font-weight: 800; letter-spacing: .12em; color: var(--brand);
  text-transform: uppercase; margin-bottom: 10px;
}
.card-flat { background: var(--bg-alt); border-color: transparent; }
.card-flat:hover { background: #fff; }

/* product cards */
.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; transition: .22s ease; height: 100%; }
.pcard:hover { box-shadow: var(--sh-3); transform: translateY(-3px); border-color: var(--brand-tint2); }
/* 产品卡片槽位 3:2 —— 素材原生 3:2，cover 几乎不裁切 */
.pcard-img { background: #f2f5f3; aspect-ratio: 3 / 2; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.pcard:hover .pcard-img img { transform: scale(1.04); }
.pcard-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { margin-bottom: .35em; font-size: 1.1rem; }
.pcard-body p { font-size: .9rem; color: var(--slate); }
.pcard-meta { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line-2); }
.tag {
  display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 10px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand-d);
}
.tag-v { background: var(--violet-tint); color: #4341c4; }
.tag-a { background: var(--amber-tint); color: #a45f16; }
.tag-g { background: #eef1f4; color: var(--slate); }
.tag-lime { background: #f2fbdc; color: #5c7a12; }

/* ---------- funnel (5-layer gate) ---------- */
.funnel { display: grid; gap: 14px; }
.funnel-layer {
  display: grid; grid-template-columns: 92px 1fr 220px; gap: 22px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px;
  position: relative; transition: .2s ease;
}
.funnel-layer:hover { border-color: var(--brand); box-shadow: var(--sh-2); }
.funnel-n {
  font-size: 1.5rem; font-weight: 800; color: var(--brand-tint2); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.funnel-layer h3 { margin-bottom: .2em; font-size: 1.06rem; }
.funnel-layer p { margin: 0; font-size: .9rem; color: var(--slate); }
.funnel-q { font-size: .82rem; color: var(--brand-d); font-weight: 700; background: var(--brand-tint);
  border-radius: var(--r-sm); padding: 10px 13px; }
.funnel-q em { display: block; font-style: normal; font-size: .72rem; font-weight: 600; color: var(--slate-2); margin-bottom: 3px; letter-spacing: .05em; text-transform: uppercase; }

/* ---------- tables ---------- */
/* 表格 min-width:620px 会在窄屏横向滚动；但栅格/弹性子项默认 min-width:auto
   会被内容撑开，overflow-x 便失效、整页横向溢出。子项一律允许收缩。 */
.grid > *, .split > *, .stats > *, .tiers > *, .f2 > *,
.qc-grid > *, .cert-grid > *, .gallery > *, .bgrid > *, .post-layout > * { min-width: 0; }
.tbl-wrap { overflow-x: auto; max-width: 100%; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.tbl thead th { background: var(--bg-alt); font-size: .76rem; font-weight: 800; letter-spacing: .07em;
  text-transform: uppercase; color: var(--slate); border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover { background: #fbfdfb; }
.tbl .num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.tbl .hi { background: #f6fcf7; }
.tbl-lg td, .tbl-lg th { padding: 16px 18px; }

/* 键值对：用于「可核验信息」「每档 MOQ 小规格」这类窄列里的短表。
   刻意不用 <table>——.tbl 有 min-width:620px，放进两栏布局的窄列会被裁掉。 */
.kv { display: grid; gap: 0; margin: .9em 0 0; }
.kv > div { display: grid; grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
  gap: 14px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.kv > div:first-child { border-top: 0; padding-top: 0; }
.kv dt { font-size: .74rem; font-weight: 800; color: var(--slate-2); letter-spacing: .05em;
  text-transform: uppercase; line-height: 1.5; }
.kv dd { margin: 0; font-size: .9rem; color: var(--ink-2); overflow-wrap: anywhere; line-height: 1.55; }
.kv-2col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; }
.card .kv { margin-top: .75em; }
.card .kv > div { padding: 8px 0; }
.spec-tbl th { width: 36%; color: var(--ink-2); font-weight: 700; background: #fafcfb; }
.spec-tbl td { font-variant-numeric: tabular-nums; }
.flag { font-size: 1.05em; }

/* ---------- pricing tiers ---------- */
/* auto-fit：档位卡数量可能不是 4 张，写死 repeat(4,1fr) 会留一个空列。 */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.tier { border: 1.5px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; background: #fff; text-align: center; transition: .2s; }
.tier:hover { border-color: var(--brand-l); }
.tier.best { border-color: var(--brand); box-shadow: var(--sh-2); position: relative; }
.tier.best::after { content: "Most quoted"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 12px; border-radius: var(--r-pill); white-space: nowrap; }
.tier-qty { font-size: .82rem; font-weight: 700; color: var(--slate); letter-spacing: .03em; }
.tier-price { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--brand); margin: 10px 0 2px; letter-spacing: -.02em; }
.tier-price small { font-size: .5em; font-weight: 700; color: var(--slate-2); }
.tier-note { font-size: .78rem; color: var(--slate-2); }

/* ---------- steps ---------- */
.steps { counter-reset: s; display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 20px; padding-bottom: 26px; position: relative; }
/* 序号徽标用 ::before 承担（grid-column:1）。若模板仍在徽标后留一个空占位 div，
   它会被自动排进第 2 列，把真正的内容挤到 46px 的窄列里（文字每行只剩一个词）。
   新版模板已不再输出空占位，这里再兜一层。 */
.step > div:empty { display: none; }
.step::before { counter-increment: s; content: counter(s); grid-column: 1; width: 46px; height: 46px;
  border-radius: 50%; background: var(--brand); color: #fff; font-weight: 800; display: flex;
  align-items: center; justify-content: center; font-size: 1rem; z-index: 1; }
.step:not(:last-child)::after { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: var(--line); }
.step h4 { margin: 6px 0 .3em; }
.step p { font-size: .9rem; color: var(--slate); margin-bottom: 0; }

/* ---------- QC grid ---------- */
.qc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.qc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
/* 品控槽位 9:16 —— 与工厂竖屏视频同比例；素材原生 9:20，仅削去上下边框 */
.qc-card img { aspect-ratio: 9 / 16; object-fit: cover; width: 100%; background: #eef2f0; }
.qc-card-b { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.qc-card-b h4 { margin-bottom: .3em; font-size: .98rem; }
.qc-card-b p { font-size: .855rem; color: var(--slate); margin-bottom: 0; }
.qc-tag { font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 7px; display: block; }

/* ---------- video ---------- */
.vid-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.vid {
  position: relative; border-radius: var(--r); overflow: hidden; background: #0b1a14;
  aspect-ratio: 9 / 16; cursor: pointer;
}
.vid video { width: 100%; height: 100%; object-fit: cover; }
.vid-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(6, 20, 14, .05), rgba(6, 20, 14, .5)); transition: .2s;
}
.vid:hover .vid-play { background: linear-gradient(180deg, rgba(6, 20, 14, .1), rgba(6, 20, 14, .62)); }
.vid-play i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  display: flex; align-items: center; justify-content: center; }
.vid-play i::after { content: ""; border-left: 13px solid var(--brand-d); border-top: 8px solid transparent;
  border-bottom: 8px solid transparent; margin-left: 4px; }
.vid.playing .vid-play { opacity: 0; pointer-events: none; }
.vid-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 12px 10px; font-size: .72rem;
  font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .68)); }

/* ---------- certs ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px;
  display: flex; gap: 16px; align-items: flex-start; }
/* 证书是 A4 竖版（0.707），缩略图槽位按同一比例，避免裁掉骑缝章 */
.cert-thumb { flex: 0 0 74px; height: 105px; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; background: #f7f9f8; }
.cert-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cert-card h4 { margin-bottom: .25em; font-size: .94rem; }
.cert-card .xs { color: var(--slate); display: block; margin-bottom: 6px; }
.cert-no { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .74rem; color: var(--slate-2); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
/* 图库素材横竖混排（3:2 与 2:3 都有），故用 1:1 槽位 + contain：
   完整画面全部保留，只做留白，绝不裁切；点击后灯箱可看原尺寸。 */
.gallery a { display: block; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
  background: #f7f9f8; aspect-ratio: 1 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: contain; object-position: center;
  padding: 7px; transition: .3s; }
.gallery a:hover img { transform: scale(1.03); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 19px 54px 19px 22px; font-weight: 700; font-size: .98rem;
  position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--brand); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { color: var(--brand-d); }
.faq-body { padding: 0 22px 20px; font-size: .93rem; color: var(--slate); }
.faq-body p:last-child, .faq-body ul:last-child { margin-bottom: 0; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh-2); }
.field { margin-bottom: 17px; }
.field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: #c33; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .93rem; padding: 12px 14px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); background: #fff; color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint);
}
.field textarea { min-height: 104px; resize: vertical; }
.field .hint { font-size: .76rem; color: var(--slate-2); margin-top: 5px; }
.field.err input, .field.err select, .field.err textarea { border-color: #d4574f; background: #fffafa; }
.field .msg { display: none; font-size: .77rem; color: #c0392b; margin-top: 5px; }
.field.err .msg { display: block; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-note { font-size: .78rem; color: var(--slate-2); margin-top: 14px; }
.form-ok { display: none; background: var(--brand-tint); border: 1px solid var(--brand-tint2); color: var(--brand-d);
  border-radius: var(--r); padding: 18px 20px; font-size: .92rem; font-weight: 600; margin-bottom: 18px; }
.form-ok.on { display: block; }

/* ---------- contact rail ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 19px; height: 19px; color: var(--brand); flex: 0 0 auto; margin-top: 3px; }
.contact-list b { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-2); font-weight: 800; }
.im-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.im {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 13px; font-size: .82rem; font-weight: 600; color: var(--ink-2); background: #fff;
}
.im:hover { border-color: var(--brand); color: var(--brand-d); background: var(--brand-tint); }
.im svg { width: 15px; height: 15px; }

/* ---------- breadcrumb ---------- */
.crumb { font-size: .8rem; color: var(--slate-2); padding: 18px 0 0; }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.crumb li:last-child::after { content: ""; }
.crumb a { color: var(--slate); }

/* ---------- page head ---------- */
.phead { padding: 30px 0 52px; background:
  linear-gradient(180deg, var(--bg-alt), #fff); border-bottom: 1px solid var(--line); }
.phead h1 { max-width: 20ch; }
.phead .lead { max-width: 62ch; margin-top: 14px; }

/* ---------- notice ---------- */
.notice { display: flex; gap: 14px; border-radius: var(--r); padding: 18px 20px; font-size: .89rem;
  background: var(--amber-tint); border: 1px solid #f2ddc0; color: #7d4a12; }
.notice svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.notice b { color: #6b3d0b; }
.notice.info { background: var(--brand-tint); border-color: var(--brand-tint2); color: var(--brand-d); }
.notice.info b { color: var(--brand-d); }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(135deg, #0e2a1f 0%, #0a8f3c 100%); border-radius: var(--r-lg);
  padding: 52px; color: #e6f2ea; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(255, 255, 255, .07); }
.cta-band h2 { color: #fff; max-width: 24ch; }
.cta-band p { color: #c4ded0; max-width: 56ch; }

/* ---------- long-form reading (.prose) ---------- */
/* 正文排版：把行宽压在 68ch 以内（原 860px 容器约 100ch，读起来太散），
   h3 之间用细分隔线建立节奏，并为每个 h3 留出锚点与滚动偏移。 */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 288px; gap: 42px 56px; align-items: start; }
/* 元信息横跨整行，下一行才是「正文 + 侧栏」，否则自动排布会把正文挤到右栏 */
.post-meta { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.prose { max-width: 68ch; font-size: 1.045rem; line-height: 1.78; color: var(--ink-2); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.28rem, 2.1vw, 1.6rem); margin: 2.3em 0 .6em; }
.prose h3 {
  font-size: 1.155rem; margin: 2.05em 0 .55em; padding-top: 1.4em;
  border-top: 1px solid var(--line-2); scroll-margin-top: 96px;
}
.prose h3:first-of-type { border-top: 0; padding-top: 0; margin-top: 1.6em; }
.prose p { margin: 0 0 1.15em; }
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 1.35em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose code { background: var(--bg-alt); border: 1px solid var(--line-2); border-radius: 5px;
  padding: .1em .38em; font-size: .9em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand-l);
  color: var(--slate); font-style: italic; }
.prose .tbl-wrap { margin: 1.5em 0 1.8em; }
.prose .tbl td, .prose .tbl th { font-size: .9rem; }
.prose .muted { font-size: .875rem; line-height: 1.7; }
.prose a:not(.hanchor) { text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: var(--brand-l); }
.hanchor { margin-left: .38em; color: var(--line); font-weight: 700; text-decoration: none !important;
  opacity: 0; transition: opacity .18s; }
.prose h3:hover .hanchor, .hanchor:focus-visible { opacity: 1; }

.takeaway { background: var(--brand-tint); border: 1px solid var(--brand-tint2);
  border-radius: var(--r); padding: 22px 24px; margin-bottom: 2.2em; }
.takeaway h2 { font-size: .74rem !important; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-d) !important; margin: 0 0 .7em !important; }
.takeaway ul { margin: 0; padding-left: 1.2em; }
.takeaway li { margin-bottom: .45em; font-size: .955rem; color: var(--brand-d); }
.takeaway li::marker { color: var(--brand); }
.takeaway li:last-child { margin-bottom: 0; }

.post-foot { margin-top: 3em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.btags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.btag { font-size: .74rem; font-weight: 600; color: var(--slate); background: var(--bg-alt);
  border: 1px solid var(--line-2); border-radius: 99px; padding: 4px 11px; }

.post-side { position: sticky; top: calc(var(--hdr) + 22px); display: grid; gap: 18px; }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; background: #fff; }
.toc h4 { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-2);
  margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: t; padding: 0; margin: 0; }
.toc li { counter-increment: t; margin-bottom: 9px; font-size: .865rem; line-height: 1.45; }
.toc a { color: var(--ink-2); display: block; padding-left: 26px; position: relative; }
.toc a::before { content: counter(t, decimal-leading-zero); position: absolute; left: 0; top: 1px;
  font-size: .7rem; font-weight: 800; color: var(--brand-l); font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--brand-d); }
.toc a.cur { color: var(--brand-d); font-weight: 700; }
.post-cta { display: grid; gap: 10px; }
.post-cta h4 { margin-bottom: 0; }
.post-cta .btn { justify-content: center; }

.pnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.pnav a { display: block; border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px;
  background: #fff; transition: .2s; }
.pnav a:hover { border-color: var(--brand-tint2); background: var(--brand-tint); }
.pnav span { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: 6px; }
.pnav b { font-weight: 700; color: var(--ink); font-size: .94rem; line-height: 1.4; display: block; }
.pnav-next { text-align: right; }

/* ---------- blog ---------- */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.bgrid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bcard { display: block; height: 100%; color: inherit; }
.bcard article { height: 100%; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .22s; }
.bcard:hover article { border-color: var(--brand-tint2); box-shadow: var(--sh-2); transform: translateY(-3px); }
/* 槽位比例与素材原生比例一致（产品/包装图 3:2），因此不裁切、不拉伸 */
.bcard-img { aspect-ratio: 3 / 2; overflow: hidden; background: #eef2f0; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bcard:hover .bcard-img img { transform: scale(1.04); }
.bcard-b { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1 1 auto; }
.bcat { display: inline-block; font-size: .69rem; font-weight: 800; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-d); background: var(--brand-tint);
  border-radius: 99px; padding: 4px 11px; margin-bottom: 12px; align-self: flex-start; }
.bcard h3 { font-size: 1.03rem; line-height: 1.35; margin-bottom: .45em; }
.bcard p { font-size: .88rem; color: var(--slate); margin-bottom: 1em; }
.bmeta { margin-top: auto; font-size: .775rem; color: var(--slate-2); display: flex; flex-wrap: wrap;
  gap: 0 7px; align-items: center; }
.bmeta i { font-style: normal; color: var(--line); }

.bfeat { display: grid; grid-template-columns: 1.04fr 1fr; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; color: inherit; transition: .22s; }
.bfeat:hover { border-color: var(--brand-tint2); box-shadow: var(--sh-3); }
/* 精选图源为 2.22:1 横幅，槽位取 21:9（2.33）以贴合原生比例 */
.bfeat-img { aspect-ratio: 21 / 9; overflow: hidden; background: #eef2f0; }
.bfeat-img img { width: 100%; height: 100%; object-fit: cover; }
.bfeat-b { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.bfeat-b h2 { font-size: clamp(1.32rem, 2.4vw, 1.85rem); margin-bottom: .5em; }
.bfeat-b .lead { font-size: 1rem; margin-bottom: 1.3em; }
.bgo { margin-top: 16px; font-weight: 700; font-size: .875rem; color: var(--brand-d);
  display: inline-flex; align-items: center; gap: 8px; }
.bgo svg { width: 16px; height: 16px; transition: transform .2s; }
.bfeat:hover .bgo svg { transform: translateX(4px); }

.bfilter-bar { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.bfilter { font: inherit; font-size: .845rem; font-weight: 600; color: var(--ink-2); cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 15px;
  display: inline-flex; align-items: center; gap: 8px; transition: .18s; }
.bfilter span { font-size: .7rem; font-weight: 800; color: var(--slate-2); background: var(--bg-alt);
  border-radius: 99px; padding: 1px 7px; }
.bfilter:hover { border-color: var(--brand-l); color: var(--brand-d); }
.bfilter.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.bfilter.on span { background: rgba(255, 255, 255, .22); color: #fff; }
.bempty { text-align: center; color: var(--slate); padding: 40px 0; }
/* hidden 属性会被 .bcard/.bfeat 的 display 覆盖，需要显式复位 */
.bcard[hidden], .bfeat[hidden], .bempty[hidden] { display: none !important; }

.linklist, .catlist { list-style: none; padding: 0; margin: 0; }
.linklist li { padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.linklist li:last-child { border-bottom: 0; }
.linklist a { font-weight: 600; color: var(--ink); font-size: .945rem; }
.linklist a:hover { color: var(--brand-d); }
.catlist li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.catlist li:last-child { border-bottom: 0; }
.catlist b { font-size: .845rem; color: var(--brand-d); font-weight: 700; }
.catlist span { font-size: .845rem; color: var(--slate); }

/* ---------- footer ---------- */
.ftr { background: var(--bg-dark); color: #9db3aa; font-size: .87rem; padding: 64px 0 0; margin-top: 0; }
.ftr h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.ftr a { color: #b6c8c0; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: 9px; }
.ftr-contact li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.ftr-contact svg { width: 18px; height: 18px; margin-top: 3px; color: #6f8a80; }
.ftr-logo { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .92; margin-bottom: 16px; }
.ftr-bot { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; font-size: .8rem; }
.ftr-bot .lic { color: #7d9289; font-family: ui-monospace, Menlo, monospace; font-size: .74rem; }

/* ---------- floating quick contact ---------- */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: flex; flex-direction: column; gap: 10px; }
.fab a, .fab button {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); cursor: pointer; transition: .2s;
}
.fab a:hover, .fab button:hover { transform: translateY(-2px); box-shadow: var(--sh-3); border-color: var(--brand-l); }
.fab svg { width: 21px; height: 21px; color: var(--brand-d); }
.fab .wa svg { color: #25d366; }
.fab .tg svg { color: #2aabee; }
.fab .top svg { color: var(--slate); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav > .nav-list > li > a { padding: 9px 10px; font-size: .88rem; }
  .brand-sub { display: none; }
  .g4, .tiers { grid-template-columns: repeat(2, 1fr); }
  .vid-strip { grid-template-columns: repeat(3, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .post-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 36px; }
  .bgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bfeat-b { padding: 34px 34px; }
}
@media (max-width: 900px) {
  .burger { display: block; margin-left: auto; }
  .nav {
    position: fixed; inset: calc(var(--hdr) + 38px) 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 14px 18px 26px; gap: 0; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-3); max-height: calc(100vh - var(--hdr)); overflow-y: auto; display: none;
  }
  .nav.open { display: flex; }
  .nav > .nav-list > li > a { padding: 14px 6px; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-radius: 0; padding: 0 0 8px 12px; min-width: 0; display: none; }
  .nav li.open .sub { display: block; }
  .has-sub > a::after { float: right; margin-top: 6px; }
  .hdr-cta .btn { display: none; }
  .hero-grid, .split, .split-wide, .g-2-1, .g-1-2 { grid-template-columns: 1fr; gap: 34px; }
  .sec { padding: 60px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .g3, .g4, .g2, .g5 { grid-template-columns: 1fr 1fr; }
  .funnel-layer { grid-template-columns: 62px 1fr; gap: 16px; }
  .funnel-q { grid-column: 1 / -1; }
  .cta-band { padding: 34px 26px; }
  .hero-badge { left: 8px; bottom: 8px; padding: 10px 13px; }
  .post-layout { grid-template-columns: 1fr; gap: 40px; }
  .post-side { position: static; }
  .bfeat { grid-template-columns: 1fr; }
  .bfeat-img { aspect-ratio: 2 / 1; }
  .bfeat-b { padding: 28px 26px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .topbar-l { display: none; }
  .topbar-r { justify-content: center; width: 100%; }
  .g2, .g3, .g4, .g5, .tiers, .qc-grid, .cert-grid { grid-template-columns: 1fr; }
  .vid-strip { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr 1fr; }
  .f2 { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
  .form-card, .cta-band { padding: 22px 18px; }
  .sec { padding: 46px 0; }
  .fab { right: 12px; bottom: 12px; }
  .fab a, .fab button { width: 44px; height: 44px; }
  .bgrid, .bgrid-2 { grid-template-columns: 1fr; }
  .prose { font-size: 1.005rem; }
  .takeaway { padding: 18px 18px; }
  .pnav { grid-template-columns: 1fr; }
  .pnav-next { text-align: left; }
  /* 参考表在窄屏上压缩内边距，减少横向滚动量 */
  .prose .tbl th, .prose .tbl td { padding: 10px 12px; font-size: .84rem; }
}

@media print {
  .hdr, .topbar, .fab, .cta-band, .vid-strip { display: none !important; }
  body { font-size: 11pt; }
  .sec { padding: 12pt 0; }
}

/* ---------- 视觉隐藏（跳转链接 / 反垃圾蜜罐） ----------
   用 clip 收成 1px，而不是老式的 left:-9999px：那招在 RTL 页面里正好把元素
   丢到"可滚动的那一侧"，document.scrollWidth 会被撑大 9999px（阿拉伯语版实测过）。
   clip 与 direction 无关，两种书写方向都安全。 */
.skip, .vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
/* 键盘 Tab 到时才滑出来 —— 鼠标用户看不到它，屏幕阅读器与键盘用户始终可用 */
.skip:focus {
  position: fixed; top: 10px; inset-inline-start: 10px; z-index: 200;
  width: auto; height: auto; margin: 0; padding: 10px 16px; overflow: visible;
  clip: auto; clip-path: none; white-space: normal;
  background: #fff; border: 1.5px solid var(--brand); border-radius: var(--r-sm);
  box-shadow: var(--sh-2); color: var(--brand-d); font-weight: 700; text-decoration: none;
}

/* ==========================================================================
   多语种排版适配（阿拉伯语 / 泰语 / 中文）
   —— 只做"叠加"，不改上面任何一条既有规则；LTR 语种的输出逐字节不变。
   ========================================================================== */

/* ---------- RTL：镜像"不会自动翻转"的方向属性 ----------
   flex/grid 的排列顺序会自动沿行内方向翻转，所以 .step 的 46px 序号列、
   .funnel-layer 的编号列都不用管；但 position 的 left/right、
   以及 auto 外边距的推挤方向不会自动翻，必须显式覆盖。 */
[dir="rtl"] { --sans: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Geeza Pro", Arial, sans-serif; }

/* 页头：logo 在右，导航被推向另一端 —— 与被镜像的阅读顺序一致 */
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .nav .has-sub > a::after { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .sub { left: auto; right: 0; }
[dir="rtl"] .burger { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }

/* 列表符号、引用竖线、目录序号都长在"起始侧"，要跟着换边 */
[dir="rtl"] ul, [dir="rtl"] ol { padding-left: 0; padding-right: 1.15em; }
[dir="rtl"] .prose ul, [dir="rtl"] .prose ol { padding-left: 0; padding-right: 1.35em; }
[dir="rtl"] .takeaway ul { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .prose blockquote { padding: 4px 20px 4px 0; border-left: 0; border-right: 3px solid var(--brand-l); }
[dir="rtl"] .toc a { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .toc a::before { left: auto; right: 0; }
[dir="rtl"] .crumb li::after { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .hanchor { margin-left: 0; margin-right: .38em; }
[dir="rtl"] .step:not(:last-child)::after { left: auto; right: 22px; }
[dir="rtl"] .faq summary::after { right: auto; left: 22px; }
[dir="rtl"] .cta-band::after { right: auto; left: -80px; }

/* 表格：正文靠起始侧，数字列靠末端侧 */
[dir="rtl"] .tbl th, [dir="rtl"] .tbl td { text-align: right; }
[dir="rtl"] .tbl .num { text-align: left; }
[dir="rtl"] .pnav-next { text-align: left; }
[dir="rtl"] .bfeat:hover .bgo svg { transform: translateX(-4px); }

/* 浮在角上的元素：快速联系按钮、英雄区徽标 */
[dir="rtl"] .fab { right: auto; left: 18px; }
[dir="rtl"] .hero-badge { left: auto; right: -14px; }

/* ---------- 阿拉伯语正文 ---------- */
/* 字形比拉丁字母矮、连写密，同字号下显得小一号，需要放大并放宽行高 */
[dir="rtl"] body { font-size: 16.5px; line-height: 1.92; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  line-height: 1.5; letter-spacing: 0; }
/* 阿拉伯字母是连写的：一加字距，字母之间的连笔就断成孤立字形，读起来是坏字 */
[dir="rtl"] .eyebrow, [dir="rtl"] .brand-name, [dir="rtl"] .brand-sub,
[dir="rtl"] .hero-badge span, [dir="rtl"] .stat b, [dir="rtl"] .card-num,
[dir="rtl"] .tag, [dir="rtl"] .funnel-n, [dir="rtl"] .funnel-q em,
[dir="rtl"] .tbl thead th, [dir="rtl"] .kv dt, [dir="rtl"] .tier-qty,
[dir="rtl"] .qc-tag, [dir="rtl"] .contact-list b, [dir="rtl"] .takeaway h2,
[dir="rtl"] .toc h4, [dir="rtl"] .pnav span, [dir="rtl"] .bcat,
[dir="rtl"] .ftr h4, [dir="rtl"] .tier.best::after { letter-spacing: normal; }
/* 证书编号 / 型号 / 邮箱是拉丁串，在 RTL 段落里必须整体按 LTR 呈现，
   否则 "ZL 2020 2 2911479.8"、"sales@jsftech.com.cn" 会被拆到错误的位置。 */
[dir="rtl"] .cert-no, [dir="rtl"] .mono, [dir="rtl"] a[href^="mailto"] {
  direction: ltr; unicode-bidi: isolate; }

/* ---------- 泰语 ---------- */
/* 上标元音与声调符叠在辅音上方，行高不足会被直接裁掉 */
:lang(th) { --sans: "Leelawadee UI", "Noto Sans Thai", Tahoma, "Segoe UI", Arial, sans-serif; }
:lang(th) body { line-height: 1.95; }
:lang(th) h1, :lang(th) h2, :lang(th) h3, :lang(th) h4 { line-height: 1.62; letter-spacing: 0; }
:lang(th) .eyebrow, :lang(th) .brand-sub, :lang(th) .tag, :lang(th) .kv dt,
:lang(th) .tbl thead th, :lang(th) .ftr h4, :lang(th) .qc-tag { letter-spacing: normal; }

/* ---------- 中文 ---------- */
/* 标题的 -.018em 负字距是为拉丁字母调的，汉字加负字距会挤到笔画相碰 */
:lang(zh) { --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system,
  "Segoe UI", Roboto, Arial, sans-serif; }
:lang(zh) body { line-height: 1.86; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) h4 { letter-spacing: 0; line-height: 1.48; }

/* ---------- 窄屏上的 RTL 修正（与上面同理，只是断点内还有一套值） ---------- */
@media (max-width: 900px) {
  [dir="rtl"] .sub { padding: 0 12px 8px 0; }
  [dir="rtl"] .has-sub > a::after { float: left; }
  [dir="rtl"] .hero-badge { left: auto; right: 8px; }
}
@media (max-width: 640px) {
  [dir="rtl"] .fab { right: auto; left: 12px; }
  [dir="rtl"] .pnav-next { text-align: right; }
}
