/* ==========================================================================
   企业官网 - 全站样式
   ========================================================================== */

:root {
  --ink: #0e1b2a;
  --ink-2: #46586b;
  --ink-3: #7a8b9c;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --brand: #0b4f8a;
  --brand-2: #1677c9;
  --brand-soft: #eaf3fb;
  --accent: #c97a24;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 42, .05), 0 4px 14px rgba(14, 27, 42, .05);
  --shadow-md: 0 2px 6px rgba(14, 27, 42, .06), 0 18px 40px rgba(14, 27, 42, .09);
  --container: 1160px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--brand); text-decoration: none; }

h1, h2, h3, h4 {
  line-height: 1.25;
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 700;
}

p { margin: 0; }

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

/* ---------- 滚动进度条 ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  z-index: 200;
  transition: width .1s linear;
}

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: var(--ink-2);
  font-size: 15px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .18s, background .18s;
}

.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }

.nav-links a.active { color: var(--brand); font-weight: 600; }

.nav-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .2s, transform .2s;
}

.nav-cta:hover { background: #093f6d; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 40px; height: 38px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: var(--ink);
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15.5px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover {
  background: #093f6d;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 79, 138, .28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: #cfd8e2;
}
.btn-ghost:hover { border-color: var(--ink-2); background: #fff; transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }

.btn-outline-light {
  border-color: rgba(255,255,255,.4);
  color: #fff;
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- 通用节奏 ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--brand-2);
}

.section-head { max-width: 660px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(27px, 3.4vw, 38px);
  margin-bottom: 16px;
}
.section-head p { color: var(--ink-2); font-size: 17px; }

.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -8%, #e8f2fb 0%, rgba(232,242,251,0) 62%),
    linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}

/* 注意：hero-grid 与 container 为同一元素，左右内边距由 .container 提供，
   此处只能设置纵向内边距，否则会覆盖掉 24px 的左右安全边距 */
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 100px;
}

.hero h1 {
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.16;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}

.hero-lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 46px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.hero-stats > div {
  padding-right: 36px;
  margin-right: 36px;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }

.hero-stats b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.2;
}
.hero-stats b span { font-size: inherit; color: inherit; }
.hero-stats > div > span { font-size: 13.5px; color: var(--ink-3); }

.hero-visual { position: relative; }

.hero-visual svg { width: 100%; height: auto; }

/* ---------- 能力条 ---------- */
.strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.strip .container {
  display: flex;
  align-items: center;
  gap: 12px 40px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 22px;
}
.strip-label {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: .04em;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.strip-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: 14.5px;
  color: var(--ink-2);
  font-weight: 500;
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s, border-color .28s;
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .36s cubic-bezier(.22,1,.36,1);
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4dfea; }
.card:hover::after { transform: scaleX(1); }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--brand);
}

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--ink-2); font-size: 15px; }

.card ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--ink-2);
}
.card ul li {
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-2);
  opacity: .55;
}

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step {
  background: #fff;
  padding: 30px 26px;
  transition: background .25s;
}
.step:hover { background: #fcfdff; }
.step-no {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-2);
  letter-spacing: .1em;
  margin-bottom: 12px;
}
.step h3 { font-size: 16.5px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-2); }

/* ---------- 图文交错 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }

.split-copy h2 { font-size: clamp(24px, 2.8vw, 32px); margin-bottom: 18px; }
.split-copy p { color: var(--ink-2); margin-bottom: 14px; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; }
.checklist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 15px;
  color: var(--ink-2);
}
.checklist li svg { flex-shrink: 0; margin-top: 4px; color: var(--brand-2); }

.panel {
  border-radius: 16px;
  background: linear-gradient(150deg, #0e2f4d 0%, #0b4f8a 100%);
  color: #fff;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 65%);
  top: -120px; right: -90px;
}
.panel h3 { font-size: 21px; margin-bottom: 12px; }
.panel p { color: rgba(255,255,255,.78); font-size: 14.5px; margin-bottom: 24px; }
.panel-metric {
  display: flex;
  gap: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
  flex-wrap: wrap;
}
.panel-metric b { display: block; font-size: 22px; }
.panel-metric span { font-size: 12.5px; color: rgba(255,255,255,.62); }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, #0e2f4d 0%, #0b4f8a 62%, #10609f 100%);
  color: #fff;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; bottom: -160px;
  width: 420px; height: 420px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 560px; margin-bottom: 30px; }
.cta-band .hero-actions { margin-bottom: 0; }

/* ---------- 页头 ---------- */
.page-head {
  padding: 72px 0 56px;
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 16px; }
.page-head p { color: var(--ink-2); font-size: 17px; max-width: 620px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.crumb a { color: var(--ink-3); }
.crumb a:hover { color: var(--brand); }

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-item:first-child { padding-top: 0; }
.info-item svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.info-item h4 { font-size: 14px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; letter-spacing: .02em; }
.info-item p { font-size: 15.5px; color: var(--ink); }

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

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0b1622;
  color: #93a3b3;
  padding: 64px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 14px; }
.footer-grid p { line-height: 1.75; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: 14px; margin: 0 0 14px; font-weight: 600; }
.footer-col a { display: block; color: #93a3b3; padding: 5px 0; font-size: 14px; transition: color .18s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 13px;
  color: #6b7c8d;
}

/* 备案编号：需在深色页脚上清晰可读，并保持可点击 */
.footer-bottom a {
  color: #a9bccd;
  transition: color .18s;
}
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 64px; padding-bottom: 72px; }
  .hero-visual { max-width: 520px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    gap: 2px;
    display: none;
    box-shadow: var(--shadow-sm);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .section { padding: 68px 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-stats > div { padding-right: 14px; margin-right: 14px; }
  .hero-stats b { font-size: 21px; }
  .hero-stats > div > span { font-size: 12px; line-height: 1.45; display: block; }
  .form-card { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .page-head { padding: 48px 0 36px; }
}
