/* ============================================================
   成都星火云帆科技有限公司官网 V2
   双目标设计：人看得懂（正规 ToB 公司主页）+ 机器抓得到（GEO）
   —— 零 JavaScript 依赖，禁用 JS 后正文完整可见
   —— 机器层内容收进 details 折叠区，HTML 源码仍被 AI 爬虫完整抓取
   —— 无懒加载、无图片依赖，首屏可秒开
   ============================================================ */

:root {
  --ink: #0B2233;
  --brand: #1668A8;
  --brand-deep: #0E4C7D;
  --accent: #C8952A;
  --graphite: #3C4E5A;
  --mid: #5A6B77;
  --faint: #7C8B96;
  --bg: #FFFFFF;
  --bg-alt: #F5F8FA;
  --line: #E4E9EE;
  --line-2: #CBD5DD;
  --hero-bg: #0B2233;
  --foot-bg: #0B2233;
  --warn-bg: #FFF8E6;
  --warn-line: #E8B84B;
}

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap-n { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ---------- 排版 ---------- */

h1, h2, h3, h4 { font-weight: 500; line-height: 1.5; color: var(--ink); }

h1 { font-size: 34px; line-height: 1.4; margin-bottom: 20px; }
h2 { font-size: 25px; line-height: 1.5; margin-bottom: 18px; }
h3 { font-size: 19px; line-height: 1.6; margin-bottom: 12px; }
h4 { font-size: 16px; line-height: 1.6; margin-bottom: 8px; }

p { margin-bottom: 16px; color: var(--graphite); }
p:last-child { margin-bottom: 0; }

.lead { font-size: 18px; line-height: 1.8; color: var(--ink); }
.small { font-size: 14px; line-height: 1.8; color: var(--mid); }
.tiny { font-size: 13px; line-height: 1.75; color: var(--faint); }

.eyebrow {
  font-size: 13px; letter-spacing: 0.14em; color: var(--brand);
  margin-bottom: 14px; font-weight: 500;
}

a { color: var(--brand); }
a:hover { color: var(--brand-deep); }

/* 定义句：AI 最容易摘录的一段 */
.definition {
  background: var(--bg-alt);
  border-left: 4px solid var(--brand);
  padding: 22px 26px;
  margin-bottom: 28px;
}
.definition p { font-size: 17px; line-height: 1.8; color: var(--ink); margin: 0; }

/* ---------- 布局 ---------- */

.section { padding: 64px 0; }
.section-s { padding: 44px 0; }
.section-alt { background: var(--bg-alt); }
.bordered { border-top: 1px solid var(--line); }

/* ---------- 导航 ---------- */

.nav {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav-in {
  max-width: 1080px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.logo { font-size: 19px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: 0.02em; }
.logo span { color: var(--brand); }
.logo-legal {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--faint);
  letter-spacing: 0.02em;
  margin-top: 2px;
}
.nav-links { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; }
.nav-links a {
  font-size: 15px; color: var(--mid); text-decoration: none; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.nav-links a.on { color: var(--ink); border-bottom-color: var(--brand); }

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  background: var(--ink); color: #fff;
  padding: 13px 28px; border-radius: 4px;
  font-size: 16px; text-decoration: none;
}
.btn:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-2); padding: 12px 26px; border-radius: 4px;
  font-size: 16px; text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 卡片与网格 ---------- */

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px 26px;
}
.card-alt { background: var(--bg-alt); border-color: var(--line); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

ul.clean { list-style: none; }
ul.clean li {
  padding-left: 22px; position: relative; margin-bottom: 10px;
  color: var(--graphite); font-size: 16px; line-height: 1.8;
}
ul.clean li:before {
  content: ""; position: absolute; left: 4px; top: 13px;
  width: 6px; height: 6px; background: var(--brand); border-radius: 50%;
}
ol.steps { list-style: none; counter-reset: s; }
ol.steps li {
  counter-increment: s; position: relative;
  padding-left: 44px; margin-bottom: 20px;
  color: var(--graphite); line-height: 1.8;
}
ol.steps li:before {
  content: counter(s);
  position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 14px; display: flex; align-items: center; justify-content: center;
}
ol.steps b { color: var(--ink); font-weight: 500; display: block; margin-bottom: 2px; }

/* ---------- 表格（AI 高引用率形态） ---------- */

table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: 15px;
}
caption {
  caption-side: top; text-align: left;
  font-size: 14px; color: var(--faint); padding-bottom: 10px;
}
th, td {
  border: 1px solid var(--line-2);
  padding: 13px 16px; text-align: left; line-height: 1.7; vertical-align: top;
}
th { background: var(--bg-alt); font-weight: 500; color: var(--ink); }
td { color: var(--graphite); }
tbody tr:nth-child(even) td { background: #FAFCFD; }

/* ---------- 实体消歧声明（第一阶段性价比最高的动作） ---------- */

.disambig {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 5px solid var(--warn-line);
  border-radius: 4px;
  padding: 24px 26px;
  margin: 32px 0;
}
.disambig h2 { font-size: 19px; color: #7A5A08; margin-bottom: 12px; }
.disambig p { font-size: 15px; line-height: 1.85; color: #5C4506; margin-bottom: 14px; }
.disambig ul.clean li { color: #5C4506; font-size: 15px; }
.disambig ul.clean li:before { background: var(--warn-line); }
.disambig .label {
  display: inline-block; background: var(--warn-line); color: #fff;
  font-size: 12px; padding: 3px 10px; border-radius: 3px;
  margin-bottom: 12px; letter-spacing: 0.06em;
}

/* ---------- 实体信息表 ---------- */

.facts { margin: 20px 0; }
.facts div {
  display: flex; padding: 13px 0;
  border-bottom: 1px solid var(--line); gap: 20px;
}
.facts dt, .facts .k {
  flex-shrink: 0; width: 190px;
  font-size: 15px; color: var(--mid); font-weight: 500;
}
.facts dd, .facts .v { margin: 0; font-size: 15px; color: var(--graphite); }

/* ---------- FAQ ---------- */

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 18px; font-weight: 500; color: var(--ink);
  margin-bottom: 12px; line-height: 1.6;
}
.faq-a { font-size: 16px; line-height: 1.85; color: var(--graphite); margin-bottom: 12px; }
.faq-a b { color: var(--ink); font-weight: 500; }

/* ---------- 时间戳（GEO 硬性要求） ---------- */

.updated {
  font-size: 13px; color: var(--faint);
  margin-top: 40px; padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ---------- 页脚 ---------- */

.foot {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 40px 0;
  margin-top: 40px;
}
.foot h4 { font-size: 15px; margin-bottom: 10px; }
.foot p { font-size: 14px; line-height: 1.8; color: var(--mid); }
.foot-links { list-style: none; margin-bottom: 8px; }
.foot-links li { margin-bottom: 6px; }
.foot-links a { font-size: 14px; color: var(--mid); text-decoration: none; }
.foot-links a:hover { color: var(--brand); }
.foot-legal {
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line-2);
  font-size: 13px; line-height: 1.85; color: var(--faint);
}

/* 备案号（合规硬性要求：必须展示且链接到工信部） */
.icp {
  font-size: 12px;
  line-height: 1.9;
  color: var(--faint);
  margin: 0 0 4px;
}
.icp a {
  color: var(--faint);
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
}
.icp a:hover { color: var(--brand); border-bottom-color: var(--line-2); }

/* ---------- 顶部条与导航 CTA ---------- */

.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.6;
}
.topbar-in {
  max-width: 1140px; margin: 0 auto; padding: 7px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.topbar a { color: rgba(255,255,255,.9); text-decoration: none; }

.nav { border-bottom: 1px solid var(--line); background: var(--bg); }
.nav-in {
  max-width: 1140px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.nav-cta {
  display: inline-block; font-size: 14px; color: var(--ink);
  text-decoration: none; border: 1px solid var(--line-2);
  padding: 8px 16px; border-radius: 4px; white-space: nowrap;
}
.nav-cta strong { color: var(--brand); font-weight: 500; }
.nav-cta:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- 首屏 Hero ---------- */

.hero {
  background: var(--hero-bg);
  color: #fff;
  padding: 76px 0 68px;
  border-bottom: 3px solid var(--brand);
}
.hero-in { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.hero .eyebrow { color: rgba(255,255,255,.66); }
.hero h1 {
  color: #fff; font-size: 40px; line-height: 1.35;
  margin-bottom: 18px; max-width: 900px;
}
.hero-sub {
  font-size: 18px; line-height: 1.85; color: rgba(255,255,255,.82);
  max-width: 760px; margin-bottom: 14px;
}
.hero-note {
  font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.55);
  max-width: 760px; margin-bottom: 30px; margin-top: 0;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero .btn { background: var(--brand); border: 1px solid var(--brand); }
.hero .btn:hover { background: #fff; color: var(--ink); }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14);
}
.stats div { background: var(--hero-bg); padding: 20px 22px; }
.stats .n { font-size: 26px; font-weight: 500; color: #fff; line-height: 1.3; }
.stats .t { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }

/* ---------- 服务卡片 ---------- */

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-card {
  background: var(--bg); border: 1px solid var(--line);
  border-top: 3px solid var(--brand); border-radius: 4px; padding: 26px 28px;
}
.svc-card h3 { display: flex; align-items: baseline; gap: 10px; }
.svc-card .num {
  font-size: 13px; color: var(--brand); font-weight: 500;
  letter-spacing: .08em; flex-shrink: 0;
}
.svc-card p { font-size: 15px; line-height: 1.8; }
.svc-card ul.clean li { font-size: 15px; }

/* ---------- 差异化 ---------- */

.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.diff-item { padding-top: 18px; border-top: 2px solid var(--line-2); }
.diff-item h3 { font-size: 18px; margin-bottom: 8px; }
.diff-item p { font-size: 15px; line-height: 1.8; }

/* ---------- 横向流程 ---------- */

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-step { position: relative; padding-top: 40px; }
.flow-step .no {
  position: absolute; left: 0; top: 0;
  font-size: 13px; color: var(--brand); font-weight: 500; letter-spacing: .1em;
}
.flow-step:before {
  content: ""; position: absolute; left: 0; top: 24px;
  width: 34px; height: 2px; background: var(--brand);
}
.flow-step h3 { font-size: 16px; margin-bottom: 6px; }
.flow-step p { font-size: 14px; line-height: 1.75; color: var(--mid); }

/* ---------- 服务区域标签 ---------- */

.regions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.region {
  display: inline-block; font-size: 14px; color: var(--graphite);
  border: 1px solid var(--line-2); border-radius: 3px;
  padding: 7px 15px; background: var(--bg);
}
.region b { color: var(--ink); font-weight: 500; }

/* ---------- 客户类型双栏 ---------- */

.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.who-col { background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 24px 26px; }
.who-col h3 { font-size: 17px; margin-bottom: 14px; }
.who-col ul.clean li { font-size: 15px; }

/* ---------- 机器可读折叠区（GEO 文本保留，视觉低调） ---------- */

.note {
  border: 1px solid var(--line); background: var(--bg-alt);
  border-radius: 4px; margin: 24px 0 0;
}
.note > summary {
  cursor: pointer; padding: 15px 22px; list-style: none;
  font-size: 15px; color: var(--mid); font-weight: 500;
  display: flex; align-items: center; gap: 10px;
}
.note > summary::-webkit-details-marker { display: none; }
.note > summary:before {
  content: "+"; display: inline-block; width: 18px; height: 18px;
  line-height: 16px; text-align: center; border: 1px solid var(--line-2);
  border-radius: 3px; color: var(--mid); font-size: 13px; flex-shrink: 0;
}
.note[open] > summary:before { content: "−"; }
.note > summary:hover { color: var(--brand); }
.note-body { padding: 4px 22px 22px; border-top: 1px solid var(--line); }
.note-body .disambig {
  margin: 16px 0 0; border-left-width: 4px; border-radius: 4px;
}
.note-body h3 { font-size: 15px; margin-top: 18px; margin-bottom: 8px; }

/* 一句话实体绑定：低调但可被抓取 */
.entity-note {
  font-size: 13px; line-height: 1.8; color: var(--faint);
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 26px;
}
.entity-note strong { color: var(--mid); font-weight: 500; }

/* ---------- 页脚（深色，正规公司主页形态） ---------- */

.foot {
  background: var(--foot-bg);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 52px 0 32px;
  margin-top: 0;
}
.foot .wrap { max-width: 1140px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; }
.foot h4 {
  font-size: 15px; color: #fff; margin-bottom: 14px; font-weight: 500;
}
.foot p { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,.62); }
.foot .logo-f {
  font-size: 17px; color: #fff; margin-bottom: 12px; display: block; text-decoration: none;
}
.foot .logo-f span { color: #fff; }
.foot-links { list-style: none; margin-bottom: 8px; }
.foot-links li { margin-bottom: 9px; }
.foot-links a { font-size: 14px; color: rgba(255,255,255,.62); text-decoration: none; }
.foot-links a:hover { color: #fff; }
.foot-legal {
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.45);
}
.foot-legal p { font-size: 13px; color: rgba(255,255,255,.45); }
.foot-legal strong { color: rgba(255,255,255,.7); font-weight: 500; }

/* 备案号：为空时自动隐藏占位行，填入后自动显示 */
.icp {
  font-size: 12px;
  line-height: 1.9;
  color: rgba(255,255,255,.45);
  margin: 0 0 4px;
}
.icp:empty { display: none; }
.icp a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  border-bottom: 0.5px solid transparent;
}
.icp a:hover { color: #fff; border-bottom-color: rgba(255,255,255,.3); }

/* ---------- 页面标题区（内页） ---------- */

.page-head {
  background: var(--bg-alt); border-bottom: 1px solid var(--line);
  padding: 52px 0 44px;
}
.page-head .wrap-n { max-width: 900px; }
.page-head h1 { font-size: 32px; margin-bottom: 14px; }
.page-head .lead { font-size: 17px; color: var(--mid); margin-bottom: 0; }

/* ---------- 联系条 ---------- */

.cta-bar {
  background: var(--ink); color: #fff; text-align: center;
  padding: 56px 24px;
}
.cta-bar h2 { color: #fff; margin-bottom: 12px; }
.cta-bar p { color: rgba(255,255,255,.72); font-size: 16px; margin-bottom: 26px; }
.cta-bar .btn { background: var(--brand); border: 1px solid var(--brand); }
.cta-bar .btn:hover { background: #fff; color: var(--ink); }

/* 联系方式大卡 */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-card {
  border: 1px solid var(--line); border-radius: 4px; padding: 22px 24px; background: var(--bg);
}
.contact-card .ck { font-size: 13px; color: var(--faint); margin-bottom: 6px; }
.contact-card .cv { font-size: 19px; color: var(--ink); line-height: 1.5; }
.contact-card .cm { font-size: 13px; color: var(--mid); margin-top: 6px; }

/* ---------- 响应式 ---------- */

@media (max-width: 960px) {
  .grid-3, .grid-2, .diff-grid, .flow, .who-grid, .contact-cards { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .flow { gap: 22px 18px; }
}

@media (max-width: 860px) {
  .grid-3, .grid-2, .svc-grid, .diff-grid, .flow, .who-grid, .contact-cards { grid-template-columns: 1fr; }
  h1 { font-size: 27px; }
  h2 { font-size: 21px; }
  .section { padding: 46px 0; }
  .section-s { padding: 34px 0; }
  .facts div { flex-direction: column; gap: 4px; }
  .facts .k { width: auto; }
  table { font-size: 14px; }
  th, td { padding: 10px 12px; }
}

@media (max-width: 700px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 52px 0 46px; }
  .hero h1 { font-size: 26px; }
  .hero-sub { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .page-head { padding: 38px 0 32px; }
  .page-head h1 { font-size: 25px; }
  .topbar-in span:last-child { display: none; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 23px; }
  .nav-in { padding: 14px 18px; }
  .wrap, .wrap-n { padding: 0 18px; }
  .hero-in { padding: 0 18px; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 14px; }
  .nav-cta { display: none; }
  table { display: block; overflow-x: auto; white-space: nowrap; }
  table td { white-space: normal; min-width: 120px; }
}