:root {
  --ink: #16202e;
  --ink-2: #1f2c3d;
  --steel: #2b3a4d;
  --line: #d8dee6;
  --bg: #f5f7fa;
  --bg-alt: #eef2f6;
  --accent: #f5a623;
  --accent-d: #d98c0e;
  --text: #1c2733;
  --muted: #5b6b7c;
  --white: #ffffff;
  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(22, 32, 46, .08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 32, 46, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  height: 64px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; letter-spacing: .5px;
}
.brand-text { font-size: 15px; letter-spacing: .3px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: #cdd6e0; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  min-height: calc(100vh - 64px);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(245,166,35,.22), transparent 60%),
    linear-gradient(135deg, #16202e 0%, #1f2c3d 55%, #243246 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000, transparent);
}
.hero-inner {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  padding: 70px 20px 60px;
  width: 100%;
}
.hero-eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 2px; font-size: 14px; }
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.05; margin: 10px 0 16px; }
.hero-nick { color: var(--accent); font-size: 28px; margin-left: 14px; font-weight: 700; }
.hero-sub { color: #c4cfdb; font-size: 18px; max-width: 640px; }
.hero-slogan { color: #d8e0e9; font-size: 14px; margin: 8px 0 0; letter-spacing: .3px; }
.hero-slogan-en { color: #8a98a8; margin-left: 8px; }
.hero-cta { display: flex; gap: 14px; margin: 24px 0 18px; flex-wrap: wrap; }
.btn { padding: 12px 26px; border-radius: 10px; font-weight: 700; font-size: 15px; transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-d); }
.btn-ghost { border: 1px solid rgba(255,255,255,.3); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-logo {
  position: absolute;
  right: 24px; bottom: 48px;
  height: 130px; width: auto;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.5));
}
.hero-domains { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-size: 13px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  color: #dce4ec; letter-spacing: .5px;
}

/* ---------- 通用 section ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 70px 20px; box-sizing: border-box; }
/* section-alt 也要靠 max-width:var(--maxw) 居中，保证子元素（标题/正文）左右对称。
   背景铺满交给 .section-alt::before 伪元素（fixed inset:0 不占布局）。 */
.section-alt { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 70px 20px; box-sizing: border-box; background: transparent; z-index: 0; }
.section-alt::before {
  content: ""; position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 100vw; height: 100%;
  background: var(--bg-alt);
  z-index: -1;
}
.section-head { margin-bottom: 38px; }
.section-tag {
  display: inline-block; font-size: 13px; letter-spacing: 3px; font-weight: 700;
  color: var(--accent-d); margin-bottom: 8px;
}
.section-head h2 { font-size: 34px; font-weight: 800; color: var(--ink); }

/* ---------- 关于 ---------- */
.lead { font-size: 18px; color: var(--text); margin-bottom: 16px; }
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.about-main p { color: var(--muted); margin-bottom: 14px; }
.timeline { list-style: none; margin-top: 22px; border-left: 3px solid var(--accent); padding-left: 20px; }
.timeline li { display: flex; gap: 16px; padding: 10px 0; }
.t-about-main .t-year, .t-year { font-weight: 800; color: var(--ink); min-width: 96px; }
.t-desc { color: var(--muted); }
.about-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.about-card h3 { font-size: 17px; margin-bottom: 14px; color: var(--ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 8px; background: var(--bg-alt); color: var(--steel); border: 1px solid var(--line); }

/* ---------- 业务卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card-icon { font-size: 34px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 10px; color: var(--ink); }
.card p { color: var(--muted); font-size: 15px; }
.card-note { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; color: var(--steel); }
.product-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.product-list li { font-size: 12.5px; padding: 4px 10px; background: rgba(28,84,152,.08); color: var(--ink-2); border-radius: 999px; border: 1px solid rgba(28,84,152,.18); }
.card-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--accent); font-weight: 600; }
.card-meta::before { content: "▸"; color: var(--accent); }

.slogan { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; background: rgba(28,84,152,.08); color: var(--ink-2); border-radius: 999px; font-size: 13px; letter-spacing: .3px; border: 1px solid rgba(28,84,152,.2); }

.lead-block { background: linear-gradient(180deg, var(--bg-2) 0%, #fff 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; margin: 22px 0 14px; }
.lead-block p { font-size: 15px; color: var(--ink-2); line-height: 1.85; }
.lead-block strong { color: var(--ink); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.service-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.service-item h4 { font-size: 16px; color: var(--ink); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.service-item h4 span { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; background: var(--accent); color: #fff; border-radius: 8px; font-size: 14px; font-weight: 700; }
.service-item p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.service-global { margin-top: 26px; padding: 24px; background: var(--ink); color: #fff; border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.service-global h4 { font-size: 20px; }
.service-global p { color: #c4cfdb; font-size: 14px; margin-top: 4px; }
.service-global .stats-inline { display: flex; gap: 28px; }
.service-global .stats-inline div { text-align: center; }
.service-global .stats-inline strong { display: block; font-size: 26px; color: var(--accent); font-weight: 700; }
.service-global .stats-inline small { font-size: 12px; color: #9fb0c0; }

.tech-lead { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; border-radius: var(--radius); padding: 30px; margin-top: 22px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.tech-lead h3 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.tech-lead p { color: #c4cfdb; font-size: 15px; line-height: 1.8; }
.tech-lead .kpi { display: flex; gap: 22px; }
.tech-lead .kpi div { text-align: center; background: rgba(255,255,255,.06); padding: 16px 22px; border-radius: 12px; }
.tech-lead .kpi strong { display: block; font-size: 30px; color: var(--accent); font-weight: 700; }
.tech-lead .kpi small { font-size: 12px; color: #9fb0c0; }

.cert-row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.cert-row span { font-size: 12.5px; padding: 4px 10px; background: rgba(255,107,53,.1); color: var(--accent); border-radius: 4px; border: 1px solid rgba(255,107,53,.25); }
.card-wide { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 20px; }
.card-wide .card-icon { margin-bottom: 0; flex-shrink: 0; }
.card-wide h3 { margin-bottom: 8px; }
.card-wide p { margin: 0; }

/* ---------- 技术 ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tech-item { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 10px; padding: 18px 20px; }
.tech-k { display: block; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.tech-v { color: var(--muted); font-size: 14px; }

/* ---------- 项目 ---------- */
.proj-list { display: flex; flex-direction: column; gap: 16px; }
.proj { display: flex; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.proj-no { font-size: 32px; font-weight: 800; color: var(--accent); min-width: 56px; }
.proj-body h3 { font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.proj-body p { color: var(--muted); font-size: 15px; }

/* ---------- 公司数据 ---------- */
.sub-h { font-size: 18px; margin: 32px 0 14px; color: var(--ink); }
.company-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: var(--maxw); margin: 0 auto; box-sizing: border-box; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: var(--maxw); margin: 26px auto; box-sizing: border-box; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 16px; text-align: center; box-shadow: var(--shadow); }
.stat-num { font-size: 36px; font-weight: 800; color: var(--accent-d); line-height: 1.1; }
.stat-num small { font-size: 18px; font-weight: 700; }
.stat-label { font-size: 14px; color: var(--muted); margin-top: 6px; }
/* .stat--ghost 占位卡已停用，stats 改为真卡铺满 4×2 */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.value-item { background: var(--bg-alt); border-radius: 10px; padding: 18px; }
.value-item h4 { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.value-item p { font-size: 14px; color: var(--muted); }
.client-wall { margin-top: 26px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.contact-list { list-style: none; margin-top: 18px; }
.contact-list li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-k { font-weight: 700; color: var(--ink); min-width: 64px; }
.c-v { color: var(--muted); }
.c-link { color: var(--accent); text-decoration: none; }
.c-link:hover { text-decoration: underline; }
.c-placeholder { color: var(--accent-d); font-style: italic; }
.contact-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px; }
.contact-card h3 { font-size: 20px; margin-bottom: 12px; }
.contact-card p { color: #c4cfdb; font-size: 15px; }
.contact-domains { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.contact-domains strong { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #9fb0c0; padding: 26px 20px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 14px; }
.footer-domains { color: var(--accent); letter-spacing: .5px; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--ink-2);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a { padding: 14px 20px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 44px; }
  .hero-nick { display: block; margin: 6px 0 0; font-size: 22px; }
  .hero-inner { flex-direction: column; align-items: flex-start; }
  .hero-logo { height: 80px; right: 16px; bottom: 24px; }
  .about-grid, .cards, .tech-grid, .contact-grid, .stats, .values, .company-cards, .service-grid { grid-template-columns: 1fr; }
  .tech-lead { grid-template-columns: 1fr; }
  .tech-lead .kpi { flex-direction: column; gap: 10px; }
  .service-global { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 18px; }
  .section-head h2 { font-size: 28px; }
}
