/* =========================================================
   beautify.css — 云轩咨询官网 · 全站视觉升级层 (v3 · 2026.08)
   ---------------------------------------------------------
   设计理念: 「齐鲁智库 · 学术级工程咨询」
   · 保留品牌藏蓝(#1B3A6B) + 琥珀金(#F2C94C)
   · 标题升级为衬线字体, 呈现公文级专业气质
   · 统一卡片悬浮、按钮光泽、渐变细节
   · 新增: 阅读进度条 / 悬浮咨询栏 / 客户墙无缝滚动
   本文件加载于 style.css 之后, 只做增强与覆盖, 不删除任何功能
   ========================================================= */

/* ---------- 0. 设计令牌升级 ---------- */
:root {
  /* 标题衬线字体栈: 优先思源宋体, Windows 回退宋体, 最终回退雅黑 */
  --serif: "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", "Microsoft YaHei", serif;
  /* 渐变组合 */
  --grad-navy: linear-gradient(135deg, #1B3A6B, #2C5C95);
  --grad-gold: linear-gradient(90deg, #C9971C, #F2C94C);
  --shadow-soft: 0 6px 24px rgba(18, 41, 77, .10);
  --shadow-float: 0 22px 48px rgba(18, 41, 77, .18);
}

/* 文字选中效果 */
::selection { background: var(--navy); color: var(--gold-light); }

/* 全站滚动条 (WebKit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--navy-light), var(--navy));
  border-radius: 6px; border: 2px solid var(--paper);
}
::-webkit-scrollbar-thumb:hover { background: var(--navy); }

/* ---------- 1. 顶部阅读进度条 ---------- */
#scrollProgress {
  position: fixed; top: 0; left: 0; z-index: 1200;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold) 55%, var(--mint));
  box-shadow: 0 0 10px rgba(242, 201, 76, .55);
  pointer-events: none;
}

/* ---------- 2. 顶部信息条精修 ---------- */
.topbar {
  background: linear-gradient(90deg, #ECF2FA, #F4F8FD 55%, #ECF2FA);
  letter-spacing: .3px;
}
.topbar .tb-right i { color: var(--gold-dark); }

/* ---------- 3. 导航: 滚动收缩 + 玻璃拟态 ---------- */
.site-header { transition: background .35s ease, box-shadow .35s ease; }
.site-header .container { transition: height .35s ease; }
.brand-logo-img { transition: height .35s ease; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.main-nav a { transition: color .25s, border-color .25s, padding .35s ease; }

@media (min-width: 769px) {
  .site-header.scrolled {
    background: rgba(18, 41, 77, .93);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(10, 25, 50, .38);
  }
  .site-header.scrolled .container { height: 60px; }
  .site-header.scrolled .main-nav a { padding: 18px 16px; }
  .site-header.scrolled .brand-logo-img { height: 30px; }
}

/* ---------- 4. 首页 Hero 氛围增强 ---------- */
.hero-new {
  background:
    radial-gradient(900px 480px at 82% -12%, rgba(91, 155, 213, .30), transparent 62%),
    radial-gradient(720px 420px at 6% 112%, rgba(242, 201, 76, .12), transparent 60%),
    linear-gradient(135deg, #10254A 0%, #1B3A6B 55%, #2C5C95 100%);
}
/* 细网格质感 (以容器为定位基准, 径向淡出) */
.hero-new > .container::before {
  content: ""; position: absolute; inset: -92px -24px; z-index: -1;
  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: 54px 54px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
  pointer-events: none;
}
.hero-new .hn-left h1 { text-shadow: 0 3px 18px rgba(0, 0, 0, .28); }
.hero-new .hn-left .hn-sub { color: #A9D2F5; }
/* 地图底部光晕, 衬托热力图 */
.hn-map::before {
  content: ""; position: absolute; inset: 8% 4%; z-index: 0;
  background: radial-gradient(closest-side, rgba(91, 155, 213, .18), transparent 78%);
  filter: blur(6px); pointer-events: none;
}
.hn-map #shandongMap { position: relative; z-index: 1; }

/* ---------- 5. 内页横幅增强 ---------- */
.page-hero {
  background:
    radial-gradient(680px 320px at 88% -22%, rgba(91, 155, 213, .24), transparent 62%),
    radial-gradient(520px 280px at 4% 130%, rgba(242, 201, 76, .10), transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
}
.page-hero .container::before {
  content: ""; position: absolute; inset: -64px -24px; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
  mask-image: radial-gradient(closest-side, #000, transparent);
  pointer-events: none;
}
.page-hero h1 { letter-spacing: 4px; text-shadow: 0 2px 14px rgba(0, 0, 0, .25); }

/* ---------- 6. 章节标题精修 ---------- */
.section-head h2 { letter-spacing: 3px; }
.section-head .sh-line .l2 { border-radius: 2px; }
.section-head .sh-desc { letter-spacing: .5px; }

/* ---------- 7. 按钮: 光泽扫过 + 悬浮抬升 ---------- */
.btn { position: relative; overflow: hidden; font-weight: 600; }
.btn::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg); transition: left .65s ease; pointer-events: none;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { left: 135%; }
.btn-outline-navy:hover { box-shadow: 0 8px 22px rgba(27, 58, 107, .28); }
.btn-gold:hover { box-shadow: 0 10px 28px rgba(242, 201, 76, .45); }

/* 提交 / CTA 按钮同样获得光泽与抬升 */
.form-submit, .cta-banner .cta-btn { position: relative; overflow: hidden; }
.form-submit::after, .cta-banner .cta-btn::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .65s ease; pointer-events: none;
}
.form-submit:hover::after, .cta-banner .cta-btn:hover::after { left: 135%; }
.form-submit {
  background: var(--grad-navy); border-color: transparent; font-weight: 600;
  box-shadow: 0 8px 22px rgba(27, 58, 107, .28);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(27, 58, 107, .38); }

/* ---------- 8. 卡片体系统一 ---------- */
/* 服务卡: 顶部饰线改金青渐变, 图标悬浮渐变底 */
.service-card { border-radius: 18px; }
.service-card::before { background: var(--grad-gold); }
.service-card:hover .sc-icon {
  background: var(--grad-navy); color: #fff; border-color: transparent;
  box-shadow: 0 8px 20px rgba(27, 58, 107, .3);
}

/* 案例卡: 封面图缓慢呼吸, 标签金色描边 */
.case-card { border-radius: 18px; }
.case-body .cb-tag {
  background: var(--gold-soft); border-color: rgba(201, 151, 28, .45); color: var(--gold-dark);
}

/* 美德 / 流程卡: 图标圆角化 */
.virtue-item { border-radius: 18px; }
.virtue-item .vi-icon { border-radius: 14px; transition: all .3s; }
.virtue-item:hover .vi-icon {
  background: var(--grad-navy); color: var(--gold); border-color: transparent;
  box-shadow: 0 8px 20px rgba(27, 58, 107, .28);
}

/* 资质卡 / 价值卡 / 亮点卡 / 统计卡 悬浮统一 */
.qual-card, .value-card, .ap-card, .ss-card, .sys-card { border-radius: 18px; }
.qual-card:hover, .value-card:hover, .ss-card:hover {
  box-shadow: var(--shadow-float);
}

/* 数字渐变文字 (业绩成果统计条) */
.stat-strip .ss-num {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 9. 新闻 / 公告列表 ---------- */
.article-list { border-radius: 22px; box-shadow: var(--shadow-soft); }
.article-item { position: relative; }
.article-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--mint));
  opacity: 0; transition: opacity .25s;
}
.article-item:hover { background: linear-gradient(90deg, rgba(232, 240, 250, .75), var(--paper) 45%); }
.article-item:hover::before { opacity: 1; }
.article-item .ai-date { border-radius: 12px; background: var(--paper); }

/* 首页双栏迷你列表 */
.news-mini-list li { border-radius: 10px; transition: background .25s, padding .25s, margin .25s; }
.news-mini-list li:hover { background: var(--paper); padding-left: 10px; padding-right: 10px; margin: 0 -10px; }

/* 筛选标签组 */
.filter-tabs { border-radius: 14px; box-shadow: var(--shadow-soft); }
.filter-tabs button.active {
  background: var(--grad-navy); color: var(--gold);
  box-shadow: inset 0 -2px 0 rgba(242, 201, 76, .55);
}

/* 分页 */
.pagination button { border-radius: 12px; }
.pagination button.active { background: var(--grad-navy); border-color: transparent; box-shadow: 0 6px 16px rgba(27, 58, 107, .3); }
.pagination button:hover:not(:disabled):not(.active) { transform: translateY(-2px); }

/* 侧栏卡片 */
.news-side .side-card { border-radius: 18px; box-shadow: var(--shadow-soft); }
.side-cats a { transition: all .25s; }
.side-cats a:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(27, 58, 107, .22); }

/* ---------- 10. 详情页排版 ---------- */
.detail-wrap { border-radius: 24px; box-shadow: 0 18px 56px rgba(14, 34, 55, .10); }

/* 详情页操作栏: 打印 / 复制链接 */
.detail-actions { display: flex; gap: 10px; margin-top: 16px; }
.da-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; font-size: 13px; letter-spacing: 1px;
  color: var(--navy); background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px;
  cursor: pointer; font-family: var(--sans); transition: all .25s;
}
.da-btn:hover {
  background: var(--navy); color: var(--gold); border-color: var(--navy);
  transform: translateY(-2px); box-shadow: 0 6px 16px rgba(27, 58, 107, .28);
}
.da-btn i { font-size: 12px; }

/* 公告页打印按钮 */
.ann-print-btn { margin-right: 6px; }
.detail-body h2 { border-left: none; padding-left: 16px; position: relative; }
.detail-body h2::before {
  content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px;
  border-radius: 2px; background: var(--grad-gold);
}
.detail-body blockquote { border-radius: 0 14px 14px 0; }
.detail-nav a { border-radius: 16px; }

/* ---------- 11. 联系我们表单 ---------- */
.contact-form { border-radius: 22px; box-shadow: var(--shadow-soft); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 201, 76, .16);
}
.contact-info .ci-icon { box-shadow: 0 8px 20px rgba(27, 58, 107, .28); }

/* ---------- 12. 客户墙: 无缝自动滚动 ---------- */
.client-marquee {
  overflow: hidden; flex-wrap: nowrap; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.cm-track {
  display: flex; width: max-content;
  animation: cm-scroll 46s linear infinite;
}
.cm-group { display: flex; align-items: center; gap: 22px; padding-right: 22px; flex-shrink: 0; }
.client-marquee:hover .cm-track { animation-play-state: paused; }
@keyframes cm-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client-grid img { border-radius: 10px; }

/* ---------- 13. CTA 横幅 ---------- */
.cta-banner { border-radius: 26px; }
.cta-banner::after {
  content: ""; position: absolute; left: -80px; bottom: -100px;
  width: 240px; height: 240px; border-radius: 50%;
  border: 1.5px solid rgba(242, 201, 76, .16); pointer-events: none;
}

/* ---------- 14. 发展历程时间线 ---------- */
.timeline::before { background: linear-gradient(180deg, var(--mint), var(--line)); }
.tl-item::before { transition: box-shadow .3s; }
.tl-item:hover::before { box-shadow: 0 0 0 7px rgba(91, 155, 213, .16); }

/* ---------- 15. 页脚精修 ---------- */
.site-footer {
  background:
    radial-gradient(640px 260px at 90% 0%, rgba(91, 155, 213, .10), transparent 65%),
    var(--navy-dark);
}
.footer-main a { display: inline-block; transition: color .25s, transform .25s; }
.footer-main a:hover { transform: translateX(4px); }
.footer-bottom { letter-spacing: .5px; }

/* ---------- 16. 悬浮咨询栏 (新功能) ---------- */
.float-consult {
  position: fixed; right: 28px; bottom: 96px; z-index: 997;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .35s ease;
}
.float-consult.show { opacity: 1; visibility: visible; transform: none; }
.fc-item {
  width: 46px; height: 46px; border-radius: 14px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow); color: var(--navy); font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  position: relative; transition: all .3s;
}
.fc-item:hover {
  background: var(--grad-navy); color: var(--gold);
  border-color: transparent; transform: translateY(-3px);
  box-shadow: var(--shadow-float);
}
/* 悬浮提示气泡 */
.fc-item::after {
  content: attr(data-tip);
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .5px;
  padding: 6px 12px; border-radius: 8px; white-space: nowrap;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: all .25s ease;
}
.fc-item:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* ---------- 17. 返回顶部升级 ---------- */
.back-top {
  background: var(--grad-navy); border-color: rgba(242, 201, 76, .65);
  box-shadow: 0 8px 22px rgba(18, 41, 77, .32); border-radius: 14px;
}
.back-top:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(18, 41, 77, .42); }

/* ---------- 18. 业绩成果表格微调 ---------- */
.achv-table { box-shadow: var(--shadow-soft); }
.achv-summary-chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---------- 19. 响应式补充 ---------- */
@media (max-width: 768px) {
  .float-consult { right: 14px; bottom: 84px; }
  .fc-item { width: 42px; height: 42px; }
  .fc-item::after { display: none; }
  /* 客户墙小屏退回静态换行布局 */
  .client-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .cm-track { width: 100%; animation: none; flex-wrap: wrap; justify-content: center; gap: 22px; }
  .cm-group { padding-right: 0; flex-wrap: wrap; justify-content: center; }
  .cm-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 480px) {
  .fc-item.hide-xs { display: none; }
  .section { padding: 48px 0; }
  .container { padding: 0 18px; }
}

/* ---------- 20. 减少动态效果偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  .cm-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .cm-group[aria-hidden="true"] { display: none; }
  .btn::after, .form-submit::after, .cta-banner .cta-btn::after { display: none; }
  #scrollProgress { transition: none; }
}

/* ---------- 21. 打印优化 (新闻/公告详情可直接打印) ---------- */
@media print {
  .topbar, .site-header, .site-footer, .back-top,
  .float-consult, #scrollProgress, .cta-banner, .detail-nav { display: none !important; }
  body { background: #fff; }
  .detail-wrap { box-shadow: none; border: none; padding: 0; }
}
