/* ============================================================
   NO.009 杏林青禾全国儿推 · 公开项目详情页
   基础视觉来自原联合运营方案 H5（assets/css/plan-base.css）
   本文件只做「官网接入层」增量样式，不覆盖原设计语言
   ============================================================ */

/* ---------- 顶部导航：官网返回 + 洽谈入口 ---------- */
/* 无 JS 或脚本未就绪时，内容直接可见，避免“空白页” */
html:not(.anim-ready) .reveal { opacity: 1; transform: none; transition: none; }

.topbar .shell { padding-right: 20px; }
.toc-btn, .toc { display: none !important; }

.topbar .pub-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.topbar .pub-back:hover { color: var(--blue-deep); border-color: rgba(47, 123, 246, .38); }
.topbar .pub-back svg { width: 14px; height: 14px; }

.topbar .pub-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar .pub-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(27, 95, 224, .6);
  white-space: nowrap;
}
.topbar .pub-cta:hover { filter: brightness(1.04); }
@media (max-width: 767px) {
  .topbar .pub-back span { display: none; }
  .topbar .pub-back { padding: 8px 10px; }
  .topbar .pub-cta { padding: 8px 13px; font-size: 12.5px; }
  .brand-txt { font-size: 13.5px; }
  .brand-txt em { display: none; }
}

/* ---------- 移动端章节标签栏 ---------- */
.sec-tabs {
  position: sticky;
  top: 62px;
  z-index: 90;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  margin-bottom: 2px;
  background: linear-gradient(180deg, rgba(239, 242, 247, .98) 62%, rgba(239, 242, 247, 0));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sec-tabs::-webkit-scrollbar { display: none; }
.sec-tabs a {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
}
.sec-tabs a.active { background: var(--blue); border-color: var(--blue); color: #fff; }
@media (min-width: 1080px) { .sec-tabs { display: none; } }

/* ---------- Hero 增量 ---------- */
.hero { padding-top: 96px; }
@media (min-width: 768px) { .hero { padding-top: 132px; } }
.hero .pub-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero .pub-hero-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero .pub-hero-actions a:hover { transform: translateY(-1px); }
.hero .pub-btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -14px rgba(27, 95, 224, .72); }
.hero .pub-btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.hero .pub-btn-ghost:hover { border-color: rgba(47, 123, 246, .4); color: var(--blue-deep); }

.hero .pub-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 关系图：补充说明 ---------- */
.rm-note {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  background: #F4F9FF;
  border: 1px solid rgba(47, 123, 246, .14);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.75;
}
.rm-note b { color: var(--blue-deep); }

/* 流程条：装饰连线以容器为定位基准，避免超出页面宽度 */
.flow { position: relative; }

/* ---------- 定义卡（OPC 总部运营中心） ---------- */
.def-card {
  background: linear-gradient(150deg, #1B3F8F 0%, #1B5FE0 58%, #2F7BF6 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 30px 26px;
  box-shadow: 0 22px 48px -22px rgba(16, 52, 120, .55);
}
.def-card .k { font-size: 11px; font-weight: 800; letter-spacing: .16em; opacity: .78; }
.def-card h3 { font-family: var(--f-cn); font-size: 23px; font-weight: 800; margin: 8px 0 10px; line-height: 1.35; }
.def-card p { font-size: 14px; line-height: 1.8; color: rgba(255, 255, 255, .9); }
.def-card .eq {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 12px;
  font-size: 14px;
  font-weight: 700;
}
.def-card .eq i {
  font-style: normal;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  font-size: 12px;
}
@media (min-width: 768px) { .def-card { padding: 40px 38px; } .def-card h3 { font-size: 28px; } }

/* ---------- 阶段成果（计划形成） ---------- */
.planned {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-s);
}
.planned .planned-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: .04em; color: var(--blue-deep);
  margin-bottom: 6px;
}
.planned .planned-h span.tagline { font-size: 11px; font-weight: 600; color: var(--faint); letter-spacing: .1em; }
.planned ol { counter-reset: pl; display: grid; gap: 12px; margin-top: 14px; }
.planned ol li {
  counter-increment: pl;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--ink-2); line-height: 1.7;
}
.planned ol li::before {
  content: "0" counter(pl);
  flex: 0 0 auto;
  font-family: var(--f-en);
  font-size: 12px; font-weight: 800; color: var(--blue);
  padding-top: 2px;
}
.planned .planned-foot {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--muted); line-height: 1.7;
}
@media (min-width: 900px) {
  .value-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; align-items: start; }
}

/* ---------- 合作洽谈 ---------- */
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding: 30px 24px;
  color: #fff;
  background:
    radial-gradient(120% 130% at 88% 0%, rgba(122, 176, 255, .55) 0%, rgba(122, 176, 255, 0) 55%),
    linear-gradient(140deg, #10265C 0%, #1B4FC0 55%, #2F7BF6 100%);
  box-shadow: var(--shadow-l);
}
.cta-panel h2 { font-family: var(--f-cn); font-size: 24px; font-weight: 800; line-height: 1.42; }
.cta-panel .cta-sub { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .86); line-height: 1.8; }
.cta-panel .cta-rows { display: grid; gap: 10px; margin-top: 22px; }
.cta-panel .cta-row {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 14px; color: rgba(255, 255, 255, .92);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.cta-panel .cta-row span { flex: 0 0 76px; font-size: 12px; color: rgba(255, 255, 255, .62); letter-spacing: .08em; }
.cta-panel .cta-row b { font-weight: 700; }
.cta-panel .cta-row a { text-decoration: underline; text-underline-offset: 3px; }
.cta-panel .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-panel .cta-actions a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 700;
}
.cta-panel .cta-actions .solid { background: #fff; color: #10265C; }
.cta-panel .cta-actions .ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.cta-panel .cta-actions .ghost:hover { background: rgba(255, 255, 255, .1); }
@media (min-width: 768px) {
  .cta-panel { padding: 52px 48px; }
  .cta-panel h2 { font-size: 32px; max-width: 22em; }
}
@media (min-width: 900px) { .cta-panel .cta-rows { grid-template-columns: 1fr 1fr; column-gap: 28px; } }

/* ---------- 公开页声明 ---------- */
.pub-disclaimer {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.8;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: #F7FAFE;
  border: 1px solid var(--line);
}

/* ---------- 移动端底部合作按钮 ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 96;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}
.mobile-cta .m-primary { background: var(--grad); color: #fff; }
.mobile-cta .m-ghost { background: #F1F5FB; color: var(--ink); border: 1px solid var(--line); }
@media (max-width: 767px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 78px; }
  .to-top { bottom: 86px; }
}

/* ---------- 页脚增量 ---------- */
.foot .foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
  font-size: 13px;
}
.foot .foot-links a { color: var(--blue-deep); font-weight: 600; }
