@media (max-width: 768px) {
  html {
    font-size: calc(100vw / 18);
  }
}
@media (min-width: 768px) and (max-width: 1358.99px) {
  html {
    font-size: calc(100vw / 19.5);
  }
}
@media (min-width: 1359px) and (max-width: 1401.99px) {
  html {
    font-size: calc(100vw / 19.2);
  }
}
@media (min-width: 1402px) and (max-width: 1681.99px) {
  html {
    font-size: calc(100vw / 18.8);
  }
}
@media (min-width: 1682px) and (max-width: 1921.99px) {
  html {
    font-size: calc(100vw / 19.2);
  }
}
@media (min-width: 1922px) and (max-width: 4000px) {
  html {
    font-size: calc(100vw / 25.6);
  }
}
/* 手机 */
@media (max-width: 768px) {
  /* banner */
  .banner {
    width: 100%;
    height: 100%;
  }
  .banner .sabuubanner {
    width: 100%;
    height: 100%;
  }
  .banner .sabuubanner .con {
    position: relative;
    height: 10rem;
  }
  .banner .sabuubanner .con .mySwiper_banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10rem;
    overflow: hidden;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide {
    width: 100% !important;
    position: relative;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde {
    width: 100%;
    height: 10rem;
    overflow: hidden;
    position: relative;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 100%;
    transition: 0.8s linear 1s;
    transform: scale(1);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #1a74c5, #1a75c5af, #4495e100);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 {
    position: absolute;
    top: 5.33333333rem;
    width: 100%;
    margin: 0 auto;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 h3 {
    width: 100%;
    font-size: 0.93333333rem;
    color: #fff;
    text-align: center;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-duplicate-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con1 {
    display: none;
  }
  /* 数字 */
  .pylight {
    width: 100%;
    height: 100%;
    padding: 10% 5%;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  .pylight .w-1320 {
    width: 100%;
    margin: 0 auto;
  }
  .pylight .w-1320 .shuzizhuanshi {
    display: flex;
    flex-wrap: wrap;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia {
    width: 50%;
    margin-bottom: 1rem;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia .achievement-item {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia .achievement-item .achievement-number {
    width: 100%;
    text-align: center;
    font-size: 1.33333333rem;
    color: #1a74c5;
    font-weight: 600;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia .achievement-item .achievement-text {
    width: 100%;
    text-align: center;
    font-size: 0.53333333rem;
    color: #1a74c5;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia:nth-child(3),
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia:nth-child(4) {
    margin-bottom: 0;
  }
  /* list */
  .product_list {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 10% 5%;
  }
  .product_list .w-1320 {
    width: 100%;
    margin: 0 auto;
  }
  .product_list .w-1320 .samcim {
    display: flex;
    flex-wrap: wrap;
    gap: 1.33333333rem;
  }
  .product_list .w-1320 .samcim .sanci {
    width: 100%;
  }
  .product_list .w-1320 .samcim .sanci a {
    display: block;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0.33333333rem;
    height: 8rem;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 1;
    transition: all 0.5s ease;
    padding: 0.66666667rem;
    text-align: left;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.3);
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-overlay .service-title {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 0.33333333rem;
    text-shadow: 0 0.13333333rem 0.26666667rem rgba(0, 0, 0, 0.5);
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-overlay .service-description {
    color: #ffffff;
    font-size: 0.53333333rem;
    line-height: 1.6;
  }
}
/* pc */
@media (min-width: 768px) {
  /* banner */
  .banner {
    width: 100%;
    height: 7rem;
  }
  .banner .sabuubanner {
    width: 100%;
    height: 100%;
  }
  .banner .sabuubanner .con {
    position: relative;
    height: 100%;
    /* ✅ 不再重复 100vh，跟随父级 */
  }
  .banner .sabuubanner .con .mySwiper_banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* ✅ 跟随父级一屏 */
    overflow: hidden;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper {
    height: 100%;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide {
    width: 100% !important;
    height: 100%;
    position: relative;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde {
    width: 100%;
    height: 7rem;
    overflow: hidden;
    position: relative;
    z-index: 10;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 100%;
    transition: 0.8s linear 1s;
    transform: scale(1);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .tupiandde::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #1a74c5, #1a75c5af, #4495e100);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 {
    position: absolute;
    z-index: 25;
    /* ✅ 关键：top 不能固定 450rem，必须随屏幕高度变化且保证装得下 */
    top: clamp(3.2rem, 38vh, 3.2rem);
    width: 100%;
    margin: 0 auto;
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide .w-1517 h3 {
    text-align: center;
    width: 100%;
    font-size: 0.55rem;
    color: #fff;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con .mySwiper_banner .swiper-wrapper .swiper-slide-duplicate-active .tupiandde img {
    transition: 4.5s linear;
    transform: scale(1.05);
  }
  .banner .sabuubanner .con1 {
    display: none;
  }
  /* 数字 */
  .pylight {
    width: 100%;
    height: 100%;
    padding: 1.1rem 0;
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
  }
  .pylight .w-1320 {
    width: 13.2rem;
    margin: 0 auto;
  }
  .pylight .w-1320 .shuzizhuanshi {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia {
    width: 25%;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia .achievement-item {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia .achievement-item .achievement-number {
    width: 100%;
    text-align: center;
    font-size: 0.6rem;
    color: #1a74c5;
    font-weight: 600;
    margin-bottom: 0.1rem;
  }
  .pylight .w-1320 .shuzizhuanshi .shuzhusiwiheia .achievement-item .achievement-text {
    width: 100%;
    text-align: center;
    font-size: 0.2rem;
    color: #1a74c5;
  }
  /* list */
  .product_list {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 1.1rem 0;
  }
  .product_list .w-1320 {
    width: 13.2rem;
    margin: 0 auto;
  }
  .product_list .w-1320 .samcim {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .product_list .w-1320 .samcim .sanci {
    width: 48.7%;
  }
  .product_list .w-1320 .samcim .sanci a {
    display: block;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 0.12rem;
    height: 4rem;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    opacity: 1;
    transition: all 0.5s ease;
    padding: 0.25rem;
    text-align: left;
    cursor: pointer;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-overlay .service-title {
    color: #ffffff;
    font-size: 0.24rem;
    font-weight: bold;
    margin-bottom: 0.1rem;
    text-shadow: 0 0.02rem 0.04rem rgba(0, 0, 0, 0.5);
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container .service-overlay .service-description {
    color: #ffffff;
    font-size: 0.16rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(0.2rem);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container:hover .service-image {
    transform: scale(1.05);
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container:hover .service-overlay {
    background: #1473cb5e;
    transition: all 0.5s ease;
  }
  .product_list .w-1320 .samcim .sanci a .service-item .service-image-container:hover .service-overlay .service-description {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}
