/* 细川首页 - index.html 区块样式 (设计基准 1920px) */

:root {
  --color-primary: #14126f;
  --color-accent: #00c5ce;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-text-light: #999999;
  --font-hero: clamp(28px, 2.5vw, 48px);
  --font-section: clamp(24px, 2.083vw, 40px);
  --font-subsection: clamp(20px, 1.458vw, 28px);
}

.site-main--home {
  min-height: auto;
}

/* ========== 通用 ========== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 32px;
  font-size: var(--font-body);
  font-weight: 600;
  color: #ffffff;
  background: var(--color-accent);
  border-radius: 999px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-primary--light {
  color: #ffffff;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(32px, 3.125vw, 60px);
}

.section-head__title {
  margin: 0 0 12px;
  font-size: var(--font-section);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.section-head__desc {
  margin: 0 auto;
  max-width: 720px;
  font-size: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== Hero ========== */

.home-hero {
  position: relative;
  min-height: clamp(420px, 46.875vw, 900px);
  overflow: hidden;
}

.home-hero__slides {
  position: absolute;
  inset: 0;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.home-hero__slide.is-active {
  opacity: 1;
}

.home-hero__inner {
  position: relative;
  z-index: 2;
  min-height: clamp(420px, 46.875vw, 900px);
  padding-top: clamp(48px, 5.208vw, 100px);
  padding-bottom: clamp(140px, 10.417vw, 200px);
}

.home-hero__content {
    margin: 10% 0 0 0;
  max-width: 45%;
}

.home-hero__title {
  margin: 0 0 clamp(16px, 1.667vw, 32px);
  font-size: var(--font-hero);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

.home-hero__title-accent {
  color: var(--color-accent);
}

.home-hero__desc {
  position: relative;
  margin: 0 0 clamp(24px, 2.083vw, 40px);
  padding-left: 14px;
  font-size: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.75;
  /*font-size: 18px;*/
}

.home-hero__desc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-text-muted);
}

.home-hero__controls-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  pointer-events: none;
}

.home-hero__controls-inner {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0;
}

.home-hero__controls {
  display: flex;
  align-items: stretch;
  gap: 0;
  pointer-events: auto;
}

.home-hero__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.042vw, 20px);
  min-width: clamp(160px, 11.458vw, 220px);
  padding: clamp(16px, 1.458vw, 28px) clamp(20px, 1.667vw, 32px);
  background: var(--color-primary);
  color: #ffffff;
}

.home-hero__pagination {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px 4px;
  line-height: 1;
}

.home-hero__page {
  padding: 0 2px;
  font-size: clamp(14px, 0.9375vw, 18px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  background: none;
  border: none;
  cursor: pointer;
  transition:
    color 0.2s ease,
    font-size 0.2s ease;
}

.home-hero__page.is-active {
  font-size: clamp(28px, 2.083vw, 40px);
  font-weight: 700;
  color: #ffffff;
}

.home-hero__page-sep {
  font-size: clamp(14px, 0.9375vw, 18px);
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
  margin: 0 0.4rem;
}

.home-hero__arrows {
  display: flex;
  gap: clamp(10px, 0.833vw, 16px);
}

.home-hero__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 2.083vw, 40px);
  height: clamp(36px, 2.083vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.home-hero__arrow:hover {
  background: rgba(255, 255, 255, 0.12);
}

.home-hero__arrow img {
  width: auto;
  height: clamp(8px, 0.521vw, 10px);
  filter: brightness(0) invert(1);
}

.home-hero__arrow--prev img {
  transform: scaleX(-1);
}

.home-hero__thumb {
  flex-shrink: 0;
  padding: 0;
  border: 3px solid var(--color-accent);
  overflow: hidden;
  line-height: 0;
  transition:
    opacity 0.25s ease,
    box-shadow 0.25s ease;
}

.home-hero__thumb.is-active {
  box-shadow: 0 0 0 1px var(--color-accent);
}

.home-hero__thumb:hover {
  opacity: 0.92;
}

.home-hero__thumb img {
  width: clamp(140px, 15.573vw, 299px);
  height: clamp(88px, 9.792vw, 188px);
  object-fit: cover;
  display: block;
}

/* ========== Search ========== */

.home-search {
  padding: clamp(40px, 4.167vw, 80px) 0;
  background: #ffffff;
}

.home-search__title {
  margin: 0 0 clamp(24px, 2.083vw, 40px);
  font-size: var(--font-section);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}

.home-search__form {
  display: flex;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 4px 4px 4px 28px;
  border: 1px solid #dddddd;
  border-radius: 999px;
  background: #ffffff;
}

.home-search__input {
  flex: 1;
  border: none;
  outline: none;
  font-size: var(--font-body);
  color: var(--color-text);
  background: transparent;
}

.home-search__input::placeholder {
  color: var(--color-text-light);
}

.home-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== About ========== */

.home-about {
  /* padding: clamp(40px, 4.167vw, 80px) 0; */
  background: #ffffff;
}

.home-about__grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  /*gap: clamp(32px, 3.333vw, 64px);*/
  align-items: center;
}

.home-about__label {
  margin: 0 0 12px;
  font-size: clamp(28px, 2.5vw, 48px);
  color: var(--color-text-muted);
}

.home-about__heading {
  margin: 0 0 20px;
  font-size: clamp(28px, 2.5vw, 48px);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
}

.home-about__desc {
  margin: 0 0 28px;
  font-size: clamp(14px, 0.9375vw, 18px);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.home-about__map img {
  width: 100%;
  max-width: 887px;
  margin-left: auto;
}

/* ========== Stats ========== */

.home-stats {
  position: relative;
  padding: clamp(32px, 3.125vw, 60px) 0 clamp(48px, 4.167vw, 80px);
  background: #ffffff;
}

.home-stats__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 1.667vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-stats__item {
  text-align: center;
}

.home-stats__icon {
  width: clamp(48px, 3.4375vw, 66px);
  height: auto;
  margin: 0 auto 12px;
}

.home-stats__num {
  margin: 0 0 8px;
  font-size: var(--font-body);
  color: var(--color-primary);
  line-height: 1;
}

.home-stats__num strong {
  font-size: clamp(36px, 3.6458vw, 70px);
  font-weight: 700;
  text-shadow: 0 4px 20px rgba(20, 18, 111, 0.25);
}

.home-stats__num span {
  font-size: var(--font-body);
  font-weight: 400;
}

.home-stats__label {
  margin: 0;
  font-size: var(--font-body);
  color: var(--color-text-muted);
}

.home-stats__note {
  margin: clamp(16px, 1.667vw, 32px) 0 0;
  text-align: right;
  font-size: var(--font-body);
  color: var(--color-text-light);
}

/* ========== Solution ========== */

.home-solution {
  position: relative;
  min-height: clamp(480px, 41.667vw, 800px);
  padding-bottom: clamp(88px, 6.25vw, 120px);
  overflow: hidden;
}

.home-solution__slides {
  position: absolute;
  inset: 0;
}

.home-solution__slide {
  position: absolute;
  inset: 0;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.home-solution__slide.is-active {
  opacity: 1;
}

.home-solution__overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(90deg, rgba(20, 18, 111, 0.75) 0%, rgba(20, 18, 111, 0.35) 60%, transparent 100%); */
  z-index: 1;
}

.home-solution__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(360px, 31.25vw, 600px);
  padding-top: clamp(48px, 4.167vw, 80px);
  padding-bottom: clamp(24px, 2.083vw, 40px);
}

.home-solution__panels {
  position: relative;
}

.home-solution__panel {
  display: none;
}

.home-solution__panel.is-active {
  display: block;
}

.home-solution__title {
  margin: 0 0 16px;
  font-size: var(--font-section);
  font-weight: 700;
  color: #ffffff;
}

.home-solution__desc {
  margin: 0 0 24px;
  max-width: 480px;
  font-size: var(--font-body);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

.home-solution__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: clamp(32px, 2.604vw, 50px);
}

.home-solution__pager {
  display: flex;
  align-items: center;
  gap: clamp(10px, 0.833vw, 16px);
  color: #ffffff;
}

.home-solution__pager-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.home-solution__pager-arrow:hover {
  opacity: 1;
}

.home-solution__pager-arrow img {
  display: block;
  width: clamp(6px, 0.417vw, 8px);
  height: auto;
  filter: brightness(0) invert(1);
}

.home-solution__pager-arrow--prev img {
  transform: scaleX(-1);
}

.home-solution__pager-current {
  min-width: 2ch;
  font-size: clamp(22px, 1.667vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.home-solution__pager-line {
  flex: 0 0 clamp(72px, 5.208vw, 100px);
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
  position: relative;
}

.home-solution__pager-fill {
  display: block;
  height: 100%;
  width: 12.5%;
  background: var(--color-accent);
  transition: width 0.4s ease;
}

.home-solution__pager-total {
  font-size: clamp(14px, 0.9375vw, 18px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
}

.home-solution__arrows {
  display: flex;
  gap: clamp(10px, 0.833vw, 16px);
}

.home-solution__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 2.5vw, 48px);
  height: clamp(40px, 2.5vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.home-solution__arrow:hover {
  background: rgba(255, 255, 255, 0.12);
}

.home-solution__arrow img {
  display: block;
  width: auto;
  height: clamp(8px, 0.521vw, 10px);
  filter: brightness(0) invert(1);
}

.home-solution__arrow--prev img {
  transform: scaleX(-1);
}

.home-solution__tabs-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
}

.home-solution__tabs-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.home-solution__tabs-scroll::-webkit-scrollbar {
  height: 4px;
}

.home-solution__tabs-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.home-solution__tabs-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
}

.home-solution__tabs {
  --solution-tab-count: 6;
  --solution-tabs-visible: 5;
  display: flex;
  flex-wrap: nowrap;
  width: calc(100% * var(--solution-tab-count) / var(--solution-tabs-visible));
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-solution__tab {
  flex: 0 0 calc(100% / var(--solution-tab-count));
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.home-solution__tab:last-child {
  border-right: none;
}

.home-solution__tab button {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.042vw, 20px);
  width: 100%;
  min-height: clamp(88px, 6.25vw, 120px);
  padding: clamp(18px, 1.458vw, 28px) clamp(20px, 1.667vw, 32px);
  color: #ffffff;
  text-align: left;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.3s ease;
}

.home-solution__tab-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(6px, 0.521vw, 10px);
  min-width: 0;
}

.home-solution__tab-name {
  font-size: clamp(16px, 1.042vw, 20px);
  font-weight: 600;
  line-height: 1.3;
}

.home-solution__tab-more,
.home-solution__tab-arrow {
  font-size: clamp(12px, 0.729vw, 14px);
  font-weight: 400;
  line-height: 1.4;
}

.home-solution__tab-more {
  display: none;
  opacity: 0.95;
}

.home-solution__tab-arrow {
  display: block;
  opacity: 0.85;
}

.home-solution__tab-icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.home-solution__tab-icon {
  flex-shrink: 0;
  width: clamp(40px, 2.917vw, 56px);
  height: auto;
  opacity: 0.95;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.home-solution__tab.is-active button {
  background: var(--color-primary);
}

.home-solution__tab.is-active .home-solution__tab-more {
  display: block;
}

.home-solution__tab.is-active .home-solution__tab-arrow {
  display: none;
}

.home-solution__tab-icon path {
  fill: #ffffff;
  stroke: #ffffff;
  transition:
    fill 0.3s ease,
    stroke 0.3s ease;
}

.home-solution__tab.is-active .home-solution__tab-icon path {
  fill: #1bb8ce;
  stroke: #1bb8ce;
}

.home-solution__tab.is-active .home-solution__tab-icon {
  filter: none;
}

/* ========== Product ========== */

.home-product {
  position: relative;
  padding: clamp(56px, 5vw, 96px) 0 clamp(64px, 5.208vw, 100px);
  background: #ffffff;
  overflow: hidden;
}

.home-product__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-product__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.home-product__deco {
  position: absolute;
  top: clamp(56px, 5vw, 96px);
  right: 0;
  bottom: clamp(64px, 5.208vw, 100px);
  left: 32%;
  z-index: 0;
  pointer-events: none;
}

.home-product__deco-bg {
  position: absolute;
  right: 0;
  top: 50%;
  width: auto;
  height: 100%;
  max-height: 909px;
  max-width: min(63.59375vw, 1221px);
  object-fit: contain;
  object-position: right center;
  transform: translateY(-50%);
}

.home-product__product-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: clamp(48px, 4vw, 72px);
}

.home-product__deco .home-product__machine {
  position: absolute;
  left: 65%;
  top: 46%;
  right: auto;
  width: auto;
  height: min(72%, clamp(280px, 26vw, 480px));
  max-height: 565px;
  max-width: min(90%, 418px);
  object-fit: contain;
  object-position: center center;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.home-product__deco .home-product__machine.is-active {
  opacity: 1;
}

.home-product > .container {
  position: relative;
  z-index: 1;
}

.home-product__head {
  margin-bottom: clamp(38px, 3.5vw, 58px);
  text-align: left;
}

.home-product__title {
  margin: 0 0 clamp(10px, 0.833vw, 16px);
  font-size: var(--font-section);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.home-product__lead {
  margin: 0;
  max-width: 640px;
  font-size: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.75;
}

.home-product__body {
  display: grid;
  grid-template-columns: minmax(320px, 48%) 1fr;
  gap: clamp(32px, 2.5vw, 60px);
  align-items: stretch;
}

.home-product__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}

.home-product__panels {
  flex: 1;
}

.home-product__panel {
  display: none;
}

.home-product__panel.is-active {
  display: block;
}

.home-product__panel-title {
  margin: 0 0 clamp(14px, 1.042vw, 20px);
  font-size: var(--font-subsection);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.35;
}

.home-product__panel-desc {
  margin: 0 0 clamp(20px, 1.667vw, 32px);
  font-size: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* 左侧二级分类 */
.home-product__cats {
  list-style: none;
  width: 100%;
  max-width: clamp(260px, 16.667vw, 320px);
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,0.2);
}

.home-product__cats li {
  margin: 0;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.home-product__cats button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: clamp(16px, 1.25vw, 22px) 0;
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-muted);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.home-product__cats li.is-active button {
  color: var(--color-accent);
  font-weight: 500;
}

.home-product__cats button:hover,
.home-product__cats button:focus-visible {
  color: var(--color-accent);
}

.home-product__nav-groups {
  position: relative;
  flex: 1;
  min-width: 0;
}

.home-product__nav-groups .home-product__nav-tabs {
  display: none;
  width: 100%;
}

.home-product__nav-groups .home-product__nav-tabs.is-active {
  display: flex;
}

.home-product__cta {
  align-self: flex-start;
  margin-top: clamp(28px, 2.5vw, 48px);
  margin-bottom: 10px;
}

.home-product__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(360px, 32vw, 560px);
}

.home-product__nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(12px, 1.25vw, 24px);
  margin-top: auto;
  padding-top: clamp(16px, 1.458vw, 28px);
}

.home-product__nav-tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 2.083vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-product__nav-tabs li {
  flex-shrink: 0;
}

.home-product__nav-tabs button {
  position: relative;
  padding: 14px 2px 4px;
  font-size: clamp(13px, 0.833vw, 16px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text-light);
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    font-size 0.2s ease;
}

.home-product__nav-tabs button.is-active {
  padding-top: 18px;
  font-size: clamp(16px, 1.042vw, 20px);
  font-weight: 600;
  color: var(--color-primary);
}

.home-product__nav-tabs button.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 1px;
}

.home-product__nav-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(28px, 1.667vw, 32px);
  height: clamp(28px, 1.667vw, 32px);
  margin-bottom: 6px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.home-product__nav-arrow-icon {
  display: block;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid rgba(0,0,0,0.3);
  border-right: 1.5px solid rgba(0,0,0,0.3);
  transition: border-color 0.2s ease;
}

.home-product__nav-arrow--prev .home-product__nav-arrow-icon {
  transform: rotate(-135deg);
}

.home-product__nav-arrow--next .home-product__nav-arrow-icon {
  transform: rotate(45deg);
}

.home-product__nav-arrow:hover .home-product__nav-arrow-icon,
.home-product__nav-arrow:focus-visible .home-product__nav-arrow-icon {
  border-color: #9e9e9e;
}

/* ========== News ========== */

.home-news {
  padding: clamp(48px, 4.167vw, 80px) 0 clamp(56px, 4.583vw, 88px);
  /* background: #f8f9fa; */
}

.home-news .section-head {
  margin-bottom: clamp(32px, 3.125vw, 60px);
  text-align: left;
}

.home-news .section-head__desc {
  margin: 0;
  max-width: 720px;
}

.home-news__panel {
  display: none;
}

.home-news__panel.is-active {
  display: block;
}

.home-news__grid {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(20px, 1.875vw, 36px);
  margin-bottom: clamp(24px, 2.083vw, 40px);
  min-height: clamp(400px, 29.427vw, 565px);
  background: transparent;
}

.home-news__featured {
  position: relative;
  display: block;
  grid-column: 1;
  grid-row: 1 / -1;
  overflow: hidden;
  border-radius: 4px;
  background: #ffffff;
}

.home-news__featured img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.home-news__featured-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(20px, 1.667vw, 28px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(20, 18, 111, 0.75) 55%,
    rgba(20, 18, 111, 0.92) 100%
  );
  color: #ffffff;
}

.home-news__featured-overlay time {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-body);
  color: #ffffff;
  opacity: 0.95;
}

.home-news__featured-overlay h3 {
  margin: 0;
  font-size: var(--font-title);
  font-weight: 600;
  line-height: 1.45;
}

.home-news__list {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-news__item {
  min-height: 0;
}

.home-news__item a {
  display: flex;
  height: 100%;
  gap: 0;
  padding: 0;
  background: #ffffff;
  border-radius: 0;
  transition: background 0.2s ease;
}

.home-news__item a:hover {
  background: #fafafa;
}

.home-news__item--media {
  grid-column: 2;
  grid-row: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}

.home-news__item--media a {
  display: block;
  height: 100%;
  overflow: hidden;
}

.home-news__item--media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.home-news__item--cell:nth-of-type(2) {
  grid-column: 3;
  grid-row: 1;
}

.home-news__item--cell:nth-of-type(3) {
  grid-column: 2;
  grid-row: 2;
}

.home-news__item--cell:nth-of-type(4) {
  grid-column: 3;
  grid-row: 2;
}

.home-news__item--cell {
  border-radius: 4px;
  background: #ffffff;
  overflow: hidden;
}

.home-news__item--cell a {
  padding: clamp(20px, 1.667vw, 28px) clamp(22px, 1.875vw, 32px);
}

.home-news__item-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}

.home-news__item-body time {
  display: block;
  margin-bottom: clamp(8px, 0.625vw, 12px);
  font-size: var(--font-body);
  color: var(--color-accent);
  line-height: 1.4;
}

.home-news__item-body h3 {
  margin: 0 0 clamp(10px, 0.833vw, 14px);
  font-size: clamp(15px, 1.042vw, 20px);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

.home-news__item-body p {
  margin: 0;
  font-size: var(--font-body);
  color: var(--color-text-muted);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-news__item-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: clamp(12px, 1.042vw, 16px);
  border-radius: 50%;
  background: var(--color-primary);
}

.home-news__item-arrow img {
  width: auto;
  height: clamp(8px, 0.521vw, 10px);
  filter: brightness(0) invert(1);
}

.home-news__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px !important;
  list-style: none;
  margin: 0 0 clamp(28px, 2.5vw, 48px);
  padding: 0;
  /* border: 1px solid #e8e8e8; */
  border-radius: 4px;
  overflow: hidden;
  /* background: #ffffff; */
}

.home-news__tab {
  border: 1px solid #e8e8e8;
}

/* .home-news__tab:last-child {
  border-right: none;
} */

.home-news__tab button {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.042vw, 20px);
  width: 100%;
  min-height: clamp(72px, 5.208vw, 100px);
  padding: clamp(16px, 1.25vw, 24px) clamp(20px, 1.667vw, 32px);
  font-size: var(--font-body);
  font-weight: 600;
  color: var(--color-text);
  background: #ffffff;
  border: none;
  cursor: pointer;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.home-news__tab button > img:first-of-type {
  width: clamp(40px, 3.333vw, 64px);
  height: auto;
  flex-shrink: 0;
}

.home-news__tab-label {
  flex: 1;
  text-align: left;
}

.home-news__tab-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #fff;
  /*opacity: 0;*/
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
}

.home-news__tab-arrow img {
  width: auto;
  height: clamp(8px, 0.521vw, 10px);
  filter: brightness(0) invert(1);
}

.home-news__tab button:hover {
  background: var(--color-primary);
  
  color: #ffffff;
}

/*.home-news__tab.is-active button > img:first-of-type {*/
/*  filter: brightness(0) invert(1);*/
/*}*/

.home-news__tab.is-active .home-news__tab-arrow {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.55);
}

.home-news__more-wrap {
  display: flex;
  justify-content: center;
}

/* ========== Service ========== */

.home-service {
  padding: clamp(48px, 4.167vw, 80px) 0 clamp(64px, 5.208vw, 100px);
  background: linear-gradient(180deg, #eaeaea82 0%, #ffffff 27.65%);
}

.home-service__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 1.667vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-service__card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.home-service__card:hover {
  transform: translateY(-4px);
}

.home-service__card > img {
  width: 100%;
  height: clamp(280px, 25.3125vw, 486px);
  object-fit: cover;
  display: block;
}

.home-service__card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(20, 18, 111, 0.9));
  color: #ffffff;
  text-align: center;
}

.home-service__card-overlay h3 {
  margin: 0 0 8px;
  font-size: var(--font-subsection);
  font-weight: 700;
}

.home-service__card-overlay p {
  margin: 0 0 12px;
  font-size: var(--font-body);
  line-height: 1.6;
  opacity: 0.9;
}

.home-service__card-overlay a {
  font-size: var(--font-body);
  color: #ffffff;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.home-service__card-overlay a:hover {
  opacity: 1;
}

/* ========== Responsive（首页，断点 1199 / 991 / 767 / 480）========== */

@media (max-width: 1199px) {
  .site-main--home .container {
    width: calc(100% - clamp(32px, 4vw, 48px));
    max-width: none;
  }
  
  .home-product__deco .home-product__machine {
      left: 50%;
      min-width: 200px !important;
      height: auto !important;
  }
  
  /*.home-product__nav,.home-product__visual,.home-product__deco {*/
  /*    display: none !important;*/
  /*}*/
  
  .home-product__product-stage {
      position: relative;
  }
  
  .home-product__nav {
      margin-top: 300px;
  }
  
  .home-product__deco-bg {
      display: none !important;
  }

  .section-head__desc {
    max-width: 100%;
  }

  .home-hero__content {
    max-width: 560px;
  }

  .home-stats__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .home-stats__note {
    text-align: center;
  }

  .home-solution__inner {
    min-height: clamp(300px, 48vw, 520px);
  }

  .home-solution__title {
    font-size: clamp(22px, 3.5vw, 36px);
  }

  .home-solution__desc {
    max-width: 100%;
  }

  .home-solution__tabs {
    --solution-tabs-visible: 3;
  }

  .home-product__body {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-product__visual {
    min-height: clamp(280px, 45vw, 420px);
  }

  .home-product__deco {
    left: 0;
    top: auto;
    bottom: clamp(48px, 8vw, 80px);
    height: min(55vh, 520px);
    width: min(72vw, 650px);
  }

  .home-product__deco-bg {
    right: 50%;
    max-width: min(100%, 720px);
    transform: translate(50%, -50%);
  }

  .home-product__deco .home-product__machine {
    max-height: min(40vh, 400px);
    top: 42%;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .home-service__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-service__card > img {
    height: clamp(240px, 32vw, 400px);
  }

  .home-news__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .home-news__featured {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: clamp(280px, 50vw, 400px);
  }

  .home-news__item--media {
    grid-column: 1;
    grid-row: auto;
    min-height: clamp(200px, 35vw, 320px);
  }

  .home-news__item--cell:nth-of-type(2) {
    grid-column: 2;
    grid-row: auto;
  }

  .home-news__item--cell:nth-of-type(3) {
    grid-column: 1;
    grid-row: auto;
  }

  .home-news__item--cell:nth-of-type(4) {
    grid-column: 2;
    grid-row: auto;
  }
}

@media (max-width: 991px) {
  .home-hero {
    min-height: clamp(380px, 70vw, 720px);
  }

  .home-hero__inner {
    min-height: clamp(380px, 70vw, 720px);
    padding-bottom: clamp(100px, 22vw, 160px);
  }

  .home-hero__controls-inner {
    justify-content: center;
  }

  .home-hero__controls {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  .home-hero__thumb img {
    width: clamp(100px, 28vw, 180px);
    height: clamp(62px, 17vw, 112px);
  }

  .home-search__form {
    max-width: 100%;
  }

  .home-about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-about__map img {
    margin: 0 auto;
    max-width: 100%;
  }

  .home-solution {
    min-height: clamp(420px, 80vw, 640px);
    padding-bottom: clamp(72px, 12vw, 100px);
  }

  .home-solution__nav {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 24px;
  }

  .home-solution__tabs {
    --solution-tabs-visible: 2;
  }

  .home-product__cats {
    max-width: none;
  }

  .home-product__head {
    margin-bottom: 24px;
  }

  .home-service__list {
    grid-template-columns: 1fr;
  }

  .home-service__card > img {
    height: clamp(220px, 45vw, 360px);
  }

  .home-stats__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
  }
}

@media (max-width: 800px) {
    .home-product__deco .home-product__machine {
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        transform: translate(0%, 0%);
    }
    
    /*.home-product__nav-groups .home-product__nav-tabs.is-active {*/
    /*    overflow-x: scroll;*/
    /*    max-width: 100% !important;*/
    /*}*/
    
    /*.home-product__nav-tabs button {*/
    /*    display: none !important;*/
    /*}*/
    
    /*.home-product__nav-tabs button.is-active {*/
    /*    display: block !important;*/
    /*}*/
    
    .home-product__nav-tabs button {
        font-size: 8px !important;
    }
    
    .home-product__nav-groups .home-product__nav-tabs.is-active {
        justify-content: center !important;
    }
}

@media (max-width: 767px) {
  .site-main--home .container {
    width: calc(100% - 32px);
  }

  .section-head {
    margin-bottom: 28px;
  }

  .home-hero__inner {
    padding-top: 40px;
    padding-bottom: clamp(88px, 20vw, 140px);
  }

  .home-hero__title {
    font-size: clamp(26px, 6.5vw, 36px);
  }

  .home-hero__content {
    max-width: 100%;
  }

  .home-hero__controls-inner {
    justify-content: stretch;
  }

  .home-hero__controls {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .home-hero__panel {
    min-width: 0;
    width: 100%;
  }

  .home-hero__thumb {
    display: none;
  }

  .home-search {
    padding: 32px 0 40px;
  }

  .home-search__title {
    font-size: clamp(22px, 5.5vw, 28px);
    margin-bottom: 20px;
  }

  .home-search__form {
    padding-left: 20px;
  }

  .home-about__heading {
    font-size: clamp(22px, 5.5vw, 32px);
  }

  .home-stats {
    padding: 28px 0 40px;
  }

  .home-solution__inner {
    padding-top: 36px;
    min-height: auto;
  }

  .home-solution__title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .home-solution__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-solution__arrows {
    align-self: flex-end;
  }

  .home-solution__tabs {
    --solution-tabs-visible: 2;
  }

  .home-solution__tab button {
    min-height: 72px;
    padding: 14px 16px;
  }

  .home-solution__tab-name {
    font-size: 15px;
  }

  .home-solution__tab-icon {
    width: 40px;
  }

  .home-product {
    padding: 40px 0 48px;
  }

  .home-product__title {
    font-size: clamp(22px, 5.5vw, 32px);
  }

  .home-product__body {
    gap: 24px;
  }

  .home-product__visual {
    min-height: 220px;
  }

  .home-product__deco {
    bottom: clamp(100px, 18vw, 140px);
    height: min(42vh, 360px);
    width: 100%;
  }

  .home-product__nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .home-product__nav-groups {
    flex: 1 1 100%;
    order: -1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-product__nav-groups::-webkit-scrollbar {
    display: none;
  }

  .home-product__nav-groups .home-product__nav-tabs.is-active {
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-width: max-content;
    padding-bottom: 4px;
  }

  .home-product__nav-tabs button {
    font-size: 14px;
    white-space: nowrap;
  }

  .home-product__nav-tabs button.is-active {
    font-size: 15px;
  }

  .home-news {
    padding: 40px 0 48px;
  }

  .home-news__grid {
    grid-template-columns: 1fr;
    gap: clamp(20px, 5vw, 36px);
  }

  .home-news__featured,
  .home-news__item--media,
  .home-news__item--cell:nth-of-type(2),
  .home-news__item--cell:nth-of-type(3),
  .home-news__item--cell:nth-of-type(4) {
    grid-column: 1;
  }

  .home-news__featured {
    min-height: clamp(240px, 55vw, 360px);
  }

  .home-news__item--media {
    min-height: clamp(180px, 42vw, 280px);
  }

  .home-news__item--cell a {
    padding: 20px;
  }

  .home-news__item-body h3 {
    font-size: 16px;
  }

  .home-news__tabs {
    grid-template-columns: 1fr;
    gap: 12px !important;
  }

  .home-news__tab {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .home-news__tab:last-child {
    border-bottom: none;
  }

  .home-news__tab button {
    min-height: 72px;
  }

  .home-service {
    padding: 40px 0 48px;
  }
}

@media (max-width: 480px) {
  .site-main--home .container {
    width: calc(100% - 24px);
  }

  .home-hero {
    min-height: 360px;
  }

  .home-hero__inner {
    min-height: 360px;
    padding-bottom: 120px;
  }

  .home-hero__page.is-active {
    font-size: clamp(22px, 6vw, 32px);
  }

  .home-search__form {
    padding-left: 16px;
  }

  .home-search__submit {
    width: 40px;
    height: 40px;
  }

  .home-stats__num strong {
    font-size: clamp(32px, 10vw, 48px);
  }

  .home-solution {
    min-height: 380px;
  }

  .home-solution__pager-line {
    flex: 0 0 48px;
  }

  .home-solution__tabs {
    --solution-tabs-visible: 1;
  }

  /*.home-product__deco {*/
  /*  display: none;*/
  /*}*/

  .home-product__visual {
    min-height: 180px;
  }

  .home-product__panel-title {
    font-size: 20px;
  }

  .home-news__item-body p {
    -webkit-line-clamp: 4;
  }
}
