/* ===========================================================
   公司官网 - 全局样式
   风格：简约大气 | 主色 深蓝 + 蓝调点缀 | 大量留白
   =========================================================== */

:root {
  /* 品牌色 */
  --primary: #0f2a43;        /* 深蓝（主色） */
  --primary-700: #0b2034;
  --primary-900: #081726;
  --accent: #2f80ed;         /* 明亮蓝（强调） */
  --accent-soft: #e8f1fe;
  --accent-2: #56ccf2;

  /* 中性色 */
  --ink: #0f172a;            /* 正文深色 */
  --body: #475569;           /* 正文灰 */
  --muted: #94a3b8;          /* 次要灰 */
  --line: #e6eaf0;           /* 分割线 */
  --bg: #ffffff;
  --bg-soft: #f6f8fb;        /* 浅灰背景 */
  --bg-dark: #0f2a43;

  /* 排版 */
  --font-sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* 间距与半径 */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 67, 0.06), 0 1px 2px rgba(15, 42, 67, 0.04);
  --shadow: 0 10px 30px rgba(15, 42, 67, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 42, 67, 0.14);
  --container: 1180px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- 布局容器 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--bg-dark); color: #cdd9e5; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease, background .3s ease;
}
.nav.is-scrolled { box-shadow: var(--shadow-sm); }

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
  letter-spacing: .02em;
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 15px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  color: var(--body);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--primary); }
.nav__links a:hover::after,
.nav__links a.is-active::after { width: 100%; }

.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  background: none; border: none;
  width: 42px; height: 42px;
  cursor: pointer;
  padding: 0;
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--primary);
  margin: 5px auto;
  transition: transform .3s ease, opacity .3s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 128, 237, .28);
}
.btn--primary:hover { background: #1f6fd6; box-shadow: 0 12px 26px rgba(47, 128, 237, .36); }
.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light {
  background: #fff;
  color: var(--primary);
}
.btn--light:hover { box-shadow: var(--shadow); }
.btn--lg { padding: 15px 32px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(47,128,237,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(86,204,242,.12), transparent 55%),
    linear-gradient(160deg, var(--primary-900), var(--primary) 60%, #143a5c);
  color: #eaf2fb;
  overflow: hidden;
}
.hero::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: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 120px 0 110px;
  max-width: 760px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9ec5f0;
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: #c6d6e8;
  margin-bottom: 36px;
  max-width: 620px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero__stat .num {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
}
.hero__stat .label { font-size: 14px; color: #9fb6cf; }

/* ---------- 区块标题 ---------- */
.section__head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section__head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section__head p { color: var(--body); font-size: 17px; margin: 0; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.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 .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--body); font-size: 15px; }

/* ---------- 特性列表（两栏图文） ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__media {
  border-radius: var(--radius);
  background: linear-gradient(150deg, #163a5b, #0f2a43);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  color: #cfe0f2;
  padding: 40px;
}
.split__media .deco {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(86,204,242,.5), transparent 70%);
}
.split__media .deco.a { width: 280px; height: 280px; top: -60px; right: -40px; }
.split__media .deco.b { width: 220px; height: 220px; bottom: -50px; left: -30px; background: radial-gradient(circle, rgba(47,128,237,.5), transparent 70%); }
.feature-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .tick {
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.split__media .feature-list li {
  border-bottom-color: rgba(255,255,255,.16);
}
.split__media .feature-list .tick {
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
}
.split__media .feature-list strong { color: #fff; display: block; }
.split__media .feature-list span { font-size: 14px; color: rgba(255,255,255,.78); }

/* ---------- 时间线（历程） ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before {
  content: "";
  position: absolute; left: 18px; top: 6px; bottom: 6px;
  width: 2px; background: var(--line);
}
.timeline li { position: relative; padding: 0 0 36px 56px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot {
  position: absolute; left: 9px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.timeline .year { font-weight: 800; color: var(--primary); }
.timeline h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline p { margin: 0; font-size: 15px; }

/* ---------- 价值观 ---------- */
.value-grid .card { text-align: center; }
.value-grid .card__icon { margin: 0 auto 18px; }

/* ---------- 报价/方案 CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary-900), var(--primary));
  color: #fff;
  border-radius: 20px;
  padding: 56px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86,204,242,.35), transparent 70%);
}
.cta-band h2 { color: #fff; font-size: 28px; margin: 0 0 8px; }
.cta-band p { margin: 0; color: #bcd2ea; }

/* ---------- 联系 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; }
.contact-info li {
  display: flex; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info li:last-child { border-bottom: none; }
.contact-info .ic {
  flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 12px; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.contact-info .ic svg { width: 22px; height: 22px; }
.contact-info strong { display: block; color: var(--ink); }
.contact-info span { font-size: 14px; color: var(--body); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 120px; }
.field .err { color: #e5484d; font-size: 13px; margin-top: 6px; display: none; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #e5484d; }
.field.is-invalid .err { display: block; }
.form__note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.form__ok {
  display: none;
  background: #ecfdf3;
  border: 1px solid #abefc6;
  color: #067647;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 18px;
}
.form__ok.show { display: block; }

/* ---------- 页脚 ---------- */
.footer {
  background: var(--primary-900);
  color: #9fb6cf;
  padding: 64px 0 28px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer p { font-size: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col a { display: block; font-size: 14px; padding: 6px 0; color: #9fb6cf; transition: color .2s ease; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  padding-top: 22px; font-size: 13px; color: #6f87a3;
}

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

/* ---------- 面包屑 ---------- */
.crumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumb a:hover { color: var(--accent); }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav__links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.is-open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 14px 0 0; }
  .nav__toggle { display: block; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .hero__inner { padding: 84px 0 70px; }
  .hero__stats { gap: 28px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .cta-band { padding: 36px 28px; }
}
