/* ============================================================
   首页 index.html 专属样式（护腰靠垫风 · 独立原创布局）
   首屏全屏Banner + 阶梯递进 + 双通道 + 阶梯岗位卡 + 六步时间轴
   ============================================================ */

/* ---------- 首屏全屏 Banner ---------- */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero-mask{ position:absolute; inset:0; background:linear-gradient(100deg, rgba(238,241,235,.96) 4%, rgba(238,241,235,.86) 34%, rgba(238,241,235,.28) 62%, rgba(238,241,235,.05) 100%); }
.hero-inner{ position:relative; z-index:2; padding:120px 0 150px; max-width:760px; margin-left:max(4%, calc((100vw - 1200px)/2 + 4%)); }
.hero-kicker{ display:inline-flex; align-items:center; gap:12px; color:var(--c-green-deep); font-size:15px; font-weight:700; letter-spacing:.2em; margin-bottom:22px; }
.hero-kicker span{ width:34px; height:4px; border-radius:4px; background:var(--c-green); }
.hero-title{ font-size:clamp(40px,7vw,78px); font-weight:900; letter-spacing:.04em; line-height:1.12; margin-bottom:26px; }
.hero-title span{ display:block; }
.hero-title .line2{ color:var(--c-green-deep); }
.hero-title i{ display:inline-block; opacity:0; transform:translateY(40px); animation:heroUp .7s cubic-bezier(.2,.7,.3,1) forwards; }
.hero-title .line1 i:nth-child(1){ animation-delay:.15s } .hero-title .line1 i:nth-child(2){ animation-delay:.24s }
.hero-title .line1 i:nth-child(3){ animation-delay:.33s } .hero-title .line1 i:nth-child(4){ animation-delay:.42s }
.hero-title .line2 i:nth-child(1){ animation-delay:.55s } .hero-title .line2 i:nth-child(2){ animation-delay:.63s }
.hero-title .line2 i:nth-child(3){ animation-delay:.71s } .hero-title .line2 i:nth-child(4){ animation-delay:.79s }
.hero-title .line2 i:nth-child(5){ animation-delay:.87s } .hero-title .line2 i:nth-child(6){ animation-delay:.95s }
@keyframes heroUp{ to{ opacity:1; transform:none; } }
.hero-sub{ font-size:17.5px; color:var(--c-body); max-width:56ch; margin-bottom:34px; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:40px; }
.hero-city{ display:flex; flex-wrap:wrap; gap:10px; }
.hero-city a{
  display:inline-block; padding:.42em 1.05em; border-radius:999px;
  background:rgba(255,255,255,.82); border:1px solid rgba(126,161,126,.4);
  color:var(--c-green-deep); font-size:14px; font-weight:600;
  backdrop-filter:blur(6px); transition:transform .3s ease, background .3s ease;
}
.hero-city a:hover{ transform:translateY(-3px); background:var(--c-green-deep); color:#fff; }

.hero-stat{
  position:absolute; left:max(4%, calc((100vw - 1200px)/2 + 4%)); bottom:56px; z-index:2;
  display:grid; grid-template-columns:repeat(4,1fr); gap:1px;
  background:rgba(255,255,255,.5); border-radius:18px; overflow:hidden;
  box-shadow:var(--shadow-float); backdrop-filter:blur(8px);
}
.hero-stat-card{ background:rgba(250,247,240,.92); padding:16px 26px; text-align:center; min-width:118px; }
.hero-stat-card b{ display:block; font-size:28px; font-weight:900; color:var(--c-green-deep); line-height:1.1; }
.hero-stat-card span{ font-size:12.5px; color:var(--c-mute); letter-spacing:.08em; }
.hero-scroll{ position:absolute; right:max(4%, calc((100vw - 1200px)/2 + 4%)); bottom:64px; z-index:2; }
.hero-scroll span{
  display:block; width:26px; height:44px; border:2px solid var(--c-green-deep); border-radius:14px; position:relative;
}
.hero-scroll span::after{ content:""; position:absolute; left:50%; top:8px; width:4px; height:8px; margin-left:-2px; border-radius:3px; background:var(--c-green-deep); animation:scrollDot 1.6s ease infinite; }
@keyframes scrollDot{ 0%{ transform:translateY(0); opacity:1 } 70%{ transform:translateY(14px); opacity:.2 } 100%{ transform:translateY(14px); opacity:0 } }

/* ---------- 服务覆盖 · 阶梯左右递进 ---------- */
.coverage{ padding:96px 0 70px; }
.city-steps{ display:flex; flex-direction:column; gap:46px; }
.city-step{ display:grid; grid-template-columns:1.05fr .95fr; gap:46px; align-items:center; }
.city-step.step-even{ grid-template-columns:.95fr 1.05fr; }
.city-step.step-even .city-photo{ order:2; }
.city-step.step-even .city-info{ order:1; text-align:right; }
.city-step.step-even .city-info p{ margin-left:auto; }
.city-num{ position:absolute; font-size:clamp(64px,9vw,120px); font-weight:900; color:rgba(126,161,126,.14); line-height:1; z-index:0; transform:translate(-26px,-20px); }
.city-step:first-child .city-num{ transform:translate(-30px,-26px); }
.city-photo{ position:relative; border-radius:26px; overflow:hidden; box-shadow:var(--shadow-float); transform:rotate(-1.2deg); transition:transform .5s ease; }
.city-step.step-even .city-photo{ transform:rotate(1.2deg); }
.city-photo:hover{ transform:rotate(0) scale(1.01); }
.city-photo img{ width:100%; height:340px; object-fit:cover; }
.city-info{ position:relative; z-index:1; }
.city-info h3{ margin-bottom:14px; }
.city-info h3 a{ color:var(--c-ink); }
.city-info h3 a:hover{ color:var(--c-green-deep); }
.city-info p{ color:var(--c-body); margin-bottom:20px; }

/* ---------- 核心优势 ---------- */
.strength{ background:var(--c-cream); padding:96px 0 84px; position:relative; overflow:hidden; }
.strength::before{
  content:""; position:absolute; right:-140px; top:-140px; width:420px; height:420px; border-radius:50%;
  background:rgba(126,161,126,.10);
}
.strength-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.st-card{
  background:var(--c-paper); border-radius:22px; padding:34px 28px 30px;
  box-shadow:var(--shadow-soft); border-top:5px solid var(--c-green);
  transition:transform .4s ease, box-shadow .4s ease;
  position:relative;
}
.st-card:hover{ transform:translateY(-8px); box-shadow:var(--shadow-float); }
.st-ico{ display:grid; place-items:center; width:52px; height:52px; border-radius:16px; background:var(--c-green-pale); color:var(--c-green-deep); font-weight:900; font-size:18px; margin-bottom:18px; }
.st-card h3{ margin-bottom:10px; }
.st-card p{ font-size:14.5px; margin:0; }

/* ---------- 双通道报名 ---------- */
.dual{ padding:96px 0; }
.dual-head{ margin-bottom:44px; }
.dual-head h2{ margin-top:10px; }
.dual-grid{ display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.dual-card{
  border-radius:28px; padding:44px 40px 40px; position:relative; overflow:hidden;
  transition:transform .4s ease, box-shadow .4s ease;
}
.dual-card:hover{ transform:translateY(-8px); }
.dual-person{ background:var(--c-green-deep); color:#EAF3EA; }
.dual-person h3{ color:#fff; margin-bottom:12px; }
.dual-person p{ color:rgba(234,243,234,.9); }
.dual-person ul li{ color:rgba(234,243,234,.9); }
.dual-enterprise{ background:var(--c-cream); border:1px solid var(--c-line); box-shadow:var(--shadow-soft); }
.dual-enterprise h3{ color:var(--c-ink); margin-bottom:12px; }
.dual-badge{
  position:absolute; top:0; right:0; padding:.5em 1.4em; border-radius:0 28px 0 22px;
  font-size:13px; font-weight:700; letter-spacing:.1em;
}
.dual-person .dual-badge{ background:var(--c-green); color:#fff; }
.dual-enterprise .dual-badge{ background:var(--c-green-pale); color:var(--c-green-deep); }
.dual-card h3{ font-size:24px; }
.dual-card ul{ margin:20px 0 28px; }
.dual-card ul li{ padding-left:26px; position:relative; margin-bottom:10px; font-size:15px; }
.dual-card ul li::before{ content:"✓"; position:absolute; left:0; top:0; color:var(--c-green); font-weight:900; }
.dual-person ul li::before{ color:#B9D9B4; }

/* ---------- 八大员岗位速览（阶梯卡片） ---------- */
.posts{ background:var(--c-bg); padding:96px 0; }
.posts-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
  transform:translateY(0);
}
.post-card{
  display:block; background:var(--c-paper); border-radius:20px; overflow:hidden;
  box-shadow:var(--shadow-soft); transition:transform .4s ease, box-shadow .4s ease;
}
.post-card:nth-child(2n){ transform:translateY(26px); }
.post-card:nth-child(3n){ transform:translateY(10px); }
.post-card:nth-child(2n):hover{ transform:translateY(12px); }
.post-card:hover{ box-shadow:var(--shadow-float); }
.post-photo{ display:block; overflow:hidden; }
.post-photo img{ width:100%; height:168px; object-fit:cover; transition:transform .6s ease; }
.post-card:hover .post-photo img{ transform:scale(1.07); }
.post-body{ display:block; padding:20px 20px 22px; }
.post-body b{ display:block; font-size:17.5px; color:var(--c-ink); margin-bottom:5px; }
.post-body i{ display:block; font-style:normal; font-size:13px; color:var(--c-green-mid); margin-bottom:9px; }
.post-body em{ display:block; font-style:normal; font-size:13.5px; color:var(--c-mute); line-height:1.6; }
.posts-more{ margin-top:64px; }

/* ---------- 报考全流程时间轴 ---------- */
.flow{ padding:96px 0; background:var(--c-paper); }
.flow-timeline{ display:grid; grid-template-columns:repeat(6,1fr); gap:20px; position:relative; }
.flow-timeline::before{
  content:""; position:absolute; top:29px; left:8%; right:8%; height:3px; border-radius:3px;
  background:linear-gradient(90deg, var(--c-green-pale), var(--c-green), var(--c-green-pale));
}
.flow-node{ background:var(--c-bg); border-radius:20px; padding:22px 20px; position:relative; transition:transform .4s ease, box-shadow .4s ease; }
.flow-node:hover{ transform:translateY(-6px); box-shadow:var(--shadow-soft); }
.flow-node time{
  display:grid; place-items:center; width:56px; height:56px; border-radius:50%;
  background:#fff; border:3px solid var(--c-green); color:var(--c-green-deep);
  font-weight:900; font-size:15px; margin-bottom:16px; position:relative; z-index:1;
}
.flow-node h3{ font-size:16.5px; margin-bottom:8px; }
.flow-node p{ font-size:13.5px; margin:0; }

/* ---------- 续期专题带 ---------- */
.xqband{ padding:96px 0; background:var(--c-green-deep); overflow:hidden; position:relative; }
.xqband::after{
  content:""; position:absolute; right:-90px; bottom:-120px; width:340px; height:340px; border-radius:50%;
  background:rgba(255,255,255,.06);
}
.xqband-inner{ display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.xqband-text .sec-kicker{ color:#BFD8BA; }
.xqband-text .sec-kicker::before{ background:#BFD8BA; }
.xqband-text h2{ color:#fff; margin-bottom:16px; }
.xqband-text p{ color:rgba(234,243,234,.9); margin-bottom:28px; max-width:52ch; }
.xqband-photo{ border-radius:24px; overflow:hidden; box-shadow:0 24px 60px rgba(0,0,0,.25); transform:rotate(1.4deg); }
.xqband-photo img{ width:100%; height:380px; object-fit:cover; }

/* ---------- 报考案例语录 ---------- */
.quotes{ padding:96px 0; }
.quotes-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.quote-card{
  background:var(--c-cream); border:1px solid var(--c-line); border-radius:24px;
  padding:30px 28px; position:relative; box-shadow:var(--shadow-soft);
  transition:transform .4s ease;
}
.quote-card::before{ content:"”"; position:absolute; top:6px; right:22px; font-size:64px; font-weight:900; color:rgba(126,161,126,.22); line-height:1; }
.quote-card:hover{ transform:translateY(-6px); }
.quote-card blockquote{ font-size:15px; color:var(--c-body); line-height:1.85; margin-bottom:22px; }
.quote-card figcaption b{ display:block; color:var(--c-ink); font-size:14.5px; }
.quote-card figcaption span{ font-size:12.5px; color:var(--c-green-mid); }
.quotes-more{ margin-top:52px; }

/* ---------- 政策速览 ---------- */
.policy{ padding:96px 0; background:var(--c-paper); }
.policy-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.policy-card{
  display:flex; gap:20px; align-items:flex-start;
  background:var(--c-bg); border-radius:20px; padding:26px 28px;
  transition:transform .35s ease, background .35s ease;
}
.policy-card:hover{ transform:translateX(10px); background:var(--c-green-pale); }
.policy-card span{ font-size:30px; font-weight:900; color:rgba(126,161,126,.5); line-height:1.1; min-width:52px; }
.policy-card h3{ font-size:17px; margin-bottom:6px; }
.policy-card p{ font-size:14px; margin:0; }
.policy-more{ margin-top:44px; }

/* ---------- 在线咨询表单 ---------- */
.consult{ padding:96px 0; background:linear-gradient(180deg, var(--c-bg), var(--c-cream)); }
.consult-wrap{
  display:grid; grid-template-columns:1fr 1.15fr; gap:60px; align-items:center;
  background:var(--c-paper); border-radius:32px; padding:56px 60px; box-shadow:var(--shadow-soft);
}
.consult-intro h2{ margin:10px 0 16px; }
.consult-touch{ margin:26px 0 16px; }
.consult-touch li{ display:flex; align-items:baseline; gap:16px; margin-bottom:12px; font-size:16px; }
.consult-touch span{ min-width:74px; color:var(--c-mute); font-size:14px; }
.consult-touch a{ color:var(--c-green-deep); font-weight:700; font-size:18px; }
.consult-note{ font-size:13px; color:var(--c-mute); margin:0; }
.consult-form{ background:var(--c-cream); border:1px solid var(--c-line); border-radius:24px; padding:34px 32px; }
.btn-block{ width:100%; }

/* ---------- 首页文章列表区 ---------- */
.home-news{ padding:96px 0 100px; }
.news-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; align-items:start; }
.news-item{
  display:block; background:var(--c-paper); border-radius:20px; overflow:hidden;
  box-shadow:var(--shadow-soft); transition:transform .4s ease, box-shadow .4s ease;
}
.news-item:hover{ transform:translateY(-6px); box-shadow:var(--shadow-float); }
.news-item-photo{ display:block; overflow:hidden; }
.news-item-photo img{ width:100%; height:196px; object-fit:cover; transition:transform .6s ease; }
.news-item:hover .news-item-photo img{ transform:scale(1.06); }
.news-item-body{ display:block; padding:20px 20px 22px; }
.news-item-body h3{ font-size:16.5px; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-item-body p{ font-size:13.5px; color:var(--c-mute); margin-bottom:12px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.news-item-body time{ font-size:12.5px; color:var(--c-green-mid); }
.news-item-mini{ display:flex; }
.news-item-mini .news-item-photo{ width:38%; flex:none; }
.news-item-mini .news-item-photo img{ height:120px; }
.news-item-mini .news-item-body{ padding:16px 18px; }
.news-item-mini .news-item-body h3{ -webkit-line-clamp:2; font-size:15px; }
.news-item-mini .news-item-body p{ -webkit-line-clamp:2; }
.news-more{ margin-top:56px; }

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .posts-grid{ grid-template-columns:repeat(3,1fr); }
  .posts-grid .post-card:nth-child(2n){ transform:none; }
  .flow-timeline{ grid-template-columns:repeat(3,1fr); }
  .flow-timeline::before{ display:none; }
  .consult-wrap{ grid-template-columns:1fr; padding:40px 30px; gap:36px; }
  .news-list{ grid-template-columns:1fr 1fr; }
}
@media (max-width:980px){
  .hero{ min-height:auto; padding:110px 0 0; }
  .hero-inner{ margin-inline:auto; text-align:center; }
  .hero-actions{ justify-content:center; }
  .hero-city{ justify-content:center; }
  .hero-stat{ position:static; margin:46px auto 0; grid-template-columns:repeat(2,1fr); max-width:440px; }
  .hero-scroll{ display:none; }
  .city-step, .city-step.step-even{ grid-template-columns:1fr; gap:26px; }
  .city-step.step-even .city-photo{ order:0; }
  .city-step.step-even .city-info{ order:0; text-align:left; }
  .city-step.step-even .city-info p{ margin-left:0; }
  .city-photo img{ height:260px; }
  .strength-grid{ grid-template-columns:1fr 1fr; }
  .dual-grid{ grid-template-columns:1fr; }
  .xqband-inner{ grid-template-columns:1fr; gap:30px; }
  .xqband-photo img{ height:260px; }
  .quotes-grid{ grid-template-columns:1fr; }
  .policy-grid{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  .strength-grid{ grid-template-columns:1fr; }
  .posts-grid{ grid-template-columns:1fr 1fr; }
  .posts-grid .post-card:nth-child(3n){ transform:none; }
  .flow-timeline{ grid-template-columns:1fr 1fr; }
  .news-list{ grid-template-columns:1fr; }
  .news-item-mini{ display:block; }
  .news-item-mini .news-item-photo{ width:100%; }
  .news-item-mini .news-item-photo img{ height:180px; }
  .consult-wrap{ padding:28px 20px; }
}
