@charset "UTF-8";
/* ============================================================
   common.css —— 全站公共样式（头部 / 页脚 / 通用标题 / 提示框）
   页面专属样式见同目录下的 index.css（首页）等页面级样式文件
   ============================================================ */

/* ---------- 重置 ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; border: 0; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; color: inherit; }

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

/* ---------- 变量 ---------- */
:root {
  --blue: #2f6bf6;
  --blue-2: #4a86f8;
  --blue-deep: #1a4fd0;
  --blue-ink: #1f5cf5;
  --red: #e60012;
  --red-2: #ff3b30;

  --ink: #1a1a1a;
  --text: #3d3d3d;
  --muted: #666;
  --line: #eceff5;
  --soft: #f5f8fd;

  --wrap: 1240px;
  --hdr-h: 96px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 内容区：视口 ≥1240 时正文宽度正好 1200 */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 图标精灵 ---------- */
.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- 可访问性：只给读屏和搜索引擎看的标题 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ic {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -.125em;
  fill: currentColor;
}

.ic--line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   通用区块标题（下方蓝红双色短线）
   ============================================================ */
/* 用 h2 承载（每页只有一个 h1），视觉由类名控制，故清掉 h2 默认外边距 */
.sec-title {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1px;
  color: var(--ink);
  text-align: center;
}

/* 标题下的蓝红短线：图片 img/Group 1381@2x.png，由 HTML 里的 <i class="sec-line"> 承载 */
.sec-line {
  display: block;
  width: 118px;
  height: 4px;
  margin: 16px auto 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.sec-title--left .sec-line { margin-left: 0; }

.sec-title--left { text-align: left; }

.sec-title--light { color: #fff; }

.sec-title--sm { font-size: 28px; }

/* 无下划线（如“友情链接”）：标题内不放 .sec-line 即可 */

.sec-sub {
  margin-top: 18px;
  font-size: 16px;
  color: #333;
  text-align: center;
}

.sec-sub--light { color: rgba(255, 255, 255, .95); }

/* ============================================================
   头部
   ============================================================ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #F9FAFF;
}

/* 三栏网格：左 logo / 中 导航（始终容器居中）/ 右 电话 */
.hdr-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 36px;
  height: var(--hdr-h);
}

/* ---------- Logo ---------- */
/* 站点名称用 h1 承载（SEO 唯一主标题），视觉完全交给 .logo */
.logo-h1 {
  flex: none;
  justify-self: start;
  margin: 0;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
  width: 100px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.logo-mark {
  display: flex;
  align-items: flex-start;
}

.logo-r,
.logo-b {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 33px;
  height: 58px;
  padding-top: 3px;
  font-size: 21px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.logo-r { background: var(--red); }

.logo-b {
  width: 35px;
  height: 62px;
  margin-left: -2px;
  background: #2b6bf3;
}

.logo-word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-word b {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #111;
}

.logo-word em {
  margin-top: 4px;
  font-size: 7.5px;
  font-style: normal;
  letter-spacing: 2.6px;
  color: #111;
}

/* 后台 Logo 图片：等比缩放 */
.logo-img {
  display: block;
  width: auto;
  max-width: 280px;
  height: 58px;
}

/* ---------- 导航 ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 44px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--hdr-h);
  font-size: 18px;
  color: #1a1a1a;
  transition: color .25s var(--ease);
}

.nav a:hover { color: var(--blue); }

.nav a.on { color: var(--blue); }

/* 当前项在头部底边下的蓝色小横条 */
.nav a.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 62px;
  height: 4px;
  margin-left: -31px;
  border-radius: 2px;
  background: var(--blue-2);
}

/* ---------- 头部电话 ---------- */
.hdr-tel {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  flex: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--red);
}

/* 电话图标用背景图输出，不用 img 标签 */
.hdr-tel-ic {
  display: block;
  flex: none;
  width: 30px;
  height: 30px;
  font-style: normal;
  background: url(../img/icon-phone.png) center / contain no-repeat;
}

/* ---------- 移动端菜单按钮 ---------- */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  color: #1a1a1a;
}

.nav-toggle .ic { width: 26px; height: 26px; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-menu { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }

/* 抽屉内的标题栏、关闭按钮、标签行与底部咨询块：仅移动端可见 */
.nav-top,
.nav-close,
.nav-tags,
.nav-foot {
  display: none;
}

/* ============================================================
   面包屑（内页公共：列表页 / 详情页）
   ============================================================ */
.crumb-bar {
  padding: 26px 0 4px;
  background: #fff;
}

.crumb {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.crumb a {
  color: #7b8290;
  transition: color .25s var(--ease);
}

.crumb a:hover { color: var(--blue); }

.crumb-sep {
  padding: 0 9px;
  color: #b9c0cc;
}

.crumb-now {
  color: var(--ink);
}

/* ============================================================
   友情链接（全站公共模块，首页 / 列表页共用）
   ============================================================ */
.links { padding: 0 0 78px; background: #fff; }

/* 标题右侧小图标：图片由 HTML 行内 background-image 传入 */
.links-mark {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-left: 14px;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.links-list {
  margin-top: 24px;
  font-size: 15px;
  line-height: 2.9;
  color: #555;
}

/* 链接默认同正文色，hover 统一变蓝（含「网站地图」，不再单独变红） */
.links-list a { white-space: nowrap; transition: color .25s var(--ease); }
.links-list a:hover { color: var(--blue); }
.links-sep { padding: 0 16px; color: #d4d4d4; }

/* ============================================================
   页脚
   ============================================================ */
.ftr {
  padding-top: 54px;
  background: #F9FAFF;
}

.ftr-in {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 56px;
  padding-bottom: 46px;
}

/* 页脚 logo：img 标签，等比缩放 */
.ftr-logo-link {
  display: block;
  flex: none;
  max-width: 100%;
}

.ftr-logo {
  display: block;
  height: 70px;
  width: auto;
  max-width: 100%;
}

/* Logo 与公司名同一行 */
.ftr-row-logo {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.ftr-co {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.ftr-addr {
  margin-top: 14px;
  font-size: 17px;
  color: #333;
}

.ftr-qr { text-align: center; }

.ftr-qr img {
  width: 132px;
  height: 132px;
  border: 1px solid #eef1f6;
  border-radius: 6px;
}

.ftr-qr span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: #555;
}

.ftr-tel { font-size: 17px; }

.ftr-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 19px;
  font-weight: 600;
  color: #111;
}

/* “24” 用切图 Group 999@2x（45×48 @2x → 23×24） */
.ftr-online .h24 {
  display: inline-block;
  flex: none;
  width: 26px;
  height: 28px;
  margin: 0 4px;
  vertical-align: -6px;
  background: center / contain no-repeat;
}

.ftr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: #111;
}

/* 电话/微信默认与正文同色，鼠标移到该行才变色 */
.ftr-row .tel {
  font-size: 18px;
  color: #111;
  letter-spacing: .4px;
  transition: color .25s var(--ease);
}

.ftr-row:hover .tel { color: var(--blue); }

/* 复制按钮默认隐藏，行内 hover 或键盘聚焦时才出现 */
.btn-copy {
  padding: 1px 10px;
  font-size: 15px;
  color: var(--blue);
  border: 1px solid #b9cdfb;
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              opacity .2s var(--ease), visibility .2s var(--ease);
}

.ftr-row:hover .btn-copy,
.btn-copy:focus-visible {
  opacity: 1;
  visibility: visible;
}

.btn-copy:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

/* 触屏没有 hover，直接常显 */
@media (hover: none) {
  .btn-copy { opacity: 1; visibility: visible; }
}

.copyright {
  padding: 22px 0;
  font-size: 13px;
  line-height: 2;
  color: #999;
  text-align: center;
  background: #f3f3f6;
}

/* 备案号 / 公安网备链接：保持与版权文字同色，hover 变蓝 */
.copyright a {
  color: inherit;
  transition: color .25s var(--ease);
}

.copyright a:hover { color: var(--blue); }

/* ============================================================
   复制成功提示
   ============================================================ */
.toast {
  position: fixed;
  left: 50%;
  top: 34%;
  z-index: 99;
  width: 520px;
  max-width: calc(100% - 40px);
  padding: 28px 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(18, 40, 90, .22);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -10px) scale(.97);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}

.toast.on {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}

.toast-h {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
}

.toast-h .ic { width: 24px; height: 24px; color: #07c160; }

/* 只显示本次复制的那条内容 */
.toast-val {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--blue);
}

/* ============================================================
   响应式：公共部分
   ============================================================ */
@media (max-width: 1200px) {
  .nav { gap: 30px; }
  .hdr-in { gap: 26px; }
  .nav a { font-size: 17px; }
  .logo-img { height: 52px; max-width: 240px; }
  .hdr-tel { font-size: 16px; }
  .hdr-tel span { white-space: nowrap; }
}

@media (max-width: 992px) {
  :root { --hdr-h: 76px; }

  /* 移动端导航改为抽屉，头部回到单行左右分布 */
  .hdr-in {
    display: flex;
    gap: 16px;
  }
  .nav-toggle { display: flex; order: 3; margin-left: 10px; }

  /* 移动端电话：排在菜单按钮左侧，左图标右号码 */
  .hdr-tel {
    order: 2;
    margin-left: auto;
    gap: 7px;
    font-size: 15px;
  }

  /* 移动端导航：点击后整页覆盖的全屏抽屉 */
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-self: stretch;
    margin: 0;
    padding: 0 18px 26px;
    border: 0;
    gap: 0;
    background: #F9FAFF;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    counter-reset: nv;
    transition: opacity .22s var(--ease), visibility .22s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav::-webkit-scrollbar { display: none; }

  /* 抽屉打开时锁住页面滚动 */
  .nav-open {
    overflow: hidden;
  }

  /* ---------- 抽屉顶部品牌条 ---------- */
  .nav-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    height: 76px;
    padding: 0 2px;
  }

  .nav-top-t {
    display: flex;
    flex-direction: column;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ink);
  }

  .nav-top-t em {
    margin-top: 4px;
    font-size: 9px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 2.4px;
    color: #a3aab8;
  }

  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(24, 44, 96, .08);
    transition: background-color .25s var(--ease), color .25s var(--ease);
  }

  .nav-close:active {
    background: #eef2fb;
    color: var(--blue);
  }

  .nav-close .ic { width: 22px; height: 22px; }

  /* ---------- 栏目：编号卡片 ---------- */
  .nav a {
    display: flex;
    align-items: center;
    gap: 14px;
    height: auto;
    margin-top: 12px;
    padding: 0 18px;
    min-height: 74px;
    font-size: 17.5px;
    font-weight: 500;
    color: #23262d;
    border: 1px solid #edf0f6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(28, 50, 100, .04);
    counter-increment: nv;
    transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  }

  /* 左侧序号 */
  .nav a::before {
    content: counter(nv, decimal-leading-zero);
    flex: none;
    width: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #c2cad9;
  }

  /* 右侧箭头 */
  .nav a::after {
    content: "";
    flex: none;
    margin-left: auto;
    width: 7px;
    height: 7px;
    border-top: 1.6px solid #ccd3e0;
    border-right: 1.6px solid #ccd3e0;
    border-radius: 1px;
    transform: rotate(45deg);
    transition: border-color .25s var(--ease);
  }

  .nav a:active {
    background: #f4f7ff;
    border-color: #dbe5fb;
  }

  .nav a.on {
    color: var(--blue);
    border-color: #d8e4ff;
    background: #edf3ff;
  }

  .nav a.on::before { color: #8fb0f2; }

  /* 当前项箭头保持右对齐（覆盖桌面端那条下划线的定位） */
  .nav a.on::after {
    position: static;
    left: auto;
    bottom: auto;
    width: 7px;
    height: 7px;
    margin-left: auto;
    border-radius: 1px;
    background: none;
    border-color: var(--blue);
  }

  /* ---------- 服务标签 ---------- */
  .nav-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 28px;
  }

  .nav-tags span {
    padding: 6px 12px;
    border-radius: 14px;
    background: #eef2fb;
    color: #6b7690;
    font-size: 12px;
    line-height: 1;
    letter-spacing: .3px;
  }

  /* ---------- 抽屉底部：电话咨询 ---------- */
  .nav-foot {
    display: block;
    margin-top: 26px;
    padding-top: 0;
  }

  .nav .nav-tel {
    counter-increment: none;
    gap: 10px;
    justify-content: center;
    height: 54px;
    min-height: 54px;
    padding: 0 18px;
    border-color: transparent;
    border-radius: 27px;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 22px rgba(47, 107, 246, .26);
    transition: background-color .25s var(--ease);
  }

  .nav-tel::before,
  .nav-tel::after {
    content: none;
    display: none;
  }

  .nav-tel span {
    font-size: 14px;
    opacity: .82;
  }

  .nav-tel b {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
  }

  .nav-tel:active { background: var(--blue-deep); }

  .nav-addr {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    color: #a0a7b5;
  }

  .hdr-tel { font-size: 16px; }
  .hdr-tel-ic { width: 24px; height: 24px; }
  .logo-r { height: 48px; width: 27px; font-size: 17px; }
  .logo-b { height: 52px; width: 29px; font-size: 17px; }
  .logo-word b { font-size: 23px; }
  .logo-img { height: 46px; max-width: 210px; }

  .sec-title { font-size: 34px; }
  .sec-title--sm { font-size: 28px; }
  .sec-sub { font-size: 14px; }

  .links { padding-bottom: 56px; }
  .links-list { font-size: 15px; line-height: 2.6; }
  .links-sep { padding: 0 10px; }

  .crumb-bar { padding-top: 20px; }
  .crumb { font-size: 14px; }

  .ftr-in {
    grid-template-columns: 1fr auto;
    gap: 32px;
  }

  .ftr-tel { grid-column: 1 / -1; }
}

/* 平板宽度下抽屉内容居中收窄，避免卡片拉得过空 */
@media (min-width: 641px) and (max-width: 992px) {
  .nav {
    align-items: center;
    padding-left: 24px;
    padding-right: 24px;
  }

  .nav > * {
    width: 100%;
    max-width: 600px;
  }
}

/* 矮屏（如 360×640）压缩条目高度，尽量一屏放完 */
@media (max-width: 992px) and (max-height: 700px) {
  .nav-top { height: 64px; }
  .nav a { min-height: 58px; margin-top: 10px; font-size: 16.5px; }
  .nav-tags { padding-top: 16px; }
  .nav-foot { margin-top: 16px; }
  .nav-tel { height: 50px; min-height: 50px; }
}

@media (max-width: 640px) {
  .sec-title { font-size: 22px; }
  .sec-line { width: 150px; height: 3px; }
  .sec-title--sm { font-size: 23px; }

  .hdr-tel { display: flex; font-size: 14px; gap: 6px; }
  .hdr-tel span { white-space: nowrap; }
  .hdr-tel-ic { width: 20px; height: 20px; }

  .links-list { font-size: 14px; }

  .ftr-in { grid-template-columns: 1fr; }
  .ftr-qr { text-align: center; }
  .ftr-co { font-size: 20px; }
  .copyright { font-size: 13px; }
  .toast { padding: 22px 20px; }
  .toast-h { font-size: 19px; }
  .toast-val { font-size: 18px; }

  /* 移动端：logo 限定高度等比缩放，二维码 50% 宽居中 */
  .ftr-logo-link { max-width: 100%; margin: auto}
  .ftr-logo { height: 56px; width: auto; max-width: 100%; }
  .ftr-qr img { width: 50%; height: auto; margin: 0 auto; }

  /* 全天 24 小时服务整行居中（含中间的 24 图标） */
  .ftr-online { justify-content: center; }

  /* 电话、微信两行整行居中 */
  .ftr-row { justify-content: center; gap: 8px; }

  /* 复制按钮在移动端略小一号 */
  .btn-copy {
    padding: 0 6px;
    font-size: 12px;
    line-height: 1.7;
    border-radius: 3px;
  }
  .ftr-addr {
    margin-top: 14px;
    font-size: 14px;
    color: #333;
    text-align: center;
  }
  .ftr-tel,.ftr-row .tel {
    font-size: 14px;
  }
}

/* 404 页面样式见 404.css（.e404-*） */

