@charset "UTF-8";
/* ============================================================
   BAIXIN HOME — 内页外壳（header / footer）
   用于 faraday 迁移页，class 全部加 bx- 前缀避免冲突
   ============================================================ */

/* ---------- 字体 ---------- */
@font-face { font-family:"Poppins"; src:url("../font/Poppins-Light.ttf"); font-weight:300; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../font/Poppins-Regular.ttf"); font-weight:400; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../font/Poppins-Medium.ttf"); font-weight:500; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../font/Poppins-SemiBold.ttf"); font-weight:600; font-display:swap; }
@font-face { font-family:"Poppins"; src:url("../font/Poppins-Bold.ttf"); font-weight:700; font-display:swap; }


/* ---------- 顶部导航 ---------- */
.bx-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e4e1dc;
  font-family: "Poppins", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
.bx-nav {
  max-width: 1520px;
  margin: 0 auto;
  padding: 14px 5vw;
  display: flex;
  align-items: center;
  gap: 44px;
}
.bx-brand { display: flex; align-items: center; flex-shrink: 0; }
.bx-logo { height: 44px; width: auto; display: block; }
.bx-menu { display: flex; gap: 30px; margin-left: auto; }
.bx-menu a {
  font-size: 14px;
  font-weight: 500;
  color: #6b6864;
  text-decoration: none;
  position: relative;
  padding: 5px 0;
  transition: color .22s;
}
.bx-menu a:hover { color: #0d0d0d; }
.bx-menu a.on { color: #0d0d0d; }
.bx-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #0d0d0d;
  transition: width .3s cubic-bezier(.22,.61,.36,1);
}
.bx-menu a:hover::after,
.bx-menu a.on::after { width: 100%; }

.bx-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  background: #0d0d0d;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s;
}
.bx-btn:hover { background: #2b2b2b; }
.bx-btn::after { content: "→"; font-size: 15px; transition: transform .25s; }
.bx-btn:hover::after { transform: translateX(5px); }

/* ---------- 页脚 ---------- */
.bx-footer {
  position: relative;
  overflow: hidden;
  background: #080808;
  color: #fff;
  padding: 80px 0 34px;
  font-family: "Poppins", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
.bx-wrap { position: relative; z-index: 2; max-width: 1520px; margin: 0 auto; padding: 0 5vw; }
.bx-mark-wm {
  position: absolute;
  right: -3%;
  bottom: -8%;
  height: 340px;
  width: 323px;
  opacity: .055;
  pointer-events: none;
  fill: #fff;
  color: #fff;
}
.bx-foot-top {
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  padding-bottom: 36px;
  margin-bottom: 40px;
}
.bx-flogo { height: 54px; width: auto; display: block; }
.bx-fdesc {
  margin-top: 20px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .52);
  max-width: 460px;
  line-height: 1.6;
}
.bx-fcols {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.35fr;
  gap: 50px;
  margin-bottom: 52px;
}
.bx-fcol h4 {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin-bottom: 18px;
  font-weight: 500;
}
.bx-fcol a {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .72);
  padding: 5px 0;
  text-decoration: none;
  transition: color .2s;
}
.bx-fcol a:hover { color: #fff; }
.bx-faddr {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .45);
}
.bx-fbottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 24px;
}
.bx-fbottom p { font-size: 12.5px; color: rgba(255, 255, 255, .38); letter-spacing: .03em; }

/* ---------- 内页主体松紧 ---------- */
/* faraday 原 header 是 fixed，替换后需要让 main 不顶上 */
body { padding-top: 0 !important; }
body > main { margin-top: 0 !important; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .bx-menu { display: none; }
  .bx-nav { gap: 20px; padding: 12px 5vw; }
  .bx-nav > .bx-btn { display: none; }
  .bx-logo { height: 38px; }
  .bx-fcols { grid-template-columns: 1fr 1fr; gap: 36px; }
  .bx-mark-wm { height: 240px; width: 228px; right: -14%; }
}
@media (max-width: 600px) {
  .bx-footer { padding: 56px 0 28px; }
  .bx-fcols { grid-template-columns: 1fr; gap: 30px; }
  .bx-flogo { height: 44px; }
  .bx-mark-wm { height: 140px; width: 133px; right: -6%; bottom: -4%; }
}

/* ---------- 内页基础 ---------- */
html { overflow-x: hidden; }
body {
  overflow-x: hidden;
  font-family: "Poppins", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0d0d0d;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}
.p-title, .p-hero h1, .p-step h3, .p-card h3, .p-value h3, .p-tl h3, .p-stat .v {
  font-family: "Poppins", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ============================================================
   内页通用组件（p- 前缀）
   ============================================================ */
.p-wrap { max-width: 1520px; margin: 0 auto; padding: 0 5vw; }
.p-band { padding: 110px 0; }
.p-band-soft { background: #f6f5f3; }
.p-band-dark { background: #1a1a1a; color: #fff; }

/* --- 页面 banner --- */
.p-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; }
.p-hero-media { position: absolute; inset: 0; }
.p-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.p-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.12) 30%, rgba(0,0,0,.65) 100%);
}
.p-hero-inner { position: relative; z-index: 3; width: 100%; padding: 0 5vw 70px; color: #fff; }
.p-crumb {
  font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 22px;
}
.p-crumb a { color: inherit; text-decoration: none; }
.p-crumb span { margin: 0 10px; opacity: .5; }
.p-kicker {
  display: flex; align-items: center; gap: 0;
  font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 18px;
}
.p-hero h1 {
  font-size: clamp(38px, 6vw, 82px); font-weight: 600;
  line-height: 1.04; letter-spacing: -.026em; margin-bottom: 24px;
  font-family: "Poppins", sans-serif;
}
.p-hero h1 em { font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.p-hero .p-lead { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.86); max-width: 560px; font-weight: 300; }

/* --- 区块头 --- */
.p-head { margin-bottom: 54px; }
.p-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.p-kicker-dark {
  display: flex; align-items: center; font-size: 11.5px; letter-spacing: .26em;
  text-transform: uppercase; color: #9c9892; margin-bottom: 18px;
}
.p-title { font-size: clamp(32px, 4.2vw, 58px); font-weight: 600; letter-spacing: -.022em; line-height: 1.08; }
.p-title-light { color: #fff; }
.p-lead-dark { font-size: 16px; line-height: 1.75; color: #6b6864; max-width: 560px; }

/* --- 数据行 --- */
.p-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.p-stat .v { font-size: clamp(34px, 4vw, 58px); font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.p-stat .u { font-size: .4em; font-weight: 400; margin-left: 4px; opacity: .6; }
.p-stat .l { display: block; margin-top: 12px; font-size: 13px; letter-spacing: .05em; opacity: .6; }

/* --- 两栏 --- */
.p-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }

/* --- 对比表 --- */
.p-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #e4e1dc; }
.p-compare > div { padding: 36px 32px; }
.p-compare > div:first-child { border-right: 1px solid #e4e1dc; }
.p-compare h4 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; color: #9c9892; font-weight: 500; }
.p-compare ul { list-style: none; }
.p-compare li { font-size: 15px; line-height: 1.9; color: #6b6864; padding-left: 20px; position: relative; }
.p-compare li::before { content: "—"; position: absolute; left: 0; opacity: .4; }
.p-compare .good li { color: #0d0d0d; }
.p-compare .good li::before { content: "✓"; opacity: 1; }

/* --- 卡片列表 --- */
.p-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 36px; }
.p-card { border-top: 1px solid #e4e1dc; padding-top: 26px; }
.p-card .no { font-size: 12px; letter-spacing: .16em; color: #9c9892; display: block; margin-bottom: 14px; }
.p-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; letter-spacing: -.012em; }
.p-card p { font-size: 14.5px; line-height: 1.75; color: #6b6864; margin-bottom: 18px; }
.p-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.p-tags span {
  font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid #ddd9d3; padding: 6px 11px; color: #6b6864;
}

/* --- 编号流程 --- */
.p-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 44px; }
.p-step { border-top: 1px solid #e4e1dc; padding-top: 20px; }
.p-step .n { font-size: 12px; letter-spacing: .14em; color: #9c9892; }
.p-step h3 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.p-step p { font-size: 14px; color: #6b6864; line-height: 1.7; }

/* --- 图片网格 --- */
.p-imggrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-imggrid figure { margin: 0; overflow: hidden; }
.p-imggrid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; transition: transform .7s cubic-bezier(.22,.61,.36,1); }
.p-imggrid figure:hover img { transform: scale(1.04); }

/* --- 时间线 --- */
.p-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.p-tl { border-top: 2px solid #0d0d0d; padding-top: 20px; }
.p-tl .y { font-size: 30px; font-weight: 600; letter-spacing: -.02em; display: block; margin-bottom: 10px; }
.p-tl h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.p-tl p { font-size: 13.5px; color: #6b6864; line-height: 1.7; }

/* --- 值观 --- */
.p-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.p-value { border-top: 2px solid #0d0d0d; padding-top: 22px; }
.p-value h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.p-value p { font-size: 14px; color: #6b6864; line-height: 1.7; }

/* --- 认证条 --- */
.p-certs { display: flex; flex-wrap: wrap; gap: 10px; }
.p-certs span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.25); padding: 9px 14px; color: rgba(255,255,255,.75); }

/* --- CTA --- */
.p-cta { text-align: center; padding: 120px 0; background: #f6f5f3; }
.p-cta .p-title { margin-bottom: 20px; }
.p-cta p { font-size: 15.5px; color: #6b6864; margin-bottom: 36px; }

/* --- 响应式 --- */
@media (max-width: 1024px) {
  .p-band { padding: 84px 0; }
  .p-2col { grid-template-columns: 1fr; gap: 40px; }
  .p-stats { grid-template-columns: repeat(2, 1fr); }
  .p-cards { grid-template-columns: 1fr; }
  .p-flow { grid-template-columns: repeat(2, 1fr); }
  .p-timeline { grid-template-columns: repeat(2, 1fr); }
  .p-values { grid-template-columns: repeat(2, 1fr); }
  .p-imggrid { grid-template-columns: 1fr 1fr; }
  .p-compare { grid-template-columns: 1fr; }
  .p-compare > div:first-child { border-right: none; border-bottom: 1px solid #e4e1dc; }
}
@media (max-width: 640px) {
  .p-band { padding: 62px 0; }
  .p-hero { min-height: 52vh; }
  .p-hero-inner { padding: 0 22px 46px; }
  .p-stats { grid-template-columns: 1fr 1fr; gap: 28px; }
  .p-flow { grid-template-columns: 1fr; }
  .p-timeline { grid-template-columns: 1fr; }
  .p-values { grid-template-columns: 1fr; }
  .p-imggrid { grid-template-columns: 1fr; }
  .p-head-row { flex-direction: column; align-items: flex-start; gap: 22px; }
}

/* ---------- 产品详情页图集修正（消除图片下方黑块） ---------- */
.collections-pic-item { display: block; overflow: hidden; background: #f2f1ef !important; }
.collections-pic {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 236 / 164;
  overflow: hidden;
}
.collections-pic img,
.collections-pic .cv-wh {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
}

/* ============================================================
   详情页（产品 / 案例）—— 跟随首页设计语言
   ============================================================ */
.pd-hero { padding: 56px 0 0; background: #fff; }
.pd-crumb {
  font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #9c9892; margin-bottom: 34px;
}
.pd-crumb a { color: inherit; text-decoration: none; }
.pd-crumb a:hover { color: #0d0d0d; }
.pd-crumb span { margin: 0 9px; opacity: .45; }

.pd-head { display: grid; grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.pd-title {
  font-size: clamp(38px, 5.6vw, 76px); font-weight: 600;
  line-height: 1.04; letter-spacing: -.028em; margin: 0 0 16px;
  font-family: "Poppins", sans-serif;
}
.pd-sub {
  font-family: Georgia, serif; font-style: italic;
  font-size: clamp(20px, 2.2vw, 30px); color: #6b6864; font-weight: 400;
  letter-spacing: -.01em;
}
.pd-aside { border-left: 1px solid #e4e1dc; padding-left: 32px; }
.pd-cat-label {
  display: block; font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: #9c9892; margin-bottom: 8px;
}
.pd-cat {
  display: block; font-size: 16px; font-weight: 500;
  color: #0d0d0d; text-decoration: none;
  border-bottom: 1px solid #e4e1dc; padding-bottom: 4px; margin-bottom: 22px;
  transition: border-color .25s;
}
.pd-cat:hover { border-color: #0d0d0d; }
.btn-ink {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .08em; font-weight: 500;
  background: #0d0d0d; color: #fff; padding: 14px 20px;
  text-decoration: none; transition: background .25s;
  margin-top: 20px; width: fit-content; white-space: nowrap;
}
.btn-ink:hover { background: #2b2b2b; }

/* 主图 */
.pd-main { margin-top: 8px; background: #f2f1ef; }
.pd-main img { width: 100%; height: auto; display: block; max-height: 78vh; object-fit: cover; }

/* 案例信息栏 */
.cd-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; margin-bottom: 54px; }
.cd-info {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px 30px; border-left: 1px solid #e4e1dc; padding-left: 32px; margin: 0;
}
.cd-item dt {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: #9c9892; margin-bottom: 6px;
}
.cd-item dd { font-size: 15px; font-weight: 500; color: #0d0d0d; margin: 0; line-height: 1.45; }

/* 图片网格 */
.pd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pd-shot { margin: 0; overflow: hidden; background: #f2f1ef; }
.pd-shot img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  aspect-ratio: 4 / 3;
  transition: transform .7s cubic-bezier(.22,.61,.36,1);
}
.pd-shot:hover img { transform: scale(1.04); }

@media (max-width: 1024px) {
  .pd-head, .cd-head { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .pd-aside, .cd-info { border-left: none; padding-left: 0; border-top: 1px solid #e4e1dc; padding-top: 26px; }
  .pd-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pd-hero { padding: 36px 0 0; }
  .pd-grid { grid-template-columns: 1fr; }
  .cd-info { grid-template-columns: 1fr; gap: 14px; }
  .pd-main img { max-height: 52vh; }
}

/* ============================================================
   列表页（产品 / 案例）
   ============================================================ */
.lp-banner { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; }
.lp-banner-media { position: absolute; inset: 0; background: #1a1a1a; }
.lp-banner-media img { width: 100%; height: 100%; object-fit: cover; }
.lp-banner-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.14) 32%, rgba(0,0,0,.72) 100%);
}
.lp-banner-inner { position: relative; z-index: 3; width: 100%; max-width: 1520px; margin: 0 auto; padding: 0 5vw 64px; color: #fff; }
.lp-kicker {
  display: flex; align-items: center;
  font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-bottom: 16px;
}
.lp-banner-inner h1 {
  font-size: clamp(36px, 5.4vw, 72px); font-weight: 600;
  line-height: 1.05; letter-spacing: -.026em; margin: 0 0 18px;
  font-family: "Poppins", sans-serif;
}
.lp-lead { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,.84); max-width: 520px; font-weight: 300; }

/* 分类横向导航 */
.lp-nav {
  display: flex; flex-wrap: wrap; gap: 8px 34px;
  border-bottom: 1px solid #e4e1dc; padding-bottom: 18px; margin-bottom: 48px;
}
.lp-nav a {
  font-size: 13.5px; font-weight: 500; color: #6b6864;
  text-decoration: none; padding: 4px 0; position: relative;
  transition: color .22s;
}
.lp-nav a:hover { color: #0d0d0d; }
.lp-nav a.on { color: #0d0d0d; }
.lp-nav a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -19px;
  height: 2px; background: #0d0d0d;
}

/* 网格 */
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 26px; }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 44px 30px; }
.lp-grid-case { grid-template-columns: repeat(3, 1fr); gap: 44px 30px; }

.lp-card { display: block; text-decoration: none; color: inherit; }
.lp-no {
  display: block; font-size: 11.5px; letter-spacing: .16em;
  color: #9c9892; margin-bottom: 12px; font-variant-numeric: tabular-nums;
}
.lp-pic { overflow: hidden; background: #f2f1ef; margin-bottom: 16px; }
.lp-pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  aspect-ratio: 4 / 5;
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
}
.lp-card:hover .lp-pic img { transform: scale(1.045); }
.lp-pic-wide img { aspect-ratio: 4 / 3; }
.lp-pic-case img { aspect-ratio: 4 / 3; }

.lp-name { font-size: 17px; font-weight: 600; letter-spacing: -.012em; margin: 0 0 6px; }
.lp-card:hover .lp-name { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lp-sub { font-size: 12.5px; color: #9c9892; margin: 0; letter-spacing: .02em; }

.lp-case-meta span {
  display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: #9c9892; margin-bottom: 7px;
}
.lp-case-meta h3 { font-size: 17px; font-weight: 500; margin: 0; }

.lp-empty { text-align: center; padding: 70px 0 40px; }
.lp-empty p { font-size: 15px; color: #6b6864; margin-bottom: 26px; }

@media (max-width: 1180px) {
  .lp-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-grid-3, .lp-grid-case { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .lp-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .lp-banner { min-height: 46vh; }
  .lp-banner-inner { padding: 0 22px 44px; }
  .lp-nav { gap: 8px 22px; }
}
@media (max-width: 560px) {
  .lp-grid, .lp-grid-3, .lp-grid-case { grid-template-columns: 1fr; gap: 30px; }
  .lp-pic img { aspect-ratio: 4 / 3; }
}

/* 四列流程（可在小屏回退） */
.p-flow-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .p-flow-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .p-flow-4 { grid-template-columns: 1fr; } }
