/* Brand typeface, self-hosted.
   The Google Fonts CDN is slow or unreachable from mainland China, and it was a
   render-blocking request on every page. Serving the four latin weights from
   our own origin removes the third-party DNS + TLS handshake from first paint. */
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/bai-jamjuree-300.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bai-jamjuree-400.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bai-jamjuree-600.woff2") format("woff2");
}
@font-face {
  font-family: "Bai Jamjuree";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bai-jamjuree-700.woff2") format("woff2");
}

:root {
  --navy: #0d2b4e;
  --blue: #0b4da2;
  --blue-dark: #083b7d;
  --ink: #16202e;
  --muted: #5c6b7d;
  --line: #dfe5ec;
  --line-2: #eef2f6;
  --bg: #ffffff;
  --soft: #f4f7fa;
  --soft-blue: #edf4fc;
  --accent: #1f7a6b;
  --warn: #8a6a22;
  --warn-bg: #fff8e8;
  --warn-line: #d9bd7a;
  --radius: 10px;
  --wrap: 1180px;
  --shadow: 0 18px 45px rgba(13, 43, 78, 0.10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 0 0 6px 6px;
  z-index: 100;
}
.skip-link:focus { top: 0; color: #fff; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin: 0 auto;
}

.narrow { max-width: 820px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-family: Georgia, "Times New Roman", serif;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 700;
}

.site-nav {
  /* Sits right next to the logo; the CTA inside stays pinned to the far right. */
  margin-left: 24px;
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
/* 菜单项现在是 <ul class="nav-list"><li>…</li></ul>。
   ul 本身是 .site-nav 的一个 flex 子项，所以它自己也要是一行 flex，
   否则会退化成块级、把 CTA 挤到下一行。 */
.site-nav .nav-list,
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav .nav-list > li {
  display: flex;
  list-style: none;
}
/* 兜底导航（没有建菜单时）直接输出 <a>，这里保证它不被上面的 ul 规则影响 */
.site-nav > a:not(.header-cta) {
  white-space: nowrap;
}
.site-nav a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 11px;
  border-radius: 6px;
}
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--blue);
  background: var(--soft-blue);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border-color: #b9cbe2; }
.btn-ghost:hover { background: var(--soft-blue); color: var(--blue-dark); }
.btn-small { min-height: 36px; padding: 7px 13px; font-size: 12.5px; }

.header-cta { margin-left: 8px; }

.hero {
  padding: 74px 0 58px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(11, 77, 162, 0.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.22;
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.02em; }
h2 { font-size: clamp(25px, 3.2vw, 36px); }
h3 { font-size: 21px; }
h4 { font-size: 17px; }

.hero h1 { max-width: 720px; }
.hero-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 0 22px;
}

.answer {
  background: var(--soft-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 8px 8px 0;
  padding: 14px 17px;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 14px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.hero-card .card-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 12px;
}
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.hero-card li:first-child { border-top: 0; }
.hero-card li b { color: var(--navy); }

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.trust-strip b { color: var(--navy); }

section.page-section { padding: 62px 0; }
section.page-section.soft { background: var(--soft); }
section.page-section.tight { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}
.section-head p { margin: 0; color: var(--muted); max-width: 520px; font-size: 14px; }

.grid {
  display: grid;
  gap: 16px;
}
.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)); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.card h3, .card h4 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.card p:last-child { margin-bottom: 0; }
.card .k {
  display: block;
  color: var(--blue);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card a.more { font-size: 13px; font-weight: 700; }

.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; border-color: #a9c3e3; transform: translateY(-1px); }
.card-link h3 { color: var(--navy); }

.steps { counter-reset: step; }
.step {
  position: relative;
  padding: 20px 20px 20px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft-blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); font-size: 13.5px; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}
th {
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 700;
}
tr:last-child td { border-bottom: 0; }

.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 0 16px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.faq details p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13.5px;
}

.placeholder {
  display: block;
  background: var(--warn-bg);
  border: 1px dashed var(--warn-line);
  color: var(--warn);
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 12.5px;
  line-height: 1.6;
}

.note {
  border-left: 3px solid var(--blue);
  background: var(--soft-blue);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  color: var(--navy);
  font-size: 13.5px;
}

.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding: 22px 0 0;
}
.breadcrumb a { color: var(--muted); }

.page-hero { padding: 42px 0 34px; border-bottom: 1px solid var(--line); background: #fbfcfd; }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); }
.page-hero .lead { font-size: 16px; color: var(--muted); max-width: 760px; margin: 0; }

/* Page hero: right-side photo, themed per section (real stock photography).
   Added on wide screens only; the template markup is untouched, so the
   existing layout and interactions are preserved. The text column is capped
   so it can never collide with the image. */
@media (min-width: 1100px) {
  .page-hero { position: relative; overflow: hidden; }
  .page-hero .wrap { position: relative; z-index: 1; }
  .page-hero h1,
  .page-hero .lead,
  .page-hero .answer,
  .page-hero .cta-row,
  .page-hero .article-meta,
  .page-hero form { max-width: min(700px, 62%); }
  .page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    right: max(20px, calc((100% - var(--wrap)) / 2));
    bottom: 0;
    width: clamp(280px, 30vw, 420px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 28%);
    mask-image: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 28%);
    pointer-events: none;
    z-index: 0;
  }
  /* Fallback for any section without a specific photo. */
  .page-hero::after { background-image: url("../img/workbench.jpg"); }
  body[data-nav="services"] .page-hero::after      { background-image: url("../img/workbench.jpg"); }
  body[data-nav="certification"] .page-hero::after { background-image: url("../img/hero-cert-docs.jpg"); }
  body[data-nav="blog"] .page-hero::after          { background-image: url("../img/circuit-board.jpg"); }
  body[data-nav="cases"] .page-hero::after         { background-image: url("../img/hero-about-team.jpg"); }
  body[data-nav="about"] .page-hero::after         { background-image: url("../img/library/emc-chamber-wide-hero.jpg"); }
  body[data-nav="rfq"] .page-hero::after           { background-image: url("../img/library/emc-antenna-rig-hero.jpg"); }
  body[data-nav="home"] .page-hero::after          { background-image: url("../img/fiber-testing.jpg"); }
}

.cta-band {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 26px; }
.cta-band p { margin: 0; color: #cbd9ea; font-size: 14px; }

.blog-card time, .meta-line {
  color: var(--muted);
  font-size: 12px;
}
.tag {
  display: inline-block;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--blue);
  background: var(--soft-blue);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.article-body { max-width: 760px; }
.article-body h2 { font-size: 26px; margin-top: 34px; }
.article-body h3 { font-size: 19px; margin-top: 26px; }
.article-body p, .article-body li { color: #35435a; font-size: 14.5px; }
.article-body ul, .article-body ol { padding-left: 22px; }

.rfq-form { display: grid; gap: 18px; max-width: 760px; }
.rfq-step { display: grid; gap: 12px; }
.rfq-step[hidden] { display: none; }
.field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  min-height: 44px;
  color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form-error { color: #9b2c2c; font-size: 12.5px; min-height: 18px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.site-footer {
  margin-top: 70px;
  border-top: 1px solid var(--line);
  background: #fbfcfd;
  padding: 42px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
}
.footer-grid h4 { font-family: inherit; font-size: 13px; letter-spacing: 0.04em; }
.footer-grid p, .footer-grid li { color: var(--muted); font-size: 13px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.assistant-launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  border: 0;
  border-radius: 999px;
  padding: 12px 17px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(11, 77, 162, 0.30);
  cursor: pointer;
}
.assistant-panel {
  position: fixed;
  right: 20px;
  bottom: 76px;
  z-index: 60;
  width: min(370px, calc(100vw - 40px));
  max-height: min(560px, calc(100vh - 100px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.assistant-panel[hidden] { display: none; }
/* The toolbar shares the same fixed layer and covered the panel's quick
   replies and QR code. The panel already contains all of those actions. */
body.assistant-open .side-tools,
body.assistant-open .wechat-pop { display: none !important; }
.assistant-head {
  background: var(--navy);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.assistant-head strong { font-size: 13px; }
.assistant-close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.assistant-msgs {
  padding: 13px;
  overflow-y: auto;
  display: grid;
  gap: 9px;
  font-size: 13px;
}
.msg {
  max-width: 88%;
  padding: 9px 11px;
  border-radius: 9px;
  line-height: 1.55;
}
.msg.bot { background: var(--soft); color: var(--ink); justify-self: start; }
.msg.user { background: var(--blue); color: #fff; justify-self: end; }
.quick-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 13px 10px; }
.quick {
  border: 1px solid #b9cbe2;
  background: #fff;
  color: var(--blue);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  cursor: pointer;
}
.assistant-form {
  border-top: 1px solid var(--line);
  padding: 10px 13px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 6px;
}
.assistant-form input {
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
}
.assistant-form button {
  border: 0;
  border-radius: 6px;
  background: var(--blue);
  color: #fff;
  padding: 0 11px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, var(--wrap)); }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    margin: 0;
    padding: 10px 14px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.is-open { display: flex; }
  /* 下拉菜单里的 ul 也要竖排，否则移动端会把菜单项挤成一行横向溢出 */
  .site-nav .nav-list,
  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .site-nav .nav-list > li { width: 100%; }
  .site-nav a { padding: 11px 12px; }
  /* 手机上顶栏放不下按钮，但直接 display:none 会让移动端丢掉唯一的询价入口。
     改成收进下拉菜单里，展开时才出现。 */
  .header-cta { display: none; }
  .site-nav.is-open .header-cta {
    display: inline-flex;
    justify-content: center;
    align-self: stretch;   /* 覆盖桌面端的 align-self:center，否则按钮缩在中间 */
    width: 100%;
    margin: 8px 0 0;
  }
  .hero { padding: 52px 0 40px; }
  section.page-section { padding: 44px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr !important; }
  .cta-band { display: block; }
  .cta-band .btn { margin-top: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .assistant-form { grid-template-columns: 1fr; }
  .assistant-form button { min-height: 38px; }
  .hero-card { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .site-header, .assistant-launcher, .assistant-panel, .cta-row, .demo-ribbon { display: none !important; }
  body { font-size: 11pt; }
  a { color: #000; text-decoration: underline; }
}

/* ========== Editorial UI refresh (v1.8) ========== */

.demo-ribbon {
  background: #7a5a17;
  color: #fff;
  text-align: center;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 7px 12px;
}

.demo-tag {
  display: inline-block;
  background: #fff4dc;
  border: 1px solid #d9bd7a;
  color: #8a6a22;
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.kicker {
  display: block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.lede {
  font-size: 17px;
  line-height: 1.7;
  color: #35435a;
  max-width: 720px;
}

.micro-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
}

.hero-editorial {
  padding: 66px 0 56px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}
.hero-editorial .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 56px;
  align-items: center;
}
.hero-editorial h1 {
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 760px;
}
.hero-editorial .lede { margin-bottom: 22px; }
.proof-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  font-size: 12px;
  color: var(--muted);
}
.proof-line b { color: var(--navy); font-size: 14px; }

.hero-media {
  position: relative;
  margin: 0;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.hero-media figcaption {
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}
.hero-stat {
  position: absolute;
  left: -28px;
  bottom: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  box-shadow: var(--shadow);
  min-width: 210px;
}
.hero-stat span { display: block; font-size: 10.5px; color: var(--muted); }
.hero-stat strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 38px;
  color: var(--navy);
  line-height: 1.1;
}
.hero-stat small { display: block; font-size: 10px; color: var(--muted); }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.metric strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 30px;
  color: var(--navy);
  line-height: 1.1;
}
.metric span { display: block; font-size: 12px; color: var(--muted); margin-top: 5px; }

.market-grid .card { border-top: 3px solid var(--blue); padding-top: 22px; }
.market-grid .num {
  display: block;
  font-family: Georgia, serif;
  font-size: 26px;
  color: #b9cbe2;
  line-height: 1;
  margin-bottom: 14px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.media-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.media-card:hover { text-decoration: none; border-color: #a9c3e3; transform: translateY(-2px); }
.media-card img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: var(--soft);
}
.media-body { padding: 18px 18px 20px; }
.media-body h3 { margin-bottom: 7px; font-size: 18px; }
.media-body p { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.media-body .arrow { color: var(--blue); font-size: 12px; font-weight: 800; }

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: t;
}
.timeline li {
  position: relative;
  padding: 40px 20px 0 0;
  border-top: 2px solid var(--navy);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  border: 2px solid #fff;
}
.step-num {
  font-family: Georgia, serif;
  font-size: 24px;
  color: #b9cbe2;
}
.timeline h3 { font-size: 17px; margin: 8px 0 6px; }
.timeline p { font-size: 12.5px; color: var(--muted); margin: 0; }

.case-grid { align-items: stretch; }
.case-media-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.case-media-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.case-body { padding: 18px; }
.case-body h3 { font-size: 18px; margin-bottom: 8px; }
.case-copy { font-size: 12.5px; color: #35435a; margin: 0; }
.demo-quote {
  margin: 26px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: var(--soft-blue);
  border-radius: 0 8px 8px 0;
  font-family: Georgia, serif;
  font-size: 18px;
  color: var(--navy);
}
.demo-quote cite {
  display: block;
  margin-top: 8px;
  font-family: inherit;
  font-size: 11px;
  color: var(--muted);
  font-style: normal;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
}
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 9px;
  font-size: 13.5px;
  color: #35435a;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.evidence-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.evidence-figure { margin: 0; }
.evidence-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  background: var(--soft);
}
.evidence-figure figcaption {
  margin-top: 9px;
  font-size: 11px;
  color: var(--muted);
}

.article-grid { gap: 22px; }
.article-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
}
.article-card:hover { text-decoration: none; border-color: #a9c3e3; }
.article-card img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}
.article-card > div { padding: 17px 18px 19px; }
.article-card h3 { font-size: 17px; margin: 4px 0 9px; }

@media (max-width: 960px) {
  .hero-editorial .hero-grid,
  .split { grid-template-columns: 1fr; gap: 34px; }
  .hero-media img { height: 360px; }
  .hero-stat { left: 14px; bottom: 24px; }
  .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
}

@media (max-width: 640px) {
  .hero-editorial { padding: 44px 0 36px; }
  .hero-editorial h1 { font-size: 36px; }
  .hero-media img { height: 280px; }
  .hero-stat { position: static; margin-top: 12px; width: 100%; }
  .media-grid, .case-grid, .article-grid { grid-template-columns: 1fr; }
  .metric-grid { gap: 12px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding-top: 30px; }
  .demo-ribbon { font-size: 9px; letter-spacing: 0.06em; }
}


/* =========================================================
   Corporate skin v2.0 - inspired by Applus+ Laboratories
   Geometric sans, charcoal text, orange accent, structured bands
   ========================================================= */
:root {
  --orange: #ff6900;
  --orange-dark: #e35e00;
  --charcoal: #323234;
  --rule: #e3e3e3;
  --radius: 4px;
}

html { scroll-behavior: smooth; }
body {
  font-family: "Bai Jamjuree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.62;
}
h1, h2, h3, h4, .brand, .metric strong, .hero-stat strong, .market-grid .num,
.hero-media figcaption, .page-hero h1, .section-head h2 {
  font-family: "Bai Jamjuree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4 { color: var(--charcoal); font-weight: 300; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.1; }
h2 { font-size: clamp(27px, 3.2vw, 38px); line-height: 1.16; }
h3 { font-size: 20px; font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; }
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 2px solid var(--orange); }

/* Utility bar */
.utility-bar {
  background: #2c2c31;
  color: #e7e7e9;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}
.utility-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 32px;
}
.utility-bar a { color: #fff; }
.utility-bar a:hover { color: var(--orange); text-decoration: none; }
.utility-bar i { display: inline-block; width: 1px; height: 11px; background: #6a6a70; margin: 0 10px; vertical-align: -1px; }

/* Header */
.site-header { position: sticky; top: 0; background: #fff; backdrop-filter: none; border-bottom: 3px solid var(--orange); }
.header-inner { min-height: 66px; }
.brand { color: var(--charcoal); font-weight: 700; font-size: 18px; }
.brand-mark { background: var(--orange); border-radius: 2px; font-family: inherit; font-weight: 700; }
.brand small { color: #7a7a80; }
.site-nav a { color: var(--charcoal); font-size: 13px; font-weight: 600; padding: 22px 12px; border-radius: 0; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a.is-active { color: var(--orange); background: transparent; border-bottom-color: var(--orange); }
.header-cta { align-self: center; margin-left: auto; }
.site-nav a.header-cta { padding: 7px 14px; align-self: center; }

.btn { border-radius: 2px; font-weight: 700; letter-spacing: 0.01em; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; border-color: var(--orange-dark); }
.btn-ghost { background: #fff; color: var(--orange); border-color: var(--orange); }
.btn-ghost:hover { background: #fff6f0; color: var(--orange-dark); }
.btn-small { min-height: 34px; padding: 7px 14px; }

/* Solutions band - Applus division selector */
.solutions-band { background: #fff; border-bottom: 1px solid var(--rule); }
.solutions-band-inner { display: flex; align-items: stretch; gap: 0; overflow-x: auto; }
.solutions-label {
  display: inline-flex; align-items: center; padding: 13px 20px 13px 0;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--charcoal); white-space: nowrap;
}
.solutions-band-inner > a {
  display: inline-flex; align-items: center; padding: 13px 16px;
  color: #55555a; font-size: 13px; font-weight: 600; white-space: nowrap;
  border-bottom: 3px solid transparent; text-decoration: none;
}
.solutions-band-inner > a:hover, .solutions-band-inner > a.is-active { color: var(--orange); border-bottom-color: var(--orange); text-decoration: none; }
.solutions-band-inner > .solutions-quote { margin-left: auto; color: var(--orange); font-weight: 700; }

/* Hero - full-bleed image with dark overlay */
.hero-editorial { position: relative; padding: 96px 0 88px; background: #2c2c31; overflow: hidden; }
.hero-applus-media {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  background-image: url('../img/workbench.jpg');
}
.hero-applus-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,26,0.93) 0%, rgba(20,22,26,0.78) 48%, rgba(20,22,26,0.42) 100%); }
.hero-applus-inner { position: relative; z-index: 1; }
.hero-editorial h1 { color: #fff; font-size: clamp(36px, 4.8vw, 58px); font-weight: 300; max-width: 780px; }
.hero-tag {
  display: inline-block; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; border-left: 4px solid var(--orange); padding-left: 12px; margin-bottom: 20px;
}
/* 上面那套白色标签是给深色 .hero-editorial 用的。内页的 .page-hero 是浅底
   (#fbfcfd)，白字看不见，页面上只剩一根孤零零的橙色竖线。 */
.page-hero .hero-tag { color: var(--navy); }
.hero-editorial .lede { color: #e2e2e5; max-width: 700px; font-size: 16px; }
.hero-editorial .proof-line { border-color: rgba(255,255,255,0.22); color: #cfcfd4; max-width: 720px; }
.hero-editorial .proof-line b { color: #fff; }
.hero-editorial .micro-note { color: #bfbfc5; }
.hero-editorial .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-editorial .btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Sections and rules */
section.page-section { padding: 58px 0; }
.section-head { border-bottom: 1px solid var(--rule); padding-bottom: 16px; margin-bottom: 28px; }
.kicker, .card .k, .eyebrow { color: var(--orange); }
.kicker::after { content: ""; display: block; width: 28px; height: 3px; background: var(--orange); margin-top: 8px; }
.lede { color: #55555a; }
.answer { background: #fff6f0; border-left: 4px solid var(--orange); color: var(--charcoal); }
.tag { color: var(--orange); background: #fff2e8; border-radius: 2px; }
.meta-line, .blog-card time { color: #7a7a80; }

/* Cards, grids, tables */
.card { border-radius: 3px; border-color: var(--rule); }
.card h3, .card h4 { color: var(--charcoal); }
.card p { color: #66666c; }
.card a.more { color: var(--orange); }
.card-link:hover { border-color: var(--orange); }
.market-grid .card { border-top: 3px solid var(--orange); }
.market-grid .num { color: #ffd2b0; }
.media-card { border-radius: 3px; border-color: var(--rule); }
.media-card:hover { border-color: var(--orange); }
.media-body h3 { color: var(--charcoal); font-weight: 600; }
.media-body p { color: #66666c; }
.media-body .arrow { color: var(--orange); }
.article-card { border-radius: 3px; border-color: var(--rule); }
.article-card:hover { border-color: var(--orange); }
.article-card h3 { color: var(--charcoal); font-weight: 600; }
.case-media-card { border-radius: 3px; border-color: var(--rule); }
.evidence-card { border-radius: 3px; border-color: var(--rule); }
.table-wrap { border-radius: 3px; border-color: var(--rule); }
th { background: #2c2c31; }
.metric strong { color: var(--charcoal); font-weight: 400; }
.hero-stat { border-radius: 3px; }
.hero-stat strong { color: var(--charcoal); }

/* Highlights - image promotion tiles */
.promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promo-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 210px; padding: 20px; overflow: hidden; color: #fff; background: #2c2c31;
  background-size: cover; background-position: center; border-radius: 3px;
}
.promo-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,20,24,0.12) 0%, rgba(18,20,24,0.86) 100%); }
.promo-tile:hover { color: #fff; text-decoration: none; }
.promo-tile:hover::before { background: linear-gradient(180deg, rgba(255,105,0,0.18) 0%, rgba(18,20,24,0.90) 100%); }
.promo-title { position: relative; z-index: 1; font-size: 19px; font-weight: 600; line-height: 1.25; margin-bottom: 16px; }
.promo-link { position: relative; z-index: 1; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; }

/* News list - dated rows */
.news-list { border-top: 1px solid var(--rule); }
.news-item {
  display: grid; grid-template-columns: 108px 1fr 24px; align-items: center; gap: 18px;
  padding: 16px 4px; border-bottom: 1px solid var(--rule); color: var(--charcoal);
  transition: background 0.12s ease;
}
.news-item:hover { background: #fff8f3; text-decoration: none; }
.news-date { color: var(--orange); font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }
.news-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.news-arrow { color: var(--orange); font-size: 17px; text-align: right; }
.section-head .see-all { color: var(--orange); font-size: 13px; font-weight: 700; white-space: nowrap; }

/* Accent bands and footer */
.cta-band { background: #2c2c31; border-radius: 3px; border-left: 5px solid var(--orange); }
.cta-band h2 { color: #fff; font-weight: 300; }
.cta-band p { color: #cfcfd4; }
.site-footer { background: #242428; color: #cfcfd4; border-top: 4px solid var(--orange); margin-top: 60px; }
.site-footer .brand { color: #fff; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; }
.footer-grid p, .footer-grid li { color: #b7b7bd; font-size: 12.5px; }
.footer-grid a { color: #e7e7e9; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { border-top-color: #3c3c42; color: #9a9aa1; }
.footer-bottom a { color: var(--orange); }

/* FAQ and forms */
.faq details { border-color: var(--rule); border-radius: 3px; }
.faq summary { color: var(--charcoal); font-weight: 600; }
.faq details[open] summary { color: var(--orange); }
.field label { color: var(--charcoal); }
.field input, .field select, .field textarea { border-radius: 2px; border-color: var(--rule); }
.field-row { grid-template-columns: repeat(2, minmax(0,1fr)); }

/* Assistant */
.assistant-launcher { background: var(--orange); border-radius: 2px; box-shadow: 0 10px 26px rgba(255,105,0,0.30); font-weight: 700; }
.assistant-head { background: #2c2c31; border-bottom: 3px solid var(--orange); }
.assistant-panel { border-radius: 4px; }
.assistant-form button { background: var(--orange); color: #fff; border-radius: 2px; }
.quick-row button { border-color: var(--orange); color: var(--orange); border-radius: 2px; }

.solutions-band-inner::-webkit-scrollbar { height: 3px; }
.solutions-band-inner::-webkit-scrollbar-thumb { background: var(--orange); }

@media (max-width: 1100px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 761px) and (max-width: 900px) {
  /* Keep the full nav + CTA on one line just above the mobile breakpoint. */
  .site-nav { margin-left: 14px; }
  .site-nav a:not(.header-cta) { padding-left: 8px; padding-right: 8px; }
}

@media (max-width: 960px) {
  .utility-bar .wrap { justify-content: center; }
  .utility-bar .wrap > span:first-child { display: none; }
  .solutions-quote { display: none; }
  .hero-editorial { padding: 72px 0 64px; }
  .hero-applus-media { background-position: 65% center; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-nav a { padding: 11px 12px; border-bottom: 0; }
  .site-nav a.is-active { border-bottom: 0; }
}
@media (max-width: 640px) {
  .promo-grid { grid-template-columns: 1fr; }
  .promo-tile { min-height: 170px; }
  .news-item { grid-template-columns: 84px 1fr 18px; gap: 10px; }
  .news-title { font-size: 14px; }
  .solutions-label { display: none; }
  .hero-editorial h1 { font-size: 34px; }
}
@media print {
  .utility-bar, .solutions-band { display: none !important; }
}


/* =========================================================
   Article conversion (v1.1)

   封面节奏 / 文中内联引导 / 弹层询价 / 上下文 chip
   全部复用既有 token（--orange --charcoal --rule）与既有组件语法
   （.kicker .btn .field .form-error），不引入新的颜色、字体或阴影档位。
   加这一个分区就可以整段回滚。
   ========================================================= */

/* --- 文章首屏：先给判断依据，再给图 --- */
.article-head { margin-bottom: 26px; }

.article-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.article-kicker-row .kicker { margin: 0; }
.article-kicker-row .kicker::after { margin-top: 7px; }

.article-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #7a7a80;
  font-size: 12px;
  font-weight: 600;
}

.article-head h1 {
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 0 0 16px;
}

/* 导语：借用 .hero-tag 与 .answer 的左侧竖线语法，橙线在这里表示「先看这段」 */
.article-lede {
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  color: #55555a;
  font-size: 17px;
  line-height: 1.58;
}

/* 封面：16:9 全宽在桌面占 675px，把正文推到第二屏。改成 16:7 横带。 */
.article-figure { margin: 30px 0; }
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: 3px;
  background: #f2f2f4;
}
.article-figure figcaption {
  margin-top: 9px;
  color: #7a7a80;
  font-size: 12px;
  line-height: 1.5;
}

/* --- 文中内联引导：比 .cta-band 低一级，读起来像提示而不是广告 --- */
.article-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0;
  padding: 20px 22px;
  background: #fff6f0;
  border-left: 4px solid var(--orange);
}
.article-inline-cta h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 600;
  color: var(--charcoal);
}
.article-inline-cta p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #55555a;
}
.article-inline-cta .btn { flex: 0 0 auto; white-space: nowrap; }

/* --- 正文后的软提示：读完仍然拿不准的那个人 --- */
.article-note {
  margin: 32px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  line-height: 1.6;
  color: #55555a;
}
.article-note a { font-weight: 600; }

/* --- 询价页的上下文 chip --- */
.rfq-context {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 10px 14px;
  background: #fff6f0;
  border-left: 3px solid var(--orange);
  font-size: 13px;
  line-height: 1.45;
}
.rfq-context__label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}
.rfq-context__title { color: var(--charcoal); font-weight: 600; }
.rfq-context__x {
  margin-left: auto;
  color: #9a9aa1;
  font-size: 17px;
  line-height: 1;
  padding: 0 2px;
}
.rfq-context__x:hover { color: var(--orange); text-decoration: none; }

/* --- 弹层询价 --- */
body.lead-open { overflow: hidden; }

/* 弹层开着的时候，右下角客服球没有意义，而且会压在遮罩上 */
body.lead-open .assistant-launcher,
body.lead-open .assistant-panel { display: none; }

/* 深色 CTA 带的按钮会被长标题挤压成两行，给一个不收缩的下限 */
.cta-band .btn { flex: 0 0 auto; white-space: nowrap; }

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lead-modal[hidden] { display: none; }

.lead-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.62);
}

.lead-modal__card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px 28px;
  background: #fff;
  border-top: 4px solid var(--orange);
  border-radius: 3px;
  box-shadow: 0 18px 45px rgba(20, 22, 26, 0.28);
}
.lead-modal__card h2 { font-size: 26px; margin: 8px 0 10px; }

.lead-modal__x {
  position: absolute;
  top: 8px;
  right: 10px;
  padding: 4px 8px;
  background: none;
  border: 0;
  color: #9a9aa1;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.lead-modal__x:hover { color: var(--orange); }

.lead-modal__context {
  margin: 0 0 16px;
  color: #7a7a80;
  font-size: 12.5px;
  line-height: 1.5;
}
.lead-modal__context[hidden] { display: none; }

.lead-form { display: grid; gap: 14px; margin-top: 4px; }
/* display:grid 会盖掉 UA 的 [hidden]{display:none}，必须显式声明，否则提交成功后表单不消失 */
.lead-form[hidden] { display: none; }
.lead-form .field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #55555a;
}
.lead-form .consent input { flex: 0 0 auto; margin-top: 3px; }
.lead-form .form-error:empty { display: none; }
.lead-form__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.lead-form__full { font-size: 12.5px; color: #7a7a80; }

.lead-done p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #55555a; }
.lead-done strong { color: var(--charcoal); }
.lead-done[hidden] { display: none; }

/* 提交成功后「Tell us what you are shipping」就和下面的致谢打架了，收起来 */
.lead-modal.is-done .lead-modal__card > .kicker,
.lead-modal.is-done .lead-modal__card > h2 { display: none; }
.lead-modal.is-done .lead-modal__card { padding-top: 34px; }

@media (max-width: 640px) {
  .article-figure { margin: 22px 0; }
  .article-figure img { max-height: 230px; }
  .article-inline-cta { display: block; padding: 18px; margin: 26px 0; }
  .article-inline-cta .btn { width: 100%; margin-top: 14px; }
  .lead-form .field-row { grid-template-columns: 1fr; }
  .lead-modal { padding: 12px; }
  .lead-modal__card { padding: 22px 18px; max-height: calc(100vh - 24px); }
  .lead-modal__card h2 { font-size: 22px; }
  .lead-form__actions .btn { width: 100%; }
}

/* --- 认证矩阵表（/certification/） ---
   两张对照表：横向是「项目 × 市场 × 标准 × 我们负责哪段」，
   纵向是「产品类型 × 常涉及的项目 × 什么决定它」。
   只在移动端横向滚动，不挤压文字。 */
.matrix { min-width: 720px; }
.matrix thead th { white-space: nowrap; }
.matrix td { font-size: 12.8px; line-height: 1.55; }
/* 全局 td 的底边用的是 --line-2（#eef2f6），在这种密排参照表里几乎看不见分隔 */
.matrix td { border-bottom-color: var(--rule); }
.matrix td:first-child { font-weight: 700; color: var(--charcoal); }
.matrix__rules { color: #55555a; font-size: 12px; }
.matrix tbody tr:hover { background: #fff8f3; }

/* 窄屏看参照表：首列吸在左边，滑动时始终知道自己在看哪一行。
   滚动条沿用站内既有的细橙条（.solutions-band-inner 同款）。 */
.table-wrap { -webkit-overflow-scrolling: touch; }
.table-wrap::-webkit-scrollbar { height: 3px; }
.table-wrap::-webkit-scrollbar-thumb { background: var(--orange); }

@media (max-width: 780px) {
  .matrix th:first-child,
  .matrix td:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #fff;
    box-shadow: 1px 0 0 var(--rule);
  }
  .matrix thead th:first-child { background: #2c2c31; }
  .matrix tbody tr:hover td:first-child { background: #fff8f3; }
}

/* 时间轴组件还留着上一版的蓝点 + 衬线数字，和炭黑/橙的 v2 皮肤打架。
   同一条规则同时修好首页与认证页。 */
.timeline li { border-top-color: var(--charcoal); }
.timeline li::before { background: var(--orange); }
.step-num { font-family: inherit; font-weight: 300; color: #cfcfd4; }

/* ===== Certification depth (v1.3) =====
   认证页扩充出来的两个组件：区域块与服务层块。
   刻意只用炭黑/橙/细线，不加阴影、不加圆角，和 v2 皮肤保持一致；
   整段可单独删除，不影响其它页面。 */

.region {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--orange);
  border-radius: 3px;
  padding: 22px 22px 18px;
}

.region h3 {
  margin: 0 0 4px;
  font-size: 17px;
  color: var(--charcoal);
}

.region__sub {
  margin: 0 0 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9aa0;
}

.region p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.72;
  color: #4a4a52;
}

.region ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.region li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  font-size: 13px;
  line-height: 1.62;
  color: #55555a;
}

/* 一根 6px 的短横线，比圆点更安静，横向阅读时不打断行 */
.region li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 1px;
  background: var(--orange);
}

.region p.region__routes {
  /* 每一块的正文字数不一样，靠 margin-top:auto 把这一行压到底，
     并排两列的分隔线才会落在同一水平线上。
     选择器带上 p，否则会被上面的 `.region p` 压掉 auto（特异性低一格）。 */
  margin: auto 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px;
  line-height: 1.9;
  color: #6a6a70;
  /* 路由多的一块折成两行、少的一块只有一行，底对齐之后两边的分隔线
     还会差出一行高度。统一预留两行，分隔线才能对齐。 */
  min-height: calc(2 * 1.9em + 13px);
}

.region__routes a { display: inline-block; color: var(--charcoal); border-bottom: 1px solid var(--orange); }
.region__routes a:hover { color: var(--orange); text-decoration: none; }

.layer {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 20px;
}

.layer .num {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #cfcfd4;
}

.layer h3 {
  margin: 6px 0 8px;
  font-size: 15px;
  color: var(--charcoal);
}

.layer p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.65;
  color: #55555a;
}

.layer ul {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  padding-top: 12px;
  font-size: 12.5px;
  /* 四张卡的清单都是三项，但有的折行有的不折，三行对五行。
     底对齐之后分隔线会差出两行高度，统一按最长的一种预留。 */
  min-height: calc(5 * 1.55em + 4 * 6px + 12px);
}

.layer li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #6a6a70;
}

.layer li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

@media (max-width: 780px) {
  .region { padding: 18px 16px 14px; }
  /* 单列堆叠时不存在左右对齐问题，不要为了对齐留空行 */
  .region p.region__routes { font-size: 12px; min-height: 0; }
  .layer ul { min-height: 0; }
}

/* 路由链接按「点 + 链接」整体折行，避免行尾孤零零一个分隔点 */
.route-item { white-space: nowrap; }
.route-item .sep { color: #cfcfd4; margin: 0 2px; }

/* ===== Reading experience (v1.5) =====
   三件东西：文章目录（含滚动高亮与进度）、/insights/ 主题筛选、文末相关与上下篇。
   配色只用炭黑/橙/细线，不加阴影，和 v2 皮肤一致。整段可单独删除。 */

/* 正文列 + 右侧目录列。目录在 DOM 里排在正文之前，
   窄屏时它落在正文上方（折叠状态），宽屏时用 grid 把它放到右栏。 */
.article-layout {
  max-width: 820px;
  margin: 0 auto;
}

.article-layout.has-toc {
  max-width: 1108px;
  display: grid;
  grid-template-columns: minmax(0, 820px) 232px;
  justify-content: center;
  align-items: start;
  gap: 56px;
}

.article-layout.has-toc .article-main { grid-column: 1; grid-row: 1; min-width: 0; }
.article-layout.has-toc .article-toc { grid-column: 2; grid-row: 1; }

/* 吸顶时让出 header 的高度，否则首个标题会被压在导航下面 */
.article-main .prose h2[id],
.article-main .prose h3[id] { scroll-margin-top: 96px; }

.article-toc {
  position: sticky;
  top: 92px;
  align-self: start;
  font-size: 13px;
  line-height: 1.45;
  color: #6a6a70;
}

.article-toc summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  list-style: none;
}

.article-toc summary::-webkit-details-marker { display: none; }

.article-toc__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9aa0;
}

.article-toc__count { font-size: 11px; color: #b9b9bf; white-space: nowrap; }

.article-toc__list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  max-height: 62vh;
  overflow-y: auto;
}

.article-toc__list li { margin: 0; }

.article-toc__list a {
  display: block;
  padding: 5px 0 5px 12px;
  border-left: 2px solid transparent;
  color: #6a6a70;
  text-decoration: none;
}

.article-toc__list a:hover {
  color: var(--charcoal);
  border-left-color: #cfcfd4;
  text-decoration: none;
}

.article-toc__list a.is-active {
  color: var(--charcoal);
  font-weight: 600;
  border-left-color: var(--orange);
}

.article-toc__list .lvl-3 a { padding-left: 24px; font-size: 12.5px; }

.article-toc__bar { height: 2px; margin-top: 14px; background: var(--rule); }
.article-toc__bar span { display: block; width: 0; height: 2px; background: var(--orange); transition: width 0.12s linear; }

@media (max-width: 1159px) {
  .article-layout.has-toc { display: block; max-width: 820px; }

  /* 单列时目录排在正文前面，展开会把首段挤出屏幕，所以做成可折叠的一块 */
  .article-toc {
    position: static;
    margin: 0 0 26px;
    padding: 14px 16px;
    border: 1px solid var(--rule);
    border-radius: 3px;
  }

  .article-toc[open] summary { border-bottom: 1px solid var(--rule); }
  .article-toc__list { max-height: none; }
  .article-toc__bar { display: none; }
}

/* 主题筛选：链接而不是按钮，筛完的 URL 可以分享、可以抓取、可以后退 */
.topic-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-size: 12.5px;
  color: #4a4a52;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.chip:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }
.chip.is-active { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.chip.is-active:hover { color: #fff; }
.chip__n { font-size: 11px; color: #b9b9bf; }
.chip.is-active .chip__n { color: rgba(255, 255, 255, 0.55); }

/* 文末上下篇 */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--rule);
}

.post-nav__link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s;
}

.post-nav__link:hover { border-color: var(--orange); text-decoration: none; }
.post-nav__link.is-next { text-align: right; }

/* 只有一个邻居时不要留半格空位 */
.post-nav__link.is-next:only-child { grid-column: 2; }

.post-nav__dir {
  display: block;
  margin-bottom: 6px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9aa0;
}

.post-nav__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--charcoal);
}

.post-nav__link:hover .post-nav__title { color: var(--orange); }

@media (max-width: 640px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__link.is-next { text-align: left; }
  .post-nav__link.is-next:only-child { grid-column: 1; }
}

/* 窄屏上目录是可折叠的一块，加个小箭头说明它可以点开 */
@media (max-width: 1159px) {
  /* 折叠态下三个元素靠左排，计数用 margin-left:auto 顶到箭头左边 */
  .article-toc summary { justify-content: flex-start; }
  .article-toc__count { margin-left: auto; }

  .article-toc summary::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-right: 1.5px solid #9a9aa0;
    border-bottom: 1.5px solid #9a9aa0;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.15s;
  }

  .article-toc[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
}

/* FAQ 按类别分组：桌面两列，每组独立手风琴 */
.faq-groups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 44px;
  margin-top: 8px;
}

.faq-group h3 {
  margin: 0 0 14px;
  padding-top: 12px;
  border-top: 3px solid var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .faq-groups { grid-template-columns: 1fr; }
}

/* ===== Header / footer Applus 化（1.6.3） =====
   头部：两级下拉（白底面板 + 橙色顶线），菜单项带小箭头。
   底部：深炭黑多列 + 白色小标题 + 橙色短规线，链接浅灰 hover 变橙。 */

/* 两级菜单：父子结构 */
.site-nav .nav-list > li { position: relative; }

.site-nav .nav-list > li.has-sub > a::after,
.site-nav .nav-list > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.15s;
}

.site-nav .nav-list > li.has-sub:hover > a::after,
.site-nav .nav-list > li.menu-item-has-children:hover > a::after { transform: rotate(-135deg) translateY(-2px); }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 264px;
  padding: 6px 0;
  list-style: none;
  margin: 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--orange);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  z-index: 60;
}

.site-nav .nav-list > li:hover > .sub-menu,
.site-nav .nav-list > li:focus-within > .sub-menu { display: block; }

/* 子项：压掉顶部菜单的 22px 大内边距与 3px 下划线 */
.site-nav .sub-menu a {
  display: block;
  padding: 9px 18px;
  border-bottom: 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.45;
  color: #4a4a52;
}

.site-nav .sub-menu a:hover,
.site-nav .sub-menu a.is-active {
  background: #fff6f0;
  color: var(--orange);
  border-bottom: 0;
}

/* 移动端：子菜单随父项展开（JS 在窄屏接管点击） */
@media (max-width: 760px) {
  .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    border: 0;
    border-left: 2px solid var(--rule);
    box-shadow: none;
    margin: 2px 0 4px 14px;
    padding: 0;
  }

  .site-nav .nav-list > li.has-sub.is-open > .sub-menu,
  .site-nav .nav-list > li.menu-item-has-children.is-open > .sub-menu { display: block; }
  .site-nav .sub-menu a { padding: 9px 12px; }
}

/* 页脚：深炭黑 + 多列 + 白色小标题 + 橙色短规线 */
.site-footer {
  margin-top: 70px;
  border-top: 3px solid var(--orange);
  background: #232327;
  padding: 46px 0 26px;
}

.site-footer .brand,
.site-footer .brand small { color: #fff; }

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.site-footer p { color: #a9a9b0; font-size: 13px; }

.footer-grid h4 {
  margin: 0 0 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
}

.footer-grid h4::after {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  margin-top: 8px;
  background: var(--orange);
}

.footer-grid p, .footer-grid li { color: #a9a9b0; font-size: 13px; }
.footer-grid li { margin: 0 0 8px; }
.footer-grid a { color: #a9a9b0; text-decoration: none; }
.footer-grid a:hover { color: var(--orange); text-decoration: none; }
.footer-grid .meta-line { margin-top: 14px; font-size: 11.5px; color: #77777d; }

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #3a3a3f;
  color: #8a8a90;
  font-size: 12px;
}

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

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

/* ===== About 页三证卡片（1.6.4） =====
   复用现有语言：白卡 + 3px 橙顶线 + 细线事实表；顺带给 .fact-table 一套
   统一样式（此前它靠浏览器默认表格渲染，观感不稳定）。 */

.accred {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--orange);
  border-radius: 3px;
  padding: 20px 20px 16px;
}

.accred .kicker { display: block; margin-bottom: 6px; }
.accred h3 { margin: 0 0 12px; font-size: 17px; line-height: 1.3; color: var(--charcoal); }
.accred .micro-note { margin: 10px 0 0; font-size: 11.5px; color: #9a9aa0; line-height: 1.5; }
.accred .tw { margin-top: auto; }

.fact-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.fact-table th,
.fact-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.fact-table tr:last-child th,
.fact-table tr:last-child td { border-bottom: 0; }

.fact-table th {
  width: 34%;
  background: transparent;
  color: #77777d;
  font-weight: 600;
  white-space: nowrap;
}

.fact-table td { color: #3a3a3f; line-height: 1.55; }

.wrap.narrow .fact-table th { width: 26%; }

/* 公司 logo（重上色版：盾牌橙 + 文字炭黑/白） */
.brand-logo { display: block; height: 38px; width: auto; }
.site-footer .brand-logo { height: 48px; }

@media (max-width: 760px) {
  .brand-logo { height: 30px; }
  .site-footer .brand-logo { height: 40px; }
}

/* ===== About 页地址卡 + 地图（1.6.8） ===== */
.location-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--orange);
  border-radius: 3px;
  padding: 20px 20px 16px;
}

.location-card h3 { margin: 4px 0 6px; font-size: 17px; color: var(--charcoal); }

.location-card .loc-focus {
  margin: 0 0 12px;
  font-size: 12px;
  color: #9a9aa0;
  letter-spacing: 0.02em;
}

.location-card .loc-addr { margin: 0 0 6px; font-size: 13.5px; line-height: 1.55; color: #3a3a3f; }
.location-card .loc-cn { margin: 0 0 8px; font-size: 12.5px; color: #77777d; }
.location-card .loc-meta { margin: 0 0 14px; font-size: 13px; }
.location-card .loc-map { margin-top: auto; }

.location-card .loc-map iframe {
  display: block;
  width: 100%;
  height: 230px;
  border: 1px solid var(--rule);
  border-radius: 3px;
}

.location-card .loc-maplink { margin: 8px 0 0; font-size: 12px; }
.location-card .loc-maplink a { color: #8a8a90; }
.location-card .loc-maplink a:hover { color: var(--orange); }

.location-card .loc-map img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 3px; }

/* ===== 中文站验证过的转化组件（1.6.9） =====
   侧边工具栏 / 微信二维码气泡 / 助手改版 / 弹窗改版 /
   文章头部 CTA 行 + 侧栏报价卡 + 底部动作行 / 交叉 chips / 浅色 CTA band */

/* 侧边工具栏：右缘垂直一列，圆角方块 + 小标签 */
.side-tools {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 74px;
  min-height: 68px;
  padding: 10px 6px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
  color: var(--charcoal);
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}

.side-tool:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,0.14); text-decoration: none; }
.side-tool span { font-size: 11px; line-height: 1.2; color: #4a4a52; }
.side-tool:hover span { color: var(--orange); }
.side-tool--primary { background: var(--orange); border-color: var(--orange); }
.side-tool--primary svg, .side-tool--primary span { color: #fff; }
.side-tool--primary:hover { background: var(--orange-dark); }
.side-tool__num { font-size: 10.5px; line-height: 1.25; }

/* 微信二维码气泡 */
.wechat-pop {
  position: fixed;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 71;
  width: 224px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  text-align: center;
}
.wechat-pop img { display: block; width: 168px; height: 168px; margin: 0 auto 10px; }
.wechat-pop p { margin: 0 0 4px; font-size: 12.5px; color: #4a4a52; }
.wechat-pop__t { font-weight: 700; color: var(--charcoal); }
.wechat-pop__x {
  position: absolute; top: 8px; right: 10px;
  border: 0; background: none; font-size: 18px; line-height: 1; color: #9a9aa0; cursor: pointer;
}

@media (max-width: 760px) {
  .side-tool { width: 62px; min-height: 58px; padding: 8px 4px; }
  .side-tool svg { width: 18px; height: 18px; }
  .side-tool span { font-size: 10px; }
  .wechat-pop { right: 84px; }
}

/* 助手面板改版：深色头 + 状态点 + 二维码 + 底部 CTA */
.assistant-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #2c2c31;
  color: #fff;
}
.assistant-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff;
}
.assistant-head__t { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.assistant-head__t strong { font-size: 14px; }
.assistant-status { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #b9b9bf; }
.assistant-status i { width: 7px; height: 7px; border-radius: 50%; background: #47c26c; }

.assistant-qr {
  margin: 12px 14px;
  padding: 12px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #fafafa;
  text-align: center;
}
.assistant-qr img { display: block; width: 132px; height: 132px; margin: 0 auto 8px; }
.assistant-qr p { margin: 0; font-size: 12px; color: #55555a; }

.assistant-foot { padding: 12px 14px 14px; }
.assistant-foot .btn { width: 100%; }
.assistant-foot p { margin: 10px 0 0; font-size: 12.5px; color: #6a6a70; text-align: center; }
.assistant-foot a { color: var(--charcoal); font-weight: 600; }

/* 弹窗改版 */
.lead-modal__todo { display: inline-flex; align-items: center; gap: 6px; }
.lead-modal__todo::before {
  content: "①";
  color: var(--orange);
  font-size: 14px;
}
.lead-modal__sub { margin: 8px 0 0; font-size: 13px; color: #6a6a70; line-height: 1.6; }
.lead-privacy {
  display: flex; align-items: flex-start; gap: 6px;
  margin: 12px 0 0;
  font-size: 11.5px; color: #9a9aa0; line-height: 1.5;
}
.lead-privacy::before { content: "✓"; color: #47c26c; font-weight: 700; }

/* 文章头部 CTA 行 */
.article-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}
.article-phone { white-space: nowrap; }

/* 侧栏报价卡（跟随目录吸顶） */
.article-rail { position: sticky; top: 92px; align-self: start; }
.article-layout.has-toc .article-toc { position: static; }

.side-quote {
  margin-top: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.side-quote__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff2e8; color: var(--orange);
  margin-bottom: 10px;
}
.side-quote h3 { margin: 0 0 8px; font-size: 16px; color: var(--charcoal); }
.side-quote p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.55; color: #6a6a70; }
.side-quote .btn { width: 100%; }
.side-quote__phone { margin: 10px 0 0 !important; text-align: center; }
.side-quote__phone a { color: var(--charcoal); font-weight: 600; }

@media (max-width: 1159px) {
  .article-rail { position: static; }
  .side-quote { display: none; }  /* 窄屏正文上方已有目录块，报价卡交给工具栏与弹窗 */
}

/* 文章底部动作行 */
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
}

/* 上下篇：标题橙色（与中文站一致） */
.post-nav__title { color: var(--orange); }
.post-nav__link:hover .post-nav__title { color: var(--orange-dark); }

/* 交叉 chips：你可能还需要 */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }

.cross-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: #3a3a3f;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.cross-chip svg { color: var(--orange); }
.cross-chip:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; background: #fff8f3; }
.cross-chip--dark { background: var(--charcoal); border-color: var(--charcoal); color: #fff; font-weight: 600; }
.cross-chip--dark:hover { background: #000; color: #fff; }

/* 浅色 CTA band（对比深色 .cta-band） */
.cta-band--soft {
  background: #f2f2f3;
  border-radius: 10px;
  border-left: 0;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px;
}
.cta-band--soft h2 { font-size: clamp(19px, 2.2vw, 26px); margin: 0 0 8px; color: var(--charcoal); }
.cta-band--soft p { margin: 0; font-size: 14px; color: #55555a; }
.cta-band__side { flex: 0 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.cta-band__side .btn { white-space: nowrap; }
.cta-band__phone { margin: 0; font-size: 12.5px; color: #77777d; text-align: center; }

@media (max-width: 900px) {
  .cta-band--soft { display: block; padding: 24px 22px; }
  .cta-band__side { margin-top: 18px; }
  .side-tools { right: 8px; }
}

/* 证书原件缩略条（About） */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.cert-thumb {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cert-thumb:hover { border-color: var(--orange); box-shadow: 0 10px 24px rgba(0,0,0,0.08); text-decoration: none; }
.cert-thumb img {
  display: block;
  width: 100%;
  height: 330px;
  object-fit: cover;
  object-position: top;
}
.cert-thumb__cap {
  padding: 10px 12px;
  font-size: 12px;
  color: #6a6a70;
}
.cert-thumb__cap strong { color: var(--charcoal); }

@media (max-width: 960px) {
  .cert-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .cert-strip { grid-template-columns: 1fr; }
}

/* 服务页规格卡与范围三栏（原缺失定义，现补齐） */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.spec-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.spec-card > p { margin: 14px 0 0; font-size: 14px; color: #35435a; }
.spec-card .check-list { margin-bottom: 0; }
.spec-card .check-list li { margin-bottom: 7px; }

.coverage-grid .spec-card { background: var(--soft); box-shadow: none; }
.coverage-grid .kicker { font-size: 12px; }

@media (max-width: 900px) {
  .spec-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* 服务归档页产品族总览 */
.family-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.family {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius);
  padding: 13px 15px;
  min-width: 0;
}
.family__thumb {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.family__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.family__text { min-width: 0; }
.family strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--navy); font-size: 14.5px; margin-bottom: 3px; line-height: 1.3; }
.family__text > span { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
/* Product-family category badge: colour-coded so categories are scannable. */
.family__cat {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.family__cat--blue    { color: #0b4da2; background: #edf4fc; border-color: #cfe0f5; }
.family__cat--amber   { color: #8a5a09; background: #fff6e5; border-color: #f0dcb4; }
.family__cat--teal    { color: #1f7a6b; background: #e9f5f1; border-color: #c3e4da; }
.family__cat--general { color: #5c6b7d; background: #f1f4f8; border-color: #dfe5ec; }
@media (max-width: 900px) {
  .family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .family-grid { grid-template-columns: 1fr; }
  .family strong { gap: 4px 6px; }
  .family__cat { font-size: 9px; padding: 1px 6px; }
}

/* 认证页：sticky 页内目录（长页面快速跳转） */
.cert-index {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(13, 43, 78, 0.06);
}
.cert-index .wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 48px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.cert-index__label {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}
.cert-index__label::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange);
  margin-top: 4px;
}
.cert-index__links {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.cert-index__links::-webkit-scrollbar { display: none; }
.cert-index__links a {
  flex: 0 0 auto;
  font-size: 12.5px;
  color: #55555a;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.cert-index__links a:hover { color: var(--orange); border-bottom-color: var(--orange); text-decoration: none; }
html { scroll-padding-top: 64px; }

/* 认证页：长表格折叠（原生 details，无 JS） */
.table-fold {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.table-fold + .table-fold { margin-top: 14px; }
.table-fold > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  background: var(--soft);
  border-left: 3px solid var(--orange);
  transition: background 0.15s;
}
.table-fold > summary::-webkit-details-marker { display: none; }
.table-fold > summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  line-height: 20px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--orange);
  font-size: 16px;
  font-weight: 400;
}
.table-fold[open] > summary { background: #fff6f0; border-bottom: 1px solid var(--line); }
.table-fold[open] > summary::after { content: "\2212"; }
.table-fold > summary:hover { background: #fff8f3; }
.table-fold__count {
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.table-fold .table-wrap { border: 0; border-radius: 0; }

@media (max-width: 720px) {
  .cert-index .wrap { flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 8px; padding-bottom: 8px; }
  .cert-index__links { width: 100%; gap: 14px; }
  .table-fold > summary { padding: 14px 16px; font-size: 13px; }
}

/* Services 二级下拉里的分组标题（不可点击，仅视觉分组） */
.site-nav .sub-menu .menu-group-label {
  display: block;
  padding: 10px 12px 5px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--orange);
  pointer-events: none;
  cursor: default;
  border-bottom: 1px solid var(--line-2);
  margin-top: 4px;
}
.site-nav .sub-menu .menu-group-label:hover { background: none; color: var(--orange); text-decoration: none; }
.site-nav .sub-menu .menu-group-label::after { display: none; }

/* ===== Services / Certification mega dropdown (main-site style, 1.7.2) =====
   Only .mega-parent / .mega-menu are touched here, so Insights and the footer
   menus keep the stock two-level styling. Menu items, URLs and mobile toggles
   are unchanged; this is presentation only. */
/* Containing block must be the full header wrap, not the nav itself:
   centering inside the nav pushed the 1240px panel past the right edge.
   Keep both overrides desktop-only so the mobile absolute nav still anchors
   to .site-header exactly as before. */
.site-nav .nav-list > li.mega-parent { position: static; }

@media (min-width: 761px) {
  .header-inner { position: relative; }
  .site-nav { position: static; }

  .site-nav .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    box-sizing: border-box;
    width: min(1240px, calc(100vw - 40px));
    min-width: 0;
    margin: 0;
    padding: 26px 30px 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 34px;
    row-gap: 0;
    align-items: start;
    background: #fff;
    border: 1px solid var(--rule);
    border-top: 3px solid var(--orange);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 18px 38px rgba(13, 43, 78, 0.14);
  }

  .site-nav .nav-list > li.mega-parent:hover > .mega-menu,
  .site-nav .nav-list > li.mega-parent:focus-within > .mega-menu { display: grid; }

  .site-nav .nav-list > li.mega-parent:hover > a,
  .site-nav .nav-list > li.mega-parent:focus-within > a {
    color: var(--orange);
    border-bottom-color: var(--orange);
  }

  .site-nav .mega-menu .mega-group {
    display: block;
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    break-inside: avoid;
  }

  .site-nav .mega-menu .mega-group__head {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 24px;
    margin-bottom: 9px;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .mega-menu .mega-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--orange);
  }

  .site-nav .mega-menu .mega-group__head .menu-group-label,
  .site-nav .mega-menu .mega-group__head a.menu-group-label {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    pointer-events: none;
    cursor: default;
  }

  .site-nav .mega-menu .mega-group__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 3px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .site-nav .mega-menu .mega-group__links li {
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .site-nav .mega-menu .mega-group__links a {
    display: block;
    padding: 2px 0;
    border: 0;
    background: none;
    color: #5c6b7d;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
  }

  .site-nav .mega-menu .mega-group__links a:hover,
  .site-nav .mega-menu .mega-group__links a.is-active {
    background: none;
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .site-nav .mega-menu .mega-foot {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 -30px;
    padding: 14px 30px;
    border-top: 1px solid var(--line);
    background: #f7f8fa;
  }

  .site-nav .mega-menu .mega-foot__note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
  }

  .site-nav .mega-menu .mega-foot .btn { flex: 0 0 auto; }
}

@media (max-width: 760px) {
  .site-nav .mega-menu { padding: 0; }
  /* Touch devices have no hover: only the stock .is-open toggle reveals it. */
  .site-nav .nav-list > li:hover > .mega-menu { display: none; }
  .site-nav .nav-list > li.is-open > .mega-menu { display: block; }
  .site-nav .mega-menu .mega-group__links,
  .site-nav .mega-menu .mega-group__links li { list-style: none; }
  .site-nav .mega-menu .mega-group__links { margin: 0; padding: 0; }
  .site-nav .mega-menu .mega-group { margin: 0; }
  .site-nav .mega-menu .mega-group__head {
    gap: 7px;
    margin: 0;
    padding: 8px 12px 4px;
    border-bottom: 0;
  }
  .site-nav .mega-menu .mega-icon { width: 16px; height: 16px; flex-basis: 16px; }
  .site-nav .mega-menu .mega-group__head .menu-group-label,
  .site-nav .mega-menu .mega-group__head a.menu-group-label {
    color: var(--orange);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }
  .site-nav .mega-menu .mega-group__links { display: block; }
  .site-nav .mega-menu .mega-group__links a { padding: 8px 12px; font-size: 12.5px; }
  .site-nav .mega-menu .mega-foot {
    display: block;
    margin: 6px 0 0;
    padding: 8px 12px 12px;
    border: 0;
    background: none;
  }
  .site-nav .mega-menu .mega-foot__note { display: block; margin-bottom: 8px; font-size: 11.5px; }
}

/* ===== Mega menu: visual hierarchy upgrade (1.8.1) =====
   Same four-column frame and links as before; each group becomes a light card
   with a stronger icon tile, a one-line subtitle and subtle link markers. */
@media (min-width: 761px) {
  .site-nav .mega-menu .mega-group {
    background: #fbfcfd;
    border: 1px solid #eef2f6;
    border-radius: 8px;
    padding: 14px 14px 12px;
    margin-bottom: 16px;
  }
  .site-nav .mega-menu .mega-group:last-of-type { margin-bottom: 0; }
  .site-nav .mega-menu .mega-group__head {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 9px;
    padding-bottom: 9px;
  }
  .site-nav .mega-menu .mega-icon {
    box-sizing: content-box;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    padding: 6px;
    border-radius: 7px;
    background: #fff0e4;
    color: var(--orange);
  }
  .site-nav .mega-menu .mega-group__titles {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    flex: 1 1 auto;
  }
  .site-nav .mega-menu .mega-group__sub {
    display: block;
    font-size: 10.5px;
    line-height: 1.35;
    color: #8a94a3;
  }
  .site-nav .mega-menu .mega-group__links a {
    position: relative;
    padding: 3px 0 3px 11px;
    border-radius: 3px;
  }
  .site-nav .mega-menu .mega-group__links a::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #c5cfdb;
  }
  .site-nav .mega-menu .mega-group__links a:hover,
  .site-nav .mega-menu .mega-group__links a.is-active {
    background: #fff3e9;
    padding-left: 14px;
  }
  .site-nav .mega-menu .mega-group__links a:hover::before,
  .site-nav .mega-menu .mega-group__links a.is-active::before { background: var(--orange); }
  .site-nav .mega-menu .mega-hot {
    display: inline-block;
    margin-left: 5px;
    padding: 0 4px;
    border-radius: 3px;
    background: #ffeadb;
    color: var(--orange);
    font-size: 9px;
    font-weight: 700;
    line-height: 14px;
    vertical-align: 1px;
    white-space: nowrap;
  }
}

@media (max-width: 760px) {
  .site-nav .mega-menu .mega-group {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .site-nav .mega-menu .mega-icon {
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    padding: 0;
    border-radius: 0;
    background: none;
  }
  .site-nav .mega-menu .mega-group__titles { display: block; }
  .site-nav .mega-menu .mega-group__sub { display: none; }
  .site-nav .mega-menu .mega-hot { margin-left: 4px; font-size: 9px; }
}
