/* ========== 质量保障 / 管理体系（首页静态分栏，宽度与 .container 一致） ========== */
.home-features {
  background: #fff;
  padding: 0 0 56px;
}

.home-features__item+.home-features__item {
  margin-top: 48px;
}

.home-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  height: 400px;
  max-height: 400px;
  min-height: 0;
  overflow: hidden;
}

.home-feature__media {
  position: relative;
  min-height: 0;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.home-feature__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-feature__panel {
  display: flex;
  align-items: stretch;
  min-height: 0;
  height: 100%;
  color: #fff;
  padding: 32px 36px;
  overflow: hidden;
}

.home-feature--quality .home-feature__panel {
  background: #5a8ea0;
}

.home-feature--manage .home-feature__panel {
  background: #e4810f;
}

.home-feature__inner {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}

.home-feature__label {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 0;
  flex-shrink: 0;
}

.home-feature__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 20px 0 24px;
  overflow: hidden;
}

.home-feature__heading {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.home-feature__heading-line {
  display: block;
}

.home-feature__heading-line+.home-feature__heading-line {
  margin-top: 6px;
}

.home-feature__desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.75;
  opacity: 0.95;
  max-width: 520px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.home-feature__more {
  margin-top: auto;
  align-self: flex-start;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  transition: opacity 0.25s;
}

.home-feature__more:hover {
  opacity: 0.88;
  color: #fff;
}

.home-feature__more-icon {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex-shrink: 0;
}

.home-feature__more-icon img {
  display: block;
  width: auto;
  height: 1.25em;
  object-fit: contain;
  pointer-events: none;
}

.home-feature--image-right .home-feature__panel {
  order: 1;
}

.home-feature--image-right .home-feature__media {
  order: 2;
}

@media (min-width: 1025px) {
  .home-features {
    padding-bottom: 72px;
  }

  .home-features__item+.home-features__item {
    margin-top: 64px;
  }

  .home-feature {
    height: 480px;
    max-height: 480px;
  }

  .home-feature__panel {
    padding: 44px 48px;
  }

  .home-feature__content {
    padding: 24px 0 28px;
  }

  .home-feature__label {
    font-size: 18px;
  }

  .home-feature__heading {
    font-size: 36px;
    margin-bottom: 16px;
  }

  .home-feature__heading-line+.home-feature__heading-line {
    margin-top: 8px;
  }

  .home-feature__desc {
    font-size: 21px;
    line-height: 1.8;
    max-width: 540px;
    -webkit-line-clamp: 5;
  }

  .home-feature__more {
    font-size: 15px;
    gap: 12px;
  }
}

@media (max-width: 1024px) {
  .home-features {
    padding-bottom: 48px;
  }

  .home-features__item+.home-features__item {
    margin-top: 40px;
  }

  .home-feature {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .home-feature__media {
    order: 1;
    height: 260px;
  }

  .home-feature__panel {
    order: 2;
    height: auto;
    min-height: 280px;
    padding: 32px 28px 36px;
  }

  .home-feature--image-right .home-feature__panel,
  .home-feature--image-right .home-feature__media {
    order: unset;
  }

  .home-feature--image-right .home-feature__media {
    order: 1;
  }

  .home-feature--image-right .home-feature__panel {
    order: 2;
  }

  .home-feature__inner {
    max-width: none;
    height: auto;
  }

  .home-feature__label {
    font-size: 16px;
  }

  .home-feature__heading {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .home-feature__desc {
    font-size: 18px;
    line-height: 1.75;
    -webkit-line-clamp: 5;
  }

  .home-feature__more {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .home-feature__media {
    height: 220px;
  }

  .home-feature__panel {
    padding: 28px 22px 32px;
    min-height: 260px;
  }

  .home-feature__heading {
    font-size: 22px;
  }

  .home-feature__desc {
    font-size: 17px;
  }

  .home-feature__label {
    font-size: 15px;
  }
}