/* ===== 设计体系 ===== */
:root {
  --navy-950: #0E1F4A;
  --navy-900: #1E3678;
  --navy-800: #2A4590;
  --navy-700: #3654A8;
  --accent: #FB923C;
  --accent-dark: #EA7A1E;
  --accent-soft: #FFF2E8;
  --paper: #F5F7F9;
  --line: #E3E8ED;
  --text: #1F2A37;
  --muted: #5C6B7A;
  --white: #FFFFFF;
  --wechat: #07C160;
  --wechat-soft: #E6F8EE;
  --shadow-sm: 0 2px 10px rgba(14, 31, 74, .08);
  --shadow-md: 0 10px 30px rgba(14, 31, 74, .12);
  --radius: 12px;
  --container: 1500px;
  --nav-h: 64px;
  --nav-pad: 1.25rem;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
section[id], footer[id] { scroll-margin-top: 78px; }
img { max-width: 100%; }
.wrap { width: 92%; max-width: var(--container); margin: 0 auto; }

/* 通用标题 */
.sec-head { max-width: 720px; margin-bottom: 2.6rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em;
  color: var(--accent-dark); text-transform: uppercase; margin-bottom: .7rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 6px; background: var(--accent);
  transform: skewX(-30deg);
}
.sec-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 900; color: var(--navy-900); letter-spacing: .01em; line-height: 1.3;
}
.sec-sub { color: var(--muted); margin-top: .7rem; font-size: 1.02rem; }

/* ==========================================================
   按钮（完全独立，不依赖 Bootstrap 的 --bs-btn-* 变量）
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: .72rem 1.5rem;
  background-color: transparent;
  background-image: none;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.btn:focus-visible {
  outline: 3px solid rgba(251, 146, 60, .45);
  outline-offset: 2px;
}

/* 主按钮：橙色实心 */
.btn.btn-brand {
  background-color: #FB923C;
  background-image: linear-gradient(180deg, #FB923C 0%, #F9861F 100%);
  border-color: #FB923C;
  color: #1E3678;
  box-shadow: 0 6px 16px rgba(251, 146, 60, .32);
}
.btn.btn-brand:hover,
.btn.btn-brand:focus {
  background-color: #EA7A1E;
  background-image: linear-gradient(180deg, #F98B2C 0%, #EA7A1E 100%);
  border-color: #EA7A1E;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(234, 122, 30, .38);
  transform: translateY(-1px);
}
.btn.btn-brand:active {
  background-color: #D96D14;
  border-color: #D96D14;
  color: #FFFFFF;
  transform: translateY(0);
}

/* 描边按钮：深色底上的白描边 */
.btn.btn-outline-brand {
  background-color: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .7);
  color: #FFFFFF;
}
.btn.btn-outline-brand:hover,
.btn.btn-outline-brand:focus {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #1E3678;
  transform: translateY(-1px);
}
.btn.btn-outline-brand:active {
  background-color: #F1F4F8;
  border-color: #F1F4F8;
  color: #1E3678;
  transform: translateY(0);
}

/* 大号按钮 */
.btn.btn-lg {
  font-size: 1.06rem;
  padding: .85rem 1.75rem;
  border-radius: 8px;
}

/* ===== 头部导航 ===== */
.site-header {
  position: -webkit-sticky; position: sticky; top: 0; z-index: 1030;
  background: rgba(255,255,255,.97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 22px rgba(14,31,74,.10); }
.nav-inner { display: flex; align-items: center; height: var(--nav-h); gap: 0; }
.brand {
  display: flex; align-items: center; gap: .65rem; flex: 0 0 auto;
  text-decoration: none; color: var(--navy-900); padding-right: 1.5rem;
}
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 40px; background: var(--navy-900);
  color: var(--accent); display: grid; place-items: center; border-radius: 8px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 78% 100%, 0 100%);
}
.brand-text { display: block; }
.brand-name { display: block; font-size: 1.22rem; font-weight: 900; line-height: 1.15; letter-spacing: .02em; color: var(--navy-900); }
.brand-sub { display: block; font-size: .66rem; font-weight: 500; color: var(--muted); letter-spacing: .22em; line-height: 1.2; }
.nav-menu { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; }
.nav-list { display: flex; align-items: stretch; height: 100%; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; display: flex; align-items: stretch; }
.nav-link {
  position: relative; display: flex; align-items: center; height: 100%;
  padding: 0 var(--nav-pad); font-size: 1rem; font-weight: 500; color: var(--text);
  text-decoration: none; white-space: nowrap; cursor: pointer; letter-spacing: .01em;
  transition: color .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent-dark); }
.nav-link::after {
  content: ""; position: absolute; left: var(--nav-pad); right: var(--nav-pad);
  bottom: 0; height: 3px; background: var(--accent);
  -webkit-transform: skewX(-30deg) scaleX(0); transform: skewX(-30deg) scaleX(0);
  -webkit-transform-origin: left center; transform-origin: left center;
  transition: -webkit-transform .25s ease, transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  -webkit-transform: skewX(-30deg) scaleX(1); transform: skewX(-30deg) scaleX(1);
}
.caret {
  display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; margin-left: 6px; margin-top: -4px;
  border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor;
  -webkit-transform: rotate(45deg); transform: rotate(45deg);
  transition: -webkit-transform .25s ease, transform .25s ease, margin-top .25s ease;
}
.has-drop:hover > .nav-link .caret {
  -webkit-transform: rotate(-135deg); transform: rotate(-135deg); margin-top: 4px;
}
.drop-menu { list-style: none; margin: 0; padding: 0; background: #fff; }
.drop-link {
  display: block; padding: .6rem 1.25rem; font-size: .95rem; font-weight: 500;
  color: var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
}
.drop-link:hover, .drop-link:focus {
  background: var(--accent-soft); color: var(--accent-dark); padding-left: 1.5rem;
}
.nav-right {
  display: flex; align-items: center; align-self: stretch; gap: .8rem;
  padding-left: 2rem; margin-left: 1.5rem; border-left: 1px solid var(--line);
}
.nav-tel {
  display: flex; align-items: center; gap: .6rem; padding: 0;
  text-decoration: none; color: var(--navy-900); white-space: nowrap;
}
.tel-ic {
  width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark);
  display: grid; place-items: center;
}
.tel-txt { display: block; line-height: 1.15; }
.tel-txt small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); line-height: 1.2; }
.tel-txt b { font-size: 1.12rem; font-weight: 800; letter-spacing: .02em; color: var(--navy-900); }
.wechat-wrap { position: relative; display: flex; align-items: center; align-self: stretch; }
.wechat-btn {
  width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;

  background: transparent; display: grid; place-items: center; cursor: pointer;
  transition: background-color .25s ease;
}
.wechat-btn:hover, .wechat-btn:focus { background: var(--wechat-soft); outline: none; }
.wechat-btn svg { display: block; }
.wechat-pop {
  position: absolute; top: calc(100% + 10px); right: -8px; width: 178px;
  padding: 12px 12px 10px; background: #fff; border-radius: 12px;
  box-shadow: 0 18px 40px rgba(14,31,74,.18); text-align: center;
  opacity: 0; visibility: hidden; -webkit-transform: translateY(10px); transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  pointer-events: none; z-index: 60;
}
.wechat-pop::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.wechat-qr { display: block; width: 100%; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.wechat-qr svg { display: block; width: 100%; height: auto; }
.wechat-pop p { margin: 8px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.4; }
.wechat-pop p b { color: var(--wechat); }
@media (min-width: 992px) {

  .wechat-wrap:hover .wechat-pop, .wechat-wrap:focus-within .wechat-pop {
    opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  }
}
.wechat-wrap.show .wechat-pop {
  opacity: 1; visibility: visible; -webkit-transform: translateY(0); transform: translateY(0); pointer-events: auto;
}
.nav-toggle {
  display: none; position: relative; width: 40px; height: 40px; flex: 0 0 40px;
  margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px;
  background: var(--navy-900); border-radius: 2px;
  transition: top .3s ease, transform .3s ease, opacity .3s ease;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle.active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }
@media (min-width: 992px) {
  .drop-menu {
    position: absolute; top: 100%; left: 0; min-width: 178px; padding: .5rem 0;
    background: #fff; border: 1px solid var(--line); border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 34px rgba(14,31,74,.14); opacity: 0; visibility: hidden;
    pointer-events: none; -webkit-transform: translateY(10px); transform: translateY(10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease; z-index: 50;
  }
  .drop-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
  .has-drop:hover > .drop-menu, .has-drop:focus-within > .drop-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    -webkit-transform: translateY(0); transform: translateY(0);
  }
}
@media (min-width: 992px) and (max-width: 1439.98px) {
  :root { --nav-pad: .95rem; }
  .nav-link { font-size: .95rem; }
  .brand { padding-right: 1rem; }
  .brand-name { font-size: 1.1rem; }
  .nav-right { padding-left: 1.2rem; margin-left: .8rem; gap: .5rem; }
  .tel-txt small { display: none; }
  .tel-txt b { font-size: 1rem; }
}
@media (min-width: 1440px) { :root { --nav-pad: 1.35rem; } }
@media (min-width: 992px) and (max-width: 1279.98px) {
  :root { --nav-pad: .62rem; }
  .nav-link { font-size: .88rem; letter-spacing: 0; }
  .brand { padding-right: .8rem; }
  .brand-name { font-size: 1rem; }
  .nav-right { padding-left: .8rem; margin-left: .5rem; gap: .4rem; }
  .tel-txt small { display: none; }
  .tel-txt b { font-size: .95rem; }
  .tel-ic { width: 34px; height: 34px; flex: 0 0 34px; }
  .wechat-btn { width: 34px; height: 34px; }
  .wechat-btn svg { width: 22px; height: 22px; }
}
@media (max-width: 991.98px) {
  :root { --nav-h: 56px; --nav-pad: .2rem; }
  .nav-inner { flex-wrap: wrap; height: auto; min-height: var(--nav-h); gap: 0; }
  .brand { padding-right: 0; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: .6rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; flex-direction: column; align-items: stretch; width: 100%;
    height: auto; margin-left: 0; border-top: 1px solid var(--line);
    padding: .4rem 0 1rem; background: #fff;
  }
  .nav-menu.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; height: auto; }
  .nav-item { display: block; position: relative; }
  .nav-link {
    height: auto; padding: .85rem .2rem; justify-content: space-between;
    align-items: center; font-size: 1rem; border-bottom: 1px solid var(--line);
  }
  .nav-link::after { display: none; }
  .nav-list > .nav-item:last-child > .nav-link { border-bottom: 0; }
  .caret { margin-top: 0; margin-left: auto; }
  .has-drop.open > .nav-link .caret {
    -webkit-transform: rotate(-135deg); transform: rotate(-135deg); margin-top: 4px;
  }
  .drop-menu {
    position: static; display: none; width: 100%; min-width: 0;
    padding: .2rem 0 .5rem .6rem; background: var(--paper); border: 0;
    border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-drop.open > .drop-menu { display: block; }
  .drop-link {
    padding: .6rem 1rem; font-size: .95rem; border-bottom: 1px dashed var(--line);
  }
  .drop-menu li:last-child .drop-link { border-bottom: 0; }
  .nav-right {
    flex-direction: column; align-items: stretch; align-self: auto; gap: .8rem;
    padding-left: 0; margin-left: 0; border-left: 0; margin-top: .9rem;
  }
  .nav-tel { padding: .2rem 0; }
  .tel-txt small { font-size: .72rem; }
  .tel-txt b { font-size: 1.05rem; }
  .wechat-wrap { align-self: flex-start; }
  .wechat-pop { right: auto; left: 0; top: calc(100% + 12px); }
  .wechat-pop::before { display: none; }
}

/* 通用区块 */
.section { padding-block: 4.6rem; }
.section.paper { background: var(--paper); }

/* 页脚 */
.footer { background: var(--navy-950); color: rgba(255,255,255,.75); font-size: .9rem; }
.footer a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--accent); }
.footer-top { padding: 3.6rem 0 2.4rem; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr .85fr .85fr .85fr 1.35fr;
  gap: 2rem; align-items: start;
}
.f-title {
  color: #fff; font-weight: 800; font-size: 1.02rem; margin-bottom: 1.05rem;
  display: flex; align-items: center; gap: .5rem;
}
.f-title::before {
  content: ""; width: 14px; height: 14px; background: var(--accent);
  transform: rotate(45deg); flex: 0 0 14px;
}
.f-about-desc { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.65); margin-bottom: 1.1rem; }
.f-cert {
  display: block; width: 100%; max-width: 360px; min-height: 120px;
  border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, rgba(251,146,60,.18) 0%, rgba(255,255,255,.05) 100%);
  border: 1px solid rgba(251,146,60,.35);
  transition: border-color .25s ease;
}
.f-cert:hover { border-color: rgba(251,146,60,.8); }
.f-cert svg, .f-cert img { display: block; width: 100%; height: auto; }
.f-nav { list-style: none; margin: 0; padding: 0; }
.f-nav li { margin-bottom: .55rem; }
.f-nav a { font-size: .9rem; }
.f-contact { display: flex; flex-direction: column; gap: 1rem; }
.f-line {
  display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem;
  line-height: 1.6; color: rgba(255,255,255,.72);
}
.f-line .f-ic {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: .18em;
  color: var(--accent); display: grid; place-items: center;
}
.f-line .f-ic svg { display: block; }
.f-tel-big {
  display: inline-flex; align-items: center; gap: .55rem; font-size: 1.55rem;
  font-weight: 900; color: var(--accent) !important; text-decoration: none; letter-spacing: .02em;
  line-height: 1.15; transition: color .2s ease;
}
.f-tel-big:hover { color: #fff !important; }
.f-tel-big .f-ic { width: 26px; height: 26px; margin-top: 0; }
.f-qr-block { display: flex; align-items: center; gap: .8rem; margin-top: .3rem; }
.f-qr {
  flex: 0 0 auto; width: 110px; height: 110px; padding: 4px;
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.f-qr svg, .f-qr img { display: block; width: 100%; height: 100%; }
.f-qr-text { font-size: .85rem; color: rgba(255,255,255,.72); line-height: 1.5; }
.f-qr-text b { display: block; color: var(--wechat); font-size: .92rem; margin-bottom: .2rem; }
.f-city-section { margin-top: 2.8rem; padding-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.1); }
.f-city-section .f-title { margin-bottom: 1.2rem; }
.f-city-row {
  display: flex; align-items: flex-start; gap: 1rem; padding: .55rem 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.f-city-row:last-child { border-bottom: 0; }
.f-city-label {
  flex: 0 0 auto; padding: .22rem .85rem; background: var(--accent);
  color: #1E3678; font-size: .78rem; font-weight: 800; border-radius: 4px;
  transform: skewX(-8deg); line-height: 1.6;
}
.f-city-label span { display: inline-block; transform: skewX(8deg); }
.f-city-list {
  display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding-top: .25rem;
  flex: 1 1 auto; min-width: 0;
}
.f-city-list a { font-size: .86rem; color: rgba(255,255,255,.68); white-space: nowrap; }
.f-city-list a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0;
  font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer-bottom .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .8rem 1.6rem;
}
.footer-bottom-left { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; }
.footer-bottom-right { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; }
.footer-bottom-right .sep { color: rgba(255,255,255,.28); }
.footer-bottom-right a { color: rgba(255,255,255,.75); }
.footer-bottom-right a:hover { color: var(--accent); }
@media (max-width: 1199.98px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
  .f-col-about { grid-column: 1 / -1; }
  .f-cert { max-width: 300px; }
}
@media (max-width: 991.98px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1.6rem; }
  .f-col-about { grid-column: 1 / -1; }
  .f-col-contact { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 1.2rem .9rem; }
  .f-col-about { grid-column: 1 / -1; }
  .f-col-contact { grid-column: 1 / -1; }
  .f-title { font-size: .86rem; margin-bottom: .8rem; gap: .38rem; }
  .f-title::before { width: 10px; height: 10px; flex: 0 0 10px; }
  .f-nav li { margin-bottom: .4rem; }
  .f-nav a { font-size: .78rem; line-height: 1.5; }
  .f-about-desc { font-size: .82rem; }
  .f-cert { max-width: 100%; }
  .f-tel-big { font-size: 1.3rem; }
  .f-qr { width: 100px; height: 100px; }
  .f-qr-text { font-size: .78rem; }
  .f-qr-text b { font-size: .85rem; }
  .f-city-row { flex-direction: column; gap: .5rem; }
  .f-city-list { padding-top: 0; gap: .35rem .85rem; }
  .f-city-list a { font-size: .82rem; }
  .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
}

/* 右侧悬浮工具栏 */
.side-bar {
  position: fixed; right: 0; bottom: 80px; top: auto; transform: none; z-index: 1040;
  display: flex; flex-direction: column; box-shadow: 0 6px 22px rgba(14,31,74,.16);
  border-radius: 10px 0 0 10px; overflow: visible;
}
.side-btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background-color: #FB923C;
  background-image: linear-gradient(180deg, #FB923C 0%, #F9861F 100%);
  color: #fff; border: 0;
  border-bottom: 1px solid rgba(255,255,255,.18); cursor: pointer; padding: 0;
  text-decoration: none; font-family: inherit; transition: background .2s ease;
}
.side-btn:last-child { border-bottom: 0; border-radius: 0 0 0 10px; }
.side-btn:first-child { border-radius: 10px 0 0 0; }
.side-btn:hover, .side-btn:focus {
  background-color: #EA7A1E;
  background-image: linear-gradient(180deg, #F98B2C 0%, #EA7A1E 100%);
  color: #fff; outline: none;
}
.side-btn svg { display: block; transition: transform .25s ease; }
.side-btn:hover svg { transform: scale(1.08); }
.side-top { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease, background .2s ease; }
.side-top.show { opacity: 1; visibility: visible; }
.side-tel-pop {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px); background: #fff; color: var(--navy-900);
  font-size: 1.02rem; font-weight: 800; letter-spacing: .02em; padding: .7rem 1.1rem;
  border-radius: 8px; white-space: nowrap; box-shadow: 0 10px 26px rgba(14,31,74,.2);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.side-tel-pop::after {
  content: ""; position: absolute; left: 100%; top: 50%; transform: translateY(-50%);
  border: 7px solid transparent; border-left-color: #fff;
}
.side-tel:hover .side-tel-pop {
  opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0);
}
.side-msg::after {
  content: ""; position: absolute; top: 8px; right: 8px; width: 9px; height: 9px;
  background: #E63946; border: 2px solid var(--accent); border-radius: 50%;
  animation: sidePulse 1.6s infinite;
}
@keyframes sidePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,.6); }
  50% { box-shadow: 0 0 0 5px rgba(230,57,70,0); }
}

/* 在线留言弹窗 */
.msg-popup {
  position: fixed; right: 76px; bottom: 80px; top: auto; transform: translateX(20px);
  width: 340px; background: #fff; border-radius: 12px;
  box-shadow: 0 24px 60px rgba(14,31,74,.28); z-index: 1045;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  overflow: hidden; font-family: var(--font);
}
.msg-popup.show {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(0);
}
.msg-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.1rem; background: #262626; color: #fff;
  font-size: .96rem; font-weight: 600; letter-spacing: .02em;
}
.msg-close {
  width: 26px; height: 26px; border: 0; background: rgba(255,255,255,.14); color: #fff;
  border-radius: 50%; cursor: pointer; display: grid; place-items: center;
  font-size: 1rem; line-height: 1; padding: 0; transition: background .2s;
}
.msg-close:hover { background: rgba(255,255,255,.32); }
.msg-body { padding: 1.2rem 1.25rem 1.35rem; }
.msg-body h3 { font-size: 1.12rem; font-weight: 800; color: var(--navy-900); margin: 0 0 .5rem; line-height: 1.35; }
.msg-status { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: var(--muted); margin-bottom: 1rem; }
.msg-status .dot { width: 8px; height: 8px; background: #2BB673; border-radius: 50%; animation: msgPulse 1.8s infinite; }
@keyframes msgPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(43,182,115,.6); }
  50% { box-shadow: 0 0 0 6px rgba(43,182,115,0); }
}
.msg-info p { margin: 0 0 .5rem; font-size: .92rem; color: var(--text); line-height: 1.6; }
.msg-info p strong { display: inline-block; min-width: 5.6em; color: var(--navy-900); font-weight: 800; }
.msg-info p a.red { color: #E63946; font-weight: 800; font-size: 1.06rem; letter-spacing: .01em; text-decoration: none; transition: color .2s; }
.msg-info p a.red:hover { color: #C92A36; }
.msg-tip { font-size: .85rem; color: var(--muted); margin: .85rem 0 .8rem; line-height: 1.6; }
.msg-form textarea, .msg-form input {
  width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: .7rem .85rem;
  font-size: .88rem; font-family: inherit; color: var(--text); margin-bottom: .7rem;
  resize: vertical; transition: border-color .2s, box-shadow .2s; background: #fff; display: block;
}
.msg-form textarea:focus, .msg-form input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 .18rem rgba(251,146,60,.14);
}
.msg-form textarea { min-height: 78px; }
.msg-form button[type="submit"] {
  width: 100%; background-color: #E63946; background-image: linear-gradient(180deg, #E63946 0%, #D62F3C 100%);
  color: #fff; border: 0; border-radius: 6px;
  padding: .85rem; font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: background .2s; letter-spacing: .06em; font-family: inherit;
}
.msg-form button[type="submit"]:hover {
  background-color: #C92A36;
  background-image: linear-gradient(180deg, #D62F3C 0%, #C92A36 100%);
}
@media (max-width: 767.98px) {
  .side-bar { top: auto; bottom: 90px; transform: none; }
  .side-btn { width: 46px; height: 46px; }
  .side-btn svg { width: 22px; height: 22px; }
  .side-tel-pop { display: none; }
  .msg-popup {
    right: 8px; left: 8px; top: auto; bottom: 8px; width: auto; max-height: 85vh;
    overflow-y: auto; transform: translateY(24px);
  }
  .msg-popup.show { transform: translateY(0); }
  .msg-body { padding: 1rem 1.1rem 1.15rem; }
  .msg-body h3 { font-size: 1.05rem; }
}

/* 滚动显现（已关闭：内容直接显示） */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* ==========================================================
   内页专用：加固知识
   ========================================================== */

.page-hero {
  position: relative;
  padding: 4rem 0 3.6rem;
  color: #fff;
  overflow: hidden;
  background-color: #1E3678;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #1E3678;
  background-image:
    radial-gradient(120% 130% at 88% 6%, rgba(251, 146, 60, .30) 0%, rgba(251, 146, 60, 0) 52%),
    radial-gradient(95% 115% at 6% 96%, rgba(54, 84, 168, .70) 0%, rgba(54, 84, 168, 0) 62%),
    linear-gradient(100deg, #0E1F4A 0%, #1E3678 46%, #2A4590 100%);
}
.page-hero-bg::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: 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.12) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.12) 100%);
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 15px, rgba(255, 255, 255, .03) 15px 16px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.25;
  letter-spacing: .01em; margin: 0 0 .8rem; text-shadow: 0 2px 16px rgba(0,0,0,.32);
}
.page-hero p {
  color: rgba(255,255,255,.88); font-size: 1.1rem; margin: 0 0 1.6rem; max-width: 820px; line-height: 1.8;
}
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--line); padding: .85rem 0; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  font-size: .9rem; color: var(--muted); margin: 0; list-style: none; padding: 0;
}
.breadcrumb a { color: var(--navy-800); text-decoration: none; font-weight: 500; transition: color .2s ease; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { color: #C7D0DA; }
.breadcrumb .cur { color: var(--accent-dark); font-weight: 700; }

/* 知识卡片网格（每行2列） */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin: 2rem 0 1rem;
}
.knowledge-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem 1.7rem;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
  box-shadow: var(--shadow-sm);
}
.knowledge-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(251,146,60,.5);
  transform: translateY(-3px);
}
.knowledge-card h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 .7rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knowledge-card .kc-summary {
  font-size: .96rem;
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.knowledge-card .kc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
  font-size: .84rem;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: .8rem;
}
.knowledge-card .kc-meta .read-more {
  margin-left: auto;
  color: var(--accent-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.knowledge-card .kc-meta .read-more svg {
  transition: transform .2s ease;
}
.knowledge-card:hover .kc-meta .read-more svg {
  transform: translateX(3px);
}

/* 空状态 */
.empty-tip {
  grid-column: 1 / -1;
  padding: 4rem 1rem;
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
}

/* 分页 */
.pagination-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-top: 2.8rem;
}
.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .6rem;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  transition: all .2s ease;
}
.pagination-wrap a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-color: var(--accent);
}
.pagination-wrap .current {
  background: var(--navy-900);
  color: #fff;
  border-color: var(--navy-900);
}
.pagination-wrap .disabled {
  color: #B6BFC9;
  background: #F7F9FB;
  border-color: var(--line);
  cursor: not-allowed;
}
.pagination-wrap .dots {
  color: #B6BFC9;
  border: 0;
  background: transparent;
  min-width: auto;
  padding: 0 .2rem;
  font-weight: 400;
}

@media (max-width: 991.98px) {
  .knowledge-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 575.98px) {
  .knowledge-card { padding: 1.2rem 1.2rem; }
  .knowledge-card h2 { font-size: 1.05rem; }
  .knowledge-card .kc-summary { font-size: .9rem; }
}

/* 底部 CTA */
.cta-band {
  position: relative; background-color: #1E3678; color: #fff;
  padding-block: 3.2rem; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(110% 140% at 92% 0%, rgba(251,146,60,.22) 0%, rgba(251,146,60,0) 55%),
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255,255,255,.035) 26px 28px);
}
.cta-band .wrap {
  position: relative; z-index: 2; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.6rem;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 900; margin: 0 0 .45rem; line-height: 1.35; }
.cta-band h2 .hl { color: var(--accent); }
.cta-band p { margin: 0; color: rgba(255,255,255,.80); font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 991.98px) { .cta-band .wrap { flex-direction: column; align-items: flex-start; } }
@media (max-width: 575.98px) {
  .cta-band { padding-block: 2.4rem; }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .cta-actions .btn { flex: 1 1 auto; font-size: .9rem; padding: .68rem 1.05rem; }
}

/* ==========================================================
   在线留言表单：行内校验提示（新增）
   ========================================================== */

/* 每个字段的包裹容器（如果表单里没有 .msg-field，JS 会动态创建提示，不影响下面逻辑） */
.msg-form .msg-field {
  position: relative;
  margin-bottom: .7rem;
}

/* .msg-field 内的控件：去掉原有 margin-bottom，避免与外层间距重复 */
.msg-form .msg-field textarea,
.msg-form .msg-field input {
  margin-bottom: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

/* 错误状态：输入框变红、浅红底 */
.msg-form .msg-field.has-error textarea,
.msg-form .msg-field.has-error input {
  border-color: #E63946;
  background-color: #FFF7F7;
}
.msg-form .msg-field.has-error textarea:focus,
.msg-form .msg-field.has-error input:focus {
  border-color: #E63946;
  box-shadow: 0 0 0 .18rem rgba(230,57,70,.16);
}

/* 通过状态：输入框变绿 */
.msg-form .msg-field.has-success textarea,
.msg-form .msg-field.has-success input {
  border-color: #2BB673;
}

/* 提示文字：默认隐藏，由 JS 通过 .has-error 或 .show 类显示 */
.msg-form .msg-error {
  display: none;
  margin-top: .35rem;
  font-size: .78rem;
  color: #E63946;
  line-height: 1.4;
  text-align: left;
}

/* 有 .msg-field 包装时，父级 .has-error 触发显示 */
.msg-form .msg-field.has-error .msg-error {
  display: block;
}

/* 无 .msg-field 包装时，JS 会给提示元素加 .show 类，同样能显示 */
.msg-form .msg-error.show {
  display: block;
}

/* 移动端字号略小，避免撑高弹窗 */
@media (max-width: 767.98px) {
  .msg-form .msg-error {
    font-size: .74rem;
  }
}