/* ============================================================
   志德晟智能制造 · 官网设计系统 v3「工业编辑风」
   Ink + Paper 基底 / 品牌蓝 / 加工橙 / 硬边 / 细线 / 大字排版
   ============================================================ */

:root {
  /* 色彩 */
  --ink: #0e1620;
  --ink-2: #16212e;
  --ink-3: #1e2b3a;
  --paper: #f5f4f0;
  --paper-2: #eceae3;
  --white: #ffffff;
  --blue: #0b57a4;
  --blue-lt: #2a7cc9;
  --accent: #e2661f;
  --accent-lt: #f08344;
  --muted: #6b7785;
  --muted-2: #98a1ab;
  --text: #33404d;
  --line: #dcdcd6;
  --line-2: #e7e6e1;
  --line-dark: rgba(255, 255, 255, .14);

  /* 排版 */
  --f-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Consolas", "SFMono-Regular", "Menlo", monospace;

  /* 间距节奏（8pt） */
  --sp-1: 8px; --sp-2: 16px; --sp-3: 24px; --sp-4: 32px;
  --sp-5: 36px; --sp-6: 48px; --sp-7: 64px;
  --wrap: 1240px;

  /* 动效 */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--sp-4); }

/* 通用文字层级 */
.kicker {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.muted { color: var(--muted); }
.mono { font-family: var(--f-mono); letter-spacing: .08em; }

/* ============================================================
   顶部信息条 + 头部导航
   ============================================================ */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar .wrap { height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar .dot { width: 6px; height: 6px; background: var(--accent); display: inline-block; margin-right: 8px; vertical-align: 1px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(14, 22, 32, .08); }
.site-header .wrap { height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.brand .brand-txt { border-left: 1px solid var(--line); padding-left: 14px; line-height: 1.35; }
.brand .brand-txt strong { display: block; font-size: 16px; letter-spacing: .06em; color: var(--ink); font-weight: 700; }
.brand .brand-txt span { display: block; font-family: var(--f-mono); font-size: 9px; letter-spacing: .16em; color: var(--muted-2); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: #3d4a58;
  white-space: nowrap;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav a.on { color: var(--ink); font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-cta .tel { text-align: right; line-height: 1.3; }
.header-cta .tel small { display: block; font-family: var(--f-mono); font-size: 10px; letter-spacing: .12em; color: var(--muted-2); }
.header-cta .tel strong { font-family: var(--f-mono); font-size: 17px; letter-spacing: .02em; color: var(--ink); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px;
  font-size: 14px; letter-spacing: .08em;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  border-radius: 2px;
  transition: background .25s, border-color .25s, transform .15s;
}
.btn:hover { background: var(--accent-lt); border-color: var(--accent-lt); }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); border-color: var(--ink-3); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--ink);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(440px, 60vh, 560px);
  display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(10,18,28,.45) 0%, rgba(10,18,28,.72) 62%, rgba(10,18,28,.94) 100%),
              url('../images/machine-gantry.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 1px, transparent 1px 120px);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 0; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hero-kicker .line { width: 54px; height: 1px; background: var(--accent); }
.hero-kicker span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .22em; color: rgba(255,255,255,.72); text-transform: uppercase; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.14;
  letter-spacing: -.01em;
  font-weight: 700;
  max-width: 15em;
  text-wrap: pretty;
}
.hero h1 em { font-style: normal; color: #ffb27a; }
.hero .lead {
  margin-top: 16px;
  max-width: 44em;
  font-size: 16px;
  color: rgba(255,255,255,.78);
}
.hero .hero-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,.18);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-stats div { padding: 16px 20px 18px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats b { display: block; font-family: var(--f-mono); font-size: 26px; letter-spacing: -.01em; color: #fff; font-weight: 700; line-height: 1.2; }
.hero-stats b i { font-style: normal; font-size: 14px; color: var(--accent-lt); margin-left: 3px; letter-spacing: .04em; }
.hero-stats span { display: block; margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: .06em; }

/* 子页 Hero */
.page-hero {
  position: relative;
  min-height: 280px;
  display: flex; align-items: flex-end;
  background: linear-gradient(180deg, rgba(10,18,28,.5) 0%, rgba(10,18,28,.86) 100%),
              url('../images/machine-gantry.jpg') center/cover no-repeat;
  color: #fff;
}
.page-hero .wrap { padding-top: 72px; padding-bottom: 32px; }
.page-hero .kicker { color: #ffb27a; margin-bottom: 14px; }
.page-hero h1 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; letter-spacing: .01em; line-height: 1.2; }
.page-hero p { margin-top: 10px; max-width: 52em; color: rgba(255,255,255,.72); font-size: 15px; }

/* 面包屑 */
.crumb {
  border-bottom: 1px solid var(--line-2);
  background: var(--paper);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--muted-2);
}
.crumb .wrap { height: 38px; display: flex; align-items: center; gap: 8px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb .sep { color: var(--line); }

/* ============================================================
   区块与标题
   ============================================================ */
.section { padding: var(--sp-7) 0; }
.section.tight { padding: var(--sp-6) 0; }
.section.dark { background: var(--ink); color: rgba(255,255,255,.72); }
.section.paper2 { background: var(--paper-2); }
.section.white { background: var(--white); }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: var(--sp-5); }
.sec-head .sec-title-wrap { max-width: 760px; }
.sec-label {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em;
  color: var(--muted-2); text-transform: uppercase; margin-bottom: 10px;
}
.sec-label b { color: var(--accent); font-weight: 400; }
.sec-label .rule { width: 40px; height: 1px; background: var(--line); }
.section.dark .sec-label { color: rgba(255,255,255,.45); }
.section.dark .sec-label .rule { background: rgba(255,255,255,.25); }

.sec-title {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.28;
  letter-spacing: -.01em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: pretty;
}
.section.dark .sec-title { color: #fff; }
.sec-desc { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 60em; }
.section.dark .sec-desc { color: rgba(255,255,255,.55); }
.sec-more {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em;
  color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 4px;
  white-space: nowrap; transition: color .2s, border-color .2s;
}
.sec-more:hover { color: var(--accent); border-color: var(--accent); }
.section.dark .sec-more { color: #fff; border-color: rgba(255,255,255,.5); }

/* ============================================================
   能力矩阵（无卡片，靠细线与留白）
   ============================================================ */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cap-item { padding: 24px 22px 28px 0; border-right: 1px solid var(--line); }
.cap-item:last-child { border-right: 0; }
.cap-item .cap-no { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: var(--accent); }
.cap-item h3 { margin: 12px 0 8px; font-size: 18px; color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.cap-item p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.cap-item .cap-ico { width: 30px; height: 30px; margin-top: 14px; stroke: var(--ink); fill: none; stroke-width: 1.3; }
.section.dark .cap-grid { border-top-color: var(--line-dark); }
.section.dark .cap-item { border-right-color: var(--line-dark); }
.section.dark .cap-item h3 { color: #fff; }
.section.dark .cap-item p { color: rgba(255,255,255,.55); }
.section.dark .cap-item .cap-ico { stroke: #fff; }

/* ============================================================
   图片网格（加工产品 / 设备）
   ============================================================ */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.media-grid.two { grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* 资质证书 */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cert-card {
  background: var(--white); border: 1px solid var(--line-2);
  display: flex; flex-direction: column;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.cert-card:hover { border-color: #c9c8c1; box-shadow: 0 18px 40px rgba(14,22,32,.10); transform: translateY(-3px); }
.cert-card .cert-pic {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 3; padding: 18px;
  background:
    linear-gradient(45deg, var(--paper-2) 25%, transparent 25%, transparent 75%, var(--paper-2) 75%),
    linear-gradient(45deg, var(--paper-2) 25%, transparent 25%, transparent 75%, var(--paper-2) 75%);
  background-size: 22px 22px; background-position: 0 0, 11px 11px;
  background-color: #fafaf8;
}
.cert-card .cert-pic img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; box-shadow: 0 8px 22px rgba(14,22,32,.14);
}
.cert-card .cert-body { padding: 16px 18px 18px; border-top: 1px solid var(--line-2); flex: 1; }
.cert-card .cert-tag { font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; color: var(--accent); }
.cert-card h3 { margin-top: 8px; font-size: 18px; color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.cert-card p { margin-top: 8px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.cert-card .cert-meta {
  margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--muted-2);
}
.cert-card .cert-meta b { color: var(--text); font-weight: 600; }
.cert-verify { margin-top: 10px; font-size: 12px; color: var(--muted-2); }
.cert-verify a { color: var(--blue); text-decoration: none; border-bottom: 1px solid transparent; }
.cert-verify a:hover { border-bottom-color: var(--blue); }
.media-grid.four { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.media-grid.four .media { aspect-ratio: 4 / 3; }
.media-grid.four .media-cap { padding: 18px 14px 14px; }
.media-grid.four .media-cap strong { font-size: 14px; }
.media-grid.four .media-cap em { font-size: 11.5px; }
.media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 3 / 2;
}
.media.wide { aspect-ratio: 16 / 9; }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.media:hover img { transform: scale(1.05); }
.media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(9,16,25,.82) 100%);
}
.media .media-cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 20px 18px 16px; color: #fff;
}
.media .media-no {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em;
  color: rgba(255,255,255,.6); display: block; margin-bottom: 6px;
}
.media .media-cap strong { display: block; font-size: 16px; letter-spacing: .02em; font-weight: 600; }
.media .media-cap em {
  display: block; font-style: normal; margin-top: 6px;
  font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.6;
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .4s var(--ease), opacity .3s;
}
.media:hover .media-cap em { max-height: 80px; opacity: 1; }

/* 设备条目（带规格行） */
.equip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
.equip-card { background: var(--white); border: 1px solid var(--line-2); transition: border-color .3s, box-shadow .3s, transform .3s; }
.equip-card:hover { border-color: #c9c8c1; box-shadow: 0 18px 40px rgba(14,22,32,.10); transform: translateY(-3px); }
.equip-card .media { aspect-ratio: 16 / 9; }
.equip-card .media::after { background: linear-gradient(180deg, transparent 60%, rgba(9,16,25,.55) 100%); }
.equip-card .equip-body { padding: 16px 18px 18px; }
.equip-card h3 { font-size: 17px; color: var(--ink); font-weight: 700; letter-spacing: .02em; }
.equip-card h3 b { color: var(--accent); font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; font-weight: 400; margin-right: 10px; }
.equip-card p { margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.8; }
.equip-card .spec-row {
  margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2);
  display: flex; gap: 22px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--muted-2);
}
.equip-card .spec-row b { color: var(--ink); font-weight: 600; }

/* ============================================================
   流程
   ============================================================ */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.flow-step { padding: 20px 18px 26px 0; border-right: 1px solid var(--line-dark); }
.flow-step:last-child { border-right: 0; }
.flow-step .no { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--accent-lt); }
.flow-step h3 { margin: 10px 0 6px; color: #fff; font-size: 16px; letter-spacing: .04em; }
.flow-step p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ============================================================
   数据 / 关于
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.about-grid .media { aspect-ratio: 4 / 3; }
.about-copy p { font-size: 15px; color: var(--muted); margin-top: 12px; line-height: 1.8; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.about-facts b { display: block; font-family: var(--f-mono); font-size: 26px; color: var(--ink); font-weight: 700; line-height: 1.2; }
.about-facts b i { font-style: normal; font-size: 12px; color: var(--accent); margin-left: 4px; }
.about-facts span { display: block; margin-top: 4px; font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }
.section.dark .about-copy p { color: rgba(255,255,255,.55); }
.section.dark .about-facts { border-top-color: var(--line-dark); }
.section.dark .about-facts b { color: #fff; }
.section.dark .about-facts span { color: rgba(255,255,255,.45); }

/* 大标语 CTA 区 */
.cta-band {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(100deg, rgba(10,18,28,.92), rgba(11,87,164,.72)), url('../images/cutter-machine.jpg') center/cover no-repeat;
  color: #fff;
}
.cta-band h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; font-weight: 700; max-width: 22em; text-wrap: pretty; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.7); max-width: 46em; font-size: 15px; }
.cta-band .cta-actions { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band .mono-note { margin-top: 16px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: rgba(255,255,255,.45); }

/* ============================================================
   表格
   ============================================================ */
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.spec-table thead th {
  text-align: left; padding: 10px 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em;
  color: var(--muted-2); font-weight: 400; text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
}
.spec-table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.spec-table tbody tr:hover td { background: rgba(11,87,164,.04); }
.spec-table tbody td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.spec-table tbody td.num { font-family: var(--f-mono); color: var(--ink); letter-spacing: .02em; }

/* ============================================================
   案例（图文交错）
   ============================================================ */
.case-item { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--line); }
.case-item:first-of-type { padding-top: 0; }
.case-item:last-of-type { border-bottom: 0; padding-bottom: 0; }
.case-item:nth-child(even) .case-media { order: 2; }
.case-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.case-item:hover .case-media img { transform: scale(1.04); }
.case-body .kicker { margin-bottom: 12px; }
.case-body h3 { font-size: 24px; color: var(--ink); line-height: 1.4; font-weight: 700; text-wrap: pretty; }
.case-body p { margin-top: 10px; color: var(--muted); line-height: 1.8; }
.case-meta { margin-top: 16px; display: flex; gap: 24px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.case-meta div { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted-2); }
.case-meta div b { display: block; margin-top: 4px; color: var(--ink); font-size: 13px; letter-spacing: .02em; }

/* ============================================================
   新闻
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-2); padding: 20px 20px 18px; min-height: 180px; transition: border-color .3s, transform .3s, box-shadow .3s; }
.news-card:hover { border-color: #c9c8c1; transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,22,32,.08); }
.news-card .nc-date { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--accent); }
.news-card h3 { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--ink); font-weight: 600; }
.news-card p { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.news-card .nc-more { margin-top: auto; padding-top: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; color: var(--muted-2); }

.empty-state {
  border: 1px dashed #c9c8c1;
  padding: 40px 24px;
  text-align: center;
  background: var(--white);
}
.empty-state .es-no { font-family: var(--f-mono); font-size: 11px; letter-spacing: .18em; color: var(--accent); }
.empty-state h3 { margin-top: 16px; font-size: 20px; color: var(--ink); font-weight: 600; }
.empty-state p { margin-top: 10px; font-size: 14px; color: var(--muted); }
.empty-state .es-line { width: 44px; height: 1px; background: var(--line); margin: 16px auto; }

/* ============================================================
   联系页
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { border-top: 1px solid var(--line); }
.info-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-row dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2); padding-top: 4px; }
.info-row dd { font-size: 15px; color: var(--ink); line-height: 1.7; }
.info-row dd a:hover { color: var(--accent); }
.info-row dd small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted-2); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid #c9c8c1;
  padding: 9px 2px;
  font-size: 15px; color: var(--ink);
  font-family: inherit;
  transition: border-color .25s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #b3b2ab; }
.form-note { margin-top: 6px; font-size: 12.5px; color: var(--muted-2); }
.form-tip { margin-top: 12px; font-size: 13px; color: var(--muted); }
.form-tip b { color: var(--ink); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.5); font-size: 13px; }
.footer-main { padding: 44px 0 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-brand img { height: 40px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin-top: 12px; font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.42); max-width: 26em; }
.footer-col h4 { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; color: rgba(255,255,255,.72); margin-bottom: 12px; font-weight: 400; text-transform: uppercase; }
.footer-col li { margin-bottom: 7px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 14px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: rgba(255,255,255,.32);
}

/* 回到顶部 */
.backtop {
  position: fixed; right: 22px; bottom: 26px; z-index: 90;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--ink); color: #fff; border: 0;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .08em;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s, visibility .3s, transform .3s, background .25s;
}
.backtop.show { opacity: 1; visibility: visible; transform: none; }
.backtop:hover { background: var(--accent); }

/* 滚动入场 */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1360px) {
  .nav a { padding: 10px 10px; font-size: 13.5px; }
  .nav a::after { left: 10px; right: 10px; }
  .header-cta { gap: 12px; }
  .header-cta .btn { padding: 10px 16px; font-size: 13px; }
  .brand .brand-txt strong { font-size: 15px; }
}
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: 13.5px; }
  .header-cta .tel { display: none; }
}
@media (max-width: 1024px) {
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .cap-item:nth-child(2n) { border-right: 0; }
  .cap-item { border-bottom: 1px solid var(--line); }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step { border-bottom: 1px solid var(--line-dark); padding-right: 16px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .wrap { padding: 0 20px; }
  .topbar { display: none; }
  .site-header .wrap { height: 68px; }
  .nav {
    position: fixed; inset: 68px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line-2);
    padding: 8px 20px 20px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: all .28s var(--ease);
    box-shadow: 0 24px 40px rgba(14,22,32,.12);
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 2px; border-bottom: 1px solid var(--line-2); font-size: 15px; }
  .nav a::after { display: none; }
  .nav a.on { color: var(--accent); }
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .section { padding: 40px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(2n) { border-right: 0; }
  .hero-stats div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .about-facts { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .media-grid, .media-grid.two, .media-grid.four, .equip-list, .news-grid, .cert-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-bottom: 0; }
  .hero .wrap { padding-top: 56px; }
  .hero h1 { font-size: 30px; }
  .hero-stats b { font-size: 24px; }
  .flow { grid-template-columns: 1fr; }
  .case-item { grid-template-columns: 1fr; gap: 24px; }
  .case-item:nth-child(even) .case-media { order: 0; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
  .info-row { grid-template-columns: 88px 1fr; gap: 12px; }
  .cta-band { padding: 44px 0; }
  .brand .brand-txt { display: none; }
}
