/* ============================================================
   元合财务企业网站 前台样式
   主题色：#1e50ae（可在后台设置）
   ============================================================ */
:root {
  --primary: #1e50ae;
  --primary-dark: #163d85;
  --primary-light: #3d6fc4;
  --primary-bg: #eef3fb;
  --text: #333;
  --text-light: #666;
  --text-lighter: #999;
  --border: #e5e8ee;
  --bg-gray: #f5f7fa;
  --white: #fff;
  --container: 1200px;
  --header-h: 84px;
  --radius: 6px;
  --shadow: 0 4px 18px rgba(22, 61, 133, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }

.container { width: var(--container); max-width: 94%; margin: 0 auto; }

/* ============ 顶部 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
  height: var(--header-h);
}
.header-inner {
  width: var(--container); max-width: 96%; margin: 0 auto;
  height: 100%;
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-img { width: 46px; height: 46px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-name { font-size: 19px; font-weight: 700; color: var(--primary); letter-spacing: 1px; white-space: nowrap; }
.logo-sub { font-size: 11px; color: var(--text-lighter); letter-spacing: 2px; white-space: nowrap; }

.site-nav { flex: 1; margin-left: auto; min-width: 0; }
.nav-list { display: flex; justify-content: flex-end; flex-wrap: nowrap; }
.nav-item { position: relative; flex-shrink: 0; }
.nav-link {
  display: block; padding: 0 14px; height: var(--header-h); line-height: var(--header-h);
  font-size: 16px; color: var(--text); position: relative; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 3px; background: var(--primary);
  transform: scaleX(0); transition: transform .25s;
}
.nav-item:hover .nav-link, .nav-item.active .nav-link { color: var(--primary); }
.nav-item:hover .nav-link::after, .nav-item.active .nav-link::after { transform: scaleX(1); }

.header-phone { text-align: right; flex-shrink: 0; }
.header-phone-label { display: block; font-size: 12px; color: var(--text-lighter); }
.header-phone-num { font-size: 20px; font-weight: 700; color: var(--primary); white-space: nowrap; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--primary); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ============ Banner 轮播 ============ */
.banner { position: relative; overflow: hidden; background: #0d2b57; }
.banner-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .8s ease;
  display: flex; align-items: center;
}
.banner-slide.active { opacity: 1; }
.banner-caption { color: #fff; max-width: 640px; }
.bc-title { font-size: 46px; font-weight: 700; letter-spacing: 2px; text-shadow: 0 2px 12px rgba(0,0,0,.25); margin-bottom: 14px; animation: fadeInUp .8s ease .2s both; }
.bc-sub { font-size: 18px; opacity: .92; letter-spacing: 1px; margin-bottom: 30px; animation: fadeInUp .8s ease .4s both; }
.banner-btn {
  display: inline-block; padding: 12px 38px; border: 1.5px solid rgba(255,255,255,.85);
  color: #fff; font-size: 15px; border-radius: 30px;
  transition: all .3s; animation: fadeInUp .8s ease .6s both;
}
.banner-btn:hover { background: #fff; color: var(--primary); }

.banner-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.banner-dot { width: 36px; height: 4px; background: rgba(255,255,255,.4); cursor: pointer; border-radius: 2px; transition: .3s; }
.banner-dot.active { background: #fff; }
.banner-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,0,0,.22); color: #fff; border: none; font-size: 18px;
  cursor: pointer; transition: background .3s;
}
.banner-arrow:hover { background: var(--primary); }
.banner-prev { left: 30px; } .banner-next { right: 30px; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ============ 通用板块 ============ */
.section { padding: 70px 0; }
.section-gray { background: var(--bg-gray); }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title h2 { font-size: 30px; font-weight: 700; color: var(--text); letter-spacing: 3px; }
.section-title p { font-size: 13px; color: var(--text-lighter); letter-spacing: 4px; margin-top: 6px; text-transform: uppercase; }
.st-line { display: block; width: 46px; height: 3px; background: var(--primary); margin: 14px auto 0; position: relative; }
.st-line .st-dot { position: absolute; top: 50%; width: 5px; height: 5px; background: var(--primary); border-radius: 50%; transform: translateY(-50%); }
.st-line .st-dot.l { left: -12px; }
.st-line .st-dot.r { right: -12px; }

.btn { display: inline-block; padding: 10px 34px; border-radius: 4px; font-size: 15px; cursor: pointer; border: none; transition: all .3s; }
.btn-outline { border: 1.5px solid var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-primary-o { border: 1.5px solid var(--primary); color: var(--primary); background: #fff; }
.btn-primary-o:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 13px 48px; font-size: 16px; }
.btn-block { display: block; text-align: center; }

.section-more { text-align: center; margin-top: 44px; }

/* ============ 企业简介 ============ */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.about-lead { font-size: 26px; font-weight: 700; color: var(--primary); margin-bottom: 28px; position: relative; padding-left: 16px; }
.about-lead::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 4px; background: var(--primary); border-radius: 2px; }
.about-points { display: grid; gap: 18px; margin-bottom: 30px; }
.about-point { display: grid; grid-template-columns: 12px 1fr; column-gap: 12px; align-items: start; }
.ap-dot { grid-column: 1; width: 12px; height: 12px; background: var(--primary); border-radius: 2px; margin-top: 7px; transform: rotate(45deg); }
.ap-title { grid-column: 2; font-size: 17px; font-weight: 700; min-width: 0; }
.ap-text { grid-column: 2; color: var(--text-light); font-size: 14px; min-width: 0; }
.about-img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* 数据统计 */
.section-stats { background: linear-gradient(120deg, var(--primary-dark), var(--primary) 55%, var(--primary-light)); padding: 54px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; color: #fff; }
.stat-num { font-size: 42px; font-weight: 700; font-family: Georgia, serif; }
.stat-bar { display: block; width: 30px; height: 2px; background: rgba(255,255,255,.5); margin: 8px auto; }
.stat-label { font-size: 15px; opacity: .9; letter-spacing: 2px; }

/* ============ 业务领域 ============ */
.biz-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.biz-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 18px 24px; text-align: center; transition: all .3s; display: block;
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.biz-icon-wrap { color: var(--primary); display: flex; justify-content: center; margin-bottom: 14px; transition: transform .3s; }
.biz-card:hover .biz-icon-wrap { transform: scale(1.12); }
.biz-name { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.biz-intro { font-size: 13px; color: var(--text-light); line-height: 1.9; }
.biz-more { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--primary); opacity: 0; transform: translateY(6px); transition: .3s; }
.biz-card:hover .biz-more { opacity: 1; transform: none; }

/* ============ 企业文化 ============ */
.section-culture { background: var(--bg-gray); }
.culture-intro { text-align: center; font-size: 17px; color: var(--text-light); margin: -18px 0 40px; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.culture-item {
  background: var(--white); border-radius: var(--radius); padding: 40px 34px;
  text-align: center; box-shadow: var(--shadow); transition: transform .3s;
}
.culture-item:hover { transform: translateY(-6px); }
.ci-num { font-size: 40px; font-weight: 700; color: rgba(30, 80, 174, .16); font-family: Georgia, serif; }
.ci-line { width: 34px; height: 3px; background: var(--primary); margin: 10px auto 16px; }
.ci-title { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.ci-text { font-size: 14px; color: var(--text-light); }

/* ============ 荣誉资质 ============ */
.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor-card { cursor: zoom-in; text-align: center; }
.honor-img-wrap {
  position: relative; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px; background: var(--white); overflow: hidden; transition: box-shadow .3s;
}
.honor-card:hover .honor-img-wrap { box-shadow: var(--shadow); }
.honor-img-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.honor-zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(22, 61, 133, .55); color: #fff; opacity: 0; transition: opacity .3s;
}
.honor-card:hover .honor-zoom { opacity: 1; }
.honor-name { margin-top: 12px; font-size: 14px; color: var(--text-light); }

/* ============ 财税资讯 ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  display: block; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: all .3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-cover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--primary-bg); }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.news-card:hover .news-cover img { transform: scale(1.06); }
.news-cat {
  position: absolute; left: 0; top: 14px; background: var(--primary); color: #fff;
  font-size: 12px; padding: 3px 14px; border-radius: 0 20px 20px 0;
}
.news-flag { position: absolute; right: 10px; top: 10px; background: #e64545; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 3px; }
.news-body { padding: 20px 22px 18px; }
.news-title {
  font-size: 16px; font-weight: 700; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 48px;
}
.news-card:hover .news-title { color: var(--primary); }
.news-summary {
  font-size: 13px; color: var(--text-light); margin-top: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-meta { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text-lighter); }
.news-more { color: var(--primary); }

.cat-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 34px; flex-wrap: wrap; }
.cat-tab { padding: 7px 26px; border: 1px solid var(--border); border-radius: 30px; font-size: 14px; color: var(--text-light); }
.cat-tab.active, .cat-tab:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ============ 页脚 ============ */
.site-footer { background: #14335f; color: rgba(255,255,255,.75); font-size: 14px; }
.footer-inner { width: var(--container); max-width: 94%; margin: 0 auto; padding: 54px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr .8fr; gap: 40px; padding-bottom: 36px; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-title .ft-bar { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--primary-light); }
.footer-logo { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.footer-desc { line-height: 1.9; margin-bottom: 12px; }
.footer-contact-line { margin-top: 6px; }
.fc-label { color: #fff; }
.footer-nav li, .footer-links li { margin-bottom: 9px; }
.footer-contact li { display: flex; flex-direction: column; margin-bottom: 10px; }
.footer-contact li span { font-size: 12px; opacity: .65; }
.footer-contact li a, .footer-contact li b { color: #fff; font-size: 15px; }
.footer-qr { text-align: center; }
.qr-img { width: 120px; height: 120px; margin: 0 auto 8px; background: #fff; border-radius: 6px; padding: 6px; }
.qr-tip { font-size: 12px; opacity: .7; }
.footer-links { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; }
.fl-title { color: #fff; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; }
.footer-bottom a { opacity: .8; }

/* ============ 悬浮联系 ============ */
.float-widget { position: fixed; right: 16px; bottom: 110px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.fw-item {
  position: relative; width: 54px; padding: 9px 0; text-align: center;
  background: var(--primary); color: #fff; border-radius: 8px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 61, 133, .3); transition: background .3s;
}
.fw-item:hover { background: var(--primary-dark); }
.fw-label { font-size: 11px; margin-top: 3px; }
.fw-pop {
  position: absolute; right: 66px; top: 50%; transform: translateY(-50%) translateX(10px);
  background: #fff; color: var(--text); width: 210px; border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.16); padding: 14px 16px;
  opacity: 0; visibility: hidden; transition: all .3s; text-align: left;
}
.fw-pop::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.fw-item:hover .fw-pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.fw-pop-row { display: flex; flex-direction: column; padding: 5px 0; }
.fw-pop-row span { font-size: 12px; color: var(--text-lighter); }
.fw-pop-row a { font-size: 16px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.fw-pop-qr { text-align: center; width: 150px; }
.fw-pop-qr img { width: 120px; height: 120px; margin: 0 auto; border: 1px solid var(--border); border-radius: 6px; }
.fw-pop-qr p { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* 返回顶部 */
.back-top {
  position: fixed; right: 16px; bottom: 40px; z-index: 90;
  width: 54px; height: 44px; border: none; border-radius: 8px;
  background: rgba(30, 80, 174, .85); color: #fff; cursor: pointer;
  opacity: 0; visibility: hidden; transition: all .3s;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-dark); }

/* ============ 内页通用 ============ */
.page-banner {
  height: 260px; background-size: cover; background-position: center;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
}
.pb-overlay { position: absolute; inset: 0; background: linear-gradient(rgba(13, 43, 87, .45), rgba(13, 43, 87, .55)); }
.pb-inner { position: relative; color: #fff; }
.pb-inner h1 { font-size: 34px; letter-spacing: 4px; margin-bottom: 8px; }
.pb-inner p { font-size: 13px; letter-spacing: 5px; opacity: .85; text-transform: uppercase; }

.breadcrumb { background: var(--bg-gray); border-bottom: 1px solid var(--border); }
.bc-inner { width: var(--container); max-width: 94%; margin: 0 auto; padding: 12px 0; font-size: 13px; color: var(--text-lighter); }
.bc-inner a { color: var(--text-light); }
.bc-sep { margin: 0 8px; }
.bc-current { color: var(--primary); }

/* 详情双栏 */
.detail-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.detail-title { font-size: 26px; padding-bottom: 16px; border-bottom: 2px solid var(--primary); margin-bottom: 20px; }
.biz-intro-big { font-size: 17px; color: var(--primary); letter-spacing: 1px; line-height: 2; margin-bottom: 20px; }
.detail-img { border-radius: var(--radius); margin-bottom: 20px; }
.detail-content { font-size: 15px; color: var(--text-light); }
.detail-contact { margin-top: 28px; background: var(--primary-bg); border-radius: var(--radius); padding: 24px; }
.detail-phones { display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }

.detail-side { background: var(--bg-gray); border-radius: var(--radius); padding: 22px; }
.side-title { font-size: 17px; padding-left: 12px; border-left: 4px solid var(--primary); margin: 18px 0 16px; }
.side-title:first-child { margin-top: 0; }
.biz-side-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 6px; color: var(--text-light); background: #fff; margin-bottom: 8px; transition: all .3s; }
.biz-side-item:hover { background: var(--primary); color: #fff; }
.side-phone { display: block; font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.side-worktime { font-size: 13px; color: var(--text-lighter); margin-bottom: 14px; }
.side-news-item { display: block; font-size: 14px; color: var(--text-light); padding: 9px 0; border-bottom: 1px dashed var(--border); }
.side-news-item:last-child { border-bottom: none; }
.side-news-item:hover { color: var(--primary); }

/* 富文本通用 */
.rich-text p { margin-bottom: 14px; }
.rich-text h3 { font-size: 18px; margin: 20px 0 12px; color: var(--primary-dark); }
.rich-text img { border-radius: 6px; margin: 10px auto; }
.rich-text ul, .rich-text ol { padding-left: 24px; margin-bottom: 14px; }
.rich-text ul li { list-style: disc; margin-bottom: 6px; }
.rich-text ol li { list-style: decimal; margin-bottom: 6px; }
.rich-text em { color: var(--text-lighter); }

/* ============ 简介/历程 ============ */
.about-detail-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 44px; align-items: start; }
.about-detail-side .about-img { margin-bottom: 18px; }
.about-side-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-side-stats div { background: var(--primary-bg); border-radius: 6px; text-align: center; padding: 16px 8px; }
.about-side-stats b { display: block; font-size: 26px; color: var(--primary); font-family: Georgia, serif; }
.about-side-stats span { font-size: 12px; color: var(--text-light); }

.milestones { position: relative; padding: 10px 0; }
.ms-track { position: absolute; left: 76px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.milestone { display: grid; grid-template-columns: 60px 32px 1fr; gap: 0 20px; align-items: start; margin-bottom: 30px; }
.ms-year { font-size: 22px; font-weight: 700; color: var(--primary); font-family: Georgia, serif; text-align: right; }
.ms-dot { width: 14px; height: 14px; background: #fff; border: 3px solid var(--primary); border-radius: 50%; margin: 8px auto 0; position: relative; z-index: 1; }
.ms-text { font-size: 15px; color: var(--text-light); padding-top: 3px; }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 240px; gap: 40px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; transition: all .3s; }
.contact-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.cc-icon { width: 52px; height: 52px; border-radius: 10px; background: var(--primary-bg); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-card h3 { font-size: 16px; margin-bottom: 8px; }
.contact-card a { font-size: 17px; color: var(--primary); font-weight: 600; word-break: break-all; }
.contact-qr { text-align: center; background: var(--bg-gray); border-radius: var(--radius); padding: 26px 20px; }
.contact-qr img { width: 160px; height: 160px; margin: 0 auto 10px; background: #fff; padding: 8px; border-radius: 8px; }

.form-tip { text-align: center; color: var(--text-light); margin: -14px 0 26px; font-size: 14px; }
.message-form { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-item { margin-bottom: 18px; }
.form-item label { display: block; font-size: 14px; color: var(--text-light); margin-bottom: 7px; }
.form-item input, .form-item select, .form-item textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 5px;
  font-size: 14px; font-family: inherit; outline: none; transition: border .3s;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--primary); }
.form-actions { text-align: center; }
.form-result { text-align: center; margin-top: 14px; font-size: 14px; min-height: 22px; }
.form-result.ok { color: #2e9e5b; }
.form-result.err { color: #e64545; }

.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 40px; }
.branch-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 22px; }
.branch-name { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.branch-address { font-size: 14px; color: var(--text-light); }
.map-wrap { margin-top: 20px; }
.map-embed iframe { width: 100%; height: 340px; border: none; border-radius: var(--radius); }
.map-placeholder { text-align: center; border: 1px dashed var(--border); border-radius: var(--radius); padding: 30px; background: var(--bg-gray); }
.map-placeholder img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 6px; margin-bottom: 12px; }
.map-placeholder p { color: var(--text-light); font-size: 15px; }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pg-btn { min-width: 38px; height: 38px; line-height: 36px; text-align: center; border: 1px solid var(--border); border-radius: 5px; padding: 0 12px; font-size: 14px; color: var(--text-light); }
.pg-btn:hover, .pg-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.pg-ellipsis { line-height: 38px; color: var(--text-lighter); }
.empty-tip { text-align: center; color: var(--text-lighter); padding: 60px 0; font-size: 15px; }

/* 文章页 */
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 26px; }
.article-title { font-size: 26px; line-height: 1.5; margin-bottom: 14px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--text-lighter); }
.article-content { font-size: 15.5px; color: #444; }
.article-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.pn-link { border: 1px solid var(--border); border-radius: 6px; padding: 14px 18px; transition: all .3s; }
.pn-link:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.pn-link span { display: block; font-size: 12px; color: var(--text-lighter); margin-bottom: 4px; }
.pn-link b { font-size: 14px; font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pn-link:last-child { text-align: right; }
.pn-empty { color: var(--text-lighter); display: flex; align-items: center; font-size: 14px; }
.article-related { margin-top: 44px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-item { display: block; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: all .3s; }
.related-item:hover { box-shadow: var(--shadow); }
.related-item img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.related-info { padding: 14px 16px; }
.related-title { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.related-item:hover .related-title { color: var(--primary); }
.related-date { font-size: 12px; color: var(--text-lighter); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.82); z-index: 300; display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 88%; max-height: 86%; border-radius: 6px; background: #fff; padding: 8px; }
#lightboxClose { position: absolute; top: 22px; right: 30px; background: none; border: none; color: #fff; font-size: 42px; cursor: pointer; line-height: 1; }

/* ============ 响应式 ============ */
@media (max-width: 1200px) {
  .biz-grid { grid-template-columns: repeat(4, 1fr); }
  .honor-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }
  .header-phone { display: none; }
  .biz-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .culture-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .about-detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-qr { max-width: 320px; margin: 0 auto; }
  .related-grid { grid-template-columns: 1fr; }
  .bc-title { font-size: 34px; }
  .banner-arrow { display: none; }
  .page-banner { height: 200px; }
  .ms-track { left: 66px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.1);
    max-height: 0; overflow: hidden; transition: max-height .35s; margin: 0;
  }
  .site-nav.open { max-height: 480px; }
  .nav-list { flex-direction: column; justify-content: flex-start; }
  .nav-link { height: 52px; line-height: 52px; border-bottom: 1px solid var(--border); }
  .nav-link::after { display: none; }
  .nav-item.active .nav-link { color: var(--primary); font-weight: 700; }
  .logo-name { font-size: 16px; }
  .logo-sub { display: none; }
  .logo-img { width: 38px; height: 38px; }

  .section { padding: 46px 0; }
  .section-title h2 { font-size: 24px; }
  .biz-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .news-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .article-pn { grid-template-columns: 1fr; }
  .banner { height: 340px !important; }
  .bc-title { font-size: 26px; }
  .bc-sub { font-size: 14px; }
  .float-widget { right: 8px; bottom: 84px; }
  .fw-item { width: 46px; }
  .back-top { right: 8px; width: 46px; }
  .contact-cards { grid-template-columns: 1fr; }
  .pb-inner h1 { font-size: 26px; }
}

@media (min-width: 1600px) {
  :root { --container: 1300px; }
}

/* 超宽屏下Banner保持铺满、内容居中 */
@media (min-width: 2200px) {
  :root { --container: 1400px; }
}

.amap-container { width: 100%; height: 450px; border-radius: var(--radius); overflow: hidden; }
.map-load-error { height: 100%; min-height: 260px; display:flex; align-items:center; justify-content:center; padding:24px; background:var(--bg-gray); color:var(--text-light); text-align:center; }
