/* ============================================================
   智链数科商业站 · style.css
   纯 CSS，零 JavaScript 依赖；正文与 FAQ 全部为可见 HTML。
   ============================================================ */

:root {
  --navy: #0f3d6e;
  --navy-dark: #0a2b4e;
  --navy-soft: #eaf1f8;
  --amber: #c8790c;
  --amber-bright: #e39a1a;
  --amber-soft: #fdf5e6;
  --ink: #16202c;
  --muted: #5b6b7c;
  --line: #e2e8f0;
  --bg: #f6f8fb;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 61, 110, .06), 0 8px 24px rgba(15, 61, 110, .06);
  --wrap: 1120px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.85;
}

img { max-width: 100%; height: auto; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--amber); text-decoration: underline; }

strong { font-weight: 700; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 99;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------- 顶部信息条 */
.topbar { background: var(--navy-dark); color: #cfe0ef; font-size: 13px; }
.topbar-inner {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
  min-height: 38px; padding-top: 6px; padding-bottom: 6px;
}
.topbar-item { white-space: nowrap; }
.topbar a.topbar-item { color: #fff; }
.topbar a.topbar-item:hover { color: var(--amber-bright); }
.topbar-spacer { flex: 1 1 auto; }
.topbar-phone { font-weight: 600; color: #fff; }

/* ---------------------------------------------------------- 页头 */
.site-header {
  background: var(--white); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-text strong { font-size: 17px; color: var(--navy); letter-spacing: .2px; }
.brand-text small { font-size: 12.5px; color: var(--muted); }

.nav { margin-left: auto; }
.nav ul {
  display: flex; flex-wrap: wrap; gap: 4px 2px; margin: 0; padding: 0; list-style: none;
}
.nav-link {
  display: block; padding: 6px 11px; border-radius: 6px;
  font-size: 15px; color: #2d3d4e;
}
.nav-link:hover { background: var(--navy-soft); color: var(--navy); text-decoration: none; }
.nav-link.is-current { color: var(--navy); font-weight: 700; background: var(--navy-soft); }

/* ---------------------------------------------------------- 面包屑 */
.breadcrumb {
  background: var(--white); border-bottom: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.breadcrumb .wrap { padding-top: 9px; padding-bottom: 9px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb .sep { margin: 0 7px; color: #b6c2ce; }

/* ---------------------------------------------------------- 主体 */
.layout { padding: 28px 0 56px; }
.content { max-width: 900px; }

h1 { font-size: 30px; line-height: 1.45; margin: 0 0 18px; letter-spacing: .2px; }
h2 {
  font-size: 21px; line-height: 1.5; margin: 40px 0 14px; padding-left: 12px;
  border-left: 4px solid var(--amber-bright);
}
h3 { font-size: 17.5px; line-height: 1.6; margin: 26px 0 8px; }
p { margin: 0 0 14px; }

.content > p:first-of-type { color: #24313f; }

.page-head { margin-bottom: 4px; }
.hero-eyebrow {
  display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px;
  background: var(--amber-soft); color: #92600a; font-size: 13px; font-weight: 600;
}

/* ---------------------------------------------------------- 首页 Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #16558f 100%);
  color: #eaf3fb; border-radius: 14px; padding: 34px 30px 28px; margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.hero h1 { color: #fff; font-size: 32px; margin-bottom: 12px; }
.hero .hero-eyebrow { background: rgba(255, 255, 255, .14); color: #ffd89a; }
.hero-sub { font-size: 16.5px; color: #cfe0ef; margin-bottom: 16px; }
.hero-points { margin: 0 0 18px; padding-left: 20px; color: #dbe9f6; }
.hero-points li { margin-bottom: 6px; }
.hero .btn { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3); }
.hero .btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.hero .btn-primary { background: var(--amber-bright); border-color: var(--amber-bright); color: #2b1c00; }
.hero .btn-primary:hover { background: #f0ad33; color: #2b1c00; }
.hero .stats { margin-top: 22px; }
.hero .stat-num { color: #ffd89a; }
.hero .stat-label { color: #cfe0ef; }

/* ---------------------------------------------------------- 按钮 */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 8px; font-size: 15px;
  border: 1px solid var(--navy); color: var(--navy); background: var(--white);
  font-weight: 600;
}
.btn:hover { text-decoration: none; background: var(--navy-soft); }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }

/* ---------------------------------------------------------- 统计数字 */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px; margin: 0; padding: 0; list-style: none;
}
.stats li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; text-align: center;
}
.stat-num { display: block; font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.3; }
.stat-label { display: block; font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------- 直接回答 */
.answer-box {
  background: var(--amber-soft); border-left: 5px solid var(--amber-bright);
  border-radius: 8px; padding: 18px 22px 12px; margin: 0 0 26px;
}
.answer-label {
  margin: 0 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  color: #92600a;
}
.answer-list { margin: 0; padding-left: 20px; }
.answer-list li { margin-bottom: 8px; font-size: 16.5px; color: #2a1d05; }
.answer-list li::marker { color: var(--amber); }

/* ---------------------------------------------------------- 表格 */
.table-wrap {
  overflow-x: auto; margin: 18px 0 24px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--white);
}
.table-caption {
  margin: 0; padding: 10px 14px; font-size: 13.5px; font-weight: 600;
  color: var(--muted); background: #fbfcfe; border-bottom: 1px solid var(--line);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.data-table th, .data-table td {
  padding: 11px 14px; text-align: left; vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.data-table thead th {
  background: var(--navy); color: #fff; font-weight: 600; white-space: nowrap;
  border-bottom: none;
}
.data-table tbody tr:nth-child(even) { background: #fafcfe; }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ---------------------------------------------------------- 提示框 */
.callout {
  background: var(--navy-soft); border-left: 4px solid var(--navy);
  border-radius: 8px; padding: 16px 20px 6px; margin: 22px 0;
}
.callout h3 { margin-top: 0; color: var(--navy); font-size: 16.5px; }
.callout p { color: #24313f; }

/* ---------------------------------------------------------- 步骤 */
.steps { list-style: none; margin: 20px 0; padding: 0; counter-reset: step; }
.steps .step {
  display: flex; gap: 14px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 18px; margin-bottom: 12px;
}
.step-no {
  flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy);
  color: #fff; font-size: 14px; font-weight: 700; text-align: center; line-height: 28px;
}
.step-title { margin: 0 0 4px; font-weight: 700; }
.step-desc { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------- FAQ */
.faq-block { margin-top: 38px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 16px 0 14px; }
.faq-q { margin: 0 0 6px; font-size: 17px; color: var(--navy); }
.faq-q::before { content: "问："; color: var(--amber); font-weight: 700; }
.faq-a { margin: 0; }
.faq-a::before { content: "答："; color: var(--muted); font-weight: 700; }

/* ---------------------------------------------------------- 案例卡 */
.case-card {
  margin: 22px 0; padding: 0; border: 1px dashed #d3b98a;
  border-radius: var(--radius); background: #fffdf8; overflow: hidden;
}
.case-card figcaption {
  padding: 10px 16px; background: var(--amber-soft); color: #7a5006;
  font-weight: 700; font-size: 15px; border-bottom: 1px dashed #e2cda2;
}
.case-fields { margin: 0; padding: 6px 16px 10px; }
.case-row { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dotted #eee2cb; }
.case-row:last-child { border-bottom: none; }
.case-row dt { flex: none; width: 96px; color: var(--muted); font-size: 14.5px; }
.case-row dd { margin: 0; flex: 1 1 auto; font-size: 15px; }
.case-note { margin: 0; padding: 8px 16px 12px; font-size: 13px; color: #8a6a1f; }

/* ---------------------------------------------------------- 卡片网格 */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 16px; margin: 20px 0 26px;
}
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 16px;
  color: var(--ink); box-shadow: 0 1px 2px rgba(15,61,110,.04);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
a.card:hover {
  text-decoration: none; transform: translateY(-2px); border-color: #c3d4e6;
  box-shadow: var(--shadow);
}
.card h3 { margin: 8px 0 8px; font-size: 16.5px; color: var(--navy); }
.card p { margin: 0; font-size: 14.5px; color: var(--muted); flex: 1 1 auto; }
.card-more { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--amber); }
.tag {
  align-self: flex-start; padding: 2px 9px; border-radius: 999px;
  background: var(--navy-soft); color: var(--navy); font-size: 12.5px; font-weight: 600;
}

/* ---------------------------------------------------------- 服务区域 */
.area-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; padding: 0; list-style: none;
}
.area-chips li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 14px; font-size: 14.5px;
}

/* ---------------------------------------------------------- 链接列表 */
.linklist-block { margin-top: 34px; }
.linklist { list-style: none; margin: 16px 0 0; padding: 0; }
.linklist li { margin-bottom: 10px; }
.linklist a {
  display: block; background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; padding: 12px 16px;
}
.linklist a:hover { text-decoration: none; border-color: #c3d4e6; background: #fbfdff; }
.linklist strong { display: block; color: var(--navy); }
.linklist span { display: block; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------- 联系方式 */
.contact-block { margin-top: 36px; }
.contact-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px 24px; margin: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 12px 18px;
}
.contact-row { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dotted var(--line); }
.contact-row:last-child { border-bottom: none; }
.contact-row dt { flex: none; width: 96px; color: var(--muted); font-size: 14.5px; }
.contact-row dd { margin: 0; flex: 1 1 auto; }
.contact-hint { margin-top: 10px; font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------- CTA */
.cta-block {
  margin: 36px 0 0; padding: 24px 26px; border-radius: 12px; background: var(--navy);
  color: #e6eff8;
}
.cta-block h2 { color: #fff; border-left-color: var(--amber-bright); margin-top: 0; }
.cta-block p { margin-bottom: 16px; }
.cta-block .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.cta-block .btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta-block .btn-primary { background: var(--amber-bright); border-color: var(--amber-bright); color: #2b1c00; }

/* ---------------------------------------------------------- 尾部区块 */
.tail { margin-top: 44px; padding-top: 6px; border-top: 2px solid var(--navy-soft); }
.fineprint { font-size: 13.5px; color: var(--muted); }

/* ---------------------------------------------------------- 占位符 */
.todo {
  background: #fff3d6; color: #8a5a00; border-bottom: 2px dotted #d8a13a;
  padding: 0 3px; border-radius: 3px; font-size: .95em; white-space: nowrap;
}

/* ---------------------------------------------------------- 页脚 */
.site-footer { background: var(--navy-dark); color: #c9d8e6; margin-top: 40px; font-size: 14.5px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1.4fr 1.2fr; gap: 28px;
  padding-top: 40px; padding-bottom: 26px;
}
.footer-title { color: #fff; font-weight: 700; margin: 0 0 10px; font-size: 15px; }
.footer-brand { color: #fff; font-weight: 700; font-size: 16px; margin: 0 0 10px; }
.footer-statement { margin: 0 0 10px; color: #b7c9da; font-size: 14px; line-height: 1.8; }
.footer-links, .footer-entities, .footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 7px; }
.footer-entities li { margin-bottom: 10px; color: #b7c9da; font-size: 13.5px; line-height: 1.75; }
.footer-entities strong { color: #e8f1f9; }
.site-footer a { color: #dceaf6; }
.site-footer a:hover { color: var(--amber-bright); }
.footer-links-line { margin: 12px 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; padding-bottom: 22px;
  font-size: 13px; color: #9db3c7;
}
.footer-bottom p { margin: 0 0 4px; }
.footer-updated { color: #869dae; }

/* ---------------------------------------------------------- 响应式 */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  h1 { font-size: 24px; }
  .hero { padding: 24px 20px 22px; }
  .hero h1 { font-size: 25px; }
  h2 { font-size: 19px; }
  .header-inner { gap: 10px; }
  .nav { margin-left: 0; width: 100%; }
  .nav ul { gap: 2px; }
  .nav-link { padding: 6px 9px; font-size: 14.5px; }
  .brand-text strong { font-size: 15.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .brand-text small { font-size: 12px; }
}


/* fix: .layout 简写覆盖 .wrap 左右内边距，移动端正文贴边 */
.wrap.layout { padding-left: 20px; padding-right: 20px; }
@media (max-width: 720px) { .wrap.layout { padding-left: 16px; padding-right: 16px; } }
