/* ============================================================
   整改覆盖样式 — 对应《网站审计报告》P0/P1/P2
   在 main.css / about.css 之后加载，仅覆盖需修正项
   ============================================================ */

/* P0-3 金色按钮对比度：白字场合加深底色至 #8a641e (约5.3:1) */
.btn-gold { background: #8a641e !important; color: #fff !important; }
.btn-gold:hover { background: #6f4f16 !important; color: #fff !important; }

/* P2-16 键盘焦点可见样式 */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-500, #c49a46) !important;
  outline-offset: 3px !important;
}

/* P2-12 正文字号提升：15px -> 16px，中文阅读更舒适 */
body { font-size: 16px !important; }
.hero-lead { font-size: 15px !important; }
@media (max-width: 720px) {
  .hero-lead { font-size: 15px !important; }
}

/* P2-8 / 首页中下部留白：核心区块间距收紧一点 */
.sec { padding-top: clamp(56px, 8vw, 88px) !important; padding-bottom: clamp(56px, 8vw, 88px) !important; }

/* P2-10 服务卡片图片风格统一：统一深蓝蒙版 + 色调 */
.svc-media img { filter: saturate(.9) contrast(1.02); }
.svc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,34,66,.06) 0%, rgba(10,34,66,.22) 100%);
  pointer-events: none;
}
.svc-media { position: relative; }

/* P2-11 Banner 移动端构图：调整 object-position 保留主体 */
@media (max-width: 720px) {
  .hero-bg img { object-position: 58% center !important; }
}

/* ============================================================
   内容增补模块样式（服务流程 / 核心优势 / 成果看板 / 案例 / FAQ / CTA / 表单）
   ============================================================ */

/* 通用区块标题 */
.sec-hd.center { text-align: center; }
.mono-num { font-family: var(--font-num, "DIN Alternate", Arial, sans-serif); }

/* 1) 服务流程五步走 */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 34px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  background: var(--bg-soft, #f6f8fb);
  border: 1px solid var(--line, #e4e9f0);
  border-top: 3px solid var(--navy-600, #1c5089);
  border-radius: var(--radius, 4px);
  padding: 22px 18px 20px;
  min-height: 170px;
}
.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  font-family: var(--font-num, Arial, sans-serif);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-100, #dce8f5);
  line-height: 1;
  margin-bottom: 10px;
}
.flow-step h3 { font-size: 16px; margin-bottom: 6px; }
.flow-step p { margin: 0; font-size: 13px; color: var(--ink-500, #5a6572); line-height: 1.65; }
.flow-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 46%;
  color: var(--gold-500, #c49a46);
  font-size: 18px;
  z-index: 1;
}
@media (max-width: 1024px) { .flow-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .flow-grid { grid-template-columns: 1fr; gap: 12px; }
  .flow-step { min-height: 0; }
  .flow-step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -13px; transform: translateX(-50%); }
}

/* 2) 核心优势 */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.adv-card {
  background: var(--bg, #fff);
  border: 1px solid var(--line, #e4e9f0);
  border-radius: var(--radius-lg, 8px);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(10,34,66,.05));
}
.adv-card .ico {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-50, #f2f7fc);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-600, #1c5089); margin-bottom: 14px;
}
.adv-card h3 { font-size: 16px; margin-bottom: 6px; }
.adv-card p { margin: 0; font-size: 13.5px; color: var(--ink-500, #5a6572); }
@media (max-width: 1024px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .adv-grid { grid-template-columns: 1fr; } }

/* 3) 成果数据看板 */
.result-band { background: var(--navy-900, #0a2242); color: #fff; padding: 56px 0; }
.result-band .sec-hd h2 { color: #fff; }
.result-band .eyebrow { color: var(--gold-400, #d8b467); }
.result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 28px; }
.result-item { text-align: center; padding: 18px 10px; border-right: 1px solid rgba(255,255,255,.12); }
.result-item:last-child { border-right: 0; }
.result-item b { display: block; font-family: var(--font-num, Arial, sans-serif); font-size: 38px; color: var(--gold-400, #d8b467); line-height: 1.1; }
.result-item span { display: block; font-size: 13px; color: #b9c9dd; margin-top: 8px; }
.result-note { text-align: center; font-size: 12px; color: #8fa6c2; margin-top: 18px; }
@media (max-width: 720px) { .result-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .result-item b { font-size: 30px; } }

/* 4) 精选案例 */
.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.pick-card { border: 1px solid var(--line, #e4e9f0); border-radius: var(--radius-lg, 8px); overflow: hidden; background: #fff; }
.pick-card .pic { height: 150px; background: var(--navy-50, #f2f7fc); overflow: hidden; }
.pick-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.pick-card .bd { padding: 16px 18px 18px; }
.pick-card h3 { font-size: 15.5px; margin-bottom: 8px; line-height: 1.5; }
.pick-card .metric { font-size: 12.5px; color: var(--gold-600, #a8802f); font-weight: 700; margin-bottom: 6px; }
.pick-card p { margin: 0 0 10px; font-size: 13px; color: var(--ink-500, #5a6572); }
.pick-card .more { font-size: 13px; color: var(--navy-600, #1c5089); font-weight: 600; }
@media (max-width: 900px) { .pick-grid { grid-template-columns: 1fr; } }

/* 5) FAQ 折叠 */
.faq-list { max-width: 820px; margin: 30px auto 0; }
.faq-item { border-bottom: 1px solid var(--line, #e4e9f0); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 16px 44px 16px 4px;
  font-size: 15.5px; font-weight: 600; color: var(--navy-900, #0a2242); position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 22px; color: var(--gold-600, #a8802f); font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-a { padding: 0 20px 18px 4px; font-size: 14px; color: var(--ink-500, #5a6572); }

/* 6) 转化 CTA */
.cta-band { background: linear-gradient(135deg, var(--navy-800, #0f2f57), var(--navy-600, #1c5089)); color: #fff; padding: 46px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: #c8d6e8; margin-bottom: 20px; }
.cta-band .btn-gold { background: #8a641e !important; }

/* 7) 咨询表单 */
.inq-form { max-width: 760px; margin: 28px auto 0; background: #fff; border: 1px solid var(--line, #e4e9f0); border-radius: var(--radius-lg, 8px); padding: 26px; }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.inq-row.one { grid-template-columns: 1fr; }
.inq-form label { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy-900, #0a2242); margin-bottom: 6px; }
.inq-form .req { color: var(--p0, #c0392b); }
.inq-form input, .inq-form select, .inq-form textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line, #e4e9f0);
  border-radius: var(--radius, 4px); font-size: 14px; font-family: inherit; color: var(--ink-900, #10151d);
}
.inq-form textarea { min-height: 110px; resize: vertical; }
.inq-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; }
.inq-checks label { font-weight: 400; display: inline-flex; align-items: center; gap: 6px; }
.inq-privacy { font-size: 12.5px; color: var(--ink-500, #5a6572); margin: 12px 0 0; }
.inq-note { font-size: 12.5px; color: var(--p1, #b5791a); background: #fdf3e2; padding: 8px 12px; border-radius: 4px; margin-top: 14px; }
@media (max-width: 600px) { .inq-row { grid-template-columns: 1fr; } }

/* 8) 资料清单 */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.dl-card { border: 1px solid var(--line, #e4e9f0); border-radius: 8px; padding: 20px; background: #fff; }
.dl-card h3 { font-size: 16px; margin-bottom: 10px; }
.dl-card ul { list-style: disc; padding-left: 20px; margin: 0 0 14px; font-size: 13.5px; color: var(--ink-500, #5a6572); }
.dl-card li { margin-bottom: 4px; }
.dl-card .dl-link { font-size: 13px; font-weight: 600; color: var(--navy-600, #1c5089); }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

/* 9) 服务区域关系简图（仅示意，非行政地图） */
.area-map { max-width: 680px; margin: 26px auto 0; }
.area-map svg { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.area-note { text-align: center; font-size: 12px; color: var(--ink-400, #7d8794); margin-top: 14px; }
