/* ============================================================
   博鲁德官网 · 视觉精修层  theme-refine.css
   加载顺序：style.css → theme-mckinsey.css → 内联 <style> → 本文件（最末）
   模式：Preserve —— 不动结构、不动内容、不动数据绑定，只做视觉层精修。
   纪律：三色体系（灰阶 · 白 · logo 橙）不变；
        衬线标题 + 锐利边角 + 规则线分隔 + 单一强调色。
   本轮解决四类问题：节奏不统一 / 对比度偏弱 / 状态缺失 / 细节质感。
   ============================================================ */

/* ---------- 0. 阅读进度条 ----------
   渐进增强：浏览器不支持 scroll-driven 动画时保持 scaleX(0)，静默不可见。 */
.read-progress {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--brand, #e0792c);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1001;
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .read-progress {
    animation: readProgress 1s linear;
    animation-timeline: scroll(root block);
  }
}
@keyframes readProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- 1. 排版细节 ---------- */
h1, h2 { text-wrap: balance; }
h3, h4, p, li, blockquote, figcaption { text-wrap: pretty; }
.lead { line-height: 1.9; }

/* ---------- 2. 键盘焦点可见（此前缺失） ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--brand, #e0792c);
  outline-offset: 3px;
}
/* 深墨导航与页脚内改用白描边，保证可见 */
.site-header a:focus-visible,
.site-header button:focus-visible,
.site-footer a:focus-visible { outline-color: #fff; }

/* ---------- 3. 次级文字对比度（多处灰 #9a9a9a 在白底仅 2.8:1，不达 AA） ---------- */
.muted,
.stat__label,
.case__metric span,
.info-item__label,
.crumb,
.form__note { color: var(--gray-500, #6e6e6e); }
/* 深墨底上改用半透明白，对比度约 6:1 */
.section--ink .muted,
.section--ink .stat__label,
.section--ink .info-item__label,
.cta-band .muted { color: rgba(255, 255, 255, 0.62); }

/* ---------- 4. 板块节奏：编辑式分隔线 ---------- */
main > section.section { border-top: 1px solid var(--gray-200, #e4e4e4); }
main > section.section--ink { border-top-color: var(--ink, #0e1116); }
.hero + section.section { border-top: 0; }

/* ---------- 5. 板块内的色带子区块：统一内边距，去掉硬编码外边距 ---------- */
section > div.section {
  padding: clamp(28px, 3vw, 44px) 0 !important;
  margin-top: 0 !important;
}

/* ---------- 6. 症状卡：统一锐利边角 + 克制的悬停 ---------- */
.symptoms .symptom {
  border-radius: var(--radius, 3px);
  padding: 24px 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.symptoms .symptom:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -32px rgba(14, 17, 22, 0.5);
}
/* 中文伪斜体观感差，改用正体 + 浅底引用块 */
.symptom__roast {
  font-style: normal !important;
  border-left-width: 2px;
  color: var(--gray-600, #565d66);
}

/* ---------- 7. 五条服务原则：五列对齐（原 3 列导致 3+2 悬空） ---------- */
.grid--principles { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-3, 24px); }
.grid--principles > * { padding-right: 0 !important; }
@media (max-width: 1100px) { .grid--principles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .grid--principles { grid-template-columns: 1fr; } }

/* ---------- 8. 数据条：细线分隔的表格感 ---------- */
.stats {
  gap: 1px;
  background: var(--gray-200, #e4e4e4);
  border-top: 1px solid var(--gray-200, #e4e4e4);
  padding-top: 0;
}
.stat { background: #fff; padding: 20px 18px 18px; }
.section--ink .stat { background: transparent; }

/* ---------- 9. 表单：顶部橙规则线 + 触控高度 ---------- */
.hero__card { border-top: 3px solid var(--brand-btn, #b8570f); }
.form__submit { min-height: 46px; }
.btn { transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.12s ease; }
.btn:active { transform: translateY(1px); }
.btn--solid:active { background: var(--brand-ink, #a8531a); border-color: var(--brand-ink, #a8531a); }
.btn--ghost:active { background: var(--gray-800, #1a1a1a); }

/* ---------- 10. 顾问占位卡：细网格替代交叉斜线，观感更克制 ---------- */
.member__photo::after {
  background-image:
    linear-gradient(var(--gray-200, #e4e4e4) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-200, #e4e4e4) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.5;
}
.member__initials { font-family: var(--font-serif); color: var(--gray-400, #9a9a9a); }
.member:hover .member__photo { border-color: var(--brand, #e0792c); }

/* ---------- 11. 行业格：悬停反馈更明确 ---------- */
.logo-wall div { transition: color 0.2s ease, background 0.2s ease; }
.logo-wall div:hover { background: #fff; color: var(--brand-ink, #a8531a); }

/* ---------- 12. 入场动效：更克制（原 28px / 0.9s 偏重） ---------- */
.js .reveal {
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ---------- 13. 横滑：卡片呼吸与触控目标 ---------- */
.hscroll { padding-bottom: 12px; }
.hscroll__dot { width: 9px; height: 9px; }
@media (max-width: 768px) {
  .hscroll__btn { width: 44px; height: 44px; }
  .hscroll__dot { width: 10px; height: 10px; }
}

/* ---------- 14. 导航：中等屏防拥挤（9 个锚点 + logo + CTA） ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 15px; }
  .nav__link { font-size: 14px; }
  .nav__cta .btn { padding: 9px 16px; font-size: 13.5px; }
}

/* ---------- 15. 行业洞察卡：媒体区加秩序纹理，替代纯色块 ---------- */
.insight__media {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #1b1f26, #262b34);
  background-size: 22px 22px, 22px 22px, cover;
}
.insight:hover .insight__media { background-color: #20252d; }

/* ---------- 16. 无障碍偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .read-progress { display: none; }
}
@media print {
  .read-progress { display: none; }
}

/* ---------- 17. 服务区域：贵州九地州地图 ---------- */
.gz-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border: 1px solid var(--gray-200);
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}
.gz-card__map { position: relative; }
.gz-map { width: 100%; height: 540px; background: #f1efe9; }
.gz-map canvas { display: block; }
.gz-map__legend {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px;
  border-top: 1px solid var(--gray-200);
  font-size: 12.5px;
  color: var(--gray-500);
}
.gz-lg { display: inline-flex; align-items: center; gap: 6px; }
.gz-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.gz-dot--base { background: var(--ink); }
.gz-dot--area { background: var(--brand); }
.gz-map__tip { margin-left: auto; font-size: 11.5px; color: var(--gray-400); }

.gz-card__list {
  display: flex;
  flex-direction: column;
  padding: 18px 14px 18px 20px;
  min-width: 0;
}
.gz-list-head {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-200);
}
.gz-list {
  flex: 1;
  max-height: 440px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}
.gz-item {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 2px solid transparent;
  cursor: pointer;
  padding: 9px 12px;
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  grid-template-areas: "no name" ". seat" ". note";
  column-gap: 10px;
  row-gap: 2px;
  transition: background-color .18s ease, border-color .18s ease;
}
.gz-item:hover { background: rgba(14, 17, 22, .04); }
.gz-item.is-active {
  background: rgba(224, 121, 44, .07);
  border-left-color: var(--brand);
}
.gz-item__no {
  grid-area: no;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--gray-400);
  padding-top: 3px;
}
.gz-item__name {
  grid-area: name;
  font-family: var(--font-serif, "Source Han Serif SC", "Noto Serif SC", Georgia, serif);
  font-size: 15.5px;
  color: var(--gray-900);
  line-height: 1.3;
}
.gz-item__seat { grid-area: seat; font-size: 12px; color: var(--gray-500); }
.gz-item__note { grid-area: note; font-size: 12px; color: var(--gray-500); }
.gz-note { font-size: 12.5px; margin-top: 12px; padding-left: 14px; }

/* 地图组件未能加载（如未配置 key）时的降级：清单占满，页面不出现空白框 */
.gz-card.is-mapfail { grid-template-columns: minmax(0, 1fr); }
.gz-card.is-mapfail .gz-card__map { display: none; }
.gz-card.is-mapfail .gz-card__list { padding: 24px; }
.gz-card.is-mapfail .gz-list { max-height: none; overflow: visible; }
.gz-card.is-mapfail .gz-note { padding-left: 0; }

@media (max-width: 900px) {
  .gz-card { grid-template-columns: minmax(0, 1fr); }
  .gz-card__map { border-right: 0; border-bottom: 1px solid var(--gray-200); }
  .gz-map { height: 320px; }
  .gz-card__list { padding: 18px; }
  .gz-list { max-height: none; overflow: visible; padding-right: 0; }
  .gz-note { padding-left: 0; }
}
@media (max-width: 480px) {
  .gz-map { height: 260px; }
  .gz-map__legend { gap: 12px; font-size: 11.5px; }
  .gz-map__tip { display: none; }
}

/* 17b. 自包含 SVG 地图（离线可用，边界取自贵州省行政区划） */
.gz-svg { display: block; width: 100%; height: 100%; background: transparent; }
.gz-province {
  fill: #e7e0d2;
  stroke: var(--ink, #0e1116);
  stroke-width: 1.1;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.gz-pin { cursor: pointer; }
.gz-pin__halo { fill: var(--brand, #e0792c); opacity: .16; transition: opacity .18s ease; }
.gz-pin__dot { fill: var(--brand, #e0792c); stroke: #fff; stroke-width: 1.6; }
.gz-pin--base .gz-pin__halo { fill: var(--ink, #0e1116); }
.gz-pin--base .gz-pin__dot { fill: var(--ink, #0e1116); }
.gz-pin__label {
  font-size: 12px; fill: var(--ink, #0e1116); text-anchor: middle;
  opacity: 0; pointer-events: none; font-weight: 600;
  paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round;
}
.gz-pin--base .gz-pin__label { opacity: 1; }
.gz-pin:hover .gz-pin__label,
.gz-pin.is-active .gz-pin__label { opacity: 1; }
.gz-pin.is-active .gz-pin__halo { opacity: .34; }
.gz-pin:focus { outline: none; }
.gz-pin:focus-visible .gz-pin__dot { stroke: var(--brand, #e0792c); stroke-width: 3px; }

/* 点击地州后的信息卡 */
.gz-callout {
  position: absolute; left: 14px; top: 14px; right: 14px; max-width: 300px;
  background: rgba(255, 255, 255, .95); border: 1px solid var(--gray-200, #e5e5e5);
  border-left: 3px solid var(--brand, #e0792c); border-radius: 3px;
  padding: 12px 14px; box-shadow: 0 8px 24px rgba(14, 17, 22, .12); font-size: 13px;
}
.gz-callout__hint { color: var(--gray-500, #6b7280); line-height: 1.6; }
.gz-callout__name { font-weight: 700; color: var(--ink, #0e1116); font-size: 15px; }
.gz-callout__base {
  display: inline-block; margin-left: 6px; vertical-align: middle;
  font-size: 11px; color: #fff; background: var(--ink, #0e1116);
  border-radius: 2px; padding: 1px 6px; font-weight: 400;
}
.gz-callout__seat { color: var(--gray-600, #4b5563); margin: 4px 0 2px; }
.gz-callout__note { color: var(--gray-500, #6b7280); line-height: 1.6; }
.gz-callout__back {
  margin-top: 8px; font-size: 12px; color: var(--brand-ink, #a8531a);
  cursor: pointer; border: 0; background: none; padding: 0; font-family: inherit;
}
.gz-callout__back:hover { text-decoration: underline; }



/* ---------- 首屏证据条（P0-C1：权威数字前置） ---------- */
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--gray-200, #e6e6e6);
  list-style: none;
}
.hero__proof li {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gray-600, #4a4a4a);
}
.hero__proof b {
  font-family: "Source Han Serif SC", "Noto Serif SC", serif;
  font-size: 17px;
  color: var(--gray-900, #1a1a1a);
  margin-right: 3px;
}
@media (max-width: 640px) {
  .hero__proof { gap: 8px 18px; }
  .hero__proof li { font-size: 12.5px; }
  .hero__proof b { font-size: 15px; }
}


/* ---------- 客户评价引号（补 tpl-quote 渲染缺陷） ----------
   引号放在视觉层而非正文里：静态烘焙页与 JS 渲染页因此完全一致，
   后台编辑评价正文时也不需要手动输入引号。 */
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }

/* ===== PIPL consent ===== */
.form__consent { margin-top: 14px; }
.form__consent .consent {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 12.5px; line-height: 1.7; color: var(--gray-500, #6e6e6e);
  cursor: pointer; font-weight: 400;
}
.form__consent .consent input[type="checkbox"] {
  flex: 0 0 auto; width: 15px; height: 15px; margin: 2px 0 0; padding: 0;
  accent-color: var(--brand, #e0792c); cursor: pointer;
}
.form__consent .consent a {
  color: var(--brand, #e0792c); text-decoration: underline; text-underline-offset: 2px;
}
.form__consent.is-error .consent { color: var(--danger, #c0392b); }
.form__note a {
  color: var(--brand, #e0792c); text-decoration: underline; text-underline-offset: 2px;
}

/* ===== 企业文化（about.culture）===== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
  margin-top: 32px;
}
.culture-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-200, #e6e6e6);
}
.culture-item__label {
  font-size: 12.5px;
  letter-spacing: .08em;
  color: var(--brand, #e0792c);
  font-weight: 600;
  margin-bottom: 7px;
}
.culture-item__value {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--gray-700, #4a4a4a);
}
.section--gray .culture-item { border-bottom-color: rgba(0,0,0,.08); }
@media (max-width: 720px) {
  .culture-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ===== 关于我们 · 页内导航（2026-10-09） ===== */
.about-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:28px 0 8px;
}
.about-nav a{
  display:inline-block;
  padding:9px 18px;
  font-size:13.5px;
  line-height:1;
  color:var(--gray-600);
  background:#f5f5f3;
  border:1px solid var(--gray-200);
  border-radius:2px;
  text-decoration:none;
  transition:color .2s ease,border-color .2s ease,background .2s ease;
}
.about-nav a:hover{
  color:var(--brand);
  border-color:var(--brand);
  background:#fff;
}
@media (max-width:720px){
  .about-nav{gap:8px;}
  .about-nav a{padding:8px 14px;font-size:13px;}
}
/* ===== 锚点定位补偿（避免被固定顶栏遮挡） ===== */
#culture,#highlights,#aicollab,#roadmap,#ecosystem,#team{scroll-margin-top:96px;}

/* ===== 博鲁德驾驶舱 · 顶部导航预留入口（2026-10-09 新增，勿删）===== */
.nav__cockpit{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:9px 15px;
  font-size:14px;
  line-height:1;
  white-space:nowrap;
  color:rgba(255,255,255,.88);
  border:1px solid rgba(255,255,255,.26);
  border-radius:999px;
  transition:color .2s ease,border-color .2s ease,background-color .2s ease;
}
.nav__cockpit:hover,
.nav__cockpit:focus-visible{
  color:#fff;
  border-color:var(--brand);
  background:rgba(224,121,44,.16);
}
.nav__cockpit-ico{flex:none;opacity:.92;}
@media (max-width:1180px){
  .nav__cockpit{padding:8px 12px;font-size:13px;gap:6px;}
  .nav__cockpit-ico{width:13px;height:13px;}
}
