@font-face {
  font-family: "Outfit";
  src: url("/wp-content/themes/junj/assets/fonts/Outfit-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/wp-content/themes/junj/assets/fonts/Outfit-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/wp-content/themes/junj/assets/fonts/Outfit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OutfitUi01Bold";
  src: url("/wp-content/themes/junj/assets/fonts/Outfit-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("/wp-content/themes/junj/assets/fonts/Outfit-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Orbitron";
  src: url("/wp-content/themes/junj/assets/fonts/Orbitron-Bold.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "OrbitronBlack";
  src: url("/wp-content/themes/junj/assets/fonts/Orbitron-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", Arial, sans-serif;
  color: #14363f;
  background: #f9fbfa;
  animation: pageFadeIn var(--motion-page-duration, 0.7s) var(--motion-ease, ease) both;
}

a,
a:hover,
a:focus,
a:focus-visible {
  color: inherit;
  text-decoration: none;
  outline: 0;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.capabilities-page {
  width: 100%;
  overflow-x: clip;
}

.cap-section {
  position: relative;
}

/* Scroll-reveal base/variant rules are owned by shared-motion.css.
   The filter rule below is page-specific — adds a subtle saturation pop
   once each section's media becomes visible. */
.page-motion-ready [data-reveal].is-visible .qc-card img,
.page-motion-ready [data-reveal].is-visible .trace-body-grid img,
.page-motion-ready [data-reveal].is-visible .tier-card img,
.page-motion-ready [data-reveal].is-visible .cert-grid img,
.page-motion-ready .hero-media[data-reveal].is-visible {
  filter: saturate(1.03);
}

a,
.qc-card,
.qc-card img,
.qc-stack-card,
.trace-panel-head,
.trace-panel-head i,
.cert-grid figure,
.tier-card,
.tier-card img,
.outline-action,
.shared-video-modal__close {
  transition: color var(--motion-interaction, 0.35s) var(--motion-ease, ease),
    background-color var(--motion-interaction, 0.35s) var(--motion-ease, ease),
    border-color var(--motion-interaction, 0.35s) var(--motion-ease, ease),
    box-shadow var(--motion-interaction, 0.35s) var(--motion-ease, ease),
    opacity var(--motion-interaction, 0.35s) var(--motion-ease, ease),
    transform var(--motion-interaction, 0.35s) var(--motion-ease, ease),
    filter var(--motion-interaction, 0.35s) var(--motion-ease, ease);
}

.qc-card:hover,
.trace-panel:hover,
.tier-card:hover,
.cert-grid figure:hover {
  transform: translateY(-4px);
}

.qc-card:hover img,
.tier-card:hover img,
.trace-body-grid img:hover {
  filter: saturate(1.08) contrast(1.03);
}

.qc-actions a:hover,
.qc-actions button:hover,
.outline-action:hover,
.shared-video-modal__close:hover,
.trace-panel-head:hover i {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 140, 17, 0.18);
}

.qc-actions a:active,
.qc-actions button:active,
.outline-action:active,
.trace-panel-head:active i,
.shared-video-modal__close:active {
  transform: translateY(0);
}

.qc-actions a:focus-visible,
.qc-actions button:focus-visible,
.outline-action:focus-visible,
.trace-panel-head:focus-visible,
.shared-video-modal__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.trace-panel-head:hover {
  color: #008c11;
}

.trace-panel.is-active .trace-panel-head:hover {
  color: #fff;
}

.cap-container {
  text-align: left !important;
  width: min(100% - 48px, 1640px);
  max-width: 1640px;
  margin: 0 auto;
}

.section-kicker {
  margin: 0;
  color: #008c11;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}

/* .section-kicker 是页面导语标签,语义上不是描述段,保持居中。 */
.capabilities-page .intro-section > .cap-container > .section-kicker {
  text-align: center !important;
  text-align-last: center !important;
}

.orbitron-title {
  margin: 0;
  font-family: "Orbitron", "Outfit", Arial, sans-serif;
  font-size: 48px;
  line-height: 1.35;
  font-weight: 900;
  text-align: center;
  color: #fff;
  letter-spacing: 0;
}

.orbitron-title span,
.section-kicker,
.dark-title span {
  color: #008c11;
}

.dark-title {
  color: #14363f;
}

.intro-section {
  padding: 84px 0 85px;
}

.intro-layout h1 {
  margin: 24px auto 61px;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  color: #14363f;
  font-size: 48px;
  line-height: 64px;
  font-weight: 700;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  text-align: center;
  letter-spacing: 0;
}

.quality-title-line {
  display: inline-block;
  font-size: 47.4px;
  padding-right: 10px;
}

.hero-media {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
}

.intro-summary {
  max-width: 1554px;
  margin: 88px auto 0;
  padding-right: 14px;
  text-align: center;
}

/* .intro-summary 的直接子 P 是 cftp_intro_body 输出的叙述段，
   按项目 prose 契约（prose.css §1.1）走"两端对齐、末行居中"。
   .intro-lead 仍然由它自己的规则保持居中,不会受本条影响。

   这里用 !important 兜底,是因为 ACF WYSIWYG 在用户点击对齐按钮时
   会把 text-align 写进 inline style（如 <p style="text-align: left">），
   CSS 常规优先级压不过 inline style。.intro-lead 的居中规则已
   自带 !important,优先级并行,不受本条影响。 */
.intro-summary > p {
  text-align: justify !important;
  text-align-last: center !important;
  text-justify: inter-ideograph;
  -webkit-text-justify: inter-ideograph;
  font-size: 18px;
  line-height: 26px;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-spacing: -0.05em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphenate-limit-chars: 6 3 3;
}

/* 段落之间的留白。基础间距 8px,本页面客户反馈"挤",提到 16px。
   桌面/平板走 16px,移动断点走 12px（避免长段落+小屏累加过高）。 */
.intro-summary > p + p {
  margin-top: 16px;
}

.intro-summary .intro-lead {
  max-width: 884px;
  margin: 0 auto 34px;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  color: #14363f;
  font-size: 24px;
  line-height: 35px;
  font-weight: 700;
  text-align: center;
}

/* .intro-lead 是页面导语段,语义上不是描述段,保持居中。 */
.capabilities-page .intro-section .intro-lead,
.capabilities-page .intro-section .intro-lead p {
  text-align: center !important;
  text-align-last: center !important;
}

.intro-summary .intro-lead::first-line {
  color: #008c11;
}

.qc-section {
  overflow: hidden;
  padding: 82px 0 102px;
  background: #008c11;
  color: #fff;
}

.qc-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 302px;
  background: url("/wp-content/uploads/2026/07//ftp4.png") center bottom / 100% auto no-repeat;
  pointer-events: none;
}

.qc-section .cap-container {
  position: relative;
  z-index: 1;
}

.qc-section .orbitron-title {
  margin-bottom: 58px;
  letter-spacing: 0.2px;
}

.qc-section .orbitron-title span {
  color: #ffbf00;
}

.track-block + .track-block {
  margin-top: 82px;
}

.track-label {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
}

.track-block:not(.track-block-pcba) .track-label {
  margin-bottom: 14px;
}

.track-block h3 {
  margin: 0 0 24px;
  color: #fff;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.track-block:not(.track-block-pcba) h3 {
  margin-bottom: 20px;
}

.track-block h3 span {
  color: #ffbf00;
}

.carousel-shell {
  position: relative;
  /* flex column 布局:.qc-stack-card-prev/-next、.qc-swiper、.qc-actions
     三个子元素按文档流竖直排列。.qc-stack-card 自身走 position: absolute,
     在 .carousel-shell 这个定位上下文里偏移到边缘,不占行高。
     .qc-swiper 高度由当前激活 .qc-card 决定,.qc-actions 自然紧贴 swiper 底部,
     无需 JS 监听 slide change。 */
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 0;
}

.qc-swiper {
  position: relative;
  z-index: 2;
  /* padding-top + 负 margin-top 让 .qc-card 顶部图片溢出到 swiper 上沿外,
     swiper overflow: hidden 仍能让图片在 padding 预留空间内可见。
     JS 启用 autoHeight 后 swiper 高度 = padding-top 72 + 当前 slide 高度。 */
  overflow: hidden;
  padding-top: 72px;
  margin-top: -72px;
}

.qc-card {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 496px;
  padding: 32px 556px 42px 64px;
  border: 1px solid #4db45a;
  /* 桌面基线:两轨 QC 卡片左内边距统一 64px,h4/p/ul 在此基础上 +10px。
     旧 .track-block:not(.track-block-pcba) 覆盖把 PCB 轨改成 padding-left=26、
     h4/p/ul 改成 margin-left=48,使两轨段头不在同一条垂直线上。 */
  border-radius: 8px;
  background: #fff;
  color: #14363f;
  overflow: visible;
}

.qc-card img {
  position: absolute;
  top: -65px;
  right: 37px;
  width: 487px;
  height: 487px;
  max-width: none;
  object-fit: cover;
  border-radius: 8px;
}

.qc-stack-card {
  position: absolute;
  /* 客户 1009 r18/r19（对齐设计稿 r18_D，D 列即设计稿）：
     设计稿实测 —— 露出卡顶距卡片顶 18/334 = 5.4%，底与卡片底齐平（317/334）。
     .carousel-shell 高 = 卡片高 + 20（1440 / 1600 / 1760 三档实测一致），
     故：top 27px（卡片高 496 的 5.4%）、height calc(100% - 47px)（底落在卡片底）。
     原值 top:100px + height:467px 会让露出卡偏低且底部越出卡片 71px。 */
  top: 27px;
  height: calc(100% - 47px);
  z-index: 1;
  width: 150px;
  border-radius: 8px;
  background: #badfc1;
  color: #008c11;
  display: flex;
  flex-direction: column;
  
  justify-content: center;
  gap: 14px;
  font-weight: 700;
  pointer-events: none;
}

.qc-stack-card-prev {
  left: -104px;
  padding-right: 40px;
}

.qc-stack-card-next {
  right: -104px;
  padding-left: 40px;
}

.qc-stack-card.is-hidden {
  display: none;
}

.qc-stack-card strong {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 40px;
  line-height: 1;
}

.qc-stack-card span {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 36px;
  line-height: 1;
}

.qc-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.qc-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
  /* 客户 1009 r18/r19「文字整体上移」（对齐设计稿 r18_D）：tabs → 标题 100 → 80；
     客户 1009 二次反馈「间隔还是有点大，文字再上移一点」→ 80 → 50。
     标题与正文整块继续上提，卡片下方留白随之增加（设计稿中文字块下方留白约占卡片高 1/3）。 */
  margin-bottom: 50px;
  color: #9aa7a0;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.qc-tabs span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 16px;
  vertical-align: middle;
  background: #e3e8e5;
}

.qc-tabs span {
  padding-top: 12px;
}

.qc-tabs strong,
.qc-tabs .active {
  color: #008c11;
}

.qc-tabs strong {
  font-size: 40px;
}

.qc-tabs strong {
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  display: inline-block;
  flex: 0 0 61px;
  width: 61px;
  text-align: left;
}

/* 数字不再负缩进,留 strong 在容器内,数字与第一个 tab 标签之间走默认 gap: 28px。
   旧规则 text-indent: -38px 会把"3"字形推出 strong 框外,导致视觉上"序号被挤压到
   .qc-tabs 区块外面"。≤768 断点的 PCBA 兜底 .track-block-pcba .qc-tabs strong
   { text-indent: 0 } 仍保留,与本修改方向一致。 */

/* PCBA 轨道 tabs 与 H4 间距：与 PCB 轨道保持同一数值（两轨视觉一致）。
   旧值 68px 是历史补丁,导致 PCBA 段头比 PCB 紧 32px,被客户标记为不一致；
   2026-10-09（客户 1009 r18/r19「文字整体上移」）两轨一起 100 → 80，
   同日二次反馈「间隔还是有点大」→ 两轨同步 80 → 50。 */
.qc-tabs {
  margin-bottom: 50px;
}

.qc-copy h4 {
  text-align: left;
  text-align-last: left;
  margin: 0 0 18px;
  margin-left: 10px;
  color: #008c11;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
}

.qc-copy p {
  margin-left: 10px;
  font-size: 16px;
  line-height: 24px;
}

/* 客户批次 E：段首加粗导语视为小标题，独立成行、左对齐 */
.qc-copy p > strong:first-child {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 28px;
  text-align: left;
  text-align-last: left;
}

.qc-copy ul {
  max-width: 944px;
  margin: 0 0 0 10px;
  padding-left: 18px;
}

.qc-copy li {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 21px;
}

.qc-copy li::marker {
  color: #008c11;
}

.qc-note {
  margin: 24px 0 0;
  padding-left: 0;
  color: #8e9992;
  font-size: 14px;
  line-height: 18px;
  text-align: left;
}

.qc-note span {
  display: block;
  color: #cce0d7;
  font-size: 76px;
  line-height: 0.7;
  font-weight: 700;
  text-align: left;
}

.track-block-pcba .qc-note span {
  line-height: 0.26;
}

.qc-note strong {
  display: block;
  margin: 0 0 8px;
  color: #008c11;
  font-size: 16px;
  text-align: left;
}

.qc-note p {
  margin: 0;
  text-align: left;
  text-align-last: left;
  text-justify: auto;
  -webkit-text-justify: auto;
}

.qc-actions {
  /* flex column 流里 actions 紧贴 .qc-swiper 容器底部。
     swiper padding-top: 72px 占着图片溢出空间；actions 上提后，
     圆形操作按钮贴在当前 .qc-card 的底边外侧。
     JS autoHeight 启用后，actions 会随当前 slide 的实际高度移动。
     水平位置上对齐 .qc-copy 起点 (.qc-card padding-left 内侧):
       - 桌面 PCB  padding-left=64 → left: 64px;
       - 桌面 PCBA padding-left=64 → left: 64px;
       - ≤1280 断点 padding=30 → 单独规则在媒体查询里覆盖。
     z-index: 3 保证盖住 swiper 边缘(48px 圆形按钮会进入 swiper 容器底部
     上方约 36px,该范围是 .qc-card padding-bottom 内的空白,
     不会盖住卡片正文)。 */
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: -26px;
  margin-left: 64px;
  position: relative;
  z-index: 3;
}

.qc-actions a,
.qc-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  aspect-ratio: 1;
  border: 1px solid #008c11;
  border-radius: 50%;
  background: #fff;
  color: #008c11;
  font-size: 20px;
}

.qc-actions a i,
.qc-actions button i {
  display: block;
  line-height: 1;
}

.carousel-prev i {
  transform: rotate(180deg);
}

.carousel-prev,
.carousel-next {
  flex: 0 0 auto;
}

.testing-section {
  padding: 126px 0 135px;
  background: #fff;
}

.testing-section .orbitron-title {
  font-size: 48px;
  line-height: 69px;
  margin-bottom: 55px;
}

.testing-section .testing-subtitle {
  max-width: 820px;
  margin: -28px auto 45px;
  text-align: center;
  color: #008c11;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.testing-table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border-radius: 8px;
  -webkit-overflow-scrolling: touch;
}

.testing-table {
  width: 100%;
  min-width: 960px;
  height: auto;
  /* 两端对齐 */
  text-align: justify;
  table-layout: fixed;
  border-collapse: collapse;
  background: #fff;
  color: #14363f;
}

.testing-col-item {
  width: 15.15%;
}

.testing-col-method {
  width: 33.95%;
}

.testing-col-solution {
  width: 50.9%;
}

.testing-table th,
.testing-table td {
  border: 1px solid #bfd8ce;
  padding: 0 28px;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  vertical-align: middle;
}

.testing-table thead tr,
.testing-table tbody tr {
  height: 61px;
}

.testing-table thead th {
  background: #008c11;
  color: #fff;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}

.testing-table tbody tr:nth-child(even) {
  background: #edf5f2;
}

.testing-table tbody th {
  font-weight: 600;
  white-space: normal;
  overflow-wrap: anywhere;
}

.testing-table tbody td:nth-child(3) {
  line-height: 20px;
}

.compliance-section {
  padding: 98px 0 50px;
  color: #fff;
  background: #008c11 url("/wp-content/uploads/2026/07//ftp8.png") center / 100% 100% no-repeat;
}

.compliance-section .cap-container {
  width: calc(100% - 224px);
  max-width: 1696px;
}

.compliance-layout {
  display: grid;
  grid-template-columns: 814px 806px;
  gap: 48px;
  align-items: start;
}

.compliance-copy {
  padding-left: 2px;
}

.compliance-copy .orbitron-title {
  text-align: left;
  font-size: 36px;
  line-height: 43px;
  font-weight: 900;
}

.compliance-copy p {
  max-width: 720px;
  margin: 23px 0 0;
  font-size: 16px;
  line-height: 20px;
  text-transform: capitalize;
}

.compliance-copy p + p {
  margin-top: 28px;
}

.compliance-lead {
  font-weight: 700;
}

.outline-action {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 42px;
  padding: 8px 12px 8px 20px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-family: "Orbitron", "Outfit", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 900;
}

.outline-action i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: #008c11;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
  padding-top: 9px;
}

.cert-grid figure {
  margin: 0;
  text-align: center;
  /* 与 SMT/DIP 一致的独立边框卡片样式：白底卡片与深色合规区形成对比 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--page-border, rgba(22, 52, 58, 0.08));
  border-radius: 12px;
  padding: 20px 18px;
  background: #fff;
}

.cert-grid img {
  width: 100%;
}

.cert-grid figcaption {
  margin-top: 9px;
  color: var(--page-text, #16343a);
  font-size: 20px;
  line-height: 37px;
  font-weight: 700;
}

.trace-intro-section {
  padding: 142px 0 71px;
  background: #fff;
}

.trace-intro-section .cap-container {
  width: calc(100% - 224px);
  max-width: 1696px;
}

.trace-intro-layout {
  text-align:left;
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: 88px;
  align-items: start;
}

.trace-intro-layout .orbitron-title {
  text-align: left;
  font-size: 42px;
  line-height: 52px;
}

.trace-copy h3 {
  margin: 0 0 20px;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}

.trace-copy p {
  margin: 0;
  color: #666;
  font-size: 16px;
  line-height: 26px;
  text-transform: capitalize;
}

.trace-accordion-section {
  padding: 42px 0 160px;
  background: #fff;
}

.trace-accordion-section .cap-container {
  width: calc(100% - 224px);
  max-width: 1696px;
}

.trace-accordion-section h2 {
  margin: 0 0 55px;
  color: #008c11;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 31px;
  line-height: 55px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
}

.trace-accordion {
  width: calc(100% - 56px);
  max-width: 1640px;
  border: 1px solid #b8d8bc;
}

.trace-panel + .trace-panel {
  border-top: 1px solid #b8d8bc;
}

.trace-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 55px;
  align-items: center;
  padding: 17px 48px 15px;
  background: #fff;
  color: #14363f;
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.trace-panel.is-active .trace-panel-head {
  gap: 49px;
  background: #008c11;
  color: #fff;
}

.trace-panel-head span {
  color: #008c11;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 20px;
  line-height: 48px;
  font-weight: 700;
  text-indent: 1px;
}

.trace-panel.is-active .trace-panel-head span {
  color: #fff;
  text-indent: 0;
}

.trace-panel-head strong {
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 24px;
  line-height: 48px;
  font-weight: 700;
}

.trace-panel-head i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 29px;
  border-radius: 999px;
  background: #008c11;
  color: #fff;
  font-style: normal;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.trace-panel.is-active .trace-panel-head i {
  border: 1px solid #fff;
  background: transparent;
}

.trace-panel-final .trace-panel-head {
  padding-bottom: 15px;
}

.trace-panel-body {
  display: none;
  padding: 62px 52px 30px;
  background: #fff;
}

.trace-panel.is-active .trace-panel-body {
  display: block;
}

/* trace 阶段 body 内纯段落(无图无侧栏)的竖向节奏。
   .trace-body-copy 内部段落由自己的"margin: 0 0 40px; last-of-type 0" 体系控制，
   .trace-note 自带 margin-top: 56px，本规则只兜两块之外的<p>链 间距，避免误伤。 */
.trace-panel-body > p {
  margin: 0;
}
.trace-panel-body > p + p {
  margin-top: 16px;
}

.trace-body-grid {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 116px;
  align-items: center;
}

.trace-body-grid img {
  width: 100%;
  border-radius: 8px;
}

.trace-body-copy h3 {
  margin: 0 0 14px;
  color: #008c11;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 20px;
  line-height: 26px;
  font-weight: 700;
}

.trace-body-copy p {
  margin: 0 0 40px;
  padding-right: 16px;
  font-size: 18px;
  line-height: 26px;
}

.trace-body-copy p:last-of-type {
  margin-bottom: 0;
}

.trace-note {
  position: relative;
  margin-top: 56px;
  padding: 42px 32px 30px;
  border-radius: 8px;
  background: #eff5f3;
  color: #666;
}

.trace-note span {
  position: absolute;
  left: 0;
  top: -24px;
  color: #008c11;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 96px;
  line-height: 1;
  font-weight: 700;
}

.trace-note h3 {
  margin: 0 0 14px;
  color: #008c11;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 24px;
  line-height: 26px;
  font-weight: 700;
}

.trace-note p {
  margin: 0;
  padding-right: 14px;
  font-size: 16px;
  line-height: 26px;
}

.packaging-section {
  padding: 106px 0 136px;
  background: #f9fbfa;
  border-bottom: 3px solid #fff;
  margin-bottom: 1px;
  overflow: hidden;
}

.packaging-section::before {
  content: "";
  position: absolute;
  left: -142px;
  bottom: 2px;
  width: 615px;
  height: 263px;
  background: #eff7f3;
  border-radius: 0 260px 0 0;
  z-index: 0;
}

.packaging-section::after {
  content: "";
  position: absolute;
  left: 58px;
  bottom: 0;
  width: 312px;
  height: 134px;
  border: 24px solid #f9fbfa;
  border-left: 0;
  border-right: 0;
  border-radius: 0 96px 96px 0;
  opacity: 0.98;
  z-index: 0;
}

.packaging-section .cap-container {
  position: relative;
  z-index: 1;
}

.packaging-section .orbitron-title {
  font-family: "OrbitronBlack", "Orbitron", "Outfit", Arial, sans-serif;
  margin: 1px 0 86px;
  padding-left: 3px;
  text-rendering: geometricPrecision;
}

.shipping-intro {
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 82px;
  align-items: start;
}

.shipping-intro > div {
  padding: 6px 0 0 3px;
}

.shipping-intro > div p {
  max-width: 660px;
}

.shipping-intro h3 {
  margin: 0 0 30px;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  color: #008c11;
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
}

.shipping-intro > div h3 {
  margin: 3px 0 26px 1px;
}

.shipping-intro p {
  margin: 0;
  color: #666;
  font-size: 18px;
  line-height: 28px;
  text-transform: capitalize;
  text-rendering: geometricPrecision;
}

.shipping-note {
  position: relative;
  padding: 48px 38px 41px;
  border: 1px solid #008c11;
  border-radius: 8px;
  box-shadow: 1px 0 0 #008c11;
}

.shipping-note span {
  position: absolute;
  top: -33px;
  left: 38px;
  color: #008c11;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  font-size: 120px;
  line-height: 109px;
  font-weight: 700;
}

.shipping-note h3 {
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  margin-bottom: 19px;
  font-size: 24px;
  line-height: 1.35;
}

.shipping-note p {
  color: #979c9c;
  line-height: 30px;
}

.matrix-title {
  margin: 92px 0 48px;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  color: #14363f;
  font-size: 32px;
  line-height: 42px;
  font-weight: 700;
  text-align: center;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tier-card {
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #008c11;
  overflow: hidden;
  background: #fff;
}

.tier-card figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.tier-card figure span {
  align-self: flex-start;
  margin-left: 24px;
  padding: 8px 28px;
  border-radius: 0 0 6px 6px;
  background: #008c11;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.tier-card img {
  width: 100%;
}

.tier-card div {
  padding: 34px 24px 34px 32px;
}

.tier-card h4 {
  margin: 0 0 14px;
  font-family: "OutfitUi01Bold", "Outfit", Arial, sans-serif;
  color: #008c11;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  text-align: center;
}

.tier-card p {
  margin: 0 auto;
  font-size: 16px;
  line-height: 24px;
  text-transform: capitalize;
  max-width: 470px;
  text-rendering: geometricPrecision;
}

/* 客户批次 E：卡片文字相对图片水平居中（覆盖 prose.css 的 justify） */
.capabilities-page .tier-card p {
  text-align: center;
}

.closing-section {
  padding: 117px 0 120px;
  color: #fff;
  background: url("/wp-content/uploads/2026/07//ftp14.png") center / cover no-repeat #153e46;
}

.closing-copy {
  max-width: 1250px;
  text-align: center;
}

.closing-copy h2 {
  margin: 0 0 44px;
  padding-left: 18px;
  font-family: "Outfit", Arial, sans-serif;
  font-size: 32px;
  line-height: 48px;
  font-weight: 700;
}

.closing-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
  text-transform: capitalize;
  text-align: center;
}

.closing-copy p + p {
  margin-top: 21px;
}

.shared-video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.shared-video-modal.is-open {
  display: flex;
}

.shared-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.shared-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  background: #000;
}

.shared-video-modal__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.shared-video-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 24px;
  line-height: 1;
}

.video-modal-open,
.video-modal-open body {
  overflow: hidden;
}

@media (max-width: 1760px) {
  .compliance-section .cap-container,
  .trace-intro-section .cap-container,
  .trace-accordion-section .cap-container {
    width: calc(100% - 96px);
  }

  .compliance-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 36px;
  }

  .cert-grid {
    gap: 20px;
    min-width: 0;
  }

  .cert-grid figure,
  .cert-grid img {
    min-width: 0;
  }

  .carousel-shell {
    padding: 0 76px;
  }

  .qc-stack-card-prev {
    left: 0;
  }

  .qc-stack-card-next {
    right: 0;
  }
}



@media (max-width: 1280px) {
  .cap-container,
  .compliance-section .cap-container,
  .trace-intro-section .cap-container,
  .trace-accordion-section .cap-container {
    width: min(100% - 40px, 1640px);
  }

  .orbitron-title,
  .intro-layout h1,
  .quality-title-line {
    font-size: 40px;
  }

  .qc-card {
    display: grid;
    grid-template-columns: 1fr 34%;
    gap: 28px;
    height: auto;
    min-height: 430px;
    padding: 30px;
    overflow: hidden;
  }

  .track-block:not(.track-block-pcba) .qc-card {
    padding-left: 30px;
  }

  .qc-card img {
    position: static;
    width: 100%;
    height: auto;
    max-width: none;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    align-self: start;
    justify-self: end;
  }

  .qc-tabs {
    margin-bottom: 42px;
  }

  .qc-copy ul {
    max-width: none;
  }

  .trace-body-grid,
  .shipping-intro,
  .trace-intro-layout,
  .compliance-layout {
    gap: 44px;
  }

  .compliance-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  }

  .cert-grid {
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .cap-container,
  .compliance-section .cap-container,
  .trace-intro-section .cap-container,
  .trace-accordion-section .cap-container {
    width: min(100% - 40px, 1640px);
  }

  .intro-section,
  .testing-section,
  .packaging-section {
    padding: 72px 0;
  }

  .qc-section {
    padding: 68px 0;
  }

  .trace-intro-section,
  .trace-accordion-section {
    padding: 60px 0;
  }

  .orbitron-title,
  .intro-layout h1,
  .quality-title-line {
    font-size: 34px;
  }

  .section-kicker,
  .trace-accordion-section h2,
  .shipping-intro h3,
  .matrix-title {
    font-size: 28px;
  }

  .carousel-shell {
    padding: 0 20px;
  }

  .qc-card,
  .trace-body-grid,
  .shipping-intro,
  .trace-intro-layout,
  .compliance-layout {
    grid-template-columns: 1fr;
  }

  .qc-card {
    min-height: 0;
    gap: 26px;
    padding: 20px;
  }

  .track-block:not(.track-block-pcba) .qc-card {
    padding-left: 20px;
  }

  .qc-card img {
    order: -1;
    justify-self: stretch;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .qc-stack-card {
    display: none;
  }

  .qc-actions {
    /* 与桌面一致：按钮约一半在卡片内、一半在卡片外（-54px 会把整颗按钮拉进卡片）。 */
    margin-top: -26px;
    margin-left: 20px;
    justify-content: flex-start;
  }

  .qc-tabs {
    margin-bottom: 32px;
  }

  /* 移动端文案左对齐，贴齐卡片左内边距；取消桌面 Track1 的 100px 左缩进。 */
  .qc-copy {
    align-items: stretch;
    text-align: left;
  }

  .qc-tabs {
    justify-content: flex-start;
    width: 100%;
  }

  .qc-tabs strong {
    text-align: left;
  }

  .capabilities-page .qc-card .qc-copy h4,
  .capabilities-page .qc-card .qc-copy p,
  .capabilities-page .qc-card .qc-copy p > strong:first-child,
  .capabilities-page .qc-card .qc-copy ul,
  .qc-copy h4,
  .track-block:not(.track-block-pcba) .qc-copy h4,
  .qc-copy p,
  .track-block:not(.track-block-pcba) .qc-copy p,
  .track-block-pcba .qc-copy > h4,
  .track-block-pcba .qc-copy > p {
    margin-left: 0;
    text-align: left;
    text-align-last: left;
  }

  .capabilities-page .qc-card .qc-copy p > strong:first-child,
  .qc-copy p > strong:first-child {
    text-align: left;
    text-align-last: left;
  }

  .capabilities-page .qc-card .qc-copy ul,
  .qc-copy ul,
  .track-block:not(.track-block-pcba) .qc-copy ul {
    margin-left: 0;
    text-align: left;
  }

  /* 引号备注区与正文同侧左对齐贴边，避免居中与正文错位。 */
  .capabilities-page .qc-card .qc-copy .qc-note,
  .qc-copy .qc-note,
  .capabilities-page .qc-card .qc-note {
    margin: 24px 0 0;
    margin-left: 0;
    width: 100%;
    text-align: left;
  }

  .capabilities-page .qc-card .qc-note span,
  .qc-note span,
  .capabilities-page .qc-card .qc-note strong,
  .qc-note strong,
  .capabilities-page .qc-card .qc-note p,
  .qc-note p {
    text-align: left !important;
    text-align-last: left !important;
  }

  .cert-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    gap: 28px;
  }

  .cert-grid figure {
    max-width: 320px;
    margin: 0 auto;
    padding: 16px 14px;
  }

  .testing-table {
    min-width: 900px;
  }

  .testing-col-item {
    width: 24%;
  }

  .testing-col-method {
    width: 32%;
  }

  .testing-col-solution {
    width: 44%;
  }

  .testing-table th,
  .testing-table td {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .testing-table tbody th {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .testing-table-wrap {
    padding-bottom: 8px;
  }

  .trace-accordion {
    width: 100%;
    max-width: none;
  }

  .trace-intro-layout .orbitron-title,
  .compliance-copy .orbitron-title {
    text-align: center;
  }

  .trace-copy,
  .compliance-copy {
    text-align: center;
  }

  .compliance-copy p,
  .shipping-intro > div p {
    max-width: none;
  }

  /* 折叠标题：阶段独占首行，标题与加减按钮同处次行，避免窄屏三列挤压重叠。 */
  .trace-panel-head {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    padding: 20px;
    align-items: start;
  }

  .trace-panel.is-active .trace-panel-head {
    gap: 12px 16px;
  }

  .trace-panel-head span {
    grid-column: 1 / -1;
    line-height: 1.35;
  }

  .trace-panel-head strong {
    min-width: 0;
    line-height: 1.35;
    padding-right: 4px;
  }

  .trace-panel-head i {
    flex-shrink: 0;
    justify-self: end;
    align-self: start;
    margin-top: 2px;
  }

  .trace-panel-body {
    padding: 30px 20px;
  }

  .trace-note {
    padding: 36px 20px 28px;
  }

  .shipping-note {
    padding-right: 20px;
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .orbitron-title,
  .intro-layout h1,
  .quality-title-line,
  .testing-section .orbitron-title,
  .trace-intro-layout .orbitron-title,
  .compliance-copy .orbitron-title {
    font-size: 20px;
    line-height: 26px;
  }

  .quality-title-line {
    padding-right: 0;
  }

  .section-kicker,
  .track-label {
    font-size: 15px;
    line-height: 1.3;
  }

  .testing-section .testing-subtitle {
    font-size: 15px;
    line-height: 1.45;
    margin: -22px auto 28px;
  }

  .track-block h3,
  .intro-summary .intro-lead,
  .shipping-intro h3,
  .matrix-title,
  .closing-copy h2,
  .qc-copy h4,
  .trace-copy h3,
  .trace-body-copy h3,
  .shipping-note h3,
  .tier-card h4 {
    font-size: 18px;
    line-height: 1.35;
  }

  .testing-table {
    min-width: 860px;
  }

  .testing-table th,
  .testing-table td {
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
  }
}

@media (max-width: 640px) {
  .cap-container,
  .compliance-section .cap-container,
  .trace-intro-section .cap-container,
  .trace-accordion-section .cap-container {
    width: min(100% - 32px, 1640px);
  }

  .orbitron-title,
  .intro-layout h1,
  .quality-title-line {
    font-size: 20px;
    line-height: 26px;
  }

  .intro-layout h1 {
    margin: 24px auto 34px;
  }

  .section-kicker {
    font-size: 15px;
  }

  .intro-summary {
    margin-top: 46px;
    padding-right: 0;
  }

  .intro-summary .intro-lead {
    font-size: 18px;
    line-height: 1.35;
  }

  .track-block h3,
  .shipping-intro h3,
  .matrix-title,
  .closing-copy h2 {
    font-size: 18px;
    line-height: 1.35;
  }

  .carousel-shell {
    padding: 0;
  }

  .qc-card {
    padding: 20px;
    border-radius: 8px;
    gap: 20px;
  }

  .qc-card img {
    border-radius: 8px;
  }

  .qc-tabs {
    gap: 16px;
    margin-bottom: 28px;
    font-size: 18px;
  }

  .qc-tabs strong {
    flex-basis: 36px;
    width: 36px;
    font-size: 32px;
  }

  .track-block-pcba .qc-tabs strong {
    text-indent: 0;
  }

  .qc-tabs span {
    padding-top: 8px;
  }

  .qc-tabs span:not(:last-child)::after {
    width: 18px;
    margin-left: 10px;
  }

  .qc-actions {
    /* 对齐 .qc-card padding-left=20；垂直上提半颗按钮贴卡片底边。 */
    margin-top: -26px;
    margin-left: 20px;
    justify-content: flex-start;
  }

  .testing-table th,
  .testing-table td {
    padding: 14px;
    font-size: 14px;
  }

  .trace-panel-head {
    padding: 18px;
  }

  .trace-panel-body {
    padding: 24px 18px;
  }

  .trace-body-grid {
    gap: 24px;
  }

  .trace-body-copy p,
  .trace-note p,
  .shipping-intro p,
  .closing-copy p {
    font-size: 16px;
    line-height: 26px;
  }

  .tier-card div {
    padding: 26px 22px;
  }

  .shipping-note {
    padding: 38px 20px 28px;
  }

  .shipping-note span {
    left: 22px;
    font-size: 84px;
    line-height: 84px;
  }

  .closing-copy h2 {
    margin-bottom: 28px;
    padding-left: 0;
  }
}

@media (max-width: 480px) {
  .cap-container,
  .compliance-section .cap-container,
  .trace-intro-section .cap-container,
  .trace-accordion-section .cap-container {
    width: min(100% - 28px, 1640px);
  }

  .intro-section,
  .testing-section,
  .packaging-section,
  .qc-section,
  .trace-intro-section,
  .trace-accordion-section {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .orbitron-title,
  .intro-layout h1,
  .quality-title-line,
  .trace-intro-layout .orbitron-title {
    font-size: 20px;
    line-height: 26px;
  }

  .track-label {
    font-size: 14px;
  }

  .track-block h3,
  .shipping-intro h3,
  .matrix-title,
  .closing-copy h2 {
    font-size: 18px;
  }

  .track-block + .track-block {
    margin-top: 54px;
  }

  .qc-card {
    padding: 18px;
  }

  .qc-tabs {
    gap: 12px;
    font-size: 16px;
  }

  .qc-tabs strong {
    flex-basis: 26px;
    width: 26px;
    font-size: 28px;
  }

  .qc-tabs span:not(:last-child)::after {
    width: 14px;
    margin-left: 8px;
  }

  .qc-copy h4 {
    font-size: 18px;
  }

  .qc-copy li,
  .qc-copy p,
  .tier-card p,
  .trace-copy p,
  .compliance-copy p,
  .intro-summary p {
    font-size: 14px;
    line-height: 1.58;
  }

  .intro-summary > p + p {
    margin-top: 12px;
  }

  .qc-note span {
    font-size: 58px;
  }

  .qc-actions a {
    padding: 12px;
  }

  .qc-actions {
    margin-top: -22px;
    margin-left: 20px;
  }

  .testing-table {
    min-width: 820px;
  }

  .testing-col-item {
    width: 28%;
  }

  .testing-col-method {
    width: 31%;
  }

  .testing-col-solution {
    width: 41%;
  }

  .trace-panel-head {
    gap: 10px;
  }

  .trace-panel-head strong {
    font-size: 18px;
    line-height: 28px;
  }

  .trace-panel-head span {
    font-size: 16px;
    line-height: 24px;
  }

  .outline-action {
    gap: 12px;
    padding: 8px 10px 8px 16px;
  }
}

@media (max-width: 380px) {
  .orbitron-title,
  .intro-layout h1,
  .quality-title-line,
  .trace-intro-layout .orbitron-title {
    font-size: 20px;
    line-height: 26px;
  }

  .qc-tabs {
    gap: 10px;
  }

  .qc-tabs span:not(:last-child)::after {
    display: none;
  }

  .qc-copy li,
  .qc-copy p,
  .tier-card p,
  .trace-copy p,
  .compliance-copy p,
  .intro-summary p {
    font-size: 14px;
    line-height: 22px;
  }

  .tier-card h4 {
    font-size: 18px;
    line-height: 1.35;
  }
}

@media (max-width: 390px) {
  .cap-container,
  .compliance-section .cap-container,
  .trace-intro-section .cap-container,
  .trace-accordion-section .cap-container {
    width: min(100% - 24px, 1640px);
  }
}
