:root {
  --navy: #0f2a4a;
  --navy-2: #173b66;
  --blue: #1d5fd1;
  --blue-soft: #eaf1f8;
  --ink: #1c2733;
  --muted: #5a6b7f;
  --line: #dde5ee;
  --bg: #f6f9fc;
  --white: #fff;
  --radius: 10px;
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); background: var(--white);
  font: 16px/1.75 "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(28px, 4.4vw, 44px); letter-spacing: .01em; }
h2 { font-size: clamp(22px, 3vw, 30px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.2em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.todo { background: #fff4d6; color: #8a5a00; border: 1px dashed #e0b040; border-radius: 4px; padding: 0 6px; font-size: .9em; white-space: nowrap; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 26px; border-radius: 8px; border: 1px solid transparent; font-size: 16px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #164cab; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-line:hover { background: var(--blue-soft); }
.btn-sm { min-height: 38px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: default; }
:focus-visible { outline: 3px solid #7fb0ff; outline-offset: 2px; }

/* 页头 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; color: var(--navy); }
.logo:hover { text-decoration: none; }
.logo b { font-size: 21px; letter-spacing: .08em; }
.logo span { font-size: 10px; letter-spacing: .22em; color: var(--muted); }
.logo-light b { color: #fff; } .logo-light span { color: #9fb3cc; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn) { padding: 8px 13px; color: var(--ink); border-radius: 6px; font-size: 15.5px; }
.nav > a:not(.btn):hover { background: var(--bg); text-decoration: none; }
.nav > a.on { color: var(--blue); font-weight: 600; }
.nav .btn { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 11px 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* 首屏 */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, #1f4f8a 100%); color: #fff; padding: 84px 0 92px; }
.hero h1 { color: #fff; max-width: 20em; text-wrap: balance; }
.hero .kicker { display: inline-block; font-size: 14px; letter-spacing: .12em; color: #b9cde6; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; padding: 3px 14px; margin-bottom: 20px; }
.hero p.lead { font-size: 18px; color: #d5e1f0; max-width: 40em; margin: 14px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero { padding: 60px 0 64px; }
.page-hero h1 { font-size: clamp(26px, 3.6vw, 38px); }

/* 区块 */
.section { padding: 76px 0; }
.section.alt { background: var(--bg); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin: 0; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .more { display: inline-block; margin-top: 14px; font-weight: 600; }
a.card { color: inherit; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { text-decoration: none; border-color: var(--blue); box-shadow: 0 10px 26px rgba(15,42,74,.09); transform: translateY(-2px); }
.tag { display: inline-block; font-size: 13px; color: var(--blue); background: var(--blue-soft); border-radius: 4px; padding: 1px 9px; margin-bottom: 12px; }
.tag.pending { color: #8a5a00; background: #fff4d6; }

/* 资质条 */
.facts { background: #fff; border-bottom: 1px solid var(--line); }
.facts .grid { padding: 30px 0; text-align: center; }
.facts b { display: block; font-size: 28px; color: var(--navy); line-height: 1.3; }
.facts span { color: var(--muted); font-size: 14.5px; }

/* 流程 */
.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 58px; }
.steps .card::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 20px; left: 28px; font-size: 26px; font-weight: 700; color: #b7c9e2; }

/* 列表与表格 */
.checks { list-style: none; padding: 0; }
.checks li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 520px; }
th, td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--blue-soft); color: var(--navy); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }

/* 截图占位 */
.shot { aspect-ratio: 16 / 10; border: 1px dashed #b7c4d4; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #f6f9fc, #f6f9fc 12px, #eef3f9 12px, #eef3f9 24px); display: grid; place-items: center; }

/* 时间线 */
.timeline { list-style: none; padding: 0; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); }
.timeline b { color: var(--navy); margin-right: 10px; }

/* FAQ */
details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; }
summary { cursor: pointer; padding: 16px 22px; font-weight: 600; color: var(--navy); list-style: none; position: relative; padding-right: 50px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 12px; font-size: 22px; color: var(--muted); }
details[open] summary::after { content: "−"; }
details p { padding: 0 22px 18px; margin: 0; color: var(--muted); }

/* 字符伙伴 */
.zf-band { background: #fffaf0; }
.zf-blocks { display: flex; gap: 10px; margin-bottom: 22px; }
.zf-blocks span { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff; }
.zf-blocks span:nth-child(1) { background: #ff7a59; transform: rotate(-4deg); }
.zf-blocks span:nth-child(2) { background: #ffb400; transform: rotate(3deg); }
.zf-blocks span:nth-child(3) { background: #2ebd85; transform: rotate(-2deg); }
.zf-blocks span:nth-child(4) { background: #3d8bff; transform: rotate(4deg); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }

/* 表单 */
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px; box-shadow: 0 14px 36px rgba(15,42,74,.07); }
.field { margin-bottom: 16px; flex: 1; }
.field-row { display: flex; gap: 16px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field label i { color: #d13b3b; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: inherit; padding: 10px 13px; border: 1px solid #c5d0dd; border-radius: 8px; background: #fff; min-height: 46px; }
.field textarea { resize: vertical; }
.field .invalid { border-color: #d13b3b; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14.5px; color: var(--muted); margin: 4px 0 18px; }
.agree input { margin-top: 6px; width: 16px; height: 16px; flex: none; }
.inquiry .btn { width: 100%; }
.form-tip { font-size: 13.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.form-msg { margin: 10px 0 0; text-align: center; font-weight: 600; min-height: 1.5em; }
.form-msg.ok { color: #1a7f4b; } .form-msg.err { color: #c0392b; }

/* 联系信息 */
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.contact-list b { flex: none; width: 5em; color: var(--navy); }
.qr { width: 160px; height: 160px; margin-top: 18px; }
.qr-empty { border: 1px dashed #b7c4d4; border-radius: 10px; display: grid; place-items: center; text-align: center; padding: 10px; }
.qr-empty .todo { white-space: normal; }

/* 文档页 */
.prose { max-width: 46em; }
.prose h2 { font-size: 21px; margin-top: 1.8em; }

/* CTA */
.cta { background: var(--navy); color: #fff; text-align: center; padding: 64px 0; }
.cta h2 { color: #fff; } .cta p { color: #c6d5e8; margin-bottom: 26px; }

/* 页脚 */
.site-footer { background: #0b2038; color: #b5c5d9; font-size: 14.5px; padding-top: 52px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr; gap: 32px; padding-bottom: 36px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { color: #b5c5d9; display: block; margin-bottom: 6px; }
.site-footer a:hover { color: #fff; }
.site-footer p { margin: 8px 0 0; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13.5px; }
.foot-bottom a { display: inline; }
.mobile-bar { display: none; }

@media (max-width: 900px) {
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 20px 18px; box-shadow: 0 16px 30px rgba(15,42,74,.1); }
  .nav.open { display: flex; }
  .nav > a:not(.btn) { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin: 14px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; padding-bottom: 60px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 60px; }
  .hero p.lead { font-size: 16.5px; }
  .field-row { flex-direction: column; gap: 0; }
  .form-panel { padding: 22px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(15,42,74,.08); }
  .mobile-bar a, .mobile-bar span { height: 56px; display: grid; place-items: center; font-weight: 600; color: var(--navy); }
  .mobile-bar .primary { background: var(--blue); color: #fff; }
  .mobile-bar .disabled { color: #9aa8b8; font-weight: 400; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
