@charset "UTF-8";

/* 电脑端全局自适应：覆盖 1280px–1920px 笔记本及常见桌面分辨率 */

@media screen and (max-width: 1600px) {
  :root {
    --container-width: 86%;
  }
}

@media screen and (max-width: 1440px) {
  :root {
    --h100: 88px;
    --mt60: 48px;
    --fz35: 30px;
    --container-width: 90%;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --h100: 80px;
    --mt60: 40px;
    --fz35: 26px;
    --container-width: 92%;
  }
}

/* 顶栏：取消固定最小宽度，窄屏用 flex 排布 */
@media screen and (max-width: 1440px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px 0;
    height: auto;
    min-height: 76px;
    box-sizing: border-box;
  }

  header.scroll {
    height: auto;
    min-height: 84px;
    padding-top: 12px;
  }

  header .logo,
  header .nav,
  header .right {
    float: none !important;
  }

  header .logo {
    margin: 0 1% !important;
    width: 54px;
    height: 54px;
    flex-shrink: 0;
  }

  header .nav {
    flex: 1 1 auto;
    min-width: 0;
    width: auto !important;
    max-width: 64%;
  }

  header .nav ul li {
    height: 50px;
  }

  header .right {
    width: min(15vw, 148px) !important;
    margin-right: 1% !important;
    flex-shrink: 0;
  }

  header .right .item {
    width: 100% !important;
  }

  header .right .item .img {
    height: 32px;
  }
}

@media screen and (max-width: 1280px) {
  header .logo {
    width: 48px;
    height: 48px;
  }

  header .nav {
    max-width: 68%;
  }

  header .right {
    width: min(14vw, 132px) !important;
  }
}

/* 通用双栏 about */
@media screen and (max-width: 1280px) {
  .about {
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 36px);
    align-items: flex-start;
  }

  .about .profile {
    width: 100%;
    max-width: 100%;
    flex: 1 1 320px;
  }

  .about .right {
    width: 100%;
    flex: 1 1 280px;
  }

  .about.s1 .profile .section_title {
    white-space: normal !important;
  }

  .about .profile .cont {
    aspect-ratio: auto;
  }
}

/* 三列卡片 */
@media screen and (max-width: 1280px) {
  .col-3 {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .col-3 li {
    width: 31% !important;
    min-width: 240px;
    flex: 1 1 240px;
  }
}

@media screen and (max-width: 1100px) {
  .col-3 li {
    width: 46% !important;
  }
}

/* 首页 / 再生平台 fullPage 各屏 */
@media screen and (max-width: 1440px) {
  .intro-about {
    gap: clamp(32px, 5vw, 64px) !important;
  }

  .intro-title {
    font-size: clamp(28px, 2.8vw, 35px) !important;
    margin-bottom: 24px !important;
  }

  .intro-tagline {
    font-size: clamp(20px, 2vw, 24px) !important;
  }

  .intro-stats .stat-num {
    font-size: clamp(40px, 4.2vw, 52px) !important;
  }

  .intro-left {
    flex: 0 1 42% !important;
    max-width: 44% !important;
  }

  .intro-right {
    flex: 1 1 56% !important;
    max-width: 56% !important;
  }

  .intro-gallery {
    width: 100% !important;
    max-width: 100% !important;
    height: min(68vh, 520px) !important;
    min-height: 400px !important;
  }

  .tech-layout {
    gap: clamp(28px, 4vw, 48px) !important;
  }

  .tech-title {
    font-size: clamp(28px, 2.8vw, 35px) !important;
  }

  .tech-intro {
    flex: 0 0 36% !important;
  }

  .tech-features {
    gap: 20px 16px !important;
  }

  .tech-item {
    padding: 20px 12px 18px !important;
  }

  .tech-icon {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 12px !important;
  }

  .tech-label {
    font-size: 13px !important;
  }

  .product-showcase {
    gap: 32px !important;
  }

  .product-showcase-left {
    flex: 0 0 44% !important;
    min-height: auto !important;
  }

  .product-showcase-right {
    min-height: auto !important;
  }

  .product-showcase-title {
    font-size: clamp(30px, 3vw, 40px) !important;
  }

  .product-hero-img {
    max-height: 66vh !important;
  }

  .value_box .info p {
    font-size: clamp(18px, 1.8vw, 22px) !important;
  }

  body.page-fullpage .section.value-panel .section_title {
    margin-bottom: 32px !important;
  }

  .value_box img {
    max-height: 52vh;
    object-fit: cover;
  }
}

@media screen and (max-width: 1280px) {
  .section.intro-panel .container {
    max-width: 100% !important;
  }

  .intro-about {
    gap: clamp(24px, 4vw, 40px) !important;
  }

  .intro-left {
    flex: 0 1 44% !important;
    max-width: 46% !important;
    padding-right: 8px !important;
  }

  .intro-right {
    flex: 1 1 54% !important;
    max-width: 54% !important;
    padding-left: 0 !important;
  }

  .intro-gallery {
    height: min(64vh, 480px) !important;
    min-height: 360px !important;
  }

  .intro-gallery-card[data-pos="1"] {
    transform: translate3d(30px, 26px, 20px) rotate(5deg) scale(0.94) !important;
  }

  .intro-gallery-card[data-pos="2"] {
    transform: translate3d(60px, 52px, -20px) rotate(10deg) scale(0.88) !important;
  }

  .intro-stats {
    gap: 18px 14px !important;
  }

  .intro-stats .stat-num {
    font-size: clamp(34px, 3.8vw, 44px) !important;
  }

  .intro-body {
    font-size: 14px !important;
  }

  .product-showcase-tabs {
    margin-top: 32px !important;
    padding-top: 20px !important;
    gap: 12px !important;
  }

  .product-tab {
    padding: 10px 6px 8px !important;
  }

  .product-tab img {
    height: 58px !important;
  }

  .product-tab span {
    font-size: 11px !important;
  }

  .product-showcase-desc {
    margin-top: 20px !important;
    font-size: 14px !important;
  }

  .tech-layout {
    gap: 32px !important;
  }

  .tech-intro {
    flex: 0 0 34% !important;
  }

  .tech-features {
    gap: 16px 12px !important;
  }

  .tech-item {
    padding: 16px 10px 14px !important;
    border-radius: 12px !important;
  }

  .tech-label {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }
}

/* 矮屏笔记本（如 1366×768）纵向空间优化 */
@media screen and (max-height: 820px) and (min-width: 1101px) {
  body.page-fullpage .section:not(.section-banner):not(.fp-auto-height) .fp-tableCell {
    padding-top: 80px !important;
  }

  body.page-fullpage .section.intro-panel .wrap,
  body.page-fullpage .section.tech-panel .wrap,
  body.page-fullpage .section.product-panel .wrap,
  body.page-fullpage .section.value-panel .wrap {
    padding-top: 80px !important;
    padding-bottom: 24px !important;
    min-height: auto !important;
  }

  .product-hero-img {
    max-height: 56vh !important;
  }

  .intro-gallery {
    height: min(58vh, 420px) !important;
    min-height: 320px !important;
  }

  .product-showcase {
    min-height: auto !important;
  }

  .intro-stats {
    margin-bottom: 16px !important;
  }

  .intro-tagline {
    margin-bottom: 16px !important;
  }
}

/* 关于我们 contact 页 */
@media screen and (max-width: 1280px) {
  #main .section.team-section .team-grid {
    gap: 24px !important;
  }

  #main .section.team-section .team-card {
    max-height: none !important;
  }

  #main .section.team-section .team-card .member-photo {
    width: 160px !important;
    height: auto !important;
    min-height: 200px !important;
  }

  .campus-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  .campus-image img {
    height: 280px !important;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 32px !important;
    padding: 0 24px !important;
  }

  .contact-info-section .section_title {
    font-size: 28px !important;
  }
}

/* 新闻 / 社会责任列表 */
@media screen and (max-width: 1280px) {
  .news-list {
    padding: 100px 0 48px !important;
  }

  .news-list h1 {
    font-size: 28px !important;
    margin-bottom: 32px !important;
  }

  .news-item {
    padding: 24px 0 !important;
  }

  .news-item img {
    width: clamp(140px, 20vw, 200px) !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    margin-right: 20px !important;
  }

  .news-item .title {
    font-size: 18px !important;
  }
}

@media screen and (max-width: 960px) {
  .news-item {
    flex-direction: column !important;
  }

  .news-item img {
    width: 100% !important;
    max-height: 220px;
    margin-right: 0 !important;
    margin-bottom: 14px;
  }
}

/* 维壹美等内联 flex 布局页 */
@media screen and (max-width: 1280px) {
  #main .wrap[style*="max-width"] {
    max-width: 100% !important;
    padding: clamp(32px, 5vw, 60px) 20px !important;
  }

  #main .container[style*="display: flex"],
  #main .container[style*="display:flex"] {
    flex-wrap: wrap !important;
    gap: 24px !important;
  }

  #main .container[style*="display: flex"] .profile,
  #main .container[style*="display:flex"] .profile {
    padding-right: 0 !important;
    flex: 1 1 300px !important;
    min-width: 0;
  }

  #main .container[style*="display: flex"] .right,
  #main .container[style*="display:flex"] .right {
    flex: 1 1 280px !important;
    width: auto !important;
    max-width: 100%;
  }

  #main .profile [style*="font-size: 52px"],
  #main .profile [style*="font-size:52px"] {
    font-size: clamp(32px, 4vw, 48px) !important;
  }

  #main .profile [style*="font-size: 28px"],
  #main .profile [style*="font-size:28px"] {
    font-size: clamp(20px, 2.4vw, 28px) !important;
  }

  #main [style*="grid-template-columns: repeat(2"] {
    grid-template-columns: 1fr !important;
  }
}

/* 科学家团队页 */
.team_box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  width: 100%;
  margin-top: var(--mt60);
}

.team_member {
  text-align: center;
}

.team_member img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.team_member .name {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 600;
}

.team_member .title {
  margin-top: 6px;
  color: #b0a496;
}

.team_member p {
  margin-top: 10px;
  line-height: 1.6;
  font-size: 14px;
  color: #666;
}

/* 固定组件位置 */
@media screen and (max-width: 1280px) {
  .gt_float_switcher {
    top: 84px !important;
    right: 16px !important;
  }

  .customer-service-btn {
    right: 16px !important;
    bottom: 100px !important;
    width: 52px !important;
    height: 52px !important;
    font-size: 12px !important;
  }

  .customer-service-btn .service-icon {
    font-size: 22px !important;
  }
}

/* 页脚 */
@media screen and (max-width: 1280px) {
  footer {
    padding-top: 48px;
    font-size: 14px;
  }

  footer .container {
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
  }

  footer .qrcode img {
    width: 88px !important;
    height: 88px !important;
  }
}
