.page-home {
  --home-header: 72px;
}

html:has(.page-home) {
  scroll-behavior: smooth;
  scroll-padding-top: var(--home-header, 72px);
  scroll-snap-type: y proximity;
}

.page-home .home-screen {
  min-height: calc(100vh - var(--home-header, 72px));
  min-height: calc(100dvh - var(--home-header, 72px));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.page-home .home-hero.home-screen {
  justify-content: stretch;
  min-height: calc(100vh - var(--home-header, 72px));
  min-height: calc(100dvh - var(--home-header, 72px));
}

.page-home .home-hero .home-hero-track,
.page-home .home-hero .home-slide.is-active {
  min-height: calc(100vh - var(--home-header, 72px));
  min-height: calc(100dvh - var(--home-header, 72px));
}

.page-home .home-hero .home-slide img,
.page-home .home-hero .home-slide video {
  width: 100%;
  height: calc(100vh - var(--home-header, 72px));
  height: calc(100dvh - var(--home-header, 72px));
  object-fit: cover;
}

.page-home .home-intro-about img {
  height: 210px;
}

.page-home .home-sol img {
  height: 96px;
}

.page-home .home-trust-card img {
  height: 152px;
}

.page-home .home-trust-wins-view {
  height: 360px;
}

.page-home .home-adv-card {
  min-height: 300px;
}

.page-home .home-band.home-screen {
  justify-content: center;
  padding: 28px 0 24px;
}

.page-home .home-trust {
  padding: 0 0 16px;
}

.page-home .home-partners {
  padding: 0;
}

.page-home .home-adv {
  padding: 36px 0;
  background: url("../img/bj3.png") center bottom / cover no-repeat;
  background-color: #eef5fb;
}

.page-home .home-end.home-screen {
  justify-content: flex-start;
  min-height: auto;
  scroll-snap-stop: normal;
}

.page-home .home-end .footer-cta {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  html:has(.page-home) {
    scroll-snap-type: none;
  }

  .page-home .home-screen {
    min-height: auto;
    height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    justify-content: flex-start;
  }

  .page-home .home-hero.home-screen {
    min-height: 0;
  }

  .page-home .home-hero .home-slide img,
  .page-home .home-hero .home-slide video {
    height: auto;
    max-height: 56vh;
    object-fit: cover;
  }

  .page-home .home-hero .home-hero-track,
  .page-home .home-hero .home-slide.is-active {
    min-height: 0;
  }
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: #cfe6f8;
  z-index: 0;
  isolation: isolate;
}

.home-hero-track {
  position: relative;
  width: 100%;
}

.home-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  background: #cfe6f8;
}

.home-slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.home-slide img,
.home-slide video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  vertical-align: top;
  -webkit-user-drag: none;
  position: relative;
  z-index: 0;
}

/* Banner 图上三行文案：垂直水平居中，可复制 */
.home-slide-caption {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  max-width: min(86%, 900px);
  width: max-content;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 18px 24px;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
  pointer-events: auto;
  line-height: 1.45;
}

.home-slide-caption p {
  margin: 0;
  color: #fff;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.home-slide-caption p:nth-child(1) {
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.home-slide-caption p:nth-child(2) {
  margin-top: 10px;
  font-size: clamp(20px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.3;
}

.home-slide-caption p:nth-child(3) {
  margin-top: 12px;
  font-size: clamp(15px, 1.5vw, 24px);
  font-weight: 500;
  opacity: 0.95;
}

.home-hero-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transform: translateY(-50%);
}

.home-hero-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #666;
  border-right: 2px solid #666;
}

.home-hero-btn.prev {
  left: 16px;
}

.home-hero-btn.prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}

.home-hero-btn.next {
  right: 16px;
}

.home-hero-btn.next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}

.home-hero-btn:hover {
  background: #fff;
}

.home-hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
}

.home-hero-dots button {
  width: 22px;
  height: 2px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: width 0.25s ease;
}

.home-hero-dots button.is-active {
  width: 42px;
  height: 2px;
  background: #fff;
}





.home-intro {
  padding: 56px 0 28px;
  background: url("../img/bj-2.png") center top / cover no-repeat;
}

.home-intro-head {
  text-align: center;
  margin-bottom: 32px;
}

.home-intro-head h2 {
  font-size: 36px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 1px;
}

.home-intro-head p {
  margin-top: 12px;
  color: #888;
  font-size: 16px;
}

.home-intro-body {
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: 18px;
  align-items: stretch;
}

.home-intro-about {
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(30, 50, 90, 0.06);
}

.home-intro-about-media {
  display: block;
  overflow: hidden;
  line-height: 0;
}

.home-intro-about-media img,
.home-intro-about img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: 20% center;
  transition: transform 0.45s ease;
}

.home-intro-about:hover .home-intro-about-media img,
.home-intro-about:hover img {
  transform: scale(1.06);
}

.home-intro-about-copy {
  padding: 16px 18px 18px;
  -webkit-user-select: text;
  user-select: text;
}

.home-intro-about-copy p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.home-intro-about-copy .home-intro-more,
.home-intro-about-copy span {
  display: inline-block;
  margin-top: 10px;
  color: #2f7cf6;
  font-size: 15px;
}

.home-intro-sols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 14px;
  background: #fff;
  padding: 18px 16px 14px;
  box-shadow: 0 8px 24px rgba(30, 50, 90, 0.06);
}

.home-sol {
  min-width: 0;
  overflow: hidden;
}

.home-sol-visual {
  position: relative;
  overflow: hidden;
  background: #f7f9fc;
}

.home-sol-media {
  display: block;
  overflow: hidden;
  line-height: 0;
  background: #f7f9fc;
}

.home-sol-media img,
.home-sol img {
  width: 100%;
  height: 118px;
  object-fit: contain;
  background: #f7f9fc;
  transition: transform 0.45s ease;
}

.home-sol:hover .home-sol-media img,
.home-sol:hover img {
  transform: scale(1.08) translateY(-4px);
}

/* 图示内嵌文字：透明叠层，可选中复制，不遮挡观感 */
.img-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.img-hotspots li {
  position: absolute;
  transform: translate(-50%, -50%);
  margin: 0;
  pointer-events: auto;
}

.img-hotspots span {
  display: inline-block;
  color: transparent;
  font-size: clamp(9px, 1.05vw, 13px);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
  padding: 4px 6px;
}

.home-sol h3 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #333;
  line-height: 1.4;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.home-sol p {
  margin-top: 6px;
  color: #999;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.home-sol:hover h3 {
  color: #2f7cf6;
}

@media (max-width: 980px) {
  .home-intro-body {
    grid-template-columns: 1fr;
  }

  .home-intro-sols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-intro-head h2 {
    font-size: 26px;
  }

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

.home-band {
  background: url("../img/bj3.png") center top / cover no-repeat;
  background-color: #eef5fb;
}

.home-trust {
  padding: 8px 0 18px;
  background: transparent;
}

.home-trust-head {
  text-align: center;
  margin-bottom: 28px;
}

.home-trust-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 1px;
}

.home-trust-head p {
  margin-top: 12px;
  color: #888;
  font-size: 15px;
}

.home-trust-panel {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr) 310px;
  gap: 12px 18px;
  background: #fff;
  border-radius: 8px;
  padding: 22px 18px 24px 8px;
  box-shadow: 0 8px 24px rgba(30, 50, 90, 0.06);
}

.home-trust-cats {
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ececec;
  padding: 4px 0 8px;
}

.home-trust-cat {
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 100px;
  padding: 12px 10px;
  color: #444;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  user-select: text;
  -webkit-user-select: text;
}

.home-trust-cat img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.home-trust-cat.is-active {
  color: #2f7cf6;
}

.home-trust-cat.is-active img {
  filter: brightness(0) saturate(100%) invert(42%) sepia(72%) saturate(1804%) hue-rotate(199deg) brightness(99%) contrast(96%);
}

.home-trust-cat.is-active::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: #2f7cf6;
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
  align-content: start;
  padding: 4px 2px 0;
}

.home-trust-card[hidden] {
  display: none !important;
}

.home-trust-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(30, 50, 90, 0.1);
  user-select: text;
  -webkit-user-select: text;
  -webkit-user-drag: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-trust-card:hover {
  box-shadow: 0 8px 22px rgba(30, 50, 90, 0.14);
  transform: translateY(-2px);
}

.home-trust-card-media {
  display: block;
  overflow: hidden;
  line-height: 0;
}

.home-trust-card img {
  width: 100%;
  height: 152px;
  object-fit: cover;
  display: block;
  background: #f3f3f3;
  transition: transform 0.4s ease;
  -webkit-user-drag: none;
}

.home-trust-card:hover img {
  transform: scale(1.04);
}

.home-trust-card figcaption,
.home-trust-card h3 {
  margin: 0;
  padding: 14px 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-align: center;
  line-height: 1.4;
  background: #f4f5f7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: text;
  -webkit-user-select: text;
  user-select: text;
}

.home-trust-wins {
  min-width: 0;
  border-left: 1px solid #f0f0f0;
  padding: 6px 4px 0 16px;
}

.home-trust-wins > h3 {
  margin-bottom: 12px;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

.home-trust-wins-view {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.home-trust-wins-list {
  list-style: none;
  margin: 0;
  padding: 0;
  will-change: transform;
}

.home-trust-win {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #efefef;
  user-select: text;
  -webkit-user-select: text;
}

.home-trust-win-copy {
  flex: 1;
  min-width: 0;
  cursor: text;
}

.home-trust-win-copy h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #d32f2f;
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-trust-win-copy p {
  margin: 7px 0 0;
  color: #999;
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-trust-win-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 2px;
  overflow: hidden;
  background: #f7f7f7;
  -webkit-user-drag: none;
}

.home-trust-win-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

@media (max-width: 1100px) {
  .home-trust-panel {
    grid-template-columns: 110px 1fr;
  }

  .home-trust-wins {
    grid-column: 1 / -1;
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
  }

  .home-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-trust-card img {
    height: 140px;
  }
}

@media (max-width: 720px) {
  .home-trust-panel {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .home-trust-cats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    border-right: 0;
  }

  .home-trust-cat.is-active::after {
    display: none;
  }

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

  .home-trust-card img {
    height: 130px;
  }

  .home-trust-card figcaption,
  .home-trust-card h3 {
    font-size: 15px;
    padding: 12px 8px;
  }

  .home-trust-head h2 {
    font-size: 24px;
  }

  .home-trust-win-copy h4 {
    font-size: 14px;
  }

  .home-trust-win-thumb {
    width: 64px;
    height: 64px;
  }
}

.home-partners {
  padding: 4px 0 36px;
  background: transparent;
  overflow: hidden;
}

.home-partners-view {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  overflow: hidden;
}

.home-partners-rail {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.home-partners-track {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.home-partners-item {
  flex: 0 0 auto;
  width: 210px;
  height: 78px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(30, 50, 90, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.home-partners-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-adv {
  padding: 20px 0 72px;
  background: transparent;
}

.home-adv-head {
  text-align: center;
  margin-bottom: 36px;
}

.home-adv-head h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1f1f1f;
}

.home-adv-head p {
  margin: 14px auto 0;
  max-width: 760px;
  color: #888;
  font-size: 15px;
  line-height: 1.7;
}

.home-adv-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.home-adv-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(30, 50, 90, 0.08);
  overflow: hidden;
  min-height: 360px;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 80, 180, 0.22);
}

.home-adv-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 0;
  text-align: center;
}

.home-adv-stats {
  min-height: 148px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 16px;
}

.home-adv-stats p {
  margin: 0 0 10px;
}

.home-adv-stats strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  line-height: 1.35;
}

.home-adv-stats span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: #999;
  line-height: 1.4;
}

.home-adv-card ul {
  list-style: none;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e5e5e5;
}

.home-adv-card li {
  margin: 10px 0;
  color: #999;
  font-size: 14px;
  line-height: 1.4;
}

.home-adv-more {
  display: block;
  margin: 0 16px 18px;
  text-align: center;
  font-size: 14px;
  line-height: 40px;
  color: #666;
  border-radius: 5px;
  transition: background 0.2s ease, color 0.2s ease;
}

.home-adv-card.is-active,
.home-adv-card:hover {
  background: #2f7cf6;
}

.home-adv-card.is-active .home-adv-stats,
.home-adv-card.is-active ul,
.home-adv-card:hover .home-adv-stats,
.home-adv-card:hover ul {
  border-bottom-color: rgba(255, 255, 255, 0.55);
}

.home-adv-card.is-active .home-adv-stats strong,
.home-adv-card.is-active .home-adv-stats span,
.home-adv-card.is-active li,
.home-adv-card:hover .home-adv-stats strong,
.home-adv-card:hover .home-adv-stats span,
.home-adv-card:hover li {
  color: #fff;
}

.home-adv-card.is-active .home-adv-more,
.home-adv-card:hover .home-adv-more {
  background: #ff9600;
  color: #fff;
  font-weight: 500;
}

.home-adv-card.is-active .home-adv-more:hover,
.home-adv-card:hover .home-adv-more:hover {
  background: #f08800;
  color: #fff;
}

.home-adv-grid:hover .home-adv-card.is-active:not(:hover) {
  background: #fff;
  transform: none;
  box-shadow: 0 6px 18px rgba(30, 50, 90, 0.08);
}

.home-adv-grid:hover .home-adv-card.is-active:not(:hover) .home-adv-stats strong {
  color: #222;
}

.home-adv-grid:hover .home-adv-card.is-active:not(:hover) .home-adv-stats span,
.home-adv-grid:hover .home-adv-card.is-active:not(:hover) li {
  color: #999;
}

.home-adv-grid:hover .home-adv-card.is-active:not(:hover) .home-adv-stats,
.home-adv-grid:hover .home-adv-card.is-active:not(:hover) ul {
  border-bottom-color: #e5e5e5;
}

.home-adv-grid:hover .home-adv-card.is-active:not(:hover) .home-adv-more {
  background: transparent;
  color: #666;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .home-adv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-partners-item {
    width: 180px;
    height: 70px;
  }
}

@media (max-width: 720px) {
  .home-adv-grid {
    grid-template-columns: 1fr;
  }

  .home-adv-head h2 {
    font-size: 24px;
  }

  .home-partners-item {
    width: 160px;
    height: 64px;
  }
}

@media (max-width: 760px) {
  .page-home {
    overflow-x: hidden;
  }

  .home-slide-caption {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    padding: 12px 10px;
  }

  .home-slide-caption p {
    white-space: normal;
    word-break: break-word;
  }

  .home-slide-caption p:nth-child(1) {
    font-size: 14px;
  }

  .home-slide-caption p:nth-child(2) {
    margin-top: 8px;
    font-size: 18px;
  }

  .home-slide-caption p:nth-child(3) {
    margin-top: 8px;
    font-size: 13px;
  }

  .home-hero-btn {
    width: 30px;
    height: 30px;
  }

  .home-hero-btn.prev {
    left: 8px;
  }

  .home-hero-btn.next {
    right: 8px;
  }

  .home-hero-dots {
    bottom: 12px;
  }

  .home-intro {
    padding: 28px 0 16px;
  }

  .home-intro-head {
    margin-bottom: 18px;
  }

  .home-intro-head p {
    font-size: 14px;
    padding: 0 8px;
  }

  .home-intro-about-media img,
  .home-intro-about img,
  .page-home .home-intro-about img {
    height: 180px;
  }

  .home-intro-sols {
    padding: 14px 12px 10px;
    gap: 12px;
  }

  .page-home .home-sol img,
  .home-sol-media img,
  .home-sol img {
    height: 88px;
  }

  .home-trust-head p,
  .home-adv-head p {
    padding: 0 8px;
    font-size: 14px;
  }

  .home-trust-wins-view,
  .page-home .home-trust-wins-view {
    height: 280px;
  }

  .home-trust-cat {
    min-height: 72px;
    font-size: 13px;
    padding: 8px 6px;
  }

  .home-partners-view {
    width: calc(100% - 24px);
  }

  .home-adv {
    padding: 16px 0 40px;
  }

  .home-adv-card {
    min-height: 0;
  }

  .page-home .home-band.home-screen {
    padding: 16px 0 12px;
  }
}

/* 站内「欢迎咨询」已弃用，改由快商通承接 */
.consult-float { display: none !important; }
.consult-chat { display: none !important; }
