/* ==========================================================================
   Prostex — Design System
   工业质感 · 克制精致（industrial-refined）
   色彩：深墨绿 + 青绿 + 米白 + 陶土橙点缀
   ========================================================================== */

/* --------------------------------------------------------------------------
   字体：本地托管
   原先通过 Google Fonts 加载，但该域名在中国大陆无法访问，浏览器需等待
   约 8 秒超时才能继续渲染，导致每次翻页都白屏。现改为本地 woff2。
   中文不加载 webfont（体积过大），交由下方 font-family 栈中的系统中文字体。
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;          /* 可变字体：wght 轴 */
  font-display: swap;
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-latin-700-normal.woff2") format("woff2");
}

:root {
  /* ── 色彩 ────────────────────────────────────────────── */
  --ink:        #10201D;
  --ink-soft:   #3A4A45;
  --muted:      #6E7F79;

  --forest:     #14312E;   /* 主色：深墨绿 */
  --forest-700: #1B403A;
  --forest-900: #0C201D;

  --teal:       #2E7D6F;   /* 副色：青绿 */
  --teal-400:   #44A08E;
  --teal-050:   #E8F2EF;

  --clay:       #C4623C;   /* 点缀：陶土橙（CTA / 数据高亮） */
  --clay-600:   #A54F2E;
  --clay-050:   #FBEDE7;

  --sand:       #FAF7F2;   /* 米白底 */
  --sand-200:   #F1EBE1;
  --sand-300:   #E4DACB;

  --white:      #FFFFFF;
  --line:       #E1D9CC;
  --line-dark:  rgba(255,255,255,.14);

  /* ── 排版 ────────────────────────────────────────────── */
  --font-display: "Fraunces", "Noto Serif SC", Georgia, serif;
  --font-sans: "Inter", "Noto Sans SC", -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-hero:  clamp(2.3rem, 4.6vw, 3.75rem);
  --fs-h2:    clamp(1.7rem, 3vw, 2.4rem);
  --fs-h3:    clamp(1.12rem, 1.7vw, 1.35rem);
  --fs-body:  1rem;
  --fs-sm:    .875rem;
  --fs-xs:    .78rem;

  /* ── 布局 ────────────────────────────────────────────── */
  --wrap: min(100%, 2600px);
  --gap: 28px;
  --sec-y: clamp(64px, 8vw, 108px);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(16,32,29,.06), 0 2px 8px rgba(16,32,29,.05);
  --shadow-md: 0 8px 28px rgba(16,32,29,.10);
}

/* 中文字体微调 */
html[lang="zh-CN"] {
  --font-display: "Fraunces", "Noto Serif SC", "Songti SC", serif;
  --fs-hero: clamp(2rem, 4vw, 3.2rem);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  /* 基础字号 16px → 18px：全站 rem 排版统一放大一档 */
  font-size: 112.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* 细滚动条（Firefox） */
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 32, 29, .2) transparent;
}

/* 细滚动条（Chromium / Edge / Safari）：默认很淡，悬停才明显 */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(16, 32, 29, .16);
  background-clip: content-box;
  border: 3px solid transparent;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(16, 32, 29, .34);
  background-clip: content-box;
}
::-webkit-scrollbar-corner {
  background: transparent;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

/* ── 布局工具 ──────────────────────────────────────────── */
.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.sec { padding-block: var(--sec-y); }
.sec--tight { padding-block: clamp(44px, 5vw, 68px); }
.sec--sand { background: var(--sand-200); }
.sec--forest { background: var(--forest); color: rgba(255,255,255,.76); }
.sec--forest h2, .sec--forest h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--clay);
}
.sec--forest .eyebrow { color: var(--teal-400); }

.sec-head { max-width: 660px; margin-bottom: clamp(34px, 4vw, 54px); }
.sec-head--center { max-width: 720px; margin-inline: auto; text-align: center; }
.lede { font-size: 1.06rem; color: var(--muted); }
.sec--forest .lede { color: rgba(255,255,255,.66); }

/* ── 按钮 ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.6rem;
  font-size: .92rem; font-weight: 600;
  border-radius: 2px; border: 1px solid transparent;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.btn--primary { background: var(--clay); color: #fff; }
.btn--primary:hover { background: var(--clay-600); transform: translateY(-1px); }
.btn--forest { background: var(--forest); color: #fff; }
.btn--forest:hover { background: var(--forest-700); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--on-dark { border-color: rgba(255,255,255,.34); color: #fff; }
.btn--on-dark:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-sm); font-weight: 600; color: var(--teal);
}
.link-arrow::after { content: "→"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ── 顶栏 ──────────────────────────────────────────────── */
.topbar {
  background: var(--forest-900); color: rgba(255,255,255,.72);
  font-size: var(--fs-xs); letter-spacing: .02em;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: .5rem; }
.topbar a:hover { color: #fff; }
.topbar__contacts { display: flex; gap: 1.4rem; flex-wrap: wrap; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand__mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--forest); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  border-radius: 2px; letter-spacing: -.02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.brand__sub { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.nav__menu { display: flex; align-items: center; gap: 1.6rem; }
.nav__menu > li > a {
  font-size: .9rem; font-weight: 500; color: var(--ink-soft);
  padding-block: .5rem; position: relative;
}
.nav__menu > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--clay); transform: scaleX(0); transform-origin: left;
  transition: transform .2s;
}
.nav__menu > li > a:hover { color: var(--ink); }
.nav__menu > li > a:hover::after, .nav__menu > li > a[aria-current]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--muted);
}
.lang a { padding: 3px 7px; border-radius: 2px; }
.lang a[aria-current] { background: var(--forest); color: #fff; }

.burger { display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--line); border-radius: 2px; }
.burger span { display: block; width: 18px; height: 2px; margin: 3px auto; background: var(--ink); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: var(--forest); color: rgba(255,255,255,.78);
  position: relative; overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(28px, 4vw, 60px); align-items: center;
  padding-block: clamp(56px, 7vw, 96px);
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .85rem; margin-bottom: 1.4rem;
  border: 1px solid var(--line-dark); border-radius: 100px;
  font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.86);
}
.hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-400); }
.hero h1 { color: #fff; font-size: var(--fs-hero); margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--teal-400); }
.hero__lede { font-size: clamp(1rem, 1.4vw, 1.12rem); max-width: 54ch; margin-bottom: 1.8rem; }

.hero__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; margin-top: 2.6rem;
  background: var(--line-dark); border: 1px solid var(--line-dark);
}
.hero__stat { background: var(--forest); padding: 1.1rem 1.2rem; }
.hero__stat b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 2rem); color: #fff; line-height: 1.1;
}
.hero__stat span { font-size: var(--fs-xs); color: rgba(255,255,255,.6); letter-spacing: .03em; }

.hero__media { position: relative; }
/* 只作用于静态大图；轮播图由 .hero-slider__img 单独控制 */
.hero__media > img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg);
}
/* ── Logo 条 ───────────────────────────────────────────── */
.logostrip { border-bottom: 1px solid var(--line); background: var(--sand); }
.logostrip .wrap {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 44px);
  padding-block: 1.5rem; flex-wrap: wrap;
}
.logostrip__label {
  font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  white-space: nowrap;
}
.logostrip img { max-height: 46px; width: auto; opacity: .82; }

/* ── 业务卡片 ──────────────────────────────────────────── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }

.card {
  background: var(--white); border: 1px solid var(--line);
  padding: 1.7rem 1.5rem; border-radius: var(--radius);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sand-300); }
.card__no {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  color: var(--clay); letter-spacing: .08em; margin-bottom: .9rem;
}
.card h3 { font-size: var(--fs-h3); margin-bottom: .5rem; }
.card p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: 1.1rem; }

/* ── 产品线 ────────────────────────────────────────────── */
.line-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--forest-900);
}
.line-card img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  transition: transform .5s ease, opacity .3s;
  opacity: .9;
}
.line-card:hover img { transform: scale(1.045); opacity: 1; }
.line-card__body {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem 1.3rem;
  background: linear-gradient(to top, rgba(12,32,29,.92) 12%, rgba(12,32,29,.55) 58%, transparent);
  color: #fff;
}
.line-card__body h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.16rem; }
.line-card__body p { margin: 0; font-size: var(--fs-xs); color: rgba(255,255,255,.72); }
.line-card__count {
  position: absolute; top: 12px; right: 12px;
  background: rgba(250,247,242,.94); color: var(--ink);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: .3rem .55rem; border-radius: 2px;
}

/* ── 成本工程（差异化）──────────────────────────────────── */
.steps b { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; }
.steps span { font-size: var(--fs-sm); color: var(--muted); }
.sec--forest .steps li { border-color: var(--line-dark); }
.sec--forest .steps b { color: #fff; }
.sec--forest .steps span { color: rgba(255,255,255,.6); }
.sec--forest .steps li::before { color: var(--teal-400); }

.figure { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.figure img { width: 100%; object-fit: cover; }
.figure--frame { border: 1px solid var(--line); padding: 10px; background: #fff; }

/* ── 能力网格 ──────────────────────────────────────────── */
.cap {
  display: flex; gap: 1rem; padding: 1.35rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.cap__ico {
  flex: 0 0 42px; height: 42px; display: grid; place-items: center;
  background: var(--teal-050); color: var(--teal); border-radius: 2px;
  font-family: var(--font-display); font-weight: 700; font-size: .82rem;
}
.cap h3 { font-size: 1rem; margin-bottom: .3rem; font-family: var(--font-sans); font-weight: 600; }
.cap p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ── 认证墙 ────────────────────────────────────────────── */
.certs {
  display: flex; flex-wrap: wrap; gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.certs li {
  flex: 1 1 150px; background: var(--white);
  padding: 1.4rem 1rem; text-align: center;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em; color: var(--ink-soft);
}
.certs img { height: 44px; width: auto; margin: 0 auto .6rem; object-fit: contain; }

/* ── 联系我们 / 采购需求清单 ───────────────────────────── */
.cta {
  background: var(--forest-900); color: rgba(255,255,255,.74);
  padding-block: clamp(56px, 6.5vw, 92px);
}
.cta__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.cta h2 { color: #fff; }
.form { background: var(--white); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); }
.field { margin-bottom: 1rem; }
.field label {
  display: block; font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .04em; color: var(--ink); margin-bottom: .4rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .72rem .85rem; font: inherit; font-size: .92rem;
  color: var(--ink); background: var(--sand);
  border: 1px solid var(--line); border-radius: 2px;
  transition: border-color .16s, background .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff;
}
.field textarea { min-height: 104px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__hint { font-size: var(--fs-xs); color: var(--muted); margin: .9rem 0 0; }

.contact-list li { display: flex; gap: .8rem; padding-block: .7rem; border-bottom: 1px solid var(--line-dark); }
.contact-list b { flex: 0 0 88px; font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); font-weight: 600; }
.contact-list span { font-size: .95rem; color: #fff; }

/* 采购需求清单（深色 CTA 区右侧的浅色卡片） */
.brief { background: var(--white); padding: clamp(22px, 3vw, 34px); border-radius: var(--radius-lg); }
.brief h3 { color: var(--ink); font-size: var(--fs-h3); margin-bottom: .5rem; }
.brief > p { font-size: var(--fs-sm); color: var(--muted); margin: 0 0 1.1rem; }
.brief ul { margin: 0 0 1.3rem; }
.brief li {
  position: relative; padding-left: 1.5rem; margin-bottom: .55rem;
  font-size: .93rem; line-height: 1.6; color: var(--ink);
}
.brief li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.brief .form__hint { margin: .9rem 0 1.1rem; }
.brief .btn { width: 100%; justify-content: center; }

/* ── 页脚 ──────────────────────────────────────────────── */
.foot { background: var(--forest); color: rgba(255,255,255,.6); padding-block: clamp(44px, 5vw, 64px) 0; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: clamp(24px, 3vw, 44px); }
.foot h4 { color: #fff; font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.foot li { margin-bottom: .5rem; font-size: var(--fs-sm); }
.foot a:hover { color: #fff; }
.foot__brand p { font-size: var(--fs-sm); max-width: 34ch; }
.foot__bottom {
  margin-top: 2.6rem; padding-block: 1.2rem;
  border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: var(--fs-xs);
}

/* ── 滚动渐显 ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════════
   响应式
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__menu, .nav__actions .btn { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero__media { order: -1; }
  .hero__media > img { aspect-ratio: 16/11; }
  .cta__grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 32px, var(--wrap)); }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat { padding: .9rem 1rem; }
  .form__row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .logostrip .wrap { gap: 16px; }
  .logostrip img { max-height: 34px; }
  .topbar__contacts span:nth-child(2) { display: none; }
}

/* ── 手机端抽屉菜单 ────────────────────────────────────── */
.drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--forest); color: #fff;
  padding: 1.6rem 1.5rem; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s ease;
  visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.drawer__close { background: none; border: 1px solid var(--line-dark); color: #fff; width: 38px; height: 38px; border-radius: 2px; font-size: 1.1rem; }
.drawer nav a {
  display: block; padding: 1rem 0; font-size: 1.1rem;
  border-bottom: 1px solid var(--line-dark); color: #fff;
}
.drawer__foot { margin-top: 2rem; display: flex; flex-direction: column; gap: .8rem; }

/* ══════════════════════════════════════════════════════════
   内页组件
   ══════════════════════════════════════════════════════════ */

/* ── 页面头部 ──────────────────────────────────────────── */
.pagehead {
  background: var(--forest); color: rgba(255,255,255,.72);
  padding-block: clamp(36px, 4.6vw, 62px);
}
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .55rem;
  font-size: var(--fs-xs); color: rgba(255,255,255,.52); margin-bottom: 1rem;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-style: normal; opacity: .45; }
.pagehead h1 { color: #fff; margin-bottom: .45rem; font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.pagehead p { margin: 0; max-width: 64ch; font-size: var(--fs-sm); }
.pagehead__meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.2rem;
  font-size: var(--fs-xs); color: rgba(255,255,255,.6);
}
.pagehead__meta b { color: var(--teal-400); font-family: var(--font-display); font-size: 1.05rem; }

/* ── 二级导航 ──────────────────────────────────────────── */
.subnav { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 64px; z-index: 20; }
.subnav ul { display: flex; gap: 1.7rem; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: .95rem 0; font-size: .88rem; font-weight: 500;
  color: var(--muted); white-space: nowrap; border-bottom: 2px solid transparent;
}
.subnav a:hover { color: var(--ink); }
.subnav a[aria-current] { color: var(--ink); border-color: var(--clay); }

/* ── 商品卡片 ──────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--sand-300); }
.pcard__img { aspect-ratio: 1/1; background: var(--sand-200); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard__body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.pcard__code {
  font-size: .67rem; font-weight: 700; letter-spacing: .09em;
  color: var(--clay); margin-bottom: .45rem;
}
.pcard h3 {
  font-family: var(--font-sans); font-size: .97rem; font-weight: 600;
  margin-bottom: .55rem; line-height: 1.42;
}
.pcard__meta {
  font-size: var(--fs-xs); color: var(--muted);
  margin: 0 0 .95rem; display: flex; flex-direction: column; gap: .3rem;
}
.pcard__meta b { color: var(--ink-soft); font-weight: 600; }
.pcard .btn { margin-top: auto; width: 100%; padding: .58rem 1rem; font-size: .8rem; }

/* ── 参数表 ────────────────────────────────────────────── */
.spectable { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spectable th, .spectable td {
  padding: .72rem .9rem; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top;
}
.spectable th { width: 32%; color: var(--ink); font-weight: 600; background: var(--sand); }
.spectable tbody tr:last-child th, .spectable tbody tr:last-child td { border-bottom: 0; }

/* ── 内容页排版 ────────────────────────────────────────── */
.prose { max-width: 1100px; }
/* 内容页正文在宽屏下居中，避免右侧大片空白 */
.wrap > .prose { margin-inline: auto; }
.prose h2 { margin-top: 2.1em; font-size: var(--fs-h2); }
.prose h3 { margin-top: 1.6em; font-family: var(--font-sans); font-size: var(--fs-h3); }
.prose ul { margin: 0 0 1.3em; }
.prose ul li { position: relative; padding-left: 1.3rem; margin-bottom: .5rem; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .66em;
  width: 6px; height: 6px; background: var(--teal); border-radius: 50%;
}
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin-block: 1.6rem; }
.prose a { color: var(--teal); }
.prose a:hover { text-decoration: underline; }
.prose blockquote {
  margin: 1.6rem 0; padding: 1rem 1.4rem;
  border-left: 3px solid var(--clay); background: var(--sand-200); font-size: .95rem;
}
.prose blockquote p:last-child { margin: 0; }

/* ── 空状态 ────────────────────────────────────────────── */
.empty {
  padding: 3rem 1.5rem; text-align: center;
  border: 1px dashed var(--line); border-radius: var(--radius); background: #fff;
}
.empty h3 { font-family: var(--font-sans); font-size: 1rem; margin-bottom: .4rem; }
.empty p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }

/* ── 分页 ──────────────────────────────────────────────── */
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.6rem; }
.pager a, .pager span {
  min-width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px;
  font-size: .85rem; background: #fff;
}
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ── 小数据条 ──────────────────────────────────────────── */
.mini-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); margin-block: 2rem;
}
.mini-stats div { background: #fff; padding: 1.15rem; text-align: center; }
.mini-stats b {
  display: block; font-family: var(--font-display);
  font-size: 1.55rem; color: var(--forest); line-height: 1.2;
}
.mini-stats span { font-size: var(--fs-xs); color: var(--muted); }

/* ── 分类入口块 ────────────────────────────────────────── */
.catblock {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.catblock a { background: #fff; padding: 1.3rem 1.05rem; display: block; transition: background .18s; }
.catblock a:hover { background: var(--teal-050); }
.catblock em {
  display: block; font-style: normal; font-size: .67rem; font-weight: 700;
  color: var(--clay); letter-spacing: .07em; margin-bottom: .5rem;
}
.catblock b { display: block; font-size: .9rem; color: var(--ink); margin-bottom: .3rem; }
.catblock span { font-size: var(--fs-xs); color: var(--muted); }

/* ── 侧栏两栏布局 ──────────────────────────────────────── */
.with-side { display: grid; grid-template-columns: 236px 1fr; gap: clamp(26px, 3.5vw, 52px); align-items: start; }
/* 联系页：左侧说明卡片占宽列，右侧联系方式为窄列 */
.with-side--flip { grid-template-columns: 1fr 236px; }
.side { position: sticky; top: 92px; }
.side h4 {
  font-family: var(--font-sans); font-size: .77rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .9rem;
}
.side li { border-bottom: 1px solid var(--line); }
.side a {
  display: flex; justify-content: space-between; gap: .6rem;
  padding: .7rem 0; font-size: .875rem; color: var(--ink-soft);
}
.side a:hover { color: var(--teal); }
.side a[aria-current] { color: var(--ink); font-weight: 600; }
.side a span { color: var(--muted); font-size: .75rem; }

/* ── 响应式补充 ────────────────────────────────────────── */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .catblock { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .with-side { grid-template-columns: 1fr; }
  .side { position: static; }
}
@media (max-width: 640px) {
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .catblock { grid-template-columns: repeat(2, 1fr); }
  .mini-stats { grid-template-columns: 1fr; }
  .pcard__body { padding: .85rem; }
  .pcard h3 { font-size: .9rem; }
  .pagehead__meta { gap: .9rem; }
}

/* ── 产品线横向卡片（产品中心页）───────────────────────── */
.linelist { display: grid; gap: 22px; }
.lineitem {
  display: grid; grid-template-columns: 330px 1fr;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.lineitem:hover { box-shadow: var(--shadow-md); border-color: var(--sand-300); }
.lineitem__media { background: var(--sand-200); display: block; }
.lineitem__media img { width: 100%; height: 100%; object-fit: cover; }
.lineitem__body { padding: clamp(20px, 2.4vw, 32px); }
.lineitem__body h3 { margin-bottom: .45rem; font-size: clamp(1.2rem, 1.7vw, 1.42rem); }
.lineitem__body h3 a:hover { color: var(--teal); }
.lineitem__body > p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 1.15rem; max-width: 62ch; }
.lineitem__cats { display: flex; flex-wrap: wrap; gap: .45rem; }
.lineitem__cats a {
  font-size: .78rem; padding: .34rem .8rem;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--ink-soft); transition: border-color .16s, color .16s, background .16s;
}
.lineitem__cats a:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-050); }

@media (max-width: 780px) {
  .lineitem { grid-template-columns: 1fr; }
  .lineitem__media img { aspect-ratio: 16/9; }
}

/* ══════════════════════════════════════════════════════════
   区块标题 / 交替底色 / 能力卡片 / 步骤列表 / Hero 双栏
   用于中文站与供应链系列页
   ══════════════════════════════════════════════════════════ */
.sec__head { max-width: 64ch; margin-bottom: clamp(28px, 3.4vw, 44px); }
.sec__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.28;
  margin: 0 0 .6rem;
  letter-spacing: -.01em;
}
.sec__head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.78;
  max-width: 58ch;
}

.sec--alt { background: var(--sand-200); }

.feature {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  /* 卡片型 feature：拉伸铺满，避免各卡片高度/垂直位置不一致 */
  align-items: stretch;
}

/* 两列及以上时让每一行等高，四张卡片尺寸统一 */
@media (min-width: 901px) {
  .feature { grid-auto-rows: 1fr; }
}
.feature__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 30px);
  transition: border-color .18s, box-shadow .18s, transform .18s;
  /* 卡内纵向排列，链接统一吸底，避免各卡片留白不一致 */
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature__item > p:last-child:has(> a) { margin-top: auto; padding-top: .4rem; }
.feature__item:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature__item h3 { margin: 0 0 .5rem; font-size: 1.1rem; line-height: 1.4; }
.feature__item p { margin: 0 0 .6rem; font-size: var(--fs-sm); color: var(--muted); line-height: 1.75; }
.feature__item p:last-child { margin-bottom: 0; }
.feature__item a { font-weight: 500; }

.steps { counter-reset: st; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.steps li {
  position: relative; padding-left: 2.6rem; padding-block: .85rem;
  border-bottom: 1px dashed var(--line);
  line-height: 1.8;
}
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  counter-increment: st;
  content: counter(st);
  position: absolute;
  left: 0;
  top: .18rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 600;
}

.form__msg { scroll-margin-top: 6rem; }

.hero__text .lede { max-width: 48ch; }

/* ── 首页轮播（后台可配置，张数不限）───────────────────── */
.hero-slider__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand-200);
}
.hero-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  opacity: 0;
  transition: opacity .55s ease;
}
.hero-slider__img.is-active { opacity: 1; }

.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
  opacity: .82;
  transition: opacity .18s, background .18s;
}
.hero-slider__nav:hover { opacity: 1; background: #fff; }
.hero-slider__nav--prev { left: 12px; }
.hero-slider__nav--next { right: 12px; }

.hero-slider__dots {
  position: absolute;
  right: 16px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}
.hero-slider__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  transition: background .18s, transform .18s;
}
.hero-slider__dot.is-on { background: #fff; transform: scale(1.2); }

@media (max-width: 900px) {
  .hero-slider__stage { aspect-ratio: 16 / 11; }
  .hero-slider__nav { width: 32px; height: 32px; font-size: 1.25rem; }
  .hero-slider__nav--prev { left: 8px; }
  .hero-slider__nav--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__img { transition: none; }
}

/* ── 路由切换：顶部进度条 ─────────────────────────────── */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 9999;
  pointer-events: none;
  background: transparent;
}
.progress i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--clay);
  box-shadow: 0 0 6px rgba(0, 0, 0, .12);
}
.progress:not(.is-done) i {
  width: 78%;
  transition: width 1.4s cubic-bezier(.08, .62, .24, .99);
}
.progress.is-done i {
  width: 100%;
  transition: width .16s ease;
}

/* ── 路由切换：页面淡入 ───────────────────────────────── */
.page {
  min-height: 50vh;
}
.page-enter-active { transition: opacity .2s ease, transform .2s ease; }
.page-leave-active { transition: opacity .1s ease; }
.page-enter-from { opacity: 0; transform: translateY(8px); }
.page-leave-to { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .progress i { transition: none; }
  .page-enter-active, .page-leave-active { transition: none; }
  .page-enter-from { transform: none; }
}

/* ── 内容页图片组（关于我们等）────────────────────────── */
.prose-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.6rem 0;
}
.prose-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px;
  margin: 0;
}
@media (max-width: 640px) {
  .prose-gallery { grid-template-columns: 1fr; }
}
