/* 引入英文css */
@import url("lang-en.css");
/* 引入分页css */
@import url("pagination.css");
/* 引入分享css */
@import url("share.css");

/* ================= 0. 全局 CSS 变量 ================= */
:root {
  --primary-color: #c12022; /* 主题红 */
  --primary-hover: #b82d19; /* 主色悬浮深红 */
  --primary-title: #b72324; /* 主色文字 */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.pt-90 {
  padding-top: 90px;
}

/* 统一版心容器：最大宽度 1436px，居中并留出两侧安全边距 */
.container {
  max-width: 1436px;
  margin: 0 auto;
  /* padding: 0 40px; */
}

/* 字体超出两行省略号 */
.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ellipsis-1 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}
li,
ul {
  list-style: none;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  background: #000;
  backdrop-filter: blur(8px);

  /* 运用 flex 居中，确保 Header 内容在 1436px 范围内居中 */
  display: flex;
  justify-content: center;
  align-items: center;
  /* 添加全属性过渡动画：背景色、高度、阴影等平滑切换 */
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
/* Header 内部版心限制 */
.header-inner {
  width: 100%;
  max-width: 1436px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ================= 滑动吸顶后的样式 (.header-sticky) ================= */
.header.header-sticky {
  top: 0;
  height: 100px; /* 吸顶后高度适当收紧，提升视野空间 */
  background: rgba(0, 0, 0, 1); /* 背景变深，提升文字对比度 */
  backdrop-filter: blur(12px); 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 增加底部沉浸式阴影 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header .logo img {
  width: 230px;
  height: 60px;
}
.header .logo span {
  color: var(--primary-color);
}
.header .nav-pc {
  display: flex;
  align-items: center;
  gap: 70px;
}
.header .nav-pc a {
  position: relative;
  color: rgba(255, 255, 255, 0.85); /* 默认字色稍暗，突出对比 */
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0; /* 上下留出内边距，方便计算下划线位置 */
  white-space: nowrap;
  transition: color 0.3s ease;
}
/* 使用 ::after 伪元素创建下划线 */
.header .nav-pc a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%; /* 默认从中间向两边展开 */
  width: 0;
  height: 2px;
  background-color: var(--primary-color); /* 下划线主题红 */
  border-radius: 2px;
  transition:
    width 0.3s ease,
    left 0.3s ease; /* 动画过渡 */
}

/* 1. 鼠标悬浮 (Hover) 样式 */
.header .nav-pc a:hover {
  color: var(--primary-hover); /* 悬浮时文字变亮白 */
}
.header .nav-pc a:hover::after {
  width: 100%;
  left: 0; /* 下划线自中间平滑扩展至全宽 */
}

/* 2. 当前选中 (Active) 样式 */
.header .nav-pc a.active {
  color: var(--primary-color);
  font-weight: bold;
}

.header .nav-pc a.active::after {
  width: 100%;
  left: 0;
  background-color: var(--primary-color);
}
.mobile-menu-btn {
  display: none;
  width: 26px;
  height: 20px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
}
.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-mobile {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(15, 18, 20, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 999;
  grid-template-columns: repeat(2, 1fr);
  padding: 15px;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
.nav-mobile a {
  color: #fff;
  padding: 12px 10px;
  font-size: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-mobile a.active,
.nav-mobile a:hover {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}

/* 面包屑导航 */
.sub-nav-inner .banner-crumbs {
  position: absolute;
  right: 40px;
  bottom: 85px;
  font-size: 12px; /* 原 13px -> 12px 精致指引 */
  letter-spacing: 1.2px;
  color: #ffffff;
  z-index: 31;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* ================= 2. 跨界固定卡片层 (sub-nav-wrapper) ================= */
.sub-nav-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  z-index: 30;
}

.sub-nav-inner {
  position: relative;
  width: 100%;
}


/* PC 端子导航卡片：正好横跨在上下两板块分界处 */
.sub-nav-bar {
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -60px;
  height: 120px;
  background-color: #ffffff;
  display: flex;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
}

.sub-nav-item {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; /* 原 16px -> 15px 黄金标准导航体 */
  font-weight: 500;
  color: #afafaf;
  transition: all 0.25s ease;
  user-select: none;
  text-decoration: none;
  position: relative;
  letter-spacing: 1.2px;
}

.sub-nav-item:hover {
  color: var(--primary-color);
  font-weight: bold;
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.sub-nav-item.active {
  background-color: var(--primary-color);
  color: #ffffff !important;
  font-weight: bold;
}


.footer-site {
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  box-sizing: border-box;
}

.footer-container {
  margin: 0 auto;
  padding: 65px 20px 15px 20px;
  box-sizing: border-box;
}

/* 主体行：左侧 5 列导航与右侧品牌区两端展开 */
.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  border-top: 1px solid rgba(219, 216, 216, 0.356);
  border-bottom: 1px solid rgba(219, 216, 216, 0.356);
  padding: 40px 0;

}

/* ================= 左侧 5 列导航 ================= */
.footer-nav-cols {
  flex: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 780px;
}

.footer-nav-col {
  min-width: 90px;
}

.footer-nav-col .col-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
  margin: 0 0 24px 0;
  white-space: nowrap;
}

.footer-nav-col .col-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-col .col-list li {
  margin-bottom: 12px;
}

.footer-nav-col .col-list li a {
  color: #9c9c9c;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.25s ease;
  white-space: nowrap;
}

.footer-nav-col .col-list li a:hover {
  color: #ffffff;
}

/* ================= 右侧 品牌信息 / 热线 / 3联二维码 ================= */
.footer-brand-side {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* 服务热线与 Logo 并排 */
.hotline-logo-group {
  display: flex;
  align-items: center;
  gap: 45px;
  margin-bottom: 30px;
}

.hotline-box {
  text-align: left;
}

.hotline-label {
  display: block;
  font-size: 12px;
  color: #a0a0a0;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}

.hotline-number {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1.5px;
  line-height: 1;
  /* font-family: Arial, Helvetica, sans-serif; */
}

.brand-logo-box {
  height: 48px;
}

.brand-logo-box img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* 3 个并排白边二维码 */
.qr-codes-group {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 100px;
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qr-img-frame {
  width: 96px;
  height: 96px;
  background-color: #ffffff;
  /* padding: 4px; */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1px;
}

.qr-img-frame img {
  width: 100%;
  height: 100%;
  /* object-fit: contain; */
  display: block;
}

.qr-name {
  font-size: 12px;
  color: #a0a0a0;
  margin-top: 9px;
  letter-spacing: 0.5px;
}

/* ================= 底部合规与版权栏 ================= */
.footer-bottom-bar {
  width: 100%;
  /* border-top: 1px solid rgba(255, 255, 255, 0.12); */
  padding: 22px 0;
  box-sizing: border-box;
}

.footer-bottom-inner {
  /* max-width: 1300px; */
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* 法律条款链接 */
.legal-links {
  font-size: 12px;
  color: #888888;
}

.legal-links a {
  color: #888888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-links a:hover {
  color: #ffffff;
}

.legal-links .divider {
  margin: 0 8px;
  color: #444444;
}

/* 版权号 */
.copyright-text {
  font-size: 12px;
  color: #888888;
  letter-spacing: 0.5px;
}

/* ================= 全端自适应响应式 (<= 1024px & <= 768px) ================= */
@media screen and (max-width: 1024px) {
  .footer-main-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
  }

  .footer-nav-cols {
    width: 100%;
    max-width: 100%;
  }

  .footer-brand-side {
    align-items: flex-start;
    width: 100%;
  }

  .hotline-logo-group {
    gap: 30px;
  }
}

@media screen and (max-width: 992px) {
  .header {
    padding: 0 20px;
  }
 
}
@media screen and (max-width: 768px) {

  /* 1. 全局容器与版心节奏 */
  body {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
  }

  .container,
  .works-container,
  .header-inner {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* 2. 顶部吸顶导航 (Header) */
  .header {
    top: 0 !important;
    height: 56px !important;
    background: rgba(13, 15, 17, 0.95) !important;
    backdrop-filter: blur(10px) !important;
  }

  .header-inner {
    padding: 0 16px !important;
  }

  .header .logo img {
    height: 28px !important;
    width: auto;
    object-fit: contain;
  }

  .mobile-menu-btn {
    display: flex !important;
    width: 24px;
    height: 18px;
  }

  .nav-mobile {
    top: 56px !important;
    padding: 12px !important;
    gap: 8px !important;
  }

  .nav-mobile a {
    padding: 10px 8px !important;
    font-size: 13px !important;
  }

    /* 2. 悬浮子导航卡片：重写为触屏友好的自适应横向滑条 */
  .sub-nav-wrapper {
    height: 0;
  }

  .sub-nav-inner {
    padding: 0 12px;
  }

  .sub-nav-inner .banner-crumbs {
    display: none; /* 移动端隐藏面包屑释放空间 */
  }

  .sub-nav-bar {
    position: absolute;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    transform: none;
    top: -26px;
    height: 52px;
    border-radius: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    /* 隐藏系统滚动条 */
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .sub-nav-bar::-webkit-scrollbar {
    display: none;
  }

  .sub-nav-item {
    /* flex: none; */
    padding: 0 18px;
    height: 100%;
    font-size: 14px;
  }

  .header .nav-pc {
    display: none;
  }
  .mobile-menu-btn {
    display: flex !important;
  }

  .footer-container {
    padding: 40px 15px 30px 15px;
  }

  /* 手机端：左侧5列折叠为两列网格 */
  .footer-nav-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .footer-nav-col .col-title {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .footer-nav-col .col-list li {
    margin-bottom: 8px;
  }

  .footer-nav-col .col-list li a {
    font-size: 12px;
  }

  /* 热线与 Logo 上下排列 */
  .hotline-logo-group {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
  }

  .hotline-number {
    font-size: 19px;
  }

  /* 3个二维码缩小自适应 */
  .qr-codes-group {
    width: 100%;
    justify-content: flex-start;
    gap: 15px;
  }

  .qr-img-frame {
    width: 80px;
    height: 80px;
  }

  .qr-name {
    font-size: 11px;
    margin-top: 6px;
  }

  /* 版权栏上下单列排布 */
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal-links {
    line-height: 1.8;
  }

  .copyright-text {
    line-height: 1.6;
    font-size: 11.5px;
  }
 
}
