/* ==========================================================================
   顶部导航滚动行为
   需求：联系方式行（.het）随页面滚走，只固定导航行（.heb）；
        滚动后导航背景变实色深底，保证白字在白色内容上可读
   ========================================================================== */

.het {
  overflow: hidden;
  max-height: 60px;
  transition: max-height .35s ease, opacity .28s ease, padding .35s ease;
}

.head--stuck .het {
  max-height: 0;
  opacity: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: 0;
}

/* 滚动后：导航实色底 + 轻投影 */
.head--stuck .heb {
  background: #0e1512 !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .22);
}

/* 老站的「滚动隐藏整个 header」规则会与上面的固定导航冲突，这里中和掉 */
.head.head2h2 {
  top: 0 !important;
}

/* 手机端没有 .het，保持原样；滚动后同样加深 */
@media screen and (max-width: 767px) {
  .head--stuck .heb {
    background: rgba(0, 0, 0, .95) !important;
  }
}
