/* 新疆德海忠正检测技术服务有限公司 · 官网样式 */
:root {
  --ink: #092238;
  --ink-2: #17374f;
  --ink-3: #45657f;
  --muted: #566f86;
  --line: rgba(9, 34, 56, .14);
  --line-strong: rgba(9, 34, 56, .28);
  --paper: #ffffff;
  --fog: #f2f6f9;
  --mist: #f7fafc;
  --blue: #0f72c4;
  --blue-bright: #2b98e6;
  --green: #3d9d58;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Source Han Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", "Noto Serif", "Songti SC", serif;
  --mono: "SFMono-Regular", "JetBrains Mono", Consolas, "Liberation Mono", monospace;
  --container: 1160px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ol, ul, dl, dd, figure, p, h1, h2, h3 { margin: 0; }
ol, ul { padding: 0; list-style: none; }

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: clamp(76px, 9vw, 128px) 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -26px rgba(9, 34, 56, .45);
}
.header-inner {
  max-width: 1280px;
  height: var(--header-h);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 42px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: .04em; color: var(--ink); font-weight: 700; }
.brand-text span { font-size: 10.5px; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }

.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a {
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
  padding: 6px 0;
  transition: color .2s;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2, .6, .2, 1);
}
.site-nav a:hover { color: var(--blue); }
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }
.site-nav a.is-current { color: var(--blue); }

.header-phone {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-left: 28px;
  border-left: 1px solid var(--line);
  flex: none;
}
.header-phone-label { font-size: 10.5px; letter-spacing: .14em; color: var(--muted); }
.header-phone-number { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 2px; font-variant-numeric: tabular-nums; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 1px;
  background: var(--ink);
  transition: transform .3s, opacity .3s;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- 侧边测量导轨 ---------- */
.rail { display: none; }
@media (min-width: 1200px) {
  .rail {
    display: block;
    position: fixed;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
  }
  .rail-track {
    position: relative;
    width: 1px;
    height: 52vh;
    margin-left: 5px;
    background: var(--line);
  }
  .rail-fill {
    position: absolute;
    top: 0; left: 0;
    width: 1px; height: 0;
    background: var(--blue);
  }
  .rail-items { position: absolute; top: 0; left: 0; width: 1px; height: 52vh; }
  .rail-items a {
    position: absolute;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
  }
  .rail-items a::before {
    content: "";
    width: 7px; height: 7px;
    margin-left: 2px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    transition: background .2s, border-color .2s;
  }
  .rail-items a span {
    background: #fff;
    border: 1px solid var(--line);
    padding: 2px 7px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .2s, transform .2s;
  }
  .rail-items a:hover span { opacity: 1; transform: none; }
  .rail-items a.is-active::before { background: var(--blue); border-color: var(--blue); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 64px) 0 108px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(.85) contrast(1.04);
  animation: heroZoom 16s cubic-bezier(.2, .6, .2, 1) both;
}
@keyframes heroZoom {
  from { transform: scale(1.07); }
  to { transform: scale(1); }
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 22, 37, .96) 0%, rgba(6, 22, 37, .84) 36%, rgba(6, 22, 37, .38) 72%, rgba(6, 22, 37, .2) 100%),
    linear-gradient(180deg, rgba(6, 22, 37, .4) 0%, rgba(6, 22, 37, 0) 34%, rgba(6, 22, 37, .62) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-frame {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255, 255, 255, .16);
  pointer-events: none;
}
.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(255, 255, 255, .55);
  border-style: solid;
}
.hero-frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.hero-frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.hero-inner { position: relative; z-index: 2; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .78);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(61, 157, 88, .18);
  flex: none;
}
.hero h1 {
  margin: 26px 0 28px;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.06;
  letter-spacing: -.025em;
  font-weight: 700;
  color: #fff;
  max-width: 920px;
  text-wrap: balance;
}
.hero-lead {
  max-width: 580px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
}
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 42px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s, background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .6); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }

.hero-caption {
  position: absolute;
  right: 40px;
  bottom: 96px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .55);
}
.hero-scale {
  position: absolute;
  right: 20px;
  top: 22%;
  width: 11px;
  height: 46%;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .45) 0 1px, transparent 1px 22px);
  border-right: 1px solid rgba(255, 255, 255, .22);
  z-index: 2;
}

/* ---------- 数据条 ---------- */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -64px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  box-shadow: 0 34px 70px -46px rgba(9, 34, 56, .5);
}
.stats::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--green) 42%, transparent 70%);
}
.stats > div { padding: 28px 34px 26px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.stats dd {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: clamp(38px, 3.4vw, 50px);
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stats dd i { font-style: normal; font-size: .5em; color: var(--blue); margin-left: 2px; vertical-align: .45em; }
.stats dd small { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 4px; letter-spacing: .06em; }

/* ---------- 通用标题 ---------- */
.section-head h2,
.about-head h2,
.sales-copy h2,
.contact-copy h2 {
  font-size: clamp(30px, 3.6vw, 52px);
  line-height: 1.16;
  letter-spacing: -.02em;
  color: var(--ink);
  font-weight: 700;
  text-wrap: balance;
}
.section-head > p,
.split-head > div > p {
  margin-top: 18px;
  max-width: 620px;
  color: var(--ink-3);
  font-size: 15.5px;
}
.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}
.head-note {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  max-width: 230px;
  text-align: right;
  line-height: 1.8;
  flex: none;
}
.head-stat { display: flex; align-items: flex-end; gap: 14px; flex: none; }
.head-stat strong {
  font-family: var(--serif);
  font-size: 58px;
  line-height: .9;
  color: var(--ink);
  font-weight: 400;
}
.head-stat strong i { font-style: normal; font-size: .45em; color: var(--blue); vertical-align: .5em; }
.head-stat span { font-size: 12.5px; color: var(--muted); max-width: 150px; line-height: 1.6; padding-bottom: 4px; }

/* ---------- 关于 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}
.about-head h2 { position: sticky; top: calc(var(--header-h) + 40px); }
.about-note { margin-top: 26px; max-width: 330px; font-size: 13.5px; color: var(--muted); line-height: 1.85; }
.about-body .lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.86; color: var(--ink-2); }
.about-body p + p { margin-top: 20px; color: var(--ink-3); font-size: 15.5px; }

.about-editorial {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 7fr 5fr;
  background: var(--ink);
}
.about-wall { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.about-wall picture, .about-wall img { width: 100%; height: 100%; }
.about-wall img { object-fit: cover; object-position: center 45%; transition: transform 1.4s cubic-bezier(.2, .6, .2, 1); }
.about-wall:hover img { transform: scale(1.02); }
.about-wall figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 4px 9px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .82);
  background: rgba(6, 22, 37, .55);
}
.about-panel {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}
.about-quote {
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.6;
  letter-spacing: -.01em;
  color: #fff;
  font-weight: 500;
  text-wrap: balance;
}
.about-panel .values { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 26px; }
.about-panel .values li { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: 16px; }
.value-hex {
  display: block;
  width: 12px; height: 14px;
  background: var(--green);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  margin-bottom: 12px;
}
.about-panel .values strong { display: block; font-size: 14px; color: #fff; letter-spacing: .04em; }
.about-panel .values li > span:last-child { display: block; margin-top: 7px; font-size: 12px; line-height: 1.75; color: rgba(255, 255, 255, .55); }

/* ---------- 检测能力 ---------- */
.services { background: var(--fog); }
.process {
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.process li {
  padding: 22px 26px 24px 0;
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  row-gap: 5px;
  align-content: start;
}
.process li:first-child { border-left: 0; }
.process li { padding-left: 26px; }
.process li:first-child { padding-left: 0; }
.process-step { font-family: var(--mono); font-size: 11.5px; color: var(--blue); padding-top: 3px; }
.process strong { font-size: 15px; color: var(--ink); font-weight: 600; }
.process li > span:last-child { grid-column: 2; font-size: 12.5px; color: var(--muted); line-height: 1.7; }

.tabs {
  margin-top: 52px;
  display: flex;
  gap: 44px;
  border-bottom: 1px solid var(--line);
}
.tab {
  position: relative;
  background: none;
  border: 0;
  padding: 14px 2px 16px;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  transition: color .2s;
}
.tab::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(.2, .6, .2, 1);
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.service-row {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 48px;
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row h3 { font-size: 18px; line-height: 1.55; color: var(--ink); font-weight: 600; letter-spacing: .01em; }
.service-row p { font-size: 14px; line-height: 1.85; color: var(--ink-3); }

.service-mosaic {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: 560px;
}
.service-mosaic figure {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.mosaic-main { grid-row: span 2; }
.service-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.service-mosaic figure:hover img { transform: scale(1.03); }
.service-mosaic figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 22px 16px;
  font-size: 11.5px;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .85);
  background: linear-gradient(transparent, rgba(6, 22, 37, .7));
}

/* ---------- 资质 ---------- */
.quals {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hex-field {
  position: absolute;
  inset: 0;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='64' viewBox='0 0 56 64'%3E%3Cpath d='M28 1 54 16v32L28 63 2 48V16z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 56px 64px;
}
.quals .container { position: relative; z-index: 2; }
.quals h2 { color: #fff; }
.quals .section-head p { color: rgba(255, 255, 255, .62); }
.quals .head-note { color: rgba(255, 255, 255, .45); }

.cert-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 26px; }
.cert {
  display: block;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
}
.cert-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 330px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .7);
  transition: transform .45s cubic-bezier(.2, .6, .2, 1), box-shadow .45s;
  overflow: hidden;
}
.cert-frame picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.cert-frame img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.2, .6, .2, 1);
}
.cert:hover .cert-frame { transform: translateY(-5px); box-shadow: 0 40px 70px -32px rgba(0, 0, 0, .8); }
.cert:hover .cert-frame img { transform: scale(1.015); }
.cert-name { display: block; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: #fff; letter-spacing: .01em; }
.cert-meta { display: block; margin-top: 5px; font-family: var(--mono); font-size: 11px; line-height: 1.6; color: rgba(255, 255, 255, .48); }
.qual-note { margin-top: 36px; font-size: 12.5px; color: rgba(255, 255, 255, .45); }

/* ---------- 业绩 ---------- */
.filters { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 13.5px;
  color: var(--ink-3);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--line-strong); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.client-list {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 44px;
}
.client-list li {
  border-top: 1px solid var(--line);
  padding: 15px 8px 16px;
  margin: 0 -8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: background .2s;
}
.client-list li:hover { background: var(--mist); }
.client-name { font-size: 14px; color: var(--ink); line-height: 1.55; }
.client-project { font-size: 12px; color: var(--muted); line-height: 1.6; }
.client-list li.is-hidden { display: none; }
.more-btn {
  margin-top: 30px;
  padding: 12px 26px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.more-btn:hover { background: var(--ink); color: #fff; }

/* ---------- 设备销售 ---------- */
.sales { background: var(--mist); border-top: 1px solid var(--line); }
.sales-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 72px; align-items: center; }
.sales-media { overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.sales-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .6, .2, 1); }
.sales-media:hover img { transform: scale(1.03); }
.sales-media figcaption { position: absolute; }
.sales-media { position: relative; }
.sales-media figcaption {
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 14px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .82);
  background: linear-gradient(transparent, rgba(6, 22, 37, .66));
  position: absolute;
}
.sales-copy p { margin-top: 20px; font-size: 15px; color: var(--ink-3); max-width: 520px; }
.sales-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.sales-tags li {
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12.5px;
  color: var(--ink-3);
}
.sales-clients { margin-top: 26px; border-left: 2px solid var(--blue); padding-left: 16px; font-size: 12.5px; color: var(--muted); max-width: 480px; }

/* ---------- 联系 ---------- */
.contact {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: clamp(90px, 10vw, 150px) 0;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}
.contact-bg { position: absolute; inset: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; filter: grayscale(.35) contrast(1.05); }
.contact-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 22, 37, .97) 0%, rgba(6, 22, 37, .86) 42%, rgba(6, 22, 37, .55) 100%);
}
.contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 6fr 5fr; gap: 80px; align-items: start; }
.contact-copy h2 { color: #fff; }
.contact-lead { margin-top: 18px; max-width: 420px; font-size: 15px; color: rgba(255, 255, 255, .68); }
.contact-list { margin-top: 40px; }
.contact-list > div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.contact-list dt { font-size: 11.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .45); padding-top: 2px; }
.contact-list dd { font-size: 15px; line-height: 1.75; color: #fff; }
.contact-list dd a { border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 1px; }
.contact-list dd a:hover { border-bottom-color: #fff; }
.copy-btn {
  margin-left: 12px;
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: rgba(255, 255, 255, .72);
  font-size: 10.5px;
  cursor: pointer;
  vertical-align: 2px;
}
.copy-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.map-link { display: inline-block; margin-top: 26px; font-size: 13.5px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 3px; }
.map-link:hover { border-bottom-color: #fff; }

.contact-form { background: #fff; color: var(--ink); padding: 38px 36px 32px; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .8); border-top: 3px solid var(--blue); }
.contact-form h3 { font-size: 20px; color: var(--ink); font-weight: 700; }
.field { margin-top: 18px; }
.field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 7px; letter-spacing: .06em; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--mist);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9aabb9; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 114, 196, .12);
}
.contact-form .btn { width: 100%; margin-top: 24px; }
.form-note { margin-top: 12px; font-size: 11.5px; line-height: 1.7; color: var(--muted); }

/* ---------- 页脚 ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.5; }
.footer-brand span { display: block; margin-top: 5px; font-size: 11.5px; letter-spacing: .12em; color: var(--muted); }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 22px; justify-content: start; }
.footer-nav a { font-size: 13px; color: var(--ink-3); }
.footer-nav a:hover { color: var(--blue); }
.footer-contact p { font-size: 12.5px; color: var(--muted); line-height: 1.9; }
.footer-contact a { color: var(--ink-3); }
.footer-contact a:hover { color: var(--blue); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-3);
}
.footer-bottom p { line-height: 1.7; }
.footer-filings { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer-filings a { display: inline-flex; align-items: center; gap: 5px; }
.footer-filings a img { width: 16px; height: 16px; flex: none; }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 16, 27, .95);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lb-figure { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.lb-figure img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.lb-figure figcaption { margin-top: 16px; font-size: 12.5px; line-height: 1.7; color: rgba(255, 255, 255, .68); text-align: center; max-width: 720px; }
.lb-close {
  position: absolute;
  top: 22px; right: 26px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lb-close:hover { background: rgba(255, 255, 255, .12); }
.lb-nav {
  width: 52px; height: 52px;
  border: 1px solid rgba(255, 255, 255, .3);
  background: transparent;
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.lb-nav:hover { background: rgba(255, 255, 255, .12); }
.lb-nav:disabled { opacity: .25; cursor: default; }

/* ---------- 进入动画 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .6, .2, 1), transform .8s cubic-bezier(.2, .6, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-bg img { animation: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .header-inner { gap: 24px; }
  .site-nav { gap: 22px; }
  .header-phone { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-head h2 { position: static; }
  .about-note { max-width: 520px; }
  .service-row { grid-template-columns: 2.6fr 7fr; }
  .contact-grid { gap: 48px; }
  .footer-top { grid-template-columns: 1.4fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .header-inner { padding: 0 22px; }
  .menu-toggle { display: flex; margin-left: auto; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    margin: 0;
    padding: 18px 22px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    transform: translateY(-130%);
    transition: transform .4s cubic-bezier(.2, .6, .2, 1);
    box-shadow: 0 30px 50px -30px rgba(9, 34, 56, .45);
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a::after { display: none; }
  .brand-text strong { font-size: 15.5px; }
  .brand-text span { font-size: 9.5px; letter-spacing: .12em; }

  .hero { min-height: 78vh; padding-bottom: 96px; }
  .hero-frame { inset: 12px; }
  .hero-caption, .hero-scale { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: -48px; }
  .stats > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stats > div:nth-child(4) { border-top: 1px solid var(--line); }
  .stats > div { padding: 22px 24px 20px; }

  .about-editorial { grid-template-columns: 1fr; margin-top: 48px; }
  .about-wall { aspect-ratio: 16 / 10; }
  .about-panel { padding: 32px 26px 34px; gap: 26px; }
  .about-panel .values { gap: 22px 24px; }

  .split-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .head-note { text-align: left; max-width: none; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li { padding: 18px 20px 20px; }
  .process li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .process li:nth-child(3), .process li:nth-child(4) { border-top: 1px solid var(--line); }
  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 0; }
  .service-mosaic { grid-template-columns: 1fr; grid-template-rows: none; height: auto; gap: 12px; }
  .service-mosaic figure { aspect-ratio: 4 / 3; }
  .mosaic-main { grid-row: auto; }

  .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
  .cert-frame { height: 250px; padding: 12px; }

  .client-list { grid-template-columns: repeat(2, 1fr); column-gap: 28px; }
  .sales-grid { grid-template-columns: 1fr; gap: 36px; }
  .sales-media { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 30px 24px 26px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { grid-template-columns: repeat(3, auto); }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .header-inner { padding: 0 18px; }
  .brand-mark { width: 36px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .hero-actions { gap: 10px; margin-top: 32px; }
  .btn { padding: 13px 22px; font-size: 14px; }
  .stats dd { font-size: 36px; }
  .section-head h2, .about-head h2, .sales-copy h2, .contact-copy h2 { font-size: clamp(27px, 8vw, 36px); }
  .process { grid-template-columns: 1fr; }
  .process li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .process li:first-child { border-top: 0; }
  .cert-grid { grid-template-columns: 1fr; }
  .cert-frame { height: 300px; }
  .client-list { grid-template-columns: 1fr; }
  .about-panel .values { grid-template-columns: 1fr; }
  .filters { gap: 6px; }
  .filter { padding: 7px 12px; font-size: 12.5px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; }
  .lb-nav { display: none; }
  .lb-figure img { max-height: 70vh; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
}
