.home-page { padding-top: 88px; background: #fff; color: #1a1a2e; }
/* Shared floating toolbar is bottom-aligned on every page; homepage keeps its panel sizing override. */
.home-page ~ .site-floating-tools {
  top: auto;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  transform: none;
}
.home-page ~ .site-floating-tools .sft-contact-panel {
  top: auto;
  bottom: 0;
  max-height: calc(100dvh - 56px - env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  transform: none;
}
@media (max-width: 768px) {
  .home-page ~ .site-floating-tools {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  .home-page ~ .site-floating-tools .sft-contact-panel {
    max-height: calc(100dvh - 108px - env(safe-area-inset-bottom, 0px));
  }
}
.home-hero { position: relative; overflow: hidden; background: #eaf9f8; }
.home-carousel { position: relative; width: 100%; aspect-ratio: 2666 / 972; overflow: hidden; }
.home-carousel__track, .home-carousel__slide, .home-carousel__link { position: absolute; inset: 0; }
.home-carousel__slide { opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.home-carousel__slide:first-child, .home-carousel__slide.is-active { opacity: 1; pointer-events: auto; }
.home-carousel__link { display: block; }
.home-carousel__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-carousel__arrow { position: absolute; top: 50%; z-index: 2; width: 42px; height: 64px; transform: translateY(-50%); border: 0; background: rgba(0,0,0,.25); color: #fff; font-size: 42px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s ease, background .2s ease; }
.home-carousel:hover .home-carousel__arrow, .home-carousel:focus-within .home-carousel__arrow { opacity: 1; }
.home-carousel__arrow:hover { background: rgba(0,0,0,.5); }
.home-carousel__arrow--prev { left: 18px; }
.home-carousel__arrow--next { right: 18px; }
.home-carousel__indicators { position: absolute; bottom: 20px; left: 50%; z-index: 2; display: flex; gap: 10px; transform: translateX(-50%); }
.home-carousel__indicator { width: 10px; height: 10px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; }
.home-carousel__indicator.is-active { background: #fff; }
.home-seo-title { margin: 0; padding: 34px 20px 10px; color: #1a1a2e; font-size: 2rem; line-height: 1.35; text-align: center; }
.home-seo-subtitle { margin: 0 auto; padding: 0 20px 32px; color: #6b7280; text-align: center; font-size: 1rem; }
.home-section { padding: 62px 0 68px; }
.home-section:nth-of-type(even) { background: #fff; }
.home-section-title { margin: 0 0 34px; text-align: center; }
.home-section-title h2 { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 8px; color: #1f2329; font-size: 1.75rem; line-height: 1.4; }
.home-section-title h2::before, .home-section-title h2::after { content: ""; width: 80px; height: 1px; background: #b8b8b8; }
.home-section-title p { margin: 0; color: #6b7280; font-size: .95rem; }
.home-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-card { display: flex; flex-direction: column; overflow: hidden; padding: 16px; border: 1px solid #e8e8e8; border-radius: 6px; background: #fff; color: inherit; }
.home-card:hover { text-decoration: none; }
.home-card-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.home-card-image img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .3s ease; }
.home-card:hover .home-card-image img { transform: scale(1.25); }
.home-card-image::after { content: "查看详情"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.5); font-size: 20px; opacity: 0; transition: opacity .2s ease; }
.home-card:hover .home-card-image::after { opacity: 1; }
.home-card-name { margin: 8px 0 0; overflow: hidden; color: #1f2329; font-size: 1rem; line-height: 1.4; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.home-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 32px; border-radius: 999px; background: linear-gradient(to right, #242970, #157fa2); color: #fff; font-size: 1.125rem; }
.home-more:hover { background: linear-gradient(to right, #242970, #157fa2); color: #fff; text-decoration: none; }
.home-section-footer { text-align: center; }
.home-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-news-card { display: block; padding: 24px; border: 1px solid #e8ecf1; border-radius: 8px; background: #fff; color: inherit; }
.home-news-card:hover { border-color: #1a6bff; text-decoration: none; }
.home-news-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: #1a6bff; font-size: .82rem; }
.news-pin-badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; padding: 5px 10px 5px 8px; border: 1px solid #087a78; border-radius: 999px; background: linear-gradient(125deg, #0c9189, #087474); box-shadow: 0 3px 8px rgba(0, 111, 107, .17); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; letter-spacing: .06em; white-space: nowrap; }
.news-pin-badge::before { content: ""; width: 12px; height: 12px; flex-shrink: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 3l5 5-1.5 1.5-1.7-.4-3.3 3.3.6 3.4-1.3 1.3-4.5-4.5L3 21l1-6.3 6.4-6.4-4.5-4.5 1.3-1.3 3.4.6 3.3-3.3L16 3z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M16 3l5 5-1.5 1.5-1.7-.4-3.3 3.3.6 3.4-1.3 1.3-4.5-4.5L3 21l1-6.3 6.4-6.4-4.5-4.5 1.3-1.3 3.4.6 3.3-3.3L16 3z'/%3E%3C/svg%3E") center / contain no-repeat; }
.home-news-meta .news-pin-badge { font-size: 11px; }
.home-news-card.is-pinned { position: relative; border-color: #b6dcd7; background: linear-gradient(160deg, #f2faf8 0%, #fff 52%); box-shadow: 0 10px 28px rgba(4, 92, 89, .09); }
.home-news-card.is-pinned::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #0b9389 0%, #39beb0 45%, transparent 100%); }
.home-news-card.is-pinned:hover { border-color: #0b8e86; }
.home-news-card h3 { margin: 0 0 10px; color: #1f2329; font-size: 1.05rem; line-height: 1.5; }
.home-news-date { flex-shrink: 0; padding-top: 2px; color: #9aa4b2; font-size: .78rem; line-height: 1.5; white-space: nowrap; }
.home-news-card p { margin: 0; color: #6b7280; font-size: .9rem; line-height: 1.7; }
.home-news-card { padding: 0; overflow: hidden; }
.home-news-image { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #f5f7fa; }
.home-news-image img { display: block; width: auto; height: 100%; max-width: 100%; margin: 0 auto; object-fit: contain; transition: transform .3s ease; }
.home-news-card:hover .home-news-image img { transform: scale(1.03); }
.home-news-card .home-news-meta { margin: 20px 24px 12px; }
.home-news-card h3 { margin: 0 24px 10px; }
.home-news-card p { margin: 0 24px 24px; }
.home-cert-carousel { position: relative; overflow: hidden; padding: 0 52px 42px; }
.home-cert-carousel__track { position: relative; height: 350px; perspective: 1200px; transform-style: preserve-3d; }
.home-cert-card { position: absolute; top: 0; left: 50%; display: block; width: 31%; height: 350px; padding: 0; color: inherit; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(-50%) scale(.7); transition: transform .55s ease, opacity .55s ease, visibility 0s linear .55s; }
.home-cert-card img { display: block; width: 100%; height: 310px; object-fit: contain; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .16); }
.home-cert-card span { display: block; padding-top: 10px; color: #4b5563; font-size: .85rem; line-height: 1.5; opacity: 0; transition: opacity .4s ease; }
.home-cert-card.is-active { z-index: 3; opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) rotateY(0deg) scale(1); transition-delay: 0s; }
.home-cert-card.is-active span { opacity: 1; }
.home-cert-card.is-prev, .home-cert-card.is-next { z-index: 2; opacity: .72; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.home-cert-card.is-prev { transform: translateX(calc(-50% - 108%)) rotateY(10deg) scale(.8); }
.home-cert-card.is-next { transform: translateX(calc(-50% + 108%)) rotateY(-10deg) scale(.8); }
.home-cert-card.is-hidden-prev { transform: translateX(calc(-50% - 225%)) rotateY(18deg) scale(.68); }
.home-cert-card.is-hidden-next { transform: translateX(calc(-50% + 225%)) rotateY(-18deg) scale(.68); }
.home-cert-carousel__arrow { position: absolute; top: 44%; z-index: 5; display: grid; width: 42px; height: 64px; transform: translateY(-50%); border: 0; background: transparent; color: #008080; font-size: 48px; font-weight: 300; line-height: 1; cursor: pointer; place-items: center; }
.home-cert-carousel__arrow:hover { color: #005f5f; }
.home-cert-carousel__arrow--prev { left: 0; }
.home-cert-carousel__arrow--next { right: 0; }
.home-cert-carousel__indicators { position: absolute; bottom: 7px; left: 50%; display: flex; gap: 8px; transform: translateX(-50%); }
.home-cert-carousel__indicator { width: 9px; height: 9px; padding: 0; border: 1px solid #008080; border-radius: 50%; background: #fff; cursor: pointer; }
.home-cert-carousel__indicator[hidden] { display: none; }
.home-cert-carousel__indicator.is-active { background: #008080; }
@media (max-width: 1100px) { .home-card-grid, .home-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 980px) { .home-cert-carousel__track, .home-cert-card { height: 320px; } .home-cert-card { width: 42%; } .home-cert-card img { height: 280px; } }
@media (max-width: 640px) { .home-page { padding-top: 64px; } .home-seo-title { font-size: 1.55rem; } .home-section { padding: 42px 16px 48px; } .home-section-title h2 { font-size: 1.35rem; } .home-section-title h2::before, .home-section-title h2::after { width: 28px; } .home-card-grid, .home-news-grid { grid-template-columns: 1fr; } .home-card { padding: 12px; } .home-cert-carousel { padding: 0 38px 38px; } .home-cert-carousel__track, .home-cert-card { height: 300px; } .home-cert-card { width: 78%; } .home-cert-card img { height: 260px; } .home-cert-card.is-prev { transform: translateX(calc(-50% - 92%)) rotateY(8deg) scale(.76); } .home-cert-card.is-next { transform: translateX(calc(-50% + 92%)) rotateY(-8deg) scale(.76); } .home-cert-card.is-hidden-prev { transform: translateX(calc(-50% - 180%)) scale(.65); } .home-cert-card.is-hidden-next { transform: translateX(calc(-50% + 180%)) scale(.65); } .home-carousel__arrow, .home-cert-carousel__arrow { width: 32px; height: 46px; font-size: 36px; } .home-carousel__arrow--prev { left: 8px; } .home-carousel__arrow--next { right: 8px; } .home-cert-carousel__arrow--prev { left: 4px; } .home-cert-carousel__arrow--next { right: 4px; } .home-cert-carousel__indicators { bottom: 10px; gap: 7px; } .home-cert-carousel__indicator { width: 8px; height: 8px; } }


/* Four staggered partner-logo streams below the certification section. */
.partner-showcase {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  border-top: 1px solid #e5efed;
  background: #f5faf9;
}
.partner-showcase__heading {
  margin-bottom: 38px;
  text-align: center;
}
.partner-showcase__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #169179;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.partner-showcase__heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 8px;
  color: #1f2329;
  font-size: 1.75rem;
  line-height: 1.4;
  letter-spacing: 0;
}
.partner-showcase__heading h2::before,
.partner-showcase__heading h2::after {
  content: "";
  width: 80px;
  height: 1px;
  background: #9eb9b4;
}
.partner-showcase__heading p {
  margin: 0;
  color: #66736f;
  font-size: .95rem;
}
.partner-field {
  position: relative;
  height: 430px;
  overflow: hidden;
  isolation: isolate;
}
.partner-meteor {
  --from-x: -260px;
  --to-x: calc(100vw + 100px);
  position: absolute;
  top: var(--top);
  left: 0;
  display: grid;
  width: var(--width);
  height: var(--height);
  min-width: 0;
  min-height: 0;
  padding: 6px 8px;
  border: 1px solid #e1ebe8;
  border-radius: 6px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 22px rgba(22, 80, 69, .09);
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  contain: layout paint style;
  opacity: 0;
  will-change: transform, opacity;
  animation: partner-meteor-flight var(--duration) linear var(--delay) infinite;
}
.partner-meteor--reverse {
  --from-x: calc(100vw + 100px);
  --to-x: -260px;
}
.partner-meteor::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 76px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(22, 145, 121, .34));
}
.partner-meteor--reverse::before {
  right: auto;
  left: 100%;
  background: linear-gradient(to left, transparent, rgba(22, 145, 121, .34));
}
.partner-meteor img {
  display: block;
  width: 92%;
  height: 88%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  justify-self: center;
  align-self: center;
}
.partner-meteor:hover { animation-play-state: paused; }
@keyframes partner-meteor-flight {
  0%, 14% {
    opacity: 0;
    transform: translate3d(var(--from-x), calc(-50% - var(--drift)), 0) rotate(var(--tilt)) scale(.88);
  }
  24% { opacity: .94; }
  62% { opacity: 1; }
  78%, 100% {
    opacity: 0;
    transform: translate3d(var(--to-x), calc(-50% + var(--drift)), 0) rotate(var(--tilt)) scale(1.02);
  }
}
@media (max-width: 640px) {
  .partner-showcase { padding: 48px 0 54px; }
  .partner-showcase__heading { margin-bottom: 28px; padding: 0 20px; }
  .partner-showcase__heading h2 { font-size: 1.35rem; }
  .partner-showcase__heading h2::before,
  .partner-showcase__heading h2::after { width: 28px; }
  .partner-field { height: 360px; }
  .partner-meteor { --to-x: max(calc(100vw + 100px), 1580px); width: min(var(--width), 48vw); height: min(var(--height), 74px); padding: 6px 8px; }
  .partner-meteor::before { width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .partner-field {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: auto;
    padding: 0 20px;
    overflow: visible;
  }
  .partner-meteor { position: relative; top: auto; width: auto; height: 68px; opacity: 1; transform: none; animation: none; }
  .partner-meteor::before { display: none; }
}



