/* ============================================================
   DINGHONG SHUKONG — 首页样式（第 1 阶段：页头 + banner 轮播）
   设计基准宽度 1920px，用 vw + clamp 等比缩放
   字体：设计稿为 Helvetica / Arial 风格，使用系统字体栈，不额外加载字体文件
   ============================================================ */

:root {
  --red: #fe0000;
  --red-dark: #d40000;
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --grey-line: #e6e6e6;
  --header-h: clamp(72px, 6.15vw, 118px);
  --pad-left: clamp(16px, 1.72vw, 33px);
  --pad-right: clamp(16px, 7.3vw, 140px);
  --font: "Helvetica Neue", Helvetica, Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

/* Homepage factory photos and buyer questions */
.dh-factory-guide {
  padding: clamp(40px, 5vw, 76px) max(20px, 5vw);
  background: #f5f5f3;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.dh-factory-inner { max-width: 1180px; margin-inline: auto; }
.dh-factory-heading { max-width: 840px; margin-bottom: clamp(24px, 3vw, 40px); }
.dh-factory-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(29px, 3.4vw, 50px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.dh-factory-heading p, .dh-factory-grid p {
  margin: 0;
  color: #404247;
  font-size: 16px;
  line-height: 1.6;
}
.dh-factory-heading p { max-width: 68ch; }
.dh-factory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 52px) clamp(22px, 3vw, 40px);
}
.dh-guide-term { text-decoration: underline; text-underline-offset: .15em; }
.dh-guide-term:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.dh-factory-grid article { min-width: 0; }
.dh-factory-grid img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.dh-factory-grid h3 {
  margin: 18px 0 8px;
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.2;
  letter-spacing: -.018em;
}
.dh-factory-action, .dh-factory-tour {
  display: inline-flex;
  gap: .6em;
  align-items: center;
  min-height: 44px;
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.dh-factory-action { margin-top: 6px; padding: 0; background: transparent; border: 0; color: #9e171a; }
.dh-factory-action:hover, .dh-factory-tour:hover { text-decoration: underline; }
.dh-factory-action:focus-visible, .dh-factory-tour:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.dh-factory-tour { margin-top: clamp(24px, 4vw, 46px); padding: 10px 18px; color: #fff; background: #1b2227; }
@media (max-width: 700px) {
  .dh-factory-grid { grid-template-columns: minmax(0, 1fr); }
  .dh-factory-grid h3 { margin-top: 14px; }
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

/* ---------------- 页头 ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-stuck {
  border-bottom-color: var(--grey-line);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-left: var(--pad-left);
  padding-right: var(--pad-right);
}

.logo { flex: 0 0 auto; display: block; }
.logo img {
  height: clamp(44px, 3.54vw, 68px);
  width: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  column-gap: clamp(18px, 4.27vw, 82px);
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: clamp(15px, 1.4vw, 27px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  white-space: nowrap;
  transition: color .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}

.main-nav a:hover { color: var(--red); }
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}

/* ---------------- Banner 轮播 ---------------- */

.hero {
  position: relative;
  width: 100%;
  height: clamp(420px, 50.1vw, 962px);
  overflow: hidden;
  background: #101010;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  will-change: opacity;
}

.hero-slide.is-active { opacity: 1; z-index: 2; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* 窄屏专用裁图（去掉右侧红框），宽屏时隐藏 */
.hero-slide .img-narrow { display: none; }

/* “What we can do” 面板：真正的网页文字（矢量清晰），按设计稿坐标压在 banner 右下 */
.hero-wrap { position: relative; }

.hero-panel {
  position: absolute;
  left: 65.78%;
  top: 64.34%;
  z-index: 3;
  box-sizing: border-box;
  width: 26.04%;
  height: 31.08%;
  padding: 1.2vw 0.65vw 0 2.45vw;
  background: var(--red);
  color: #fff;
  opacity: 1;
  transition: opacity .5s ease;
}

/* 切到第 2~4 张（纯照片）时把面板淡出 */
.hero-panel.is-off { opacity: 0; pointer-events: none; }

.hero-panel h3 {
  position: relative;
  margin: 0;
  padding-bottom: 0.73vw;
  font-size: 1.15vw;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
}

/* 设计稿里分割线只占内容宽度的 79%，右边留白 */
.hero-panel h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 20.6vw;
  height: 1px;
  background: rgba(255, 255, 255, .62);
}

.hero-panel ul {
  margin: 1.2vw 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  align-items: center;
  gap: 0.94vw;
  padding: .55vw 0;
  font-size: .93vw;
  font-weight: 500;
  line-height: 1.25;
}

.hero-panel li img {
  width: auto;
  height: 1.35vw;
  flex: 0 0 auto;
}

/* 左右箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: clamp(38px, 2.6vw, 50px);
  height: clamp(38px, 2.6vw, 50px);
  margin-top: calc(clamp(38px, 2.6vw, 50px) / -2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .28);
  color: #fff;
  cursor: pointer;
  opacity: .55;
  transition: opacity .25s ease, background .25s ease;
}

.hero-arrow:hover { opacity: 1; background: var(--red); }
.hero-arrow.prev { left: clamp(10px, 1.2vw, 24px); }
.hero-arrow.next { right: clamp(10px, 1.2vw, 24px); }

.hero-arrow svg { width: 45%; height: 45%; }

/* 圆点 */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 1.6vw, 26px);
  z-index: 5;
  display: flex;
  gap: 11px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
  transform: translateX(-50%);
}

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}

.hero-dots button.is-active {
  background: var(--red);
  transform: scale(1.2);
}

.hero-dots button:hover { background: #fff; }

/* ---------------- 页脚（临时占位） ---------------- */

.site-footer {
  padding: 26px var(--pad-left);
  background: #1a1a1a;
  color: #b9b9b9;
  font-size: 13px;
  text-align: center;
}

.site-footer p { margin: 0; }

/* ---------------- 内页通用容器（分页阶段继续细化） ---------------- */

.content-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 64px) var(--pad-left);
}

.entry-title {
  font-size: clamp(24px, 2.4vw, 40px);
  font-weight: 600;
  margin: 0 0 18px;
}

.entry-content { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1100px) {
  :root { --pad-right: 20px; }

  .nav-toggle { display: block; }

  /* banner：窄屏换成不带红框的裁图，红框改成下方文字块，避免内容被裁切 */
  .hero { height: clamp(320px, 68vw, 620px); }
  .hero-slide .img-narrow { display: block; }
  .hero-slide.has-narrow .img-wide { display: none; }

  .hero-panel {
    position: static;
    width: auto;
    height: auto;
    padding: 20px 20px 26px;
    background: var(--red);
    color: #fff;
  }

  /* 窄屏面板是图片下方独立内容块，不随轮播淡出 */
  .hero-panel.is-off { opacity: 1; pointer-events: auto; }

  .hero-panel h3 { font-size: 17px; padding-bottom: 12px; }
  .hero-panel ul { margin: 14px 0 0; }
  .hero-panel li { gap: 10px; padding: 7px 0; font-size: 15px; }
  .hero-panel li img { width: 24px; height: 24px; flex: 0 0 24px; }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 1px solid var(--grey-line);
    transition: max-height .3s ease;
  }

  .main-nav.is-open { max-height: 70vh; overflow-y: auto; }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0;
    padding: 8px 20px 20px;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid #f0f0f0;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .hero-panel { padding: 24px 28px 28px; }
  .hero-panel h3 { font-size: 18px; }
  .hero-panel li { font-size: 14px; }
}

@media (max-width: 640px) {
  .hero { height: clamp(300px, 72vw, 440px); }
  .hero-arrow { display: none; }
  .hero-dots { gap: 8px; }
  .hero-dots button { width: 8px; height: 8px; }
  .hero-panel { padding: 18px 16px 22px; }
  .hero-panel h3 { font-size: 15px; }
  .hero-panel li { font-size: 13px; }
  .hero-panel li img { width: 22px; height: 22px; flex: 0 0 22px; }
}

/* ============================================================
   核心优势（Core technology）三页签
   设计稿：1920×960，左侧栏目 x78、内容四列 471/828/1185/1542，卡片 308×607
   ============================================================ */

.advantages {
  --blue: #063a9b;
  background: #f8f8f8;
  padding: clamp(40px, 5.7vw, 110px) 0 clamp(44px, 6.8vw, 130px);
}

.adv-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4.06vw, 78px);
  display: grid;
  grid-template-columns: minmax(200px, 17.6vw) minmax(0, 1fr);
  column-gap: clamp(24px, 3.18vw, 61px);
  align-items: start;
}

/* --- 左侧栏目 --- */

.adv-rail {
  display: flex;
  flex-direction: column;
  min-height: clamp(420px, 31.7vw, 608px);
}

.adv-rule {
  position: relative;
  display: block;
  height: 1px;
  background: #b9bcbf;
}

.adv-rule::after {
  content: "";
  position: absolute;
  left: clamp(30px, 5.1vw, 98px);
  top: -3px;
  width: clamp(50px, 6.05vw, 116px);
  height: clamp(4px, .42vw, 8px);
  background: #2b2b2b;
}

.adv-title {
  margin: clamp(18px, 1.9vw, 36px) 0 0;
  font-size: clamp(24px, 2.29vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.adv-tabs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 3.3vw, 63px);
  margin-top: clamp(28px, 3.4vw, 65px);
}

.adv-tab {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: clamp(17px, 1.82vw, 35px);
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color .2s ease;
}

.adv-tab:hover { color: #000; }

.adv-tab.is-active { font-weight: 700; }

.adv-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: clamp(-14px, -.72vw, -8px);
  width: clamp(50px, 5.2vw, 100px);
  height: clamp(4px, .42vw, 8px);
  background: var(--blue);
  transform: translateX(-50%);
}

.adv-more {
  align-self: flex-start;
  margin-top: auto;
  padding: clamp(10px, .78vw, 15px) clamp(20px, 1.56vw, 30px);
  background: #6d6d6d;
  color: #fff;
  font-size: clamp(15px, 1.35vw, 26px);
  line-height: 1.2;
  transition: background .2s ease;
}

.adv-more:hover { background: #565656; }

/* --- 右侧内容 --- */

.adv-pane { display: none; }

.adv-pane.is-active {
  display: block;
  animation: advFade .35s ease both;
}

@keyframes advFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* 页签一：四张技术卡片 */

.adv-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 50px);
}

.adv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(28px, 4.01vw, 77px) clamp(6px, .62vw, 12px) clamp(24px, 4.27vw, 82px);
  min-height: clamp(360px, 31.6vw, 607px);
  background: #fff;
  text-align: center;
  box-shadow: 0 .6vw 1.5vw rgba(20, 30, 60, .05);
}

.adv-card-icon {
  width: auto;
  height: clamp(58px, 5.83vw, 112px);
}

.adv-card-title {
  margin: clamp(14px, 1.93vw, 37px) 0 0;
  font-size: clamp(17px, 1.35vw, 26px);
  font-weight: 700;
  line-height: 1.28;
}

.adv-card-body {
  margin: clamp(12px, 1.72vw, 33px) 0 0;
  max-width: 23em;
  color: #111;
  font-size: clamp(15px, 1.15vw, 22px);
  line-height: 1.36;
}

.adv-dots {
  display: flex;
  gap: clamp(4px, .31vw, 6px);
  margin-top: auto;
  padding-top: clamp(16px, 2vw, 38px);
}

.adv-dots i {
  display: block;
  width: clamp(9px, .73vw, 14px);
  height: clamp(7px, .52vw, 10px);
  background: var(--blue);
}

/* 页签二：材料图块 */

.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 50px);
}

.adv-tile {
  margin: 0;
  background: #fff;
}

.adv-tile img {
  width: 100%;
  height: clamp(130px, 13.18vw, 253px);
  object-fit: cover;
}

.adv-tile figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(40px, 2.76vw, 53px);
  padding: clamp(4px, .4vw, 8px) 6px;
  font-size: clamp(14px, 1.46vw, 28px);
  line-height: 1.2;
  color: #111;
  text-align: center;
}

/* 页签三：客户照片 */

.adv-grid-photos {
  column-gap: clamp(10px, 1.35vw, 26px);
  row-gap: clamp(8px, 1.25vw, 24px);
}

.adv-grid-photos img {
  width: 100%;
  height: clamp(150px, 15.83vw, 304px);
  object-fit: cover;
}

/* --- 平板 --- */

@media (max-width: 1100px) {
  .adv-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 26px;
    padding: 0 20px;
  }

  .adv-rail { min-height: 0; }

  .adv-rule::after { left: 40px; width: 80px; height: 4px; top: -2px; }

  .adv-title { margin-top: 16px; font-size: 26px; }

  .adv-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-top: 22px;
  }

  .adv-tab { font-size: 18px; }

  .adv-tab.is-active::after { bottom: -7px; width: 44px; height: 3px; }

  .adv-more { margin-top: 24px; padding: 11px 22px; font-size: 16px; }

  .adv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

  .adv-card { min-height: 0; padding: 26px 16px 22px; }

  .adv-card-icon { height: 64px; }

  .adv-card-title { margin-top: 16px; font-size: 17px; }

  .adv-card-body { margin-top: 14px; font-size: 14px; }

  .adv-dots { padding-top: 22px; }

  .adv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .adv-tile img { height: 165px; }

  .adv-tile figcaption { height: 40px; font-size: 16px; }

  .adv-grid-photos img { height: 190px; }
}

@media (max-width: 640px) {
  .adv-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

  .adv-card { padding: 16px 9px 14px; }

  .adv-card-icon { height: 38px; }

  .adv-card-title { margin-top: 10px; font-size: 13px; }

  .adv-card-body { margin-top: 8px; font-size: 11.5px; line-height: 1.42; }

  .adv-dots { padding-top: 12px; gap: 3px; }

  .adv-dots i { width: 6px; height: 4px; }

  .adv-grid { gap: 12px; }

  .adv-tile img { height: 118px; }

  .adv-tile figcaption { height: 36px; font-size: 13.5px; }

  .adv-grid-photos img { height: 118px; }

  .adv-tab { font-size: 16px; }

  .adv-title { font-size: 23px; }
}

/* ============================================================
   工厂介绍页 /factory-introduction/
   设计稿「工厂介绍.jpg」1920×7975；顶部文案为真实文字，其余为切图
   ============================================================ */

.fx-page {
  background: #eff1fe;
}

.fx-page img,
.fx-hero-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- 主视觉 ---------- */

/* 桌面端：直接用设计稿原图（含图内文案），HTML 文案仅手机端显示 */


.fx-hero {
  position: relative;
  aspect-ratio: 1920 / 1128;
  overflow: hidden;
  background: #5aa2e6;
}

.fx-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-hero-copy {
  position: absolute;
  inset: 0;
  display: none;
}

.fx-badge {
  position: absolute;
  left: 5.885%;
  top: 20.12%;
  height: 10.11%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 2.1vw;
  border-radius: 999px;
  background: #fff;
  color: #002783;
  font-size: 2.95vw;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1;
  white-space: nowrap;
}

.fx-hero-title {
  position: absolute;
  left: 3.85%;
  top: 36.61%;
  width: 66%;
  margin: 0;
  color: #fff;
  font-size: 5vw;
  font-weight: 700;
  line-height: 1.645;
  letter-spacing: -.012em;
  text-shadow: 0 2px 16px rgba(0, 50, 120, .18);
}

.fx-hero-title span { display: block; }

.fx-products {
  position: absolute;
  left: 4.06%;
  top: 81.12%;
  width: 93.13%;
  height: 7.45%;
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.fx-products-label {
  flex: 0 0 17.29vw;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0050bf;
  color: #fff;
  font-size: 1.85vw;
  font-weight: 700;
  white-space: nowrap;
}

.fx-products-text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0 1.1vw 0 1.2vw;
  color: #111;
  font-size: 1.66vw;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
}

/* ---------- 数据面板 / 地址 ---------- */

/* ---------- 数据面板（真实文字排版，桌面 / 手机同一套数据） ---------- */

.fx-stats {
  position: relative;
  padding: 3.4vw 5vw 3.8vw;
  overflow: hidden;
  background: #0a2f7d;
}

.fx-stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: saturate(.9);
}

.fx-stats::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(130% 105% at 12% 0%, rgba(12, 86, 204, .90) 0%, rgba(7, 54, 148, .86) 55%, rgba(4, 26, 82, .82) 100%);
}

.fx-stats-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2vw 1.2vw;
}

.fx-stat { padding-left: 1.2vw; }

.fx-stat:nth-child(1),
.fx-stat:nth-child(2),
.fx-stat:nth-child(3) { grid-column: span 2; }

.fx-stat:nth-child(4),
.fx-stat:nth-child(5) { grid-column: span 3; }

.fx-stat:nth-child(2),
.fx-stat:nth-child(3),
.fx-stat:nth-child(5) { border-left: 1px solid rgba(255, 255, 255, .22); }

.fx-stat b {
  display: flex;
  align-items: baseline;
  gap: .55vw;
  color: #fff;
  font-size: 4.15vw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  text-shadow: 0 2px 14px rgba(0, 12, 40, .45);
}

.fx-stat i {
  font-style: normal;
  font-size: 1.05vw;
  font-weight: 600;
  color: rgba(255, 255, 255, .8);
}

.fx-stat span {
  display: block;
  margin-top: .7vw;
  color: rgba(255, 255, 255, .82);
  font-size: 1.02vw;
  line-height: 1.5;
}

.fx-address {
  padding: 2.28vw 0 1.05vw 6.3vw;
  background: #eff1fe;
}

.fx-address-label {
  margin: 0 0 .55vw;
  color: #000;
  font-size: 2.05vw;
  font-weight: 700;
  line-height: 1.2;
}

.fx-address-line {
  margin: 0;
  color: #000;
  font-size: 1.86vw;
  line-height: 1.35;
}

/* ---------- 厂区照片 ---------- */

.fx-gallery {
  padding: 0 2.5vw 0 2.92vw;
  background: #eff1fe;
}

.fx-row { margin-bottom: 1.09vw; }

.fx-row-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.46vw;
  align-items: start;
}

.fx-row-media img { width: 100%; }

.fx-caption {
  margin: 1.82vw 0 0 .3vw;
  color: #000;
  font-size: 3.33vw;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.005em;
}

/* ---------- 资质带 / 证书墙 ---------- */

.fx-qualify img,
.fx-certs img { width: 100%; }

/* ---------- 响应式 ---------- */

@media (max-width: 900px) {
  .fx-hero { aspect-ratio: auto; overflow: visible; background: #eff1fe; }
  /* 手机端：去掉天空+奖牌大图，文字直接接在页头下 */
  .fx-hero-img { display: none !important; }

  .fx-hero-copy {
    display: block;
    position: static;
    inset: auto;
    padding: 9vw 5vw 9vw;
    background: #eff1fe;
  }

  .fx-badge {
    position: static;
    height: auto;
    padding: 2.4vw 5vw;
    font-size: 4.2vw;
    border-radius: 999px;
    border: 1px solid rgba(0, 39, 131, .22);
    box-shadow: 0 2px 10px rgba(0, 39, 131, .08);
  }

  .fx-hero-title {
    position: static;
    width: auto;
    margin: 4vw 0 0;
    font-size: 8vw;
    line-height: 1.3;
    color: #0b3f95;
    text-shadow: none;
  }

  .fx-products {
    position: static;
    width: auto;
    height: auto;
    margin-top: 5vw;
    display: block;
    border-radius: 18px;
    padding: 3.2vw 4vw 4vw;
  }

  .fx-products-label {
    display: inline-flex;
    padding: 2vw 4.5vw;
    font-size: 4vw;
    border-radius: 999px;
  }

  .fx-products-text {
    display: block;
    padding: 3vw 0 0;
    font-size: 3.9vw;
    line-height: 1.5;
    white-space: normal;
  }

  .fx-address { padding: 6vw 5vw 5vw; }
  .fx-address-label { margin-bottom: 2vw; font-size: 4.4vw; }
  .fx-address-line { font-size: 4vw; line-height: 1.5; }

  .fx-gallery { padding: 0 5vw; }
  .fx-row { margin-bottom: 5vw; }
  .fx-row-media { grid-template-columns: 1fr; gap: 3vw; }
  .fx-caption { margin: 3.2vw 0 0; font-size: 5.2vw; line-height: 1.25; }
}
/* 数据面板窄屏：两列 + 末项通栏，数字重新放大，不再整体缩放成图 */
@media (max-width: 900px) {
  .fx-stats { padding: 8vw 5vw 9vw; }

  .fx-stats-inner { grid-template-columns: 1fr 1fr; gap: 6.5vw 4vw; }

  .fx-stats-inner .fx-stat { grid-column: auto; padding-left: 0; border-left: 0; }

  .fx-stats-inner .fx-stat:nth-child(5) { grid-column: span 2; }

  .fx-stat b { font-size: 10vw; gap: 1.6vw; flex-wrap: wrap; }

  .fx-stat i { font-size: 3.4vw; }

  .fx-stat span { margin-top: 1.8vw; font-size: 3.5vw; line-height: 1.45; }
}

/* ============================================================
   公司简介页 /company-profile/ —— 按设计稿 公司简介2/3/4/5 重建
   ============================================================ */

.cp-page { background: #fff; }

/* 桌面：首屏直接用设计稿「公司简介2」原图；手机改用下方 .cpi 文字版 */
.cp-hero { display: block; line-height: 0; }
.cp-hero img { display: block; width: 100%; height: auto; }

/* ---------- Understanding Dinghong ---------- */

.cpi {
  display: none;
  position: relative;
  overflow: hidden;
  background: #0a2a63;
}

.cpi-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: .34;
  filter: saturate(.82) brightness(.86);
}

.cpi::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(102deg, rgba(5, 22, 60, .95) 0%, rgba(8, 38, 100, .90) 46%, rgba(10, 50, 132, .82) 100%);
}

.cpi-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 37% 1fr;
  gap: 1.6vw;
  padding: 4.4vw 3.6vw 4.6vw 3.95vw;
}

.cpi-left { display: flex; flex-direction: column; }

.cpi-title {
  margin: 0;
  color: #fff;
  font-size: 2.5vw;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .006em;
}

.cpi-rule {
  position: relative;
  margin-top: 1.5vw;
  width: 22.8%;
  height: 2px;
  background: rgba(255, 255, 255, .52);
}

.cpi-rule::after {
  content: "";
  position: absolute;
  left: 26%;
  top: -2px;
  width: 46%;
  height: 6px;
  border-radius: 3px;
  background: #fff;
}

.cpi-pill {
  align-self: flex-start;
  margin-top: auto;
  padding: .72vw 1.9vw;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.25vw;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}

.cpi-kicker {
  margin: -0.4vw 0 2.3vw;
  color: #d9e5fb;
  font-size: 1.5vw;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.5;
}

.cpi-card {
  padding: 2.1vw 2.35vw;
  border-radius: 1vw;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(4, 20, 56, .30);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.cpi-card p {
  margin: 0;
  color: #f3f7ff;
  font-size: 1.5vw;
  font-weight: 400;
  line-height: 1.95;
}

/* ---------- 厂区照片 ---------- */

.cpgal { background: #fff; }

.cpgal-wide {
  display: block;
  width: 100%;
  height: auto;
}

.cpgal-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35vw;
  background: #fff;
}

.cpgal-pair img {
  display: block;
  width: 100%;
  height: 32vw;
  object-fit: cover;
}

/* ---------- 公司简介页 · 手机 ---------- */

@media (max-width: 900px) {
  .cp-hero { display: none; }
  .cpi { display: block; }

  .cpi-bg { opacity: .26; }

  .cpi-inner {
    grid-template-columns: 1fr;
    gap: 6vw;
    padding: 9vw 6vw 10vw;
  }

  .cpi-title { font-size: 7.6vw; }

  .cpi-rule { margin-top: 3.2vw; width: 34%; }
  .cpi-rule::after { top: -1px; height: 4px; }

  .cpi-pill {
    order: 3;
    margin-top: 2vw;
    padding: 2vw 5.2vw;
    font-size: 3.7vw;
  }

  .cpi-kicker { margin-bottom: 4.2vw; font-size: 3.9vw; letter-spacing: .03em; }

  .cpi-card { padding: 5vw 5vw 5.4vw; border-radius: 4vw; }

  .cpi-card p { font-size: 4.05vw; line-height: 1.78; }

  .cpgal-pair { grid-template-columns: 1fr; }
  .cpgal-pair img { height: auto; }
}

/* ==================== 产品中心 /product-center/ 与三条产品线子页 ==================== */

/* ---------- 落地页 ---------- */

.pc-page { padding: 4.6vw 2.7vw 6vw; background: #eee; }

.pc-head { text-align: center; }

.pc-head h1 {
  font-size: 4.6vw;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink);
}

.pc-head p {
  margin: 1.2vw auto 0;
  max-width: 62vw;
  font-size: 1.6vw;
  line-height: 1.55;
  color: #333;
}

.pc-grid {
  margin-top: 4vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.45vw;
}

.pc-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 3.2vw;
  background: #fff;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.pc-card:hover {
  transform: translateY(-.35vw);
  box-shadow: 0 1vw 2.6vw rgba(0, 0, 0, .10);
}

.pc-card img { display: block; width: 100%; height: auto; }

.pc-name {
  margin: 2.9vw 2.4vw 0 2.65vw;
  font-size: 2vw;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
}

.pc-more {
  display: flex;
  align-items: center;
  margin: 2.1vw 2.6vw 0 2.45vw;
  font-size: 1.56vw;
  color: var(--ink);
}

/* ---------- 产品线子页 ---------- */

.pl-page { background: #fff; }

.pl-hero img { display: block; width: 100%; height: auto; }

.pl-types {
  padding: 4.1vw 2.7vw 6vw;
  background: #eee;
}

.pl-h2 {
  font-size: 4.6vw;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.015em;
  text-align: center;
  color: var(--ink);
}

.pl-sub {
  margin: 1.15vw auto 0;
  max-width: 72vw;
  font-size: 2.35vw;
  line-height: 1.4;
  text-align: center;
  color: #222;
}

.pl-grid {
  margin-top: 5.6vw;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.45vw;
}

.pl-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 3.2vw;
  background: #fff;
}

.pl-card img { display: block; width: 100%; height: auto; }

.pl-name {
  margin: 3.2vw 2.4vw 0 2.65vw;
  min-height: 4.6vw;
  font-size: 1.77vw;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink);
}

.pl-rule {
  margin: 2.3vw 2.4vw 0 2.2vw;
  height: 4px;
  background: #970005;
}

.pl-more {
  display: flex;
  align-items: center;
  margin: 1.85vw 2.6vw 0 2.45vw;
  font-size: 1.56vw;
  color: var(--ink);
}

/* 长红箭头：一根细线 + 右端箭头 */
.pl-arrow {
  position: relative;
  flex: 1;
  height: 0;
  margin-left: 1.8vw;
  border-top: 2px solid #970005;
}

.pl-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -6px;
  width: 11px;
  height: 11px;
  border-top: 2px solid #970005;
  border-right: 2px solid #970005;
  transform: rotate(45deg);
}

/* ---------- 手机 ---------- */

@media (max-width: 900px) {
  .pc-page { padding: 10vw 5vw 12vw; }

  .pc-head h1 { font-size: 11vw; }

  .pc-head p { max-width: none; margin-top: 3vw; font-size: 4vw; }

  .pc-grid { margin-top: 8vw; grid-template-columns: 1fr; gap: 6vw; }

  .pc-card { padding-bottom: 7vw; }

  .pc-name { margin: 5vw 5vw 0; font-size: 5.4vw; }

  .pc-more { margin: 4vw 5vw 0; font-size: 4vw; }

  .pl-types { padding: 9vw 5vw 12vw; }

  .pl-h2 { font-size: 8vw; }

  .pl-sub { max-width: none; margin-top: 3vw; font-size: 4.1vw; }

  .pl-grid { margin-top: 9vw; grid-template-columns: 1fr 1fr; gap: 4vw; }

  .pl-card { padding-bottom: 5.5vw; }

  .pl-name { margin: 4.6vw 4vw 0; min-height: 0; font-size: 3.5vw; }

  .pl-rule { margin: 3vw 4vw 0; height: 2px; }

  .pl-more { margin: 2.6vw 4.4vw 0; font-size: 3.1vw; }

  .pl-arrow { margin-left: 2.4vw; border-top-width: 1px; }

  .pl-arrow::after { top: -3px; width: 7px; height: 7px; border-width: 1px; }
}


/* ==================== 导航：Product Center 子菜单（三条产品线） ==================== */

.main-nav li.has-sub { position: relative; }

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: block;
  min-width: 22vw;
  margin: 0;
  padding: .55vw 0;
  background: #fff;
  border-top: 2px solid var(--red);
  box-shadow: 0 1.4vw 2.6vw rgba(0, 0, 0, .14);
  column-gap: 0;
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.main-nav li.has-sub:hover .sub-menu,
.main-nav li.has-sub:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.main-nav .sub-menu li {
  display: block;
  width: 100%;
}

.main-nav .sub-menu a {
  display: block;
  width: 100%;
  padding: .55vw 1.3vw;
  font-size: clamp(13px, 1.02vw, 19px);
  color: var(--ink);
  white-space: nowrap;
}

.main-nav .sub-menu a::after { display: none; }

.main-nav .sub-menu a:hover { color: var(--red); }

@media (max-width: 1100px) {
  .main-nav .sub-menu {
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 0 18px;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }

  .main-nav .sub-menu a {
    padding: 10px 0;
    font-size: 15px;
    color: var(--ink-soft);
  }
}
