/* ==========================================================================
   全民预训血管健康工程 — 合作洽谈页专属样式
   依赖 base.css（变量与通用组件）+ pages.css（播放层等共用组件）
   ========================================================================== */

/* ---------- 页头区 ---------- */

.nav a[aria-current="page"] {
  color: var(--primary-deep);
}

.nav a[aria-current="page"]::after {
  width: 100%;
}

.page-hero {
  padding-block: clamp(44px, 6vw, 76px) clamp(40px, 5vw, 64px);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin-top: 20px;
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.page-hero .lead {
  max-width: 44em;
  margin-top: 20px;
}

.page-hero .btn-row {
  margin-top: 30px;
}

/* ---------- 视频区 ---------- */

.video-grid {
  display: grid;
  gap: clamp(20px, 3vw, 28px);
  max-width: 900px;
  margin-inline: auto;
}

.video-tile {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: none;
}

.video-tile-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary-deep);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-tile:hover .video-tile-frame {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.video-tile-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.video-tile-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 22px rgba(10, 40, 44, 0.24);
  pointer-events: none;
  transition: transform 0.25s ease;
}

.video-tile-play svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
  fill: var(--primary-deep);
}

.video-tile:hover .video-tile-play {
  transform: scale(1.06);
}

.video-tile-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(8, 30, 34, 0.72);
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.video-tile-body {
  display: block;
  padding-top: 14px;
}

/* 图注：封面图内已带标题，卡外只写一句内容说明，避免标题重复两遍 */
.video-tile-body em {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
  font-style: normal;
  transition: color 0.2s ease;
}

.video-tile:hover .video-tile-body em {
  color: var(--primary-deep);
}

.video-foot {
  max-width: 900px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.8;
}

/* ---------- 完整说明会（横屏通栏，16:9） ---------- */

.wide-video {
  max-width: 880px;
  margin: 0 auto;
}

.video-tile--wide {
  display: block;
  width: 100%;
}

.video-tile--wide .video-tile-frame {
  aspect-ratio: 16 / 9;
}

.video-tile--wide .video-tile-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 平台支持（浅色版） ----------
   暂未使用：原 partner.html #support 区块已移除（与首页 #partner 内容重复），
   4 项能力说明统一由首页承载。样式保留以备后续在合作页补充内容时复用。 */

.support-cards {
  display: grid;
  gap: 1px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line);
}

.support-cards .card-cell {
  padding: clamp(22px, 2.6vw, 28px);
  background: #fff;
}

.card-cell b {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-deep);
  font-size: 15.5px;
  font-weight: 600;
}

.card-cell span {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 合作流程 ---------- */

.flow {
  display: grid;
  gap: 18px;
}

.flow-item {
  position: relative;
  padding: 26px 26px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.flow-item .idx {
  display: block;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.flow-item b {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

.flow-item span {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.8;
}

/* ---------- 底部联系 ---------- */

.partner-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.partner-cta-wrap .tel {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.partner-cta-wrap .tel:hover {
  color: #9fe1d8;
}

.partner-cta-wrap .sub {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
}

/* ---------- 断点 ---------- */

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .flow {
    grid-template-columns: repeat(4, 1fr);
  }

  .support-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}
