/* ============================================================
   无锡胜华合金材料有限公司 — 站点样式
   深色工业科技风 / 服务端直出多页
   ============================================================ */

:root {
  --bg: #05080d;
  --bg-soft: #080d13;
  --panel: rgba(255, 255, 255, .028);
  --panel-solid: #0a1017;
  --panel-2: #0d141d;
  --line: rgba(148, 163, 184, .14);
  --line-strong: rgba(148, 163, 184, .26);
  --text: #e8edf4;
  --muted: #93a0b0;
  --dim: #66707e;
  --cyan: #3ee6c4;
  --cyan-soft: rgba(62, 230, 196, .1);
  --blue: #6ba3ff;
  --accent: #3ee6c4;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --mono: "Consolas", "JetBrains Mono", "SF Mono", monospace;
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth; font-size: 17px; scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%; /* 防止 iOS 横竖屏切换时字号被自动放大 */
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(1100px 480px at 78% -8%, rgba(62, 230, 196, .07), transparent 62%),
    radial-gradient(900px 420px at 4% 108%, rgba(107, 163, 255, .05), transparent 60%);
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; }
img { max-width: 100%; display: block; }
video { max-width: 100%; }
::selection { background: rgba(62, 230, 196, .22); }
/* 移动端点击不要出现灰色高亮块 */
a, button, .btn, .menu-toggle { -webkit-tap-highlight-color: transparent; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--cyan); color: #04231d;
  padding: 10px 18px; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: .9375rem;
  border: 1px solid transparent; cursor: pointer; transition: all .18s ease;
  white-space: nowrap; font-family: inherit;
}
.btn-primary {
  background: var(--cyan); color: #04231d; border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(62, 230, 196, .16);
}
.btn-primary:hover { background: #5aefd2; transform: translateY(-1px); box-shadow: 0 4px 22px rgba(62, 230, 196, .26); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-block { display: flex; width: 100%; margin-top: 10px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(5, 8, 13, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { color: var(--cyan); display: flex; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1rem; letter-spacing: .02em; }
.brand-text em { font-size: .6875rem; color: var(--dim); letter-spacing: .12em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; flex-wrap: nowrap; }
.nav-link {
  padding: 8px 10px; border-radius: 8px; font-size: .875rem; color: var(--muted);
  transition: all .15s ease; white-space: nowrap;
}
.nav-link:hover { color: var(--text); background: var(--panel); }
.nav-link.is-active { color: var(--cyan); background: var(--cyan-soft); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.header-tel {
  font-family: var(--mono); font-size: .8125rem; color: var(--muted);
  letter-spacing: .02em; white-space: nowrap;
}
.header-tel:hover { color: var(--cyan); }
.lang-switch {
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 7px 13px;
  font-size: .8125rem; color: var(--muted); font-weight: 600; letter-spacing: .04em;
  white-space: nowrap; flex-shrink: 0; line-height: 1;
}
.lang-switch:hover { color: var(--cyan); border-color: var(--cyan); }

.menu-toggle {
  display: none; width: 40px; height: 40px; background: none; border: 1px solid var(--line-strong);
  border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); transition: all .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: 72px 0 0; position: relative; }
.hero-inner {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding-bottom: 56px;
}
.hero-tag {
  display: inline-block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid rgba(62, 230, 196, .3); background: var(--cyan-soft);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.22; font-weight: 700;
  letter-spacing: -.01em; margin-bottom: 20px;
}
.hero-desc { color: var(--muted); font-size: 1.0625rem; max-width: 40em; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  background: #0d1520;
  /* 与视频原生比例一致（1920×1080），保证画面完整、不裁切 */
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
}
/* contain：任何比例的视频都完整显示，绝不裁掉左右/上下 */
.hero-visual video, .hero-visual img { width: 100%; height: 100%; object-fit: contain; display: block; }

.stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 8px;
}
.stat { background: var(--panel-solid); padding: 22px 20px; text-align: center; }
.stat-value { display: block; font-size: 1.5rem; font-weight: 700; color: var(--cyan); letter-spacing: -.01em; }
.stat-value em { font-size: .75rem; color: var(--dim); font-style: normal; margin-left: 4px; font-weight: 500; }
.stat-label { display: block; font-size: .8125rem; color: var(--muted); margin-top: 4px; }

/* ============================================================
   Section 通用
   ============================================================ */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 38px; }
.section-head h2 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.section-sub { color: var(--muted); font-size: 1rem; }

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

.pcard {
  display: flex; flex-direction: column; background: var(--panel-solid);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: all .2s ease;
}
.pcard:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.pcard-media {
  height: 150px; background: linear-gradient(150deg, rgba(255, 255, 255, .04), transparent);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-ph { width: 100%; height: 100%; background: var(--panel-2); }
.pcard-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-code {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--accent);
  text-transform: uppercase; margin-bottom: 8px;
}
.pcard h3 { font-size: 1.1875rem; font-weight: 700; letter-spacing: .01em; margin-bottom: 8px; }
.pcard-cat { font-size: .75rem; color: var(--dim); letter-spacing: .02em; margin-bottom: 10px; display: block; }
.pcard-tag {
  font-size: .875rem; color: var(--cyan); margin-bottom: 0;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.pcard-more { font-size: .8125rem; color: var(--accent); font-weight: 600; margin-top: auto; padding-top: 18px; }

/* ============================================================
   优势
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px;
}
.why-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.why-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(150deg, rgba(62, 230, 196, .12), rgba(107, 163, 255, .05));
  border: 1px solid rgba(62, 230, 196, .22);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }
.why-num { font-family: var(--mono); font-size: .8125rem; color: rgba(62, 230, 196, .5); letter-spacing: .1em; }
.why-card h3 { font-size: 1.0625rem; margin: 10px 0 8px; font-weight: 650; }
.why-card p { font-size: .875rem; color: var(--muted); line-height: 1.62; }

/* ============================================================
   行业
   ============================================================ */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-card {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; transition: all .2s ease;
}
.ind-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.ind-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(150deg, rgba(62, 230, 196, .12), rgba(107, 163, 255, .05));
  border: 1px solid rgba(62, 230, 196, .22);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.5rem; line-height: 1; flex-shrink: 0;
}
.ind-icon svg { width: 28px; height: 28px; }

/* 行业卡片图片版 */
.ind-card-media {
  height: 170px; border-radius: var(--radius-sm); overflow: hidden;
  margin-bottom: 16px; background: var(--panel-2);
}
.ind-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ind-card:hover .ind-card-media img { transform: scale(1.04); }
.ind-card.has-media h3 { margin-bottom: 8px; }

/* 行业详情块横幅图 */
.ind-block-media {
  border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 16px;
  aspect-ratio: 21 / 9; background: var(--panel-2);
}
.ind-block-media img { width: 100%; height: 100%; object-fit: cover; }
.ind-card h3 { font-size: 1.0625rem; margin-bottom: 8px; font-weight: 650; }
.ind-card p { font-size: .875rem; color: var(--muted); line-height: 1.62; }

.ind-blocks { display: flex; flex-direction: column; gap: 22px; }
.ind-block {
  display: grid; grid-template-columns: .42fr .58fr; gap: 32px;
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; scroll-margin-top: calc(var(--header-h) + 20px);
}
.ind-block-head h2 { font-size: 1.375rem; margin: 10px 0 10px; font-weight: 650; }
.ind-summary { color: var(--muted); font-size: .9375rem; }
.ind-block-body p { color: var(--muted); font-size: .9375rem; margin-bottom: 18px; }
.ind-sub { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }

/* ============================================================
   新闻
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.news-card {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column;
  transition: all .2s ease;
}
.news-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.news-date { font-family: var(--mono); font-size: .75rem; color: var(--dim); letter-spacing: .05em; }
.news-card h3 { font-size: 1.0625rem; margin: 10px 0 10px; line-height: 1.45; font-weight: 650; }
.news-card p {
  font-size: .875rem; color: var(--muted); line-height: 1.62; margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.news-more { font-size: .8125rem; color: var(--cyan); font-weight: 600; margin-top: auto; }
.news-media {
  height: 150px; border-radius: var(--radius-sm); overflow: hidden; margin: 12px 0 4px;
  background: var(--panel-2);
}
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-grid-lg { grid-template-columns: repeat(3, 1fr); }

/* ============================================================
   CTA
   ============================================================ */
.cta-band {
  background: linear-gradient(120deg, rgba(62, 230, 196, .08), rgba(107, 163, 255, .05));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 44px 24px; flex-wrap: wrap;
}
.cta-inner h2 { font-size: 1.375rem; font-weight: 700; margin-bottom: 6px; }
.cta-inner p { color: var(--muted); font-size: .9375rem; }

/* ============================================================
   页头 / 面包屑
   ============================================================ */
.page-head {
  padding: 44px 0 34px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(62, 230, 196, .04), transparent);
}
.page-head-tight { padding: 30px 0 26px; }
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; margin: 14px 0 8px; letter-spacing: -.01em; }
.page-lead { color: var(--muted); font-size: 1.0625rem; max-width: 46em; }
.qc-philosophy { color: var(--muted); margin-top: 18px; max-width: 52em; font-size: .9375rem; }

.crumb { font-size: .8125rem; color: var(--dim); }
.crumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; }
.crumb a:hover { color: var(--cyan); }
.crumb .sep { color: rgba(148, 163, 184, .3); }
.crumb .is-current span { color: var(--muted); }

/* ============================================================
   产品详情
   ============================================================ */
.detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; margin-top: 10px; }
.detail-code {
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); display: inline-block; margin-bottom: 8px;
}
.detail-head h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 8px; }
.detail-media {
  width: 180px; height: 140px; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel-2); flex-shrink: 0;
}
.detail-media img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.detail-desc { font-size: 1.0625rem; color: var(--muted); margin-bottom: 34px; max-width: 46em; }
.detail-h2 {
  font-size: 1.125rem; font-weight: 650; margin: 34px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.detail-h2:first-of-type { margin-top: 0; }

.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; }
.kv { display: flex; flex-direction: column; gap: 3px; }
.kv dt { font-size: .75rem; color: var(--dim); letter-spacing: .03em; }
.kv dd { font-size: .9375rem; color: var(--text); }
.kv-grid-tight { grid-template-columns: 1fr; gap: 12px; }
.kv-grid-tight .kv { flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; }
.kv-grid-tight .kv dd { font-family: var(--mono); font-size: .875rem; color: var(--cyan); }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.data-table th, .data-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { color: var(--muted); font-weight: 500; width: 45%; background: rgba(255, 255, 255, .015); }
.data-table td { font-family: var(--mono); font-size: .875rem; }
.data-table tr:last-child th, .data-table tr:last-child td { border-bottom: none; }
.table-note { font-size: .8125rem; color: var(--dim); margin-bottom: 10px; }

.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.side-card {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.side-card h3 { font-size: .9375rem; font-weight: 650; margin-bottom: 14px; }
.side-text { font-size: .875rem; color: var(--muted); line-height: 1.65; }
.side-cta { background: linear-gradient(150deg, rgba(62, 230, 196, .07), transparent); border-color: rgba(62, 230, 196, .22); }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feature-list li {
  font-size: .875rem; color: var(--muted); line-height: 1.6; padding-left: 16px; position: relative;
}
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: .55em; width: 5px; height: 5px;
  border-radius: 50%; background: var(--cyan);
}

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: .8125rem; padding: 6px 12px; border-radius: 999px;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--muted);
}
.chip-link:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============================================================
   质量体系
   ============================================================ */
.step-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.step-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.step-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(150deg, rgba(62, 230, 196, .12), rgba(107, 163, 255, .05));
  border: 1px solid rgba(62, 230, 196, .22);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.step-icon svg { width: 22px; height: 22px; }
.step-num { font-family: var(--mono); font-size: 1.25rem; color: rgba(62, 230, 196, .35); font-weight: 700; }
.step h3 { font-size: 1rem; margin: 0 0 8px; font-weight: 650; }
.step p { font-size: .875rem; color: var(--muted); line-height: 1.62; }

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.equip-card {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.equip-icon { font-size: 1.75rem; display: block; margin-bottom: 12px; }
.equip-media {
  height: 150px; border-radius: var(--radius-sm); overflow: hidden;
  margin-bottom: 16px; background: var(--panel-2);
}
.equip-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.equip-card:hover .equip-media img { transform: scale(1.04); }
.equip-card h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 650; }
.equip-card p { font-size: .875rem; color: var(--muted); line-height: 1.6; }

.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-card {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; text-align: center;
}
.cert-card h3 { font-size: .9375rem; color: var(--cyan); margin-bottom: 8px; font-weight: 650; }
.cert-card p { font-size: .8125rem; color: var(--muted); }

/* ============================================================
   正文块 / 文章
   ============================================================ */
.prose { max-width: 760px; }
.prose-block { margin-bottom: 44px; }
.prose-block h2 { font-size: 1.375rem; margin-bottom: 16px; font-weight: 650; }
.prose-block p { color: var(--muted); margin-bottom: 14px; line-height: 1.75; }

.article-wrap { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.article { max-width: 720px; }
.article h1 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 12px 0 18px; line-height: 1.4; font-weight: 700; }
.article-media { border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; border: 1px solid var(--line); }
.article-lead { font-size: 1.0625rem; color: var(--muted); margin-bottom: 24px; padding-left: 14px; border-left: 2px solid var(--cyan); }
.article-body p { color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.article .btn { margin-top: 20px; }
.article-side h3 { font-size: .9375rem; margin-bottom: 16px; font-weight: 650; }
.news-mini {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.news-mini:hover h4 { color: var(--cyan); }
.news-mini h4 { font-size: .9375rem; font-weight: 500; margin-top: 4px; line-height: 1.5; }

/* ============================================================
   下载
   ============================================================ */
.dl-list { display: flex; flex-direction: column; gap: 14px; }
.dl-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
}
.dl-info h3 { font-size: 1.0625rem; margin-bottom: 6px; font-weight: 650; }
.dl-info p { font-size: .875rem; color: var(--muted); margin-bottom: 4px; }
.dl-size { font-family: var(--mono); font-size: .75rem; color: var(--dim); }
.dl-note { margin-top: 24px; font-size: .875rem; color: var(--dim); }

/* ============================================================
   联系
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.contact-form {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label { font-size: .8125rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  background: var(--bg-soft); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 11px 13px; color: var(--text); font-size: .9375rem; font-family: inherit;
  transition: border-color .15s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft);
}
.field textarea { resize: vertical; }
.contact-form .btn { margin-top: 8px; }
.form-tip { font-size: .875rem; margin-top: 12px; min-height: 1.4em; }
.form-tip.ok { color: var(--cyan); }
.form-tip.err { color: #ff7a7a; }
.form-tip.warn { color: #ffc46b; }

.contact-info {
  background: var(--panel-solid); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.contact-info h2 { font-size: 1.0625rem; margin-bottom: 18px; font-weight: 650; }
.contact-info .kv-grid { grid-template-columns: 1fr; gap: 16px; }
.contact-info .kv dt { font-size: .75rem; }
.contact-info a:hover { color: var(--cyan); }

/* ============================================================
   Footer
   ============================================================ */
/* 底部留出 iPhone 手势条安全区 */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 52px 0 calc(24px + env(safe-area-inset-bottom, 0px)); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 32px; }
.footer-brand strong { font-size: 1rem; display: block; margin-bottom: 10px; }
.footer-brand p { font-size: .875rem; color: var(--muted); margin-bottom: 12px; }
.footer-contact { font-size: .875rem; color: var(--muted); line-height: 1.8; }
.footer-contact a:hover { color: var(--cyan); }
.footer-col h4 { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col li a { font-size: .875rem; color: var(--muted); }
.footer-col li a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; border-top: 1px solid var(--line);
  font-size: .8125rem; color: var(--dim);
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1200px) {
  .header-tel { display: none; }
}

@media (max-width: 1080px) {
  .pcard-grid, .ind-grid, .news-grid, .news-grid-lg, .equip-grid, .step-list { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid, .contact-grid, .article-wrap { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* 中等宽度：导航收进汉堡菜单，避免挤压换行 */
@media (max-width: 1100px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(8, 13, 19, .98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    padding: 12px 20px calc(20px + env(safe-area-inset-bottom, 0px)); gap: 2px; display: none;
    /* 菜单项多时可滚动，避免超出一屏点不到 */
    max-height: calc(100vh - var(--header-h)); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav.is-open { display: flex; }
  .nav-link { padding: 12px 14px; font-size: 1rem; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 16 / 9; }   /* 手机端仍然展示车间视频 */
  .stat-bar { grid-template-columns: repeat(2, 1fr); }
  .ind-block { grid-template-columns: 1fr; gap: 20px; }
  .section { padding: 56px 0; }
}

@media (max-width: 620px) {
  html { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .pcard-grid, .ind-grid, .news-grid, .news-grid-lg, .equip-grid, .step-list, .why-grid, .cert-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .dl-row { flex-direction: column; align-items: stretch; gap: 16px; }
  .dl-row .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .detail-head { flex-direction: column; gap: 18px; }
  .detail-media { width: 100%; height: 160px; }
  .kv-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }

  /* ---- 手机端细节 ---- */
  .hero h1, .page-head h1 { font-size: 1.75rem; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 0; padding-left: 12px; padding-right: 12px; }

  /* iOS 在输入框字号 <16px 时会自动放大页面，必须锁 16px */
  .field input, .field select, .field textarea { font-size: 16px; }
  .contact-form, .contact-info { padding: 20px; }
  .contact-form .btn { width: 100%; }

  /* 规格表：字号与内边距收紧，单元格允许折行；容器可横向滑动，不再被裁掉 */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .data-table { font-size: .8125rem; }
  .data-table th { width: 46%; padding: 10px 12px; }
  .data-table td { padding: 10px 12px; font-size: .8125rem; white-space: normal; overflow-wrap: anywhere; }
  .prose { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  html { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 44px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 26px; }
  .btn-lg { padding: 13px 20px; font-size: .9375rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .stat { padding: 16px 12px; }
  .stat-value { font-size: 1.25rem; }
  .stat-label { font-size: .75rem; }
  .ind-card-media { height: 150px; }
  .equip-media { height: 130px; }
  .lang-switch { padding: 6px 10px; font-size: .75rem; }
  .brand-text em { display: none; }
  .data-table th { width: 50%; }
}

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