/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  color: #fff;
  border-radius: 4px;
  transition: 0.3s;
}

.section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
  position: relative;
}

/* .section-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #0052cc;
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
} */

/* 头部 */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo img {
  height: 36px;
}

.nav-list {
  display: flex;
}

.nav-list li {
  margin-left: 30px;
  font-size: 16px;
  color: #333;
  position: relative;
  padding: 10px;
}

.nav-list li.afLine::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 100%;
  top: 0;
  right: -15px;
  background: #F2F2F2;
}

.nav-list li.active,
.nav-list li:hover {
  color: #379FD8;
  font-weight: bold;
}

.mobile-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* banner */
.banner {
  width: 100%;
  color: #fff;
  margin-top: 80px;
}

.banner .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.banner-text h1 {
  font-size: 36px;
  color: #0052cc;
  margin-bottom: 15px;
}

.banner-text h2 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 500;
}

.banner-img {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

/* 关于简介 */
.about-intro {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.about-intro h3 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #333;
}

.about-intro p {
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.8;
  color: #666;
  font-size: 16px;
}

/* 产品 - 已按要求修改：4图单排横排 + 背景图 */
.product {
  padding: 60px 0;
  background: url(https://wkphoto.bj.bcebos.com/7af40ad162d9f2d30b13abb5b9ec8a136327cc6e.jpg) center center no-repeat;
  background-size: cover;
  text-align: center;
}

.product-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.product-item {
  width: 24%;
  min-width: 200px;
  /* background: #fff; */
  /* padding: 20px; */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item .product-item-img {
  width: 100%;
  background: #fff;
  padding: 50px;
}

.product-item img {
  height: 180px;
  object-fit: contain;
  /* margin-bottom: 15px; */
  cursor: pointer;
}

.product-item h4 {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  padding: 10px;
  background: #E8F4FA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item .product-num {
  font-weight: 700;
  margin-right: 10px;
}

/* 资质证书 - 已按要求修改背景图 */
.cert {
  padding: 60px 0;
  background: url(https://wkphoto.bj.bcebos.com/30adcbef76094b36072294b7b3cc7cd98d109d3c.jpg) center center no-repeat;
  background-size: cover;
  text-align: center;
}

.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  /* margin-bottom: 40px; */
  background: #fff;
  padding: 30px;
}

.cert-item {
  width: 300px;
  background-color: #0689CF;
  padding: 10px 8px;
  position: relative;
}

.cert-item img {
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  cursor: pointer;
}

.cert-item p {
  letter-spacing: 0.02em;
  font-size: 16px;
  color: #fff;
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
}

/* 底部 */
.footer {
  background: #222;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-contact p {
  margin-bottom: 10px;
  font-size: 15px;
}

.footer-copy {
  margin-top: 20px;
  font-size: 14px;
  color: #ccc;
}

/* 图片弹窗 */
.img-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.img-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.no-scroll {
  overflow: hidden !important;
}

/* ==================== 二级页面完整样式 ==================== */
.page-banner {
  width: 100%;
  color: #fff;
  margin-top: 80px;
}

.page-banner h2 {
  font-size: 36px;
  font-weight: 500;
}

.page-banner p {
  font-size: 20px;
}

.about-page,
.product-page,
.detail-page,
.cert-page,
.contact-page {
  padding: 60px 0;
}

.about-content h3 {
  margin: 30px 0 15px;
  font-size: 22px;
  color: #0052cc;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 15px;
  color: #333;
}

.history li {
  line-height: 2;
  margin-left: 20px;
  list-style: disc;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  /* box-shadow:0 2px 10px rgba(0,0,0,0.08); */
  transition: 0.3s;
  text-align: center;
  /* padding:20px; */
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  height: 180px;
  object-fit: contain;
  /* margin-bottom:15px; */
  cursor: pointer;
}

.detail-img {
  max-height: 400px;
  margin: 20px auto;
  cursor: pointer;
}

.detail-item h4 {
  margin: 20px 0 10px;
  font-size: 18px;
  color: #0052cc;
}

.detail-item p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.detail-item ul {
  margin-left: 20px;
  line-height: 1.9;
}

.detail-item li {
  list-style: disc;
  margin-bottom: 0px;
}

.detail-item li::marker {
  color: #039887;
  font-size: 24px;
}

.param-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.param-table th,
.param-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.param-table th {
  background: #f5f7fa;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.cert-box img {
  height: 250px;
  object-fit: contain;
  margin-bottom: 15px;
  cursor: pointer;
}

.cert-box h4 {
  font-size: 16px;
  color: #333;
}

.contact-info {
  flex: 1;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 2.2;
  /* margin-bottom: 30px; */
  padding: 20px 0;

}

.map-box img {
  max-width: 100%;
  /* border: 1px solid #ddd;
  cursor: pointer; */
}

.borderbox {
  padding: 20px 40px;
}

.about-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.about-box .about-content {
  width: 100%;

}

.about-box .about-img {
  width: 40%;
  padding: 30px 0 0 30px;
}

.about-box .about-img img {
  max-width: 130%;
}

.timeline-box::after {
  content: "发展历程";
  color: #fff;
  position: absolute;
  right: 0px;
  top: 20px;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.position-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.panation {
  display: flex;
  align-items: center;
  margin-top: 20px;
  justify-content: center;
  gap: 10px;
}

.pagebg {
  height: 40px;
  background: url(../images/img16.png) no-repeat;
  padding: 8px 20px;
  /* border: 1px solid #E4E4E4; */
  border-radius: 5px;
  color: #555555;
  cursor: pointer;
}

.pagebg.activepage {
  color: #9E9E9E;
  cursor: default;
  pointer-events: none;
}

.nums {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-around;
}

.numbg {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-image: url(../images/img17.png);
  background-repeat: no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #555555;
}

.numbg.current {
  cursor: default;
  pointer-events: none;
  background-image: url(../images/img18.png);
}


.img-popup {
  cursor: default;
  pointer-events: none;
}

.gnyy {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.gnyy-l {
  width: 40%
}

.gnyy-r {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px
}

.gnyy1 {
  width: 90%;
}

.gnyy-r1 {
  width: 60%;
  justify-content: space-evenly;
}

.gnyy-r p {
  font-size: 15px;
}

.gnyy-r2 {
  gap: 10px;
  padding: 10px 0 0;
}

.textbox {
  width: 60%;
}

.pzlist {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
  margin-top: 30px;
}

.pzItem {
  width: 47%;
  background: url(../images/img22.png) no-repeat;
  background-size: 100% auto;
  padding: 10px 20px 30px;
  font-size: 16px;
}

.cpjs {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
}

.zjdj {
  display: flex;
  justify-content: space-between;
}

.zyzj {
  width: 70%;
}

.jzddj {
  width: 30%;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 768px) {

  .cpjs,
  .zjdj {
    flex-direction: column;
  }

  .zyzj {
    width: 100%;
  }

  .jzddj {
    width: 100%;
    margin-top: 10px;
  }

  .textbox {
    width: 100%;
  }

  .gnyy {
    width: 100%;
    flex-direction: column;
  }

  .pzItem {
    width: 100%;
    background-size: cover;
  }

  .gnyy-l,
  .gnyy-r {
    width: 100%;
  }

  .gnyy-r {
    margin-top: 20px;
    gap: 10px;
  }

  .nav-list {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .banner-text {
    margin-bottom: 30px;
  }

  .banner-text h1 {
    font-size: 1.1rem;
  }

  .banner-text h2 {
    font-size: 0.6rem;
  }

  .banner-text h3 {
    font-size: 0.8rem;
  }

  .page-banner h2 {
    font-size: 1.1rem;
  }
  
  .page-banner p {
    font-size: 0.6rem;
  }

  .product-list {
    flex-wrap: wrap;
  }

  .product-item,
  .cert-item {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .borderbox {
    padding: 0px;
    overflow-x: auto;
  }

  .about-box {
    display: flex;
    flex-direction: column;
  }

  .about-box .about-content,
  .about-box .about-img {
    width: 100%;
    padding: 0;
  }

  .about-box .about-img img {
    max-width: 100%;
  }

  .timeline-box::after {
    content: "";
  }

  .position-box {
    flex-direction: column;
  }
}