/* 首页 */
/* header — 透明浮动（仅首页） */
.page-home .header-wrap {
  height: 0;
}
.page-home .header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.banner {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/index_banner.jpg) no-repeat center;
  background-size: cover;
  z-index: 0;
  animation: bannerZoom 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform-origin: center center;
}
.banner .wrap {
  position: relative;
  z-index: 1;
}
@keyframes bannerZoom {
  from {
    transform: scale(1.2);
  }
  to {
    transform: scale(1);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.banner .text1 {
  font-size: 12px;
  color: #22d3ee;
  margin-bottom: 30px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  display: inline-block;
  padding: 10px 20px;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s forwards;
}
.banner .text1::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22d3ee;
  margin-right: 10px;
  box-shadow: 0 0 8px 0 rgba(6, 182, 212, 0.8);
}
.banner .text2 {
  color: #fff;
  font-family: 'Noto Sans SC';
  font-size: 72px;
  font-style: normal;
  font-weight: 900;
  line-height: 72px;
  letter-spacing: -1.8px;
  margin-bottom: 46px;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}
.banner .text2 span {
  display: block;
  color: #22d3ee;
}
.banner .text3 {
  color: #d1d5db;
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 50px;
  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.8s forwards;
}
.banner .text3 strong {
  color: #fff;
}
.banner .links a {
  display: inline-block;
  padding: 16px 32px;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  opacity: 0;
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.banner .links a:nth-child(1) {
  background-color: #036eb7;
  animation-delay: 1.1s;
}
.banner .links a:nth-child(2) {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  margin-left: 20px;
  animation-delay: 1.3s;
}

/* 产品中心 */
.product-center {
  position: relative;
}
.product-center::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: #107ab1;
  z-index: -1;
}
.page-title {
  text-align: center;
  padding: 50px 0;
}
.page-title p {
  font-size: 16px;
}
.page-title h2 {
  font-size: 48px;
  font-weight: 700;
  position: relative;
}
.page-title h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  width: 108px;
  height: 5px;
  border-radius: 50px;
  background: linear-gradient(90deg, #06a8c8 0%, #34d399 100%);
}
.product-center .wrap {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 60px 0;
}
.product-item {
  width: calc((100% - 90px) / 4);
  display: flex;
  flex-direction: column;
}
.product-item .product-img {
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(117.79% 82.51% at 86.82% 52.34%, #dde3e8 0%, #e0e7ed 17.32%, #c7d0d9 100%);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.product-item .product-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.product-item .product-img:hover img {
  transform: scale(1.12);
}
.product-item .product-name {
  font-size: 20px;
  color: #fff;
  line-height: 30px;
  height: 30px;
  margin-bottom: 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-item .product-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 1);
  line-height: 20px;
  height: 20px;
  margin-bottom: 8px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.product-item .product-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 1);
  line-height: 22px;
  height: 44px;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}
.product-item .product-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 124px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  color: var(--primary-color);
  font-size: 14px;
  transition: background-color 0.2s;
  background: url(../images/arrow_right.png) no-repeat 86% center #fff;
  padding-right: 30px;
}
.product-item .product-btn:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* 走进巴斯德生物 */
.company-profile {
  height: 980px;
  background: url(../images/company_profile_bg.png) no-repeat center;
  background-size: cover;
}
.company-profile .page-title {
  padding-top: 80px;
}
.company-profile .page-title p {
  color: #06b6d4;
}
.company-profile .col {
  padding-top: 50px;
  display: flex;
  justify-content: space-between;
}
.company-profile .col-l {
  margin-right: 140px;
}
@media screen and (max-width: 1710px) {
  .company-profile .col-l {
    margin-right: 110px;
  }
}
@media screen and (max-width: 1610px) {
  .company-profile .col-l {
    margin-right: 80px;
  }
}
.company-profile .desc {
  font-size: 15px;
  line-height: 30px;
  margin-bottom: 60px;
  max-height: 400px;
  overflow-y: auto;
}
.company-profile .desc p + p {
  margin-top: 30px;
}
.company-profile .more {
  border-radius: 9999px;
  display: inline-block;
  padding: 16px 122px 16px 32px;
  align-items: center;
  font-size: 16px;
  color: #fff;
  background: url(../images/arrow_right_white.png) no-repeat 90% center #036eb7;
  transition: background 0.2s ease;
}
.company-profile .more:hover {
  background-color: #036fb798;
}
.company-profile .col-r .square-grid {
  display: grid;
  grid-template-columns: 232px 232px;
}
.company-profile .col-r .square {
  width: 232px;
  height: 232px;
}
.company-profile .col-r .square-1 {
  grid-column: 2;
  background-color: #06b6d4;
  color: #fff;
  padding: 70px 0 0 30px;
}
.company-profile .col-r .square-2 {
  background-color: #19d2a4;
  color: #fff;
  padding: 70px 0 0 30px;
}
.company-profile .col-r .square-3 {
  background-color: #03557f;
  color: #fff;
  padding: 40px 20px 0 20px;
}
.company-profile .col-r .square-1 p:nth-child(1),
.company-profile .col-r .square-2 p:nth-child(1) {
  font-size: 38px;
}
.company-profile .col-r .square-1 p:nth-child(1) span,
.company-profile .col-r .square-2 p:nth-child(1) span {
  font-size: 15px;
}
.company-profile .col-r .square-1 p:nth-child(2),
.company-profile .col-r .square-2 p:nth-child(2) {
  font-size: 15px;
}
.company-profile .col-r .square-3 p:nth-child(1) {
  display: inline-block;
  border-radius: 50px;
  background: url(../images/city_one.png) no-repeat 8px center rgba(255, 255, 255, 0.1);
  padding: 5px 15px 5px 32px;
  margin-bottom: 10px;
}
.company-profile .statistics {
  display: flex;
  justify-content: space-between;
  padding-top: 50px;
}
.company-profile .statistics li {
  border-left: 1px solid var(--primary-color);
  padding-left: 48px;
}
.company-profile .statistics li p:nth-child(1) {
  font-size: 15px;
}
.company-profile .statistics li p:nth-child(1) span {
  display: inline-block;
  min-width: 130px;
  font-size: 56px;
  font-weight: 700;
  color: var(--primary-color);
  margin-right: 5px;
}
.company-profile .statistics li p:nth-child(2) {
  font-size: 12px;
}
/* 新闻资讯 */
.news-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 30px 0 60px;
}
.news-list .item {
    width: calc((100% - 90px) / 3);
    display: flex;
    flex-direction: column;
    background: #f3f7fb;
    border-radius: 8px;
    overflow: hidden;
}
.news-list .item .img {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}
.news-list .item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.news-list .item .img:hover img {
    transform: scale(1.1);
}
.news-list .item .con {
    padding: 20px;
}
.news-list .item .time {
    font-size: 12px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.news-list .item a.title {
    line-height: 30px;
    height: 60px;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    color: #333;
}
.news-list .item a.title:hover {
    color: var(--primary-color);
}
.news-list .item .desc {
    font-size: 15px;
    line-height: 1.75;
}

/* ========== Scroll-triggered Animations ========== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim-fade-left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.anim-zoom-in {
  opacity: 0;
  transform: scale(0.85);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.anim-zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays — product items */
.product-item.anim-fade-up:nth-child(1) {
  transition-delay: 0s;
}
.product-item.anim-fade-up:nth-child(2) {
  transition-delay: 0.12s;
}
.product-item.anim-fade-up:nth-child(3) {
  transition-delay: 0.24s;
}
.product-item.anim-fade-up:nth-child(4) {
  transition-delay: 0.36s;
}

/* Staggered delays — stat squares */
.square-grid .square.anim-zoom-in:nth-child(1) {
  transition-delay: 0s;
}
.square-grid .square.anim-zoom-in:nth-child(2) {
  transition-delay: 0.15s;
}
.square-grid .square.anim-zoom-in:nth-child(3) {
  transition-delay: 0.3s;
}

/* Staggered delays — statistics */
.statistics li.anim-fade-up:nth-child(1) {
  transition-delay: 0.1s;
}
.statistics li.anim-fade-up:nth-child(2) {
  transition-delay: 0.2s;
}
.statistics li.anim-fade-up:nth-child(3) {
  transition-delay: 0.3s;
}
.statistics li.anim-fade-up:nth-child(4) {
  transition-delay: 0.4s;
}

/* Staggered delays — news items */
.news-list .item.anim-fade-up:nth-child(1) {
  transition-delay: 0s;
}
.news-list .item.anim-fade-up:nth-child(2) {
  transition-delay: 0.15s;
}
.news-list .item.anim-fade-up:nth-child(3) {
  transition-delay: 0.3s;
}
