/**
 * HormLab Portal · 关于我们页样式
 */

/* 页头 */
.page-hero-h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 800; line-height: 1.25; margin: 18px 0 16px; letter-spacing: -1px; color: #fff; }
.page-hero-lead { color: var(--text-white-soft); font-size: 17px; margin: 0 auto; }
.page-hero-h1 .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 使命 */
.mission { text-align: center; }
.mission-quote {
  font-size: clamp(22px, 3.2vw, 32px); font-weight: 700; line-height: 1.6;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 28px;
}
.mission-desc { font-size: 16px; color: var(--text-mid); line-height: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.mission-desc + .mission-desc { margin-top: 14px; }

/* 里程碑时间线 */
.timeline { max-width: 760px; margin: 0 auto; }
.tl-item { display: flex; gap: 28px; padding-bottom: 34px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 58px; top: 44px; bottom: 6px;
  width: 2px; background: var(--border-light);
}
.tl-item:last-child::before { display: none; }
.tl-year {
  width: 88px; flex-shrink: 0; text-align: right;
  font-size: 19px; font-weight: 800; color: var(--primary-blue);
  font-variant-numeric: tabular-nums; letter-spacing: 1px;
}
.tl-body { flex: 1; }
.tl-title { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.tl-desc { font-size: 14px; color: var(--text-mid); line-height: 1.75; }
.tl-link {
  display: inline-block; margin-left: 10px; font-size: 13px; font-weight: 600;
  color: var(--primary-blue); text-decoration: none; white-space: nowrap;
  border-bottom: 1px solid rgba(91,108,255,.35); transition: border-color .2s, color .2s;
}
.tl-link:hover { color: var(--primary-blue-dark, var(--primary-blue)); border-bottom-color: currentColor; }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 28px 24px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.team-icon { margin-bottom: 14px; }
.team-icon img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--r-md); display: block; margin: 0 auto; }
.team-name { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.team-role {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--primary-blue);
  background: rgba(91,108,255,.08); border-radius: var(--r-pill);
  padding: 3px 12px; margin-bottom: 12px;
}
.team-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.7; }

.cert-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.cert-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--r-pill);
  background: rgba(91,108,255,.08); border: 1px solid rgba(91,108,255,.3);
  color: var(--primary-blue); font-size: 13.5px; font-weight: 600;
  max-width: 100%; min-width: 0;
}
.cert-pill svg { width: 18px; height: 18px; flex: 0 0 auto; }
/* 文本包一层允许换行的容器：药丸是 inline-flex，.seg 间的空格不产生换行机会，
   窄屏时靠这个容器内的正常文本流折行（.seg 保证只在「·」处断） */
.cert-pill .pill-text { display: inline; min-width: 0; }

/* 深色数据区 */
.section-dark .section-eyebrow { color: var(--cyan-glow); }
.section-dark .section-h2 { color: #fff; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border-light);
  border-radius: var(--r-lg); padding: 26px 22px; text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}
.contact-card:hover { transform: translateY(-3px); border-color: rgba(91,108,255,.4); }
.contact-icon { font-size: 30px; margin-bottom: 10px; }
.contact-label { font-size: 13px; color: var(--text-light); margin-bottom: 6px; }
.contact-value { font-size: 16px; font-weight: 700; color: var(--text-dark); word-break: break-all; }

/* 响应式 */
@media (max-width: 768px) {
  .tl-item { gap: 14px; }
  .tl-year { font-size: 16px; width: 72px; }
  .tl-item::before { left: 47px; }
}

@media (prefers-reduced-motion: reduce) {
  .team-card, .contact-card { transition: none; }
}

/* ============================================================
   移动端收口（2026-09-16）—— 一律追加在文件末尾
   修复点：.tl-link 点击目标仅 69×24（内联链接），手机端手指点不准；
           .mission-desc line-height:2 在窄屏过于松散。
   ============================================================ */
@media (max-width: 768px) {
  /* 内联链接不便做成 44px 方块，用上下内边距把命中区抬到约 36px，
     并用负 margin 抵消，保持文字基线不被撑开 */
  .tl-link { padding: 7px 2px; margin: -7px -2px -7px 6px; }
  .tl-desc { font-size: 13.5px; line-height: 1.8; }
  .tl-title { font-size: 16px; }
  .mission-quote { font-size: clamp(20px, 5.6vw, 26px); line-height: 1.5; }
  .mission-desc { font-size: 15px; line-height: 1.9; text-align: left; }
  .team-card { padding: 24px 20px; }
  .contact-card { padding: 22px 18px; }
  .contact-value { font-size: 15.5px; }
  .cert-strip { gap: 10px; }
  .cert-pill { width: 100%; justify-content: center; }
}

@media (max-width: 560px) {
  .tl-item { gap: 12px; padding-bottom: 28px; }
  .tl-year { font-size: 15px; width: 58px; letter-spacing: 0.5px; }
  .tl-item::before { left: 38px; }
  .team-grid, .contact-grid { gap: 14px; }
}

/* ============================================================
   移动端收口（2026-09-16 · 二轮）
   ============================================================ */
@media (max-width: 768px) {
  /* 团队卡角色胶囊：12px → 12.5px */
  .team-role { font-size: 12.5px; }
}
