/* ============================================================
   焕新层 refresh.css（2026-10-24）
   ------------------------------------------------------------
   加载顺序：style.css → custom.css → refresh.css（本文件最后）
   设计方向：「整木展厅 × 暖白画册」
   - 保留原有暖木奶油 × 香槟金基因，不引入新色系
   - 标题更大更紧、英文标签拉开字距，强化画册感
   - 卡片媒体优先：统一 4:3、发丝线、轻悬浮，拆掉白卡墙
   - 按钮由胶囊改为 8px 方角，建立建筑感与主次层级
   - 深胡桃锚点区块统一承载「为什么选细虎 + 数据」
   约束：只覆盖既有类，不改 HTML 结构；移动端优先降低页面长度。
   ============================================================ */

:root {
  /* 圆角收敛：16/12 → 12/8，卡片更利落；按钮单独用 8px */
  --xh-radius: 12px;
  --xh-radius-sm: 8px;
  /* 纸面与墨色：暖白画册底 + 更深的正文，提升长文可读性 */
  --xh-paper: #fffdf9;
  --xh-ink: #33291f;
  --xh-shadow: 0 2px 16px rgba(var(--xh-shadow-rgb), 0.07);
  --xh-shadow-hover: 0 14px 34px rgba(var(--xh-shadow-rgb), 0.14);
}

/* ---------- 全局节奏 ---------- */
body { color: var(--xh-ink); }

/* 桌面端放大区块呼吸感；移动端保持 48px 以内，避免页面继续变长 */
@media (min-width: 992px) {
  section { padding: 72px 0; }
  .brands { padding: 64px 0; }
  .cta { padding: 96px 0; }
}

:focus-visible {
  outline: 2px solid var(--xh-gold-deep);
  outline-offset: 3px;
}

/* ---------- 标题系统 ---------- */
.section-title { margin-bottom: 44px; }

.section-title h2 {
  font-size: clamp(26px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

/* 模板自带的 120px 灰线 + 3px 蓝条 → 一根 48px 金线，更克制 */
.section-title h2::before { display: none; }
.section-title h2::after {
  width: 48px;
  height: 2px;
  left: calc(50% - 24px);
  background: var(--xh-gold-deep);
}

.section-title p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--xh-muted);
}

.xh-section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.34em;
  color: var(--xh-gold-deep);
  margin-bottom: 10px;
}

/* 按钮统一方角（取消胶囊），主次靠底色而不是尺寸 */
.btn-case-more,
.btn-xh-primary,
.btn-xh-outline,
.btn-hero,
.cta .cta-btn,
.price-midcta-btns .btn-case-more,
.price-midcta-btns .btn-case-online {
  border-radius: 8px;
}

.btn-case-more {
  padding: 12px 30px;
  font-size: 15px;
  letter-spacing: 0.08em;
  border: 1px solid var(--xh-gold-deep);
  background: var(--xh-gold-deep);
  color: #fff;
}
.btn-case-more:hover {
  background: var(--xh-brown);
  border-color: var(--xh-brown);
  color: #fff;
  text-decoration: none;
}

.btn-xh-outline { border-width: 1px; }

/* ---------- 首屏 ---------- */
#home h1 {
  font-family: var(--xh-serif);
  font-size: clamp(30px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #f6e7cb;
  padding: 8px 20px;
  border: 1px solid rgba(var(--xh-gold-light-rgb), 0.34);
  border-radius: 2px;
  background: rgba(35, 27, 20, 0.68);
  backdrop-filter: blur(6px);
}

#home .hero-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 24px;
}

/* 首屏即时信任行：居然之家 / 质保 / 响应速度，落在 CTA 之前 */
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  padding: 0;
  margin: 0 0 30px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust i { font-size: 15px; color: var(--xh-gold-light); line-height: 1; }

.hero-btns .btn-hero {
  font-size: 15px;
  letter-spacing: 0.08em;
  padding: 14px 34px;
  border-radius: 8px;
  margin: 0 8px 12px;
}
.hero-btns .btn-primary-xh {
  background: var(--xh-gold-deep);
  box-shadow: 0 10px 26px rgba(var(--xh-brown-dark-rgb), 0.35);
}
.hero-btns .btn-outline-xh {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(var(--xh-brown-dark-rgb), 0.18);
}
.hero-btns .btn-outline-xh:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

@media (max-width: 575.98px) {
  .hero-eyebrow { font-size: 12.5px; letter-spacing: 0.1em; padding: 7px 15px; }
  .hero-trust { gap: 6px 16px; font-size: 12px; margin-bottom: 24px; }
  .hero-btns .btn-hero { width: 86%; padding: 13px 20px; }
}

/* ---------- 品牌背书：授权背书带（编号 + 品牌名 + 资质） ---------- */
.brands {
  background: var(--xh-bg-warm);
  border-top: 1px solid var(--xh-line);
  border-bottom: 0;
  padding: 60px 0 56px;
  scroll-margin-top: 84px;
}
.brands .section-title { margin-bottom: 38px; }

.brands .row { counter-reset: brand-index; }

.brand-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border: 0;
  border-left: 1px solid var(--xh-line);
  border-radius: 0;
  box-shadow: none;
  padding: 4px 30px;
  text-align: left;
  counter-increment: brand-index;
}
/* 编号：编辑式排列，给三列一个阅读次序 */
.brand-card::before {
  content: "0" counter(brand-index);
  font-family: var(--xh-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--xh-gold-deep);
  margin-bottom: 14px;
}
.brand-card:hover {
  transform: none;
  border-color: var(--xh-line);
  box-shadow: none;
}
.brands .row > div:first-child .brand-card {
  border-left: 0;
  padding-left: 2px;
}
.brand-card .brand-name {
  font-family: var(--xh-serif);
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}
.brand-card:hover .brand-name { color: var(--xh-gold-deep); }
.brand-card p {
  font-size: 14.5px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.brand-card .brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding: 0;
  background: transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--xh-gold-deep);
}
/* 金色菱形小标：比文字标签更克制，也避免中文字距拉太开 */
.brand-card .brand-tag::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--xh-gold-deep);
  transform: rotate(45deg);
}

/* 平板三列偏窄：收一档字号与内边距，避免品牌名折行 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .brand-card { padding: 4px 22px; }
  .brand-card .brand-name { font-size: 23px; }
}

@media (max-width: 767.98px) {
  .brands { padding: 44px 0 38px; }
  .brands .section-title { margin-bottom: 26px; }
  .brand-card {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    border-left: 0;
    border-top: 1px solid var(--xh-line);
    padding: 20px 2px 18px;
  }
  .brands .row > div:first-child .brand-card {
    border-top: 0;
    padding-top: 2px;
  }
  .brand-card::before {
    grid-row: 1 / span 3;
    margin: 5px 0 0;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  .brand-card .brand-name {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .brand-card p {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 12px;
  }
  .brand-card .brand-tag { font-size: 14px; }
}

/* ---------- 品类卡：媒体优先，去白卡 ---------- */
#main .cat-card .card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none !important;
}

#main .cat-card .card-img-top {
  border-radius: var(--xh-radius);
  filter: sepia(8%) saturate(105%);
}

#main .cat-card .card-body { padding: 16px 2px 0; }

#main .cat-card .card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--xh-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--xh-brown);
}
#main .cat-card .card-title i { font-size: 17px; color: var(--xh-gold-deep); }

#main .cat-card .cat-price-tag {
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--xh-muted);
}

#main .cat-card .card-text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--xh-muted);
  margin: 10px 0 14px;
}

#main .cat-card .cat-more {
  align-self: flex-start;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--xh-gold-deep);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

#main .cat-card:hover .card,
#main .cat-card:focus-visible .card {
  transform: none;
  box-shadow: none;
}
#main .cat-card:hover .card-title { color: var(--xh-gold-deep); }
#main .cat-card:hover .card-title i { color: var(--xh-brown); }

/* 手机端品类改 2 列紧凑目录：隐藏长描述，页长直接减半 */
@media (max-width: 575.98px) {
  #main > .bg-light > .container > .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.75rem;
  }
  #main > .bg-light > .container > .row.g-4 > [class*="col-"] { width: 50%; }

  #main .cat-card .card-title { font-size: 15px; gap: 5px; }
  #main .cat-card .card-title i { font-size: 14px; }
  /* 标题与计价方式改为上下两行：2 列窄卡里挤在同一行会显得局促 */
  #main .cat-card .card-body > .d-flex {
    display: block !important;
    margin-bottom: 8px !important;
  }
  #main .cat-card .cat-price-tag {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }
  #main .cat-card .card-text { display: none; }
  #main .cat-card .cat-more { margin-top: 12px !important; font-size: 12.5px; }

  /* 手机端副标题略收：避免词内断行（如「计价方 / 式」） */
  .section-title p { font-size: 15px; line-height: 1.75; }
}

/* ---------- 案例卡：图册感，去卡片壳 ---------- */
.case-card {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}
.case-card:hover {
  transform: none;
  box-shadow: none;
}

.case-cover { border-radius: var(--xh-radius); }

.case-badge {
  border-radius: 2px;
  background: rgba(var(--xh-brown-dark-rgb), 0.82);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 4px 9px;
}
.case-style {
  border-radius: 2px;
  background: var(--xh-gold-deep);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 4px 9px;
}

.case-body { padding: 14px 2px 0; }
.case-body h4 { font-size: 18px; margin-bottom: 4px; letter-spacing: 0.02em; }
.case-body p { font-size: 13px; line-height: 1.7; }

/* 手机端案例 2 列：图册式浏览，比单列省一半高度 */
@media (max-width: 575.98px) {
  .case-card-wrap { width: 50%; }
  .case-body h4 { font-size: 15px; }
  .case-body h4 i { font-size: 13px; }
  .case-body p {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .case-badge { display: none; }
  .case-style { font-size: 10px; padding: 3px 7px; bottom: 8px; right: 8px; }
}

/* ---------- 为什么选细虎：深胡桃锚点区块 ---------- */
.why.about {
  background:
    linear-gradient(155deg, #2c2219 0%, var(--xh-brown-dark) 55%, #46372b 100%);
}
.why.about .section-title h2 { color: #fff; }
.why.about .section-title h2::after { background: var(--xh-gold-light); }
.why.about .section-title p { color: rgba(255, 255, 255, 0.72); }
.why.about .xh-section-tag { color: var(--xh-gold-light); }

.why.about .row.g-4 { counter-reset: why-index; }

.why.about .why-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--xh-radius);
  padding: 30px 26px 28px;
  text-align: left;
  box-shadow: none;
  counter-increment: why-index;
}
.why.about .why-card:hover {
  transform: none;
  border-color: rgba(var(--xh-gold-light-rgb), 0.45);
  box-shadow: none;
}
.why.about .why-card i { display: none; }
.why.about .why-card::before {
  content: "0" counter(why-index);
  display: block;
  font-family: var(--xh-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--xh-gold-light);
  margin-bottom: 18px;
}
.why.about .why-card h4 {
  color: #fff;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.why.about .why-card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.9;
}
.why.about .why-card strong { color: var(--xh-gold-light); }

.why.about .bg-my {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--xh-radius) !important;
  margin-top: 28px !important;
  padding: 8px 6px !important;
}
.why.about .bg-my .xh-stats { border-top: 0; }
.why.about .xh-stat .num {
  font-family: var(--xh-serif);
  font-size: 40px;
  letter-spacing: 0.01em;
}
.why.about .xh-stat .label { color: rgba(255, 255, 255, 0.72); font-size: 13px; }

/* 该区块内的「了解细虎更多」按钮：深底上改用亮金实底 */
.why.about .btn-case-more {
  background: transparent;
  border-color: rgba(var(--xh-gold-light-rgb), 0.6);
  color: var(--xh-gold-light);
}
.why.about .btn-case-more:hover {
  background: var(--xh-gold-light);
  border-color: var(--xh-gold-light);
  color: var(--xh-brown-deeper);
}

/* ---------- CTA 横幅：四通道等权卡（电话 / 预约 / 微信 / 抖音） ----------
   设计意图：四种联系方式同权重呈现，不隐藏、不降级，用户一眼看到全部入口；
   主次只用「预约量尺」金色实底区分，卡片尺寸完全一致，避免把其他渠道做成弱化次级。
   结构约束：58 个页面的 CTA 复用同一套 .cta-btn 标记（1～4 枚不等），
   因此这里只做 CSS 覆盖，不改 HTML；渠道归因埋点在 main.js 统一处理。 */
.cta { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.cta h3 {
  font-family: var(--xh-serif);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.24;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.cta p {
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
}

.cta .cta-btn-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 900px;
  margin: 32px auto 0;
}

.cta .cta-btn {
  flex: 1 1 0;
  max-width: 210px;
  min-height: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  /* 清掉 style.css 遗留的 margin:10px —— 它与容器 gap 叠加曾导致手机端四个按钮各占一行 */
  margin: 0;
  padding: 16px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: normal;
  transition: border-color 0.25s, background 0.25s, color 0.25s;
}
/* 图标在上、文案在下：卡片式通道，触控面积更大，也便于四通道横向对齐 */
.cta .cta-btn i { font-size: 24px; line-height: 1; color: var(--xh-gold-light); }
.cta .cta-btn i.me-1 { margin-right: 0 !important; }
/* 渠道图标保留品牌色（微信绿 / 抖音白）：小面积图标色即可让用户不读文字就认出渠道，
   与移动底栏、案例页的微信绿约定一致；卡片描边与文案仍统一白色系，
   避免旧版「整按钮染色」（绿文字+绿描边）造成的四色噪音 */
.cta .cta-btn-wechat i { color: #07c160; }
.cta .cta-btn-douyin i { color: #fff; }
.cta .cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(var(--xh-gold-light-rgb), 0.75);
  color: #fff;
}
/* 预约量尺 = 全站主转化：亮金实底 + 深墨字，尺寸与其他通道一致 */
.cta .cta-btn.cta-btn-online {
  background: var(--xh-gold-light);
  border-color: var(--xh-gold-light);
  color: #2b2118;
  font-weight: 600;
}
.cta .cta-btn.cta-btn-online i { color: #2b2118; }
.cta .cta-btn.cta-btn-online:hover {
  background: #f0c974;
  border-color: #f0c974;
  color: #2b2118;
}
/* 平板：2×2 网格，四通道保持等宽 */
@media (min-width: 576px) and (max-width: 991.98px) {
  .cta .cta-btn-container { max-width: 560px; }
  .cta .cta-btn { flex: 1 1 calc(50% - 7px); max-width: none; min-height: 84px; }
  /* 平板也需避开 mobile-action-bar */
  .cta { padding-bottom: calc(72px + 56px + env(safe-area-inset-bottom, 0px)); }
}
/* 手机：2×2 网格；按钮紧凑化避免底部行文字被固定 mobile-action-bar 遮挡 */
@media (max-width: 575.98px) {
  .cta .cta-btn-container { gap: 10px; max-width: 380px; margin-top: 22px; }
  .cta .cta-btn {
    flex: 1 1 calc(50% - 5px);
    max-width: none;
    min-height: 64px;
    padding: 9px 6px;
    font-size: 13px;
    gap: 4px;
  }
  .cta .cta-btn i { font-size: 18px; }
  /* CTA 区块额外底部留白：按钮底部 → 固定 mobile-action-bar (~54px) → safe-area */
  .cta { padding-bottom: calc(72px + 56px + env(safe-area-inset-bottom, 0px)); }
}

/* ---------- 价格页：数字放大、口径说明提亮 ---------- */
.price-h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.price-lead {
  font-size: 16px;
  line-height: 1.8;
  max-width: 880px;
  margin-bottom: 32px;
}

.price-card {
  border-radius: var(--xh-radius);
  padding: 28px 26px 24px;
}
.price-card-total {
  background: var(--xh-paper);
  padding: 32px 24px 28px;
}
.price-card-total h5 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--xh-muted);
  margin-bottom: 16px;
}

/* 关键修复：custom.css 的 .price-card-total p（13px）优先级高于 .price-total-num，
   导致房型价格数字实际只有 13px。这里用同权重、后加载的规则把它拉回主视觉。 */
.price-card-total .price-total-num {
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--xh-brown);
  margin: 4px 0 16px;
}
.price-total-num .pt-label {
  display: block;
  font-family: var(--xh-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--xh-gold-deep);
  margin-bottom: 8px;
}
.price-total-num .pt-unit {
  font-family: var(--xh-sans);
  font-size: 0.42em;
  font-weight: 400;
  color: var(--xh-muted);
  margin-left: 3px;
}

.price-card-total .taocan-jinpai { font-size: 14px; line-height: 1.8; }

.price-note {
  font-size: 14px;
  line-height: 1.8;
  color: var(--xh-text);
  padding: 14px 18px;
}
.price-card-mini h5 { font-size: 15px; }
.price-card-mini p { font-size: 14px; line-height: 1.7; }
.price-card-trap p { font-size: 14px; }
.taocan-note { font-size: 14px; line-height: 1.7; }

.price-table { font-size: 14px; }
.price-table th,
.price-table td { padding: 14px 16px; }
.price-table th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--xh-bg-warm);
}
.price-table tbody tr:nth-child(even) td { background: #fdfaf5; }
.price-table tr.row-total td { background: var(--xh-gold-pale); }
.price-table tr.row-jinpai td { background: #fbf3e4; }

/* 价格页移动端压缩（≤576px）：17410px → 目标 ≤11000px
   全部 CSS 覆盖，不改 HTML 结构，避免破坏 head 里的 FAQPage JSON-LD。
   策略：表格 min-width 横滑代替换行 / 副标题隐藏 / 区块内边距收窄 / 长说明字号&边距收窄。 */
@media (max-width: 575.98px) {
  .price-section { padding: 36px 0 !important; }
  .price-h2 { font-size: 22px; margin-bottom: 8px; }
  /* 副标题隐藏：信息可从区块标题+表格/卡片直接获取，重复度高 */
  .price-lead { display: none; }

  /* 表格：强制 min-width 让浏览器横滑，避免文字换行撑高到 2–3 行/单元格
     6 个表格（分品类区间表 + 三笔账×3 + 避坑 + 板材）合计节省 ~3500px */
  .price-section .table-responsive { overflow-x: auto; }
  .price-section .table-responsive .price-table { min-width: 540px; }
  .price-table { font-size: 13px; }
  .price-table th, .price-table td { padding: 10px 12px; white-space: nowrap; }
  .price-table th small, .price-table td small { display: none; }

  /* 卡片内边距收窄 */
  .price-card { padding: 20px 16px 18px; }
  .price-card-total { padding: 24px 16px 22px; }
  .price-card-total .price-total-num { font-size: 30px; }

  /* 长说明段落收窄 */
  .price-note, .taocan-note {
    font-size: 12.5px; line-height: 1.65; padding: 10px 12px; margin-top: 12px;
  }
  .price-card-trap p, .price-card-mini p { font-size: 13px; line-height: 1.6; }

  /* 三笔账区块：标题字号收窄 + 表格间距收窄
     第二轮：表格进一步压缩（目标 2088 → ≤1600） */
  .taocan-block { margin-bottom: 14px; }
  .taocan-title { font-size: 14px; margin-bottom: 8px; padding-left: 0.1em; }
  .taocan-block .price-table th,
  .taocan-block .price-table td { padding: 8px 10px; font-size: 12.5px; }
  .taocan-block .price-table th { font-size: 12px; }
  .taocan-block .price-table td strong { font-size: 12.5px; }

  /* 避坑清单 / 承诺 / 到店区：移动端已经自动单列堆叠，
     压缩行间距与块内 padding 即可。第二轮更激进：price-checklist 双列改为单列后，
     8 条检查项占满一屏，需要更紧凑 */
  .price-checklist { padding-left: 16px; margin-bottom: 14px; }
  .price-checklist li { font-size: 12.5px; margin-bottom: 5px; line-height: 1.55; }
  .price-promise { padding: 14px 14px; margin-top: 14px; }
  .price-promise h4 { font-size: 14px; margin-bottom: 8px; }
  .price-promise p { font-size: 12.5px; line-height: 1.6; margin-bottom: 8px; }
  .price-promise .case-highlights li { font-size: 12.5px; margin-bottom: 5px; }
  .price-midcta { padding: 16px 14px; margin-top: 12px; }
  .price-midcta h4 { font-size: 14px; margin-bottom: 6px; }
  .price-midcta p { font-size: 12.5px; margin-bottom: 10px; }
  .store-h5 { font-size: 14px; margin-bottom: 8px; }
  .case-highlights li { font-size: 12.5px; line-height: 1.6; margin-bottom: 5px; }

  /* 分品类报价 mini 卡：9 张在手机上每卡独占一行，压缩 padding 可省 ~500px */
  .price-card-mini { padding: 16px 14px 14px; }
  .price-card-mini h5 { font-size: 14px; margin-bottom: 4px; }
  .price-card-mini p { font-size: 12.5px; line-height: 1.55; margin-bottom: 0; }

  /* trap 卡同样收窄：6 张卡省 ~300px */
  .price-card-trap { padding: 16px 14px 14px; }
  .price-card-trap h5 { font-size: 14px; margin-bottom: 6px; }
  .price-card-trap p { font-size: 12.5px; line-height: 1.55; }

  /* 总价卡 */
  .price-card-total .price-total-num { font-size: 28px; }
}

/* ---------- 页脚：暖深棕 + 金点缀（custom.css 已有基础，这里补焕新层） ---------- */
#footer {
  background: linear-gradient(180deg, #1f150d 0%, #2a1d12 100%);
  border-top: 1px solid rgba(226, 180, 92, 0.2);
  padding: 52px 0 28px;
}
#footer .footer-bottom { padding: 0; }
#footer .footer-info h3 {
  font-family: var(--xh-serif);
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: 10px;
}
#footer .footer-info p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 4px;
}
#footer .footer-info .footer-tel {
  color: var(--xh-gold-light);
  text-decoration: none;
  font-weight: 600;
}

/* 页脚四通道轻量入口：图标在上 / 文字在下，与 CTA 通道视觉呼应 */
.footer-convert { margin: 20px 0 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.footer-convert .fc-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer-convert .fc-link i { font-size: 16px; }
.footer-convert .fc-link:hover { color: var(--xh-gold-light); text-decoration: none; }
.footer-convert .fc-link.fc-wechat i { color: #07c160; }
.footer-convert .fc-link.fc-douyin i { color: #fff; }
.footer-convert .fc-dot { display: none; /* 响应式用 gap 替代中圆点，更整洁 */ }

#footer .footer-links { margin: 4px 0 14px; font-size: 12.5px; letter-spacing: 0.02em; }
#footer .footer-links a { color: rgba(255, 255, 255, 0.5); margin: 0 4px; }
#footer .footer-links a:hover { color: var(--xh-gold-light); text-decoration: none; }
#footer .footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.35); margin-top: 12px; }
#footer .row.text-center { margin-top: 10px; }
#footer .beian-sep { margin: 0 6px; opacity: 0.4; }

/* 页脚移动端：四通道自动两列排列 */
@media (max-width: 575.98px) {
  #footer { padding: 40px 0 22px; }
  .footer-convert { gap: 14px; }
  .footer-convert .fc-link { font-size: 12.5px; }
  .footer-links a { display: inline-block; margin: 0 3px; }
}

/* ---------- FAQ / 价格页 FAQ 手风琴：更精致的折叠反馈 ---------- */
.faq-item {
  border-radius: 10px;
  border-color: var(--xh-line);
  background: var(--xh-paper);
  transition: border-color 0.2s;
}
.faq-item:hover { border-color: var(--xh-gold-light); }
.faq-item summary {
  font-size: 15px;
  font-weight: 600;
  color: var(--xh-ink);
  padding: 16px 20px;
  transition: color 0.2s;
}
.faq-item:hover summary { color: var(--xh-gold-deep); }
.faq-item summary i { color: var(--xh-gold-deep); }
.faq-item summary::after {
  content: "\F4FE"; /* bi-chevron-down */
  font-family: "bootstrap-icons";
  font-size: 16px;
  margin-left: auto;
  color: var(--xh-gold-deep);
  transition: transform 0.28s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { color: var(--xh-gold-deep); border-bottom: 1px dashed var(--xh-line); background: var(--xh-gold-pale); }
.faq-answer {
  padding: 16px 20px 20px 42px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--xh-text);
}
.faq-answer p { margin-bottom: 8px; }
.faq-answer a { color: var(--xh-gold-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ==================== 移动端底部四键栏：图标+文字同一行（2026-10-26） ====================
   问题：原「图标在上、文字在下」纵向布局使底栏高达 58px，文字恰好落在屏幕最底部，
        被手机浏览器底部工具条/动态视口遮挡，表现为「只看到图标、看不到文字」，
        向下滚动到工具条收起后才看到文字。
   方案：改为横向单行（图标左、文字右），底栏总高压缩到 40px，文字距屏幕底部更远；
        文字改用显式 .mb-bar-label，避免 flex 容器中裸文本节点在部分浏览器被压缩/裁掉。 */
@media (max-width: 991px) {
  /* 显式声明 display，避免 custom.css 的 display:none 基础规则在某些级联顺序下胜出 */
  .mobile-action-bar { display: flex; min-height: 40px; }
  .mobile-action-bar a {
    display: flex;
    flex-direction: row;      /* 覆盖 custom.css 的 column */
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 40px;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0;        /* 4 键横排去掉字间距，避免挤压 */
    line-height: 1;
    white-space: nowrap;
  }
  .mobile-action-bar a i {
    font-size: 17px;
    line-height: 1;
    flex: 0 0 auto;
  }
  .mobile-action-bar .mb-bar-label {
    display: block;
    flex: 0 0 auto;
    font-size: 12px;
    line-height: 1.1;
  }
  /* 底栏变矮后，正文底部留白与回到顶部按钮同步下调 */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .back-to-top { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 359.98px) {
  .mobile-action-bar a { gap: 3px; font-size: 11px; }
  .mobile-action-bar a i { font-size: 15px; }
  .mobile-action-bar .mb-bar-label { font-size: 11px; }
}

/* ---------- 内页横幅 / 面包屑 ---------- */
.case-banner { padding: 150px 0 68px; }
.case-banner h1 {
  font-family: var(--xh-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.22;
  letter-spacing: 0.03em;
}
.case-banner p { font-size: 15px; line-height: 1.8; color: rgba(255, 255, 255, 0.78); }
.case-banner .case-banner-note {
  border-radius: 2px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}
.case-breadcrumb { letter-spacing: 0.06em; }

/* ---------- 关于页文化面板：轻量化 ---------- */
.culture-panel { background: var(--xh-paper); box-shadow: var(--xh-shadow); }

/* ---------- 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .case-card:hover .case-cover img,
  .cat-card:hover .card,
  .cat-card:hover .cat-more i { transform: none; transition: none; }
}
