
/* === Reset &amp; Base === */
*, *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: #1A1A1A;
  background: #FAFAFA;
  line-height: 1.6;
   font-size: .16rem; 
}
html{
     scroll-padding-top: .9rem; 
    scroll-behavior: smooth; 
}
/* === Header &amp; Navigation === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  height: 1.16rem;
  transition: background 0.4s, box-shadow 0.4s;
}
/* Subtle top gradient to ensure nav text readability on any background image */
.header:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.36rem;
  background: -ms-linear-gradient(top, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.12) 70%, transparent 100%);
  background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.12) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.header.scrolled {
  background: #920f15;
  box-shadow: 0 0.02rem 0.2rem rgba(0,0,0,0.3);
}
.header.scrolled:before { opacity: 0; }
.header-inner {
  position: relative;
  z-index: 1;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  padding: 0 .5rem;
  justify-content: space-between;
}
.logo {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  text-decoration: none;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.logo img {
  height: 0.92rem;
  margin-top: .2rem;
}
.header.scrolled .logo img{
    margin-top: 0;
}

.nav {display: -ms-flexbox;display: flex;-ms-flex-align: center;align-items: center;height: 100%;flex: 1;min-width: 0;justify-content: center;}
.nav-item {
  position: relative;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
}
.nav-link {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  padding: 0 0.15rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.19rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.005rem;
}
.nav-link:hover, .nav-item.active .nav-link { color: #fff; }
.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 0;
  height: 0.03rem;
  background: #C8973E;
  transition: width 0.3s;
}
.nav-item:hover .nav-link:after,
.nav-item.active .nav-link:after { width: calc(100% - 0.32rem); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  -ms-transform: translateX(-50%) translateY(0.08rem);
  transform: translateX(-50%) translateY(0.08rem);
  background: #fff;
  border-radius: 0.08rem;
  box-shadow: 0 0.12rem 0.4rem rgba(0,0,0,0.12);
  padding: 0.08rem 0;
  min-width: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  z-index: 1001;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; -ms-transform: translateX(-50%) translateY(0); transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block;
  padding: 0.12rem 0.28rem;
  color: #1A1A1A;
  text-decoration: none;
  font-size: 0.16rem;
  white-space: nowrap;
  transition: all 0.2s;
  text-align: center;
}
.dropdown a:hover { background: #FDF0EE; color: #9b0d14; }
.header-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.14rem; margin-left: 0.16rem; transition: color 0.2s; }
.header-links a:hover { color: #fff; }

/* Search */
.nav-search {
  margin-left: auto;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  padding-right: .35rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.2rem;
  background: rgba(255,255,255,0.1);
}
.nav-search>input {
  width: 1.4rem;
  height: 0.4rem;
  padding: 0 0.16rem;
  background: none;
  color: #fff;
  font-size: 0.14rem;
  outline: none;
  transition: all 0.3s;
}
.nav-search input::-ms-input-placeholder { color: rgba(255,255,255,0.5); }
.nav-search input::placeholder { color: rgba(255,255,255,0.5); }
.nav-search input:hover {border-color: rgba(255,255,255,0.4); }
.nav-search button {
  width: 0.4rem; height: 0.4rem; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.15); color: #fff; cursor: pointer;
  font-size: 0.16rem; transition: background 0.2s; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-pack: center; justify-content: center;
  margin-left: 0.08rem;
}
.nav-search button:hover { background: rgba(255,255,255,0.25); }

.nav-search .search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: .45rem;
}

.nav-search  .search-btn input {
    display: block;
    width: 100%;
    background: url(../images/search2.svg) no-repeat;
    background-position: center center;
    background-size: .2rem auto;
    height: 100%;
    cursor: pointer;
    border-radius: 14px;
}
.nav-search .search-btn{}
.nav-search .search-btn input{}
/* Mobile toggle */
.mobile-toggle {
  display: none;
  -ms-flex-direction: column;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.08rem;
  margin-left: auto;
}
.mobile-toggle span { width: 0.24rem; height: 0.02rem; background: #fff; border-radius: 1px; transition: all 0.3s; }
.mobile-toggle span + span { margin-top: 0.05rem; }


/* === Footer === */
.footer {
  background: #920f15;
  color: rgba(255,255,255,0.8);
  padding: 0.4rem 0.2rem 0.3rem;
}
.footer-inner {
  max-width: 13.2rem;
  margin: 0 auto;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.footer-info {
  font-size: 0.16rem;
  line-height: 2.2;
  color: rgba(255,255,255,0.7);
  margin: 0 0.6rem;
}
.footer-info p { margin: 0; }
.footer-info strong {
  color: #fff;
  font-weight: 600;
  margin-right: 0.02rem;
}
.footer-logo-left {
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.footer-logo-left img {
  height: 1rem;
  opacity: 0.95;
}
.footer-qr {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  text-align: center;
}
.footer-qr img {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 0.06rem;
  background: #fff;
  padding: 0.04rem;
}
.footer-qr-text {
  font-size: 0.14rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.06rem;
}
.footer-bottom {
  max-width: 13.2rem;
  margin: 0.28rem auto 0;
  padding-top: 0.16rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.15rem;
  opacity: 0.5;
}


.top {
    max-width: 1920px;
    margin: 0 auto;
    position: fixed;
    right: 10px;
    top: 18px;
    width: 25px;
    height: 25px;
    z-index: 9999;
}

.top>img {
    display: block;
    width: 100%;
}

.wap-menu {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99999;
    font-size: 0;
}

.wap-menu img {
    height: 25px;
}

.close-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
}


@media screen and (max-width:1024px) {
    body {
        padding-top: 60px !important;
    }

    .pc {
        display: none !important;
    }

    .wap {
        display: block !important;
    }

    .m-head {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #920f15;
        z-index: 999;
        padding: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    }

    .m-logo {
        font-size: 0;
    }

    .m-logo a {
        font-size: 0;
        line-height: 40px;
        display: block;
    }

    .m-logo img {
        max-height: 40px;
        max-width: 90%;
        vertical-align: middle;
    }

    .m-tlink {
        padding: 10px 15px 0 15px;
        font-size: 0;
    }

    .m-tlink a {
        font-size: 12px;
        margin-right: 5px;
        margin-bottom: 5px;
        color: #fff;
        display: inline-block;
        line-height: 24px;
        background: #fff;
        color: #304174;
        line-height: 24px;
        padding: 0 15px;
        border-radius: 5px;
    }

    .m-search {
        margin: 0 15px;
        padding-right: 50px;
        padding-left: 10px;
        padding-top: 5px;
        padding-bottom: 5px;
        position: relative;
        line-height: 35px;
        /* background: #fff; */
        margin-top: 15px;
        border: 1px solid #fff;
    }

    .m-search input[type="text"] {
        display: block;
        width: 100%;
        line-height: 25px;
        background: none;
        color: #fff;
    }

    .m-search input[type="text"]::placeholder {
        color: #fff;
    }

    .m-search input[type="image"] {
        position: absolute;
        right: 10px;
        top: 10px;
        height: 15px;
    }

    .m-nav {
        position: fixed;
        top: 60px;
        right: -100%;
        bottom: 0;
        z-index: 999;
        background: #920f15;
        overflow-y: scroll;
        width: 100%;
        /* max-width: 375px; */
    }

    .m-nav ul {
        padding: 0 15px;
        /* border-top: 1px solid rgba(255, 255, 255, 0.2); */
    }

    .m-nav ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }

    .m-nav ul li>span.on {
        transform: rotateZ(90deg);
    }

    .m-nav ul li ul {
        display: none;
    }

    .m-nav ul li ul li {
        border: none;
    }

    .m-nav>ul>li a {
        display: block;
        font-size: 14px;
        line-height: 20px;
        padding: 15px 0;
        position: relative;
        color: #fff;
    }

    .m-nav>ul>li ul li a {
        padding: 10px 0;
    }

    .m-nav>ul>li ul li:nth-child(1) a {
        padding-top: 0;
    }

    .m-nav>ul>li>span {
        position: absolute;
        width: 20px;
        height: 20px;
        background: url(../images/m-nav_down.png) no-repeat;
        background-size: 14px 14px;
        background-position: center center;
        right: 0;
        top: 15px;
        cursor: pointer;
        display: block;
        color: #fff;
        transition: all 0.3s;
    }




    .footer {}

    .foot-t {
        display: block;
        padding: .2rem 0;
    }

    .foot-mid {
        margin: .15rem 0
    }

    .foot-l {
        display: block;
    }

    .foot-info dl {
        margin-top: .2rem;
        display: block;
    }

    .foot-info dl dd+dd {
        margin-left: 0;
    }

    .foot-info dl dd+dd::before {
        display: none;
    }

    .foot-logo a img {
        max-height: .6rem;
        max-width: 100%;
        margin: 0 auto;
        height: auto
    }

    .foot-r h3 {
        font-size: .2rem;
        text-align: center;
    }

    .bq {}

    .bq p {
        line-height: .26rem;
        text-align: center
    }






}


 
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-search { display: none; }
  .mobile-toggle { display: -ms-flexbox; display: flex; }
  .footer-info { margin: 0 0.3rem; }
  .footer-inner{display:block;}
  .footer-info p{text-align: center;}
  .footer-logo-left img{
    display: block;
    height: auto;
    max-width: 80%;margin: 0 auto;
  }
}
@media (max-width: 600px) {
  .footer-inner { -ms-flex-direction: column; flex-direction: column; text-align: center; }
  .footer-info { margin: 0.2rem 0; }

}
