/* ============================================================
   qu-weibin.css — 卫滨区八大员报考服务页
   布局：左文右图首屏 + 区情速览 + 服务清单卡 + 材料预审 + 流程 + FAQ + CTA
   ============================================================ */

/* ---------- 首屏：左文右图 ---------- */
.weibin-hero{
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, var(--green-50) 0%, var(--paper) 60%, var(--paper-2) 100%);
  overflow: hidden;
  padding: 120px 0 90px;
}
/* N.1：把 .ph-bg 钉到右侧，避免压住左侧文字 */
.weibin-hero .ph-bg{
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: auto;
  width: 50%;
  overflow: hidden;
}
.weibin-hero .ph-bg img{
  width: 100%; height: 100%; object-fit: cover;
}
.weibin-hero .ph-main{
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.weibin-hero .ph-kicker{
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-500);
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.weibin-hero .hero-title{
  font-size: 40px;
  line-height: 1.25;
  color: var(--ink-900);
  margin: 0 0 18px;
}
.weibin-hero .hero-title .line{ display: block; }
.weibin-hero .ph-desc{
  font-size: 16px;
  color: var(--ink-700);
  line-height: 1.9;
  margin: 0 0 26px;
}
/* N.5：开屏即见，不依赖动画态 */
.weibin-hero .reveal, .weibin-hero .reveal-left{ opacity: 1; transform: none; }
.weibin-hero .hero-title .line > span{ opacity: 1 !important; transform: none !important; }

/* 首屏底部装饰折线 */
.weibin-hero .hero-wave{
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 90px;
  z-index: 1;
}

/* ---------- 折线分割（本页自绘渲染） ---------- */
.split{ display: block; width: 100%; height: 64px; line-height: 0; overflow: hidden; }
.split svg{ display: block; width: 100%; height: 100%; }
.split.flip svg{ transform: scaleY(-1); }

/* ---------- 区情速览 ---------- */
.weibin-overview{ padding: 70px 0; background: var(--white); }
.overview-grid{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}
.overview-text p{ color: var(--ink-700); line-height: 1.9; margin: 0 0 16px; }
.overview-text strong{ color: var(--ink-900); }
.stat-row{
  display: flex;
  gap: 26px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.stat-num{
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--paper-2);
  min-width: 130px;
}
.stat-num.green{ background: var(--green-100); }
.stat-num.blue{ background: var(--blue-100); }
.stat-num.yellow{ background: var(--yellow-50); }
.stat-num span{ display: block; font-size: 12px; color: var(--ink-500); margin-top: 6px; line-height: 1.5; }
.overview-media{ margin: 0; }
.overview-media img{
  width: 100%; height: auto; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(21,50,56,.12);
}
.overview-media figcaption{
  margin-top: 12px; font-size: 13px; color: var(--ink-300); line-height: 1.6;
}

/* ---------- 服务清单卡 ---------- */
.weibin-services{ padding: 70px 0; }
.weibin-services .grid-3{ margin-top: 30px; }
.weibin-services .card{ margin-bottom: 20px; }

/* ---------- 材料预审 ---------- */
.weibin-pre{ padding: 70px 0; background: var(--white); }
.pre-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}
.check-list{
  list-style: none; padding: 0; margin: 18px 0 0;
}
.check-list li{
  position: relative;
  padding: 10px 0 10px 34px;
  color: var(--ink-700);
  line-height: 1.7;
  border-bottom: 1px dashed var(--green-100);
}
.check-list li::before{
  content: "";
  position: absolute; left: 4px; top: 14px;
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--green-100);
  box-shadow: inset 0 0 0 2px var(--green-500);
}
.pre-note{ margin-top: 16px; font-size: 13px; color: var(--ink-300); }
.pre-media img{ width: 100%; height: auto; border-radius: 16px; }
.pre-media figcaption{ margin-top: 10px; font-size: 13px; color: var(--ink-300); }

/* ---------- 流程时间轴 ---------- */
.weibin-process{ padding: 70px 0; }
.weibin-process .timeline{ margin-top: 36px; }

/* ---------- FAQ ---------- */
.weibin-faq{ padding: 70px 0; background: var(--white); }
.weibin-faq .narrow{ max-width: 820px; }
.weibin-faq .acc{ margin-bottom: 14px; }

/* ---------- CTA ---------- */
.weibin-cta{
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.weibin-cta .cta-media{
  position: absolute; inset: 0;
}
.weibin-cta .cta-media img{
  width: 100%; height: 100%; object-fit: cover;
}
.weibin-cta .cta-box{
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.94);
  border-radius: 18px;
  padding: 40px;
  max-width: 640px;
  box-shadow: 0 20px 50px rgba(21,50,56,.18);
}
.weibin-cta .cta-box h2{ color: var(--ink-900); margin: 0 0 12px; }
.weibin-cta .cta-box p{ color: var(--ink-700); line-height: 1.9; margin: 0 0 22px; }

/* ---------- 相关延伸 ---------- */
.related{ padding: 60px 0; }
.related .grid-4{ margin-top: 26px; }
.rel-link{
  display: block;
  padding: 18px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--green-100);
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
}
.rel-link span{
  display: block; font-size: 12px; color: var(--green-500);
  font-weight: 400; margin-bottom: 4px;
}
.rel-link:hover{ border-color: var(--green-500); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px){
  .weibin-hero{ padding: 110px 0 70px; }
  .weibin-hero .ph-bg{ width: 100%; opacity: .14; }
  .weibin-hero .hero-title{ font-size: 26px; }
  .weibin-hero .hero-title .line > span{ white-space: normal; }
  .overview-grid, .pre-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  html, body{ overflow-x: hidden; max-width: 100%; }
  .weibin-hero .hero-actions{ flex-direction: column; align-items: stretch; }
  .weibin-hero .hero-actions .btn{ width: 100%; }
  .weibin-cta .cta-box{ padding: 26px; }
}
