/* 解决方案组件样式 */
.kenda_solution {
  padding: 78px 0 150px 0;
  background: #fff;
}

@media screen and (max-width: 1920px) {
  .kenda_solution .container {
    max-width: 1395px !important;
  }
}

.kenda_solution .solution-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* 左侧内容区 */
.kenda_solution .solution-left {
  flex: 1;
  max-width: 559px;
}

.kenda_solution .solution-content {
  display: flex;
  flex-direction: column;
}

/* 主标题 - 斜体Inter字体 */
.kenda_solution .solution-title {
  font-family: var(--second-font-family);
  color: #0f172a;
  font-size: 64px;
  font-style: italic;
  font-weight: 900;
  line-height: normal;
  text-transform: capitalize;
  margin: 0 0 20px 0;
}

/* 进度指示：当前页 / 总页数 */
.kenda_solution .solution-progress {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.kenda_solution .progress-current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 41px;
  height: 41px;
  padding: 4px 9px;
  font-family: var(--second-font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 32.5px;
  color: #f8f8f8;
  font-style: normal;
  background: #2d8eb8;
  border-radius: 50%;
  flex-shrink: 0;
}

.kenda_solution .progress-line {
  width: 1px;
  height: 24px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.kenda_solution .progress-total {
  font-family: var(--second-font-family);
  font-size: 20px;
  font-weight: 500;
  line-height: 32.5px;
  font-style: italic;
  color: #64748b;
}

/* 副标题 */
.kenda_solution .solution-subtitle {
  color: #0f172a;
  font-family: var(--font-family);
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: capitalize;
  margin: 0 0 20px 0;
}

/* 描述文字 */
.kenda_solution .solution-desc {
  color: #475569;
  font-family: var(--font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  text-transform: capitalize;
  margin-bottom: 20px;
}

/* 按钮和切换箭头容器 */
.kenda_solution .solution-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: flex-start;
}

/* 按钮 */
.kenda_solution .solution-btn {
  display: inline-flex;
  padding: 16px 28px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 18px;
  background: #ff6232;
  color: #fff;
  font-family: var(--font-family);
  font-size: 32px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.kenda_solution .solution-btn:hover {
  background: #e5582d;
  color: #fff;
}

.kenda_solution .solution-btn:active {
  color: #fff;
  background: #156eb0;
}

/* 右侧图片区 */
.kenda_solution .solution-right {
  flex: 1;
  position: relative;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  min-height: 555px;
  max-width: 444px;
  margin-top: 60px;
}

/* 左侧大图容器 */
.kenda_solution .main-image-wrapper {
  width: 444px;
  height: 721px;
  position: relative;
  flex-shrink: 0;
}

.kenda_solution .main-image-swiper {
  width: 100%;
  height: 100%;
}

.kenda_solution .main-image-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.kenda_solution .main-image-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.kenda_solution .main-image {
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

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

/* 右侧小图容器 */
.kenda_solution .sub-image-wrapper {
  width: 325px;
  height: 592px;
  position: relative;
  flex-shrink: 0;
}

.kenda_solution .sub-image-swiper {
  width: 100%;
  height: 100%;
}

.kenda_solution .sub-image-swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
}

.kenda_solution .sub-image-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.kenda_solution .sub-image {
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

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

/* 分页器 */
.kenda_solution .solution-pagination {
  position: absolute;
  right: 50%;
  bottom: -120px;
  transform: translateX(50%);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  z-index: 10;
  width: 100%;
}

/* 移动端分页器默认隐藏 */
.kenda_solution .solution-pagination-mobile {
  display: none;
}

/* PC端分页器默认显示 */
.kenda_solution .solution-pagination-desktop {
  display: flex;
}

.solution-arrows {
  display: flex;
  gap: 20px;
}

.kenda_solution .solution-arrow {
  display: flex;
  width: 48px;
  height: 48px;
  padding: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  border-radius: 50%;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.kenda_solution .solution-arrow svg {
  width: 18px;
  height: 18px;
}

.kenda_solution .solution-arrow:hover {
  background: #2d8eb8;
  color: #fff;
  border-color: #2d8eb8;
}

.kenda_solution .solution-arrow:active {
  background: #156eb0;
  color: #fff;
  border-color: #156eb0;
}

/* 首尾禁用态 */
.kenda_solution .solution-arrow.swiper-button-disabled {
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
  cursor: default;
}

/* ============================================
   响应式布局 - Pad 和移动端优化
   ============================================ */

/* Pad 横屏 (1024px - 1400px) */
@media screen and (max-width: 1400px) {
  .kenda_solution {
    padding: 60px 0 120px 0;
  }

  .kenda_solution .solution-wrapper {
    gap: 5px;
  }

  .kenda_solution .solution-left {
    /* max-width: 100%; */
  }

  .kenda_solution .solution-title {
    font-size: 48px;
    margin-bottom: 36px;
  }

  .kenda_solution .solution-progress {
    margin-bottom: 40px;
  }

  .kenda_solution .progress-current {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .kenda_solution .progress-total {
    font-size: 18px;
  }

  .kenda_solution .solution-subtitle {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .kenda_solution .solution-desc {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 60px;
  }

  .kenda_solution .solution-btn {
    font-size: 28px;
    padding: 14px 24px;
  }

  .kenda_solution .solution-right {
    max-width: 380px;
    min-height: 480px;
    gap: 18px;
    margin-top: 50px;
  }

  .kenda_solution .main-image-wrapper {
    width: 380px;
    height: 480px;
  }

  .kenda_solution .sub-image-wrapper {
    width: 280px;
    height: 350px;
  }

  .kenda_solution .solution-pagination {
    bottom: -100px;
  }

  .kenda_solution .solution-arrow {
    width: 44px;
    height: 44px;
  }

  .kenda_solution .solution-arrow svg {
    width: 16px;
    height: 16px;
  }
}


@media screen and (max-width: 1279px) {

  .kenda_solution .solution-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

 .kenda_solution .solution-left {
    max-width: 100%;
  } 


  .kenda_solution .solution-right {
    max-width: 100%;
    /* width: 50%; */
    flex: 1;

  }

}

/* Pad 竖屏 (768px - 1024px) */
@media screen and (max-width: 1024px) {
  .kenda_solution {
    padding: 50px 0 100px 0;
  }

  .kenda_solution .solution-wrapper {
    gap: 5px;
    flex-direction: column;
  }

  .kenda_solution .solution-left {
    max-width: 100%;
  }

  .kenda_solution .solution-title {
    font-size: 42px;
    margin-bottom: 32px;
  }

  .kenda_solution .solution-progress {
    gap: 16px;
    margin-bottom: 36px;
  }

  .kenda_solution .progress-current {
    width: 36px;
    height: 36px;
    font-size: 16px;
    line-height: 28px;
  }

  .kenda_solution .progress-line {
    height: 20px;
  }

  .kenda_solution .progress-total {
    font-size: 16px;
    line-height: 28px;
  }

  .kenda_solution .solution-subtitle {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .kenda_solution .solution-desc {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 50px;
  }

  .kenda_solution .solution-btn {
    font-size: 26px;
    padding: 12px 22px;
    border-radius: 16px;
  }

  .kenda_solution .solution-right {
    max-width: 320px;
    min-height: 400px;
    gap: 16px;
    margin-top: 40px;
  }

  .kenda_solution .main-image-wrapper {
    width: 320px;
    height: 400px;
  }

  .kenda_solution .main-image {
    border-radius: 20px;
  }

  .kenda_solution .sub-image-wrapper {
    width: 240px;
    height: 300px;
  }

  .kenda_solution .sub-image {
    border-radius: 18px;
  }

  .kenda_solution .solution-pagination {
    bottom: -80px;
    gap: 16px;
  }

  .kenda_solution .solution-arrow {
    width: 42px;
    height: 42px;
  }
}

/* 移动端 (576px - 768px) */
@media screen and (max-width: 768px) {
  .kenda_solution {
    padding: 40px 0 80px 0;
  }

  .kenda_solution .solution-wrapper {
    flex-direction: column;
    gap: 32px;
  }

  .kenda_solution .solution-left {
    max-width: 100%;
  }

  .kenda_solution .solution-title {
    font-size: 36px;
    margin-bottom: 28px;
  }

  .kenda_solution .solution-progress {
    gap: 14px;
    margin-bottom: 30px;
  }

  .kenda_solution .progress-current {
    width: 34px;
    height: 34px;
    font-size: 15px;
    line-height: 26px;
    padding: 3px 8px;
  }

  .kenda_solution .progress-line {
    height: 18px;
  }

  .kenda_solution .progress-total {
    font-size: 15px;
    line-height: 26px;
  }

  .kenda_solution .solution-subtitle {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .kenda_solution .solution-desc {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 40px;
  }

  .kenda_solution .solution-btn {
    font-size: 24px;
    padding: 12px 20px;
    border-radius: 14px;
  }

  .kenda_solution .solution-right {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    flex-direction: column;
    gap: 14px;
    margin-top: 0;
  }

  .kenda_solution .main-image-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    display: none;
  }

  .kenda_solution .main-image {
    border-radius: 18px;
  }

  .kenda_solution .sub-image-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .kenda_solution .sub-image {
    border-radius: 16px;
  }

  .kenda_solution .solution-content {
    position: relative;
  }

  .kenda_solution .solution-btn-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  /* 移动端显示按钮旁的切换箭头 */
  .kenda_solution .solution-pagination-mobile {
    display: flex;
    position: static;
    right: auto;
    bottom: auto;
    transform: none;
    gap: 12px;
  }

  /* 移动端隐藏图片区的切换箭头 */
  .kenda_solution .solution-pagination-desktop {
    display: none;
  }

  .kenda_solution .solution-arrow {
    width: 40px;
    height: 40px;
  }

  .kenda_solution .solution-arrow svg {
    width: 14px;
    height: 14px;
  }
}

/* 小屏手机 (< 576px) */
@media screen and (max-width: 576px) {
  .kenda_solution {
    padding: 32px 0 60px 0;
  }

  .kenda_solution .solution-wrapper {
    gap: 24px;
  }

  .kenda_solution .solution-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .kenda_solution .solution-progress {
    gap: 12px;
    margin-bottom: 24px;
  }

  .kenda_solution .progress-current {
    width: 30px;
    height: 30px;
    font-size: 14px;
    line-height: 22px;
    padding: 2px 7px;
  }

  .kenda_solution .progress-line {
    height: 16px;
  }

  .kenda_solution .progress-total {
    font-size: 14px;
    line-height: 22px;
  }

  .kenda_solution .solution-subtitle {
    font-size: 20px;
    margin-bottom: 14px;
  }

  .kenda_solution .solution-desc {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 28px;
  }

  .kenda_solution .solution-btn {
    font-size: 20px;
    padding: 10px 18px;
    border-radius: 12px;
  }

  .kenda_solution .solution-right {
    gap: 12px;
  }

  .kenda_solution .main-image-wrapper {
    aspect-ratio: 16 / 20;
  }

  .kenda_solution .main-image {
    border-radius: 16px;
  }

  .kenda_solution .sub-image-wrapper {
    aspect-ratio: 16 / 20;
  }

  .kenda_solution .sub-image {
    border-radius: 14px;
  }

  .kenda_solution .solution-pagination {
    gap: 14px;
  }

  .kenda_solution .solution-arrow {
    width: 36px;
    height: 36px;
  }

  .kenda_solution .solution-arrow svg {
    width: 12px;
    height: 12px;
  }
}
