/* ============================================================
   site.css —— 前台页面样式
   视觉基调：暖白纸感底 + 暖墨深色块，正红只用于强调与动作。
   ============================================================ */

/* ------------------------------------------------------------
   图片占位组件 .figure / .ph
   后台未填图片地址时显示占位框；填了地址自动换成真实图片。
   ------------------------------------------------------------ */
.figure {
  position: relative; margin: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #f5f0ea; aspect-ratio: var(--ratio, 4 / 3);
}
.figure > img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ph {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 20px;
  color: #a2988f;
  background-color: #f7f2ec;
  background-image:
    linear-gradient(rgba(194, 42, 47, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 42, 47, .045) 1px, transparent 1px);
  background-size: 26px 26px;
}
.ph::before {                          /* 四个角标记，像图纸定位框 */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  background:
    linear-gradient(var(--brand-line), var(--brand-line)) left top / 14px 1px no-repeat,
    linear-gradient(var(--brand-line), var(--brand-line)) left top / 1px 14px no-repeat,
    linear-gradient(var(--brand-line), var(--brand-line)) right top / 14px 1px no-repeat,
    linear-gradient(var(--brand-line), var(--brand-line)) right top / 1px 14px no-repeat,
    linear-gradient(var(--brand-line), var(--brand-line)) left bottom / 14px 1px no-repeat,
    linear-gradient(var(--brand-line), var(--brand-line)) left bottom / 1px 14px no-repeat,
    linear-gradient(var(--brand-line), var(--brand-line)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--brand-line), var(--brand-line)) right bottom / 1px 14px no-repeat;
  opacity: .85;
}
.ph svg { color: #cbbfb3; }
.ph__title { font-size: 13px; font-weight: 600; color: #857a71; letter-spacing: .02em; }
.ph__hint { font-size: 11.5px; color: #a89e94; line-height: 1.6; max-width: 24ch; }
.ph__tag {
  position: absolute; left: 18px; top: 16px;
  font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .16em;
  color: var(--brand); opacity: .75;
}

/* ---------------- 首页 Hero（浅色编辑风） ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #fdfbf8 0%, #f8f3ed 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero::before {                        /* 右上淡红晕，替代原来的深蓝底图 */
  content: ""; position: absolute; right: -8%; top: -34%;
  width: 62%; height: 150%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(194, 42, 47, .085), rgba(194, 42, 47, 0) 72%);
}
.hero::after {                         /* 极淡网格，给工程质感 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(30, 26, 23, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 26, 23, .028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(105deg, transparent 30%, #000 78%);
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 78%);
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 60px; align-items: center;
  padding-top: 78px; padding-bottom: 118px;
}
.hero__text { max-width: 620px; }
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .16em; color: var(--brand);
  font-weight: 700; margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: ""; display: block; width: 26px; height: 2px; background: var(--brand);
}
.hero__title {
  font-size: clamp(33px, 3.9vw, 50px); line-height: 1.2;
  color: var(--ink); letter-spacing: -.025em; margin-bottom: 22px;
}
.hero__title em { font-style: normal; color: var(--brand); }
.hero__desc { font-size: 16.5px; color: var(--ink-2); max-width: 46ch; margin-bottom: 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__points {
  display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 32px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__points li {
  position: relative; padding-left: 14px;
  font-size: 13px; color: var(--muted);
}
.hero__points li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}

.hero__figure { display: flex; flex-direction: column; gap: 14px; }
.hero__figure .figure { --ratio: 5 / 4; box-shadow: var(--shadow); }
.hero__figure-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  font-size: 12.5px; color: var(--muted);
}
.hero__figure-foot span { display: inline-flex; align-items: center; gap: 7px; }
.hero__figure-foot i {
  display: block; width: 18px; height: 2px; background: var(--brand); font-style: normal;
}

/* ---------------- 信任条（叠在 Hero 下沿） ---------------- */
.trustbar-wrap { margin-top: -52px; position: relative; z-index: 3; }
.trustbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.trustbar__item {
  padding: 24px 28px; border-left: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 2px;
}
.trustbar__item:first-child { border-left: 0; }
.trustbar__num {
  font-size: 30px; font-weight: 800; color: var(--ink);
  letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.15;
}
.trustbar__num i { font-style: normal; font-size: 14px; font-weight: 600; color: var(--brand); margin-left: 4px; }
.trustbar__num--text { font-size: 20px; padding-top: 9px; letter-spacing: 0; }
.trustbar__label { font-size: 13px; color: var(--muted); }

/* ---------------- Section 基础 ---------------- */
.section { padding: 88px 0; }
.section--paper { background: var(--paper); }
.section--tint { background: var(--tint); }
.section--tight { padding: 64px 0; }
.section__head { margin-bottom: 40px; max-width: 720px; }
.section__head--row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; max-width: none;
}
.section__kicker {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--brand); margin-bottom: 12px;
}
.section__title { font-size: clamp(23px, 2.4vw, 31px); color: var(--ink); margin-bottom: 10px; letter-spacing: -.02em; }
.section__sub { color: var(--muted); margin: 0; font-size: 15px; }
.link-arrow { font-size: 14px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.link-arrow:hover { color: var(--brand-dark); }

/* ---------------- 两栏图文（公司简介） ---------------- */
.split {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 64px; align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__body p { color: var(--ink-2); line-height: 1.85; margin: 0 0 14px; }
.split__body .btn, .split__body .link-arrow { margin-top: 10px; }
.split__media .figure { --ratio: 4 / 3; }
.split__media-caption {
  margin: 12px 0 0; font-size: 12.5px; color: #9a9089;
  display: flex; align-items: center; gap: 8px;
}
.split__media-caption::before {
  content: ""; width: 16px; height: 1px; background: var(--brand-line);
}
.split__list { margin: 6px 0 18px; }
.split__list li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: 14.5px; color: var(--ink-2);
}
.split__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border: 1.5px solid var(--brand); border-radius: 1px;
}

/* ---------------- 企业宗旨（深色块） ---------------- */
.creed {
  position: relative; overflow: hidden;
  background: var(--deep); color: #fff; padding: 92px 0;
}
.creed::before {
  content: ""; position: absolute; right: -10%; top: -46%;
  width: 60%; height: 170%;
  background: radial-gradient(closest-side, rgba(194, 42, 47, .30), rgba(194, 42, 47, 0) 70%);
}
.creed__inner { position: relative; z-index: 1; }
.creed__label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; color: #e8a29d;
  margin-bottom: 26px;
}
.creed__label::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.creed__quote {
  font-size: clamp(20px, 2.2vw, 27px); line-height: 1.65; color: #fff;
  font-weight: 600; letter-spacing: -.01em; max-width: 34ch; margin: 0 0 44px;
}
.creed__quote b { color: #f0a8a3; font-weight: 700; }
.creed__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 34px;
}
.creed__item { padding: 0 34px; border-left: 1px solid rgba(255, 255, 255, .12); }
.creed__item:first-child { padding-left: 0; border-left: 0; }
.creed__item h3 {
  font-size: 15px; color: #fff; margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.creed__item h3::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.creed__item p { font-size: 13.5px; color: #a79d95; margin: 0; line-height: 1.85; }

/* ---------------- 服务能力（四张卡） ---------------- */
.serve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.serve__card {
  position: relative; background: #fff; padding: 30px 26px 28px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.serve__card::before {
  content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.serve__card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-3px); }
.serve__card:hover::before { transform: scaleX(1); }
.serve__idx {
  font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: .12em;
  color: var(--brand); display: block; margin-bottom: 16px;
}
.serve__card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.serve__card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin: 0; }

/* ---------------- 交替图文（制造 / 质量） ---------------- */
.showcase { display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center; }
.showcase + .showcase { margin-top: 72px; }
.showcase--reverse .showcase__media { order: 2; }
.showcase__media .figure { --ratio: 4 / 3; }
.showcase__body .section__kicker { margin-bottom: 10px; }
.showcase__body h3 { font-size: clamp(20px, 2.2vw, 27px); color: var(--ink); margin-bottom: 14px; }
.showcase__body p { color: var(--ink-2); line-height: 1.85; margin: 0 0 16px; }
.showcase__list li {
  position: relative; padding-left: 20px; margin-bottom: 9px;
  font-size: 14.5px; color: var(--ink-2);
}
.showcase__list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}

/* ---------------- 资质证书：1 : 1.42 竖版「一叠纸」 ----------------
   主图在上，第二张当纸背错位露出边；有第二张时挂「2 张」徽标。
   比例靠 --ratio 控制，改比例只改这一个变量即可。               */
.cred__certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert { display: flex; flex-direction: column; gap: 12px; }
.cert__deck { position: relative; }

.cert__card {
  position: relative; z-index: 2; display: block; width: 100%;
  margin: 0; padding: 0; overflow: hidden;
  aspect-ratio: var(--ratio, 1 / 1.42);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  font: inherit; color: inherit; text-align: center; cursor: zoom-in; appearance: none;
  transition: box-shadow .28s ease, transform .28s ease;
}
.cert__card.is-empty { cursor: default; }
.cert__card > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}

/* 纸背：只露边，不放图，读起来像一叠文件而不是第二张图 */
.cert__sheet {
  position: absolute; z-index: 1; inset: 0;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 8px 18px rgba(30, 26, 23, .07), 0 0 0 1px rgba(231, 224, 217, .7);
  transform: translate(8px, 11px) rotate(.6deg);
  transition: transform .32s ease, box-shadow .32s ease;
}

.cert:hover .cert__card { box-shadow: var(--shadow); transform: translateY(-3px); }
.cert:hover .cert__card > img { transform: scale(1.02); }
.cert:hover .cert__sheet { transform: translate(13px, 17px) rotate(1.4deg); box-shadow: 0 14px 26px rgba(30, 26, 23, .10), 0 0 0 1px rgba(231, 224, 217, .7); }

.cert__badge {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--brand);
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-sm);
}
.cert__badge svg { display: block; }

.cert__zoom {
  position: absolute; left: 50%; bottom: 12px; z-index: 3;
  transform: translate(-50%, 8px);
  padding: 6px 13px; border-radius: 999px;
  background: rgba(30, 26, 23, .74); color: #fbf9f6;
  font-size: 11.5px; letter-spacing: .06em; white-space: nowrap;
  opacity: 0; pointer-events: none;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.cert__card:hover .cert__zoom,
.cert__card:focus-visible .cert__zoom { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .cert__zoom { display: none; } }

.cert__name { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }

/* ---------------- 证书灯箱 ---------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 80px;
  background: rgba(24, 20, 18, .95);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity .22s ease, visibility .22s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__stage {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: min(92vw, 600px);
}
.lightbox__stage img {
  max-width: 100%; max-height: 78vh; width: auto; height: auto;
  border-radius: 8px; background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
  transform: scale(.985);
  transition: transform .26s ease;
}
.lightbox.is-open .lightbox__stage img { transform: scale(1); }
.lightbox__cap {
  margin: 0; color: rgba(251, 249, 246, .84);
  font-size: 13px; letter-spacing: .08em;
}
.lightbox__count {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(251, 249, 246, .62); font-size: 12px; letter-spacing: .2em;
}
.lightbox__btn {
  position: absolute; z-index: 2;
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(251, 249, 246, .26); border-radius: 50%;
  background: rgba(251, 249, 246, .08); color: #fbf9f6;
  cursor: pointer; appearance: none;
  transition: background .2s ease, border-color .2s ease;
}
.lightbox__btn:hover { background: rgba(251, 249, 246, .2); border-color: rgba(251, 249, 246, .5); }
.lightbox__btn[hidden] { display: none; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
body.is-locked { overflow: hidden; }

.cred__logos {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--line);
}
.logo-ph {
  aspect-ratio: 5 / 2; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line); border-radius: 8px; background: #fff;
  font-size: 12px; color: #b0a69d; letter-spacing: .04em;
}

/* ---------------- 设备目录（首页靠后） ---------------- */
.catalog__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  display: inline-block; padding: 7px 15px; border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; color: var(--ink-2); background: #fff;
  transition: all .15s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.chip.is-empty { color: var(--muted); border-style: dashed; cursor: default; }
.catalog__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 34px; flex-wrap: wrap;
}
.catalog__count { font-size: 13.5px; color: var(--muted); }
.catalog__count strong { color: var(--ink); font-size: 15px; }

/* ---------------- 产品卡片 ---------------- */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.pcard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: border-color .18s, box-shadow .18s, transform .18s;
}
.pcard:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__media {
  aspect-ratio: 4 / 3; background: #f7f2ec; display: grid; place-items: center;
  overflow: hidden; border-bottom: 1px solid var(--line-soft);
}
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__ph {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #a2988f; font-size: 12.5px; letter-spacing: .04em;
}
.pcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard__name { font-size: 16px; line-height: 1.5; margin-bottom: 6px; color: var(--ink); }
.pcard__model {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px; color: var(--muted); margin-bottom: 10px; letter-spacing: .02em;
}
.pcard__desc {
  font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard__more { margin-top: auto; font-size: 13.5px; font-weight: 600; color: var(--brand); display: inline-flex; gap: 4px; }
.pcard:hover .pcard__more { color: var(--brand-dark); }
.pcard__more--muted { color: #b6aca3; font-weight: 500; }
.pcard--empty { opacity: .8; }
.pcard--empty:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* ---------------- 优势卡（内页用） ---------------- */
.adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv__card {
  position: relative; padding: 30px 26px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.adv__card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.adv__icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  border-radius: 10px; margin-bottom: 18px;
}
.adv__card h3 { font-size: 16.5px; color: var(--ink); margin-bottom: 8px; }
.adv__card p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin: 0; }

/* ---------------- 数据带（内页用） ---------------- */
.band {
  background: var(--deep); color: #fff;
  position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; right: -6%; top: -80%;
  width: 48%; height: 240%;
  background: radial-gradient(closest-side, rgba(194, 42, 47, .22), rgba(194, 42, 47, 0) 72%);
}
.band__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 44px; padding-bottom: 44px;
}
.band__item { padding: 4px 26px; border-left: 1px solid rgba(255, 255, 255, .12); }
.band__item:first-child { border-left: 0; padding-left: 0; }
.band__num {
  display: block; min-height: 44px;
  font-size: 33px; font-weight: 800; letter-spacing: -.03em;
  font-variant-numeric: tabular-nums; line-height: 1.15; color: #fff;
}
.band__num i { font-style: normal; font-size: 14px; font-weight: 600; color: #e8a29d; margin-left: 4px; }
.band__num--text { padding-top: 10px; font-size: 21px; font-weight: 700; letter-spacing: 0; line-height: 1.5; }
.band__label { display: block; margin-top: 6px; font-size: 13px; color: #a79d95; }

/* ---------------- 服务流程（内页编号四步） ---------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: flow; }
.flow__step { position: relative; padding: 0 28px 0 0; }
.flow__step + .flow__step { padding-left: 28px; border-left: 1px solid var(--line); }
.flow__idx {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line);
  font-size: 14px; font-weight: 700;
  font-variant-numeric: tabular-nums; margin-bottom: 16px;
}
.flow__step h3 { font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.flow__step p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin: 0; }

/* ---------------- CTA ---------------- */
.cta { background: #201b18; color: #fff; position: relative; overflow: hidden; }
.cta::after {
  content: ""; position: absolute; right: -4%; top: -110%;
  width: 44%; height: 300%;
  background: radial-gradient(closest-side, rgba(194, 42, 47, .26), rgba(194, 42, 47, 0) 70%);
}
.cta__inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; padding-top: 56px; padding-bottom: 56px;
}
.cta h2 { font-size: 24px; margin-bottom: 8px; }
.cta p { margin: 0; color: #a79d95; max-width: 56ch; }
.cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------------- 内页页头（背景大图 + 面包屑） ---------------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  display: flex; align-items: flex-end;
  min-height: 340px; padding: 76px 0 46px;
  background-color: #191513;
  background-repeat: no-repeat; background-position: center 38%; background-size: cover;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 16, 14, .94) 0%, rgba(20, 16, 14, .74) 44%,
                    rgba(20, 16, 14, .22) 80%, rgba(20, 16, 14, .40) 100%),
    linear-gradient(180deg, rgba(20, 16, 14, .55) 0%, rgba(20, 16, 14, 0) 46%, rgba(20, 16, 14, .60) 100%);
}
.page-hero__inner { position: relative; z-index: 1; width: 100%; }
.page-hero--products { background-image: url("../img/hero/products.webp"); }
.page-hero--service  { background-image: url("../img/hero/service.webp"); }
.page-hero--about    { background-image: url("../img/hero/about.webp"); }
.page-hero--contact  { background-image: url("../img/hero/contact.webp"); }
.page-hero--slim { min-height: 200px; padding: 44px 0 28px; }

.page-hero__title {
  font-size: clamp(26px, 3.2vw, 40px); color: #fff;
  letter-spacing: -.02em; margin: 2px 0 10px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, .30);
}
.page-hero__sub { color: #c3b8b0; margin: 0; max-width: 66ch; font-size: 15.5px; }
.page-hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px 30px;
  margin: 20px 0 0; font-size: 13.5px; color: #a79d95;
}
.page-hero__meta li { display: flex; align-items: baseline; gap: 6px; }
.page-hero__meta b {
  font-size: 18px; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}

/* 深色页头里的面包屑配色 */
.page-hero .crumb { padding: 0 0 14px; color: #9c9189; }
.page-hero .crumb a { color: #bdb2aa; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero .crumb span { color: #6d635c; }
.page-hero .crumb em { color: #fff; font-style: normal; max-width: 46ch; display: inline-block; vertical-align: bottom; }

/* ---------------- 产品中心 ---------------- */
.products-layout {
  display: grid; grid-template-columns: 236px 1fr; gap: 32px;
  padding-top: 36px; padding-bottom: 80px; align-items: start;
}
.side {
  position: sticky; top: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.side__head {
  padding: 14px 18px; font-weight: 700; font-size: 14px;
  border-bottom: 1px solid var(--line); background: var(--paper); color: var(--ink);
}
.side__tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.side__tab {
  padding: 11px 6px; background: #fff; border: 0; font-size: 13.5px;
  color: var(--muted); font-weight: 600; border-bottom: 2px solid transparent;
}
.side__tab.is-active { color: var(--brand); border-bottom-color: var(--brand); background: var(--brand-soft); }
.side__group { padding: 8px 0; }
.side__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 18px; font-size: 14px; color: var(--ink-2); border-left: 2px solid transparent;
}
.side__link:hover { background: var(--tint); color: var(--brand); }
.side__link.is-active { color: var(--brand); font-weight: 600; background: var(--brand-soft); border-left-color: var(--brand); }
.side__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.side__empty { display: block; padding: 10px 18px; font-size: 13px; color: var(--muted); }
.side__contact {
  padding: 18px; border-top: 1px solid var(--line); background: var(--paper); text-align: center;
}
.side__contact p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.side__phone {
  display: block; font-size: 19px; font-weight: 700; color: var(--brand);
  margin-bottom: 12px; letter-spacing: -.01em;
}

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.toolbar__count { margin: 0; font-size: 13.5px; color: var(--muted); }
.toolbar__count strong { color: var(--ink); font-size: 15px; }
.search { display: flex; gap: 0; }
.search__input {
  width: 240px; padding: 9px 12px; border: 1px solid var(--line);
  border-right: 0; border-radius: var(--radius) 0 0 var(--radius); font-size: 14px;
}
.search__input:focus { outline: none; border-color: var(--brand); }
.search__btn {
  padding: 9px 18px; background: var(--brand); color: #fff; border: 1px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 14px;
}
.search__btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.pager { display: flex; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager__btn, .pager__num {
  min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 14px; color: var(--ink-2); background: #fff;
}
.pager__btn:hover, .pager__num:hover { border-color: var(--brand); color: var(--brand); }
.pager__num.is-active { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pager__btn.is-disabled { color: #c3b8b0; cursor: not-allowed; background: var(--paper); }
.pager__gap { color: var(--muted); padding: 0 4px; }

/* ---------------- 产品详情 ---------------- */
.detail { padding-bottom: 0; }
.detail__top {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px;
  padding-top: 12px; padding-bottom: 52px;
}
.gallery__main {
  aspect-ratio: 4 / 3; background: #f7f2ec; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; display: grid; place-items: center;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery__ph { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #a2988f; font-size: 13px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb {
  width: 76px; height: 60px; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: #fff;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(194, 42, 47, .14); }

.detail__title { font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); margin-bottom: 10px; }
.detail__meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.detail__meta strong { color: var(--ink); font-family: ui-monospace, monospace; }
.detail__summary {
  font-size: 15px; color: var(--ink-2); background: var(--tint);
  border-left: 3px solid var(--brand); padding: 14px 16px; margin-bottom: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.detail__quick {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px;
}
.detail__quick li {
  display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px;
  font-size: 13.5px; border-bottom: 1px solid var(--line-soft);
}
.detail__quick li:nth-child(odd) { border-right: 1px solid var(--line-soft); }
.detail__quick li:nth-last-child(-n+2) { border-bottom: 0; }
.detail__quick span { color: var(--muted); }
.detail__quick strong { color: var(--ink); font-weight: 600; text-align: right; }
.detail__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.detail__note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.detail__note > span { margin-right: 4px; }

.detail__body {
  display: grid; grid-template-columns: 1fr 360px; gap: 44px;
  padding-bottom: 60px; align-items: start;
}
.block { padding: 28px 0; border-top: 1px solid var(--line); }
.block:first-child { border-top: 0; padding-top: 0; }
.block__title {
  font-size: 20px; color: var(--ink); margin-bottom: 16px; position: relative; padding-left: 14px;
}
.block__title::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 5px;
  width: 3px; background: var(--brand); border-radius: 2px;
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.spec-table th, .spec-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.spec-table thead th {
  background: var(--deep); color: #fff; font-weight: 600; font-size: 13.5px; letter-spacing: .03em;
}
.spec-table tbody th { width: 38%; color: var(--ink-2); font-weight: 500; background: var(--paper); }
.spec-table tbody td { color: var(--ink); }
.spec-table tbody tr:nth-child(even) th,
.spec-table tbody tr:nth-child(even) td { background: #faf6f2; }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }
.table-hint { font-size: 12.5px; color: var(--muted); margin-top: 10px; }

.inquiry-card {
  position: sticky; top: 20px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.inquiry-card__title { font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.inquiry-card__sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

.related { border-radius: var(--radius-lg); padding: 44px 34px; margin-bottom: 0; }

/* ---------------- 联系我们 ---------------- */
.contact { padding-top: 36px; padding-bottom: 80px; }
.contact__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 44px; }
.ccard {
  display: flex; flex-direction: column; gap: 6px; padding: 24px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: border-color .18s, box-shadow .18s;
}
a.ccard:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.ccard__label { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.ccard__value { font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.ccard__value--sm { font-size: 15px; line-height: 1.55; }
.ccard__hint { font-size: 12px; color: #9a9089; }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contact__map {
  min-height: 420px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; background: var(--tint);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-ph {
  min-height: 420px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 8px; color: #a2988f; text-align: center; padding: 24px;
  background-image:
    linear-gradient(#efe7e0 1px, transparent 1px),
    linear-gradient(90deg, #efe7e0 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-ph p { margin: 6px 0 0; color: #6f6862; font-weight: 600; }
.map-ph small { font-size: 12px; }

/* ---------------- 地图卡片 ---------------- */
.map-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden;
}
.map-card__fig {
  display: block; position: relative; background: var(--tint);
  aspect-ratio: 16 / 9;
}
.map-card__fig img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.map-card__badge {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(27, 23, 21, .82); color: #fff;
  font-size: 12px; padding: 5px 10px; border-radius: 999px;
  letter-spacing: .02em;
}
.map-card__fig--ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: #a2988f; text-align: center; padding: 24px;
  aspect-ratio: 16 / 7;
  background-image:
    linear-gradient(#efe7e0 1px, transparent 1px),
    linear-gradient(90deg, #efe7e0 1px, transparent 1px);
  background-size: 32px 32px;
}
.map-card__frame {
  position: relative; aspect-ratio: 16 / 9; background: var(--tint);
}
.map-card__frame iframe { position: absolute; inset: 0; }
.map-card__fig--ph strong { color: var(--ink); font-size: 15px; }
.map-card__fig--ph span { font-size: 13px; }
.map-card__body { padding: 16px 18px 18px; }
.map-card__addr {
  display: flex; align-items: flex-start; gap: 6px;
  margin: 0 0 12px; color: var(--ink); font-size: 14px; line-height: 1.65;
}
.map-card__addr svg { flex: none; margin-top: 3px; color: var(--brand); }
.map-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.map-card__hint { margin: 10px 0 0; color: #9a9089; font-size: 12.5px; }
.contact__form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
}
.contact__form .block__title { margin-bottom: 8px; }

/* ---------------- 错误页 ---------------- */
.error-page { text-align: center; padding: 96px 24px 116px; }
.error-page__code {
  font-size: clamp(64px, 12vw, 130px); font-weight: 800; line-height: 1;
  color: #f0e6de; letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.error-page__title { font-size: 22px; color: var(--ink); margin: 8px 0 10px; }
.error-page__hint { color: var(--muted); }
.error-page__actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; }

/* ---------------- 常见问题（原生 details 折叠，无 JS） ---------------- */
/* 用 <details> 而不是 JS 折叠：键盘可达、搜索引擎能读到内容、禁用 JS 也能展开 */
.faq { max-width: 880px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 2px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; color: var(--ink);
  transition: color .18s;
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after {
  content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1;
  color: var(--brand); transition: transform .22s;
}
.faq__item[open] > summary { color: var(--brand); }
.faq__item[open] > summary::after { content: "−"; }
.faq__item > summary:hover { color: var(--brand); }
.faq__item > p {
  margin: 0 0 20px; padding-right: 44px;
  color: var(--ink-2); font-size: 14.5px; line-height: 1.85; max-width: 76ch;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; }
  .footer__col:nth-child(3) { display: none; }
  .detail__body { grid-template-columns: 1fr 320px; gap: 28px; }
  .hero__inner { gap: 44px; }
  .split, .showcase { gap: 44px; }
  .cred__logos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .header__main { height: 72px; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 16px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 8px; border-bottom: 1px solid var(--line-soft); }
  .nav a.is-active::after { display: none; }
  .nav__cta { margin: 12px 0 0; text-align: center; }
  .header__main { position: relative; }
  .header__hours { display: none; }

  .hero__inner {
    grid-template-columns: 1fr; gap: 36px;
    padding-top: 56px; padding-bottom: 96px;
  }
  .hero__text { max-width: none; }
  .hero__figure { max-width: 520px; }
  .trustbar-wrap { margin-top: -40px; }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
  .trustbar__item { padding: 20px 22px; }
  .trustbar__item:nth-child(odd) { border-left: 0; }
  .trustbar__item:nth-child(n + 3) { border-top: 1px solid var(--line-soft); }

  .split, .showcase { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media,
  .showcase--reverse .showcase__media { order: 0; }
  .showcase + .showcase { margin-top: 48px; }
  .serve { grid-template-columns: repeat(2, 1fr); }
  .cred__certs { grid-template-columns: repeat(2, 1fr); }
  .cred__logos { grid-template-columns: repeat(3, 1fr); }
  .creed { padding: 64px 0; }
  .creed__grid { grid-template-columns: 1fr; gap: 24px; }
  .creed__item, .creed__item:first-child {
    padding: 0 0 0 16px; border-left: 1px solid rgba(255, 255, 255, .12);
  }
  .creed__quote { margin-bottom: 32px; }

  .page-hero { min-height: 260px; padding: 56px 0 34px; }
  .page-hero--slim { min-height: 164px; padding: 34px 0 22px; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .band__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .band__item { padding: 4px 20px; }
  .band__item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .band__item:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .flow__step:nth-child(3) { padding-left: 0; border-left: 0; }
  .section { padding: 60px 0; }
  .section--tight { padding: 48px 0; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .contact__cards { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map, .map-ph { min-height: 300px; }

  .products-layout { grid-template-columns: 1fr; gap: 20px; }
  .side { position: static; }
  .side__group { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px; }
  .side__link { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
  .side__link.is-active { border-color: var(--brand); }
  .side__contact { display: none; }

  .detail__top { grid-template-columns: 1fr; gap: 28px; }
  .detail__body { grid-template-columns: 1fr; }
  .inquiry-card { position: static; }
  .related { padding: 28px 20px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 18px; }
  .header__top-inner { height: auto; padding-top: 6px; padding-bottom: 6px; }
  .header__top-inner > span:first-child { display: none; }
  .header__top-right { width: 100%; justify-content: center; }
  .logo__text strong { font-size: 16.5px; }
  .logo__mark { width: 34px; height: 34px; font-size: 19px; }

  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 42px; padding-bottom: 84px; }
  .hero__title { font-size: 30px; }
  .hero__desc { font-size: 15.5px; }
  .hero__points { gap: 6px 16px; }
  .trustbar-wrap { margin-top: -32px; }
  .trustbar__item { padding: 18px 16px; }
  .trustbar__num { font-size: 25px; }
  .trustbar__num--text { font-size: 17px; padding-top: 6px; }
  .serve { grid-template-columns: 1fr; }
  .cred__certs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cred__logos { grid-template-columns: repeat(2, 1fr); }

  /* 灯箱在窄屏收起留白，按钮改小挪到角上，避免压住图片 */
  .lightbox { padding: 64px 12px; }
  .lightbox__stage { max-width: 100%; }
  .lightbox__stage img { max-height: 68vh; }
  .lightbox__btn { width: 38px; height: 38px; }
  .lightbox__close { top: 14px; right: 14px; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__count { top: 18px; }
  .creed__quote { font-size: 20px; }

  .page-hero { min-height: 210px; padding: 44px 0 28px; }
  .page-hero__meta { gap: 6px 18px; font-size: 12.5px; }
  .page-hero__meta b { font-size: 16px; }
  .adv, .flow, .band__grid { grid-template-columns: 1fr; }
  .band__item { border-left: 0; padding: 14px 0; }
  .band__item:nth-child(n + 2) { border-top: 1px solid rgba(255,255,255,.12); }
  .flow__step, .flow__step + .flow__step { padding: 0; border-left: 0; }
  .cta__inner { flex-direction: column; align-items: flex-start; padding-top: 40px; padding-bottom: 40px; }
  .section__head--row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .catalog__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .search__input { width: 100%; }
  .contact__cards { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .detail__quick { grid-template-columns: 1fr; }
  .detail__quick li:nth-child(odd) { border-right: 0; }
  .detail__quick li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .detail__quick li:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; padding: 40px 18px 28px; }
  .footer__col:nth-child(3) { display: block; }
  .footer__bottom .wrap { flex-direction: column; gap: 6px; }
  .inquiry-card, .contact__form { padding: 20px 18px; }
  .block__title { font-size: 18px; }
  .spec-table { font-size: 13px; min-width: 0; }
  .spec-table th, .spec-table td { padding: 9px 11px; }
  .pcard__desc { -webkit-line-clamp: 3; }
  .ph__hint { display: none; }
  .faq__item > summary { font-size: 15px; padding: 16px 2px; gap: 14px; }
  .faq__item > p { padding-right: 0; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
