/* ==========================================================================
   前台门户 · 样式
   ========================================================================== */
.portal-body { background: #fff; }
.p-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ---------------- 顶栏 ---------------- */
.p-top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.p-top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.p-logo { display: flex; align-items: center; gap: 11px; }
.p-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff; font-size: 19px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(20, 81, 62, .25);
}
.p-logo-name { font-size: 15.5px; font-weight: 650; line-height: 1.25; }
.p-logo-sub { font-size: 11.5px; color: var(--ink-400); letter-spacing: .04em; }
.p-nav { display: flex; align-items: center; gap: 26px; }
.p-nav a {
  font-size: 14px; color: var(--ink-700); padding: 6px 0;
  border-bottom: 2px solid transparent; transition: all .16s;
}
.p-nav a:hover { color: var(--brand-600); }
.p-nav a.on { color: var(--brand-700); font-weight: 600; border-bottom-color: var(--brand-600); }
.p-nav a.p-nav-cta {
  padding: 8px 16px; border: 1px solid var(--brand-600); border-radius: 8px;
  color: var(--brand-700); background: var(--brand-50); font-weight: 500;
}
.p-nav a.p-nav-cta:hover { background: var(--brand-600); color: #fff; }

/* ---------------- Hero ---------------- */
.p-hero {
  background:
    radial-gradient(900px 400px at 78% -10%, rgba(200, 145, 63, .16), transparent 62%),
    linear-gradient(160deg, var(--brand-900), var(--brand-700) 58%, #1a6b51);
  color: #fff; padding: 74px 0 82px; position: relative; overflow: hidden;
}
.p-hero::after {
  content: ''; position: absolute; right: -120px; bottom: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}
.p-hero-in { position: relative; z-index: 2; display: flex; gap: 56px; align-items: center; }
.p-hero-txt { flex: 1; }
.p-hero h1 {
  margin: 0 0 8px; font-size: 40px; line-height: 1.28; font-weight: 700;
  letter-spacing: .01em;
}
.p-hero h1 em {
  font-style: normal; color: var(--gold-500);
}
.p-hero .lead {
  font-size: 16px; color: #b9d2c9; line-height: 1.85; margin: 0 0 28px; max-width: 560px;
}
.p-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.p-hero-cta .btn { height: 44px; padding: 0 24px; font-size: 15px; }
.p-hero-cta .btn.line {
  background: transparent; border-color: rgba(255, 255, 255, .32); color: #fff;
}
.p-hero-cta .btn.line:hover { background: rgba(255, 255, 255, .1); border-color: #fff; box-shadow: none; }

.p-hero-card {
  flex: 0 0 348px; background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg);
  padding: 24px; backdrop-filter: blur(8px);
}
.phc-title { font-size: 13px; color: #a9c4bb; letter-spacing: .1em; margin-bottom: 16px; }
.phc-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 11px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: 14px;
}
.phc-row:last-child { border-bottom: none; }
.phc-row .k { color: #a9c4bb; font-size: 13px; }
.phc-row .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.phc-note {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px; color: #8fa8a0; line-height: 1.7;
}

/* ---------------- 通用区块 ---------------- */
.p-sec { padding: 76px 0; }
.p-sec.alt { background: #f7faf9; }
.p-sec-head { text-align: center; margin-bottom: 44px; }
.p-sec-head .eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .16em;
  color: var(--brand-600); font-weight: 600; margin-bottom: 10px;
}
.p-sec-head h2 { margin: 0 0 12px; font-size: 30px; font-weight: 650; letter-spacing: .01em; }
.p-sec-head p { margin: 0; color: var(--ink-500); font-size: 15px; line-height: 1.8; }

/* ---------------- 服务卡 ---------------- */
.p-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.p-svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 24px; transition: all .2s ease;
}
.p-svc:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cddbd5; }
.p-svc .sv-ico {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.p-svc h3 { margin: 0 0 9px; font-size: 16.5px; font-weight: 600; }
.p-svc p { margin: 0; font-size: 13.5px; color: var(--ink-500); line-height: 1.85; }
.p-svc .sv-list { margin: 13px 0 0; padding: 0; list-style: none; }
.p-svc .sv-list li {
  font-size: 13px; color: var(--ink-500); padding: 5px 0 5px 16px; position: relative;
}
.p-svc .sv-list li::before {
  content: '›'; position: absolute; left: 2px; color: var(--brand-500); font-weight: 700;
}

/* ---------------- 流程 ---------------- */
.p-flow { display: flex; align-items: stretch; gap: 0; flex-wrap: wrap; }
.p-flow-step {
  flex: 1; min-width: 168px; position: relative;
  padding: 22px 18px 22px 44px;
}
.p-flow-step::before {
  content: ''; position: absolute; left: 22px; top: 26px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #fff; border: 2.5px solid var(--brand-500);
}
.p-flow-step::after {
  content: ''; position: absolute; left: 33px; top: 40px; bottom: 0;
  width: 2px; background: var(--line);
}
.p-flow-step:last-child::after { display: none; }
.p-flow-step .pfs-n {
  font-size: 11px; font-weight: 700; color: var(--brand-600); letter-spacing: .1em;
}
.p-flow-step .pfs-t { font-size: 15px; font-weight: 600; margin: 5px 0 6px; }
.p-flow-step .pfs-d { font-size: 12.5px; color: var(--ink-500); line-height: 1.75; }
.p-flow-step.hl::before { border-color: var(--gold-500); background: var(--gold-500); }
.p-flow-step.hl .pfs-n { color: var(--gold-600); }

/* ---------------- 成果检索 ---------------- */
.p-search-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px;
  background: #fff; padding: 16px; border-radius: var(--radius-lg);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.p-search-bar .input { flex: 1; min-width: 220px; }
.p-search-bar .select { width: 190px; }
.p-ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.p-ach {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; transition: all .2s ease; display: flex; flex-direction: column;
}
.p-ach:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cddbd5; }
.p-ach .pa-code { font-size: 12px; color: var(--brand-600); font-weight: 600; letter-spacing: .04em; }
.p-ach h3 { margin: 9px 0 10px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.p-ach .pa-co { font-size: 13px; color: var(--ink-500); display: flex; gap: 6px; align-items: center; }
.p-ach .pa-fields {
  margin: 15px 0 0; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12.5px; flex: 1;
}
.p-ach .pa-fields div { display: flex; gap: 10px; padding: 4px 0; }
.p-ach .pa-fields .k { color: var(--ink-400); flex: 0 0 66px; }
.p-ach .pa-fields .v { color: var(--ink-700); }

/* ---------------- 关于 ---------------- */
.p-about-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.p-about-in h3 { margin: 0 0 16px; font-size: 24px; font-weight: 650; }
.p-about-in p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-500); line-height: 1.95; }
.p-about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.p-ab-st {
  background: var(--brand-50); border-radius: var(--radius); padding: 20px;
  border: 1px solid #d9e9e2;
}
.p-ab-st .n { font-size: 28px; font-weight: 650; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.p-ab-st .l { font-size: 12.5px; color: var(--ink-500); margin-top: 3px; }

/* ---------------- 页脚 ---------------- */
.p-foot { background: var(--brand-900); color: #a9c4bb; padding: 52px 0 24px; }
.pf-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 32px; }
.pf-brand { color: #fff; font-size: 15.5px; font-weight: 600; margin-bottom: 12px; }
.pf-h { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.pf-line { font-size: 13px; line-height: 2; }
.pf-bottom {
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 12px; color: #7d968e; text-align: center;
}

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .p-hero-in { flex-direction: column; gap: 32px; }
  .p-hero-card { flex: 1; width: 100%; max-width: 420px; }
  .p-about-in { grid-template-columns: 1fr; gap: 32px; }
  .p-nav { gap: 16px; }
  .p-nav a { font-size: 13px; }
}
@media (max-width: 700px) {
  .p-nav a:not(.p-nav-cta) { display: none; }
  .p-hero h1 { font-size: 28px; }
  .p-sec { padding: 50px 0; }
  .pf-grid { grid-template-columns: 1fr; gap: 26px; }
}
