/* ==================== Customer Page Styles ==================== */
/* 覆盖 case.css 的 html,body{overflow-x:hidden}，该规则会破坏 sticky。
   使用 clip 而非 visible：既能裁剪水平溢出（防止横向滚动条），
   又不会像 hidden 那样隐式把 overflow-y 变成 auto 而创建滚动容器，
   因此 sticky 仍以视口为参照正常生效。 */
html, body {
  overflow-x: clip;
}

.customer-wrapper {
  background: #FFFFFF;
  min-height: 100vh;
  padding-top: 68px;
}

.customer-wrapper .nav-wrap {
  background: #FFFFFF;
}

.customer-wrapper .nav-wrap .nav-tabs-ul li a {
  color: #282828;
}

.customer-wrapper .nav-wrap .nav-right .white {
  display: none;
}

.customer-wrapper .nav-wrap .nav-right .black {
  display: inline-block;
}

/* 第二个导航栏 - 吸顶 */
.customer-nav-wrap {
  background: #F6F9FF;
  position: -webkit-sticky;
  position: sticky;
  top: 68px;
  z-index: 99;
  /* sticky 要求父级及自身不能有 overflow:hidden/auto 限制滚动 */
}

.nav-second{
  display: flex;
  align-items: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-second li {
  margin-right: 28px;
  font-family: Montserrat-Medium;
  font-size: 14px;
  color: #282829;
  letter-spacing: 0;
  font-weight: 500;
  cursor: pointer;
  padding-top: 20px;
  padding-bottom: 18px;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-second li.active{
  color: #005BFF;
  border-color: #005BFF;
  font-family: Montserrat-SemiBold;
}

.customer-nav {
  overflow-x: auto;
}

.customer-nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 12px;
  justify-content: center;
}

.customer-nav-item {
  flex-shrink: 0;
}

.customer-nav-item a {
  font-family: Montserrat-Medium;
  font-size: 16px;
  color: #454545;
  text-decoration: none;
  padding: 10px 24px;
  display: block;
  background: #F5F7FA;
  border-radius: 24px;
  transition: all 0.3s;
  font-weight: 500;
}

.customer-nav-item.active a,
.customer-nav-item:hover a {
  color: #FFFFFF;
  background: #005BFF;
}

/* 页面标题区域 */
.customer-header-wrap {
  padding: 64px 0 38px;
  background: radial-gradient(circle at 32% 38%, #FFFFFF 0%, #D5E8FF 171%);
}
.solu-bg{
  background-image:  url("../image/solu/solu-bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.solu-bg .customer-header-wrap, .solu-bg .customer-search-wrap{
  background: none;
}

.customer-header {
  text-align: center;
}

.customer-title {
  font-family: Montserrat-SemiBold;
  font-size: 44px;
  color: #151516;
  text-align: center;
  line-height: 50px;
  font-weight: 600;
  margin-bottom: 10px;
}

.customer-subtitle {
  font-family: Montserrat-Medium;
  font-size: 16px;
  color: #282829;
  text-align: center;
  line-height: 22px;
  font-weight: 500;
  margin: 0;
}

/* 搜索框 */
.customer-search-wrap {
  padding: 0 0 50px;
  background: radial-gradient(circle at 32% 38%, #FFFFFF 0%, #D5E8FF 171%);
}

.customer-search {
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.customer-search-input {
  width: 100%;
  height: 48px;
  border: 1px solid #E4E9F2;
  border-radius: 24px;
  padding: 0 56px 0 24px;
  font-family: Montserrat-Regular;
  font-size: 16px;
  color: #151516;
  background: #FFFFFF;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.customer-search-input::placeholder {
  color: #9096A5;
}

.customer-search-input:focus {
  border-color: #005BFF;
}

.customer-search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* 客户案例列表 */
.customer-list-wrap {
  padding: 60px 0 80px;
  background: #FFFFFF;
}

.customer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  row-gap: 60px;
}

/* 客户案例卡片 */
.customer-card-link {
  display: block;
  text-decoration: none;
  width: calc((100% - 60px) / 3);
}

.customer-card {
  width: 100%;
  cursor: pointer;
}

.customer-card-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: 32px;
  overflow: hidden;
  background: #F9F9FA;
}

.customer-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.customer-card-category {
  font-family: Montserrat-Medium;
  font-size: 14px;
  color: #151516;
  text-align: left;
  font-weight: 500;
  margin: 16px 0;
  padding: 5px 12px;
  border-radius: 14px;
  background: #EDF3FF;
  width: fit-content;
}

.customer-card-title {
  font-family: Montserrat-SemiBold;
  font-size: 20px;
  color: #151516;
  line-height: 26px;
  font-weight: 600;
  margin: 0 0 12px;
  transition: color 0.3s;
  display: inline;
  text-decoration: none;
}

.customer-card-desc {
  font-family: Montserrat-Medium;
  font-size: 16px;
  color: #454545;
  line-height: 22px;
  font-weight: 500;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hover 效果 */
.customer-card:hover .customer-card-img {
  transform: scale(1.1);
}

.customer-card:hover .customer-card-title {
  color: #005BFF;
  text-decoration: underline;
}

/* Load More 按钮 */
.customer-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.customer-load-more-btn {
  font-family: Montserrat-Medium;
  font-size: 16px;
  color: #151516;
  line-height: 20px;
  font-weight: 500;
  padding: 12px 32px;
  background: #FFFFFF;
  border: 1px solid #151516;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s;
}

.customer-load-more-btn:hover {
  border-color: #005BFF;
  color: #005BFF;
}

/* 响应式 - 平板/移动端 */
@media screen and (max-width: 1199px) {
  .customer-wrapper .wrapper {
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .customer-card-link {
    width: calc((100% - 30px) / 2);
  }
}

@media screen and (max-width: 768px) {
  .customer-wrapper {
    padding-top: 60px;
  }

  .customer-nav-wrap {
    padding: 16px 0;
  }

  .customer-nav-list {
    gap: 8px;
    justify-content: flex-start;
  }

  .customer-nav-item a {
    font-size: 14px;
    padding: 8px 18px;
  }

  .customer-header-wrap {
    padding: 40px 0 32px;
  }
  .solu-bg{
    background-position: 40%;
  }

  .customer-title {
    font-size: 32px;
    line-height: 40px;
  }

  .customer-subtitle {
    font-size: 14px;
  }

  .customer-search-wrap {
    padding: 0 0 40px;
  }

  .customer-list-wrap {
    padding: 40px 0 60px;
  }

  .customer-list {
    gap: 16px;
    row-gap: 40px;
  }

  .customer-card-link {
    width: 100%;
  }

  .customer-card-img-wrap {
    height: 200px;
    border-radius: 24px;
  }

  .customer-card-title {
    font-size: 18px;
    line-height: 24px;
  }

  .customer-card-desc {
    font-size: 14px;
    line-height: 20px;
  }

  .customer-load-more-wrap {
    margin-top: 40px;
  }
}

@media screen and (max-width: 480px) {
  .customer-title {
    font-size: 28px;
    line-height: 36px;
  }
}
