@charset "UTF-8";
/* =====================================================================
   首页样式 · 参考 hairunlawyer.com 总站风格
   - 全幅大图 Banner（左对齐白字 + 深蓝CTA）
   - 新闻中心：中英双语标题 + Tab分类 + 双栏列表
   ===================================================================== */

/* ---------- 板块标题（参考总站：大号浅灰英文水印 + 中文主标题） ---------- */
.home-secthead {
  text-align: center;
  padding: 72px 0 40px;
}
.home-secthead__en {
  margin: 0;
  font-family: var(--f-latin);
  font-size: clamp(48px, 7vw, 86px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
  color: rgba(61,81,155,.06);
  text-transform: uppercase;
  user-select: none;
}
.home-secthead__cn {
  margin: -28px 0 0;
  font-family: var(--f-display);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--text-700);
  position: relative;
}
.home-secthead__cn::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--brand-500);
  margin: 16px auto 0;
}

/* =====================================================================
   Banner（参考总站：全幅风景大图，左对齐白色文字，深蓝 CTA 按钮）
   ===================================================================== */
.home-banner {
  position: relative;
  height: 520px;
  margin-top: 0;
  overflow: hidden;
  color: #fff;
}
@media (min-width: 768px) {
  .home-banner { height: 580px; }
}
@media (min-width: 1200px) {
  .home-banner { height: 640px; }
}

.home-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-banner__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 蒙版：品牌蓝纵向渐变（上暗下稳），强化品牌深蓝同时保留海面纹理 */
.home-banner__mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(54,76,152,.55) 0%, rgba(30,55,120,.38) 100%);
}

.home-banner__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.home-banner__copy {
  max-width: 880px;
  padding-top: 20px;
}
/* 英文小标：已取消 */
.home-banner__eyebrow { display: none; }
/* 主标题：方案B · Bold 700 / 48px / .16em */
.home-banner__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: .16em;
  color: #fff;
  text-shadow: 0 4px 22px rgba(0,0,0,.18);
  white-space: nowrap;
}
/* 副标：加粗 */
.home-banner__sub {
  margin: 28px auto 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: .1em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.home-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 44px;
}
.home-banner__actions .hr-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 180px; height: 52px;
  padding: 0 !important;
  box-sizing: border-box;
  gap: 0 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .25em;
  border-radius: 2px; border: 1px solid rgba(255,255,255,.9);
  color: #fff; background: rgba(255,255,255,.04);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.home-banner__actions .hr-btn .btn-text {
  display: inline-block;
  transform: translateY(-1px);
  /* 用 padding-left 补偿 letter-spacing 造成的右侧空白，使文字几何+视觉均居中 */
  padding-left: .25em;
}
.home-banner__actions .hr-btn::before { display: none; }

/* 轮播指示器：单页静态展示，隐藏（参考图为纯文案居中布局，无需圆点） */
.home-banner__dots { display: none; }

/* =====================================================================
   新闻中心
   ===================================================================== */
.home-news {
  padding-bottom: 80px;
  background: #fff;
}

/* Tab 分类按钮 */
.home-news__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.home-news__tabs button {
  position: relative;
  padding: 14px 28px;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--text-500);
  background: none;
  border: none;
  cursor: pointer;
  letter-spacing: .1em;
  transition: color .3s;
}
.home-news__tabs button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: var(--brand-500);
  transition: width .3s, left .3s;
}
.home-news__tabs button:hover {
  color: var(--brand-500);
}
.home-news__tabs button.is-active {
  color: var(--brand-500);
  font-weight: 600;
}
.home-news__tabs button.is-active::after {
  left: 28px;
  width: calc(100% - 56px);
}

/* 新闻列表：双栏布局 */
.home-news__body {
  min-height: 200px;
}
.home-news__empty {
  text-align: center;
  color: var(--text-400);
  padding: 40px 0;
}
.home-news__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 768px) {
  .home-news__list {
    grid-template-columns: 1fr 1fr;
    gap: 0 48px;
  }
}
.home-news__list li {
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.home-news__list li a {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 4px;
  color: var(--text-700);
  text-decoration: none;
  transition: color .25s;
}
.home-news__list li a:hover {
  color: var(--brand-500);
}
.home-news__list .date {
  flex-shrink: 0;
  text-align: center;
  min-width: 52px;
  padding-top: 2px;
}
.home-news__list .date .d {
  display: block;
  font-family: var(--f-latin);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
  color: var(--brand-500);
}
.home-news__list .date .ym {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--text-400);
}
.home-news__list .info {
  flex: 1;
  min-width: 0;
}
.home-news__list .info h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
  color: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.home-news__list .info .cat {
  display: inline-block;
  font-size: 12px;
  color: var(--brand-500);
  letter-spacing: .1em;
  padding: 2px 8px;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  border-radius: 2px;
}

/* "了解更多"按钮居中 */
.home-news__more {
  text-align: center;
  margin-top: 48px;
}
.home-news__more .hr-btn {
  min-width: 160px;
  justify-content: center;
}

/* =====================================================================
   进场动画：Banner 文字逐行出现
   ===================================================================== */
.home-banner__copy.hr-reveal { opacity: 0; transform: translateY(30px); }
.home-banner__copy.hr-reveal.is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) .2s, transform 1s var(--ease-out) .2s; }
.home-banner__title .line {
  opacity: 0;
  transform: translateY(20px);
}
.home-banner__copy.is-in .home-banner__title .line {
  opacity: 1;
  transform: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.home-banner__copy.is-in .home-banner__title .line:nth-child(1) { transition-delay: .4s; }
.home-banner__copy.is-in .home-banner__title .line:nth-child(2) { transition-delay: .55s; }
.home-banner__copy.is-in .home-banner__sub {
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .7s forwards;
}
.home-banner__copy.is-in .home-banner__actions {
  opacity: 0;
  animation: fadeUp .8s var(--ease-out) .85s forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}
.home-banner__sub,
.home-banner__actions {
  transform: translateY(16px);
}

/* 移动端微调 */
@media (max-width: 767px) {
  .home-banner { height: 480px; }
  .home-banner__copy { padding-top: 0; max-width: 100%; }
  .home-banner__title { font-size: clamp(28px, 8vw, 40px); letter-spacing: .1em; line-height: 1.3; font-weight: 700; white-space: normal; text-align: center; }
  .home-banner__sub { font-size: 13px; letter-spacing: .06em; line-height: 1.9; margin-top: 20px; font-weight: 500; }
  .home-banner__actions { margin-top: 26px; }
  .home-banner__actions .hr-btn { padding: 11px 26px; font-size: 13px; min-width: 140px; letter-spacing: .2em; }

  .home-secthead { padding: 48px 0 28px; }
  .home-secthead__en { font-size: 40px; }
  .home-secthead__cn { margin-top: -20px; font-size: 22px; letter-spacing: .14em; }

  .home-news__tabs button { padding: 12px 16px; font-size: 14px; }
  .home-news__list li a { padding: 16px 0; gap: 14px; }
  .home-news__list .date .d { font-size: 24px; }
  .home-news__list .info h3 { font-size: 15px; }
  .home-news__more { margin-top: 32px; }
}
