/* ==========================================================================
   厦门新必图自动化工程有限公司 · 官网静态站共享样式 v2.0
   口径基准：知识库定稿（2026-09-20 校验版 / 2026-10-21 修订）
   ========================================================================== */

:root {
  --brand: #0B3C6E;
  --brand-2: #12599F;
  --brand-3: #E8EEF6;
  --accent: #E8590C;
  --accent-2: #F59E0B;
  --ink: #1F2933;
  --ink-2: #3E4C59;
  --muted: #6B7A8C;
  --line: #E2E8F0;
  --bg: #F6F8FB;
  --white: #FFFFFF;
  --ok: #0F9D58;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 60, 110, .08);
  --shadow-lg: 0 14px 40px rgba(11, 60, 110, .13);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--brand);
  color: #C9DCF2;
  font-size: 13px;
  padding: 7px 0;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar b { color: #fff; font-weight: 600; }
.topbar .spacer { flex: 1; }
/* 顶栏元素不压缩：长文本（地址）被压会与右侧内容重叠；空间不足时整块换行 */
.topbar .wrap > span { flex: 0 0 auto; }
.topbar .wrap > span.addr { white-space: normal; }
.topbar a { color: #9EC5F0; }

/* ---------- 导航 ---------- */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(11, 60, 110, .05);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
/* 42px 方块装不下 3 个 15px 汉字，会折行把「图」挤到第二行 —— 加宽到 48px 并禁止换行 */
.logo-mark {
  width: 48px; height: 48px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800; font-size: 13.5px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0; white-space: nowrap; flex: 0 0 48px;
}
.logo-txt { line-height: 1.25; flex-shrink: 0; }
/* 全称 14 字（厦门新必图自动化工程有限公司）—— 字号压到 14px，保持单行 */
.logo-txt .n {
  font-weight: 700; font-size: 14px; color: var(--brand); display: block;
  white-space: nowrap; letter-spacing: -.2px;
}
.logo-txt .s { font-size: 11px; color: var(--muted); white-space: nowrap; }
/* 菜单沿用原逻辑：margin-left:auto 右对齐，窄屏才换行 */
.menu { display: flex; gap: 1px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.menu a {
  padding: 9px 9px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2);
  font-weight: 500; white-space: nowrap;
}
.menu a:hover { background: var(--brand-3); color: var(--brand); text-decoration: none; }
.menu a.on { background: var(--brand); color: #fff; }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 10px 14px !important;
  border-radius: 10px; font-weight: 600; box-shadow: 0 4px 12px rgba(232, 89, 12, .28);
  white-space: nowrap;
}
.nav-cta:hover { background: #d14e08; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 20px; cursor: pointer; color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #062A52 0%, var(--brand) 45%, var(--brand-2) 100%);
  color: #fff; padding: 66px 0 60px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, .22), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 46px; align-items: center; position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .26);
  padding: 5px 14px; border-radius: 999px; font-size: 13px; margin-bottom: 18px; letter-spacing: .3px;
}
.hero h1 { font-size: 40px; line-height: 1.28; margin: 0 0 18px; font-weight: 800; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--accent-2); }
.hero .lead { font-size: 17px; color: #D6E5F6; max-width: 640px; margin: 0 0 26px; }
.hero-kw { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.hero-kw span {
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  padding: 5px 13px; border-radius: 8px; font-size: 13.5px; color: #E6F0FB;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px;
  border-radius: 11px; font-weight: 600; font-size: 15.5px; border: 0; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 89, 12, .32); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }

.hero-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px; padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h3 { margin: 0 0 16px; font-size: 15px; color: var(--accent-2); letter-spacing: 1px; font-weight: 700; }
.hero-card dl { margin: 0; display: grid; gap: 12px; }
.hero-card .row { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; border-bottom: 1px dashed rgba(255, 255, 255, .18); padding-bottom: 10px; }
.hero-card .row:last-child { border-bottom: 0; padding-bottom: 0; }
.hero-card dt { color: #A9C6E4; }
.hero-card dd { margin: 0; font-weight: 600; text-align: right; }

/* ---------- 信任条 ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; }
.trust .cell { padding: 24px 16px; text-align: center; border-right: 1px solid var(--line); }
.trust .cell:last-child { border-right: 0; }
.trust .n { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.trust .n span { font-size: 16px; }
.trust .l { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ---------- 区块 ---------- */
section { padding: 62px 0; }
section.alt { background: #fff; }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.sec-head .tag {
  display: inline-block; background: var(--brand-3); color: var(--brand); font-weight: 700;
  font-size: 13px; padding: 4px 13px; border-radius: 999px; margin-bottom: 12px;
}
.sec-head h2 { font-size: 30px; margin: 0 0 12px; font-weight: 800; letter-spacing: -.3px; }
.sec-head p { color: var(--muted); margin: 0; font-size: 15.5px; }
.sec-head.left { text-align: left; margin-left: 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: 26px 24px; transition: .22s; position: relative; overflow: hidden;
}
.card:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-3); color: var(--brand); font-size: 22px; margin-bottom: 15px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.card p { margin: 0 0 12px; color: var(--ink-2); font-size: 14.5px; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.card ul li { margin-bottom: 5px; }
.card .more { font-size: 14px; font-weight: 600; color: var(--accent); }

/* ---------- 表格 ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.t { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.t th {
  background: var(--brand); color: #fff; text-align: left; padding: 13px 15px;
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
table.t td { padding: 12px 15px; border-top: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
table.t tbody tr:hover { background: #F7FAFD; }
table.t td b { color: var(--brand); }
.pill {
  display: inline-block; padding: 2px 9px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: #E7F6ED; color: var(--ok); white-space: nowrap;
}
.pill.hist { background: #EEF1F5; color: var(--muted); }
.pill.warn { background: #FFF4E5; color: #B45309; }

/* 资质编号打码块：模拟马赛克（深浅交替方块），且不可被复制为有效编号 */
.mosaic {
  display: inline-block; letter-spacing: 1px;
  color: transparent; user-select: none;
  background:
    repeating-linear-gradient(90deg,
      #33475B 0 4px, #4A5F76 4px 8px, #2B3B4C 8px 12px);
  border-radius: 3px; padding: 0 4px;
  text-shadow: none;
  /* 行高归零，避免被正文 1.75 行高撑成竖条 */
  line-height: 1; height: 1em; vertical-align: -0.15em;
}
/* 深色底（hero / phead）上的马赛克块用浅色系，视觉上仍是"遮挡"感 */
.phead .mosaic, .hero .mosaic, .cta .mosaic, footer .mosaic {
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,.42) 0 4px, rgba(255,255,255,.20) 4px 8px, rgba(255,255,255,.32) 8px 12px);
}

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -14px; left: 20px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { margin: 10px 0 6px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- 工艺/指标 ---------- */
.kpi { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.kpi .box { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; border-radius: var(--radius); padding: 22px; }
.kpi .box .v { font-size: 26px; font-weight: 800; line-height: 1.25; }
.kpi .box .v small { font-size: 15px; font-weight: 600; }
.kpi .box .t { font-size: 13.5px; color: #B9D3EE; margin-top: 4px; }
.kpi .box.alt { background: linear-gradient(135deg, #E8590C, #F59E0B); }
.kpi .box.alt .t { color: #FFE8CC; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15.5px; color: var(--brand); list-style: none;
  display: flex; justify-content: space-between; gap: 14px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 21px; color: var(--accent); line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq .a { margin: 12px 0 0; color: var(--ink-2); font-size: 14.5px; }

/* ---------- 引用块 ---------- */
.quote {
  border-left: 4px solid var(--accent); background: #FFF9F2; padding: 20px 24px;
  border-radius: 0 12px 12px 0; font-size: 15.5px; color: var(--ink-2); margin: 0;
}
.quote b { color: var(--brand); }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, #062A52, var(--brand) 60%, var(--brand-2)); color: #fff; }
.cta .wrap { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; justify-content: space-between; }
.cta h3 { margin: 0 0 6px; font-size: 25px; font-weight: 800; }
.cta p { margin: 0; color: #C6DAF0; }
.cta-tel { display: flex; gap: 26px; flex-wrap: wrap; }
.cta-tel .t { font-size: 12.5px; color: #9FC0E2; }
.cta-tel .v { font-size: 23px; font-weight: 800; }

/* ---------- 页脚 ---------- */
footer { background: #0A2C4E; color: #A8C1DA; padding: 48px 0 26px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 34px; }
footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; font-weight: 700; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 7px; }
footer a { color: #A8C1DA; }
footer a:hover { color: #fff; }
.foot-brand .n { color: #fff; font-size: 17px; font-weight: 800; display: block; margin-bottom: 8px; }
.foot-bot {
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 34px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: #7E9CBE;
}
.foot-bot a { color: #7E9CBE; }

/* ---------- 面包屑 ---------- */
.crumb { font-size: 13.5px; color: var(--muted); padding: 16px 0 0; }
.crumb a { color: var(--muted); }
.crumb span { margin: 0 7px; color: #B8C4D0; }

/* ---------- 页内头 ---------- */
.phead { background: linear-gradient(135deg, #062A52, var(--brand) 70%); color: #fff; padding: 40px 0 44px; }
.phead h1 { margin: 0 0 12px; font-size: 32px; font-weight: 800; letter-spacing: -.3px; }
.phead p { margin: 0; color: #C6DAF0; max-width: 760px; font-size: 16px; }

/* ---------- 内容排版 ---------- */
.prose h2 { font-size: 25px; margin: 40px 0 16px; font-weight: 800; color: var(--brand); }
.prose h3 { font-size: 19px; margin: 28px 0 10px; font-weight: 700; }
.prose p { margin: 0 0 14px; color: var(--ink-2); }
.prose ul { color: var(--ink-2); padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 7px; }
.prose b { color: var(--brand); }
.prose .hl { background: #FFF4D6; padding: 0 3px; border-radius: 3px; font-weight: 600; }

.note {
  background: var(--brand-3); border-left: 4px solid var(--brand); padding: 16px 20px;
  border-radius: 0 10px 10px 0; color: var(--ink-2); font-size: 14.5px; margin: 18px 0;
}
.note b { color: var(--brand); }

/* ---------- 品牌授权事实表（dl.facts）—— 便于 AI 抽取实体字段 ---------- */
.facts {
  display: grid; grid-template-columns: 148px 1fr; gap: 0;
  margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff;
}
.facts .fact { display: contents; }
.facts dt {
  background: var(--brand-3); padding: 12px 16px; font-weight: 600; color: var(--brand);
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.facts dd {
  margin: 0; padding: 12px 16px; border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink-2); line-height: 1.7;
}
.facts .fact:last-child dt, .facts .fact:last-child dd { border-bottom: none; }
@media (max-width: 720px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: none; padding-bottom: 2px; }
  .facts dd { padding-top: 2px; }
}

/* ---------- 表单 ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.form label { display: block; font-size: 14px; font-weight: 600; margin: 0 0 6px; color: var(--ink-2); }
.form input, .form select, .form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; font-family: inherit; background: #FBFCFE; margin-bottom: 16px; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand-2); border-color: var(--brand-2); background: #fff; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

/* ---------- 导航紧凑模式（2026-10-30 新增）----------
   背景：导航项从 9 项增至 10 项（新增「选型指南」）后，
   .menu 在 981–1199px 视口下换行成两行，而 .nav .wrap 高度固定 70px，
   第二行（含「免费上门勘测」CTA）会溢出导航条压住正文。
   实测（Playwright，Edge，1280/1200/1150/1100/1024/981）：
     单行下限原本 1024px → 加项后降到 1150px，1024px 溢出属既有问题。
   方案：981–1199px 区间压缩菜单字号与内边距，保持单行不换行；
        ≤980px 走原有的汉堡菜单（.menu 竖排），不受影响。
   实测修正后 981px 以上全部单行、无溢出。 */
@media (max-width: 1199px) and (min-width: 981px) {
  .nav .wrap { gap: 12px; }
  .menu a { padding: 6px 5px; font-size: 12px; }
  .nav-cta { padding: 8px 8px !important; font-size: 12px; }
  .logo-txt .n { font-size: 13px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero h1 { font-size: 31px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu {
    display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 20px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .menu.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
}
@media (max-width: 640px) {
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  .hero { padding: 46px 0 44px; }
  .hero h1 { font-size: 26px; }
  .trust .cell:nth-child(2n) { border-right: 0; }
  .form .row2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .sec-head h2 { font-size: 24px; }
}

/* ===========================================================
   老站内容落地页（/legacy/）专用样式
   —— 承接老站详情页权重的内容页，与主站共用同一套设计语言
   =========================================================== */
.legacy-article {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 44px 44px; margin: 26px 0 0; box-shadow: var(--shadow);
}
.legacy-article h1 {
  font-size: 30px; font-weight: 800; color: var(--brand);
  margin: 0 0 10px; line-height: 1.35; letter-spacing: -.2px;
}
.legacy-meta {
  font-size: 13.5px; color: var(--muted); margin: 0 0 26px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.legacy-article > p { font-size: 16px; line-height: 1.9; margin: 0 0 16px; color: var(--ink-2); }
.legacy-article > p:first-of-type { font-size: 17px; color: var(--ink); font-weight: 500; }

.legacy-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 4px 0 8px; }
.legacy-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px;
  background: var(--brand-3);
}
.legacy-card h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--brand); }
.legacy-card p { margin: 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.7; }

.legacy-related {
  margin: 34px 0 0; padding: 22px 26px; border-radius: 10px;
  background: var(--brand-3); border: 1px solid var(--line);
}
.legacy-related h3 { margin: 0 0 12px; font-size: 17px; font-weight: 800; color: var(--brand); }
.legacy-related ul { margin: 0; padding-left: 20px; }
.legacy-related li { margin-bottom: 8px; font-size: 15px; }
.legacy-related a { color: var(--brand-2); font-weight: 600; }
.legacy-related a:hover { color: var(--brand); }

.legacy-cta {
  margin: 26px 0 0; padding: 22px 26px; border-radius: 10px;
  background: linear-gradient(135deg, #062A52, var(--brand) 70%); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.legacy-cta p { margin: 0; font-size: 15.5px; color: #DCE8F6; max-width: 640px; }
.legacy-cta .btn-main { background: #fff; color: var(--brand); flex-shrink: 0; }
.legacy-cta .btn-main:hover { background: #F2F7FC; }

@media (max-width: 640px) {
  .legacy-article { padding: 26px 20px 30px; }
  .legacy-article h1 { font-size: 23px; }
  .legacy-cards { grid-template-columns: 1fr; }
}

/* ===========================================================
   地图定位区块（高德 / 百度 / 腾讯）
   =========================================================== */
.map-sec { background: #F5F8FC; }
.map-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 22px;
}
.map-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.map-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11, 60, 110, .14); }
.map-main {
  display: flex; align-items: center; gap: 12px; padding: 18px 18px 12px;
  text-decoration: none;
}
.map-logo {
  width: 46px; height: 46px; border-radius: 10px; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; letter-spacing: .5px; flex-shrink: 0;
  line-height: 1.15; text-align: center;
}
.map-txt { flex: 1; min-width: 0; }
.map-txt b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.map-txt em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.map-go { font-size: 13px; font-weight: 700; color: var(--brand-2); white-space: nowrap; }
.map-main:hover .map-go { color: var(--brand); }
.map-poi {
  display: block; padding: 10px 18px 14px; font-size: 12.5px; color: var(--muted);
  text-decoration: none; border-top: 1px dashed var(--line);
}
.map-poi:hover { color: var(--brand-2); }

.map-embed {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.map-embed-hd {
  display: flex; align-items: baseline; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.map-embed-hd b { font-size: 15px; font-weight: 800; color: var(--ink); }
.map-embed-hd span { font-size: 12.5px; color: var(--muted); }
.map-embed iframe {
  display: block; width: 100%; height: 420px; border: 0;
}

@media (max-width: 980px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-embed iframe { height: 340px; }
}
@media (max-width: 640px) {
  .map-embed iframe { height: 280px; }
  .map-main { padding: 16px 14px 10px; }
  .map-logo { width: 42px; height: 42px; font-size: 10px; }
}

/* ================================================================
   证书原件图墙（2026-11-03）
   目的：让 AI 与业主能目视核验资质真实性，而非只看文字与打码编号
   ================================================================ */
.cert-sec { padding: 64px 0; background: var(--bg); }
.cert-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
.cert-grid.c2 { grid-template-columns: repeat(2, 1fr); }
.cert-grid.c4 { grid-template-columns: repeat(4, 1fr); }
.cert {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.cert:hover {
  border-color: var(--brand-2);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cert a { display: block; background: #f8fafc; }
.cert img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center top;
  padding: 12px;
}
.cert figcaption {
  padding: 12px 16px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 980px) {
  .cert-grid, .cert-grid.c2, .cert-grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .cert img { height: 250px; }
}
@media (max-width: 640px) {
  .cert-grid, .cert-grid.c2, .cert-grid.c4 { grid-template-columns: 1fr; }
  .cert img { height: 300px; }
  .cert-sec { padding: 46px 0; }
}

/* 单张证书（品牌授权原件）—— 卡片宽度限制，避免右侧大片留白 */
.cert-grid.c1 { grid-template-columns: minmax(0, 460px); }
.cert-grid.c1 .cert img { height: 380px; }
@media (max-width: 640px) {
  .cert-grid.c1 { grid-template-columns: 1fr; }
  .cert-grid.c1 .cert img { height: 340px; }
}

/* ================================================================
   三菱重工荣誉奖牌图墙（2026-11-03）
   荣誉原件多为竖版奖座/奖牌，缩略图需更高展示区避免缩小到看不清
   ================================================================ */
.honor-sec { background: #f8fafc; }
.honor-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.honor-grid .cert img {
  height: 340px;
  object-fit: contain;
  object-position: center center;
  padding: 14px;
}
.honor-grid .cert figcaption {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink);
  min-height: 58px;
}
/* 服务授权徽章（区别于「有效」「历史见证」） */
.pill.svc { background: #E8F1FF; color: #1D4ED8; }

@media (max-width: 980px) {
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
  .honor-grid .cert img { height: 300px; }
}
@media (max-width: 760px) {
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid .cert img { height: 270px; }
}
@media (max-width: 480px) {
  .honor-grid { grid-template-columns: 1fr; }
  .honor-grid .cert img { height: 320px; }
}

/* 横版奖牌/牌匾（宽>高）跨两列展示，避免在固定高度网格里被压扁看不清 */
.honor-grid .cert.wide { grid-column: span 2; }
.honor-grid .cert.wide img { height: 260px; object-fit: contain; }
@media (max-width: 980px) {
  .honor-grid .cert.wide { grid-column: span 2; }
  .honor-grid .cert.wide img { height: 230px; }
}
@media (max-width: 480px) {
  .honor-grid .cert.wide { grid-column: span 1; }
  .honor-grid .cert.wide img { height: 240px; }
}

/* ---------- GEO 镜像页（2026-11-05 新增）---------- */
/* 首段事实句：可被整句摘取的短事实，用左侧色条 + 浅底 + 加粗区分，
   让抓取方（AI 引擎）与读者都能一眼定位到「这段是官方口径」 */
.prose p.lead-fact {
  background: var(--brand-3);
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.85;
  margin: 0 0 22px;
}
@media (max-width: 480px) {
  .prose p.lead-fact { padding: 13px 15px; font-size: 14.5px; }
}

/* 联系卡 */
.contact-card {
  background: #F7FAFD;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  margin: 24px 0 8px;
}
.contact-card .cc-title {
  font-size: 15px; font-weight: 800; color: var(--brand);
  margin-bottom: 12px; letter-spacing: .5px;
}
.contact-card .cc-rows { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-bottom: 12px; }
.contact-card .cc-row { display: flex; align-items: baseline; gap: 8px; }
.contact-card .cc-row .k { font-size: 13px; color: var(--ink-3); }
.contact-card .cc-row .v { font-size: 20px; font-weight: 800; color: var(--brand); letter-spacing: .3px; }
.contact-card .cc-note { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.8; }

/* 聚合页卡片 */
.geo-cards .card { position: relative; padding-top: 22px; }
.geo-cards .tag-no {
  position: absolute; top: 0; left: 0;
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .5px;
  padding: 3px 9px; border-radius: 6px 6px 0 0;
}
.geo-cards .card h3 { margin-top: 6px; }
.geo-cards .card h3 a { color: var(--brand); text-decoration: none; }
.geo-cards .card h3 a:hover { text-decoration: underline; }
.geo-cards .card .topic {
  font-size: 13px; color: var(--ink-3); margin: 0 0 8px;
  background: var(--brand-3); display: inline-block;
  padding: 2px 9px; border-radius: 4px;
}
.geo-cards .card .meta { font-size: 12.5px; color: var(--ink-3); margin: 10px 0 0; }

/* 站内延伸链接块 */
.geo-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.geo-links li { margin: 0; }
.geo-links a {
  display: inline-block; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 8px;
  color: var(--brand); text-decoration: none; font-weight: 600; font-size: 14px;
  background: #fff;
}
.geo-links a:hover { border-color: var(--brand); background: var(--brand-3); }
