/* officeWeb 前台默认主题样式（响应式，高端企业风） */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-gray: #f6f8fb;
  --dark: #0b1220;
  --dark-2: #111a2e;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部信息条 ---------- */
.topbar { background: var(--dark); color: #94a3b8; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 18px; }
@media (max-width: 768px) { .topbar-time { display: none; } }

/* ---------- 头部与导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; height: 64px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 38px; width: auto; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 8px; display: inline-block;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}
.logo-text { font-size: 19px; font-weight: 700; color: var(--ink); letter-spacing: 0.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: min(32vw, 300px); }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 6px 16px; font-size: 15px; color: var(--ink);
  border-radius: 6px; font-weight: 500; white-space: nowrap;
}
.nav-item > a:hover { color: var(--primary); background: #eff6ff; }
.nav-item.active > a { color: #fff; background: var(--primary); }

.subnav {
  position: absolute; top: 100%; left: 0; min-width: 160px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: 6px; display: none;
}
.nav-item:hover .subnav { display: block; }
.subnav a { display: block; padding: 8px 14px; border-radius: 6px; font-size: 14px; }
.subnav a:hover { background: #eff6ff; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; position: relative; z-index: 101; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; transition: transform 0.25s, opacity 0.25s; }
/* 展开态：汉堡→叉 */
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* 菜单展开时的半透明遮罩（点击关闭） */
.nav-overlay { display: none; }

@media (max-width: 992px) {
  /* 移动端禁用毛玻璃：backdrop-filter 会成为 fixed 后代（.nav-overlay）的包含块，
     把全屏遮罩压缩成 header 高的64px条；改用不透明白底无视觉损失 */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  /* 注意：不能用 position:fixed —— 父级 .site-header 的 backdrop-filter 会成为
     fixed 后代的包含块，导致面板相对 64px 高的 header 定位而高度塌缩（菜单被遮掩）。
     改用 absolute 相对 header 下拉，sticky 滚动时天然跟随。 */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    background: #fff; padding: 12px;
    max-height: calc(100vh - 100px); overflow-y: auto;
    border-top: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(15, 30, 61, 0.12);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: translateY(0); }
  body.nav-open .nav-overlay {
    display: block; position: fixed; inset: 0; z-index: 98;
    background: rgba(15, 30, 61, 0.4);
  }
  .nav > ul { flex-direction: column; gap: 2px; }
  .nav-item > a { padding: 12px 14px; }
  .subnav { position: static; display: block; border: none; box-shadow: none; padding-left: 14px; }
  .nav-toggle { display: block; margin-left: auto; }
}

/* ---------- Banner ---------- */
.block-banner { position: relative; }
.banner-swiper { position: relative; height: 520px; overflow: hidden; background: var(--dark); }
.banner-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; }
.banner-slide.active { opacity: 1; z-index: 2; }
.slide-link { display: block; height: 100%; }
.slide-img { width: 100%; height: 100%; object-fit: cover; }
.banner-caption {
  position: absolute; left: 0; right: 0; bottom: 72px; color: #fff;
}
.banner-caption h2 { font-size: 38px; color: #fff; margin-bottom: 10px; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.banner-caption p { font-size: 17px; color: #e2e8f0; max-width: 640px; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }
.banner-dots { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.banner-dots .dot {
  width: 26px; height: 4px; border-radius: 2px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.4); transition: background 0.2s;
}
.banner-dots .dot.active { background: #fff; }

.banner-fallback {
  min-height: 460px; display: flex; align-items: center; color: #fff;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(37, 99, 235, 0.5), transparent 55%),
    radial-gradient(ellipse at 85% 75%, rgba(14, 165, 233, 0.35), transparent 55%),
    linear-gradient(160deg, #0b1220 0%, #101c36 100%);
}
.fallback-title { font-size: 44px; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 1px; }
.fallback-desc { font-size: 17px; color: #94a3b8; margin-bottom: 30px; }
.fallback-actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 768px) {
  .banner-swiper { height: 380px; }
  .banner-caption h2, .fallback-title { font-size: 27px; }
  .banner-caption { bottom: 48px; }
  .banner-fallback { min-height: 360px; }
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 22px; border-radius: 8px; border: 1px solid transparent;
  font-size: 15px; cursor: pointer; transition: all 0.2s; font-weight: 500;
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.btn-lg { padding: 12px 30px; font-size: 16px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn.loading { opacity: 0.7; pointer-events: none; }

/* ---------- 通用 section ---------- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: 30px; margin-bottom: 10px; }
.section-head p { color: var(--muted); font-size: 15px; }
.section-dark { background: var(--dark); }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #94a3b8; }
.section-dark .card { background: var(--dark-2); border-color: #1e293b; }
.section-dark .card h3 a { color: #f1f5f9; }
.section-dark .card p { color: #94a3b8; }
@media (max-width: 768px) { .section { padding: 46px 0; } }

/* ---------- 优势 ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.advantage-item {
  background: var(--bg-gray); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid var(--line); transition: all 0.25s;
}
.advantage-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c7d7f5; background: #fff; }
.advantage-icon {
  width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary)); color: #fff;
  font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.advantage-item h3 { font-size: 17px; margin-bottom: 8px; }
.advantage-item p { color: var(--muted); font-size: 14px; }
@media (max-width: 992px) { .advantage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .advantage-grid { grid-template-columns: 1fr; } }

/* ---------- 数据指标 ---------- */
.block-stats { background: linear-gradient(135deg, #0f1e3d, #14264d); padding: 54px 0; }
.stats-title { text-align: center; color: #fff; margin-bottom: 30px; font-size: 22px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-value { font-size: 34px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.stats-label { color: #8fa8ce; font-size: 14px; margin-top: 6px; }
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; } .stats-value { font-size: 26px; } }

/* ---------- 卡片网格 ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-cover { display: block; height: 168px; overflow: hidden; background: #eef2f9; }
.card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.card:hover .card-cover img { transform: scale(1.05); }
.cover-placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  background: linear-gradient(135deg, #e0e9fb, #c7d7f5); color: #3b5aa0;
  font-size: 17px; font-weight: 600; letter-spacing: 2px;
}
.card-body { padding: 18px 18px 20px; }
.card-body h3 { font-size: 16px; margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { color: #dc2626; font-weight: 700; margin-top: 10px; font-size: 16px; }
@media (max-width: 992px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .card-grid.cols-4, .card-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- 新闻列表 ---------- */
.news-list { max-width: 880px; margin: 0 auto; }
.news-item {
  display: flex; align-items: center; gap: 20px; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px;
  transition: all 0.2s; background: #fff;
}
.news-item:hover { border-color: #c7d7f5; box-shadow: var(--shadow); }
.news-date { flex-shrink: 0; text-align: center; color: var(--muted); font-size: 13px; }
.news-body { flex: 1; min-width: 0; }
.news-body h3 { font-size: 16px; margin-bottom: 4px; }
.news-body p { color: var(--muted); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.news-arrow { color: var(--primary); font-size: 18px; }

/* ---------- 合作伙伴 ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.partner-item {
  display: flex; align-items: center; justify-content: center; height: 76px;
  border: 1px solid var(--line); border-radius: 8px; color: var(--muted);
  font-size: 14px; background: #fff; padding: 10px;
}
.partner-item img { max-height: 44px; width: auto; filter: grayscale(1); transition: filter 0.2s; }
.partner-item:hover img { filter: none; }
@media (max-width: 992px) { .partner-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .partner-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA ---------- */
.block-cta {
  background: linear-gradient(120deg, var(--primary-dark), #0ea5e9);
  background-size: cover; background-position: center; padding: 56px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-text h2 { color: #fff; font-size: 28px; margin-bottom: 6px; }
.cta-text p { color: #dbeafe; }
.block-cta .btn-primary { background: #fff; color: var(--primary-dark); border-color: #fff; }
.block-cta .btn-primary:hover { background: #eff6ff; }

/* ---------- 招商页 ---------- */
.join-intro-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center;
  padding: 64px 0;
}
.join-intro-text h2 { font-size: 34px; margin-bottom: 16px; }
.join-intro-text p { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.join-intro-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.join-intro-image img { border-radius: 12px; box-shadow: var(--shadow); }
@media (max-width: 992px) { .join-intro-inner { grid-template-columns: 1fr; padding: 40px 0; } .join-intro-text h2 { font-size: 26px; } }

.flow-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.flow-step { text-align: center; }
.flow-num {
  width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.18); border: 1px solid var(--primary-light);
  color: var(--primary-light); font-weight: 700; font-size: 18px;
}
.flow-name { color: #cbd5e1; font-size: 14px; }
@media (max-width: 992px) { .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (max-width: 576px) { .flow-steps { grid-template-columns: repeat(2, 1fr); } }

.region-notice {
  text-align: center; background: var(--bg-gray); border: 1px dashed #c7d7f5;
  border-radius: var(--radius); padding: 28px; color: var(--text);
}
.region-notice b { color: var(--primary); }

/* 招商区域名额网格 */
.region-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.region-item {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; transition: all 0.2s;
}
.region-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.region-item.region-joined { background: var(--bg-gray); border-style: dashed; }
.region-item.region-protect { background: #fef9ee; border-color: #f3dfb0; }
.region-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.region-name { font-weight: 600; color: var(--ink); font-size: 15px; }
.region-badge {
  font-size: 12px; padding: 1px 8px; border-radius: 20px;
  color: #059669; background: #ecfdf5; border: 1px solid #a7f3d0;
}
.region-joined .region-badge { color: #6b7280; background: #f3f4f6; border-color: #e5e7eb; }
.region-protect .region-badge { color: #b45309; background: #fffbeb; border-color: #fde68a; }
.region-progress {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border: none; border-radius: 3px;
  background: #e5ebf5; overflow: hidden; display: block;
}
.region-progress::-webkit-progress-bar { background: #e5ebf5; }
.region-progress::-webkit-progress-value { background: linear-gradient(90deg, var(--primary-light), var(--primary)); }
.region-progress::-moz-progress-bar { background: var(--primary); }
.region-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 8px; font-size: 12.5px; color: var(--muted);
}
.region-foot b { color: var(--primary); }
.region-apply { color: var(--primary); }
.region-apply:hover { text-decoration: underline; }
.region-tip { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
.region-tip b { color: var(--primary); }
@media (max-width: 992px) { .region-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 576px) { .region-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 表单 ---------- */
.form-box {
  max-width: 760px; margin: 36px auto 0; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 30px 32px;
  box-shadow: var(--shadow);
}
.form-title { font-size: 20px; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.form-item label i { color: #dc2626; font-style: normal; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; padding: 10px 13px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--ink);
  background: #fff; transition: border-color 0.2s;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.form-row-captcha { grid-template-columns: 1fr auto; align-items: end; }
.captcha-box { margin-bottom: 16px; }
.captcha-box img { height: 40px; border-radius: 6px; cursor: pointer; border: 1px solid var(--line); }
@media (max-width: 768px) { .form-row { grid-template-columns: 1fr; gap: 0; } .form-box { padding: 22px; } }

/* ---------- 页面主体 / 列表页 ---------- */
.page-hero {
  background: linear-gradient(120deg, #0f1e3d, #1b3563);
  padding: 56px 0; color: #fff;
  background-size: cover; background-position: center;
}
.page-hero.has-image { position: relative; }
.page-hero.has-image::before {
  content: ''; position: absolute; inset: 0; background: rgba(10, 18, 38, 0.6);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: 30px; margin-bottom: 8px; }
.page-hero p { color: #a8bcdd; max-width: 720px; }
.page-main { padding: 34px 0 64px; }

.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 26px; flex-wrap: wrap; }
.breadcrumb .sep { color: #cbd5e1; font-style: normal; }

.list-grid { display: grid; gap: 22px; }
.list-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.list-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all 0.25s; }
.list-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.item-cover { display: block; height: 180px; overflow: hidden; background: #eef2f9; }
.item-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.list-item:hover .item-cover img { transform: scale(1.05); }
.item-body { padding: 18px; }
.item-body h3 { font-size: 16px; margin-bottom: 8px; }
.item-summary { color: var(--muted); font-size: 13.5px; min-height: 42px; }
.item-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 10px; }
.item-more { color: var(--primary); }
@media (max-width: 992px) { .list-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .list-grid.cols-3 { grid-template-columns: 1fr; } }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.detail-article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px 38px; }
.detail-title { font-size: 26px; margin-bottom: 10px; }
.detail-subtitle { color: var(--muted); margin-bottom: 12px; }
.detail-meta { display: flex; gap: 18px; color: var(--muted); font-size: 13px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.detail-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.detail-gallery img { border-radius: 8px; height: 140px; width: 100%; object-fit: cover; }
.detail-body { color: var(--text); font-size: 15px; line-height: 1.9; }
.detail-body img { border-radius: 8px; margin: 12px 0; }
.detail-body p { margin-bottom: 12px; }
.detail-body h2, .detail-body h3 { margin: 20px 0 10px; }
.detail-ext { margin-top: 26px; }
.detail-ext h3 { font-size: 17px; margin-bottom: 12px; }
.ext-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ext-table th, .ext-table td { border: 1px solid var(--line); padding: 9px 13px; text-align: left; }
.ext-table th { background: var(--bg-gray); width: 160px; color: var(--ink); font-weight: 500; }
.detail-pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.pager-link { font-size: 14px; color: var(--muted); }
.pager-link:hover { color: var(--primary); }
.pager-link.disabled { color: #cbd5e1; }

.detail-aside { display: flex; flex-direction: column; gap: 18px; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.aside-title { font-size: 16px; margin-bottom: 14px; padding-left: 10px; border-left: 3px solid var(--primary); }
.related-list li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.related-list li:last-child { border-bottom: none; }
.contact-box .contact-tel { color: var(--primary); font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.contact-box .contact-addr { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
@media (max-width: 992px) { .detail-layout { grid-template-columns: 1fr; } .detail-article { padding: 24px; } }

/* ---------- 联系页卡片 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.contact-card { background: var(--bg-gray); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; }
.contact-card h4 { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.contact-card p { color: var(--ink); font-size: 16px; font-weight: 600; }
@media (max-width: 768px) { .contact-cards { grid-template-columns: 1fr; } }

/* ---------- 空状态 / 404 ---------- */
.empty-box { text-align: center; color: var(--muted); padding: 60px 0; }
.error-page { text-align: center; padding: 70px 0; }
.error-code {
  font-size: 96px; font-weight: 800; letter-spacing: 4px;
  background: linear-gradient(120deg, var(--primary), #0ea5e9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-text { color: var(--muted); margin: 12px 0 26px; font-size: 16px; }
.error-actions { display: flex; justify-content: center; gap: 14px; margin-bottom: 30px; flex-wrap: wrap; }
.error-nav { color: var(--muted); font-size: 14px; }
.error-nav a { margin-left: 14px; color: var(--primary); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--dark); color: #94a3b8; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; padding: 48px 20px 30px; }
.footer-col h4 { color: #e2e8f0; font-size: 16px; margin-bottom: 16px; }
.footer-col p { font-size: 13.5px; margin-bottom: 8px; }
.footer-info li { font-size: 13.5px; margin-bottom: 8px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.footer-nav a { font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-links-row { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 14px 20px; border-top: 1px solid #1e293b; font-size: 13px; align-items: center; }
.footer-links-row a { color: #94a3b8; }
.footer-links-row a:hover { color: #fff; }
.links-label { color: #64748b; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 16px 0; text-align: center; font-size: 12.5px; color: #64748b; }
@media (max-width: 992px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- 浮动工具 ---------- */
.float-tools { position: fixed; right: 18px; bottom: 70px; display: flex; flex-direction: column; gap: 10px; z-index: 90; }
.float-btn {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--primary); border: 1px solid var(--line);
  box-shadow: var(--shadow); font-size: 18px;
}
.float-btn:hover { background: var(--primary); color: #fff; }
@media (max-width: 768px) { .float-tools { right: 10px; bottom: 54px; } }

/* ---------- 提示条 ---------- */
.ow-toast {
  position: fixed; top: 84px; left: 50%; transform: translate(-50%, -12px);
  background: #111827; color: #fff; padding: 11px 22px; border-radius: 8px;
  font-size: 14px; opacity: 0; transition: all 0.3s; z-index: 999; box-shadow: var(--shadow);
}
.ow-toast.show { opacity: 1; transform: translate(-50%, 0); }
.ow-toast-ok { background: #059669; }
.ow-toast-err { background: #dc2626; }

/* ---------- 富文本内容 ---------- */
.rich-content { max-width: 900px; margin: 0 auto; }
.single-page { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px 38px; }
@media (max-width: 768px) { .single-page { padding: 22px; } }

/* ---------- 地图占位 ---------- */
.map-placeholder {
  min-height: 240px; background:
    linear-gradient(rgba(15, 30, 61, 0.06), rgba(15, 30, 61, 0.06)),
    repeating-linear-gradient(0deg, transparent 0 38px, #e5ebf5 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, #e5ebf5 38px 39px), var(--bg-gray);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
.map-info { text-align: center; }
.map-address { font-size: 17px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.map-tel { color: var(--primary); margin-bottom: 4px; }
.map-time { color: var(--muted); font-size: 14px; }

/* ---------- 在线咨询悬浮组件 ---------- */
.consult-widget {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 900; display: flex; flex-direction: column; gap: 8px;
}
.consult-item {
  position: relative; width: 52px; height: 52px; border: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: #fff; border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark, #1a4fbf));
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
  transition: all 0.2s; text-decoration: none;
}
.consult-item:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(37, 99, 235, 0.45); }
.consult-item svg { flex-shrink: 0; }
.consult-label {
  font-size: 10px; line-height: 1.1; max-width: 48px; overflow: hidden;
  white-space: nowrap; text-overflow: ellipsis; text-align: center;
}
.consult-wechat { background: linear-gradient(145deg, #07c160, #05a050); }
.consult-wechat:hover { box-shadow: 0 10px 22px rgba(7, 193, 96, 0.45); }
.consult-top { background: #94a3b8; }
.consult-top:hover { box-shadow: 0 10px 22px rgba(148, 163, 184, 0.5); }

/* 微信二维码弹层 */
.consult-qr-pop {
  position: absolute; right: 64px; top: 0; width: 220px;
  background: #fff; border-radius: 12px; padding: 16px 14px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.22);
  animation: consultPop 0.18s ease-out;
}
@keyframes consultPop { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.consult-qr-pop .qr-head { font-weight: 600; color: var(--ink); margin-bottom: 10px; text-align: center; }
.consult-qr-pop .qr-img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.consult-qr-pop .qr-placeholder {
  height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; text-align: center;
  border: 1px dashed var(--line); border-radius: 8px; background: var(--bg-gray);
}
.consult-qr-pop .qr-id { margin-top: 10px; font-size: 13px; color: var(--text); text-align: center; }
.consult-qr-pop .qr-id b { color: #07c160; }
.consult-qr-pop .qr-tip { margin-top: 6px; font-size: 12px; color: var(--muted); text-align: center; }
.consult-qr-pop .qr-time { margin-top: 4px; font-size: 12px; color: var(--muted); text-align: center; }

@media (max-width: 576px) {
  .consult-widget { right: 10px; gap: 6px; }
  .consult-item { width: 44px; height: 44px; border-radius: 10px; }
  .consult-label { display: none; }
  .consult-qr-pop { right: 54px; width: 190px; }
}

/* ---------- 多人客服二维码弹层 ---------- */
.consult-qr-pop.wide { width: 320px; }
.consult-qr-pop .qr-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.consult-qr-pop .qr-grid.multi { grid-template-columns: 1fr 1fr; }
.consult-qr-pop .qr-member { text-align: center; min-width: 0; }
.consult-qr-pop .qr-member .qr-img { width: 100%; max-width: 128px; border-radius: 8px; border: 1px solid var(--line); }
.consult-qr-pop .qr-member .qr-placeholder { height: 96px; }
.consult-qr-pop .qr-name { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--ink); }
.consult-qr-pop .qr-name small { font-weight: 400; color: var(--muted); font-size: 12px; }
.consult-qr-pop .qr-wid { font-size: 12px; color: var(--muted); margin-top: 2px; word-break: break-all; }
.consult-qq { background: linear-gradient(145deg, #12b7f0, #0894c9); }
.consult-qq:hover { box-shadow: 0 10px 22px rgba(18, 183, 240, 0.45); }

/* ---------- 文章内视频/嵌入媒体响应式 ---------- */
.detail-body video,
.detail-body iframe,
.rich-content video,
.rich-content iframe,
.single-page video,
.single-page iframe {
  max-width: 100%;
  width: 100%;
  border-radius: 8px;
  display: block;
  margin: 16px 0;
  background: #000;
}
.detail-body iframe,
.rich-content iframe,
.single-page iframe {
  aspect-ratio: 16 / 9;
  border: none;
}
.detail-body audio,
.rich-content audio { width: 100%; margin: 12px 0; }

/* ---------- 联系我们页引导 / 留言页描述 ---------- */
.contact-to-message {
  margin: 22px 0 8px;
  padding: 18px 22px;
  background: var(--bg-gray);
  border: 1px dashed var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  text-align: center;
}
.contact-to-message .btn { margin: 0 8px; padding: 8px 22px; font-size: 14px; }
.form-desc { margin: -6px 0 18px; font-size: 13px; color: var(--muted); }
