@charset "UTF-8";

/* ==========================================================================
   WOMMER 首页 · 工业风
   首屏深色 banner（后台配图自动铺底）/ 深色数据条 / 三大产品线 / 深色参数对比
   ========================================================================== */

/* ---------- 首屏：深色 banner，白字内容直接放在背景上 ---------- */
.wm-hero {
  position: relative; overflow: hidden;
  color: #fff;
  background: linear-gradient(118deg, #101C29 0%, #13202F 52%, #18293B 100%);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.wm-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px),
                    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 92%);
}
/* 后台「首页顶部幻灯片」分组配图后，header.html 输出 --sx-page-banner 并加
   body.has-page-banner，首屏自动铺底图（左侧深色遮罩保证文字可读） */
body.has-page-banner .wm-hero {
  background-image: linear-gradient(90deg, rgba(4, 26, 56, .92) 0%, rgba(4, 26, 56, .80) 46%, rgba(4, 26, 56, .42) 100%), var(--sx-page-banner);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
body.has-page-banner .wm-hero::before { opacity: 0; }

/* 首屏 Banner 轮播：后台「首页顶部幻灯片」分组，≥2 张由 home.js 自动播放。
   背景层 .hp-hero-slides 置于最底，深色遮罩 .hp-hero-overlay 保证文字可读，
   内容 .wm-hero-in (z-index:3) 与指示点导航 (z-index:4) 在最上。 */
.hp-hero-slides { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hp-hero-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
  opacity: 0; transition: opacity .9s ease;
  will-change: opacity;
}
.hp-hero-slide.is-active { opacity: 1; }
.hp-hero-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(4, 26, 56, .92) 0%, rgba(4, 26, 56, .80) 46%, rgba(4, 26, 56, .42) 100%);
}
.hp-hero-nav { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 4; }
.hp-hero-nav-in { display: flex; align-items: center; gap: 16px; }
.hp-hero-dots { display: flex; align-items: center; gap: 10px; }
.hp-hero-dot {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .35); cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.hp-hero-dot:hover { background: rgba(255, 255, 255, .6); }
.hp-hero-dot.is-active { background: #fff; transform: scale(1.25); }
.hp-hero-count { margin-left: auto; font: 700 13px/1 var(--wm-mono); color: rgba(255, 255, 255, .75); letter-spacing: .1em; }
.hp-hero-count b { color: #fff; }
.wm-hero-in {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  align-items: center; gap: 48px;
  padding-block: 82px 96px;
}
.wm-hero-copy { min-width: 0; }
/* 无相册产品图时：右侧大图隐藏，文案占满整行（仅后台「首页顶部幻灯片」关联相册图为空才会命中） */
.wm-hero-in.no-visual { grid-template-columns: 1fr; }
.wm-hero-in.no-visual .wm-hero-visual { display: none; }
.wm-hero-copy h1 {
  margin-top: 20px; font-size: clamp(27px, 2.5vw, 38px); line-height: 1.3;
  font-weight: 800; letter-spacing: -.02em; color: #fff;
}
.wm-hero-copy h1 em { font-style: normal; color: #7FB2F0; }
.wm-hero-lead {
  margin-top: 20px; max-width: 640px;
  font-size: 15.5px; line-height: 1.95; color: rgba(255, 255, 255, .74);
}
.wm-hero-lead strong { color: #fff; font-weight: 700; }
.wm-hero-facts {
  display: grid; gap: 0; margin-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.wm-hero-facts li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.wm-hero-facts li:last-child { border-bottom: 0; }
.wm-hero-facts li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 1px;
  background: var(--sx-accent); transform: rotate(45deg) translateY(-2px);
}
.wm-hero-facts b { flex: none; min-width: 190px; font-size: 14px; color: #fff; font-weight: 700; }
.wm-hero-facts span { font-size: 13.5px; color: rgba(255, 255, 255, .66); }
.wm-hero .wm-btns { margin-top: 30px; }
.wm-hero-tel { margin-top: 20px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.wm-hero-tel a { color: #86B6F2; font-weight: 700; font-family: var(--wm-mono); font-size: 15px; }

.wm-hero-visual { position: relative; min-width: 0; padding: 6px 0; display: flex; justify-content: flex-end; }
.wm-hero-frame {
  position: relative; width: 100%; max-width: 400px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px;
  box-shadow: 0 26px 64px rgba(2, 10, 20, .40);
  overflow: hidden;
}
.wm-hero-frame::before {
  content: ""; position: absolute; z-index: 2; left: 0; top: 0; width: 3px; height: 54px;
  background: var(--sx-accent);
}
.wm-hero-frame img { width: 100%; height: auto; display: block; }

/* ---------- 深色数据条 ---------- */
.wm-specbar { padding: 30px 0; }
.wm-specbar .wm-kpi { padding-block: 6px; }

/* ---------- 三大产品线 ---------- */
.wm-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.wm-line {
  display: flex; flex-direction: column;
  border: 1px solid var(--sx-line); border-radius: var(--sx-r);
  background: #fff; overflow: hidden;
  transition: border-color var(--sx-tr), box-shadow var(--sx-tr), transform var(--sx-tr);
}
.wm-line:hover { border-color: #BFD4EE; box-shadow: var(--sx-shadow); transform: translateY(-3px); }
.wm-line-figure {
  position: relative; background: var(--sx-bg);
  border-bottom: 1px solid var(--sx-line);
  padding: 14px 14px 0;
}
.wm-line-figure img { width: 100%; height: auto; display: block; }
.wm-line-no {
  position: absolute; top: 14px; left: 16px; z-index: 1;
  font: 700 11px/1 var(--wm-mono); letter-spacing: .1em; color: var(--sx-muted);
}
.wm-line-load {
  position: absolute; right: 16px; bottom: 12px; z-index: 1;
  padding: 6px 12px; border-radius: 4px;
  background: var(--wm-dark); color: #fff;
  font: 800 13px/1.2 var(--wm-mono); letter-spacing: .02em;
}
.wm-line-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.wm-line-en { font: 700 10.5px/1 var(--wm-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sx-blue); }
.wm-line-body h3 { margin-top: 12px; font-size: 21px; color: var(--sx-navy); }
.wm-line-body h3 a:hover { color: var(--sx-blue); }
.wm-line-body > p { margin-top: 12px; font-size: 13.5px; line-height: 1.85; color: var(--sx-body); }
.wm-line-body .wm-tags { margin-top: 16px; }
.wm-line-specs { margin: 20px 0 0; border-top: 1px solid var(--sx-line); }
.wm-line-specs > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0; border-bottom: 1px solid #EEF2F6; font-size: 13px;
}
.wm-line-specs > div:last-child { border-bottom: 0; }
.wm-line-specs dt { color: var(--sx-muted); flex: none; }
.wm-line-specs dd { margin: 0; color: var(--sx-navy); font-weight: 600; font-family: var(--wm-mono); text-align: right; }
.wm-line-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.wm-line-btns .wm-btn { flex: 1 1 auto; min-height: 42px; padding-inline: 16px; font-size: 13px; }

/* ---------- 深色参数对比 ---------- */
.wm-compare-btns { margin-top: 28px; }
.wm-section--dark .wm-table-note { color: rgba(255, 255, 255, .45); }
.wm-compare { background: rgba(255, 255, 255, .02); }

/* ---------- 选型指引 / 定制 / 应用 ---------- */
.wm-guide-grid, .wm-custom-grid, .wm-apps-grid, .wm-news-grid { margin-top: 8px; }
.wm-guide-table { margin-top: 26px; }
.wm-sub-title {
  margin: 48px 0 26px; font-size: 21px; color: var(--sx-navy);
  padding-left: 14px; border-left: 3px solid var(--sx-accent);
}
.wm-custom-btns { margin-top: 30px; }
.wm-faq--home { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wm-faq--home .wm-faq-item { align-self: start; }
.wm-news-grid .wm-card h3 a:hover { color: var(--sx-blue); }

@media (max-width: 1300px) {
  .wm-hero-in { gap: 34px; padding-block: 68px 72px; }
  .wm-hero-facts b { min-width: 158px; }
  .wm-line-body { padding: 20px; }
}
@media (max-width: 1100px) {
  .wm-hero-in { grid-template-columns: 1fr; gap: 44px; }
  .wm-hero-visual { padding: 0; justify-content: center; max-width: 460px; margin: 0 auto; }
  .wm-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wm-faq--home { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .wm-hero-in { padding-block: 46px 52px; gap: 36px; }
  body.has-page-banner .wm-hero {
    background-image: linear-gradient(90deg, rgba(4, 26, 56, .93), rgba(4, 26, 56, .70)), var(--sx-page-banner-m);
  }
  .wm-hero-copy h1 { font-size: 28px; }
  .wm-hero-lead { font-size: 14.5px; }
  .wm-hero-facts li { flex-direction: column; gap: 2px; padding: 10px 0 10px 16px; position: relative; }
  .wm-hero-facts li::before { position: absolute; left: 0; top: 18px; }
  .wm-hero-facts b { min-width: 0; font-size: 13.5px; }
  .wm-hero-facts span { font-size: 12.5px; }
  .wm-hero .wm-btns .wm-btn { flex: 1 1 100%; }
  .wm-hero-visual { padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
  .wm-hero-frame { width: 100%; max-width: 380px; margin: 0 auto; }
  .wm-specbar { padding: 20px 0; }
  .wm-lines { grid-template-columns: 1fr; }
  .wm-line-specs > div { font-size: 12.5px; }
  .wm-sub-title { margin-top: 34px; font-size: 18px; }
  .wm-faq-item summary { padding: 15px 16px; font-size: 14px; }
}

/* ---------- 首页：公司简介 ---------- */
.hp-about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hp-about-fig img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--sx-line); }
.hp-about-copy { min-width: 0; }
.hp-about-copy .wm-h2 { margin-bottom: 16px; }
.hp-about-copy .wm-lead + .wm-lead { margin-top: 14px; }
.hp-about-points { margin-top: 26px; display: grid; gap: 0; border-top: 1px solid var(--sx-line); }
.hp-about-points li { display: flex; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--sx-line); font-size: 14px; color: var(--sx-body); }
.hp-about-points li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 1px; background: var(--sx-accent); transform: rotate(45deg); }
.hp-about-points b { color: var(--sx-navy); }
.hp-about-copy .sx-more { margin-top: 28px; }

/* ---------- 首页：资质证书 ---------- */
.hp-certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.hp-cert { margin: 0; }
.hp-cert-media {
  display: grid; place-items: center; background: #fff;
  border: 1px solid var(--sx-line); border-radius: 12px; padding: 16px;
  aspect-ratio: 4 / 5; overflow: hidden;
}
.hp-cert-media img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.hp-cert figcaption { margin-top: 12px; text-align: center; font-size: 13.5px; color: var(--sx-body); font-weight: 600; }

@media (max-width: 900px) {
  .hp-about { grid-template-columns: 1fr; gap: 28px; }
  .hp-certs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hp-certs { grid-template-columns: 1fr; }
}
