/* 产品中心页面样式 */

.product-page {
  width: 100%;
  background-color: #fff;
  min-height: 100vh;
}

/* Banner区域 */
.product-banner {
  position: relative;
  width: 100%;
  height: 84rem;
  overflow: hidden;
}

.product-banner .banner-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-banner .banner-swiper .swiper-wrapper {
  height: 100%;
}

.product-banner .banner-swiper .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.product-banner .banner-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 单张banner图片样式 */
.product-banner .banner-single {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.product-banner .banner-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Banner内容文字 */
.banner-content {
  position: absolute;
  top: 16.45rem;
  left: 26rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 1s ease, transform 1s ease;
}

.banner-content.show {
  opacity: 1;
  transform: translateY(0);
}

.banner-title-primary {
  font-size: 6.4rem;
  color: #fff;
  font-weight: bold;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.banner-title-secondary {
  font-size: 4.8rem;
  color: #fff;
  font-weight: normal;
  margin: 5rem 0 0 0;
  padding: 0;
  line-height: 1.2;
}

/* Banner分页 */
.banner-pagination {
  display: flex;
  position: absolute;
  bottom: 4.7rem;
  left: 26rem;
  z-index: 2;
}

.banner-pagination .swiper-pagination-bullet {
  width: 2rem;
  height: 2rem;
  background: url('../img/sd/home_slices/normal.png') no-repeat center;
  background-size: contain;
  border-radius: 0;
  opacity: 1;
  margin: 0;
  transition: all 0.3s ease;
}

.banner-pagination .swiper-pagination-bullet.active {
  background: url('../img/sd/home_slices/press.png') no-repeat center;
  background-size: contain;
  transform: scale(1.1);
}

/* Tabs导航 - 与banner重叠50% */
.product-tabs {
  position: relative;
  bottom: 5rem; /* 重叠50%，tabs高度10rem的一半 */
  left: 0;
  right: 0;
  height: 10rem;
  max-width: 140rem;
  margin: 0 auto;
  padding: 1.2rem;
  background: linear-gradient(180deg, #F5FAFF 0%, #EEF6FF 33.33%, #E1F2FF 66.66%, rgba(238, 246, 255, 0.8) 100%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.2rem;
  overflow: hidden;
}

.tabs-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  width: 100%;
  height: 100%;
}

.tabs-list li {
  margin: 0;
  padding: 0;
  flex: 1 1 auto; /* 每个 tab 均分宽度，自适应容器 */
  display: flex;
}

.tab-link {
  display: block;
  width: 100%; /* 链接铺满 li，点击区域更大 */
  text-align: center;
  color: #000;
  font-size: 2.8rem;
  font-weight: bold;
  text-decoration: none;
  /* 内边距 12px ≈ 1.2rem */
  padding: 1.2rem;
  transition: all 0.3s ease;
  border-bottom: 0.2rem solid transparent;
  cursor: pointer;
  border-radius: 0.2rem;
}

.tab-link:hover {
  color: #0052D9;
}

.tab-link.active {
  color: #0052D9;
  background-color: #fff;
  border-radius: 0.2rem;
  /* 保持与普通状态一致的内边距，避免宽度跳变 */
  padding: 1.2rem;
  border-bottom: none;
}

/* 产品内容区域 */
.product-content {
  width: 100%;
  max-width: 192rem;
  margin: 0 auto;
  padding: 8rem 0rem;
  background-color: #fff;
  margin-top: -5rem;
}

/* 成功案例列表样式 */
.case-list {
  max-width: 140rem;
  margin: 0 auto;
}

.case-item {
  display: flex;
  gap: 4.2rem;
  align-items: flex-start;
  margin-bottom: 6rem;
}

.case-item-image {
  flex-shrink: 0;
  width: 94.5rem;
  height: 53.2rem;
}

.case-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-item-content {
  flex: 1;
}

.case-item-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #1B1B1B;
  margin: 0 0 2rem 0;
  padding-bottom: 1rem;
  position: relative;
}

.case-item-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 6rem;
  height: 0.6rem;
  background-color: #0052D9;
  border-radius: 0.3rem;
}

.case-item-text {
  font-size: 2rem;
  line-height: 4.2rem;
  color: #1B1B1B;
}

/* 成功案例第二个栏目样式 - 客户价值 */
.case-list-2 {
    position: relative;
    width: 100%;
    min-height: 70rem; /* 700px */
    overflow: hidden;
    background: url('../img/sd/成功案例-产品内页v2_slices/编组 4.png') no-repeat center;
    background-size: cover;
}

.case-value-bg {
    display: none; /* 隐藏背景图容器，使用CSS背景图 */
}

.case-value-row {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
    justify-content: space-around; /* 竖向两端自适应 */
    gap: 1rem;
        min-height: 70rem; /* 700px */
}

.case-value-item {
    display: flex;
    align-items: center; /* 内容靠左对齐 */
    justify-content: flex-start;
    text-align: left;
    padding-left: 26rem;
}

.case-value-item:last-child {
    margin-bottom: 0;
}

.case-value-icon {
    width: 11.8rem; /* 118px */
    height: 11.8rem; /* 118px */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
}

.case-value-icon img {
    width: 11.8rem; /* 118px */
    height: 11.8rem; /* 118px */
    object-fit: contain;
}

.case-value-text {
    font-size: 2rem;
    line-height: 3.2rem;
    color: #fff;
    text-shadow: 0 0.2rem 0.4rem rgba(0, 0, 0, 0.5);
    flex: 1;
    font-weight: 500;
    max-width: 80.5rem; /* 文本宽度794px */
}

.product-section {
  margin-bottom: 12rem;
  scroll-margin-top: 15rem; /* 用于锚点定位时的偏移 */
}

.product-section:last-child {
  margin-bottom: 0;
}

/* 栏目标题 */
.section-header {
  text-align: center;
  margin-bottom: 6rem;
}

.section-en {
  display: block;
  font-size: 3.2rem;
  color: #AFB8BF;
  font-weight: bold;
  margin-bottom: 2rem;
  letter-spacing: 0.2rem;
}

.section-header .line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.section-header .line img {
  margin: 0 1.3rem;
}

.section-cn {
  font-size: 3.6rem;
  color: #000;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

/* 移动端适配：缩小section-header字号 */
@media(max-width:768px) {
  .section-en {
    font-size: 2.0rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .section-cn {
    font-size: 2.0rem !important;
  }
  
  .section-header {
    margin-bottom: 3rem !important;
  }
  
  /* 缩小产品悬浮文字字号和降低高度 */
  .product-overlay {
    height: 4.4rem !important;
  }
  
  .product-overlay p {
    font-size: 1.6rem !important;
  }
  
  /* 降低hover效果的高度 */
  .product-item:hover .product-overlay {
    height: 6.4rem !important;
  }
}

/* 产品网格 */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 140rem;
  margin: 0 auto;
  gap: 2rem;
}

/* Swiper 模式下的特殊样式 */
.product-grid.swiper {
  display: block;
  width: 140rem;
  margin: 0 auto;
}

.product-grid.swiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 4rem;
  justify-content: center;
}

/* 轮播初始化完成后，将幻灯片对齐方式改为左对齐 */
.product-grid.swiper.swiper-initialized .swiper-wrapper {
  justify-content: flex-start;
  gap: 3rem;
}

.product-grid.swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

/* 确保 swiper-slide 内的 product-item 宽高正确 */
.product-grid.swiper .swiper-slide.product-item {
  width: 68rem !important;
  height: 43.2rem;
  margin-right: 0 !important;
}

/* 产品项 */
.product-item {
  position: relative;
  width: 68rem;
  height: 43.2rem;
  overflow: hidden;
  border-radius: 0.8rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
}

.product-item:hover {
  transform: translateY(-0.5rem) scale(1.02);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.product-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover;
  display: block;
}

/* 产品悬浮文字 */
.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5.6rem;
  background-color: rgba(0, 7, 38, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  box-sizing: border-box;
  transition: height 0.3s ease, background-color 0.3s ease;
}

.product-overlay p {
  color: #fff;
  font-size: 2rem;
  margin: 0;
  padding: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  transition: transform 0.3s ease;
}

.product-item:hover .product-overlay {
  height: 8rem;
  background-color: rgba(0, 82, 217, 0.9);
}

.product-item:hover .product-overlay p {
  transform: scale(1.05);
}

.product-grid.swiper .swiper-slide .product-item {
  width: 45rem;
  height: 28.6rem;
}

/* 动画元素初始状态 - 只对未应用动画类的元素设置隐藏 */
.product-content [data-animate]:not(.animate__animated) {
  opacity: 0;
  /* will-change: opacity, transform; */
}

/* 动画执行后保持可见状态 */
.product-content [data-animate].animate__animated {
  opacity: 1 !important;
}

/* 产品详情页面 - 产品介绍栏目 */
.product-intro-section {
  position: relative;
}

.product-intro-content {
  width: 100%;
  margin-top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  padding-right: 20rem;
  box-sizing: border-box;
}

.product-intro-image {
  width: 90.7rem;
  height: 51rem;
  z-index: 2;
  margin-left: calc(-23.4rem); /* 使用margin-left代替transform，避免动画冲突，向左偏移60%宽度 */

}

.product-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  
  border-radius: 1rem;
}

.product-intro-text {
  position: relative;
  width: 108rem;
  padding: 10rem 3.6rem 6rem;
  background-color: #D6E9FB;
  z-index: 1;
  margin-left: -50rem; /* 左右重叠900px */
  margin-top: calc(51rem - 8rem); /* 上下重叠80px：图片高度38rem - 重叠8rem */
  flex-shrink: 0;
  
  border-radius: 1rem;
}

.intro-title {
  font-size: 3.6rem;
  color: #000;
  font-weight: bold;
  margin: 0 0 3rem 0;
  padding: 0;
}

.intro-paragraphs {
  font-size: 1.8rem;
  color: #333;
  line-height: 3.2rem;
}

.intro-paragraphs p {
  margin: 0 0 2rem 0;
  padding: 0;
}

.intro-paragraphs p:last-child {
  margin-bottom: 0;
}

/* 客户价值部分 - 参考首页行业优势 */
.customer-value-list {
  display: flex;
  width: 100%;
  min-height: 67.9rem; /* 679px */
  margin-top: 8rem;
  background-color: transparent;
  position: relative;
}

.customer-value-item {
  flex: 1;
  position: relative;
  padding: 10rem 7.6rem 6rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: transparent;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
  transition: all 0.5s ease;
}
.customer-value-item:hover {
  background: rgba(0, 0, 0, 0);
}
/* 第一个栏目：图片背景，文字悬浮 */
.customer-value-item-first {
  /* background: transparent; */
  padding: 0;
}

.customer-value-item:not(.customer-value-item-first) {
  padding: 0;
}
.customer-value-list .value-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.customer-value-item .value-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.customer-value-item-first .value-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.customer-value-item-first .value-icon {
  position: absolute;
  top: 11rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  width: 18rem;
  height: 18rem;
}

.customer-value-item-first .value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customer-value-item-first .value-content {
  position: absolute;
  top: calc(11rem + 18rem + 8rem);
  left: 9.5rem;
  right: 9.5rem;
  z-index: 2;
  font-size: 2.8rem;
  line-height: 5.6rem;
  color: #fff;
  max-height: calc(5.6rem * 5);
  /* overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical; */
}
.customer-value-item-first .value-content::-webkit-scrollbar {
  width: 0.5rem;          /* 纵向滚动条宽度 */
}
.customer-value-item:last-child {
  border-right: none;
}

.customer-value-item .value-icon {
  position: absolute;
  top: 11rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 18rem;
  height: 18rem;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.customer-value-item .value-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.customer-value-item .value-number {
  font-size: 7.2rem;
  font-weight: bold;
  color: #fff;
  margin: 2rem 0 3rem 0;
  line-height: 1;
  text-shadow: 0 0 3rem rgba(0, 130, 255, 0.9);
  letter-spacing: 0.1rem;
  position: relative;
}

.customer-value-item .value-number::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.8rem;
  height: 80%;
  background: linear-gradient(180deg, rgba(0, 130, 255, 0.8) 0%, rgba(0, 130, 255, 0.4) 100%);
  box-shadow: 0 0 2rem rgba(0, 130, 255, 0.6);
}

.customer-value-item .value-content {
  position: absolute;
  top: calc(67.8rem - 3.8rem * 5 - 10px);
  left: 7%;
  z-index: 2;
  font-size: 2rem;
  line-height: 3.8rem;
  color: #fff;
  max-height: calc(3.8rem * 5);
  overflow-y: auto;
  width: 86%;
  /* text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical; */
}

/* 产品能力部分 */
.product-capability-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

/* PC端默认隐藏移动端产品能力图标 */
.product-capability-icons-mobile {
  display: none;
}

.product-capability-icons::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.capability-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.capability-icon-item img {
  width: 18rem;
  height: 18rem;
  object-fit: contain;
  margin-bottom: 2rem;
}

.capability-icon-item span {
  font-size: 2.8rem;
  color: #000;
}

/* 产品能力图标动画初始状态 */
.product-detail-content .capability-icon-item[data-animate]:not(.animate__animated) {
  opacity: 0;
  will-change: opacity, transform;
}

/* 服务介绍部分 */
.product-services {
  display: flex;
  justify-content: center;
  align-items:center;
  gap: 0;
  position: relative;
  margin-top: 4rem;
  height: 25.4rem;
}

.service-item {
  position: relative;
  padding: 2.8rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.service-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  object-fit: cover;
}

.service-item-small {
  width: 47.2rem;
  height: 19.1rem;
}

.service-item-large {
  width: 57.8rem;
  height: 25.4rem;
  z-index: 12;
}

.service-item-first {
  z-index: 3;
  margin-right: -6rem;
  padding-right: 8rem;
}

.service-item-third {
  z-index: 3;
  margin-left: -6rem;
  padding-left: 8rem;
}

.service-title {
  display: flex;
  align-items: center;
  font-size: 2rem;
  line-height: 3.8rem;
  color: #000;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
  font-weight: bold;
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin-right: 1rem;
  object-fit: contain;
}

.service-content {
  font-size: 1.6rem;
  color: #000;
  line-height: 2.8rem;
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
}

/* 服务介绍动画初始状态 */
.product-detail-content .service-item[data-animate]:not(.animate__animated) {
  opacity: 0;
  will-change: opacity, transform;
}


/* 响应式设计 */
/* @media (max-width: 1440px) {
  .product-grid {
    max-width: 120rem;
    gap: 1.5rem;
  }
  
  .product-item {
    width: 60rem;
    height: 38rem;
  }
  
  .banner-content {
    left: 20rem;
  }
} */

/* @media (max-width: 1200px) {
  .product-grid {
    max-width: 108rem;
    gap: 1.5rem;
  }
  
  .product-item {
    width: 54rem;
    height: 34.2rem;
  }
  
  .banner-content {
    left: 15rem;
  }
  
  .banner-title-primary {
    font-size: 5.6rem;
  }
  
  .banner-title-secondary {
    font-size: 4rem;
  }
} */

@media (max-width: 768px) {
  .product-banner {
    height: 33rem;
  }

  /* 移动端隐藏产品tabs */
  .product-tabs {
    display: none !important;
  }

  /* 确保产品页面所有容器在移动端都自适应宽度 */
  .product-page,
  .product-banner,
  .product-content,
  .product-section,
  .product-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  /* 移动端产品项宽度设为100% */
  .product-grid.swiper .swiper-slide.product-item {
    width: 100% !important;
    height: auto !important;
  }

  /* 移动端移除swiper-wrapper的gap值，避免栏目切换异常 */
  .product-grid.swiper .swiper-wrapper {
    gap: 0 !important;
  }

  .product-intro-image {
    width: 100%;
    margin-left: 0;
    height: auto;
  }
  
  .product-intro-image img {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    object-fit: cover;
    border-radius: 0.2rem;
  }

  .product-intro-text {
    width: calc(100% - 4rem);
    margin-left: 0;
    padding: 2rem;
    margin: 2rem auto;
      border-radius: 0.2rem;
  }
  
  /* 设置产品介绍内容为上下布局 */
  .product-intro-content {
    padding-right: 0;
    flex-direction: column;
    align-items: center;
  }

  .intro-title {
    font-size: 1.8rem;
  }

  .intro-paragraphs {
    font-size: 1.6rem;
    line-height: 2.8rem;
  }
  
  .banner-content {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center;
    padding: 0 2rem !important;
  }
  
  .banner-title-primary {
    font-size: 4rem;
  }
  
  .banner-title-secondary {
    font-size: 3rem;
    margin-top: 3rem;
  }
  
  .product-tabs {
    height: 10rem;
  }
  
  .tabs-list {
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
  }
  
  .tab-link {
    font-size: 2rem;
    font-weight: bold;
    padding: 0.8rem 1.6rem;
  }
  
  .tab-link.active {
    padding: 2rem 5rem;
  }
  
  .product-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .product-item {
    width: 100%;
    height: auto;
    aspect-ratio: 680 / 432;
  }
  
  .product-content {
    padding:0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  .product-section {
    margin-bottom: 8rem;
  }

  /* 客户价值部分移动端样式调整 */
  .customer-value-list {
    flex-direction: column;
    min-height: auto;
    margin-top: 0;
  }

  .customer-value-item {
    flex-direction: row;
    align-items: center;
    padding: 4rem 2rem;
    min-height: 15rem;
    background: transparent;
  }
.customer-value-item:not(.customer-value-item-first) {
 padding: 4rem 2rem;
  }
  .customer-value-list .value-bg-image,
  .customer-value-item .value-bg-image,
  .customer-value-item-first .value-bg-image {
        width: 0;
    height: 0;
    /* transform: rotate(90deg); */
    width: 100vw;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
  }

  /* 调整value-icon和value-content的布局为横向 */
  .customer-value-item-first .value-icon,
  .customer-value-item .value-icon {
    position: static;
    transform: none;
    margin-right: 2rem;
    width: 8rem;
    height: 8rem;
    flex-shrink: 0;
  }

  .customer-value-item-first .value-content,
  .customer-value-item .value-content {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: auto;
    flex: 1;
    font-size: 1.4rem;
    line-height: 2.4rem;
  }

  /* 产品能力图标移动端样式 */
  .product-capability-icons-pc {
    display: none;
  }

  .product-capability-icons-mobile {
    display: block;
  }

  .capability-swiper {
    width: 100%;
    overflow: hidden;
  }

  .capability-swiper .swiper-wrapper {
    display: flex;
  }

  .capability-swiper .swiper-slide {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .capability-swiper .capability-icon-item {
    padding: 2rem;
  }

  .capability-swiper .capability-icon-item img {
    width: 12rem;
    height: 12rem;
    margin-bottom: 1rem;
  }

  .capability-swiper .capability-icon-item span {
    font-size: 1.6rem;
    text-align: center;
  }

  /* 隐藏分页器指示点 */
  .capability-swiper .swiper-pagination {
    display: none;
  }

  /* 服务介绍部分移动端竖向排列 */
  .product-services {
    flex-direction: column;
    height: auto;
    gap: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* 成功案例详情页 - case-item移动端竖直布局 */
  .case-item {
    flex-direction: column;
    gap: 2rem;
    padding: 0 2rem;
  }

  .case-item-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .case-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .case-item-title {
    font-size: 1.6rem;
  }

  .case-item-title::after {
    width: 4rem;
    height: 0.4rem;
  }

  .case-item-text {
    font-size: 1.4rem;
    line-height: 2.8rem;
  }

  /* 成功案例详情页 - case-list-2移动端样式 */
  .case-list-2 {
    height: auto;
    min-height: 40rem;
    background-size: cover;
    background-position: right center;
  }

  .case-value-item {
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 2rem;
  }

  .case-value-text {
    font-size: 1.4rem;
    line-height: 2.4rem;
    flex: 1;
  }

  .case-value-icon {
    width: 8rem;
    height: 8rem;
  }

  .case-value-icon img {
    width: 6rem;
    height: 6rem;
  }

  /* 成功案例详情页 - case-list-3移动端样式 */
  .case-list-3 {
    flex-direction: column;
    gap: 3rem;
    padding: 0 2rem;
  }

  .case-item-3 {
    max-width: 100%;
  }

  .case-image-container {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 182 / 234;
  }

  .case-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .case-text-overlay {
    font-size: 1.6rem !important;
    line-height: 2.8rem !important;
    padding: 1.5rem !important;
    height: auto !important;
  }

  .service-item {
    width: 100% !important;
    height: auto !important;
    padding: 2rem !important;
    margin: 0 !important;
  }

  .service-item-first,
  .service-item-third {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }
  .service-item .service-title {
    font-size: 1.6rem !important;

  }
  .service-item .service-content {
    font-size: 1.4rem !important;
    line-height: 2.4rem !important;

  }
  .service-content {
    max-height: 10rem;
  }
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
  bottom: 10rem !important;
  left: 10rem !important;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 4rem;
  right: 4rem;
  width: 5rem;
  height: 5rem;
  background-color: #0052D9;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2rem);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  z-index: 999;
  box-shadow: 0 0.4rem 1.2rem rgba(0, 82, 217, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #0039a6;
  transform: translateY(-0.5rem);
  box-shadow: 0 0.6rem 1.6rem rgba(0, 82, 217, 0.4);
}

.back-to-top:active {
  transform: translateY(0);
  box-shadow: 0 0.2rem 0.8rem rgba(0, 82, 217, 0.3);
}

.back-to-top svg {
  width: 2.4rem;
  height: 2.4rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .back-to-top {
    width: 4.5rem;
    height: 4.5rem;
    bottom: 3rem;
    right: 3rem;
  }

  .back-to-top svg {
    width: 2rem;
    height: 2rem;
  }
}

/* 成功案例第三个栏目样式 - 公路管理 */
.case-list-3 {
  max-width: 140rem;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 0;
  position: relative;
}

/* 媒体查询：移动端和PC端显示控制 */
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
  
  .mobile-only {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
  
  .pc-only {
    display: block !important;
    overflow: hidden;
  }
  
  /* PC端轮播容器样式 */
  .case-list-3.pc-only {
    display: block !important;
    width: calc(3 * 46.6rem); /* 3个item，每个46.6rem */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
  }
  
  /* 确保Swiper容器在固定宽度内滚动 */
  .case-list-3.pc-only .swiper-container {
    width: 100%;
    overflow: hidden;
  }
  
  /* 确保Swiper正确控制轮播显示 */
  .case-list-3.pc-only .swiper-wrapper {
    display: flex;
    gap: 2rem;
  }
  
  /* 让Swiper处理幻灯片宽度和间距 */
  .case-list-3.pc-only .swiper-slide {
    width: 46.6rem;
  }
  
  /* 轮播控制按钮样式 - 仅PC端显示 */
  .case-list-3 .swiper-button-prev,
  .case-list-3 .swiper-button-next {
    position: absolute;
    top: 50%;
    width: 4rem;
    height: 4rem;
    margin-top: -2rem;
    z-index: 10;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: none; /* 默认隐藏，仅在轮播启用时显示 */
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .case-list-3 .swiper-button-prev:hover,
  .case-list-3 .swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .case-list-3 .swiper-button-prev {
    left: 2rem; /* 进一步往中心移动，更靠近轮播内容 */
    background-color: transparent;
  }
  
  .case-list-3 .swiper-button-prev::before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
  
  .case-list-3 .swiper-button-prev::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>') no-repeat center;
    background-size: contain;
    display: inline-block;
  }
  
  .case-list-3 .swiper-button-next {
    right: 2rem; /* 进一步往中心移动，更靠近轮播内容 */
    background-color: transparent;
  }
  
  .case-list-3 .swiper-button-next::before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
  }
  
  .case-list-3 .swiper-button-next::after {
    content: '';
    display: block;
    width: 2rem;
    height: 2rem;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M8.59 16.59L10 18l6-6-6-6-1.41 1.41L13.17 12z"/></svg>') no-repeat center;
    background-size: contain;
    display: inline-block;
  }
  
  
}

.case-item-3 {
  flex: 1;
  max-width: 46.6rem; /* 466px */
}

.case-image-container {
  position: relative;
  width: 46.6rem; /* 466px */
  height: 60rem; /* 600px */
  overflow: hidden;
}

.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-text-overlay {
  position: absolute;
  bottom: 0;
  left: -1px;
  right: 0;
  background-color: #fff;
  padding: 3.5rem; /* 35px */
  font-size: 2rem; /* 28px */
  line-height: 3.8rem; /* 40px */
  color: #000;
  font-weight: 400;
  height: 20rem;
  overflow-y: auto;
  scrollbar-width: thin;  /* 窄滚动条 */
}