/* 星御安信官网 · 深空 HUD 风格（纯静态，无外部字体 / CDN / 构建依赖） */
:root {
  --bg: #0b1326;
  --bg-deep: #060b18;
  --panel: #121d38;
  --line: #223052;
  --line-soft: rgba(91, 157, 255, .16);
  --primary: #5b9dff;
  --primary-deep: #3b7bff;
  --cyan: #5fd4ff;
  --text: #e7eefc;
  --muted: #8ea0c4;
  --font: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --radius: 10px;
  --gutter: 32px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ========== 基础 ========== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  position: relative;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.75 var(--font);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(1100px 560px at 72% -220px, rgba(59, 123, 255, .2), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, #0a1226 40%, var(--bg-deep) 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--cyan); }
img, svg { display: block; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
::selection { background: rgba(91, 157, 255, .4); color: #fff; }
.wrap { max-width: 1264px; margin: 0 auto; padding: 0 var(--gutter); }
main, .site-footer { position: relative; z-index: 1; }
.section[id] { scroll-margin-top: 84px; }

/* ========== 星空 / 经纬网格 / 轨道弧线 ========== */
.sky {
  position: absolute; top: 0; left: 0; right:0; height: 760px;
  overflow: hidden; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
.sky-stars, .sky-grid, .sky-orbits { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.sky-stars {
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .95) 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255, 255, 255, .5) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(140, 190, 255, .65) 1.3px, transparent 2px);
  background-size: 280px 220px, 180px 160px, 460px 340px;
  background-position: 15px 25px, 90px 105px, 230px 40px;
}
.sky-grid {
  background-image:
    linear-gradient(rgba(91, 157, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 157, 255, .1) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 52% at 74% 14%, #000 12%, transparent 74%);
  mask-image: radial-gradient(ellipse 60% 52% at 74% 14%, #000 12%, transparent 74%);
}

/* ========== 顶栏 ========== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background-color: rgba(6, 11, 24, .6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background-color: rgba(6, 11, 24, .9); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.nav { position: relative; display: flex; align-items: center; gap: 20px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); font-size: 18px; font-weight: 700; letter-spacing: 1.5px; white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand small {
  font: 500 10px/1 var(--mono); letter-spacing: 2.4px; color: var(--primary);
  margin-left: 4px; transform: translateY(1px);
}
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  position: relative; display: block; padding: 8px 14px;
  color: var(--muted); font-size: 15px; border-radius: 6px; transition: color .2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; margin-left: 4px; padding: 0 10px;
  background: transparent; border: 1px solid rgba(91, 157, 255, .4); border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; border-radius: 2px; background: #cfe0ff;
  transition: transform .25s var(--ease), opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== 按钮 ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 8px 24px rgba(59, 123, 255, .28);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(59, 123, 255, .42); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(91, 157, 255, .08); border: 1px solid rgba(91, 157, 255, .55); color: #cfe0ff; box-shadow: none;
}
.btn-ghost:hover {
  color: #fff; border-color: var(--cyan); background: rgba(91, 157, 255, .16);
  box-shadow: 0 10px 26px rgba(95, 212, 255, .14);
}
.btn-sm { padding: 8px 14px; border-radius: 6px; font-size: 13px; }

/* ========== 首屏 ========== */
.hero { position: relative; padding: 88px 0 104px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.kicker { font: 500 13px/1.4 var(--mono); letter-spacing: 3px; color: var(--cyan); margin-bottom: 20px; }
.hero h1 { font-size: 46px; line-height: 1.3; font-weight: 700; letter-spacing: 1px; }
.grad {
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { font-size: 17px; line-height: 1.9; color: var(--muted); margin: 22px 0 32px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.entries { display: grid; gap: 20px; }

/* ========== HUD 面板（四角框） ========== */
.hud {
  position: relative;
  background: linear-gradient(180deg, rgba(20, 34, 66, .92), rgba(12, 22, 44, .92));
  border: 1px solid rgba(91, 157, 255, .38);
  border-radius: 8px;
  transition: border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}
.hud::before {
  content: ""; position: absolute; inset: -2px; border-radius: 8px; pointer-events: none; opacity: .75;
  background-image:
    linear-gradient(var(--cyan), var(--cyan)), linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)), linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)), linear-gradient(var(--cyan), var(--cyan)),
    linear-gradient(var(--cyan), var(--cyan)), linear-gradient(var(--cyan), var(--cyan));
  background-position: left top, left top, right top, right top, left bottom, left bottom, right bottom, right bottom;
  background-size: 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px, 16px 2px, 2px 16px;
  background-repeat: no-repeat;
  transition: opacity .25s ease;
}
.entry { display: block; padding: 22px 24px; color: var(--text); }
.entry:hover {
  color: var(--text); border-color: rgba(95, 212, 255, .7); transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .38), 0 0 0 1px rgba(95, 212, 255, .14);
}
.entry:hover::before { opacity: 1; }
.entry-tag { font: 500 11px/1.4 var(--mono); letter-spacing: 2px; color: var(--cyan); margin-bottom: 8px; }
.entry-name { font-size: 22px; font-weight: 700; line-height: 1.35; }
.entry-desc { font-size: 14px; line-height: 1.75; color: var(--muted); margin-top: 8px; }
.entry-go {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--primary); margin-top: 12px;
  transition: color .2s ease, gap .2s ease;
}
.entry:hover .entry-go { color: var(--cyan); gap: 10px; }

/* ========== 区块 ========== */
.section { position: relative; padding: 104px 0; }
.section.alt { background: rgba(6, 11, 24, .5); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.sec-head > *:not(.sec-num) { position: relative; z-index: 1; }
.sec-label { font: 500 12px/1.4 var(--mono); letter-spacing: 3px; color: var(--cyan); margin-bottom: 14px; }
.sec-title { font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: .5px; }
.sec-text { font-size: 17px; line-height: 1.9; color: var(--muted); margin-top: 14px; max-width: 720px; }
.sec-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sec-num {
  position: absolute; right: 0; top: -104px; z-index: 0;
  font: 700 92px/1 var(--mono); color: rgba(91, 157, 255, .13);
  pointer-events: none; user-select: none;
}
.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ========== 通用面板 ========== */
.panel {
  position: relative;
  background: rgba(18, 29, 56, .8);
  border: 1px solid rgba(91, 157, 255, .28);
  border-radius: var(--radius);
  transition: transform .25s var(--ease), border-color .25s ease, box-shadow .25s ease;
}
.panel:hover { transform: translateY(-4px); border-color: rgba(95, 212, 255, .6); box-shadow: 0 20px 44px rgba(0, 0, 0, .38); }

/* ========== 产品卡片 ========== */
.product-media {
  height: 210px; display: flex; align-items: center; justify-content: center; padding: 20px;
  border-bottom: 1px solid rgba(91, 157, 255, .18);
  background: radial-gradient(ellipse 62% 58% at 50% 60%, rgba(59, 123, 255, .36), rgba(6, 11, 24, 0) 74%);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.product-media.lg { height: 250px; }
.product-media img { width: auto; height: auto; max-width: 94%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, .55)); }
.product-media .icon-lg { width: 88px; height: 88px; color: var(--cyan); filter: drop-shadow(0 0 14px rgba(95, 212, 255, .45)); }
.product-media img.product-illustration { border-radius: 12px; border: 1px solid rgba(91, 157, 255, .22); }
.product-body { padding: 24px; }
.product-name { font-size: 21px; font-weight: 700; line-height: 1.35; }
.product-spec { font-size: 14px; color: var(--cyan); margin-top: 6px; }
.product-client { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.spec-row {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  margin-top: 10px; padding: 9px 12px;
  border: 1px solid rgba(91, 157, 255, .32); border-radius: 6px;
  font-size: 13px; line-height: 1.6; color: #cfe0ff;
}
.spec-row b { color: #fff; font-weight: 600; }
.spec-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.spec-main span { color: var(--muted); }
.spec-rate { font-family: var(--mono); color: var(--cyan); white-space: nowrap; margin-left: auto; }

/* ========== 功能卡片 ========== */
.cap { padding: 28px; }
.cap-no { font: 500 12px/1.4 var(--mono); letter-spacing: 2px; color: var(--cyan); }
.cap-icon { width: 38px; height: 38px; color: var(--cyan); margin-bottom: 16px; }
.cap-name { font-size: 20px; font-weight: 700; line-height: 1.4; margin-top: 10px; }
.cap-desc { font-size: 15px; line-height: 1.85; color: var(--muted); margin-top: 10px; }
.cap-list { margin-top: 14px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.cap-list li { position: relative; padding-left: 18px; }
.cap-list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ========== 公司简介 / 数据块 ========== */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat {
  padding: 22px 16px;
  border: 1px solid rgba(91, 157, 255, .32); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 34, 66, .92), rgba(12, 22, 44, .92));
}
.stat b { display: block; font: 700 28px/1.15 var(--mono); color: var(--cyan); }
.stat span { display: block; font-size: 13px; line-height: 1.6; color: var(--muted); margin-top: 10px; }

/* ========== 标签 ========== */
.band-wrap { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); }
.band { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; padding-top: 40px; padding-bottom: 40px; }
.band.start { justify-content: flex-start; padding-top: 28px; }
.band-label { font-size: 15px; color: var(--muted); margin-right: 4px; }
.pill {
  display: inline-flex; align-items: center; padding: 7px 18px;
  border: 1px solid rgba(91, 157, 255, .45); border-radius: 999px;
  background: rgba(18, 29, 56, .65); color: #cfe0ff; font-size: 14px; line-height: 1.6;
  transition: border-color .2s ease, color .2s ease;
}
.pill:hover { border-color: var(--cyan); color: #fff; }

/* ========== 子页面页头 ========== */
.page-head { position: relative; padding: 80px 0 56px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: 46px; line-height: 1.25; font-weight: 700; letter-spacing: 2px; }
.page-head p { font-size: 17px; line-height: 1.9; color: var(--muted); margin-top: 16px; max-width: 760px; }

/* ========== 信息卡片（定位 / 使命 / 联系） ========== */
.info-card { padding: 36px; }
.info-label { font: 500 13px/1.4 var(--mono); letter-spacing: 3px; color: var(--cyan); }
.info-title { font-size: 28px; font-weight: 700; line-height: 1.4; margin-top: 14px; }
.info-title.xl { font-size: 34px; }
.info-text { font-size: 16px; line-height: 1.95; color: var(--muted); margin-top: 14px; }
.info-text + .info-text { margin-top: 10px; }

/* ========== 公司动态 ========== */
.news-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 8px; }
.news-card { display: flex; flex-direction: column; }
.news-cover { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 9px 9px 0 0; background: #050a16; }
.news-cover img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.news-card:hover .news-cover img { transform: scale(1.04); }
.news-credit { position: absolute; right: 10px; bottom: 6px; font-size: 12px; color: rgba(255, 255, 255, .78); text-shadow: 0 1px 3px rgba(0, 0, 0, .9); }
.news-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 20px 22px 22px; }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-date { font: 600 13px/1.4 var(--mono); letter-spacing: 1px; color: var(--cyan); }
.news-title { margin: 0; font-size: 20px; line-height: 1.45; }
.news-title a { color: var(--text); text-decoration: none; transition: color .2s ease; }
.news-title a:hover { color: var(--primary); }
.news-text { margin: 0; font-size: 15px; line-height: 1.8; color: var(--muted); }
.news-link { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; }
.news-link:hover { color: var(--cyan); }
@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .news-body { padding: 18px 18px 20px; }
  .news-title { font-size: 18px; }
}

/* ========== 联系方式 ========== */
.contact-card { padding: 32px; }
.contact-icon { width: 40px; height: 40px; color: var(--cyan); margin-bottom: 16px; }
.contact-value { font-size: 22px; font-weight: 700; line-height: 1.5; margin-top: 8px; overflow-wrap: anywhere; }
.contact-value a { color: var(--text); }
.contact-value a:hover { color: var(--cyan); }
.wechat { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; }
.contact-card.email { grid-column: 1 / -1; }
.wechat-avatar { width: 84px; height: 84px; flex: none; border-radius: 50%; }
.wechat-body { min-width: 0; }
.wechat-name {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 22px; font-weight: 700; line-height: 1.5; margin-top: 8px;
}
.verified {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 8px;
  border: 1px solid rgba(95, 212, 255, .45); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--cyan);
}
.verified svg { width: 14px; height: 14px; flex: none; }
.wechat-meta { font-size: 14px; color: var(--muted); margin-top: 2px; }
.wechat-tip { font-size: 15px; line-height: 1.75; color: var(--muted); margin-top: 10px; }
.wechat-qr { margin: 0 0 0 auto; flex: none; text-align: center; }
.wechat-qr img { display: block; width: 132px; height: 132px; border-radius: 10px; background: #fff; }
.wechat-qr figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ========== 视频播放器 ========== */
.video-frame { padding: 8px; }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 4px; background: #000; }

/* ========== 页脚 ========== */
.site-footer { border-top: 1px solid rgba(91, 157, 255, .22); background: rgba(4, 8, 18, .86); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding: 56px 0 36px; }
.f-brand p { font-size: 14px; line-height: 1.9; color: var(--muted); margin-top: 14px; }
.f-title { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--primary); margin-bottom: 14px; }
.f-col a, .f-col span { display: block; font-size: 14px; line-height: 2.2; color: var(--muted); }
.f-col a { transition: color .2s ease; }
.f-col a:hover { color: var(--cyan); }
.icp {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 20px;
  padding: 18px 0 24px;
  border-top: 1px solid rgba(91, 157, 255, .12);
  font-size: 13px; color: var(--muted);
}
.icp a { color: var(--muted); }
.icp a:hover { color: var(--primary); }
.icp-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }

/* ========== 产品典型规格 ========== */
.spec-title { font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--cyan); margin: 20px 0 4px; }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-soft); }
.spec-list > div:first-child { border-top: 0; }
.spec-list dt { font-size: 13px; line-height: 1.7; color: var(--muted); }
.spec-list dd { margin: 0; font-size: 13px; line-height: 1.7; }
.spec-edition { font-size: 13px; font-weight: 700; color: var(--primary); padding: 10px 0 2px; }
.spec-compare { grid-column: 1 / -1; min-width: 0; padding: 24px; }
.spec-compare .spec-title { margin-top: 0; }
.spec-scroll { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 24px 12px 0; border-top: 1px solid var(--line-soft); }
.spec-table thead th { border-top: 0; padding-top: 4px; font-size: 15px; color: var(--primary); }
.spec-table tbody th { width: 104px; font-weight: 500; white-space: nowrap; color: var(--muted); }
.spec-table tbody td { width: calc((100% - 104px) / 2); }
@media (max-width: 640px) {
  .spec-table { min-width: 520px; }
  .spec-table th, .spec-table td { padding-right: 14px; }
}

/* ========== 首页分组标题（平铺子页面内容） ========== */
.group-band { position: relative; z-index: 1; border-top: 1px solid var(--line-soft); }
.group-band .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 22px; }
.group-kicker { font: 500 13px/1.4 var(--mono); letter-spacing: 3px; color: var(--cyan); }
.group-title { font-size: 34px; font-weight: 700; letter-spacing: 2px; line-height: 1.3; margin-top: 8px; }
.group-link { font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none; padding-bottom: 6px; }
.group-link:hover { color: var(--cyan); }
@media (max-width: 640px) {
  .group-title { font-size: 26px; }
  .group-band .wrap { padding-top: 32px; padding-bottom: 14px; }
}

/* ========== 产品与服务页：获取详细技术白皮书 / 预约专家交流 ========== */
#consult [hidden] { display: none !important; }
#consult .btn { border: 0; cursor: pointer; }
#consult .btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.consult-form, .consult-done { padding: 34px; }
.consult-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.consult-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.consult-field.wide, .consult-actions, .consult-error { grid-column: 1 / -1; }
.consult-field label { font-size: 14px; font-weight: 600; }
.consult-field label small { font-weight: 400; color: var(--muted); margin-left: 4px; }
.consult-field input, .consult-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(91, 157, 255, .38); border-radius: 6px;
  font: 16px/1.5 var(--font); color: var(--text); background: rgba(6, 11, 24, .6);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.consult-field textarea { resize: vertical; min-height: 112px; }
.consult-field input::placeholder, .consult-field textarea::placeholder { color: var(--muted); opacity: 1; }
.consult-field input:focus, .consult-field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(95, 212, 255, .16);
}
/* 浏览器自动填充时保持深色底、浅色字 */
.consult-field input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 1000px #0d1730 inset; }
.consult-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.consult-note { flex: 1 1 320px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.consult-error { font-size: 14px; line-height: 1.7; color: #ff9f9f; }
/* 防垃圾提交的隐藏字段：不可见、不可点、不占位 */
.consult-hp { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.consult-done { display: flex; align-items: flex-start; gap: 20px; scroll-margin-top: 84px; }
.consult-done-icon { flex: none; width: 44px; height: 44px; color: var(--cyan); filter: drop-shadow(0 0 12px rgba(95, 212, 255, .45)); }
.consult-done h3 { font-size: 20px; line-height: 1.4; }
.consult-done h3:focus { outline: none; }
.consult-done p { font-size: 15px; line-height: 1.8; color: var(--muted); margin-top: 6px; }
.consult-done .consult-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-top: 14px; }
@media (max-width: 640px) {
  .consult-form, .consult-done { padding: 22px 20px; }
  .consult-form { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

/* ========== 进入视口淡入 ========== */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ========== 响应式 ========== */
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; }
  .hero h1 { font-size: 42px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .nav { height: 60px; gap: 12px; }
  .brand { font-size: 16px; letter-spacing: 1px; }
  .brand small { display: none; }
  .nav-links {
    position: absolute; top: 60px; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 14px;
    background: rgba(6, 11, 24, .97); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 16px; }
  .nav-links a[aria-current="page"]::after { left: 10px; right: 10px; bottom: 6px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .sky { height: 680px; }
  .sky-orbits { transform: translateX(-220px); }
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 72px 0; }
  .sec-num { top: -72px; font-size: 60px; }
  .sec-title { font-size: 26px; }
  .sec-text { font-size: 16px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-head { padding: 56px 0 48px; }
  .page-head h1 { font-size: 34px; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 28px; letter-spacing: .5px; }
  .hero-sub { margin: 18px 0 26px; }
  .btn { padding: 12px 20px; font-size: 14px; }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .entry { padding: 18px 20px; }
  .product-media { height: 180px; }
  .product-media.lg { height: 210px; }
  .cap, .info-card { padding: 22px 20px; }
  .info-title, .info-title.xl { font-size: 24px; }
  .contact-card { padding: 24px 20px; }
  .contact-value { font-size: 19px; }
  .wechat { flex-direction: column; align-items: flex-start; gap: 16px; }
  .wechat-qr { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 24px; }
  .icp { flex-direction: column; align-items: flex-start; }
  .sec-num { font-size: 48px; }
}
