/* ==========================================================================
   建盈捌捌建站 · 页面附加样式（详情页 / 文章 / 资讯栅格 等）
   ========================================================================== */

/* 详情页大图横幅 */
.detail-banner { position: relative; border-radius: var(--r-xl); overflow: hidden; margin-bottom: 50px; box-shadow: var(--sh-md); }
.detail-banner img { width: 100%; height: 440px; object-fit: cover; }
.detail-banner .banner-cap { position: absolute; left: 0; bottom: 0; right: 0; padding: 32px 38px; background: linear-gradient(0deg, rgba(28,23,20,.88) 0%, transparent 100%); color: #fff; }
.detail-banner .banner-cap h2 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.detail-banner .banner-cap p { color: rgba(246,233,206,.82); font-size: 15px; }

/* 资讯列表页栅格 */
.news-page-grid { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.news-page-main .news-item { margin-bottom: 22px; }
.news-side .side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; margin-bottom: 26px; }
.news-side .side-card h4 { font-size: 17px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--cream-3); display: flex; align-items: center; gap: 10px; }
.news-side .side-card h4::before { content: ""; width: 5px; height: 18px; background: linear-gradient(180deg, var(--brass), var(--caramel-light)); border-radius: 3px; }

/* 文章详情排版 */
.article-wrap { background: var(--white); border-radius: var(--r-xl); padding: 52px 58px; border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 32px; }
.article-head h1 { font-size: 32px; line-height: 1.4; margin-bottom: 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; color: var(--muted); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-content { font-size: 16px; line-height: 2; color: var(--body); }
.article-content p { margin-bottom: 22px; }
.article-content h2 { font-size: 22px; margin: 36px 0 16px; padding-left: 14px; border-left: 4px solid var(--brass); }
.article-content h3 { font-size: 18px; margin: 28px 0 12px; }
.article-content img { border-radius: var(--r-md); margin: 24px 0; box-shadow: var(--sh-sm); }
.article-content ul, .article-content ol { margin: 0 0 22px 22px; }
.article-content ul li { margin-bottom: 8px; list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-foot { margin-top: 36px; padding-top: 26px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.article-tags a { display: inline-block; padding: 5px 14px; background: var(--cream-2); border-radius: var(--r-pill); font-size: 12.5px; color: var(--caramel); margin-right: 8px; }

/* 上一条/下一条导航 */
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.article-nav a { display: block; padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: all .3s ease; }
.article-nav a:hover { box-shadow: var(--sh-md); border-color: var(--caramel-light); }
.article-nav .an-label { font-size: 12px; color: var(--brass-deep); letter-spacing: 2px; font-family: var(--font-en); margin-bottom: 6px; }
.article-nav .an-title { font-size: 15px; color: var(--ink); font-weight: 600; }
.article-nav .an-next { text-align: right; }

/* 详情页通用：能力清单条 */
.ability-list { display: flex; flex-direction: column; gap: 18px; }
.ability-row { display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: start; padding: 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); transition: all .35s ease; }
.ability-row:hover { box-shadow: var(--sh-sm); border-color: var(--caramel-light); transform: translateX(6px); }
.ability-row .ab-no { font-size: 30px; font-family: var(--font-en); font-weight: 700; color: var(--brass); line-height: 1; }
.ability-row .ab-title { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.ability-row .ab-desc { font-size: 13.5px; color: (var(--muted)); color: var(--muted); line-height: 1.85; }

/* 流程时间轴（process 页，区别于 history timeline） */
.proc-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 30px; }
.proc-track::before { content: ""; position: absolute; left: 5%; right: 5%; top: 44px; height: 3px; background: linear-gradient(90deg, var(--brass), var(--caramel-light), var(--brass)); border-radius: 3px; }
.proc-node { text-align: center; position: relative; padding: 0 10px; }
.proc-node .pn-dot { width: 56px; height: 56px; margin: 16px auto 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--brass); display: flex; align-items: center; justify-content: center; font-size: 20px; font-family: var(--font-en); font-weight: 700; color: var(--caramel-deep); position: relative; z-index: 2; transition: all .4s ease; }
.proc-node:hover .pn-dot { background: linear-gradient(135deg, var(--caramel), var(--caramel-deep)); color: #fff; border-color: var(--caramel-deep); transform: scale(1.08); }
.proc-node h4 { font-size: 16px; margin-bottom: 6px; }
.proc-node p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* 双栏对照表 */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.compare-col { padding: 34px 30px; border-radius: var(--r-md); }
.compare-col.bad { background: var(--cream-2); border: 1px solid var(--line); }
.compare-col.good { background: linear-gradient(160deg, var(--caramel-deep), var(--caramel-ink)); color: var(--cream); }
.compare-col h4 { font-size: 20px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px dashed currentColor; }
.compare-col.good h4 { color: #fff; border-color: rgba(246,233,206,.25); }
.compare-col ul li { padding: 11px 0 11px 28px; font-size: 14px; position: relative; }
.compare-col.bad ul li::before { content: "✕"; position: absolute; left: 0; color: #b06a4a; font-weight: 700; }
.compare-col.good ul li { color: rgba(246,233,206,.9); }
.compare-col.good ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brass-light); font-weight: 700; }

/* 展示墙（showcase） */
.wall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.wall-item { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.wall-item.tall { grid-row: span 2; }
.wall-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wall-item:hover img { transform: scale(1.06); }
.wall-item .wi-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 24px; background: linear-gradient(0deg, rgba(28,23,20,.85) 0%, transparent 100%); color: #fff; }
.wall-item .wi-cap h4 { color: #fff; font-size: 17px; margin-bottom: 4px; }
.wall-item .wi-cap span { color: var(--brass-light); font-size: 12px; letter-spacing: 1px; }

/* 标签云 */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tag-cloud a { padding: 8px 18px; border-radius: var(--r-pill); background: var(--cream-2); border: 1px solid var(--line); font-size: 13px; color: var(--body); transition: all .3s ease; }
.tag-cloud a:hover { background: linear-gradient(135deg, var(--caramel), var(--caramel-deep)); color: #fff; border-color: transparent; }

/* 品牌实力指标 */
.brand-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pillar { padding: 32px 26px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brass); border-radius: var(--r-md); transition: all .4s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.pillar .p-num { font-size: 40px; font-family: var(--font-en); font-weight: 700; color: var(--caramel); line-height: 1; margin-bottom: 14px; }
.pillar h4 { font-size: 17px; margin-bottom: 8px; }
.pillar p { font-size: 13px; color: var(--muted); line-height: 1.8; }

/* 空白预留页（招商 / 方案专题） */
.placeholder-stage { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.placeholder-card { max-width: 640px; padding: 56px 48px; background: var(--white); border: 1px dashed var(--caramel-light); border-radius: var(--r-xl); position: relative; }
.placeholder-card::before, .placeholder-card::after { content: ""; position: absolute; width: 60px; height: 60px; border: 2px solid var(--brass); }
.placeholder-card::before { top: 14px; left: 14px; border-right: none; border-bottom: none; border-radius: var(--r-sm) 0 0 0; }
.placeholder-card::after { bottom: 14px; right: 14px; border-left: none; border-top: none; border-radius: 0 0 var(--r-sm) 0; }
.placeholder-card .ph-ico { width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: linear-gradient(135deg, var(--cream-2), var(--cream-3)); display: flex; align-items: center; justify-content: center; }
.placeholder-card h2 { font-size: 28px; margin-bottom: 14px; }
.placeholder-card p { color: var(--muted); margin-bottom: 26px; }

/* 合作伙伴 logo 墙 */
.partner-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.partner-cell { aspect-ratio: 3 / 2; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; padding: 18px; transition: all .3s ease; filter: grayscale(1); opacity: .7; }
.partner-cell:hover { filter: none; opacity: 1; box-shadow: var(--sh-sm); transform: translateY(-4px); }
.partner-cell img { max-height: 56px; width: auto; }

/* 技术能力条 */
.tech-list { display: flex; flex-direction: column; gap: 16px; }
.tech-bar { padding: 22px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); }
.tech-bar .tb-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.tech-bar .tb-name { font-size: 15px; font-weight: 600; color: var(--ink); }
.tech-bar .tb-pct { font-size: 14px; color: var(--brass-deep); font-family: var(--font-en); font-weight: 700; }
.tech-bar .tb-track { height: 8px; background: var(--cream-2); border-radius: 4px; overflow: hidden; }
.tech-bar .tb-fill { height: 100%; background: linear-gradient(90deg, var(--brass), var(--caramel)); border-radius: 4px; }

/* 响应式 */
@media (max-width: 1100px) {
  .proc-track { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
  .proc-track::before { display: none; }
  .brand-pillars { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 700px) {
  .article-wrap { padding: 30px 22px; }
  .article-head h1 { font-size: 22px; }
  .detail-banner img { height: 240px; }
  .detail-banner .banner-cap h2 { font-size: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .compare-grid { grid-template-columns: 1fr; }
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .wall-item.tall { grid-row: span 1; }
  .brand-pillars, .partner-grid { grid-template-columns: 1fr 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .ability-row { grid-template-columns: 1fr; gap: 8px; }
}
