/* ============================================
   common.css - 全站公共样式
   包含：重置、字体、导航、页脚、面包屑、分页、浮动客服
   ============================================ */

/* ========== 重置 ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100px;
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

a:hover {
  color: #005b8c;
}

img {
  max-width: 100%;
  display: block;
}




ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ========== 容器 ========== */
.container {
  width: 100%;
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0 0.2rem;
}

/* ========== 顶部信息条 ========== */
.top-bar {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  font-size: 13px;
  color: #666;
}

.top-inner {
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 0.45rem;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.top-left .top-icon {
  width: 0.16rem;
  height: 0.16rem;
  border: 1px solid #999;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.top-right a {
  font-size: 13px;
  color: #666;
}

.top-right a:hover {
  color: #005b8c;
}

/* ========== Logo + 分割线 ========== */
.header-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0;
}

/* 移动端隐藏指定元素（默认断点768px，可根据需要调整） */




.logo-bar {
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0.18rem 0.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.logo-text {
  font-size: 0.28rem;
  font-weight: 900;
  color: #1a3a5c;
  letter-spacing: 0.02rem;
}

.logo-slogan {
  font-size: 0.2rem;
  color: #0a0a0a;
  border-left: 2px solid #f5b400;
  padding-left: 0.1rem;
  margin-left: 0.1rem;
  font-weight: 500;
  
}



.logo-contact {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.logo-contact-item {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  font-size: 0.16rem;
  color: #555;
}

.logo-contact-item i {
  color: #005b8c;
  font-size: 0.2rem;
}

.logo-img {
  max-width: 100%;
  display: block;
  height:56px;
}

.logo-shimingimg
 {
  max-width: 100%;
  display: block;
  height:16px;
}


/* ========== 导航条 ========== */
.nav-bar {
/*  background: #1a3a5c;*/
 /* position: sticky;*/
  top: 0;
  z-index: 1000;
}

.nav-inner {
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
 display: block;
  padding: 0 0.22rem;
  height: 0.45rem;
  line-height: 0.45rem;
  color: #000;                 /* 默认黑色字体 */
  font-size: 0.16rem;
  font-weight: 400;            /* 默认不加粗 */
  transition: all 0.25s ease;
  white-space: nowrap;
  position: relative;          /* 给下划线定位用 */
}

/* hover：字体加粗 */
.nav-list > li > a:hover {
  font-weight: 700;
}

/* hover：字体加粗 + 底部蓝色下划线 */
.nav-list > li > a:hover::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  right: 0.22rem;
  bottom: 0;
  height: 3px;
  background-color: #192c4c;
  border-radius: 2px;
}




/* active：底部蓝色加粗下划线 */
.nav-list > li.active > a {
  font-weight: 700;
  color: #000;
  background: transparent;     /* 去掉原来的黄色背景 */
}


.nav-list > li.active > a::after {
  content: "";
  position: absolute;
  left: 0.22rem;               /* 和 padding 对齐 */
  right: 0.22rem;
  bottom: 0;
  height: 3px;
  background-color: #192c4c;   /* 蓝色下划线 */
  border-radius: 2px;
}




/* 二级下拉菜单 */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 2rem;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 1001;
}

.nav-list > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.1rem 0.18rem;
  font-size: 0.14rem;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
}

.nav-dropdown a:hover {
  background: #f5b400;
  color: #1a1a1a;
  padding-left: 0.24rem;
}

/* 移动端导航 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 0.24rem;
  padding: 0.1rem;
}

/* ========== Banner 通用 ========== */

/* ========== 通用页面 Banner ========== */
.page-banner {
  position: relative;
  width: 100%;
  max-width: 1920px;   /* ✅ 不超过原图宽度，防止放大模糊 */
  margin: 0 auto;       /* ✅ 大屏居中 */

  /* ✅ 核心：用 padding-top 锁定 1920:370 比例 */
  height: 0;
  padding-top: 19.27%;  /* 370 / 1920 * 100% */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

/* ✅ 彻底删掉原来的 ::before 遮罩（你已经注释了，保持就好） */
/*
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
*/

/* ✅ banner文字始终在上层 */
.page-banner .banner-text {
  position: absolute;   /* ✅ 改absolute，不撑开容器 */
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: center;
}

.page-banner .banner-text h1 {
  font-size: 0.42rem;
  font-weight: 900;
  margin-bottom: 0.1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-banner .banner-text p {
  font-size: 0.18rem;
  opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


/*.page-banner {
  position: relative;
  height: 4.2rem;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
 background: rgba(0,0,0,0.4);
  z-index: 1;
}

.page-banner .banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner .banner-text h1 {
  font-size: 0.42rem;
  font-weight: 900;
  margin-bottom: 0.1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.page-banner .banner-text p {
  font-size: 0.18rem;
  opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
*/
/* ========== 面包屑 ========== */
.breadcrumb-bar {
  background: #f5f6f8;
  border-bottom: 1px solid #e8e8e8;
  padding: 0.12rem 0;
}

.breadcrumb-inner {
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0 0.2rem;
  display: flex;
  align-items: center;
  font-size: 0.14rem;
  color: #666;
}

.breadcrumb-inner a {
  color: #666;
}

.breadcrumb-inner a:hover {
  color: #005b8c;
}

.breadcrumb-inner .sep {
  margin: 0 0.08rem;
  color: #bbb;
}

.breadcrumb-inner .current {
  color: #005b8c;
  font-weight: 500;
}

/* ========== 二级分类导航 ========== */
.sub-cats-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0.15rem 0;
}

.sub-cats-inner {
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0 0.2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.sub-cats-inner .sub-cats-title {
  font-size: 0.15rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-right: 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.06rem;
}

.sub-cats-inner .sub-cats-title i {
  color: #f5b400;
  font-size: 0.18rem;
}

.sub-cat-link {
  display: inline-block;
  padding: 0.06rem 0.16rem;
  font-size: 0.14rem;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 0.03rem;
  transition: all 0.3s;
}

.sub-cat-link:hover,
.sub-cat-link.active {
  background: #1a3a5c;
  color: #fff;
  border-color: #1a3a5c;
}

/* ========== 分页 ========== */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem 0 0.2rem;
  gap: 0.06rem;
}

.pagination-wrap a,
.pagination-wrap span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0.38rem;
  height: 0.38rem;
  padding: 0 0.12rem;
  font-size: 0.14rem;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 0.03rem;
  transition: all 0.3s;
}

.pagination-wrap a:hover {
  background: #1a3a5c;
  color: #fff;
  border-color: #1a3a5c;
}

.pagination-wrap .current {
  background: #f5b400;
  color: #1a1a1a;
  border-color: #f5b400;
  font-weight: 700;
}

.pagination-wrap .disabled {
  color: #ccc;
  cursor: not-allowed;
}

.pagination-wrap .disabled:hover {
  background: none;
  color: #ccc;
  border-color: #ddd;
}

/* ========== 浮动客服 ========== */
.float-bar {
  position: fixed;
  right: 0.1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
}

.float-item {
  position: relative;
  width: 0.44rem;
  height: 0.44rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.06rem;
  font-size: 0.18rem;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(255,255,255,0.3);
}

.float-item.phone { background: #e74c3c; }
.float-item.qq { background: #1e90ff; }
.float-item.wechat { background: #2ecc71; }
.float-item.douyin { background: #333; }
.float-item.top { background: #1a3a5c; margin-top: 0.1rem; }

.float-item:hover {
  transform: scale(1.1);
}

.float-item .float-label {
  position: absolute;
  right: 120%;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: #fff;
  font-size: 0.12rem;
  padding: 0.04rem 0.1rem;
  border-radius: 0.03rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.float-item:hover .float-label {
  opacity: 1;
  visibility: visible;
}

/* 二维码弹窗 */
.qr-popup {
  position: absolute;
  right: 120%;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 2px solid #f5b400;
  border-radius: 0.08rem;
  padding: 0.15rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 10000;
}

.qr-popup img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: cover;
  margin-bottom: 0.06rem;
}

.qr-popup span {
  display: block;
  font-size: 0.12rem;
  color: #555;
}

.float-item:hover .qr-popup {
  opacity: 1;
  visibility: visible;
}

/* ========== 页脚 ========== */
.footer-top {
  background: #f5f5f5;
  color: #aaa;
  padding: 0.5rem 0 0.3rem;
}

.footer-inner {
  max-width: 16.8rem;
  margin: 0 auto;
  padding: 0 0.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.6fr;
  gap: 0.4rem;
}

.footer-col h6 {
    font-size: .2rem;
    color: #0a1e40;
    margin-bottom: 0.15rem;
    padding-bottom: 0.08rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex
;
    align-items: center;
    gap: 0.06rem;}
	

.footer-col h6 i {
  color: #f5b400;
  font-size: 0.18rem;
}

.footer-col ul li {
     padding: .2rem 0;
    font-size: 0.14rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.08);
    border-top: 1px solid #999;
    line-height: .2rem;
}

.footer-col ul li a {
  color: #0a1e40;
  transition: all 0.3s;
}

.footer-col ul li a:hover {
  color: #f5b400;
  padding-left: 0.06rem;
}

.footer-col ul li .arrow {
  color: #555;
  font-size: 0.12rem;
}

/* 搜索框 */
.footer-search-title {
     font-size: 0.36rem;
    color: #000;
    margin-bottom: .3rem;
    font-weight: bold;
    line-height: .4rem;
    text-align: right;
}

.footer-search {
position: relative;
    box-sizing: border-box;
    width: 5.45rem;
    border: 2px solid #0a1e40;
    border-radius: .06rem;
    text-align: left;
    padding: .15rem 1.7rem .15rem .25rem;
}

.footer-search input {
  flex: 1;
  padding: 0.1rem 0.12rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.03rem;
  font-size: 0.14rem;
  background: rgba(255,255,255,0.05);
  color: #161515;
  outline: none;
}

.footer-search input:focus {
  border-color: #f5b400;
}

.footer-search button {
 /* background: #005b8c;
  color: #fff;
  border: none;
  padding: 0 0.18rem;
  border-radius: 0.03rem;
  font-size: 0.14rem;
  cursor: pointer;
  transition: all 0.3s;*/
  position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: .15rem;
    line-height: .42rem;
    color: #fff;
    font-size: .16rem;
    background: #0a1e40;
    border-radius: .06rem;
    border: none;
    outline: none;
    padding: 0 .28rem 0 .44rem;
    cursor: pointer;
  
}

.footer-search button:hover {
  background: #f5b400;
  color: #1a1a1a;
}

/* 社交图标 */
.footer-social {
  display: flex;
  gap: 0.1rem;
  margin-top: 0.15rem;
}

.footer-social a {
  width: 0.36rem;
  height: 0.36rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.16rem;
  transition: all 0.3s;
  position: relative;
}

.footer-social a:hover {
  background: #f5b400;
  color: #1a1a1a;
  border-color: #f5b400;
  transform: translateY(-3px);
}

/* 二维码弹窗（页脚版） */
.footer-social .qr-popup-footer {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 2px solid #f5b400;
  border-radius: 0.08rem;
  padding: 0.1rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 100;
}

.footer-social .qr-popup-footer img {
  width: 1rem;
  height: 1rem;
  object-fit: cover;
  margin-bottom: 0.04rem;
}

.footer-social .qr-popup-footer span {
  display: block;
  font-size: 0.11rem;
  color: #555;
  white-space: nowrap;
}

.footer-social a:hover .qr-popup-footer {
  opacity: 1;
  visibility: visible;
}

.footer-bottom {
background: #0f0f1a;
    color: #efe9e9;
    text-align: center;
    /* padding: 0.2rem; */
    font-size: 0.13rem;
    line-height: 1.9;
    position: relative;
    padding: .6rem 0 .54rem;
}

.footer-bottom .slogan {
 color: #f3eeee;
    margin-bottom: 0.06rem;
    letter-spacing: 0.01rem;
    font-size: .16rem;
	line-height: .3rem;
}


.footer-bottom .banquan {
 color: #f3eeee;
    margin-bottom: 0.06rem;
    letter-spacing: 0.01rem;
 font-size: .13rem;
    line-height: .2rem;
}

.footer-bottom .midd {
    margin-bottom: .3rem;
}


/* ========== 外层容器 ========== */
.footer_share {
  display: flex;
  justify-content: center;
  align-items: flex-end;   /* ✅ 关键：图标底部对齐 */
  gap: 24px;
padding: 30px 0 10px;
  position: relative;
  z-index: 1;
}

/* ========== 圆形图标按钮 ========== */
.footer_share a {
  position: relative;       /* ✅ 给二维码当定位锚点 */
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 2px solid #fff !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none;
  transition: transform .35s ease, background .35s ease;
  z-index: 10;
}

/* ========== 图标 ========== */
.footer_share i {
  font-size: 22px !important;
  color: #fff !important;
  line-height: 1 !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========== Hover 图标动效 ========== */
.footer_share a:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.15) !important;
}

/* ========== 品牌色（去掉背景色，保持透明边框风格） ========== */
/* 如果你想要实色背景，取消下面注释 */
/*
.share-weixin { background: #07c160 !important; }
.share-douyin  { background: #161823 !important; }
.share-qq      { background: #12b7f5 !important; }
*/

/* ========== ✅ 二维码弹窗（核心） ========== */
.xqr-popup {
  position: absolute;

  /* ✅ 关键三步，缺一不可： */

  /* 1. 弹窗底部 = 图标顶部 + 100px 间距 */
  bottom: calc(100% + 100px);

  /* 2. 水平居中 */
  left: 50%;
  transform: translateX(-50%) translateY(20px);

  /* 3. 浮在最上层 */
  z-index: 99999;

  /* 样式 */
  width: 160px;
  padding: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.15);

  /* 隐藏 */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity .4s ease,
    transform .4s ease,
    visibility .4s;
}

/* ✅ hover 显示 + 上浮动画 */
.share-weixin:hover .xqr-popup,
.share-douyin:hover .xqr-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* ========== 二维码图片 ========== */
.xqr-popup img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* ========== 提示文字 ========== */
.xqr-popup span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #333;
  text-align: center;
}

/* ========== 防干扰 ========== */
.footer_share a::before,
.footer_share a::after {
  display: none !important;
  content: none !important;
}

.xqr-popup::before,
.xqr-popup::after {
  display: none !important;
}

/* ========== QQ 图标微调 ========== */
.share-qq i {
  font-size: 20px !important;
  transform: translateX(1px);
}




/* ========== 通用区块 ========== */
.section {
  padding: .1rem .2rem;
  
}

.section-title {
 text-align: center;
    font-size: 32px;
    color: #005b8c;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
/*  background: #f5b400;*/
  margin: 12px auto 0;
  border-radius: 2px;
}




.section-title h2 {
  font-size: 0.4rem;
  color: #1a3a5c;
  font-weight: 800;
  position: relative;
  display: inline-block;
  padding-bottom: 0.12rem;
  transition: color 0.35s ease; /* 新增：平滑过渡效果 */
}


.section-title h2::after {
     content: "";
    display: block;
    width: 48px;
    height: 4px;
    background: #f5b400;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ✅ 鼠标移上去字体变黄 */
.section-title h2:hover {
  color: #f5b400;
}


.section-title p {
 all: unset;
  display: block;
  font-size: 0.15rem;
  color: #888;
  margin-top: 0.1rem;
}



.section-sub {
    text-align: center;
    font-size: 16px;
    color: #888;
    margin-bottom: 40px;
    line-height: 1.8;
 margin-top: .55rem;
}



/* 按钮 */
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  background: #f5b400;
  color: #1a1a1a;
  padding: 0.1rem 0.28rem;
  border-radius: 0.03rem;
  font-size: 0.15rem;
  font-weight: 700;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-main:hover {
  background: #e6a800;
  color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,180,0,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  background: transparent;
  color: #fff;
  padding: 0.1rem 0.28rem;
  border-radius: 0.3rem;
  font-size: 0.14rem;
  border: 1px solid rgba(255,255,255,0.5);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-outline:hover {
  background: #fff;
  color: #1a3a5c;
}

/* ========== 响应式 ========== */
@media (max-width: 1280px) {
  html { font-size: 90px; }
}

@media (max-width: 1024px) {
  html { font-size: 80px; }
  .nav-list > li > a { padding: 0 0.15rem; font-size: 0.15rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 0.3rem; }
}



@media (max-width: 768px) {
  .header-divider,
  .logo-bar {
    display: none;
  }
}



@media (max-width: 768px) {
  /* 移动端logo栏整体调整 */
  .logo-bar {
    flex-direction: column;
    gap: 0.1rem;          /* 统一纵向间距，覆盖之前的0.15rem */
    padding: 0.03rem 0.15rem; /* 上下缩紧、左右留边，更适配移动端 */
  }

  /* 隐藏移动端不需要的联系信息 */
  .logo-contact {
    display: none;
  }

  /* logo区域纵向居中 */
  .logo-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.08rem;
  }

  /* slogan样式调整：去掉左侧边框，改为顶部装饰线 */
  .logo-slogan {
    border-left: none;
    border-top: 2px solid #f5b400;
    padding-left: 0;
    padding-top: 0.08rem;
    margin-left: 0;
  }
}



@media (max-width: 768px) {
  html { font-size: 60px; }
  .top-bar { display: none; }


  .nav-toggle { display: block; }
  .nav-inner { justify-content: space-between; padding: 0 0.15rem; }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a3a5c;
    flex-direction: column;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-list.active { display: flex; }
  .nav-list > li { width: 100%; }
  .nav-list > li > a { height: auto; padding: 0.12rem 0.2rem; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.2);
    display: none;
  }
  .nav-list > li:hover .nav-dropdown { display: block; }
  .nav-dropdown a { color: #ccc; border-bottom-color: rgba(255,255,255,0.1); }
  .float-bar { right: 0.05rem; }
  .float-item { width: 0.38rem; height: 0.38rem; font-size: 0.16rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 0.25rem; }
  .page-banner { height: 1.8rem; }
  .page-banner .banner-text h1 { font-size: 0.28rem; }
  .page-banner .banner-text p { font-size: 0.14rem; }
}

@media (max-width: 480px) {
  html { font-size: 50px; }
  .section { padding: 0.4rem 0; }
  .section-title h2 { font-size: 0.22rem; }
}



/* ============================================
   统一移动端导航样式 - 单一来源
   ============================================ */

/* 默认：桌面端显示原导航，隐藏移动端导航 */
.m-header,
.m-menu-mask,
.m-drawer {
  display: none;
}

.desktop-nav {
  display: block;
}

/* 移动端：768px及以下 */
@media (max-width: 768px) {
  /* 隐藏桌面端导航 */
  .desktop-nav {
    display: none !important;
  }
  
  /* 显示移动端导航 */
  .m-header {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.1rem;
    background: #1a3a5c;
    z-index: 9999;  /* 提高z-index，确保在最上层 */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  /* 向下滚动时隐藏导航 */
  .m-header.hide {
    transform: translateY(-100%);
  }
  
  .m-header-inner {
    width: 100%;
    height: 100%;
    padding: 0 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Logo样式 */
  .m-logo img {
    height: 0.7rem;
    width: auto;
  }
  
  /* 右侧按钮组 */
  .m-actions {
    display: flex;
    gap: 0.4rem;
  }
  
  .m-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.22rem;
    cursor: pointer;
  }
  
  .m-action-btn i {
    font-size: 0.36rem;
    margin-bottom: 0.02rem;
  }
  
  /* 菜单激活时的高亮效果 */
  .m-action-btn.active i,
  .m-action-btn.active span {
    color: #f5b400;
  }
  
  /* 遮罩层 */
  .m-menu-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .m-menu-mask.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  
  /* 侧边抽屉菜单 */
.m-drawer {
  /* 删掉这一行 ↓ */
  /* right: -80%; */

  display: block;
  position: fixed;
  top: 0;
  right: 0; /* ✅ 贴住右边 */
  width: 80%;
  max-width: 320px;
  height: 100%;
  background: #fff;
  z-index: 9999;
  transform: translateX(100%); /* ✅ 只在 transform 上玩 */
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.m-drawer.show {
  transform: translateX(0); /* ✅ 拉回来 */
}
  
  /* 抽屉头部 */
  .m-drawer-header {
    height: 1.1rem;
    padding: 0 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    font-size: 0.32rem;
    font-weight: bold;
    color: #1a3a5c;
  }
  
  .m-drawer-header i {
    font-size: 0.4rem;
    cursor: pointer;
    color: #999;
  }
  
  /* 菜单列表 */
  .m-drawer-list {
    list-style: none;
    padding: 0.2rem 0;
    margin: 0;
  }
  
  .m-drawer-list li {
    border-bottom: 1px solid #eee;
  }
  
  .m-drawer-list li a {
    display: flex;
    align-items: center;
    padding: 0.3rem 0.4rem;
    color: #333;
    font-size: 0.28rem;
    text-decoration: none;
  }
  
  .m-drawer-list li a i {
    margin-right: 0.3rem;
    font-size: 0.32rem;
    color: #666;
  }
  
  /* 二级菜单 */
  .m-sub-list {
    display: none;
    background: #f8f9fa;
    padding-left: 0.8rem;
  }
  
  .m-has-sub.active .m-sub-list {
    display: block;
  }
  
  .m-sub-list a {
    font-size: 0.26rem;
    padding: 0.25rem 0.4rem;
  }
  
  /* 页面内容防遮挡 */
  body {
    padding-top: 1.1rem !important;
  }
  
  /* 调整Banner位置 */
  .home-banner {
    margin-top: 0;
  }
}

/* 小屏幕优化 */
@media (max-width: 480px) {
  .m-drawer {
    width: 85%;
  }
  
  .m-drawer-list li a {
    font-size: 0.26rem;
    padding: 0.25rem 0.3rem;
  }
  
  .m-sub-list a {
    font-size: 0.24rem;
    padding: 0.2rem 0.3rem 0.2rem 0.6rem;
  }
}






