/* ============================================================
   新疆言讯网络科技有限公司 - 官网样式
   ============================================================ */

:root {
  --brand: #0b3fa8;
  --brand-2: #1673ff;
  --ink: #101828;
  --ink-2: #344054;
  --ink-3: #667085;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-deep: #0f1e38;
  --radius: 12px;
  --maxw: 1140px;
  --header-h: 68px;
}

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

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

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .18s; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

/* ---------- 通用 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: #0a3490; }
.btn-outline { border: 1px solid #c9d4e6; color: var(--brand); background: #fff; }
.btn-outline:hover { border-color: var(--brand); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.24); }

.section { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }

.sec-head { max-width: 680px; margin-bottom: 40px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head h2 { font-size: clamp(23px, 2.8vw, 30px); line-height: 1.35; color: var(--ink); font-weight: 700; }
.sec-head p { margin-top: 12px; font-size: 16px; color: var(--ink-3); }
.eyebrow {
  font-size: 13px; color: var(--brand); font-weight: 600; letter-spacing: .04em;
  margin-bottom: 12px; display: block;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(16,24,40,.05); }
.nav { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 14px;
}
.logo-text b { display: block; font-size: 16px; color: var(--ink); font-weight: 700; line-height: 1.25; }
.logo-text span { display: block; font-size: 11px; color: var(--ink-3); letter-spacing: .14em; }

.menu { display: flex; align-items: center; gap: 2px; }
.menu a { position: relative; padding: 7px 13px; font-size: 15px; color: var(--ink-2); border-radius: 6px; }
.menu a:hover { color: var(--brand); }
.menu a.active { color: var(--brand); font-weight: 600; }
.menu a.active::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 0; height: 2px; background: var(--brand); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-tel { font-size: 15px; font-weight: 600; color: var(--brand); white-space: nowrap; }

.burger { display: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); place-items: center; }
.burger span { display: block; width: 17px; height: 2px; background: var(--ink); position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: var(--ink); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--header-h) + 72px) 0 64px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.28; font-weight: 700; color: var(--ink); max-width: 780px; }
.hero-lead { margin-top: 20px; font-size: 17px; color: var(--ink-3); max-width: 640px; }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { margin-top: 38px; display: flex; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--ink-3); }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-2); }

/* ---------- 卡片 ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px;
  transition: border-color .25s, transform .25s;
}
.card:hover { border-color: #b9c8e0; transform: translateY(-3px); }
.card h3 { font-size: 17px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--ink-3); }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.card .tags span { font-size: 12.5px; color: var(--ink-3); background: var(--bg-soft); border-radius: 5px; padding: 3px 9px; }

/* ---------- 方案切换 ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tab {
  padding: 9px 18px; border-radius: 7px; border: 1px solid var(--line); background: #fff;
  font-size: 15px; color: var(--ink-2); transition: all .2s;
}
.tab:hover { border-color: #b9c8e0; color: var(--brand); }
.tab.on { background: var(--brand); color: #fff; border-color: var(--brand); }

.sol-panel { display: none; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.sol-panel.on { display: grid; animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.sol-visual { background: var(--bg-soft); border-radius: var(--radius); padding: 28px; }
.sol-visual h3 { font-size: 19px; color: var(--ink); font-weight: 700; }
.sol-visual p { margin-top: 10px; font-size: 14.5px; color: var(--ink-3); }
.sol-visual .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.sol-visual .tags span { font-size: 12.5px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 3px 9px; }

.sol-list li { padding: 16px 0; border-top: 1px solid var(--line); }
.sol-list li:first-child { border-top: none; padding-top: 0; }
.sol-list li b { display: block; font-size: 15.5px; color: var(--ink); font-weight: 600; }
.sol-list li p { font-size: 14.5px; color: var(--ink-3); margin-top: 3px; }

/* ---------- 项目 / 能力列表 ---------- */
.plain-list { border-top: 1px solid var(--line); }
.plain-list li { display: grid; grid-template-columns: 150px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.plain-list li b { font-size: 15px; color: var(--ink); font-weight: 600; }
.plain-list li p { font-size: 14.5px; color: var(--ink-3); }

/* ---------- 新闻 ---------- */
.news-item {
  display: grid; grid-template-columns: 92px 1fr; gap: 22px; padding: 20px 0;
  border-bottom: 1px solid var(--line); align-items: baseline;
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-date { font-size: 14px; color: var(--ink-3); }
.news-item h3 { font-size: 16.5px; color: var(--ink); font-weight: 600; line-height: 1.55; }
.news-item p { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.news-item:hover h3 { color: var(--brand); }

/* ---------- CTA ---------- */
.cta-band { background: var(--bg-deep); border-radius: var(--radius); padding: 44px 40px; color: #fff; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 15px; max-width: 560px; }

/* ---------- 页脚 ---------- */
.footer { background: #0b1628; color: rgba(255,255,255,.66); padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; }
.foot-grid h5 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.foot-grid li { padding: 5px 0; font-size: 14px; }
.foot-grid li a:hover { color: #fff; }
.foot-brand .logo-text b { color: #fff; }
.foot-brand p { margin-top: 14px; font-size: 14px; }
.foot-contact { margin-top: 16px; font-size: 14px; display: grid; gap: 8px; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px; font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,.5);
}
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- 内页 ---------- */
.page-head { padding: calc(var(--header-h) + 56px) 0 48px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(25px, 3.4vw, 34px); color: var(--ink); font-weight: 700; }
.page-head p { margin-top: 12px; color: var(--ink-3); max-width: 620px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 12px; }
.crumb a:hover { color: var(--brand); }

.prose p { color: var(--ink-3); margin-bottom: 14px; font-size: 16px; }
.prose p:last-child { margin-bottom: 0; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; }
.flow-step .num { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.flow-step h4 { font-size: 15px; color: var(--ink); font-weight: 600; }
.flow-step p { font-size: 13.5px; color: var(--ink-3); margin-top: 5px; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.info-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-card li:last-child { border-bottom: none; padding-bottom: 0; }
.info-card li:first-child { padding-top: 0; }
.info-card li b { display: block; font-size: 13px; color: var(--ink-3); font-weight: 500; }
.info-card li p { font-size: 15.5px; color: var(--ink); font-weight: 600; margin-top: 2px; }
.map-box {
  margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: #fff; font-size: 14px; color: var(--ink-3);
}
.map-box b { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; color: var(--ink-2); font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(22,115,255,.1);
}
.field textarea { resize: vertical; min-height: 108px; }
.form-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }
.form-tip { display: none; margin-top: 14px; padding: 11px 14px; border-radius: 8px; background: #e7f6ee; color: #10633f; font-size: 14px; }
.form-tip.show { display: block; }

/* 动画 */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 42px; height: 42px; border-radius: 8px; z-index: 90;
  background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2);
  opacity: 0; pointer-events: none; transition: all .3s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .menu {
    display: none; position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; padding: 10px 20px 20px; border-top: 1px solid var(--line); box-shadow: 0 8px 24px rgba(16,24,40,.08);
  }
  .menu.open { display: flex; }
  .menu a { padding: 13px 4px; border-bottom: 1px solid #f2f4f7; }
  .menu a.active::after { display: none; }
  .burger { display: grid; }
  .nav-tel { display: none; }
  .grid-3, .grid-2, .sol-panel, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 56px 0; }
  .hero { padding: calc(var(--header-h) + 48px) 0 48px; }
}
@media (max-width: 620px) {
  .container { padding: 0 18px; }
  .grid-4, .flow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .plain-list li { grid-template-columns: 1fr; gap: 6px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
  .news-item:first-child { border-top: 1px solid var(--line); }
  .form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 22px; }
}
