/* ==================================================
   case-show.css
   案例详情页专用合并样式
   已包含：设计体系 / 通用标题 / 通用区块 / 面包屑 / 详情页双栏布局 / 案例网格 / 侧边栏 /
           滚动显现 / 底部 CTA / 案例详情页专用 / 大图轮播 / 案例正文 / 标签云 / 相关案例推荐
   注意：头部导航、页脚、右侧悬浮工具栏、在线留言弹窗的样式已由 bootstrap.min.css 提供，此处不再重复。
   ================================================== */

/* ==================================================
   1. 设计体系（变量 / 全局）
   ================================================== */
:root {
  --navy-950: #0E1F4A;
  --navy-900: #1E3678;
  --navy-800: #2A4590;
  --navy-700: #3654A8;

  --accent: #FB923C;
  --accent-dark: #EA7A1E;
  --accent-soft: #FFF2E8;

  --paper: #F5F7F9;
  --line: #E3E8ED;
  --text: #1F2A37;
  --muted: #5C6B7A;
  --white: #FFFFFF;
  --wechat: #07C160;
  --wechat-soft: #E6F8EE;

  --shadow-sm: 0 2px 10px rgba(14, 31, 74, .08);
  --shadow-md: 0 10px 30px rgba(14, 31, 74, .12);
  --radius: 12px;
  --container: 1500px;
  --nav-h: 64px;
  --nav-pad: 1.25rem;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
section[id], footer[id] { scroll-margin-top: 78px; }
img { max-width: 100%; }
.wrap { width: 92%; max-width: var(--container); margin: 0 auto; }

/* ==================================================
   2. 通用标题 / 按钮
   ================================================== */
.sec-head { max-width: 720px; margin-bottom: 2.6rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em;
  color: var(--accent-dark); text-transform: uppercase; margin-bottom: .7rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 6px; background: var(--accent);
  transform: skewX(-30deg);
}
.sec-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  font-weight: 900; color: var(--navy-900); letter-spacing: .01em; line-height: 1.3;
}
.sec-sub { color: var(--muted); margin-top: .7rem; font-size: 1.02rem; }

.btn-brand {
  --bs-btn-bg: var(--accent); --bs-btn-border-color: var(--accent);
  --bs-btn-hover-bg: var(--accent-dark); --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-color: #1E3678; --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--accent-dark); --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-active-color: #fff;
  font-weight: 700; border-radius: 6px; padding: .72rem 1.5rem;
}
.btn-outline-brand {
  --bs-btn-color: #fff; --bs-btn-border-color: rgba(255,255,255,.65);
  --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--navy-900);
  --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: #fff;
  --bs-btn-active-color: var(--navy-900);
  font-weight: 600; border-radius: 6px; padding: .72rem 1.5rem;
}
.btn-outline-nav {
  --bs-btn-color: var(--navy-800); --bs-btn-border-color: var(--navy-800);
  --bs-btn-hover-bg: var(--navy-800); --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: var(--navy-800);
  font-weight: 600; border-radius: 6px;
}

/* ==================================================
   4. 通用区块
   ================================================== */
.section { padding-block: 4.6rem; }
.section.paper { background: var(--paper); }

/* ==================================================
   5. 面包屑
   ================================================== */
.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--line); padding: .85rem 0; }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem;
  font-size: .9rem; color: var(--muted); margin: 0; list-style: none; padding: 0;
}
.breadcrumb a { color: var(--navy-800); text-decoration: none; font-weight: 500; transition: color .2s ease; }
.breadcrumb a:hover { color: var(--accent-dark); }
.breadcrumb .sep { color: #C7D0DA; }
.breadcrumb .cur { color: var(--accent-dark); font-weight: 700; }
@media (max-width: 575.98px) {
  .breadcrumb-bar { padding: .7rem 0; }
  .breadcrumb { font-size: .82rem; gap: .35rem; }
}

/* ==================================================
   6. 详情页双栏布局 + 正文
   ================================================== */
.news-layout {
  display: grid; grid-template-columns: 1fr 340px;
  gap: 2.8rem; align-items: start;
}

.article-content { min-width: 0; }
.article-header { margin: 0 0 1.6rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.article-header h1 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 900;
  color: var(--navy-900); line-height: 1.35; margin: 0; letter-spacing: .01em;
}
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem;
  font-size: .92rem; color: var(--muted);
}
.article-meta .m-item { display: inline-flex; align-items: center; gap: .35rem; }
.article-meta .m-item svg { color: var(--accent-dark); flex: 0 0 auto; }
.article-meta a { color: var(--navy-800); text-decoration: none; font-weight: 600; }
.article-meta a:hover { color: var(--accent-dark); }

.article-body { font-size: 1.08rem; line-height: 1.95; color: var(--text); }
.article-body p { margin: 0 0 1.15rem; color: var(--text); }
.article-body strong { color: var(--navy-900); font-weight: 800; }

/* 上下篇导航 */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.4rem 0 0; }
.post-nav a {
  display: block; padding: 1.1rem 1.3rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none;
  transition: all .25s ease;
}
.post-nav a:hover {
  border-color: rgba(251,146,60,.5); box-shadow: var(--shadow-sm); transform: translateY(-2px);
}
.post-nav .pn-label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .35rem; font-weight: 600; }
.post-nav .pn-title { display: block; font-size: .98rem; font-weight: 800; color: var(--navy-900); line-height: 1.5; }
.post-nav .pn-next { text-align: right; }
.post-nav .pn-disabled {
  background: var(--paper); border: 1px dashed var(--line);
  border-radius: 10px; padding: 1.1rem 1.3rem;
  opacity: .65; cursor: not-allowed;
}

/* 相关文章 / 相关案例 */
.related-section { margin-top: 2.6rem; }
.related-section h2 {
  font-size: 1.3rem; font-weight: 900; color: var(--navy-900);
  margin: 0 0 1.2rem; padding-left: 1rem; border-left: 5px solid var(--accent); line-height: 1.4;
}
.related-empty { color: var(--muted); font-size: .98rem; margin: 0; }
.related-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.related-list a {
  display: block; padding: 1rem 1.2rem; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; text-decoration: none;
  transition: all .25s ease;
}
.related-list a:hover {
  border-color: rgba(251,146,60,.5); box-shadow: var(--shadow-sm); transform: translateY(-2px);
}
.related-list .rl-title {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: .98rem; font-weight: 700;
  color: var(--navy-900); line-height: 1.55; margin-bottom: .4rem;
}
.related-list .rl-date { font-size: .82rem; color: var(--muted); }

/* 公司业务介绍（转化块） */
.company-intro {
  position: relative; margin: 2.6rem 0 0; padding: 2rem 2rem 1.8rem;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  border-radius: 12px; color: #fff; overflow: hidden; box-shadow: var(--shadow-md);
}
.company-intro::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255,255,255,.035) 26px 28px);
}
.company-intro .ci-inner { position: relative; z-index: 2; }
.company-intro .ci-eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 900; letter-spacing: .14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: .6rem;
}
.company-intro .ci-eyebrow::before {
  content: ""; width: 16px; height: 5px; background: var(--accent); transform: skewX(-30deg);
}
.company-intro h2 { font-size: 1.35rem; font-weight: 900; margin: 0 0 .8rem; color: #fff; line-height: 1.4; }
.company-intro h2 .hl { color: var(--accent); }
.company-intro p { font-size: .98rem; color: rgba(255,255,255,.82); line-height: 1.85; margin: 0 0 .8rem; }
.company-intro .ci-contact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem;
  padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14);
}
.company-intro .ci-tel {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: 1.5rem; font-weight: 900; color: var(--accent);
  text-decoration: none; letter-spacing: .02em; line-height: 1.2; transition: color .2s ease;
}
.company-intro .ci-tel:hover { color: #fff; }
.company-intro .ci-tel .ci-ic {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 50%;
  background: rgba(251,146,60,.15); display: grid; place-items: center;
}
.company-intro .ci-contact-text { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.6; }
.company-intro .ci-contact-text b { color: #fff; font-weight: 700; }

/* ==================================================
   7. 案例网格（详情页相关案例复用）
   ================================================== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; display: block; text-decoration: none; color: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover img { transform: scale(1.07); }
.case-mask {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(180deg, rgba(14,31,74,0) 35%, rgba(14,31,74,.88) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.35rem 1.35rem 1.2rem;
}
.case-tag {
  align-self: flex-start; background: var(--accent); color: #1E3678;
  font-size: .74rem; font-weight: 700; padding: .14rem .6rem;
  transform: skewX(-10deg); border-radius: 3px; margin-bottom: .6rem;
}
.case-mask h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: .25rem; }
.case-mask p { font-size: .85rem; color: rgba(255,255,255,.8); margin: 0; }

@media (max-width: 991.98px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
}
@media (max-width: 575.98px) {
  .case-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* ==================================================
   8. 侧边栏
   ================================================== */
.news-sidebar { position: sticky; top: 84px; }
.news-sidebar .sidebar-box {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.4rem; margin-bottom: 1.4rem; box-shadow: var(--shadow-sm);
}
.news-sidebar .sidebar-title {
  font-size: 1.1rem; font-weight: 900; color: var(--navy-900);
  margin: 0 0 1rem 0; padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent); line-height: 1.3;
}
.hot-list { list-style: none; padding: 0; margin: 0; }
.hot-list li { border-bottom: 1px solid var(--line); }
.hot-list li:last-child { border-bottom: 0; }
.hot-list a {
  display: block; padding: .9rem 0; color: var(--text); text-decoration: none;
  font-size: .96rem; font-weight: 500; line-height: 1.75; transition: color .2s ease;
}
.hot-list li:first-child a { padding-top: .2rem; }
.hot-list li:last-child a { padding-bottom: 0; }
.hot-list a:hover { color: var(--accent-dark); }
.hot-list .hot-date { display: block; margin-top: .3rem; font-size: .8rem; color: var(--muted); font-weight: 400; letter-spacing: .01em; }
.hot-list a:hover .hot-date { color: var(--accent-dark); }
.hot-empty { color: var(--muted); font-size: .92rem; }

.contact-box p { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; line-height: 1.75; }
.contact-box .btn-outline-brand {
  --bs-btn-color: var(--navy-900); --bs-btn-border-color: var(--line);
}
.contact-box .btn-outline-brand:hover {
  background: var(--navy-900) !important; color: #fff !important;
  border-color: var(--navy-900) !important;
}

.sidebar-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.sidebar-menu a {
  display: block; padding: 0.8rem 1.05rem; background: var(--paper);
  color: var(--text); text-decoration: none; border-radius: 8px;
  font-size: 1rem; font-weight: 500;
  transition: all 0.2s ease; border: 1px solid transparent;
}
.sidebar-menu a:hover {
  background: var(--accent-soft); color: var(--accent-dark); transform: translateX(4px);
}

@media (max-width: 1199.98px) {
  .news-layout { grid-template-columns: 1fr; gap: 2.2rem; }
  .news-sidebar {
    position: static; display: grid;
    grid-template-columns: 1fr 1fr; gap: 1.2rem; align-items: start;
  }
}
@media (max-width: 767.98px) {
  .news-sidebar { grid-template-columns: 1fr; }
  .article-body { font-size: 1rem; }
  .article-header h1 { font-size: 1.3rem; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav .pn-next { text-align: left; }
  .related-list { grid-template-columns: 1fr; }
  .company-intro { padding: 1.5rem 1.3rem 1.4rem; }
  .company-intro h2 { font-size: 1.18rem; }
  .company-intro .ci-tel { font-size: 1.3rem; }
}

/* ==================================================
   12. 滚动显现
   ================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* ==================================================
   13. 底部 CTA 横幅
   ================================================== */
.cta-band {
  position: relative; background: var(--navy-900); color: #fff;
  padding-block: 3.2rem; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 26px, rgba(255,255,255,.03) 26px 28px);
}
.cta-band .wrap {
  position: relative; z-index: 2; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.6rem;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); font-weight: 900; margin: 0 0 .45rem; line-height: 1.35; }
.cta-band h2 .hl { color: var(--accent); }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 991.98px) { .cta-band .wrap { flex-direction: column; align-items: flex-start; } }
@media (max-width: 575.98px) {
  .cta-band { padding-block: 2.4rem; }
  .cta-band .cta-actions { width: 100%; }
  .cta-band .cta-actions .btn { flex: 1 1 auto; font-size: .9rem; padding: .62rem 1.05rem; }
}

/* ==================================================
   14. 案例详情页专用
   ================================================== */

/* 案例顶部横幅（不含 H1） */
.case-detail-hero {
  position: relative;
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
  padding: 3.6rem 0 3.2rem;
}
.case-detail-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 130% at 88% 6%, rgba(251, 146, 60, .28) 0%, rgba(251, 146, 60, 0) 52%),
    radial-gradient(95% 115% at 6% 96%, rgba(54, 84, 168, .70) 0%, rgba(54, 84, 168, 0) 62%),
    linear-gradient(100deg, #0E1F4A 0%, #1E3678 46%, #2A4590 100%);
}
.case-detail-hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px, 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.12) 100%);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.12) 100%);
}
.case-detail-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 15px, rgba(255,255,255,.03) 15px 16px);
}
.case-detail-hero .wrap { position: relative; z-index: 2; }
.case-detail-hero-inner { max-width: 900px; }
.case-detail-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .16em;
  color: var(--accent); text-transform: uppercase;
  background: rgba(251,146,60,.12);
  border: 1px solid rgba(251,146,60,.4);
  padding: .4rem .9rem; border-radius: 4px; margin-bottom: .9rem;
}
.case-detail-eyebrow .dot { width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.case-detail-hero-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900; line-height: 1.3;
  letter-spacing: .01em; margin: 0 0 .8rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,.32);
}
.case-detail-hero-desc {
  font-size: .98rem;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  margin: 0;
  max-width: 780px;
}

@media (max-width: 767.98px) {
  .case-detail-hero { padding: 2.4rem 0 2rem; }
  .case-detail-hero-title { font-size: 1.3rem; }
  .case-detail-hero-desc { font-size: .9rem; line-height: 1.7; }
}

/* 项目主图（保留兼容，但不使用） */
.case-detail-figure {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}
.case-detail-figure img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.case-detail-figure figcaption {
  padding: .85rem 1.2rem;
  font-size: .9rem;
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* 项目信息卡片 */
.case-info-card {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
  border-radius: 12px;
  padding: 1.5rem 1.7rem 1.2rem;
  margin: 0 0 1.8rem;
  box-shadow: var(--shadow-sm);
}
.case-info-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: 1.15rem; font-weight: 900; color: var(--navy-900);
  margin: 0 0 1.1rem;
}
.case-info-title::before {
  content: ""; width: 14px; height: 14px; background: var(--accent);
  transform: rotate(45deg); flex: 0 0 14px;
}
.case-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 2rem;
  margin: 0;
}
.case-info-item {
  display: flex; align-items: baseline; gap: .6rem;
  padding: .55rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1rem; line-height: 1.7;
}
.case-info-item dt {
  flex: 0 0 5.6em;
  color: var(--muted); font-weight: 600;
  white-space: nowrap;              /* 桌面端也禁止换行 */
}
.case-info-item dt::after { content: "："; }
.case-info-item dd {
  margin: 0; color: var(--navy-900); font-weight: 700;
  flex: 1 1 auto; min-width: 0;
}
.case-info-item .case-info-tel {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
  transition: color .2s ease;
}
.case-info-item .case-info-tel:hover,
.case-info-item .case-info-tel:focus {
  color: var(--navy-900);
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .case-info-grid { grid-template-columns: 1fr; gap: .4rem; }
  .case-info-card { padding: 1.2rem 1.2rem 1rem; }
  .case-info-item { font-size: .9rem; }
  .case-info-item dt {
    flex: 0 0 auto;
    width: 5.6em;                   /* 标签列固定宽度，不换行 */
    white-space: nowrap;
  }
}

/* ==================================================
   15. 大图轮播（case-gallery）
   PC 端 800×600（4:3 比例），Pad 和手机自适应
   ================================================== */
.case-gallery {
  position: relative;
  max-width: 800px;              /* PC 端最大宽度 800px */
  margin: 0 auto 2rem;           /* 居中显示 */
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--paper);
  user-select: none;
  -webkit-user-select: none;
}
.case-gallery-track {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;           /* 800 × 600 = 4:3，Pad / 手机按宽度自动等比缩放 */
}
.case-gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
.case-gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.case-gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(0,0,0,.42);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background-color .2s ease, transform .2s ease;
}
.case-gallery-btn:hover {
  background: rgba(251,146,60,.92);
  color: #1E3678;
}
.case-gallery-prev { left: 14px; }
.case-gallery-next { right: 14px; }
.case-gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: .4rem;
  z-index: 3;
}
.case-gallery-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  padding: 0;
  transition: background-color .2s ease, transform .2s ease;
}
.case-gallery-dot.is-active {
  background: var(--accent);
  transform: scale(1.25);
}
.case-gallery-counter {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
  padding: .25rem .7rem;
  background: rgba(14,31,74,.72);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: .04em;
}

/* Pad：容器宽度 100%，保持 4:3 比例 */
@media (max-width: 991.98px) {
  .case-gallery {
    max-width: 100%;
  }
}

/* 手机：容器宽度 100%，圆角略小，按钮缩小 */
@media (max-width: 767.98px) {
  .case-gallery {
    max-width: 100%;
    border-radius: 10px;
  }
  .case-gallery-btn { width: 34px; height: 34px; }
  .case-gallery-prev { left: 8px; }
  .case-gallery-next { right: 8px; }
  .case-gallery-dots { bottom: 10px; }
  .case-gallery-dot { width: 7px; height: 7px; }
  .case-gallery-counter { right: 10px; top: 10px; font-size: .72rem; padding: .2rem .55rem; }
}

/* ==================================================
   16. 案例正文
   ================================================== */
.case-detail-body { font-size: 1.06rem; line-height: 1.9; }
.case-detail-body img {
  max-width: 100%; height: auto;
  border-radius: 10px; margin: 1rem auto;
  display: block;
  box-shadow: var(--shadow-sm);
}

/* ==================================================
   17. 加固工艺标签云（链接）
   ================================================== */
.case-tag-cloud {
  margin: 1.8rem 0 2rem;
  padding: 1.3rem 1.5rem 1.2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.case-tag-cloud-label {
  display: block;
  font-size: .86rem; font-weight: 800;
  color: var(--navy-900);
  letter-spacing: .05em;
  margin-bottom: .85rem;
  padding-left: .7rem;
  position: relative;
}
.case-tag-cloud-label::before {
  content: ""; position: absolute; left: 0; top: .18em;
  width: 5px; height: 1em; background: var(--accent);
  transform: skewX(-20deg); border-radius: 1px;
}
.case-tag-cloud-list { display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.case-tag-pill {
  display: inline-block;
  padding: .35rem .95rem;
  background: #fff;
  border: 1px solid rgba(251,146,60,.45);
  border-radius: 999px;
  font-size: .88rem;
  color: var(--accent-dark);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.case-tag-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #1E3678;
  transform: translateY(-2px);
}
@media (max-width: 575.98px) {
  .case-tag-cloud { padding: 1rem 1rem .9rem; }
  .case-tag-pill { font-size: .8rem; padding: .28rem .75rem; }
}

/* ==================================================
   18. 相关案例推荐（一行 4 个）
   ================================================== */
.related-section .case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.related-section .case-card {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}
.related-section .case-mask {
  padding: .95rem 1rem .9rem;
}
.related-section .case-mask h3 { font-size: .9rem; line-height: 1.35; margin-bottom: .15rem; }
.related-section .case-mask p { font-size: .74rem; line-height: 1.4; }
.related-section .case-tag { font-size: .66rem; padding: .1rem .5rem; margin-bottom: .4rem; }

@media (max-width: 1199.98px) {
  .related-section .case-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .related-section .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .related-section .case-mask h3 { font-size: .82rem; }
  .related-section .case-mask p { font-size: .68rem; }
}
@media (max-width: 575.98px) {
  .related-section .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}