/* ==========================================================
   加固工艺详情页（gy-*.asp）通用样式
   适用：包钢加固 / 植筋加固 / 碳纤维加固 / 粘钢加固
        增大截面加固 / 混凝土置换加固 / 裂缝修补加固 / 地基注浆加固
   说明：头部导航、页脚、右侧悬浮工具栏、在线留言弹窗样式已由
        bootstrap.min.css 末尾追加的 header.asp / footer.asp 专用样式处理，
        本文件不再重复定义。
   ========================================================== */

/* ===== 设计体系 ===== */
: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; }

/* 通用标题 */
.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;
}

/* 通用区块 */
.section { padding-block: 4.6rem; }
.section.paper { background: var(--paper); }

/* 滚动显现（已关闭：内容直接显示） */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
}

/* ===== 内页专用：加固工艺详情页 ===== */
.page-hero {
  position: relative; padding: 4rem 0 3.6rem; color: #fff; overflow: hidden; background: var(--navy-900);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14,31,74,.96) 0%, rgba(30,54,120,.86) 48%, rgba(42,69,144,.72) 100%),
    url("https://aka.doubaocdn.com/s/lcPNMTf3U4") center/cover no-repeat;
}
.page-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 15px, rgba(255,255,255,.025) 15px 16px);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; line-height: 1.25;
  letter-spacing: .01em; margin: 0 0 .8rem; text-shadow: 0 2px 16px rgba(0,0,0,.32);
}
.page-hero p {
  color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0 0 1.6rem; max-width: 820px; line-height: 1.8;
}
.page-hero .hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
@media (max-width: 575.98px) {
  .page-hero { padding: 2.6rem 0 2.4rem; }
  .page-hero h1 { font-size: 1.6rem; }
  .page-hero p { font-size: 1rem; margin-bottom: 1.2rem; }
  .page-hero .hero-cta .btn { font-size: .9rem; padding: .6rem 1.1rem; }
}

.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; }
}

/* ===== 详情正文（字号整体放大一档） ===== */
.detail-content { max-width: 960px; margin: 0 auto; }
.detail-content h2 {
  font-size: clamp(1.5rem, 2.7vw, 2rem); font-weight: 900;
  color: var(--navy-900); margin: 2.8rem 0 1.1rem; line-height: 1.35;
}
.detail-content h3 {
  font-size: 1.3rem; font-weight: 800; color: var(--navy-900);
  margin: 1.8rem 0 .8rem; line-height: 1.45;
}
.detail-content p { color: var(--muted); font-size: 1.06rem; line-height: 1.9; margin: 0 0 1.1rem; }
.detail-content ul { margin: 0 0 1.3rem; padding-left: 1.2rem; list-style: none; }
.detail-content ul li {
  position: relative; padding-left: 1.5em; margin-bottom: .6rem;
  font-size: 1.04rem; color: var(--text); line-height: 1.85;
}
.detail-content ul li::before {
  content: ""; position: absolute; left: 0; top: .68em;
  width: 7px; height: 7px; background: var(--accent); border-radius: 50%;
}
.detail-content .highlight-box {
  background: var(--accent-soft); border-left: 4px solid var(--accent);
  padding: 1.2rem 1.5rem; border-radius: 0 8px 8px 0; margin: 1.6rem 0;
}
.detail-content .highlight-box p { margin: 0; color: var(--navy-800); font-weight: 600; font-size: 1.08rem; }

/* 语义化分节 */
.detail-content > section { margin: 0; }
.detail-content > section:first-of-type > h2:first-child { margin-top: 0; }

/* 文章元信息 */
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem;
  font-size: .92rem; color: var(--muted); margin: 0 0 1.6rem;
  padding-bottom: 1rem; border-bottom: 1px dashed var(--line);
}
.article-meta b { color: var(--navy-900); font-weight: 800; }
.article-meta .dot-sep { color: #C7D0DA; }

/* GEO：一句话结论 */
.tldr {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: rgba(255,255,255,.94); border-radius: 12px;
  padding: 1.35rem 1.6rem; margin: 0 0 1.8rem;
  font-size: 1.1rem; line-height: 1.9; box-shadow: var(--shadow-sm);
}
.tldr .tldr-label {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .82rem; font-weight: 900; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: .5rem;
}
.tldr .tldr-label::before {
  content: ""; width: 18px; height: 5px; background: var(--accent); transform: skewX(-30deg);
}
.tldr p { margin: 0; color: rgba(255,255,255,.94); font-size: 1.1rem; line-height: 1.9; }
.tldr strong { color: var(--accent); font-weight: 800; }

/* GEO：核心信息速览 */
.quick-facts {
  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; margin: 0 0 2rem;
  box-shadow: var(--shadow-sm);
}
.quick-facts .qf-head {
  font-size: 1.15rem; font-weight: 900; color: var(--navy-900);
  margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem;
}
.quick-facts .qf-head::before {
  content: ""; width: 14px; height: 14px; background: var(--accent);
  transform: rotate(45deg); flex: 0 0 14px;
}
.qf-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 2rem; margin: 0; }
.qf-item { display: flex; gap: .5rem; font-size: 1.02rem; line-height: 1.75; }
.qf-item dt { flex: 0 0 auto; color: var(--navy-900); font-weight: 800; }
.qf-item dt::after { content: "："; }
.qf-item dd { margin: 0; color: var(--muted); }
@media (max-width: 767.98px) {
  .qf-list { grid-template-columns: 1fr; gap: .6rem; }
  .quick-facts { padding: 1.2rem 1.2rem; }
  .tldr { padding: 1.1rem 1.2rem; font-size: 1rem; }
  .tldr p { font-size: 1rem; }
}

/* 正文图片卡片 */
.content-img {
  margin: 1.8rem 0 2rem; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.content-img img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.content-img figcaption {
  padding: .7rem 1.1rem; font-size: .9rem; color: var(--muted);
  background: var(--paper); border-top: 1px solid var(--line); text-align: center;
}

/* 信息卡片 */
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 1.4rem 1.6rem; margin: 1.8rem 0; font-size: 1.02rem;
  line-height: 1.85; color: var(--text);
}
.info-card strong { color: var(--navy-900); font-weight: 800; }
.info-card .info-item { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .6rem; }
.info-card .info-item:last-child { margin-bottom: 0; }
.info-card .info-item .ic {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: .22em;
  color: var(--accent-dark); display: grid; place-items: center;
}

/* 数据表格（材料性能 / 对比 / 资质） */
.perf-table, .compare-table, .credential-table {
  width: 100%; border-collapse: collapse; margin: 1.4rem 0 1.8rem; font-size: 1rem;
}
.perf-table caption, .compare-table caption, .credential-table caption {
  caption-side: top; text-align: left; font-size: .9rem; color: var(--muted);
  padding-bottom: .6rem; font-weight: 600;
}
.perf-table th, .perf-table td,
.compare-table th, .compare-table td,
.credential-table th, .credential-table td {
  border: 1px solid var(--line); padding: .8rem 1.05rem; text-align: left; vertical-align: top; line-height: 1.7;
}
.perf-table th, .compare-table th, .credential-table th {
  background: var(--navy-900); color: #fff; font-weight: 700; font-size: .98rem;
}
.perf-table td, .compare-table td, .credential-table td { color: var(--muted); }
.perf-table tr:nth-child(even) td,
.compare-table tr:nth-child(even) td,
.credential-table tr:nth-child(even) td { background: var(--paper); }

/* 步骤列表 */
.step-list {
  counter-reset: step; list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: .9rem;
}
.step-list li {
  position: relative; padding: 1.1rem 1.3rem 1.1rem 3.9rem; background: var(--paper);
  border-radius: 10px; border: 1px solid var(--line); font-size: 1.04rem;
  line-height: 1.8; color: var(--text);
}
.step-list li::before {
  counter-increment: step; content: counter(step); position: absolute;
  left: 1.1rem; top: 1.05rem; width: 1.95rem; height: 1.95rem; background: var(--accent);
  color: #1E3678; font-weight: 900; font-size: .95rem; display: grid;
  place-items: center; border-radius: 50%;
}
.step-list li strong { color: var(--navy-900); }

/* FAQ 手风琴 */
.faq-list { margin: 1.4rem 0 1.8rem; display: grid; gap: .9rem; }
.faq-item {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  overflow: hidden; transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item.open { border-color: rgba(251,146,60,.45); box-shadow: 0 8px 22px rgba(14,31,74,.08); }
.faq-item .faq-q {
  width: 100%; display: flex; align-items: center; gap: .85rem; text-align: left;
  padding: 1.1rem 1.3rem; background: none; border: 0; font-size: 1.08rem;
  font-weight: 700; color: var(--navy-900); cursor: pointer; font-family: inherit;
  line-height: 1.6;
}
.faq-item .faq-q .qmark {
  width: 28px; height: 28px; flex: 0 0 28px; background: var(--accent-soft);
  color: var(--accent-dark); font-weight: 900; border-radius: 6px;
  display: grid; place-items: center; font-size: .95rem;
}
.faq-item .faq-q .chev { margin-left: auto; color: var(--muted); transition: transform .3s ease; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 1.3rem 1.25rem 3.9rem; color: var(--muted); font-size: 1rem; line-height: 1.85; display: none; }
.faq-a p { font-size: 1rem; margin: 0; }
.faq-item.open .faq-a { display: block; }

/* CTA 小横幅 */
.detail-cta {
  margin-top: 2.6rem; padding: 1.7rem 1.9rem; background: var(--navy-900);
  border-radius: 12px; color: #fff; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 1rem;
}
.detail-cta p { margin: 0; font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,.92); }
.detail-cta .btn-brand { flex: 0 0 auto; }

/* 服务流程时间线 */
.timeline { list-style: none; margin: 1.8rem 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 2px; background: var(--line);
}
.timeline li { position: relative; padding-left: 46px; margin-bottom: 1.5rem; }
.timeline li::before {
  content: ""; position: absolute; left: 8px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--accent);
}
.timeline li strong { display: block; font-size: 1.08rem; color: var(--navy-900); margin-bottom: .25rem; }
.timeline li p { margin: 0; font-size: .98rem; color: var(--muted); line-height: 1.75; }

/* 资质列表（正文资质保障小节） */
.credential-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 1.6rem;
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  list-style: none;
}
.credential-grid li {
  position: relative;
  padding: .85rem 1rem .85rem 2.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}
.credential-grid li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.15em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.credential-grid li b { color: var(--navy-900); font-weight: 800; }
@media (max-width: 767.98px) {
  .credential-grid { grid-template-columns: 1fr; gap: .6rem; }
  .credential-grid li { font-size: .95rem; padding: .75rem .9rem .75rem 2.3rem; }
}

@media (max-width: 767.98px) {
  .detail-content h2 { font-size: 1.32rem; }
  .detail-content h3 { font-size: 1.14rem; }
  .detail-content p { font-size: .98rem; }
  .detail-content ul li { font-size: .96rem; }
  .article-meta { font-size: .84rem; }
  .content-img img { aspect-ratio: 4/3; }
  .info-card { padding: 1.1rem 1.2rem; font-size: .95rem; }
  .step-list li { padding: .9rem 1.1rem .9rem 3.2rem; font-size: .96rem; }
  .step-list li::before { width: 1.6rem; height: 1.6rem; font-size: .82rem; left: .85rem; top: .85rem; }
  .perf-table, .compare-table, .credential-table { font-size: .88rem; }
  .perf-table th, .perf-table td, .compare-table th, .compare-table td,
  .credential-table th, .credential-table td { padding: .6rem .75rem; }
  .faq-item .faq-q { padding: .9rem 1.05rem; font-size: .98rem; }
  .faq-a { padding: 0 1.05rem 1rem 3rem; font-size: .92rem; }
  .faq-a p { font-size: .92rem; }
  .detail-cta { padding: 1.3rem 1.3rem; flex-direction: column; align-items: flex-start; }
  .detail-cta p { font-size: 1rem; }
  .detail-cta .btn-brand { width: 100%; text-align: center; }
  .timeline li { padding-left: 38px; }
  .timeline li::before { left: 6px; width: 14px; height: 14px; }
  .timeline li strong { font-size: 1rem; }
  .timeline li p { font-size: .9rem; }
}

/* ===== 详情页双栏布局 ===== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.8rem;
  align-items: start;
}
.detail-content { max-width: none; margin: 0; width: 100%; }

.detail-sidebar { position: sticky; top: 84px; }

.sidebar-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 1rem 0;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--accent);
  line-height: 1.3;
}

.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: #fff;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.02rem;
  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);
}

.sidebar-menu a.active {
  background: var(--navy-900);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30, 54, 120, 0.2);
}

.contact-box .btn-outline-brand:hover {
  background: var(--navy-900) !important;
  color: #fff !important;
  border-color: var(--navy-900) !important;
}

@media (max-width: 1199.98px) {
  .detail-layout { grid-template-columns: 1fr; gap: 2rem; }
  .detail-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    align-items: start;
  }
}
@media (max-width: 767.98px) {
  .detail-sidebar { grid-template-columns: 1fr; }
  .sidebar-title { font-size: 1.12rem; }
  .sidebar-menu a { font-size: .95rem; padding: .7rem .95rem; }
}

/* 底部 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; }
}