/* 底部页脚css */
.footer-pro{
  position:relative;
  background:var(--footer-bg, #f5f5f5);
  color:#555555;
  font-family:"Segoe UI","Microsoft YaHei",sans-serif;
  font-size:14px;
  letter-spacing:0.7px; /* 🔹左右字距略增 */
  line-height:1.9;      /* 🔹上下行距略增 */
  padding:55px 0 40px;  /* 🔹整体上下呼吸感 */
  overflow:hidden;
}
.footer-bg,.footer-glow{position:absolute;left:0;width:100%;}
.footer-bg{
  top:0;height:100%;
 /* background: #f5f7fa;*/
}
.footer-glow{
  bottom:0;height:250px;left:50%;transform:translateX(-50%);
  width:1200px;
  /*background:radial-gradient(circle at 50% 50%,rgba(50,200,255,.15),transparent 70%);*/
  filter:blur(80px);
}
.footer-content{position:relative;z-index:2;width:90%;max-width:1200px;margin:auto;}

/* Footer 移动端适配 */
  /*.footer-pro {
    padding: 40px 0 30px;
  }
  .footer-content {
    width: 95%;
    padding: 0 10px;
  }
  .footer-gourd {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .footer-section.company,
  .footer-section.brother,
  .footer-section.business,
  .footer-section.about {
    display: none;
  }
  .footer-section.liaise {
    text-align: center;
  }
  .footer-section.liaise h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-friends .friend-grid {
    gap: 10px 15px;
  }
}*/

/* ===== 手机端 (700px以下) ===== */
@media screen and (max-width: 700px) {
  .footer-pro {
    padding: 30px 0 20px;
  }
  .footer-content {
    padding: 0 15px;
  }
  .footer-gourd {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .footer-section.liaise {
    text-align: center;
  }
  .footer-section.liaise h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-section h3 {
    font-size: 15px;
  }
  .footer-section.liaise .qq-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-section.liaise .qq-row .label {
    min-width: unset;
  }
  .footer-section .tel {
    font-size: 14px;
  }
  .footer-section .tel span {
    font-size: 16px !important;
  }
  .footer-badges img {
    height: 28px;
  }
  .footer-logo img {
    width: 180px;
  }

  /* 隐藏：奇异互动、行业新闻、主营业务、关于我们、友情链接 */
 .footer-section.company,
  .footer-section.brother,
  .footer-section.business,
  .footer-section.about,
  .footer-friends,
  .footer-line.mid-line {
    display: none !important;
  }

  /* 版权信息 */
  .footer-bottom {
    padding: 15px 10px;
  }
  .footer-bottom p {
    font-size: 11px;
    line-height: 1.9;
    word-break: break-all;
  }
  .footer-bottom img {
    height: 11px;
  }

  /* 隐藏侧边悬浮栏 */
  .suspension {
    display: none !important;
  }

  /* 微信客服图标 */
  .livechat-girl {
    transform: scale(0.75);
    transform-origin: bottom right;
    right: 15px !important;
    bottom: 110px !important;
  }
}

/* ===== 手机端 (480px以下) ===== */
@media screen and (max-width: 480px) {
  .mobile-menu-btn {
    width: 40px;
    height: 40px;
  }
  .mobile-console-btn {
    padding: 7px 10px;
    font-size: 12px;
  }
  .mobile-user-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .mobile-auth-buttons {
    gap: 6px;
  }
  .mobile-auth-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ===== 小屏手机 (400px以下) ===== */
@media screen and (max-width: 400px) {
  .footer-section h3 {
    font-size: 14px;
  }
  .footer-section a {
    font-size: 12px;
  }
  .footer-section p {
    font-size: 12px;
  }
  .footer-logo img {
    width: 150px;
  }
  .footer-badges img {
    height: 24px;
  }
  .footer-bottom p {
    font-size: 10px;
  }
  .livechat-girl {
    transform: scale(0.65);
  }
}

/* 栏目间距优化（更紧凑） */
.footer-gourd{
  display:grid;
  grid-template-columns:0.8fr 0.4fr 0.4fr 0.3fr 0.3fr 0.6fr;
  gap:10px;
  padding-bottom:25px;
}

/* 栏目标题 */
.footer-section h3{
  color:#555555;
  font-size:15px;
  margin-bottom:8px;
  position:relative;
  letter-spacing:1px;
}
.footer-section h3::after{
  content:"";
  position:absolute;
  bottom:-3px;
  left:0;
  width:30px;
  height:2px;
  background:var(--primary);;
  border-radius:2px;
}

/* 内容基础 */
.footer-section ul{list-style:none;padding:0;margin:8px 0 0;}
.footer-section li{margin:5px 0;}
.footer-section p{line-height:1.9;margin:4px 0;}

/* ✅ 全局超链接规则统一 */
.footer-section a,
.footer-section a:visited,
.footer-section a:active,
.friend-grid a,
.friend-grid a:visited,
.friend-grid a:active{
  color:#555555;
  text-decoration:none;
  display:inline-block;
  transition:all .25s ease;
  transform-origin:center;
}
.footer-section a:hover,
.friend-grid a:hover{
  color:#f08a5d;
  transform:scale(1.05);
}

/* 徽章与LOGO */
.footer-badges img{height:32px;margin-right:6px;opacity:.85;transition:.3s;}
.footer-badges img:hover{opacity:1;transform:scale(1.05);}
.footer-logo img{width:120px;margin:5px 0 8px;}
.footer-section .tel span{font-size:17px;color:#f08a5d;font-weight:bold;}

/* 横线与友情链接 */
.footer-line{
  width:100%;height:1px;
  /*background:linear-gradient(90deg,transparent,rgba(80,200,255,.3),transparent);*/
}
.top-line{margin-bottom:25px;}
.mid-line{margin:10px 0;}
.footer-friends{text-align:center;padding:12px 0;}
.footer-friends h4{
  color:#fff;
  font-size:15px;
  margin-bottom:12px;
  letter-spacing:1px;
}
.friend-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 14px;
}
.friend-grid a{
  padding:6px 16px;
  border:1px solid rgba(249, 179, 132, 0.5);
  border-radius:30px;
  font-size:13.5px;
}
.friend-grid a:hover{
  background:rgbargba(249, 179, 132, 0.5);
  border-color:rgba(249, 179, 132, 1);
}

/* 底部版权 */
.footer-bottom{
  text-align:center;
  margin-top:20px;
  font-size:13.5px;
  color:#555555;
  line-height:1.9;
}
.footer-bottom img{height:13px;vertical-align:middle;margin-right:4px;}

@media(max-width:1000px){
  .footer-gourd{grid-template-columns:repeat(3,1fr);gap:14px;}
}
@media(max-width:700px){
  .footer-gourd{grid-template-columns:1fr;}
  .footer-section{text-align:center;}
}

/* --- 联系方式 QQ 行：居中对齐 & 同步字距行距 --- */
.footer-section.liaise .qq-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin:4px 0;
  line-height:1.9;
  letter-spacing:0.7px;
  white-space:nowrap;
}
.footer-section.liaise .qq-row .label{
  color:#555555;
  min-width:80px;      /* 保证“售前售后 / 备案专员”两行对齐 */
}
.footer-section.liaise .qq-row .qq-btn{
  display:inline-flex;
  align-items:center;
}
.footer-section.liaise .qq-row img{
  height:22px;
  display:block;
}

/* --- 版权区 a 链接：继承统一规则（hover 变白+微放大，点击不变色）--- */
.footer-bottom{
  letter-spacing:0.7px;
  line-height:1.9;
}
.footer-bottom a,
.footer-bottom a:visited,
.footer-bottom a:active{
  color:#555555;          /* 初始颜色与版权文案一致 */
  text-decoration:none;
  display:inline-block;
  transition:all .25s ease;
}
.footer-bottom a:hover{
  color:#f08a5d;
  transform:scale(1.05);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 9999;
  overflow: hidden;
  background: linear-gradient(135deg, #f08a5d, #f9b384);
  box-shadow: 0 6px 20px rgba(240, 138, 93, 0.3);
  transform: translateY(20px);
}
.back-to-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  z-index: 1;
}
.back-to-top-icon {
  position: relative;
  z-index: 2;
  font-size: 1.5rem;
  color: white;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 30px;
  height: 30px;
  background-image: url("/themes/web/ogmiao/img/miao.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.back-to-top-icon::before {
  content: "";
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(240, 138, 93, 0.4);
}
.back-to-top:hover .back-to-top-icon {
  transform: translateY(-5px);
}
.back-to-top:active {
  transform: scale(0.95);
  box-shadow: 0 3px 10px rgba(240, 138, 93, 0.3);
}
.back-to-top .ripple {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.8s linear;
  pointer-events: none;
}
@media (max-width: 768px) {
  .back-to-top {
    bottom: 75px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}
@media (max-width: 480px) {
  .back-to-top {
    bottom: 80px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  .back-to-top-icon {
    font-size: 1.3rem;
  }
}
.back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 0.5rem 0;
  justify-content: space-around;
  overflow-x: auto;
  white-space: nowrap;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--gray);
  font-size: 0.65rem;
  padding: 0.3rem 0.5rem;
  min-width: 60px;
  transition: all 0.3s ease;
}
.mobile-nav-icon {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  transition: all 0.3s ease;
}
.mobile-nav-item.active {
  color: var(--primary);
}
.mobile-nav-item:hover {
  color: var(--primary);
}
@media (max-width: 375px) {
  .mobile-nav-item {
    font-size: 0.6rem;
    min-width: 50px;
  }
  .mobile-nav-icon {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .mobile-nav {
    display: flex !important;
  }
  body {
    padding-bottom: 60px !important;
  }
}