/* ==========================================================================
   柴油发电机组官网 - 通用样式
   主色：工业蓝 #0540b5 / #08348a / #2366d1
   ========================================================================== */
:root {
  --blue: #0540b5;
  --blue-deep: #08348a;
  --blue-light: #2366d1;
  --blue-bg: #eff7ff;
  --text: #333333;
  --text-sub: #666666;
  --text-mute: #999999;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-grey: #f5f7fa;
  --radius: 6px;
  --wrap: 1200px;
  --header-h: 92px;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; border: 0; }
button, input, select { font-family: inherit; font-size: inherit; outline: none; }

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

/* ---------- 顶部条 ---------- */
.topbar {
  background: var(--blue-deep);
  color: #d9e4f7;
  font-size: 13px;
  line-height: 40px;
  height: 40px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; }
.topbar .slogan { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar .hotline { color: #ffffff; font-weight: 700; letter-spacing: .5px; }
.topbar .hotline b { color: #ffd351; font-size: 15px; }

/* ---------- 头部 / 导航 ---------- */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 900;
}
.header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { height: 52px; width: auto; }

.nav { display: flex; align-items: center; }
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 0 16px;
  height: var(--header-h);
  line-height: var(--header-h);
  font-size: 15px;
  color: var(--text);
  position: relative;
  white-space: nowrap;
}
.nav > li > a:hover,
.nav > li.on > a { color: var(--blue); }
.nav > li.on > a::after,
.nav > li > a:hover::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 24px;
  height: 2px;
  background: var(--blue);
}

/* 下拉菜单 */
.subnav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 2px solid var(--blue);
  box-shadow: 0 6px 20px rgba(8, 52, 138, .10);
  padding: 10px 0;
  min-width: 150px;
  z-index: 950;
}
.nav > li:hover .subnav { display: block; }
.subnav a {
  display: block;
  padding: 7px 20px;
  font-size: 13px;
  color: var(--text-sub);
  white-space: nowrap;
}
.subnav a:hover { background: var(--blue-bg); color: var(--blue); }
.subnav.cols {
  width: 520px;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.nav > li:hover .subnav.cols { display: grid; }

/* 移动端菜单按钮 */
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue);
  margin: 4px auto;
}

/* ---------- Banner 轮播 ---------- */
.banner { position: relative; overflow: hidden; background: var(--blue-deep); }
.banner .slides { position: relative; height: 520px; }
.banner .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  background-size: cover;
  background-position: center;
}
.banner .slide.on { opacity: 1; }
.banner .slide-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}
.banner h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
.banner p { font-size: 17px; color: #d5e2fb; margin-bottom: 28px; }
.banner .btns { display: flex; gap: 14px; flex-wrap: wrap; }
.banner .dots {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}
.banner .dots i {
  display: inline-block;
  width: 26px;
  height: 4px;
  margin: 0 4px;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.banner .dots i.on { background: #ffd351; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 11px 30px;
  border-radius: var(--radius);
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .2s;
}
.btn-primary { background: var(--blue); color: #ffffff; }
.btn-primary:hover { background: var(--blue-light); color: #ffffff; }
.btn-ghost { border-color: #ffffff; color: #ffffff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #ffffff; }
.btn-outline { border-color: var(--blue); color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #ffffff; }
.btn-yellow { background: #ffb400; color: #4a3000; font-weight: 700; }
.btn-yellow:hover { background: #ffc233; color: #4a3000; }

/* ---------- 板块通用 ---------- */
.section { padding: 56px 0; }
.section.grey { background: var(--bg-grey); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue-deep);
  line-height: 1.4;
}
.section-title .en {
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}
.section-title .line {
  width: 60px;
  height: 3px;
  background: var(--blue);
  margin: 14px auto 0;
}
.section-title p.desc { color: var(--text-sub); margin-top: 12px; font-size: 14px; }

/* ---------- 产品入口（两大功率档） ---------- */
.range-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.range-card {
  position: relative;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue-light));
  color: #ffffff;
  border-radius: var(--radius);
  padding: 34px 30px;
  overflow: hidden;
}
.range-card h3 { font-size: 24px; margin-bottom: 6px; }
.range-card p { color: #cfdffb; font-size: 13px; }
.range-card .go {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 22px;
  background: #ffffff;
  color: var(--blue-deep);
  border-radius: 40px;
  font-size: 13px;
}
.range-card .kw-list {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.range-card .kw-list a {
  background: rgba(255, 255, 255, .16);
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 12px;
  color: #ffffff;
}
.range-card .kw-list a:hover { background: rgba(255, 255, 255, .32); }

/* ---------- 标签云 / 分类 ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tag-cloud a {
  display: inline-block;
  padding: 10px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text);
  transition: all .2s;
}
.tag-cloud a:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(5, 64, 181, .12);
  transform: translateY(-2px);
}
.tag-cloud.blue a { background: var(--blue-bg); border-color: #d3e3fb; color: var(--blue-deep); }

/* ---------- 机型卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card-grid.c3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(8, 52, 138, .13); border-color: #c9daf7; }
.card .thumb { height: 190px; background: var(--bg-grey); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 16px 18px; }
.card .body h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.card .body p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }
.card .body .more { color: var(--blue); font-size: 13px; margin-top: 8px; display: inline-block; }

/* ---------- 选型器 ---------- */
.selector { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.selector .row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.selector .row:last-child { border-bottom: 0; }
.selector .row .key {
  width: 92px;
  flex: none;
  color: var(--blue-deep);
  font-weight: 700;
  font-size: 14px;
  padding-top: 4px;
}
.selector .row .vals { display: flex; flex-wrap: wrap; gap: 8px; }
.selector .row .vals a {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 13px;
  color: var(--text-sub);
  background: #ffffff;
}
.selector .row .vals a:hover, .selector .row .vals a.on {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}
.selector .actions { text-align: center; padding-top: 20px; }

/* ---------- 关于我们 / 图文 ---------- */
.about-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.about-text h2 { font-size: 26px; color: var(--blue-deep); margin-bottom: 14px; }
.about-text p { color: var(--text-sub); margin-bottom: 12px; text-align: justify; }
.about-text .tel-line {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--blue-bg);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-text .tel-line .num { font-size: 26px; font-weight: 700; color: var(--blue); letter-spacing: 1px; }
.about-text .tel-line .tip { font-size: 13px; color: var(--text-sub); }

.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.fact {
  text-align: center;
  padding: 18px 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fact .num { font-size: 28px; font-weight: 700; color: var(--blue); }
.fact .num span { font-size: 14px; margin-left: 2px; }
.fact .label { font-size: 13px; color: var(--text-sub); }

/* ---------- 售后承诺 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-align: center;
  transition: all .25s;
}
.service-item:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(8, 52, 138, .10); }
.service-item .ico {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--blue-bg);
  color: var(--blue);
  font-size: 24px;
  line-height: 54px;
  font-weight: 700;
}
.service-item h4 { font-size: 15px; margin-bottom: 6px; color: var(--blue-deep); }
.service-item p { font-size: 13px; color: var(--text-sub); line-height: 1.6; }

/* ---------- 六大优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  border-top: 3px solid var(--blue);
}
.adv-item h4 {
  font-size: 17px;
  color: var(--blue-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.adv-item h4::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}
.adv-item p { font-size: 13px; color: var(--text-sub); line-height: 1.75; }

/* ---------- 快讯 ---------- */
.news-layout { display: grid; grid-template-columns: 380px 1fr; gap: 26px; }
.news-head {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
}
.news-head img { height: 220px; width: 100%; object-fit: cover; }
.news-head .body { padding: 16px 18px 20px; }
.news-head h3 { font-size: 17px; color: var(--blue-deep); margin-bottom: 8px; line-height: 1.5; }
.news-head p { font-size: 13px; color: var(--text-sub); }
.news-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.news-list li:last-child { border-bottom: 0; }
.news-list .date {
  flex: none;
  width: 56px;
  text-align: center;
  background: var(--blue-bg);
  border-radius: 4px;
  padding: 6px 0;
  color: var(--blue);
}
.news-list .date b { display: block; font-size: 20px; line-height: 1.1; }
.news-list .date i { font-style: normal; font-size: 12px; color: var(--text-sub); }
.news-list .txt h4 { font-size: 15px; font-weight: 400; }
.news-list .txt h4:hover { color: var(--blue); }
.news-list .txt p {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 合作品牌 ---------- */
.brand-wall { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.brand-wall .item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
}
.brand-wall img { width: 100%; height: auto; }

/* ---------- 选型表 ---------- */
.table-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 40px;
  background: #ffffff;
  font-size: 13px;
  color: var(--text-sub);
  cursor: pointer;
  white-space: nowrap;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.on { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.table-tools .count { font-size: 13px; color: var(--text-sub); }
.table-tools .count b { color: var(--blue); font-size: 16px; }

.table-scroll { overflow-x: auto; background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); }
table.ptable { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 1080px; }
table.ptable th {
  background: var(--blue);
  color: #ffffff;
  font-weight: 500;
  padding: 11px 8px;
  white-space: nowrap;
  text-align: left;
}
table.ptable td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  color: var(--text);
}
table.ptable tbody tr:nth-child(even) { background: #fafbfe; }
table.ptable tbody tr:hover { background: var(--blue-bg); }
table.ptable td.model { color: var(--blue); font-weight: 700; }
table.ptable .em { display: inline-block; padding: 1px 7px; border-radius: 3px; font-size: 12px; }
table.ptable .em.g2 { background: #f1f1f1; color: var(--text-sub); }
table.ptable .em.g3 { background: #e2f0e4; color: #2f7a3f; }
table.ptable .empty td { text-align: center; padding: 40px 0; color: var(--text-mute); }

/* ---------- 内页通用 ---------- */
.page-banner {
  height: 220px;
  background: linear-gradient(120deg, var(--blue-deep), var(--blue-light));
  color: #ffffff;
  display: flex;
  align-items: center;
}
.page-banner h1 { font-size: 30px; font-weight: 700; }
.page-banner p { color: #cfdffb; margin-top: 6px; font-size: 14px; }
.crumb { font-size: 13px; color: var(--text-mute); padding: 14px 0; }
.crumb a { color: var(--text-sub); }
.crumb a:hover { color: var(--blue); }
.crumb span { margin: 0 6px; color: #c5cbd6; }

.detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.detail-gallery .main {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-grey);
}
.detail-gallery .main img { width: 100%; }
.detail-gallery .thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.detail-gallery .thumbs img {
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg-grey);
}
.detail-gallery .thumbs img.on { border-color: var(--blue); }
.detail-info h1 { font-size: 24px; color: var(--blue-deep); margin-bottom: 10px; }
.detail-info .sub { color: var(--text-sub); font-size: 13px; margin-bottom: 16px; }
.detail-info .spec { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; }
.detail-info .spec table { width: 100%; border-collapse: collapse; font-size: 13px; }
.detail-info .spec th {
  width: 30%;
  background: var(--bg-grey);
  text-align: left;
  padding: 9px 12px;
  font-weight: 400;
  color: var(--text-sub);
  border-bottom: 1px solid var(--line);
}
.detail-info .spec td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.ask-box {
  background: var(--blue-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ask-box .t { font-size: 15px; color: var(--blue-deep); }
.ask-box .t small { display: block; font-size: 12px; color: var(--text-sub); }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: #ffffff; }
.faq-item .q {
  padding: 14px 18px;
  font-size: 15px;
  cursor: pointer;
  color: var(--blue-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item .q i { font-style: normal; color: var(--blue); font-size: 18px; }
.faq-item .a { padding: 0 18px 16px; font-size: 13px; color: var(--text-sub); display: none; line-height: 1.8; }
.faq-item.on .a { display: block; }

/* ---------- 快速询价表单 ---------- */
.lead-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.lead-form .lf-title {
  font-size: 18px;
  color: var(--blue-deep);
  font-weight: 700;
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.lead-form .lf-title span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-sub);
  margin-top: 4px;
}
.lead-form .lf-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}
.lead-form .lf-grid textarea { grid-column: 1 / -1; min-height: 76px; }
.lead-form input, .lead-form select, .lead-form textarea {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 13px;
  width: 100%;
  background: #fff;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--blue); }
.lead-form button { width: 100%; }
.lead-form .lf-msg { margin-top: 10px; font-size: 13px; min-height: 20px; }
.lead-form .lf-msg.ok { color: #2f7a3f; }
.lead-form .lf-msg.err { color: #c0392b; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- 页脚 ---------- */
.promises { background: var(--blue-bg); border-top: 1px solid #dbe6f8; }
.promises .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 16px; }
.promise { display: flex; align-items: center; gap: 12px; }
.promise .ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--blue);
  line-height: 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  flex: none;
}
.promise b { display: block; font-size: 15px; color: var(--blue-deep); }
.promise span { font-size: 12px; color: var(--text-sub); }

.footer { background: #0c2f6b; color: #b9c9e6; padding: 36px 0 22px; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { color: #ffffff; font-size: 15px; margin-bottom: 12px; font-weight: 500; }
.footer p, .footer li { font-size: 13px; line-height: 2; }
.footer .tel { color: #ffd351; font-size: 20px; font-weight: 700; }
.footer .copy {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 26px;
  padding-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #8ea4ca;
}

/* ---------- 侧边悬浮 ---------- */
.sidebar {
  position: fixed;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar .sitem {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-sub);
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(8, 52, 138, .08);
}
.sidebar .sitem:hover { background: var(--blue); color: #ffffff; border-color: var(--blue); }
.sidebar .sitem b { font-size: 16px; line-height: 1.2; }
.sidebar .sitem.tel { background: var(--blue); color: #ffffff; border-color: var(--blue); }
.sidebar .sitem.tel:hover { background: var(--blue-light); }
.side-card {
  position: fixed;
  right: 84px;
  top: 50%;
  transform: translateY(-50%);
  width: 190px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 22px rgba(8, 52, 138, .14);
  display: none;
  z-index: 810;
  overflow: hidden;
}
.side-card.on { display: block; }
.side-card .hd { background: var(--blue); color: #ffffff; padding: 10px 14px; font-size: 14px; }
.side-card .bd { padding: 12px 14px; font-size: 13px; color: var(--text-sub); }
.side-card .bd p { margin-bottom: 6px; }
.side-card .bd .n { color: var(--blue); font-weight: 700; font-size: 15px; }

.to-top {
  position: fixed;
  right: 12px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  background: rgba(8, 52, 138, .78);
  color: #ffffff;
  border-radius: var(--radius);
  text-align: center;
  line-height: 44px;
  font-size: 18px;
  cursor: pointer;
  z-index: 800;
  display: none;
}
.to-top.on { display: block; }

.tip-bar {
  position: fixed;
  left: 50%;
  top: 90px;
  transform: translateX(-50%);
  background: rgba(8, 52, 138, .92);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 40px;
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.tip-bar.on { opacity: 1; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-wall { grid-template-columns: repeat(4, 1fr); }
  .nav > li > a { padding: 0 11px; font-size: 14px; }
}
@media (max-width: 992px) {
  :root { --header-h: 64px; }
  .topbar { display: none; }
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    max-height: 70vh;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(8, 52, 138, .10);
  }
  .nav.on { display: flex; }
  .nav > li > a { height: auto; line-height: 44px; border-bottom: 1px solid var(--line); padding: 0 16px; }
  .nav > li > a::after { display: none; }
  .subnav, .subnav.cols {
    position: static;
    transform: none;
    display: none;
    width: 100%;
    box-shadow: none;
    border: 0;
    background: var(--bg-grey);
    grid-template-columns: 1fr;
    padding: 4px 0;
  }
  .nav > li.open .subnav { display: block; }
  .banner .slides { height: 320px; }
  .banner h1 { font-size: 24px; }
  .banner p { font-size: 14px; }
  .range-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .about-box, .detail-layout { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .promises .wrap { grid-template-columns: repeat(2, 1fr); }
  .footer .wrap { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .side-card { display: none !important; }
  .section { padding: 36px 0; }
  .section-title h2 { font-size: 22px; }
}
@media (max-width: 640px) {
  .card-grid, .card-grid.c3 { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .banner .slides { height: 260px; }
  .selector { padding: 16px; }
  .selector .row { flex-direction: column; gap: 8px; }
  .selector .row .key { width: auto; }
  .page-banner { height: 150px; }
  .page-banner h1 { font-size: 22px; }
}
