@font-face {
  font-family: 'DIN';
  src: url('../fonts/DIN.ttf');
}

@font-face {
  font-family: 'DIN-regular';
  src: url('../fonts/DIN-regular.ttf');
}


/* 修改 Bootstrap css 变量 */
:root {
  --bs-primary: #0B3E8E !important;
}

.container {
  max-width: 160rem;
}

header {
  width: 100%;
  height: 80px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 0.3rem 1.8rem 0 rgba(39,25,21,0.35);
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(1.2rem);
  -webkit-backdrop-filter: saturate(180%) blur(1.2rem);
}

.header-inner {
  width: 100%;
  max-width: 160.8rem;
  height: 100%;
  margin: 0 auto;
  display: flex;
}

.logo-wrap {
  height: 100%;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 103px;
  height: 36px;
  cursor: pointer;
}

.logo-wrap span {
  display: block;
  color: #5B5B5B;
  font-size: 15px;
  padding-left: 2rem;
  border-left: 1px solid #B2B2B2;
  margin-left: 2rem;
  line-height: 14px;
}

nav {
  flex: 1;
  display: flex;
  align-items: center;
}
nav ul {
  margin: 0 0 0 20rem;
  flex: 1;
  display: flex;
  justify-content: space-between;
  color: #333;
  font-size: 1.8rem;
  list-style: none;
  height: 100%;
}

nav li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex: 1;
  text-align: center;
  cursor: pointer;
  position: relative;
}

nav li a {
  display: inline-block;
  text-align: center;
  padding: 1.2rem 0;
  border-bottom: 0.3rem solid transparent;
  color: #333;
  white-space: nowrap;
  font-size: max(1.8rem, 14px);
  transition: border-bottom-color 0.22s ease-out, border-bottom-width 0.22s ease-out, font-weight 0.22s ease-out, color 0.22s ease-out;
}

nav a:hover, nav a.active {
  color: #333;
  border-bottom: 0.4rem solid #CA172D;
  font-weight: bold;
}

.nav-product-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  width: max-content;
  min-width: 18rem;
  padding: 1.6rem 0 1.2rem;
  margin-top: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.3rem 1.2rem 0 rgba(0, 0, 0, 0.18);
  border-radius: 0.4rem;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.6rem);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease-out, transform 0.22s ease-out, visibility 0.22s ease-out;
}

/* 填补导航与下拉之间的空隙，避免 hover 断开 */
.nav-product-list::before {
  content: '';
  position: absolute;
  top: -0.8rem;
  left: 0;
  right: 0;
  height: 0.8rem;
}

.nav-product-list div {
  display: flex;
  align-items: center;
  color: #00459B;
}

.nav-product-list a {
  display: block;
  width: 100%;
  border-bottom: none;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  white-space: nowrap;
  padding: 1rem 2.4rem;
  color: #000;
  line-height: 1.4;
  transition: color 0.2s ease-out, background-color 0.2s ease-out;
}

.nav-product-list a:hover {
  border-bottom: none;
  color: #CA172D;
  background: #f5f5f5;
  font-weight: 400;
}

nav .nav-product:hover .nav-product-list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

footer {
  /* height: 43.4rem; */
  background: #2f3236;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.footer-inner {
  width: auto;
  /* max-width: 160rem; */
  margin: 8.5rem auto 0 auto;
  display: flex;
}

.footer-inner-split {
  width: 0.1rem;
  height: 14rem;
  background: rgba(255, 255, 255, 0.05);
  margin: 1rem 6rem 0 6rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  margin-right: 8rem;
}

.footer-nav.last {
  margin-right: 0;
}

.footer-nav a { 
  font-size: 1.7rem;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #8e8e8e;
  line-height: 3.2rem;
  transition: color 0.22s ease-out;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav .footer-nav-title {
  font-size: 2rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1.7rem;
}

.footer-service-hotline, .footer-qrcode{
  display: flex;
  flex-direction: column;
}

.footer-service-hotline span {
  font-size: 1.7rem;
  font-weight: 400;
  color: #999999;
}

.footer-service-hotline h3 {
  font-size: 4.2rem;
  font-family: DIN;
  font-weight: bold;
  margin: 1rem 0;
  color: #fff;
}

.footer-qrcode {
  flex: 1;
}

.footer-qrcode .qrcode-wrap {
 display: flex;
}

.qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
  &:last-child {
    margin-right: 0;
  }
}

.qrcode-item label {
  margin-top: 15px;
  color: #fff;
  font-size: max(1.4rem, 14px);
}

.footer-qrcode span{
  font-size: 1.7rem;
  font-weight: 400;
  color: #999999;
  margin-bottom: 20px;
}

.footer-qrcode img {
  width: 90px;
  height: 90px;
}

.footer-split {
  height: 0.1rem;
  background: rgba(255, 255, 255, 0.05);
  margin: 6.2rem 0 3rem 0;
}

.friendly-link {
  text-align: center;
  color: #999;
  font-size: max(1.4rem, 14px);
}

.friendly-link span {
  font-weight: bold;
  border-right: 0.1rem solid #999;
  padding-right: 1rem;
}

.friendly-link a {
  color: #999;
  margin: 0 1rem;
  transition: color 0.22s ease-out;
}

.friendly-link a:hover {
  color: #fff;
}

.copyright {
  color: #999;
  text-align: center;
  font-size: max(1.4rem, 14px);
  margin: 1.5rem 0;
}

.copyright a {
  color: #999;
  font-size: max(1.4rem, 14px);
}

.section, body:not(.layout-admin) section {
  padding: 0;
}



 /* 区块标题 */
 .section-title {
  position: relative;
  display: flex;
  justify-content: center;
  margin: 5rem 0;
}

.section-title div:first-child {
  font-size: 3.6rem;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: #333333;
}

.section-title div:last-child {
  position: absolute;
  font-size: 2.4rem;
  font-family: Arial;
  font-weight: 400;
  color: #DCDFE5;
  bottom: -2.2rem;
}


/* 取消 bootstrap modal 右侧滚动条位置 */
.modal-open {
  padding-right: 0 !important;
}

/* ========== 全站精致微动效工具类 ========== */
.fx-lift {
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.fx-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.12);
}

.fx-zoom-img {
  overflow: hidden;
}

.fx-zoom-img img {
  transition: transform 0.28s ease-out;
}

.fx-zoom-img:hover img {
  transform: scale(1.04);
}

.fx-btn {
  transition: transform 0.22s ease-out, background-color 0.22s ease-out, color 0.22s ease-out, box-shadow 0.22s ease-out, opacity 0.22s ease-out;
}

.fx-btn:hover {
  transform: translateY(-2px);
}

.fx-fade-row {
  transition: background-color 0.22s ease-out, transform 0.22s ease-out;
}

.fx-fade-row:hover {
  background-color: rgba(11, 62, 142, 0.04);
}

@media (prefers-reduced-motion: reduce) {
  nav li a,
  .nav-product-list,
  .nav-product-list a,
  .footer-nav a,
  .friendly-link a,
  .fx-lift,
  .fx-zoom-img img,
  .fx-btn,
  .fx-fade-row {
    transition: none !important;
  }

  .fx-lift:hover,
  .fx-btn:hover {
    transform: none;
  }

  .fx-zoom-img:hover img {
    transform: none;
  }

  nav .nav-product:hover .nav-product-list {
    transform: translateX(-50%) translateY(0);
  }
}

