/* =========================================================
   Your Brand — B2B 母婴纱布独立站 设计系统 v2
   ---------------------------------------------------------
   改配色只需改下面的 :root 变量。
   v2 的「大气」改动：
     · 容器 1180 → 1320px
     · 标题字号整体上探（h1 最大 68px）
     · 区块留白 76px → 最大 128px
     · 首屏改为全幅轮播，图片满屏出血
     · 新增整幅图文（split）与深色数据带
   ========================================================= */

:root {
  /* 色板：暖中性底 + 深青绿主色 + 暖赭石强调色 */
  --ink:        #16302B;
  --ink-2:      #3E5651;
  --ink-3:      #6E827D;
  --brand:      #2F6B5E;
  --brand-dark: #235147;
  --brand-deep: #12332C;
  --brand-soft: #E7F0ED;
  --accent:     #D98E4A;
  --accent-dark:#B9743A;
  --bg:         #FBF9F5;
  --surface:    #FFFFFF;
  --surface-2:  #F4F1EA;
  --line:       #E5E0D8;
  --line-soft:  #F0EDE7;

  --radius:     10px;
  --radius-lg:  18px;
  --radius-xl:  26px;
  --shadow:     0 1px 2px rgba(22,48,43,.04), 0 10px 30px rgba(22,48,43,.07);
  --shadow-lg:  0 24px 60px rgba(22,48,43,.14);
  --shadow-sm:  0 1px 2px rgba(22,48,43,.06);

  --font-sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Times New Roman", "Songti SC", serif;

  --wrap:        1320px;
  --wrap-narrow: 880px;
  --gap:         32px;
  /* 区块纵向留白：小屏 72 / 大屏 128 */
  --section-y:   clamp(72px, 7.2vw, 128px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 .6em;
  font-weight: 400;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(34px, 5vw, 66px); }
h2 { font-size: clamp(28px, 3.5vw, 48px); }
h3 { font-size: 21px; font-family: var(--font-sans); font-weight: 600; letter-spacing: -.005em; line-height: 1.35; }
h4 { font-size: 16.5px; font-family: var(--font-sans); font-weight: 600; line-height: 1.4; }
p  { margin: 0 0 1em; }
.lead { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.7; color: var(--ink-2); }

.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-dark);
  margin: 0 0 14px;
}
.eyebrow--light { color: rgba(255,255,255,.78); }

/* ---------- 布局 ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .66) 0; }
.section--alt { background: var(--surface); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--brand-deep); color: rgba(255,255,255,.76); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.74); }
.section--dark .eyebrow { color: rgba(255,255,255,.62); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 3.6vw, 60px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--wide { max-width: 980px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,245,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; min-height: 88px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 600; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 21px; line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-family: var(--font-serif); font-size: 21px; }
.logo-tag { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  color: var(--ink-2); font-size: 15.5px; font-weight: 500;
  padding: 8px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--surface); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 12px; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; content: "";
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after  { top: 7px;  left: 0; }

/* ---------- 按钮 ---------- */
.hero-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; line-height: 1; cursor: pointer;
  transition: .2s ease; white-space: nowrap;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-dark); color: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); color: var(--ink); background: var(--surface); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--light:hover { background: rgba(255,255,255,.24); color: #fff; border-color: #fff; }
.btn--lg { padding: 17px 36px; font-size: 16.5px; }
.btn--sm { padding: 10px 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

/* ---------- 首屏全幅轮播 ---------- */
.hero-carousel {
  position: relative;
  background: var(--brand-deep);
  overflow: hidden;
  min-height: clamp(500px, 44vw, 790px);
  isolation: isolate;
}
.carousel-track { position: absolute; inset: 0; }
.carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.carousel-slide.is-active { opacity: 1; visibility: visible; }

.carousel-media { position: absolute; inset: 0; overflow: hidden; }
.carousel-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}
.carousel-slide.is-active .carousel-media img { transform: scale(1.13); }

.carousel-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(10,29,25,.88) 0%, rgba(10,29,25,.7) 34%,
                            rgba(10,29,25,.2) 66%, rgba(10,29,25,.42) 100%);
}
.carousel-body {
  position: relative; z-index: 3; height: 100%;
  min-height: inherit;
  display: flex; align-items: center;
}
.carousel-content { max-width: 760px; color: #fff; padding: 72px 0 96px; }
.carousel-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.3vw, 62px);
  line-height: 1.06; color: #fff; margin-bottom: 20px;
  letter-spacing: -.02em;
}
.carousel-text {
  font-size: clamp(16.5px, 1.2vw, 19.5px); line-height: 1.68;
  color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 34px;
}
.carousel-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 内容入场动画 */
.carousel-content > * { opacity: 0; transform: translateY(22px); }
.carousel-slide.is-active .carousel-content > * {
  opacity: 1; transform: none;
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.carousel-slide.is-active .carousel-content > *:nth-child(1) { transition-delay: .18s; }
.carousel-slide.is-active .carousel-content > *:nth-child(2) { transition-delay: .28s; }
.carousel-slide.is-active .carousel-content > *:nth-child(3) { transition-delay: .38s; }
.carousel-slide.is-active .carousel-content > *:nth-child(4) { transition-delay: .48s; }

/* 左右箭头 */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(12,34,29,.3); backdrop-filter: blur(8px);
  display: grid; place-items: center; transition: .22s ease;
}
.carousel-arrow:hover { background: rgba(255,255,255,.2); border-color: #fff; }
.carousel-arrow svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.9; }
.carousel-arrow--prev { left: 28px; }
.carousel-arrow--next { right: 28px; }

/* 底部指示器 + 计数（抬高，避免被悬浮的卖点条盖住） */
.carousel-footer {
  position: absolute; left: 0; right: 0; bottom: 96px; z-index: 6;
}
.carousel-footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.carousel-dots { display: flex; align-items: center; gap: 10px; }
.carousel-dot {
  width: 34px; height: 3px; border-radius: 2px; padding: 0;
  border: 0; background: rgba(255,255,255,.34); transition: .3s ease;
}
.carousel-dot:hover { background: rgba(255,255,255,.6); }
.carousel-dot.is-active { background: var(--accent); width: 58px; }
.carousel-count {
  font-family: var(--font-serif); font-size: 14px;
  letter-spacing: .12em; color: rgba(255,255,255,.72);
}
.carousel-count b { color: #fff; font-weight: 400; }

/* ---------- 卖点条 ---------- */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  overflow: hidden; margin-top: -62px; position: relative; z-index: 8;
  box-shadow: var(--shadow-lg);
}
.trust-item { background: var(--surface); padding: 28px 26px; display: flex; gap: 15px; align-items: flex-start; }
.trust-item svg { flex: none; width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.6; }
.trust-item h4 { margin: 0 0 4px; font-size: 15.5px; color: var(--ink); }
.trust-item p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }

/* ---------- 栅格 / 卡片 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: .22s ease; height: 100%;
}
.card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; font-size: 15.5px; color: var(--ink-2); }

/* 主打产品大卡：图片大、无边框、悬浮放大 */
.pcard { display: flex; flex-direction: column; }
.pcard-media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--surface-2);
  aspect-ratio: 4 / 3.35;
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.pcard-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 999px;
}
.pcard-body { padding: 26px 4px 0; }
.pcard-body h3 { font-size: 23px; margin-bottom: 10px; }
.pcard-body h3 a { color: var(--ink); }
.pcard-body h3 a:hover { color: var(--brand); }
.pcard-body p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 16px; }
.pcard-more { font-size: 15px; font-weight: 600; color: var(--brand); display: inline-flex; align-items: center; gap: 7px; }
.pcard:hover .pcard-more { gap: 12px; }
.pcard-more::after { content: "\2192"; transition: .25s ease; }

/* 次级品类：紧凑列表 */
.range-list {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 44px;
}
.range-item { background: var(--surface); padding: 26px 22px; }
.range-item h4 { margin: 0 0 6px; font-size: 15.5px; }
.range-item p { margin: 0; font-size: 13.5px; color: var(--ink-3); line-height: 1.55; }
.range-item .tag {
  display: inline-block; margin-top: 12px; font-size: 11.5px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-3);
}

/* 通用小卡（产品列表页复用） */
.cat-card { display: flex; flex-direction: column; }
.cat-card .cat-thumb {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); margin-bottom: 20px;
  background: var(--surface-2); overflow: hidden;
  display: grid; place-items: center; color: var(--ink-3); font-size: 13px;
}
.cat-card .cat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.cat-card:hover .cat-thumb img { transform: scale(1.05); }
.cat-card .cat-more { margin-top: auto; padding-top: 14px; font-size: 15px; font-weight: 600; color: var(--brand); }
.cat-card.is-soon { opacity: .74; }

/* ---------- 认证卡（Factory / 首页证书区） ---------- */
.cert-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 24px 22px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cert-card strong { font-size: 17px; line-height: 1.35; color: var(--ink); font-weight: 700; }
.cert-card span { font-size: 13px; line-height: 1.5; color: var(--ink-3); }
.cert-card .cert-tag {
  align-self: flex-start; margin-bottom: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 9px; border-radius: 999px;
}

/* ---------- CPC 专区（工厂页） ---------- */
.cpc-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cpc-grid h3 { font-size: 19px; margin-bottom: 18px; }
.cpc-facts-list { display: grid; gap: 0; margin: 0; }
.cpc-facts-list > div {
  display: grid; grid-template-columns: 150px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.cpc-facts-list > div:last-child { border-bottom: 0; }
.cpc-facts-list dt { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.cpc-facts-list dd { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); }
.cpc-std {
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
}
.cpc-std-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cpc-std-list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.cpc-std-list li::before {
  content: ""; position: absolute; left: 2px; top: .42em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.cpc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); margin-top: clamp(32px, 4vw, 52px); }
.cpc-card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.cpc-card strong { font-size: 16.5px; line-height: 1.4; color: var(--ink); font-weight: 700; }
.cpc-card-tag {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 999px;
}
.cpc-card-meta { display: grid; gap: 8px; margin: 0; }
.cpc-card-meta > div { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: baseline; }
.cpc-card-meta dt { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.cpc-card-meta dd { margin: 0; font-size: 14px; color: var(--ink); }
.cpc-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cpc-card-actions .btn { padding: 10px 16px; font-size: 13.5px; }
@media (max-width: 980px) {
  .cpc-grid { grid-template-columns: 1fr; }
  .cpc-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cpc-facts-list > div { grid-template-columns: 1fr; gap: 4px; }
  .cpc-card-meta > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 整幅图文（split）：图片出血到屏幕边缘 ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--surface); }
.split--flip .split-media { order: 2; }
.split--flip .split-body { order: 1; }
.split-media { position: relative; min-height: clamp(360px, 40vw, 660px); overflow: hidden; background: var(--surface-2); }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(48px, 6vw, 104px) clamp(28px, 5.4vw, 96px);
}
.split-body h2 { max-width: 15em; }
.split-body .lead { max-width: 32em; margin-bottom: 26px; }

.tick-list { display: grid; gap: 13px; margin: 0 0 32px; }
.tick-list li { position: relative; padding-left: 32px; font-size: 15.5px; color: var(--ink-2); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 18px; height: 10px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}
.section--dark .tick-list li { color: rgba(255,255,255,.8); }
.section--dark .tick-list li::before { border-color: var(--accent); }

/* ---------- 定制模块 ---------- */
.module-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.module { background: var(--surface); padding: 34px 30px; }
.module h3 { font-size: 17.5px; margin-bottom: 8px; }
.module p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.65; }
.module .num { font-family: var(--font-serif); font-size: 13px; color: var(--accent-dark); display: block; margin-bottom: 10px; }

/* ---------- 数据带（深色全幅） ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); text-align: center; }
.stat-value {
  font-family: var(--font-serif); line-height: 1;
  font-size: clamp(38px, 5vw, 68px); color: var(--brand);
  letter-spacing: -.02em;
}
.stat-unit { font-size: clamp(15px, 1.4vw, 20px); color: var(--brand); margin-left: 5px; }
.stat-label { font-size: 14px; color: var(--ink-3); margin-top: 12px; letter-spacing: .02em; }
.section--dark .stat-value, .section--dark .stat-unit { color: #fff; }
.section--dark .stat-label { color: rgba(255,255,255,.6); }

/* ---------- 工艺流程 ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 46px); }
.process-step { position: relative; padding-left: 58px; }
.process-step .step-no {
  position: absolute; left: 0; top: 0; width: 42px; height: 42px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand-dark);
  display: grid; place-items: center; font-size: 13.5px; font-weight: 700;
}
.process-step h4 { margin: 8px 0 5px; color: var(--ink); }
.process-step p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.65; }
.section--dark .process-step .step-no { background: rgba(255,255,255,.13); color: #fff; }

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--radius-lg); background: var(--surface);
}
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
thead th {
  text-align: left; padding: 18px 24px; background: var(--surface-2);
  color: var(--ink); font-weight: 600; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid var(--line);
}
tbody td { padding: 18px 24px; border-bottom: 1px solid var(--line-soft); color: var(--ink-2); vertical-align: top; }
tbody tr:last-child td { border-bottom: 0; }
tbody th { padding: 18px 24px; text-align: left; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line-soft); width: 32%; }
.spec-table tbody tr:nth-child(odd) { background: #FCFBF9; }

/* ---------- 车间图库 ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4/3; background: var(--surface-2);
}
.gallery-item--wide { grid-column: span 2; aspect-ratio: 8/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 40px 20px 16px; color: #fff; font-size: 14px; font-weight: 600;
  background: linear-gradient(180deg, rgba(10,29,25,0), rgba(10,29,25,.72));
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 26px 52px 26px 0; position: relative;
  font-size: 18px; font-weight: 600; color: var(--ink); font-family: var(--font-sans);
}
.faq-q::after {
  content: ""; position: absolute; right: 10px; top: 50%; width: 11px; height: 11px;
  border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: .25s ease;
}
.faq-item.is-open .faq-q::after { transform: translateY(-30%) rotate(-135deg); }
.faq-a { display: none; padding: 0 52px 28px 0; color: var(--ink-2); font-size: 16px; max-width: 62em; }
.faq-item.is-open .faq-a { display: block; }
.section--dark .faq { border-color: rgba(255,255,255,.16); }
.section--dark .faq-item { border-color: rgba(255,255,255,.16); }
.section--dark .faq-q { color: #fff; }
.section--dark .faq-a { color: rgba(255,255,255,.74); }

/* ---------- 客户评价 ---------- */
.quote {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px; height: 100%;
  display: flex; flex-direction: column;
}
.quote p { font-family: var(--font-serif); font-size: 19px; line-height: 1.6; color: var(--ink); }
.quote footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 14px; }
.quote .who { color: var(--ink); font-weight: 600; display: block; }
.quote .role { color: var(--ink-3); }

/* ---------- CTA 横幅（全幅） ---------- */
.cta-band { background: var(--brand); color: #fff; padding: clamp(56px, 7vw, 104px) 0; }
.cta-band .wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 42em; margin-bottom: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn { width: 100%; }
.cta-note { font-size: 13.5px; color: rgba(255,255,255,.62); text-align: center; }

/* 卡片式 CTA（内页复用） */
.cta-card { background: var(--brand); color: #fff; border-radius: var(--radius-xl); padding: clamp(40px, 5vw, 68px); }
.cta-card h2 { color: #fff; }
.cta-card p { color: rgba(255,255,255,.82); max-width: 44em; }
.cta-card .btn--light { margin-top: 8px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field .req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.field .hint { font-size: 13px; color: var(--ink-3); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #C0392B; }
.field .error { font-size: 13px; color: #C0392B; display: none; }
.field.has-error .error { display: block; }

.form-note { font-size: 13.5px; color: var(--ink-3); margin-top: 16px; }
.form-success {
  display: none; padding: 18px 20px; border-radius: var(--radius);
  background: var(--brand-soft); border: 1px solid #BFD8D1; color: var(--brand-dark);
  font-size: 15px; margin-bottom: 22px;
}
.form-success.is-visible { display: block; }

/* ---------- 联系信息块 ---------- */
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item svg { flex: none; width: 21px; height: 21px; stroke: var(--brand); fill: none; stroke-width: 1.6; margin-top: 4px; }
.contact-item h4 { margin: 0 0 3px; font-size: 14.5px; }
.contact-item p, .contact-item a { margin: 0; font-size: 16px; color: var(--ink-2); }

/* ---------- 面包屑 ---------- */
.breadcrumb { font-size: 14px; color: var(--ink-3); padding: 24px 0 0; }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { margin: 0 8px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 84px 0 32px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 56px; }
.site-footer h4 { color: #fff; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.site-footer li { margin-bottom: 12px; font-size: 15px; }
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-tag { color: rgba(255,255,255,.5); }
.footer-brand .logo-mark { background: var(--brand); }
.footer-brand p { font-size: 15px; margin-top: 20px; max-width: 32em; }
.footer-bottom {
  margin-top: 60px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.13);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,.5);
}

/* ---------- 悬浮询盘按钮 ---------- */
.float-cta { position: fixed; right: 26px; bottom: 26px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-cta a {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-lg); background: var(--surface); border: 1px solid var(--line);
  transition: transform .2s ease;
}
.float-cta a:hover { transform: translateY(-3px); }
.float-cta svg { width: 24px; height: 24px; stroke: var(--brand); fill: none; stroke-width: 1.7; }
.float-cta .wa { background: #25D366; border-color: #25D366; }
.float-cta .wa svg { stroke: #fff; fill: #fff; }

/* ---------- 工具类 ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.stack > * + * { margin-top: 15px; }
.muted { color: var(--ink-3); }
.section--dark .muted { color: rgba(255,255,255,.6); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.split--first { margin-top: 0; }

/* ---------- 内页：全幅头图 ---------- */
.page-banner {
  position: relative; overflow: hidden; background: var(--surface-2);
  height: clamp(300px, 34vw, 540px);
}
.page-banner img { width: 100%; height: 100%; object-fit: cover; }
.page-banner figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 90px 28px 26px; color: #fff; font-size: 15px;
  background: linear-gradient(180deg, rgba(10,29,25,0), rgba(10,29,25,.7));
}
.page-banner figcaption .wrap { padding: 0 28px; }

/* ---------- 产品详情页：大图 + 右侧信息 ---------- */
.pdp { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.pdp-media {
  position: sticky; top: 116px;
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--surface-2); aspect-ratio: 4 / 3.7;
  box-shadow: var(--shadow);
}
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { margin-bottom: 18px; }
.pdp-info .lead { margin-bottom: 26px; }
.pdp-specs { display: grid; gap: 13px; margin: 0 0 32px; }
.pdp-specs li { position: relative; padding-left: 32px; font-size: 16px; color: var(--ink); font-weight: 600; }
.pdp-specs li::before {
  content: ""; position: absolute; left: 0; top: .46em;
  width: 17px; height: 9px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1180px) {
  .range-list { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--wide { grid-column: span 2; aspect-ratio: 16/6; }
  .carousel-arrow--prev { left: 16px; }
  .carousel-arrow--next { right: 16px; }
}
@media (max-width: 980px) {
  .header-inner { min-height: 74px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-media { position: static; aspect-ratio: 4/3; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); margin-top: -44px; }
  .grid--3, .grid--4, .stats, .module-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .split--flip .split-body { order: 0; }
  .split-media { min-height: 340px; }
  .cta-band .wrap { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .cta-actions .btn { width: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .site-header.is-open .nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 10px 28px 22px; box-shadow: var(--shadow);
  }
  .site-header.is-open .nav a { padding: 15px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .carousel-arrow { display: none; }
  .carousel-footer { bottom: 76px; }
  .carousel-content { padding: 56px 0 92px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .trust-bar, .grid--2, .grid--3, .grid--4, .stats, .module-grid, .process,
  .form-grid, .range-list, .gallery { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .cta-card { padding: 32px 24px; }
  .trust-bar { margin-top: 0; border-radius: var(--radius-lg); }
  .hero-carousel { min-height: 540px; }
  .carousel-footer { bottom: 26px; }
  .carousel-count { display: none; }
  .faq-q { font-size: 16.5px; padding-right: 42px; }
  .faq-a { padding-right: 0; }
}

/* =========================================================
   Resources / Articles 板块
   ---------------------------------------------------------
   B2B 内容营销：接住采购商的问题型搜索（选厂 / 选料 / 合规），
   产品页接不住这类流量，只能靠文章页。
   ========================================================= */

/* --- 列表页卡片 --- */
.acard {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.acard:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.acard-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.acard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.acard:hover .acard-media img { transform: scale(1.05); }
.acard-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.acard-cat {
  font: 700 11.5px/1 Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 13px;
}
.acard h3 { font-size: 21px; line-height: 1.32; margin: 0 0 11px; }
.acard h3 a { color: var(--ink); }
.acard h3 a:hover { color: var(--brand); }
.acard p { font-size: 15px; color: var(--ink-2); margin: 0 0 20px; }
.acard-meta {
  margin-top: auto; font-size: 13px; color: var(--ink-3);
  display: flex; align-items: center; gap: 10px;
}
.acard-meta span.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }

/* --- 列表页：主推文章（首篇横排） --- */
.acard--lead { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
.acard--lead .acard-media { flex: 0 0 46%; aspect-ratio: auto; min-height: 300px; }
.acard--lead .acard-body { padding: 38px 40px; justify-content: center; }
.acard--lead h3 { font-size: clamp(24px, 2.4vw, 32px); }
.acard--lead p { font-size: 16.5px; }

/* --- 文章详情页 --- */
.article-head { max-width: 820px; margin: 0 auto; }
.article-head h1 { margin-bottom: 20px; }
.article-meta-line {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--ink-3); margin: 22px 0 0;
}
.article-meta-line .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-3); }
.article-cover {
  max-width: 820px; margin: 0 auto clamp(40px, 4vw, 56px);
  border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2);
}
.article-cover img { width: 100%; display: block; }
.article-body { max-width: 760px; margin: 0 auto; font-size: 17.5px; line-height: 1.78; color: var(--ink-2); }
.article-body h2 { font-size: clamp(24px, 2.2vw, 31px); line-height: 1.28; color: var(--ink); margin: 52px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.35; color: var(--ink); margin: 36px 0 12px; }
.article-body p { margin: 0 0 20px; }
.article-body ul { list-style: none; margin: 0 0 22px; padding-left: 0; }
.article-body ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 3px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.article-body ol { margin: 0 0 22px; padding-left: 24px; }
.article-body ol li { margin-bottom: 10px; padding-left: 4px; }
.article-body strong { color: var(--ink); font-weight: 650; }
.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote {
  margin: 30px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--accent);
  font-family: var(--font-serif); font-size: 20px; line-height: 1.55; color: var(--ink);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 15.5px; }
.article-body th, .article-body td { text-align: left; padding: 13px 15px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article-body th {
  background: var(--surface-2); color: var(--ink); font-weight: 650;
  font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase;
}
.article-body code { background: var(--surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 46px 0; }

/* 文章底部转化区 */
.article-cta { max-width: 760px; margin: 58px auto 0; padding: 36px 38px; background: var(--brand-soft); border-radius: var(--radius-lg); }
.article-cta h3 { margin: 0 0 10px; font-size: 22px; }
.article-cta p { margin: 0 0 22px; color: var(--ink-2); font-size: 16px; }
.article-foot { max-width: 760px; margin: 46px auto 0; padding-top: 26px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 15px; }

@media (max-width: 900px) {
  .acard--lead { flex-direction: column; }
  .acard--lead .acard-media { flex: none; aspect-ratio: 16/9; min-height: 0; }
  .acard--lead .acard-body { padding: 26px 26px 28px; }
  .acard--lead h3 { font-size: 23px; }
  .article-body { font-size: 17px; }
  .article-cta { padding: 28px 24px; }
}

@media print {
  .site-header, .float-cta, .cta-band, .hero-carousel { display: none; }
}
