/* ==========================================================================
   濮阳职称 fszg.cn · 首页专属样式 index.css
   ========================================================================== */

/* ---------- 首屏 Hero（分层视差） ---------- */
.hero {
  position: relative;
  min-height: min(94vh, 880px);
  display: flex; align-items: center;
  overflow: hidden;
  background: #171512;
}
.hero-bg-img {
  position: absolute; top: -14%; left: 0;
  width: 100%; height: 128%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0,0,0);
}
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(23,21,18,.88) 8%, rgba(23,21,18,.62) 46%, rgba(23,21,18,.16) 100%);
}
.hero-in { position: relative; z-index: 3; display: grid; grid-template-columns: 1.35fr .9fr; align-items: center; gap: 40px; padding: 96px 0 120px; }
.hero-copy { color: #f2efe7; will-change: transform; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: .34em; color: var(--gold);
  margin-bottom: 26px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--bronze); }
.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(40px, 5.6vw, 66px); line-height: 1.16;
  letter-spacing: .04em; color: #fdfcf9;
}
.hero-title span { color: var(--gold); }
.hero-desc { margin-top: 26px; max-width: 560px; font-size: 16.5px; line-height: 2; color: #c9c3b6; }
.hero-cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-hot { margin-top: 30px; font-size: 13.5px; color: #a9a296; border-left: 2px solid var(--bronze); padding-left: 14px; }
.hero-hot a { color: var(--gold); border-bottom: 1px dashed rgba(224,211,174,.5); }

/* 首屏浮动卡片 */
.hero-float { display: flex; flex-direction: column; gap: 18px; will-change: transform; }
.hf-card {
  background: rgba(252,251,247,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 16px; padding: 22px 26px; color: #f2efe7;
  transition: all .35s ease;
}
.hf-card:hover { background: rgba(252,251,247,.14); transform: translateY(-4px); }
.hf-card--soft { background: rgba(156,133,89,.16); border-color: rgba(201,183,143,.35); }
.hf-label { font-size: 12px; letter-spacing: .24em; color: #b9b2a4; }
.hf-num { font-family: var(--font-serif); font-size: 42px; color: var(--gold); margin: 6px 0 2px; line-height: 1.1; }
.hf-card--soft .hf-num { color: #f2efe7; }
.hf-cap { font-size: 13.5px; color: #a9a296; }

/* 首屏滚动提示 */
.hero-scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  background: var(--gold); border-radius: 3px; transform: translateX(-50%);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { opacity: 1; transform: translate(-50%, 0); } 70% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

/* ---------- 数据条 ---------- */
.stat-band { background: var(--ink); border-top: 1px solid rgba(255,255,255,.06); }
.stat-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 46px 0; }
.stat-item { text-align: center; color: #f2efe7; }
.stat-num { font-family: var(--font-serif); font-size: 40px; color: var(--gold); line-height: 1.2; }
.stat-cap { margin-top: 6px; font-size: 13.5px; color: #a9a296; letter-spacing: .06em; }

/* ---------- 核心服务 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; display: block;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 38px 32px 34px; overflow: hidden;
  transition: all .4s cubic-bezier(.22,.61,.36,1);
}
.svc-card::before {
  content: ""; position: absolute; inset: 0 0 auto;
  height: 3px; background: linear-gradient(90deg, var(--bronze), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .45s ease;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--bronze-l); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-ico {
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 16px;
  background: var(--bg-soft); color: var(--bronze-d);
  transition: all .4s ease;
}
.svc-card:hover .svc-ico { background: var(--bronze); color: #fff; transform: rotate(-6deg) scale(1.05); }
.svc-card h3 { margin: 22px 0 10px; font-size: 19px; color: var(--ink); font-weight: 600; }
.svc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--bronze-d); }
.svc-more i { font-style: normal; transition: transform .3s; }
.svc-card:hover .svc-more i { transform: translateX(5px); }

/* ---------- 为什么选择我们 ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.why-left { position: sticky; top: 120px; }
.why-p { margin: 22px 0 30px; color: var(--muted); line-height: 2; }
.why-right { display: flex; flex-direction: column; gap: 18px; }
.why-item {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 28px; transition: all .35s ease;
}
.why-item:hover { transform: translateX(8px); border-color: var(--bronze-l); box-shadow: var(--shadow-sm); }
.why-idx { font-family: var(--font-serif); font-size: 30px; color: var(--bronze); line-height: 1; min-width: 52px; }
.why-item h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.why-item p { font-size: 14px; color: var(--muted); line-height: 1.85; }

/* ---------- 流程时间线 ---------- */
.flow-sec { background: var(--bg); }
.flow-line {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  position: relative; counter-reset: flow;
}
.flow-line::before {
  content: ""; position: absolute; top: 30px; left: 6%; right: 6%;
  height: 1px; background: var(--line-dark);
}
.flow-step { position: relative; text-align: center; padding: 0 8px; }
.flow-dot {
  position: relative; z-index: 2;
  display: inline-grid; place-items: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--card); border: 1.5px solid var(--bronze);
  font-family: var(--font-serif); font-size: 17px; color: var(--bronze-d);
  transition: all .35s ease;
}
.flow-step:hover .flow-dot { background: var(--bronze); color: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.flow-step h3 { margin: 18px 0 8px; font-size: 16.5px; color: var(--ink); }
.flow-step p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* ---------- 区县服务 ---------- */
.district-sec { padding: 96px 0; position: relative; overflow: hidden; }
.district-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .1; }
.district-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%); }
.district-in { position: relative; z-index: 2; }
.district-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.district-card {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 30px; overflow: hidden; transition: all .35s ease;
}
.district-card::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--bg-deep); transition: all .4s ease;
}
.district-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--bronze-l); }
.district-card:hover::after { transform: scale(2.4); background: var(--bronze); }
.district-card span { position: relative; z-index: 2; font-size: 18px; font-weight: 600; color: var(--ink); }
.district-card i { position: relative; z-index: 2; font-style: normal; font-size: 11px; letter-spacing: .24em; color: var(--muted); transition: color .3s; }
.district-card:hover i { color: #fff; }

/* ---------- 政策与资讯 ---------- */
.news-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 44px; }
.news-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: start; }

.focus-card { position: relative; display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); transition: all .4s ease; }
.focus-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.focus-card img { width: 100%; height: 300px; object-fit: cover; transition: transform .6s ease; }
.focus-card:hover img { transform: scale(1.05); }
.focus-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--bronze); color: #fff; font-size: 12.5px; letter-spacing: .14em;
  padding: 6px 14px; border-radius: 999px;
}
.focus-body { padding: 24px 26px 26px; background: var(--card); }
.focus-body h3 { font-size: 19px; color: var(--ink); font-weight: 600; }
.focus-body p { margin: 10px 0 16px; font-size: 14px; color: var(--muted); line-height: 1.85; }
.focus-more { font-size: 14px; font-weight: 600; color: var(--bronze-d); }
.focus-links { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.focus-links a { font-size: 14.5px; color: var(--ink-2); padding: 6px 10px; border-radius: 8px; transition: all .25s; }
.focus-links a:hover { background: var(--card); color: var(--bronze-d); padding-left: 16px; }

.news-list { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px 30px; }
.nl-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.nl-title span { position: relative; font-size: 18px; font-weight: 600; color: var(--ink); padding-left: 14px; }
.nl-title span::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 18px; border-radius: 3px; background: var(--bronze); }
.nl-title a { font-size: 13px; color: var(--muted); transition: color .25s; }
.nl-title a:hover { color: var(--bronze-d); }
.news-row { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.news-row:last-child { border-bottom: 0; }
.news-row-img { flex-shrink: 0; width: 150px; height: 96px; border-radius: 10px; overflow: hidden; }
.news-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-row:hover .news-row-img img { transform: scale(1.08); }
.news-row-body { min-width: 0; }
.news-row-body h4 { font-size: 15.5px; font-weight: 600; color: var(--ink); line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .25s; }
.news-row:hover .news-row-body h4 a { color: var(--bronze-d); }
.news-row-body p { font-size: 13px; color: var(--muted); margin: 6px 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-row-meta { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; }
.news-row-meta time { color: #a29b8f; }
.news-row-meta a { color: var(--bronze-d); font-weight: 600; }
.news-row-meta a i { font-style: normal; }

/* ---------- 常见问题 ---------- */
.faq-sec { background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.faq-left { position: sticky; top: 120px; }
.faq-left .sec-sub { margin-bottom: 30px; }
.faq-right .acc-item { background: var(--card); }

/* ---------- 底部行动区 ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(156,133,89,.28), transparent 65%);
}
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 76px 0; position: relative; z-index: 2; flex-wrap: wrap; }
.cta-kicker { font-size: 12.5px; letter-spacing: .3em; color: var(--gold); margin-bottom: 14px; }
.cta-copy h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 38px); color: #f2efe7; font-weight: 600; line-height: 1.4; }
.cta-copy p { margin-top: 16px; color: #a9a296; font-size: 15px; max-width: 560px; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-line { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .flow-line::before { display: none; }
  .news-wrap { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-left { position: static; }
  .hero-in { grid-template-columns: 1fr; padding: 70px 0 110px; }
  .hero-float { flex-direction: row; flex-wrap: wrap; }
  .hf-card { flex: 1; min-width: 180px; }
  .faq-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-left { position: static; }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: 1fr; }
  .stat-in { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .flow-line { grid-template-columns: 1fr 1fr; }
  .district-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; }
  .hero-title { font-size: 36px; }
  .news-row-img { width: 120px; height: 84px; }
  .news-row-body p { display: none; }
  .cta-in { padding: 56px 0; }
  .hero-scroll { display: none; }
}
@media (max-width: 520px) {
  .district-grid { grid-template-columns: 1fr; }
  .flow-line { grid-template-columns: 1fr; }
  .news-top { flex-direction: column; align-items: flex-start; }
}
