/* ==========================================================================
   huaiyang.html · 淮阳区属地服务页
   骨架：区情图带 Hero → 服务内容图文（上下大分区，两组）→ 服务流程横排 → 需求 → 承诺 → 邻县 → CTA
   专属前缀 .pg-hy
   ========================================================================== */

/* ---------- 区块1：区情图带 Hero ---------- */
.pg-hy .hy-band{
  position:relative;overflow:hidden;
  padding:calc(var(--nav-h) + clamp(60px,9vw,110px)) 0 clamp(50px,7vw,80px);
  background:
    linear-gradient(120deg,rgba(237,230,252,.92),rgba(221,241,253,.88)),
    url("../images/xiancheng.jpg") center/cover no-repeat;
}
.pg-hy .hy-band-inner{ position:relative;z-index:2; }
.pg-hy .hy-band-txt{ max-width:760px; }
.pg-hy .hy-band-txt .eyebrow{ margin-bottom:8px; }
.pg-hy .hy-band-txt h1{ font-size:clamp(30px,4.6vw,50px);margin:14px 0 14px; }
.pg-hy .hy-band-txt .sub{ font-size:clamp(15px,1.6vw,18px);color:var(--ink-2); }
.pg-hy .hy-band-cta{ display:flex;flex-wrap:wrap;gap:14px;margin-top:28px; }
.pg-hy .hy-band .crumbs{ margin-bottom:14px; }

/* ---------- 区块2/3：服务内容图文（大分区） ---------- */
.pg-hy .hy-media{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,56px);align-items:center;
}
.pg-hy .hy-media-rev .hy-media-img{ order:2; }
.pg-hy .hy-media-rev .hy-media-txt{ order:1; }
.pg-hy .hy-media-img img{
  width:100%;height:auto;border-radius:var(--r-xl);
  box-shadow:var(--shadow-lg);object-fit:cover;border:4px solid #fff;
}
.pg-hy .hy-media-txt h2{ font-size:clamp(24px,3.2vw,36px);margin:12px 0 16px; }
.pg-hy .hy-media-txt > p{ color:var(--ink-2);margin-bottom:18px; }
.pg-hy .hy-check{ display:grid;gap:11px;margin-bottom:22px; }
.pg-hy .hy-check li{ display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink-2); }
.pg-hy .hy-check li svg{ width:18px;height:18px;color:var(--pink-deep);flex:none;margin-top:4px; }

/* ---------- 区块4：服务流程横排 ---------- */
.pg-hy .hy-flow-row{
  display:grid;grid-template-columns:repeat(5,1fr);gap:14px;position:relative;
}
.pg-hy .hy-flow-row::before{
  content:"";position:absolute;top:26px;left:10%;right:10%;height:2px;
  background:linear-gradient(90deg,var(--purple-soft),var(--blue-soft));z-index:0;
}
.pg-hy .hy-flow-step{
  position:relative;z-index:1;text-align:center;padding:0 8px;
}
.pg-hy .hy-flow-num{
  display:inline-flex;width:52px;height:52px;border-radius:50%;
  align-items:center;justify-content:center;font-weight:800;color:#fff;
  background:var(--grad-brand);box-shadow:var(--shadow-md);margin-bottom:14px;
}
.pg-hy .hy-flow-step h3{ font-size:16px;margin-bottom:6px; }
.pg-hy .hy-flow-step p{ font-size:12.5px;color:var(--ink-3); }

/* ---------- 区块5：本地需求 ---------- */
.pg-hy .hy-need-grid{ display:grid;grid-template-columns:repeat(3,1fr);gap:24px; }
.pg-hy .hy-need-card{ padding:28px 24px; }
.pg-hy .hy-need-card h3{ font-size:18px;margin-bottom:10px; }
.pg-hy .hy-need-card p{ font-size:14px;color:var(--ink-3); }

/* ---------- 区块6：服务承诺 ---------- */
.pg-hy .hy-promise-grid{ display:grid;grid-template-columns:repeat(3,1fr);gap:24px; }
.pg-hy .hy-promise-item{
  padding:30px 26px;border-radius:var(--r-lg);text-align:center;
  background:var(--glass);border:1px solid var(--line);box-shadow:var(--shadow-sm);
  transition:transform .35s,box-shadow .35s;
}
.pg-hy .hy-promise-item:hover{ transform:translateY(-6px);box-shadow:var(--shadow-md); }
.pg-hy .hy-promise-item svg{
  width:52px;height:52px;color:var(--purple-deep);margin:0 auto 16px;
  padding:12px;border-radius:50%;background:var(--purple-mist);box-sizing:border-box;
}
.pg-hy .hy-promise-item h3{ font-size:18px;margin-bottom:10px; }
.pg-hy .hy-promise-item p{ font-size:14px;color:var(--ink-3); }

/* ---------- 区块7：邻县互链 ---------- */
.pg-hy .hy-city-tags{ display:flex;flex-wrap:wrap;gap:12px;justify-content:center; }
.pg-hy .hy-city-tags .tag{ font-size:14px;padding:9px 20px; }

/* ---------- 区块8：CTA ---------- */
.pg-hy .hy-cta{ padding-block:var(--sec-pad); }
.pg-hy .hy-cta-box{
  background:linear-gradient(135deg,#EDE6FC,#DDF1FD);
  border:1px solid var(--line);border-radius:var(--r-xl);
  padding:clamp(30px,5vw,56px);text-align:center;max-width:860px;margin:0 auto;
}
.pg-hy .hy-cta-box h2{ font-size:clamp(24px,3.4vw,36px);margin-bottom:12px; }
.pg-hy .hy-cta-box > p{ color:var(--ink-3);margin-bottom:26px; }
.pg-hy .hy-cta-form .form-row{ margin-bottom:16px; }
.pg-hy .hy-cta-form{ display:grid;gap:14px; }
.pg-hy .hy-cta-form .btn{ justify-self:center; }

/* ---------- 区块7：服务流程时间轴 ---------- */
.pg-hy .hy-tl-list{ list-style:none;position:relative;max-width:760px;margin:0 auto;padding-left:28px; }
.pg-hy .hy-tl-list::before{ content:"";position:absolute;left:8px;top:6px;bottom:6px;width:2px;background:var(--grad-pink); }
.pg-hy .hy-tl-item{ position:relative;padding:0 0 26px 20px; }
.pg-hy .hy-tl-item::before{
  content:"";position:absolute;left:-26px;top:4px;width:14px;height:14px;border-radius:50%;
  background:#fff;border:3px solid var(--pink);
}
.pg-hy .hy-tl-dot{ display:inline-block;font-size:12px;font-weight:700;color:var(--pink-deep);background:var(--pink-soft);padding:3px 10px;border-radius:999px;margin-bottom:8px; }
.pg-hy .hy-tl-item h3{ font-size:17px;margin-bottom:6px; }
.pg-hy .hy-tl-item p{ font-size:14px;color:var(--ink-3); }

/* ---------- 区块8：需求对照表 ---------- */
.pg-hy .hy-compare .table-wrap{ overflow-x:auto; }
.pg-hy .hy-compare table{ table-layout:fixed;width:100%;border-collapse:collapse; }
.pg-hy .hy-compare th,.pg-hy .hy-compare td{ padding:14px 16px;text-align:left;border-bottom:1px solid var(--line);font-size:14px; }
.pg-hy .hy-compare thead th{ background:var(--purple-mist);font-weight:700; }
.pg-hy .hy-compare tbody td:first-child{ font-weight:600;color:var(--ink); }

/* ---------- 区块8：本地服务说明 ---------- */
.pg-hy .hy-note-wrap{ max-width:860px; }
.pg-hy .hy-note-wrap h2{ font-size:clamp(22px,3vw,30px);margin-bottom:16px; }
.pg-hy .hy-note-wrap p{ font-size:15px;color:var(--ink-3);line-height:1.9;margin-bottom:14px; }

/* ---------- 响应式：1024 ---------- */
@media (max-width:1024px){
  .pg-hy .hy-media{ grid-template-columns:1fr; }
  .pg-hy .hy-media-rev .hy-media-img{ order:0; }
  .pg-hy .hy-media-rev .hy-media-txt{ order:0; }
  .pg-hy .hy-flow-row{ grid-template-columns:1fr 1fr;gap:28px 14px; }
  .pg-hy .hy-flow-row::before{ display:none; }
  .pg-hy .hy-need-grid{ grid-template-columns:1fr; }
  .pg-hy .hy-promise-grid{ grid-template-columns:1fr; }
}
/* ---------- 响应式：768 ---------- */
@media (max-width:768px){
  .pg-hy .hy-flow-row{ grid-template-columns:1fr; }
}
/* ---------- 响应式：480 ---------- */
@media (max-width:480px){
  .pg-hy .hy-band-cta .btn{ width:100%; }
  .pg-hy .hy-cta-form .btn{ width:100%; }
}

/* ===== 自动生成列宽规则（修复 th 内联样式）===== */
.hy-compare .table-wrap table{table-layout:fixed;width:100%}
.hy-compare .table-wrap table th:nth-child(1){width:22%}
.hy-compare .table-wrap table th:nth-child(2){width:30%}
.hy-compare .table-wrap table th:nth-child(3){width:24%}
.hy-compare .table-wrap table th:nth-child(4){width:24%}
