
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}
body {
    background-color: #f9fbfb;
    color: #333;
    line-height: 1.6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul, li {
    list-style: none;
}
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

.section-title {
    font-size: 32px;
    color: #104042;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    letter-spacing: 1px;
}
.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #104042, #1a6669);
    margin: 15px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-top: -40px;
    margin-bottom: 60px;
}
/* 通用按钮 */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: #104042;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #0c3032;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(16, 64, 66, 0.15);
}
/* 通用卡片样式 */
.card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 64, 66, 0.08);
    transition: all 0.4s ease;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(16, 64, 66, 0.12);
}

.core-business, .about-us, .trust-us, .case-list, .product-list, .knowledge-list {
    margin: 80px auto;
}



.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  background: linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
  box-shadow: 0 2px 12px rgba(16, 64, 66, 0.08);
  z-index: 9999;
  border-bottom: 1px solid #e8f5f5;
}
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 40px;
  width: auto;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: #104042;
}
.header-btn {
  padding: 8px 20px;
  background: #104042;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.header-btn:hover {
  background: #0c3032;
}

.nav {
  position: relative; 
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-list > li {
  position: relative; 
  font-size: 21px;
  font-weight: 700;
  color: #333;
  transition: color 0.3s ease;
  padding: 12px 20px;
  white-space: nowrap;
  cursor: pointer;
}
.nav-list > li > a.nav-item {
  color: inherit;
  text-decoration: none;
  display: block; 
}

.nav-list > li:hover, 
.nav-list > li > a.nav-item.active,
.nav-list > li:hover > a.nav-item {
  color: #104042;
}

.nav-list > li::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #104042;
  border-radius: 2px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scaleX(0.8);
}
.nav-list > li:hover::after,
.nav-list > li > a.nav-item.active::after {
  opacity: 1;
  transform: scaleX(1);
}


.nav-list > li > .nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px; 
  background: #fff;
  box-shadow: 0 12px 35px rgba(16,64,66,0.15);
  border-radius: 12px;
  padding: 12px 0;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99999;
  border: 1px solid #e9ecef;
}

.nav-list > li:hover > .nav-sub {
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
}


.nav-sub > li > a.nav-sub-item {
  display: block; 
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #666;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  margin: 2px 0;
}
.nav-sub > li > a.nav-sub-item:hover {
  background: linear-gradient(90deg, #f8fcfc, #e8f5f5);
  color: #104042;
  padding-left: 32px;
}


.mobile-nav-wrap {
  display: none;
  align-items: center;
  gap: 10px;
}

.hamburger-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #daeeef;
  border-radius: 8px;
  border: 1px solid #e8f5f5;
  cursor: pointer;
  color: #104042;
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.hamburger-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.hamburger-btn.close {
  background: #104042;
  color: #ffffff;
  border-color: #104042;
  box-shadow: 0 4px 12px rgba(16,64,66,0.2);
}
.hamburger-btn.close .hamburger-icon {
  font-size: 22px;
  font-weight: bold;
}
.hamburger-btn:hover:not(.close) {
  background: #e8f5f5;
}
.hamburger-btn.close:hover {
  background: #0c3032;
  box-shadow: 0 6px 16px rgba(16,64,66,0.25);
}


.mobile-nav {
  position: fixed;
  top: 80px;
  right: 0;
  width: 280px;
  height: calc(100vh - 80px);
  background: #fff;
  box-shadow: -5px 0 20px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 9998;
  padding: 20px 0;
  overflow-y: auto;
}
.mobile-nav.show {
  transform: translateX(0);
}
.mobile-nav-list {
  padding: 0 20px;
}
.mobile-nav-item {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  padding: 15px 0;
  border-bottom: 1px solid #f1f3f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.mobile-nav-item a {
  color: inherit;
  text-decoration: none;
}
.mobile-nav-arrow {
  font-size: 18px;
  color: #104042; 
  transition: transform 0.3s ease;
}
.mobile-nav-item.active .mobile-nav-arrow {
  transform: rotate(180deg);
}


.mobile-nav-sub {
  padding-left: 15px;
  display: none; 
  border-top: 1px solid #e8f5f5;
  margin-top: 8px;
  padding-top: 8px;
}
.mobile-nav-sub.show {
  display: block;
}

.mobile-sub-close {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 12px 0;
  font-size: 16px;
  color: #0c3032;
  cursor: pointer;
  border-bottom: 1px solid #f8fcfc;
  margin-bottom: 8px;
}
.mobile-sub-close .close-icon {
  width: 24px;
  height: 24px;
  background: #104042;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.mobile-sub-close:hover {
  color: #104042;
  font-weight: 600;
}


.mobile-nav-sub-item {
  padding: 12px 0;
  font-size: 16px;
  color: #666;
  text-decoration: none;
  display: block;
  font-weight: 600;
}
.mobile-nav-sub-item:hover {
  color: #104042;
}

.mobile-header-btn {
  display: block;
  margin: 20px;
  padding: 12px;
  background: #104042;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
}


@media (max-width: 991px) {

  .nav {
    display: none;
  }
  .header-btn {
    display: none;
  }
  .mobile-nav-wrap {
    display: block;
  }
  .hamburger-btn {
    display: flex !important;
  }
}
@media (min-width: 992px) {
  .hamburger-btn {
    display: none !important;
  }
}

.mobile-header-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: #104042;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    margin-top: 20px;
    transition: all 0.3s ease; 
}
.mobile-header-btn:hover {
    background: #0c3032;
    box-shadow: 0 4px 12px rgba(16,64,66,0.15);
}

.hero {
    width: 100%;
    height: 100vh;
    min-height: 650px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 25px;
    margin-top: 80px;

    background-color: #104042;
    background: linear-gradient(rgba(16,64,66,0.7), rgba(16,64,66,0.7)), url('/assets/img/hero/hero-hupo-caozhong.webp') center center / cover no-repeat;
    color: #fff;
}
.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #f9fbfb);
}
.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.hero-desc {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}
.hero-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-btn-primary {
    padding: 16px 45px;
    background: #fff;
    color: #104042;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.hero-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
    background: #f0f0f0;
}
.hero-btn-outline {
    padding: 16px 45px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: all 0.4s ease;
}
.hero-btn-outline:hover {
    background: #fff;
    color: #104042;
    transform: translateY(-5px);
}

/* 新增：移动端适配 */
@media (max-width: 768px) {
    .hero {
        height: 80vh;
        min-height: 500px;
        margin-top: 60px;
    }
    .hero-title {
        font-size: 32px;
        line-height: 1.3;
    }
    .hero-desc {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .hero-btn-primary, .hero-btn-outline {
        padding: 14px 30px;
        font-size: 16px;
    }
}
/* ====================== 3. 核心业务板块 ====================== */
.core-business .business-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.core-business .business-card {
    padding: 40px 30px;
    border-top: 4px solid #104042;
    display: flex;
    flex-direction: column;
    position: relative;
}
.core-business .business-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #104042, #2a999e);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.core-business .business-card:hover::before {
    opacity: 1;
}
.core-business .card-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    z-index: 1;
}
.core-business .card-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.core-business .card-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}
.core-business .card-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}
.core-business .card-name {
    font-size: 28px;
    color: #104042;
    font-weight: 700;
}
.core-business .sub-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    width: 100%;
    margin-bottom: 20px;
}
.core-business .sub-item {
    background: #f8fcfc;
    border-radius: 8px;
    padding: 18px 16px;
    transition: all 0.3s ease;
}
.core-business .sub-item:hover {
    background: #e8f5f5;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(16, 64, 66, 0.05);
}
.core-business .sub-item-name {
    font-size: 20px;
    color: #104042;
    font-weight: 600;
    margin-bottom: 8px;
}
.core-business .sub-item-desc {
    font-size: 16px;
    color: #666;
}
.core-business .sub-item-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 15px;
    color: #1a6669;
    font-weight: 500;
}
.core-business .sub-item-link:hover {
    color: #104042;
    text-decoration: underline;
}
.core-business .img-box {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.core-business .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.core-business .business-card:hover .img-box img {
    transform: scale(1.03);
}
.core-business .img-box-1 { height: 80px; }
.core-business .img-box-2 { height: 220px; }
.core-business .img-box-3 { height: 180px; }

/* ====================== 4. 关于我们板块 ====================== */
.about-us .about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(16, 64, 66, 0.08);
    padding: 60px;
    overflow: hidden;
    position: relative;
}
.about-us .about-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #104042, #2a999e);
}
.about-us .about-content {
    z-index: 1;
}
.about-us .about-title {
    font-size: 36px;
    color: #104042;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}
.about-us .about-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #104042;
    margin-top: 15px;
    border-radius: 2px;
}
.about-us .about-text {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}
.about-us .feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.about-us .feature-item {
    display: flex;
    align-items: center;
    background: #f8fcfc;
    border-radius: 10px;
    padding: 15px 20px;
}
.about-us .feature-icon {
    width: 40px;
    height: 40px;
    background: #104042;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}
.about-us .feature-text {
    font-size: 16px;
    color: #104042;
    font-weight: 600;
}
.about-us .about-img {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
}
.about-us .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.about-us .about-container:hover .about-img img {
    transform: scale(1.05);
}

/* ====================== 6. 精品工程案例区 ====================== */
.case-list .case-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}
.case-list .case-card {
    position: relative;
}
.case-list .case-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.case-list .case-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.case-list .case-card:hover .case-img img {
    transform: scale(1.05);
}
.case-list .case-content {
    padding: 30px;
}
.case-list .case-title {
    font-size: 22px;
    color: #104042;
    font-weight: 700;
    margin-bottom: 15px;
}
.case-list .case-desc {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-list .case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.case-list .case-tag {
    padding: 5px 15px;
    background: #f8fcfc;
    color: #104042;
    font-size: 14px;
    border-radius: 20px;
}
.case-list .case-more {
    text-align: center;
    margin-top: 50px;
}

/* ====================== 7. 核心种子产品区 ====================== */
.product-list .product-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.product-list .product-card {
    padding: 30px;
    text-align: center;
}
/* 圆图核心：等宽高+50%圆角+溢出隐藏，保留原有尺寸 */
.product-list .product-img {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fcfc;
    /* 强制保证容器为正圆，避免布局影响 */
    flex-shrink: 0;
}
.product-list .product-img img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    transition: transform 0.4s ease;
}
.product-list .product-card:hover .product-img img {
    transform: scale(1.1);
}
.product-list .product-title {
    font-size: 20px;
    color: #104042;
    font-weight: 600;
    margin-bottom: 10px;
}
.product-list .product-desc {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    min-height: 45px;
}
.product-list .product-adapt {
    font-size: 14px;
    color: #1a6669;
    margin-bottom: 20px;
    font-weight: 500;
}
/* ====================== 8. 行业干货知识区 ====================== */
.knowledge-list .knowledge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
}
.knowledge-list .knowledge-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 25px;
    align-items: center;
}
.knowledge-list .knowledge-img {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
}
.knowledge-list .knowledge-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.knowledge-list .knowledge-title {
    font-size: 18px;
    color: #104042;
    font-weight: 600;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}
.knowledge-list .knowledge-card:hover .knowledge-title {
    color: #1a6669;
}
.knowledge-list .knowledge-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.knowledge-list .knowledge-time {
    font-size: 13px;
    color: #999;
}
.knowledge-list .knowledge-more {
    text-align: center;
    margin-top: 50px;
}
/* ====================== 9. 底部转化兜底区 ====================== */
.footer {
    background: #104042;
    color: #fff;
    padding: 80px 0 30px;
    margin-top: 100px;
}
.footer .footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}
.footer .footer-logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.footer .footer-logo img {
    height: 40px;
    margin-right: 15px;
}
.footer .footer-desc {
    font-size: 16px;
    color: #ccecec;
    line-height: 1.8;
    margin-bottom: 30px;
}
.footer .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}
.footer .contact-item i {
    font-size: 20px;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}
.footer .footer-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a6669;
}
.footer .footer-nav li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #ccecec;
    transition: color 0.3s ease;
}
.footer .footer-nav li:hover {
    color: #fff;
    transform: translateX(5px);
}
.footer .qrcode-box {
    display: flex;
    gap: 20px;
    /* 新增：保证双列居中，不空 */
    justify-content: center;
    align-items: flex-start;
}
.footer .qrcode-item {
    text-align: center;
    /* 新增：控制宽度，双列对称 */
    flex: 1;
    max-width: 120px;
}
.footer .qrcode-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    padding: 5px;
    /* 新增：电话图标和二维码尺寸一致，不变形 */
    object-fit: cover;
}
.footer .qrcode-item p {
    font-size: 14px;
    color: #ccecec;
    /* 新增：行高优化，文字不拥挤 */
    line-height: 1.4;
    margin: 0 0 4px 0;
}
.footer .copyright {
    text-align: center;
    font-size: 14px;
    color: #99cccc;
    padding-top: 30px;
    border-top: 1px solid #1a6669;
}
footer .qrcode-item .qrcode-s{
    font-size: 12px;
    color: #99cccc;
    margin: 0;
}
/* ====================== 响应式适配（统一断点、无冲突） ====================== */
/* 大屏桌面端 (1200px以下) */
@media (max-width: 1200px) {
    .container { padding: 0 20px; }
    .section-title { font-size: 28px; }
    .section-subtitle { font-size: 18px; }
    
    /* 头部 */
    .nav-list { gap: 25px; }
    
    /* 英雄区 */
    .hero-title { font-size: 46px; }
    
    /* 核心业务 */
    .core-business .business-cards { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
    .core-business .img-box-1 { height: 70px; }
    .core-business .img-box-2 { height: 190px; }
    .core-business .img-box-3 { height: 160px; }
    
    /* 案例/知识 */
    .case-list .case-cards, .knowledge-list .knowledge-cards { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 25px; }
    
    /* 底部 */
    .footer .footer-container { grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
    .footer .qrcode-box { flex-direction: gap: 15px; }
}

/* 平板端 (992px以下) */
@media (max-width: 992px) {
    /* 头部 */
    .nav-list, .header-btn { display: none; }
    .hamburger { display: flex; }
    
    /* 英雄区 */
    .hero-title { font-size: 40px; }
    .hero-desc { font-size: 18px; }
}

/* 小平板/大手机 (768px以下) */
@media (max-width: 768px) {
    /* 全局 */
    .card:hover { transform: translateY(0); box-shadow: 0 8px 24px rgba(16, 64, 66, 0.08); }
    .core-business, .about-us, .trust-us, .case-list, .product-list, .knowledge-list { margin: 60px auto; }
    
    /* 头部 */
    .header-container { height: 70px; }
    .logo img { height: 40px; }
    .logo-text { font-size: 18px; }
    
    /* 英雄区 */
    .hero { margin-top: 70px; min-height: 600px; }
    .hero-title { font-size: 34px; margin-bottom: 20px; }
    .hero-desc { font-size: 17px; margin-bottom: 30px; }
    .hero-btn-primary, .hero-btn-outline { padding: 14px 35px; font-size: 17px; }
    
    /* 核心业务 */
    .core-business .business-cards { grid-template-columns: 1fr; gap: 25px; }
    .core-business .business-card { padding: 35px 25px; }
    .core-business .card-name { font-size: 26px; }
    .core-business .sub-item-name { font-size: 19px; }
    .core-business .img-box-1 { height: 60px; }
    .core-business .img-box-2 { height: 160px; }
    .core-business .img-box-3 { height: 140px; }
    
    /* 关于我们 */
    .about-us .about-container { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        padding: 30px; 
    }
    .about-us .about-title { font-size: 30px; }
    .about-us .about-text { font-size: 16px; }
    .about-us .feature-list { grid-template-columns: 1fr; }
    .about-us .about-img { height: 250px; }
    
    /* 实力信任 */
    .trust-us .trust-cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
    .trust-us .cert-list { gap: 20px; padding: 20px; }
    .trust-us .cert-item { width: 100px; height: 70px; }
    
    /* 产品 */
    .product-list .product-cards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
    
    /* 案例/知识 */
    .case-list .case-cards, .knowledge-list .knowledge-cards { grid-template-columns: 1fr; gap: 25px; }
    .knowledge-list .knowledge-card { grid-template-columns: 1fr; gap: 15px; }
    .knowledge-list .knowledge-img { height: 150px; }
    
    /* 底部 */
    .footer { padding: 60px 0 20px; }
    .footer .footer-container { grid-template-columns: 1fr 1fr; gap: 30px; }
}

/* 手机端 (480px以下) */
@media (max-width: 480px) {
    /* 全局 */
    .container { padding: 0 15px; }
    .section-title { font-size: 26px; margin-bottom: 30px; }
    .section-subtitle { font-size: 16px; margin-top: -20px; margin-bottom: 40px; }
    .btn-primary { padding: 10px 25px; font-size: 15px; }
    
    /* 核心业务 */
    .core-business .business-card { padding: 30px 20px; }
    .core-business .card-icon { width: 70px; height: 70px; }
    .core-business .card-name { font-size: 24px; }
    .core-business .sub-item { padding: 16px 14px; }
    .core-business .sub-item-name { font-size: 18px; }
    .core-business .img-box-1 { height: 50px; }
    .core-business .img-box-2 { height: 140px; }
    .core-business .img-box-3 { height: 120px; }
    
    /* 关于我们 */
    .about-us .about-container { padding: 25px; }
    .about-us .about-title { font-size: 26px; }
    
    /* 实力信任 */
    .trust-us .trust-cards { grid-template-columns: 1fr; }
    .trust-us .cert-item { width: 90px; height: 60px; }
    
    /* 产品 */
    .product-list .product-cards { grid-template-columns: 1fr; }
    
    /* 英雄区 */
    .hero-title { font-size: 28px; }
    .hero-desc { font-size: 16px; }
    .hero-btns { flex-direction: column; gap: 15px; }
    .hero-btn-primary, .hero-btn-outline { width: 100%; max-width: 280px; }
    
    /* 底部 */
    .footer { padding: 50px 0 20px; margin-top: 80px; }
    .footer .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer .footer-logo { font-size: 28px; }
}
    /* 资质板块容器 */
    .company-credential {
        width: 100%;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.06);
        padding: 25px;
        margin-bottom: 30px;
        border-left: 4px solid #104042;
    }

    /* 板块标题 */
    .credential-title {
        font-size: 18px;
        color: #104042;
        font-weight: bold;
        margin-bottom: 20px;
        text-align: center;
    }

/* 资质板块容器（最大宽度1400px） */
.company-credential {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 资质图片组（PC端自适应，移动端强制2列） */
.credential-images {
    display: grid;
    /* PC端：自动适配列数，最小宽度120px */
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

/* 移动端适配（强制一行2个卡片） */
@media (max-width: 768px) {
    .company-credential {
        max-width: 100%;
    }
    .credential-images {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .credential-images {
        gap: 10px;
    }
}

    /* 资质图片卡片（适配竖图+防变形） */
    .credential-item {
        text-align: center;
    }
    .credential-img {
        width: 100%;
        height: 100px;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid #f0f5f5;
        margin-bottom: 8px;
        cursor: pointer;
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .credential-img:hover {
        transform: scale(1.05);
        border-color: #104042;
    }
    .credential-img img {
        width: auto;
        height: 100%;
        max-width: 100%;
        padding: 5px;
        box-sizing: border-box;
        object-fit: contain;
    }
    .credential-name {
        font-size: 12px;
        color: #333;
        line-height: 1.4;
    }

    /* 核心保障文字 */
    .credential-security {
        font-size: 14px;
        color: #666;
        line-height: 1.8;
        text-align: center;
        padding-top: 15px;
        border-top: 1px solid #f8fcfc;
    }
    .credential-security strong {
        color: #104042;
    }

    /* 移动端适配（核心：强制一行2个卡片） */
    @media (max-width: 768px) {
        .company-credential {
            padding: 20px;
        }
        /* 移动端强制2列布局，不再自适应 */
        .credential-images {
            grid-template-columns: repeat(2, 1fr) !important; 
            gap: 15px; /* 增大间距，避免卡片拥挤 */
        }
        .credential-img {
            height: 90px; /* 微调高度，适配2列 */
        }
        .credential-title {
            font-size: 16px;
        }
    }

    /* 小屏手机（480px以下）仍保持2列，仅微调内边距 */
    @media (max-width: 480px) {
        .company-credential {
            padding: 15px;
        }
        .credential-images {
            gap: 10px;
        }
        .credential-img {
            height: 80px;
        }
        .credential-security {
            font-size: 13px;
        }
    }

    /* 弹窗样式（适配竖图+移动端） */
    .img-modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.8);
        z-index: 9999;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }
    .img-modal.active {
        display: flex;
    }
    .modal-content {
        max-width: 90%;
        max-height: 90%;
        width: auto;
        height: auto;
        border-radius: 8px;
        object-fit: contain;
    }
    .close-modal {
        position: absolute;
        top: 20px;
        right: 30px;
        color: #fff;
        font-size: 30px;
        cursor: pointer;
        z-index: 10000;
    }
    /* 移动端弹窗关闭按钮适配 */
    @media (max-width: 480px) {
        .close-modal {
            font-size: 24px;
            top: 15px;
            right: 20px;
        }
    }


.back-to-top:hover {
    background: #0c3032;
    transform: translateY(-2px);
}
.back-to-top.show {
    display: block;
}

    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 8px 15px;
        font-size: 13px;
    }  
    
    
    
    .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 10px 18px;
    background: #104042;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    z-index: 999;
}
.back-to-top:hover {
    background: #0c3032;
    transform: translateY(-2px);
}
.back-to-top.show {
    display: block;
}












