/* ========== 解决问题（首页静态模块） ========== */
.solutions-section {
  background: #fff;
  padding: 0 0 72px;
  --solutions-container-width: 1200px;
}

.solutions-section .container {
  width: min(83%, calc(100% - 2 * var(--container-gutter)));
  max-width: min(var(--solutions-container-width), var(--container-width));
}

.solutions-section__title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: rgb(58, 79, 90);
  line-height: 1.4;
  margin-bottom: 36px;
  letter-spacing: 1px;
}

.solutions-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 6px 8px;
  margin-bottom: 32px;
  border-bottom: none;
}

.solutions-tab {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 180px;
  padding: 14px 4px 0;
  border: none;
  margin: 0;
  background: transparent;
  font-size: 17px;
  font-weight: 700;
  color: #394e59;
  cursor: pointer;
  text-align: center;
  line-height: 1.35;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.solutions-tab::after {
  content: "";
  display: block;
  width: 140px;
  max-width: 100%;
  height: 2px;
  margin-top: 10px;
  background: #dcdfe3;
  transition: width 0.25s, height 0.25s, background 0.25s;
}

.solutions-tab:hover,
.solutions-tab.is-active {
  color: #394e59;
  font-weight: 700;
}

.solutions-tab.is-active::after {
  width: 150px;
  height: 6px;
  background: var(--color-accent);
}

.solutions-body {
  position: relative;
}

.solutions-panels {
  position: relative;
  min-height: 320px;
}

.solutions-panel {
  display: none;
}

.solutions-panel.is-active {
  display: block;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 28px;
}

.solutions-card {
  display: flex;
  flex-direction: column;
  border: none;
  background: #fff;
  overflow: hidden;
}

.solutions-card__thumb {
  display: block;
  aspect-ratio: 4 / 3;
  background: #e8eaed;
  overflow: hidden;
}

.solutions-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.solutions-card:hover .solutions-card__thumb img {
  transform: scale(1.02);
}

.solutions-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 20px 20px;
  min-height: 160px;
  border: 2px solid #b0b0b0;
  border-top: none;
  box-sizing: border-box;
}

.solutions-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #000000;
  margin-bottom: 6px;
}

.solutions-card__subtitle {
  font-size: 13px;
  line-height: 1.5;
  color: #888;
  margin-bottom: 0;
}

.solutions-card__more {
  margin-top: auto;
  padding-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
  transition: color 0.25s;
}

.solutions-card__more:hover {
  color: var(--color-accent);
}

.solutions-card__more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #5a5a5a;
  line-height: 0;
  flex-shrink: 0;
  transition: background 0.25s;
}

.solutions-card__more:hover .solutions-card__more-icon {
  background: var(--color-accent);
}

.solutions-card__more-icon img {
  display: block;
  width: auto;
  height: 10px;
  max-width: 10px;
  object-fit: contain;
  pointer-events: none;
}

.solutions-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
}

.solutions-arrow {
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #5a5757;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.solutions-arrow:hover:not(:disabled):not(.is-disabled) {
  border-color: #5a5757;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.solutions-arrow:disabled,
.solutions-arrow.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none;
}

.solutions-empty {
  margin: 32px 0 0;
  text-align: center;
  font-size: 18px;
  color: #888;
}

.solutions-empty--section {
  margin: 0 0 48px;
}

.solutions-section.is-loading .solutions-grid {
  opacity: 0.55;
  pointer-events: none;
}

.solutions-arrow__img {
  display: block;
  width: auto;
  height: 26px;
  max-width: 26px;
  object-fit: contain;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .solutions-section {
    padding: 0 0 88px;
  }

  .solutions-section__title {
    font-size: 51px;
    margin-bottom: 48px;
    letter-spacing: 2px;
  }

  .solutions-tabs {
    justify-content: center;
    gap: 6px 12px;
    margin-bottom: 40px;
    padding: 0;
  }

  .solutions-tab {
    font-size: 20px;
    padding: 16px 6px 0;
    max-width: 220px;
  }

  .solutions-tab::after {
    width: 160px;
    height: 2px;
    margin-top: 12px;
  }

  .solutions-tab.is-active::after {
    width: 170px;
    height: 6px;
  }

  .solutions-grid {
    gap: 28px 32px;
  }

  .solutions-card__body {
    border-color: #9a9a9a;
  }

  .solutions-card__thumb {
    aspect-ratio: 4 / 3;
    min-height: 240px;
    max-height: 320px;
  }

  .solutions-card__body {
    padding: 20px 24px 24px;
    min-height: 200px;
  }

  .solutions-card__title {
    font-size: 35px;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .solutions-card__subtitle {
    font-size: 20px;
    line-height: 1.5;
  }

  .solutions-card__more {
    padding-top: 24px;
    font-size: 19px;
  }

  .solutions-arrows {
    margin-top: 32px;
  }
}

@media (max-width: 1024px) {
  .solutions-section {
    padding: 0 0 56px;
  }

  .solutions-section__title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .solutions-tabs {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 24px;
  }

  .solutions-tabs::-webkit-scrollbar {
    display: none;
  }

  .solutions-tab {
    flex: 0 0 auto;
    max-width: none;
    white-space: nowrap;
    font-size: 15px;
    padding: 12px 4px 0;
  }

  .solutions-tab::after {
    width: 120px;
    height: 2px;
    margin-top: 8px;
  }

  .solutions-tab.is-active::after {
    width: 130px;
    height: 5px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .solutions-panels {
    min-height: 0;
  }

  .solutions-arrows {
    margin-top: 20px;
  }
}

@media (max-width: 600px) {
  .solutions-section__title {
    font-size: 20px;
    padding: 0 4px;
  }

  .solutions-card__title {
    font-size: 15px;
  }

  .solutions-arrow {
    width: 54px;
    height: 54px;
  }

  .solutions-arrow__img {
    height: 22px;
    max-width: 22px;
  }
}