/* ==========================================================
   消火天查（延安）科技有限公司 官网样式
   主色：消防红  辅色：深蓝  底色：浅灰白
   ========================================================== */

:root {
  --red: #C8102E;
  --red-dark: #9B0C24;
  --red-light: #E8455C;
  --navy: #0E2A47;
  --navy-2: #16395F;
  --ink: #1A1D23;
  --muted: #5C6470;
  --line: #E4E7EC;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FA;
  --radius: 8px;
  --shadow: 0 6px 24px rgba(14, 42, 71, .08);
  --shadow-lg: 0 16px 48px rgba(14, 42, 71, .14);
  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 2px 16px rgba(14, 42, 71, .1); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-size: 17px; letter-spacing: .3px; color: var(--navy); }
.brand-text em {
  font-style: normal; font-size: 11px; letter-spacing: 2.2px;
  color: var(--red); font-weight: 700;
}

.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
/* 8 项菜单 + 长品牌名：nav-link 必须 nowrap，否则被 flex 压缩后中文会折成两行 */
.nav-link {
  position: relative; padding: 0 12px; height: 78px;
  display: inline-flex; align-items: center;
  font-size: 15px; color: var(--ink); font-weight: 500;
  white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 20px;
  height: 3px; border-radius: 2px; background: var(--red);
  transform: scaleX(0); transition: transform .25s ease;
}
.nav-link:hover { color: var(--red); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--red); font-weight: 700; }

.header-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.tel-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 14px rgba(200, 16, 46, .28);
}
.tel-link:hover { background: var(--red-dark); color: #fff; }
.tel-link .ico { width: 17px; height: 17px; fill: currentColor; }

.nav-toggle {
  display: none; width: 42px; height: 42px; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 内页 Banner ---------------- */
.page-banner {
  padding: 76px 0 60px;
  background:
    radial-gradient(1000px 400px at 88% -10%, rgba(200, 16, 46, .16), transparent 62%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; text-align: center;
}
.page-banner h1 { font-size: 40px; letter-spacing: 2px; }
.page-banner p { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .82); }
.crumb { margin-top: 20px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.crumb a { color: rgba(255, 255, 255, .9); }
.crumb a:hover { color: #fff; text-decoration: underline; }
.crumb span { margin: 0 8px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }

.sec-head { text-align: center; max-width: 780px; margin: 0 auto 52px; }
.sec-head .eyebrow {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: rgba(200, 16, 46, .09); color: var(--red);
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
}
.sec-head h2 { margin-top: 18px; font-size: 34px; color: var(--navy); letter-spacing: 1px; }
.sec-head .sub { margin-top: 14px; font-size: 16px; color: var(--muted); }
.section--dark .sec-head h2 { color: #fff; }
.section--dark .sec-head .sub { color: rgba(255, 255, 255, .72); }

/* ---------------- 首页 Hero ---------------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: 104px 0 112px;
  background:
    radial-gradient(900px 420px at 84% 12%, rgba(200, 16, 46, .42), transparent 64%),
    radial-gradient(700px 400px at 6% 88%, rgba(22, 57, 95, .8), transparent 62%),
    linear-gradient(140deg, #0B2138 0%, #123456 58%, #0B2138 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 58px 58px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 60px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
  font-size: 13px; letter-spacing: 1.4px; color: rgba(255, 255, 255, .9);
}
.hero-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red-light); box-shadow: 0 0 0 4px rgba(232, 69, 92, .28); }
.hero h1 { margin-top: 24px; font-size: 50px; line-height: 1.24; letter-spacing: 1.5px; }
.hero h1 em { font-style: normal; color: #FF5A6E; }
.hero-lead { margin-top: 22px; font-size: 17px; color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero-btns { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 34px; border-radius: 6px; font-size: 16px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn .ico { width: 18px; height: 18px; fill: currentColor; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(200, 16, 46, .34); }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .42); }
.btn--ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--red); border-color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }

.hero-stats { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hero-stat b { display: block; font-size: 34px; color: #fff; letter-spacing: .5px; }
.hero-stat b i { font-style: normal; font-size: 17px; color: var(--red-light); margin-left: 3px; }
.hero-stat span { font-size: 14px; color: rgba(255, 255, 255, .66); }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px; padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .3);
}
.hero-card h3 { font-size: 17px; letter-spacing: 1px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.hero-card h3 i { width: 4px; height: 16px; background: var(--red-light); border-radius: 2px; }
.scan-list li {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 14.5px;
}
.scan-list li:last-child { border-bottom: 0; }
.scan-list .name { color: rgba(255, 255, 255, .84); }
.scan-list .val { font-weight: 700; color: #fff; }
.scan-list .val.ok { color: #4ADE80; }
.scan-list .val.warn { color: #FFC53D; }
.scan-list .val.bad { color: #FF6B7D; }

/* ---------------- 数据条 ---------------- */
.statbar { background: var(--navy); color: #fff; padding: 56px 0; }
.statbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.statbar b { display: block; font-size: 42px; color: var(--red-light); letter-spacing: 1px; }
.statbar b i { font-style: normal; font-size: 20px; margin-left: 2px; }
.statbar span { font-size: 15px; color: rgba(255, 255, 255, .74); }

/* ---------------- 卡片网格 ---------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .32s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-ico {
  width: 58px; height: 58px; border-radius: 12px;
  background: rgba(200, 16, 46, .09);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.card-ico svg { width: 28px; height: 28px; fill: var(--red); }
.card h3 { font-size: 19px; color: var(--navy); }
.card p { margin-top: 12px; font-size: 15px; color: var(--muted); }
.card ul { margin-top: 16px; }
.card ul li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--muted); margin-bottom: 7px; }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
}
.card-more { display: inline-flex; align-items: center; gap: 5px; margin-top: 20px; font-size: 14.5px; font-weight: 700; color: var(--red); }
.card-more .ico { width: 15px; height: 15px; fill: currentColor; transition: transform .25s ease; }
.card:hover .card-more .ico { transform: translateX(4px); }

/* ---------------- 板块交替图文 ---------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.split--rev .split-media { order: -1; }
.split-body h2 { font-size: 32px; color: var(--navy); }
.split-body .lead { margin-top: 18px; font-size: 16px; color: var(--muted); }
.feature-list { margin-top: 28px; }
.feature-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.feature-list .n {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.feature-list b { display: block; font-size: 16.5px; color: var(--navy); }
.feature-list span { font-size: 14.5px; color: var(--muted); }

.split-media { position: relative; }
.split-media .media-box {
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, #1F5288 100%);
  aspect-ratio: 4 / 3; position: relative;
}
.media-box::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.media-badge {
  position: absolute; left: 26px; bottom: 26px; right: 26px;
  background: rgba(255, 255, 255, .94); border-radius: 10px; padding: 20px 22px; color: var(--ink);
}
.media-badge b { display: block; font-size: 17px; color: var(--navy); }
.media-badge span { font-size: 14px; color: var(--muted); }
.media-ring {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 40px;
}
.media-ring div { text-align: center; color: #fff; }
.media-ring b { display: block; font-size: 44px; color: var(--red-light); }
.media-ring span { font-size: 14px; color: rgba(255, 255, 255, .78); }

/* ---------------- 流程 ---------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.flow li { position: relative; padding: 0 22px; text-align: center; }
.flow li::before {
  content: ""; position: absolute; top: 29px; left: -50%; right: 50%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--red-light) 0 7px, transparent 7px 14px);
}
.flow li:first-child::before { display: none; }
.flow .step-no {
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%;
  background: #fff; border: 2px solid var(--red); color: var(--red);
  font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.flow b { display: block; font-size: 17px; color: var(--navy); }
.flow span { font-size: 14px; color: var(--muted); }

/* ---------------- 行业方案 ---------------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry {
  display: flex; align-items: center; gap: 16px;
  padding: 24px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  transition: background .25s ease, transform .25s ease;
}
.industry:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.industry .ico { width: 26px; height: 26px; fill: var(--red-light); flex-shrink: 0; }
.industry b { display: block; font-size: 16.5px; color: #fff; }
.industry span { font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* ---------------- 优势 ---------------- */
.adv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 34px; }
.adv-list li { display: flex; gap: 14px; align-items: flex-start; }
.adv-list .ico { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; margin-top: 5px; }
.adv-list b { display: block; font-size: 16px; color: var(--navy); }
.adv-list span { font-size: 14.5px; color: var(--muted); }

/* ---------------- 案例 ---------------- */
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .28s ease, box-shadow .28s ease; }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-thumb { aspect-ratio: 16 / 10; position: relative; }
.case-thumb .media-box { aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; }
.case-tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 5px 13px; border-radius: 4px; background: rgba(200, 16, 46, .94);
  color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
}
.case-body { padding: 22px 24px 26px; }
.case-body h3 { font-size: 17.5px; color: var(--navy); }
.case-body p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.case-meta { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; gap: 20px; font-size: 13.5px; color: var(--muted); }
.case-meta b { color: var(--navy); }

/* ---------------- 新闻 ---------------- */
.news-list { border-top: 1px solid var(--line); }
.news-row {
  display: grid; grid-template-columns: 118px 1fr 110px; gap: 26px; align-items: center;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
  transition: background .22s ease, padding-left .22s ease;
}
.news-row:hover { background: var(--bg-soft); padding-left: 14px; }
.news-date { text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.news-date b { display: block; font-size: 28px; color: var(--red); line-height: 1.1; }
.news-date span { font-size: 13px; color: var(--muted); }
.news-row h3 { font-size: 17px; color: var(--navy); }
.news-row:hover h3 { color: var(--red); }
.news-row p { margin-top: 7px; font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.news-cat { justify-self: end; padding: 5px 14px; border-radius: 999px; background: rgba(14, 42, 71, .06); color: var(--navy); font-size: 13px; font-weight: 600; }

/* ---------------- 新闻详情 ---------------- */
.article { max-width: 860px; margin: 0 auto; }
.article-meta { color: var(--muted); font-size: 14.5px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.article-body h3 { font-size: 21px; color: var(--navy); margin: 34px 0 14px; }
.article-body p { font-size: 16px; color: #33383F; margin-bottom: 16px; }
.article-body ul { margin: 0 0 18px; }
.article-body ul li { position: relative; padding-left: 22px; margin-bottom: 10px; color: #33383F; }
.article-body ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ---------------- 表单 ---------------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; color: var(--navy); font-weight: 600; margin-bottom: 8px; }
.field label i { color: var(--red); font-style: normal; margin-left: 3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 15px; font-family: inherit;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 6px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .12);
}
.field textarea { resize: vertical; min-height: 118px; }
.field .err { font-size: 13px; color: var(--red); margin-top: 6px; display: none; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--red); }
.field.has-err .err { display: block; }

.alert { padding: 14px 18px; border-radius: 6px; font-size: 15px; margin-bottom: 22px; }
.alert--ok { background: rgba(22, 163, 74, .1); color: #15803D; border: 1px solid rgba(22, 163, 74, .26); }
.alert--fail { background: rgba(200, 16, 46, .08); color: var(--red-dark); border: 1px solid rgba(200, 16, 46, .26); }

/* ---------------- 联系页 ---------------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; padding: 24px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.contact-card .ico { width: 22px; height: 22px; fill: var(--red); flex-shrink: 0; margin-top: 5px; }
.contact-card b { display: block; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.contact-card p { font-size: 15px; color: var(--muted); word-break: break-all; }
.contact-card a:hover { color: var(--red); }

.form-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 36px; box-shadow: var(--shadow); }

/* ---------------- 时间线 ---------------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--red), rgba(200, 16, 46, .14)); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -30px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 3px solid var(--red);
}
.timeline .yr { font-size: 19px; font-weight: 700; color: var(--red); letter-spacing: 1px; }
.timeline b { display: block; font-size: 16.5px; color: var(--navy); margin-top: 4px; }
.timeline span { font-size: 14.5px; color: var(--muted); }

/* ---------------- 荣誉 ---------------- */
.honor-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor {
  aspect-ratio: 3 / 4; border-radius: var(--radius); padding: 22px;
  background: #fff; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
}
.honor:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.honor .seal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -62%);
  width: 88px; height: 88px; border-radius: 50%;
  border: 2px dashed rgba(200, 16, 46, .38);
  display: flex; align-items: center; justify-content: center;
  color: rgba(200, 16, 46, .68); font-size: 30px; font-weight: 700;
}
.honor b { font-size: 15.5px; color: var(--navy); }
.honor span { font-size: 13px; color: var(--muted); }

/* ---------------- CTA 条 ---------------- */
.cta-strip { background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; padding: 62px 0; }
.cta-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 34px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 30px; }
.cta-strip p { margin-top: 10px; font-size: 16px; color: rgba(255, 255, 255, .86); }
.cta-strip .btn--outline { background: #fff; color: var(--red); }
.cta-strip .btn--outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #0B1B2D; color: rgba(255, 255, 255, .68); font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.25fr 2.4fr; gap: 54px; padding: 62px 24px 46px; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 16.5px; font-weight: 700; }
.footer-logo img { width: 38px; height: 38px; }
.footer-slogan { margin-top: 18px; max-width: 340px; line-height: 1.9; }
.footer-contact { margin-top: 22px; }
.footer-contact span { display: block; margin-bottom: 9px; }
.footer-contact b {
  display: inline-block; min-width: 76px; color: #fff; font-weight: 600;
}
.footer-contact a:hover { color: #fff; }
.footer-cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.footer-col h4 { font-size: 15px; color: #fff; margin-bottom: 16px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .62); font-size: 14px; }
.footer-col a:hover { color: var(--red-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 20px 0; text-align: center; font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.footer-icp { margin-top: 5px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.footer-icp a:hover { color: var(--red-light); }

/* ---------------- 回到顶部 ---------------- */
.back-top {
  position: fixed; right: 26px; bottom: 34px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(14, 42, 71, .28);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
}
.back-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--red); color: #fff; }
.back-top .ico { width: 22px; height: 22px; fill: currentColor; }

/* ---------------- 响应式 ---------------- */
/* ---- 1260：菜单一行需要 685px，加上品牌 296 + 电话 163 + 间距 32 = 1176，
        1280 屏（含 15px 滚动条）刚好贴边。此档收紧字距与左右内边距，省出 ~90px ---- */
@media (max-width: 1260px) {
  .header-inner { gap: 12px; }
  .nav-link { padding: 0 8px; font-size: 14px; }
  .nav-link::after { left: 8px; right: 8px; }
}

/* ---- 1160：再窄就放不下了（8 项 + 长品牌名需 1073px 内容宽），折叠为抽屉 ---- */
@media (max-width: 1160px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; left: 0; right: 0; top: 78px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .main-nav.is-open { display: flex; }
  .nav-link {
    height: 50px; padding: 0 12px; font-size: 15px;
    border-bottom: 1px dashed var(--line);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { border-left: 3px solid var(--red); padding-left: 12px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: 40px; }
  .grid--4, .industry-grid, .honor-list, .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li:nth-child(3)::before { display: none; }
  .split { gap: 44px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .statbar .container { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .tel-link span { display: none; }
  .tel-link { padding: 10px; border-radius: 50%; }
  /* 品牌名允许收缩并省略，否则 390 视口会把头部顶出 47px 横向溢出 */
  .header-inner { gap: 12px; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text strong {
    font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }

  .section { padding: 58px 0; }
  .hero { padding: 66px 0 76px; }
  .hero h1 { font-size: 31px; }
  .hero-lead { font-size: 15.5px; }
  .grid--3, .grid--4, .grid--2, .adv-list, .industry-grid, .honor-list, .flow, .form-grid { grid-template-columns: 1fr; }
  .flow li { padding: 0 8px 24px; }
  .flow li::before { display: none; }
  .split, .split--rev .split-media { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .sec-head h2 { font-size: 27px; }
  .page-banner { padding: 52px 0 44px; }
  .page-banner h1 { font-size: 29px; }
  .news-row { grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 2px; }
  .news-date b { font-size: 22px; }
  .news-cat { display: none; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .form-panel { padding: 24px 20px; }
  .cta-strip h2 { font-size: 24px; }
  .cta-strip .container { flex-direction: column; align-items: flex-start; }
  .hero-card { padding: 22px; }
}
/* ---- 480：窄屏再省一点，让「消火天查（延安）科技有限公司」完整显示而不出省略号
        注意必须排在 768 块之后：同特异性下后写者胜，放前面会被 768 的 14px 覆盖 ---- */
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-text strong { font-size: 13px; letter-spacing: 0; }
}
