.product-gallery {
  width: 100%;
  height: 100vh;
}

.container {
  width: 100%;
  height: 100%;
}

.container-top,
.container-bottom {
  height: 50%;
  display: flex;
}

.w50p {
  width: 50%;
}

.w25p {
  width: 25%;
}

.qsk95-box,
.qsb7-box {
  width: 25%;
}

.product-tile {
  position: relative;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: flex-end;
  /* border-radius: 24px; */
  overflow: hidden;
  background: #010409;
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 4, 9, 0.65) 0%,
    rgba(1, 4, 9, 0.35) 55%,
    rgba(1, 4, 9, 0) 100%
  );
  opacity: 0;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.product-tile:hover::after {
  opacity: 1;
}

.product-tile:hover {
  /* transform: translateY(-8px); */
  /* box-shadow: 0 26px 60px rgba(15, 23, 42, 0.25); */
}

.product-tile__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-tile:hover .product-tile__image {
  transform: scale(1.03);
}

.product-tile__body {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 32px 32px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  transform: translateY(48px);
  transition: transform 0.5s ease;
}

.product-tile__body h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}

.product-tile__body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.product-tile__link {
  /* font-weight: 600; */
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(6px);
  transform: translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.3s ease, border-color 0.5s ease;
}

.product-tile:hover .product-tile__link {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.35);
}

.product-tile:hover .product-tile__body {
  transform: translateY(-16px);
}

.product-tile__link:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.26);
}

.systems-intro {
  padding-top: 40px;
}

.systems-intro__header {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.system-feature__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  /* gap: 48px; */
  align-items: center;
  padding: 48px;
  border: 1px solid var(--color-border);
  background-color: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.system-feature__item--new-energy {
  flex-direction: column;
  align-items: stretch;
  gap: 32px;
  overflow: hidden;
}

.system-feature__item--marine-power {
  gap: 10%;
}

.system-feature__item--new-energy .system-feature__body,
.system-feature__item--new-energy .system-feature__slider {
  flex: 1 1 auto;
  max-width: 100%;
}

.system-feature__item--new-energy .system-feature__body {
  flex: 0 0 auto;
  text-align: center;
}

.text-right {
  text-align: right;
}

.system-feature__item--new-energy .system-feature__slider {
  flex: 1 1 auto;
  min-height: 0;
}

.system-feature__slider {
  width: 100%;
}

.energy-slider {
  position: relative;
  padding: 0 80px 64px;
}

.energy-slider__viewport {
  position: relative;
  width: 100%;
  /* height: 540px; */
  height: 68vh;
  overflow: visible;
}

.energy-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.energy-slider__slide {
  position: absolute;
  inset: 0;
  left: 50%;
  /* width: min(70%, 680px); */
  width: 70%;
  border-radius: 28px;
  overflow: hidden;
  background: #f0f2f4;
  transform-origin: center;
  transform: translateX(-50%) translate3d(calc(var(--offset, 0) * 55%), 0, 0)
    scale(calc(1 - min(var(--abs-offset, 0), 1) * 0.08));
  opacity: calc(1 - min(var(--abs-offset, 0), 1) * 0.45);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.15);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease,
    box-shadow 0.4s ease;
  z-index: calc(100 - var(--abs-offset, 0));
  display: flex;
  align-items: center;
  padding: 10px;
}

.energy-slider__slide.is-active {
  opacity: 1;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.energy-slider__slide.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.energy-slider__slide img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}

.energy-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
  z-index: 200;
}

.energy-slider__nav:hover {
  background: #0f172a;
  color: #fff;
}

.energy-slider__nav--prev {
  left: 24px;
}

.energy-slider__nav--next {
  right: 24px;
}

.energy-slider__dots {
  position: absolute;
  left: 80px;
  right: 80px;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.energy-slider__dot {
  width: 15px;
  height: 2px;
  /* border-radius: 999px; */
  border: none;
  background: rgba(15, 23, 42, 0.25);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
}

.energy-slider__dot.is-active {
  background: var(--color-primary, #0d6efd);
  transform: scale(1.3);
}

@media (max-width: 1024px) {
  .energy-slider {
    padding: 0 40px 56px;
  }

  .energy-slider__slide {
    width: min(80%, 560px);
  }
}

@media (max-width: 640px) {
  .energy-slider {
    padding: 0 0 48px;
  }

  .energy-slider__slide {
    width: 100%;
  }

  .energy-slider__viewport {
    height: 280px;
  }

  .energy-slider__nav {
    display: none;
  }

  .energy-slider__dots {
    left: 0;
    right: 0;
  }
}

.system-feature__item--reverse {
  flex-direction: row-reverse;
}

/* .system-feature__media,
.system-feature__body {
  flex: 1 1 320px;
} */
.system-feature__media {
  width: 50%;
}

.system-feature__media img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.system-feature__body h3 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.system-feature__body p {
  margin-bottom: 24px;
  color: var(--color-muted);
}

.system-feature__link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(209, 213, 219, 0.8);
  letter-spacing: 0.1em;
}

.system-feature__link:hover {
  background: #f3f4f6;
}

.system-marine-power{
  position: relative;
}

.system-marine-power__image{
  width: 100%;
  height: auto;
}

.system-marine-power-container{
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}
.system-marine-power__title{
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.system_marine__title-desc{
  font-size: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.system-marine-power__link{
  color: #fff;
  letter-spacing: 0.1em;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  background-color: rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(6px);
}
.system-marine-power__link:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.26);
}

.system-grid__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.system-grid__card {
  border: 1px solid var(--color-border);
  border-radius: 28px;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.system-grid__media img {
  width: 100%;
  height: auto;
  display: block;
}

.system-grid__body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.system-grid__body p {
  margin: 0;
  color: var(--color-muted);
}

.system-grid__link {
  margin-top: 8px;
  font-weight: 600;
  color: var(--color-primary);
}

/* -------------------底部轮播图----------------- */
.system-gallery {
  width: 100%;
}

.swiper-list-gallery {
  position: relative;
  padding: 30px 0;
  overflow: hidden;
}
.swiper-slide-gallery-card:not(.active) {
  opacity: 0.6;
}

.swiper-main-gallery {
  position: relative;
}
.swiper-main-gallery .img-box {
  height: 100%;
  position: absolute;
  top: 0px;
  border-radius: 4px;
  display: inline-block;
  overflow: hidden;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.btn-gallery {
  position: absolute;
  top: 50%;
  display: flex;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: #191919;
  background-color: hsla(0, 0%, 92.5%, 0.6);
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.btn-gallery:hover {
  background-color: #e5e7eb;
}
.leftBtn-gallery {
  left: calc(15% + 24px);
}
.rightBtn-gallery {
  right: calc(15% + 24px);
}
.img-title-gallery-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(1, 4, 9, 0) 50%,
    rgba(1, 4, 9, 0.15) 65%,
    rgba(1, 4, 9, 0.85) 100%
  );
  padding: 70px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.img-title-gallery-card-text {
  font-size: 32px;
  color: #fff;
  text-align: center;
}
.img-title-gallery-card-dec {
  font-size: 26px;
  color: #fff;
  text-align: center;
}
.img-title-gallery-card__link {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background-color: rgba(15, 23, 42, 0.15);
  backdrop-filter: blur(6px);
  transform: translateY(16px);
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.3s ease, border-color 0.5s ease;
}

.img-title-gallery-card__link:hover{
  background-color: rgba(255, 255, 255, 0.26);
}

.swiper-main-gallery .swiper-img-class {
  object-fit: cover;
  transition: transform 0.6s ease;
}

.swiper-main-gallery .img-title-gallery-card-text,
.swiper-main-gallery .img-title-gallery-card-dec {
  transition: transform 0.45s ease, opacity 0.4s ease;
}

.swiper-main-gallery .img-title-gallery-card__link {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.swiper-main-gallery .img-box:hover .swiper-img-class {
  transform: scale(1.06);
}

.swiper-main-gallery .img-box:hover .img-title-gallery-card-text,
.swiper-main-gallery .img-box:hover .img-title-gallery-card-dec {
  transform: translateY(6px);
}

.swiper-main-gallery .img-box:hover .img-title-gallery-card__link {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/*------------------------------------------------ */


