/* 子涵长期判断官网 · 样式（高级克制 · 长青绿 + 暖中性）
   设计语言对标 McKinsey/Bain 方法论页：留白、清晰层级、低饱和。
   跑不起来先查：CSS 路径是否为 /assets/style.css（layout 中已引用） */
:root {
  --green: #1f6f54;
  --green-d: #18553f;
  --ink: #1c2b26;
  --muted: #5d6b65;
  --line: #e4e9e6;
  --bg: #ffffff;
  --bg-alt: #f6f8f6;
  --card: #ffffff;
  --radius: 14px;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  font-size: 16px;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 760px; }

/* 头部 */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-weight: 800; font-size: 18px; letter-spacing: .5px; color: var(--ink); }
.brand:hover { text-decoration: none; color: var(--green); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.site-nav a { color: var(--muted); font-size: 14.5px; padding: 6px 4px; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
.site-nav a.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }

/* 区块 */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: 26px; margin: 0 0 6px; }
.section-desc { color: var(--muted); margin: 0 0 26px; }

/* Hero */
.hero { padding: 76px 0 60px; background: linear-gradient(180deg, #f0f5f2, #ffffff); border-bottom: 1px solid var(--line); }
.kicker { color: var(--green); font-weight: 700; letter-spacing: 2px; font-size: 13px; margin: 0 0 10px; }
.hero h1 { font-size: 38px; line-height: 1.3; margin: 0 0 14px; letter-spacing: .5px; }
.lede { font-size: 19px; color: var(--ink); margin: 0 0 12px; }
.hero-sub { color: var(--muted); max-width: 720px; }
.cta-row { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

/* 按钮 */
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; border: 1px solid var(--green); color: var(--green); background: #fff; font-weight: 600; }
.btn:hover { text-decoration: none; background: #eef4f1; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-d); color: #fff; }

/* 卡片 */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 30px rgba(31,111,84,.10); transform: translateY(-2px); }
.card h2, .card h3 { margin: 4px 0 10px; font-size: 18px; }
.card h3 a, .card h2 a { color: var(--ink); }
.card p { color: var(--muted); margin: 0 0 10px; }
.card-src { font-size: 13px !important; color: var(--green) !important; margin: 8px 0 0 !important; padding-top: 8px; border-top: 1px dashed var(--line); }
.card-icon { font-size: 26px; }
.card-icon.big { font-size: 40px; margin-bottom: 6px; }
.more { font-weight: 600; font-size: 14.5px; }

/* 脱敏客户见证卡片 */
.testimonial .quote { color: var(--ink); font-size: 15px; line-height: 1.75; }
.testimonial .quote::before { content: "“"; color: var(--green); font-size: 20px; font-weight: 700; margin-right: 2px; }
.testimonial .who { margin-top: 12px; font-size: 13px; color: var(--green); font-weight: 600; }

/* /videos 空状态引导 */
.empty-note { max-width: 640px; background: var(--bg-alt); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px 22px; }
.empty-note p { color: var(--muted); margin: 0 0 12px; }
.empty-note b { color: var(--green); }
.empty-note .btn { display: inline-block; }

/* 标签 / 筛选 tab */
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--green); background: #eef4f1; border: 1px solid #d8e6df; border-radius: 999px; padding: 2px 10px; margin-right: 6px; }
.card-sub { color: var(--ink) !important; font-weight: 600; }
.card-cover { width: 100%; height: 160px; object-fit: cover; border-radius: var(--radius); margin: 6px 0 12px; }
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 22px; }
.filter-tabs a { font-size: 14.5px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.filter-tabs a.active, .filter-tabs a:hover { color: #fff; background: var(--green); border-color: var(--green); text-decoration: none; }

/* 课程页 */
.course-highlights ul, .course-syllabus .prose ul { margin: 0 0 16px; padding-left: 20px; }
.course-highlights li { margin: 0 0 8px; }
.price { font-size: 22px; font-weight: 700; color: var(--green); margin: 10px 0; }

/* 页面文章 */
.page { padding: 56px 0; }
.page h1 { font-size: 32px; margin: 0 0 10px; }
.page .lead { font-size: 18px; color: var(--muted); }
.prose p { margin: 0 0 14px; }
.fact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.fact-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.note { font-size: 14px; color: var(--muted); background: var(--bg-alt); border-left: 3px solid var(--green); padding: 10px 14px; border-radius: 8px; }
.slogan { font-weight: 700; color: var(--green); font-size: 17px; }

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; margin: 10px 0 26px; font-size: 14.5px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.data-table th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.data-table tr:nth-child(even) td { background: #fafbfa; }

/* FAQ */
.faq-item { padding: 16px 0; border-bottom: 1px solid var(--line); }
.faq-item h2 { font-size: 18px; margin: 0 0 8px; }

/* 首页 FAQ 折叠（details/summary） */
.faq-list { max-width: 820px; margin: 0 auto; }
details.faq-item { border-bottom: 1px solid var(--line); padding: 4px 0; }
details.faq-item summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; padding: 14px 30px 14px 0; position: relative; color: var(--ink); }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--green); font-size: 22px; font-weight: 700; line-height: 1; }
details.faq-item[open] summary::after { content: "\2212"; }
.faq-answer { padding: 0 0 16px; color: var(--muted); line-height: 1.85; font-size: 15px; }
.more-link { text-align: center; margin-top: 28px; }

/* 实体块 / 页脚 */
.entity-block { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 18px 0; }
.meta { color: var(--muted); font-size: 14px; }
.cover { max-width: 100%; border-radius: var(--radius); margin: 8px 0 18px; }
.center { text-align: center; }

.site-footer { background: #122a21; color: #cfe3da; padding: 44px 0 22px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; }
.footer-brand { color: #fff; font-size: 20px; margin: 0 0 6px; }
.footer-tag { color: #9fc4b5; margin: 0 0 6px; }
.footer-one { color: #cfe3da; }
.footer-entity { font-style: normal; display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #b7d2c7; margin-top: 12px; }
.footer-entity a { color: #cfe3da; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; }
.footer-nav a { color: #cfe3da; font-size: 14.5px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid #244436; margin-top: 26px; padding-top: 16px; font-size: 13px; color: #8fb3a4; }

.cta-section { text-align: center; }
.cta-section h2 { font-size: 24px; margin: 0 0 10px; }

@media (max-width: 720px) {
  .hero h1 { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 2px 10px; }
}

/* ===== 服务总览 / 子涵诊断法 · V4.3 对齐样式 ===== */

/* 页面头：通用二级页 hero */
.page-hero {
  padding: 60px 0 36px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f0f5f2, #ffffff);
}
.page-hero h1 { font-size: 34px; line-height: 1.3; margin: 6px 0 12px; letter-spacing: .5px; }
.page-hero .lead { font-size: 18px; color: var(--muted); margin: 0 0 8px; }
.page-hero .hero-sub { color: var(--muted); max-width: 760px; margin: 0; }

/* 区块标签三件套 */
.sec-label { color: var(--green); font-weight: 700; letter-spacing: 2px; font-size: 12.5px; margin: 0 0 10px; text-transform: uppercase; }
.sec-h    { font-size: 24px; margin: 0 0 6px; color: var(--ink); font-weight: 700; }
.sec-sub  { color: var(--muted); margin: 0 0 24px; font-size: 15.5px; }

/* 表格别名（兼容原型 .tbl） */
.tbl { width: 100%; border-collapse: collapse; margin: 10px 0 26px; font-size: 14.5px; }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.tbl th { background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.tbl tr:nth-child(even) td { background: #fafbfa; }
.matrix-tbl { margin-top: 16px; }
.matrix-tbl th { background: #eaf2ff; }

/* 无 marker 列表 */
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { margin: 0 0 6px; color: var(--ink); }

/* CTA 框（用于"不确定选哪条" / 各详情页底部） */
.contact-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 22px;
  text-align: center;
  margin: 18px auto;
  max-width: 720px;
}
.contact-box h3 { margin: 0 0 8px; font-size: 22px; color: var(--ink); }
.contact-box .lead { color: var(--muted); margin: 0 0 18px; }
.contact-box .btn + .btn { margin-left: 8px; }

/* 合作流程 / 起盘步骤 / 模块组合：四段网格 */
.fourdim {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.fourdim .d {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
}
.fourdim .d b {
  display: block;
  font-size: 16px;
  color: var(--green);
  margin-bottom: 6px;
  font-weight: 700;
}
.fourdim .d span { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ===== 子涵诊断法专属 ===== */

.diagnosis-section { padding: 56px 0; }
.diagnosis-hero { padding-bottom: 24px; }

.step-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 18px;
  border-left: 4px solid var(--green);
  padding-left: 14px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

/* ① 输入 */
.input-zone {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 16px;
}
.input-intro { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.input-intro b { color: var(--ink); }
.input-questions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.iq {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  color: var(--ink);
}
.input-arrow { text-align: center; color: var(--green); font-size: 22px; margin: 6px 0; font-weight: 700; }
.personas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.persona {
  background: var(--green);
  color: #fff;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
}

/* ② 三列框架 */
.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.fw-col {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.fw-col.pink  { background: linear-gradient(180deg, #fce4ec 0%, #ffffff 60%); border-color: #f8c8d8; }
.fw-col.blue  { background: linear-gradient(180deg, #e3f2fd 0%, #ffffff 60%); border-color: #cfe2f3; }
.fw-col.green { background: linear-gradient(180deg, #e8f5e9 0%, #ffffff 60%); border-color: #c8e6c9; }

.fw-col-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.fw-col-header h4 { margin: 0; font-size: 18px; color: var(--ink); }
.fw-tag { font-size: 12px; color: var(--green); background: #eef4f1; padding: 3px 10px; border-radius: 999px; }
.fw-col.pink .fw-tag  { background: #fde7ee; color: #c2185b; }
.fw-col.blue .fw-tag  { background: #dfeaf7; color: #1565c0; }
.fw-col.green .fw-tag { background: #dcefd6; color: #2e7d32; }

.internal-badge {
  font-size: 12px; font-weight: 700;
  background: #fff3e0; color: #c95a13;
  border: 1px solid #f7c896;
  padding: 3px 10px; border-radius: 999px;
}

/* 四相修心 */
.four-phase-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #f1d6e0; }
.four-phase-item:last-of-type { border-bottom: 0; }
.fph { flex: 0 0 50px; font-weight: 700; color: #c2185b; }
.fpd { color: var(--ink); font-size: 14.5px; line-height: 1.6; }

/* 九维商业 3×3 */
.matrix-3x3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 14px;
}
.matrix-cell {
  background: #fff;
  border: 1px solid #cfe2f3;
  border-radius: 8px;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  color: #1565c0;
  font-size: 14.5px;
}
.matrix-cell.center { background: #1565c0; color: #fff; }

/* AI 判断引擎 */
.ai-layer-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #d7ecd9; }
.ai-layer-item:last-of-type { border-bottom: 0; }
.ailh { flex: 0 0 80px; font-weight: 700; color: #2e7d32; }
.aild { color: var(--ink); font-size: 14.5px; line-height: 1.6; }

/* 三列 note 颜色微调 */
.fw-col.pink  .fw-note { color: #b1457b; }
.fw-col.green .fw-note { color: #2e7d32; }
.fw-note { font-size: 13.5px; margin-top: 12px; }

/* ③ 双引擎 */
.dual-engine {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 14px;
  align-items: center;
}
.engine-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.engine-box h4 { margin: 10px 0 6px; font-size: 18px; }
.engine-box p   { color: var(--muted); margin: 0; line-height: 1.7; }
.engine-box .eb-icon { font-size: 36px; }
.engine-box.ai-e { background: linear-gradient(180deg, #f0f7ff, #fff); border-color: #cfe2f3; }
.engine-box.human-e { background: linear-gradient(180deg, #fff8ee, #fff); border-color: #f1d8b3; }
.engine-plus { text-align: center; font-size: 30px; color: var(--green); font-weight: 700; }
.engine-foot { text-align: center; color: var(--muted); font-size: 13.5px; margin: 18px 0 0; }

/* ④ 行动卡 */
.output-zone { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.oz-h { font-size: 22px; font-weight: 700; color: var(--green); margin: 0 0 18px; text-align: center; }
.oz-h span { color: var(--muted); font-weight: 500; font-size: 16px; }
.action-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.acard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.ac-num { font-size: 12.5px; font-weight: 700; color: var(--green); letter-spacing: 1.5px; margin-bottom: 6px; }
.ac-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ac-desc { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.diag-cta-wrap { text-align: center; margin-top: 22px; }

/* 诊断页底部差异 / 矩阵 section 共用现有 .section / .section-alt 即可 */

/* 首页实体介绍块（GEO：增厚首页正文 + 可引用事实句） */
.about-brief {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}
.brief-text p { margin: 0 0 14px; color: var(--ink); line-height: 1.85; }
.brief-quote {
  border-left: 3px solid var(--green);
  background: #fff;
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  color: var(--ink) !important;
  font-size: 15.5px;
}
.brief-creds {
  list-style: none;
  margin: 0;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.brief-creds li {
  padding: 10px 0 10px 20px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
}
.brief-creds li:last-child { border-bottom: 0; }
.brief-creds li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ===== 视频模块 ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.video-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.video-card:hover { box-shadow: 0 8px 24px rgba(31, 111, 84, .12); transform: translateY(-2px); }
.video-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #1f6f54;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-thumb-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: rgba(255, 255, 255, .85);
  font-size: 34px;
}
.duration-badge {
  position: absolute; right: 8px; bottom: 8px;
  background: rgba(0, 0, 0, .72);
  color: #fff; font-size: 12px; line-height: 1;
  padding: 4px 7px; border-radius: 5px;
}
.video-body { padding: 16px 18px 18px; }
.video-body h2 { font-size: 18px; margin: 8px 0 6px; line-height: 1.5; }
.video-body h3 { font-size: 16.5px; margin: 0 0 6px; line-height: 1.5; }
.video-body p { font-size: 14.5px; color: var(--muted); margin: 0 0 6px; }

/* 详情页 */
.video-player {
  margin: 8px 0 22px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .14);
}
.video-player video { display: block; width: 100%; height: auto; }
.video-external { margin: 12px 0 24px; }
.video-head { margin-bottom: 14px; }
.video-head h1 { font-size: 26px; line-height: 1.45; margin: 8px 0; }
.video-summary { font-size: 16px; color: var(--text); margin-bottom: 26px; }
.transcript {
  margin: 26px 0;
  padding: 20px 22px;
  background: var(--bg-alt);
  border-radius: 12px;
  border-left: 3px solid var(--green);
}
.transcript h2 { font-size: 18px; margin: 0 0 12px; }
.transcript p { margin: 0 0 12px; line-height: 1.85; }
.transcript ul { margin: 0 0 12px; padding-left: 22px; }
.video-back { margin-top: 30px; }

/* 后台状态提示 */
.note.ok { border-left-color: var(--green); color: #1f6f54; }
.note.err { border-left-color: #b3261e; color: #b3261e; }

/* 响应式 */
@media (max-width: 960px) {
  .framework-grid { grid-template-columns: 1fr; }
  .dual-engine { grid-template-columns: 1fr; }
  .engine-plus { display: none; }
  .about-brief { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .video-grid { grid-template-columns: 1fr; }
  .video-head h1 { font-size: 22px; }
  .page-hero h1 { font-size: 28px; }
  .step-title { font-size: 18px; }
  .matrix-3x3 { grid-template-columns: repeat(3, 1fr); font-size: 13px; }
  .matrix-cell { padding: 10px 4px; font-size: 13px; }
}
