/* ==========================================================================
   六萌科技 · 官网样式
   设计基调沿用产品原型：深夜蓝底 + 品牌蓝 + 物联网青，克制、留白、以内容为主。
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --night: #090f23;
  --night-2: #0d1530;
  --night-3: #121c3c;
  --text: #17203a;
  --text-2: #2c3855;
  --muted: #52617b;
  --muted-2: #6b7890;
  --blue: #4165f6;
  --blue-dk: #2f4cd4;
  --blue-soft: #a9bcff;
  --blue-tint: #eef2ff;
  --cyan: #83eee2;
  --teal: #06796e;
  --teal-dk: #05564f;
  --teal-tint: #e7f6f3;
  --line: #e2e8f2;
  --line-2: #eef2f8;
  --paper: #f4f7fc;
  --white: #fff;
  --radius: 14px;
  --radius-sm: 10px;
  --wrap: 1220px;
  --header-h: 76px;
  --shadow-sm: 0 2px 8px rgba(23, 32, 58, .04);
  --shadow: 0 10px 32px rgba(23, 32, 58, .07);
  --font: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #7690ff; outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), calc(100% - 72px)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 18px; background: var(--blue); color: #fff;
  border-radius: 0 0 8px 8px; font-size: 14px; font-weight: 600;
  transition: top .18s;
}
.skip-link:focus { top: 0; }

/* ==========================================================================
   页头
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9, 15, 35, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(234, 240, 255, .14);
  color: #f5f7ff;
  transition: background .22s, box-shadow .22s;
}
.site-header.scrolled {
  background: rgba(9, 15, 35, .97);
  box-shadow: 0 8px 28px rgba(5, 10, 26, .3);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  white-space: nowrap; flex: 0 0 auto;
}
.brand-mark {
  width: 34px; height: 34px; flex: 0 0 auto;
  display: grid; place-items: center;
  border: 1px solid rgba(165, 179, 254, .5);
  background: rgba(165, 179, 254, .07);
  border-radius: 10px;
}
.brand-mark i {
  width: 11px; height: 11px; display: block;
  border: 2px solid #c2cdff; border-radius: 3px;
  transform: rotate(45deg);
  box-shadow: 4px -4px 0 -1px #607cfc;
}
.brand-text strong { display: block; font-size: 18.5px; letter-spacing: .07em; line-height: 1.25; font-weight: 700; }
.brand-text em {
  display: block; font-style: normal; font-size: 10.5px;
  letter-spacing: .13em; text-transform: uppercase;
  color: #8b9bc4; line-height: 1.3;
}

.main-nav {
  margin-left: auto;
  display: flex; align-items: stretch; gap: 4px;
  height: var(--header-h);
  font-size: 15px; color: #cbd6ee;
}
.main-nav a {
  position: relative; display: flex; align-items: center;
  padding: 0 14px; border-radius: 8px;
  transition: color .16s, background .16s;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.main-nav a[aria-current="page"] { color: #fff; font-weight: 700; }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; background: #9cacff; border-radius: 2px 2px 0 0;
}
.nav-toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border-radius: 9px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(184, 198, 239, .3);
  color: #eef2ff; padding: 0; place-items: center;
}
.nav-toggle span { display: block; width: 18px; height: 1.8px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.8px;
  background: currentColor; border-radius: 2px; transition: transform .2s;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.header-cta {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 40px; padding: 0 16px; border-radius: 8px;
  border: 1px solid rgba(184, 198, 239, .4);
  background: rgba(231, 239, 255, .06);
  color: #eef2ff; font-size: 14px; font-weight: 650;
  transition: background .16s, border-color .16s;
}
.header-cta:hover { background: rgba(231, 239, 255, .14); border-color: rgba(184, 198, 239, .6); }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 9px;
  font-size: 15px; font-weight: 650; white-space: nowrap;
  transition: transform .16s, box-shadow .16s, background .16s, border-color .16s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { font-family: Arial, sans-serif; font-size: 16px; line-height: 1; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(37, 59, 152, .28); }
.btn-primary:hover { background: var(--blue-dk); box-shadow: 0 12px 28px rgba(37, 59, 152, .34); }
.btn-ghost { border-color: rgba(184, 198, 239, .42); background: rgba(231, 239, 255, .05); color: #eef2ff; }
.btn-ghost:hover { background: rgba(231, 239, 255, .13); border-color: rgba(184, 198, 239, .65); }
.btn-cyan { background: #9cf0e5; color: #082a30; box-shadow: 0 8px 22px rgba(9, 60, 66, .22); }
.btn-cyan:hover { background: #b3f6ec; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 22px rgba(4, 60, 52, .24); }
.btn-teal:hover { background: var(--teal-dk); }
.btn-soft { border-color: #c3cffb; background: #f7f9ff; color: #344db7; }
.btn-soft:hover { background: #eef2ff; }
.btn-sm { min-height: 40px; padding: 0 15px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ==========================================================================
   Hero（深色区）
   ========================================================================== */
.hero {
  position: relative;
  background: var(--night);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(90deg, #090f23 1%, #090f23ed 27%, #090f234a 57%, #090f2300 78%),
    linear-gradient(0deg, #090f23 0%, #090f2300 26%);
  background-repeat: no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background-image: url("../img/hero-fiber-1920.jpg");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; padding: 76px 0 92px; max-width: 720px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--blue-soft); font-weight: 650; font-size: 14.5px;
  letter-spacing: .09em;
}
.eyebrow::before {
  content: ""; display: block; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px;
}
.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.16; letter-spacing: -.035em; font-weight: 800;
}
.hero h1 span { display: block; color: var(--blue-soft); }
.hero-sub {
  font-size: 17px; line-height: 1.85; color: #cfdaef;
  max-width: 570px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 44px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .11);
}
.hero-meta div { min-width: 92px; }
.hero-meta strong {
  display: block; font-size: 26px; font-weight: 750; letter-spacing: -.03em;
  color: #fff; line-height: 1.2;
}
.hero-meta small { font-size: 12.5px; color: #94a4c8; letter-spacing: .02em; }

/* 物联网版 Hero */
.hero-iot { background: #0a232c; }
.hero-iot::before {
  background-image:
    linear-gradient(90deg, #09252e 0%, #09252e 17%, #09252ef5 29%, #09252e94 50%, #09252e00 76%),
    linear-gradient(0deg, #09252e 0%, #09252e00 32%);
}
.hero-iot::after {
  background-image: url("../img/hero-iot-1920.jpg");
  background-size: cover;
  background-position: center right;
}
.hero-iot .eyebrow { color: #9eeddf; }
.hero-iot h1 span { color: #9eeddf; }
.hero-iot .hero-sub { color: #cde5e8; }

/* 内页浅色 Hero */
.page-hero {
  background:
    radial-gradient(ellipse 70% 120% at 88% 8%, #e8eeff 0%, #f4f7fc 62%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 52px;
}
.page-hero .eyebrow { color: var(--blue); letter-spacing: .1em; }
.page-hero h1 {
  margin: 14px 0 14px; font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.2; letter-spacing: -.032em; font-weight: 800;
}
.page-hero p { color: var(--muted); font-size: 17px; max-width: 700px; line-height: 1.8; }
.page-hero .eyebrow-teal { color: var(--teal); }

/* ==========================================================================
   区块与通用标题
   ========================================================================== */
.section { padding: 78px 0; }
.section.tight { padding: 54px 0; }
.section.paper { background: var(--paper); }
.section.night { background: var(--night); color: #fff; }

.sec-head { margin-bottom: 34px; max-width: 760px; }
.sec-head .eyebrow { color: var(--blue); margin-bottom: 10px; }
.sec-head h2 {
  font-size: clamp(25px, 2.6vw, 34px); line-height: 1.25;
  letter-spacing: -.032em; font-weight: 750;
}
.sec-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.section.night .sec-head h2 { color: #fff; }
.section.night .sec-head p { color: #9fb0d4; }
.section.night .sec-head .eyebrow { color: var(--blue-soft); }

/* ==========================================================================
   业务卡片
   ========================================================================== */
.biz-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.biz-card {
  position: relative; display: flex; flex-direction: column;
  padding: 32px 32px 28px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.biz-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4deef; }
.biz-card .icon {
  width: 48px; height: 48px; border-radius: 13px;
  display: grid; place-items: center; margin-bottom: 20px;
  font-family: Consolas, monospace; font-size: 15px; font-weight: 700;
  color: #3c55cf; background: #edf0ff;
}
.biz-card.teal .icon { color: #127e74; background: var(--teal-tint); }
.biz-card h3 { font-size: 21px; letter-spacing: -.01em; margin-bottom: 10px; }
.biz-card p { color: var(--muted); font-size: 15px; line-height: 1.75; flex: 1; }
.biz-card .more {
  margin-top: 20px; font-weight: 650; font-size: 14.5px; color: #3955d5;
  display: inline-flex; align-items: center; gap: 6px;
}
.biz-card.teal .more { color: #14796f; }
.biz-card .more .arrow { transition: transform .18s; }
.biz-card:hover .more .arrow { transform: translateX(4px); }
.biz-card .tagline {
  position: absolute; top: 26px; right: 26px;
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  color: #9aa8c2;
}

/* ==========================================================================
   场景网格
   ========================================================================== */
.scene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.scene {
  padding: 24px 22px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .18s, box-shadow .18s;
}
.scene:hover { border-color: #cfd9ec; box-shadow: var(--shadow-sm); }
.scene .num {
  display: block; font-family: Arial, sans-serif; font-size: 12px;
  font-weight: 700; color: #b6c2d8; letter-spacing: .1em; margin-bottom: 12px;
}
.scene h3 { font-size: 17px; margin-bottom: 8px; letter-spacing: -.01em; }
.scene p { font-size: 14px; color: var(--muted); line-height: 1.72; }

/* ==========================================================================
   模型目录
   ========================================================================== */
.filter-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 26px;
}
.chip {
  display: inline-flex; align-items: center; min-height: 38px;
  padding: 0 15px; border: 1px solid #dfe5f0; background: #fff;
  border-radius: 8px; color: #465775; font-size: 14px; font-weight: 650;
  transition: background .16s, border-color .16s, color .16s;
}
.chip:hover { border-color: #a7b4ed; }
.chip[aria-pressed="true"] {
  color: #334dca; background: #e9edff; border-color: #bdc7ff;
}
.search-field {
  margin-left: auto; position: relative; display: flex; align-items: center;
  width: 280px; height: 38px;
}
.search-field svg {
  position: absolute; left: 12px; width: 15px; height: 15px;
  fill: none; stroke: #8b98b0; stroke-width: 1.8; pointer-events: none;
}
.search-field input {
  width: 100%; height: 100%; padding: 0 12px 0 35px;
  border: 1px solid #dfe5f0; border-radius: 8px; background: #fff;
  font-size: 14px; color: var(--text);
}
.search-field input::placeholder { color: #93a0b6; }

.model-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.model-card {
  display: flex; flex-direction: column;
  min-height: 158px; padding: 20px 20px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.model-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: #d3dcee; }
.model-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.model-mark {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px;
  display: grid; place-items: center;
  font-family: Arial, sans-serif; font-size: 17px; font-weight: 700;
  color: var(--m-color, #415ccf); background: var(--m-bg, #e8edff);
}
.model-head h3 { font-family: Arial, var(--font); font-size: 19px; line-height: 1.2; margin-bottom: 1px; }
.model-head .provider { font-size: 12px; color: var(--muted-2); }
.model-card .desc { font-size: 14px; color: #394765; flex: 1; }
.model-card .tag {
  align-self: flex-start; margin-top: 12px;
  padding: 4px 9px; background: #f0f3f9; border-radius: 5px;
  color: #4f607e; font-size: 11px; font-weight: 600;
}
.filter-empty {
  padding: 44px 24px; border: 1px dashed #d5dfee; border-radius: var(--radius);
  background: #fbfcfe; color: var(--muted); text-align: center; font-size: 15px;
}
.grid-note { margin-top: 18px; color: var(--muted-2); font-size: 13.5px; }

/* ==========================================================================
   提示条 / CTA
   ========================================================================== */
.callout {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  flex-wrap: wrap;
  margin-top: 26px; padding: 22px 26px;
  background: var(--blue-tint); border: 1px solid #dfe7fb;
  border-radius: var(--radius);
}
.callout.teal { background: var(--teal-tint); border-color: #d0e9e4; }
.callout h3 { font-size: 16.5px; margin-bottom: 5px; }
.callout p { color: var(--muted); font-size: 14px; }
.callout-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 深色 CTA 区块 */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, #0b142e 0%, #12204a 52%, #0a1a2e 100%);
  color: #fff; border-radius: 20px;
  padding: 48px 52px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 140% at 92% 50%, rgba(65, 101, 246, .28), transparent 62%);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(23px, 2.4vw, 30px); letter-spacing: -.028em; margin-bottom: 9px; }
.cta-band p { color: #a9b8d8; font-size: 15.5px; }
.cta-band .actions { display: flex; gap: 11px; flex-wrap: wrap; }

/* ==========================================================================
   物联网
   ========================================================================== */
.iot-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.iot-card {
  padding: 26px 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .18s, box-shadow .18s;
}
.iot-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.iot-card .iot-icon {
  width: 38px; height: 38px; border-radius: 9px; margin-bottom: 14px;
  display: grid; place-items: center;
  background: var(--teal-tint); color: #127e74;
  font-family: Arial, sans-serif; font-weight: 750; font-size: 13px;
}
.iot-card h3 { font-size: 18.5px; margin-bottom: 8px; }
.iot-card p { font-size: 14.5px; color: var(--muted); line-height: 1.72; }

.spec-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec-list > div {
  display: grid; grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.spec-list dt { font-weight: 650; color: var(--text-2); font-size: 14.5px; }
.spec-list dd { color: var(--muted); font-size: 14.5px; line-height: 1.72; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 26px 0 0; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-family: Arial, sans-serif; font-size: 12px;
  font-weight: 700; letter-spacing: .12em; color: var(--teal);
  margin-bottom: 12px;
}
.step::after {
  content: ""; position: absolute; top: 6px; left: 34px; right: 8px;
  height: 1px; background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ==========================================================================
   关于 / 合作企业
   ========================================================================== */
.about-split { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 56px; align-items: start; }
.about-copy p { color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-copy p + p { margin-top: 14px; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.fact {
  padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.fact strong { display: block; font-size: 20px; letter-spacing: -.02em; margin-bottom: 3px; }
.fact small { color: var(--muted-2); font-size: 12.5px; }
.fact.teal { border-left: 3px solid #2a9488; }
.fact.blue { border-left: 3px solid #5974ed; }

.partner-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px;
  list-style: none;
}
.partner-grid li {
  display: grid; place-items: center; min-height: 104px; padding: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-align: center; color: #263753; font-size: 17px; font-weight: 700;
  letter-spacing: -.01em;
  transition: border-color .18s, transform .18s;
}
.partner-grid li:hover { border-color: #cfd9ec; transform: translateY(-2px); }

/* 团队文化 */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.value {
  padding: 26px 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #fff;
}
.value h3 { font-size: 17px; margin-bottom: 9px; }
.value p { font-size: 14.5px; color: var(--muted); line-height: 1.75; }

/* ==========================================================================
   联系表单
   ========================================================================== */
.contact-layout {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 56px; align-items: start;
}
.contact-copy h2 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.03em; margin-bottom: 16px; }
.contact-copy > p { color: var(--muted); font-size: 16px; line-height: 1.85; }
.contact-channels { margin-top: 30px; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.channel {
  display: flex; align-items: center; gap: 15px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.channel .ci {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue);
}
.channel.teal .ci { background: var(--teal-tint); color: var(--teal); }
.channel .ci svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.channel .cl { font-size: 12.5px; color: var(--muted-2); letter-spacing: .02em; }
.channel .cv { font-size: 15.5px; font-weight: 650; color: var(--text-2); word-break: break-all; }
.channel a.cv:hover { color: var(--blue); }

.form-card {
  background: #fff; border: 1px solid #e2e7f1; border-radius: 18px;
  padding: 34px; box-shadow: 0 14px 42px rgba(18, 35, 69, .06);
  --accent: var(--blue);
  --tint: var(--blue-tint);
}
.form-card[data-business="iot"] { --accent: var(--teal); --tint: var(--teal-tint); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field > label { font-size: 14px; font-weight: 650; color: var(--text-2); display: flex; align-items: baseline; gap: 7px; }
.field > label small { color: var(--muted-2); font-weight: 400; font-size: 12.5px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid #d9e1ef; border-radius: 9px; background: #fff;
  font-size: 15px; color: var(--text);
  transition: border-color .16s, box-shadow .16s;
}
.field textarea { min-height: 118px; resize: vertical; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a3aec2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.field .err { font-size: 12.5px; color: #c0392b; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0a49c; background: #fffcfa; }

.extra-fields {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
  padding: 18px; margin-bottom: 16px;
  border: 1px solid #e8edf5; border-radius: 11px; background: #f8faff;
}
.extra-fields .field { margin-bottom: 0; }

.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-actions .btn { min-width: 168px; background: var(--accent); }
.form-actions .btn:hover { filter: brightness(1.05); }
.form-actions p { font-size: 12.5px; color: var(--muted-2); }

.form-status {
  margin-top: 18px; padding: 14px 16px; border-radius: 9px;
  background: var(--tint); color: var(--accent); font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
}
.form-status.error { background: #fdeeec; color: #a5362a; }
.form-status svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 2px; fill: none; stroke: currentColor; stroke-width: 2; }
.form-status p { margin: 0; }
.form-status p + p { margin-top: 4px; font-size: 13px; opacity: .88; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 4px; font-size: 16.5px; font-weight: 650; cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: 0 0 auto; font-size: 21px; font-weight: 400;
  color: var(--muted-2); line-height: 1; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--blue); }
.faq .ans { padding: 0 40px 22px 4px; color: var(--muted); font-size: 15px; line-height: 1.85; }

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer { background: var(--night); color: #b3c0dc; padding: 64px 0 30px; }
.footer-top {
  display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, .85fr));
  gap: 40px; padding-bottom: 42px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: #8b9bc0; max-width: 340px; }
.footer-brand .fm { margin-top: 18px; display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.footer-brand .fm a { color: #b3c0dc; }
.footer-brand .fm a:hover { color: #fff; }
.footer-col h4 {
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: #7b8db6; margin-bottom: 16px; font-weight: 650;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; font-size: 14.5px; }
.footer-col a { color: #b3c0dc; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; padding-top: 22px;
  font-size: 12.5px; color: #6f80a6;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #b3c0dc; }

/* ==========================================================================
   动效（渐进增强）
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1120px) {
  .model-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .scene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-split { grid-template-columns: 1fr; gap: 34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .step::after { display: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, .8fr)); gap: 30px; }
}

@media (max-width: 940px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 100%;
    height: auto; gap: 2px; padding: 12px;
    background: #0b142c; border-bottom: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 40px rgba(4, 9, 22, .5);
  }
  .site-header.nav-open .main-nav a { padding: 13px 14px; border-radius: 8px; height: auto; }
  .site-header.nav-open .main-nav a[aria-current="page"]::after { display: none; }
  .site-header.nav-open .main-nav a[aria-current="page"] { background: rgba(65, 101, 246, .2); }
  .site-header.nav-open .header-cta {
    display: inline-flex; position: absolute; left: 12px; right: 12px;
    top: calc(100% + 246px); z-index: 2;
  }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .iot-grid, .values { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band { padding: 34px 28px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  :root { --header-h: 66px; }
  .brand-text strong { font-size: 17px; }
  .brand-text em { display: none; }
  .hero-inner { padding: 48px 0 62px; }
  .hero h1 { font-size: clamp(29px, 8.4vw, 42px); }
  .hero-sub { font-size: 15.5px; }
  .hero::after {
    background-image: url("../img/hero-fiber-1280.jpg");
    background-position: 68% center;
  }
  /* 窄屏时图片会压到文字下方，加一层纵向遮罩保证可读性 */
  .hero::before {
    background-image: linear-gradient(
      180deg,
      rgba(9, 15, 35, .86) 0%,
      rgba(9, 15, 35, .9) 52%,
      rgba(9, 15, 35, .97) 100%
    );
  }
  .hero-iot::after {
    background-image: url("../img/hero-iot-1280.jpg");
    background-position: 66% center;
  }
  .hero-iot::before {
    background-image: linear-gradient(
      180deg,
      rgba(9, 37, 46, .86) 0%,
      rgba(9, 37, 46, .9) 52%,
      rgba(9, 37, 46, .97) 100%
    );
  }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-meta { gap: 20px; }
  .hero-meta strong { font-size: 22px; }
  .section { padding: 52px 0; }
  .section.tight { padding: 42px 0; }
  .biz-grid, .scene-grid, .model-grid, .about-facts, .form-row, .extra-fields { grid-template-columns: 1fr; }
  .biz-card { padding: 24px 22px 22px; }
  .biz-card .tagline { display: none; }
  .page-hero { padding: 40px 0 36px; }
  .page-hero p { font-size: 15.5px; }
  .search-field { width: 100%; margin-left: 0; }
  .filter-bar { gap: 8px; }
  .chip { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  .partner-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-grid li { min-height: 78px; font-size: 15px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 5px; }
  .form-card { padding: 22px 18px; border-radius: 14px; }
  .callout { padding: 20px; flex-direction: column; align-items: flex-start; }
  .cta-band { padding: 30px 22px; border-radius: 16px; }
  .cta-band .actions { width: 100%; }
  .cta-band .actions .btn { flex: 1 1 auto; }
  .faq summary { font-size: 15.5px; }
  .faq .ans { padding-right: 12px; }
  .site-footer { padding: 44px 0 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 400px) {
  .hero-meta { flex-direction: column; gap: 14px; }
  .form-actions .btn { width: 100%; }
}

/* ==========================================================================
   法务页面
   ========================================================================== */
.legal { max-width: 820px; }
.legal h2 {
  font-size: 18px; font-weight: 700; letter-spacing: -.01em;
  margin: 34px 0 12px; padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--muted); font-size: 15.5px; line-height: 1.9; margin-bottom: 12px; }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
