:root{--primary-hover:brightness(1.15);--secondary-hover:brightness(1.1)}
/* ============================================
   天辰司法鉴定中心 - 全局公共样式 v2
   主色: var(--primary-color) (鲜绿)  辅色: var(--secondary-color) (深蓝绿)
   ============================================ */

:root {
  --primary: var(--primary-color);
  --primary-light: #00B85C;
  --primary-dark: #007A3D;
  --primary-bg: #E6F7EF;
  --primary-bg2: #f0faf5;
  --secondary: var(--secondary-color);
  --secondary-light: #004456;
  --secondary-dark: #001F29;
  --accent: #00CC66;
  --gold: #C8A45C;
  --text-dark: #1a1a1a;
  --text: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg: #f8faf9;
  --bg-white: #ffffff;
  --border: #e0e8e4;
  --shadow: 0 4px 24px rgba(0,46,59,0.07);
  --shadow-hover: 0 12px 40px rgba(0,46,59,0.14);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: all 0.35s cubic-bezier(.4,0,.2,1);
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; outline: none; border: none; background: none; }

/* Utility */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.flex { display: flex; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

/* Section Title - LEFT ALIGNED */
.section-title {
  margin-bottom: 40px;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.section-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0,153,76,0.08);
  padding: 4px 14px;
  border-radius: 20px;
  order: 1;
  margin-bottom: 4px;
}
.section-title h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0;
  position: relative;
  display: inline-block;
  order: 2;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  transform: none;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.section-title p {
  color: var(--text-gray);
  font-size: 15px;
  margin-top: 0;
  order: 3;
}
.section-title .title-more {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-title .title-more:hover { gap: 8px; }

/* 关于天辰-查看更多按钮 */
.about-view-more {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}
.about-view-more:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  gap: 8px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: width 0.4s ease, height 0.4s ease, top 0.4s ease, left 0.4s ease;
}
.btn:active::after {
  width: 200px; height: 200px; top: calc(50% - 100px); left: calc(50% - 100px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(0,153,76,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,153,76,0.35);
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,46,59,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================
   HEADER - 通栏固定顶栏
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #fff;
  transition: box-shadow 0.3s ease;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,46,59,0.1);
}
/* header-top removed - unified single-row header */
.header-main {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid rgba(0,46,59,0.08);
  box-shadow: 0 1px 8px rgba(0,46,59,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 80px;
  gap: 0;
  padding: 0 0px;
  max-width: 1440px;
  margin: 0 auto;
}
.nav { margin: 0 8px; }
.logo {
  max-width: 280px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex: 0 0 auto;
  max-width: 280px;
  margin-left: -24px;
}
@media (max-width: 1024px) {
  .logo {
  max-width: 280px;
    max-width: 180px;
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .logo {
  max-width: 280px;
    max-width: 150px;
    margin-left: 0;
  }
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1px;
}
.logo-text {
  font-size: 19px;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.25;
}
.logo-text small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
/* LOGO图片模式 - 上传logo后只显示图片，隐藏所有文字 */
.logo-img {
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  flex-shrink: 0;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .logo-img {
    max-width: 240px;
  }
}
@media (max-width: 768px) {
  .logo-img {
    height: 34px;
    max-width: 170px;
  }
}

/* Navigation - 通栏布局 */
.nav {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}
.nav > a, .nav-item > a {
  padding: 0 10px;
  height: 80px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.nav > a::after, .nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 3px 3px 0 0;
}
.nav > a:hover, .nav-item > a:hover, .nav > a.active, .nav-item > a.active {
  color: var(--primary);
}
.nav > a:hover::after, .nav-item > a:hover::after, .nav > a.active::after, .nav-item > a.active::after {
  width: 100%;
  left: 0;
}

/* Header right */
.header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  flex: 0 0 auto;
  margin-right: -24px;
}
.header-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
  white-space: nowrap;
}
.header-info-item i {
  font-size: 16px;
  color: var(--primary);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}
.header-phone i {
  font-size: 20px;
  color: var(--primary);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 9999;
  pointer-events: auto;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
  border-radius: 2px;
  display: block;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-close {
    display: none !important;
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    color: var(--text-gray);
    cursor: pointer;
    padding: 4px 12px;
    z-index: 9999;
  }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #007564;
  color: #fff;
  padding-top: 40px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.6), rgba(255,255,255,0.3));
}

/* 第一行：LOGO + 电话 */
.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.footer-logo .logo-text {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.footer-logo-img {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}
@media (max-width: 1024px) {
  .footer-logo-img {
    max-width: 200px;
  }
}
@media (max-width: 768px) {
  .footer-logo-img {
    height: 30px;
    max-width: 150px;
  }
}
.footer-phone-large {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-phone-large i {
  font-size: 22px;
  color: rgba(255,255,255,0.9);
}
.footer-phone-large span {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}

/* 分割线 */
.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 0 0 28px;
}

/* 第二行：四栏 */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 28px;
  align-items: start;
}
.footer-col > p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 5px;
  padding: 3px 0;
}
.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 700;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.5);
  border-radius: 1px;
}

/* 联系我们栏特殊样式 */
.footer-slogan {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.footer-qr-main {
  text-align: left;
}
.footer-qr-main .qr-placeholder {
  width: 110px;
  height: 110px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: 1px solid rgba(255,255,255,0.2);
}
.footer-qr-main .qr-placeholder i {
  font-size: 36px;
  color: rgba(255,255,255,0.4);
}
.footer-qr-main .qr-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
  text-align: left;
}

/* 工作时间栏 */
.footer-col .footer-emergency {
  color: #fff;
  font-weight: 600;
  margin-top: 6px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  padding: 5px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }
/* 强制footer内富文本内容继承白色主题 - 防止CKEditor内联样式覆盖 */
.footer-about,
.footer-about p,
.footer-about span,
.footer-about strong,
.footer-about em,
.footer-about ul,
.footer-about li,
.footer-copyright,
.footer-copyright p,
.footer-copyright span,
.footer-copyright strong,
.footer-col p,
.footer-col span,
.footer-col strong {
  color: rgba(255,255,255,0.8) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-family: inherit !important;
}
.footer-about a,
.footer-copyright a,
.footer-col a {
  color: rgba(255,255,255,0.8) !important;
}
.footer-worktime,
.footer-worktime p,
.footer-worktime span,
.footer-worktime br {
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px !important;
  line-height: 1.8 !important;
  font-family: inherit !important;
}

/* 旧二维码组件（兼容内页） */
.footer-qr {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.footer-qr-item { text-align: center; }
.footer-qr-item .qr-placeholder {
  width: 90px;
  height: 90px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  border: 1px solid rgba(255,255,255,0.2);
}
.footer-qr-item p {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ============================================
   INNER PAGE BANNER & BREADCRUMB
   ============================================ */
.inner-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--primary-dark) 100%);
  padding: 120px 0 40px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* 内页banner底部圆角过渡 */

.inner-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,153,76,0.12), transparent 70%);
  border-radius: 50%;
}
.inner-banner::after {
  display: none;
}
.inner-banner h1 {
  font-size: 34px;
  color: #fff;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.inner-banner p {
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
  position: relative;
  z-index: 1;
  font-size: 15px;
}

.breadcrumb {
  padding: 10px 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  position: sticky;
  top: 80px;
  z-index: 11;
}
.breadcrumb .container {
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-gray); }
.breadcrumb .sep { color: var(--text-light); margin: 0 2px; }

/* Sub-nav */
.sub-nav,
.about-nav-bar {
  background: #fff;
  position: sticky;
  top: 80px;
  z-index: 11;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  -webkit-overflow-scrolling: touch;
}
.sub-nav .container,
.about-nav-bar .container {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.sub-nav a,
.about-nav-bar a {
  padding: 8px 20px;
  font-size: 14px;
  color: #666;
  font-weight: 500;
  border-radius: 20px;
  transition: all .2s;
  white-space: nowrap;
}
.sub-nav a:hover,
.about-nav-bar a:hover,
.sub-nav a.active,
.about-nav-bar a.active {
  color: #fff;
  background: var(--primary);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 80vh; width: auto; height: auto; object-fit: fill; border-radius: 6px; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  z-index: 10000;
}

/* ============================================
   MODAL
   ============================================ */
/* ============================================
   MODAL - 匹配HTML结构: .modal > .modal-overlay + .modal-content
   ============================================ */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.active {
  display: flex;
}
.modal .modal-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,46,59,0.55);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal .modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  animation: modalIn 0.3s ease;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,46,59,0.2);
}
.modal .modal-content-sm {
  max-width: 480px;
}
.modal h3 {
  font-size: 20px;
  color: var(--secondary);
  margin-bottom: 16px;
  font-weight: 700;
  padding-left: 14px;
  position: relative;
}
.modal h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.feature-modal-content .modal-close {
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.modal p {
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 10px;
  font-size: 14px;
}
.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.modal-table th, .modal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.modal-table th {
  background: var(--primary-bg);
  color: var(--secondary);
  font-weight: 600;
}
.modal-table td {
  color: var(--text);
}
@keyframes modalIn {
  from { transform: translateY(20px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 15px; right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-gray);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text); background: var(--bg); }

/* ============================================
   SCROLL ANIMATION
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .header-inner { height: 64px; padding: 0 16px; max-width: 100%; }
  .header-info-item:not(.menu-toggle) { display: none; }
  .header-info .menu-toggle { display: flex; }
  .header-info { margin-left: auto; margin-right: 0; }
  .nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(0,46,59,0.15);
    border: 1px solid var(--border);
    border-top: none;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1001;
    -webkit-overflow-scrolling: touch;
  }
  .nav.open { display: flex; }
  .nav > a, .nav-item > a {
    height: auto;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    color: var(--text);
  }
  .nav-item > a .nav-arrow { display: inline; font-size: 11px; margin-left: 6px; transition: transform 0.3s; }
  .nav-item.sub-open > a .nav-arrow { transform: rotate(180deg); }
  .nav > a:last-child, .nav-item:last-child > a { border-bottom: none; }
  .nav > a::after, .nav-item > a::after { display: none; }
  .nav > a:hover, .nav-item > a:hover, .nav > a.active, .nav-item > a.active {
    color: var(--primary);
    background: var(--primary-bg);
  }
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1002;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    outline: none;
  }
  .footer-main, .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .section-title h2 { font-size: 24px; }
  .inner-banner { padding: 80px 0 24px; }
  .inner-banner h1 { font-size: 28px; }
  .inner-banner::after { display: none; }
  .intro-hero { height: auto; padding: 70px 0 24px; }
  .breadcrumb { position: sticky; top: 64px; z-index: 89; background: #fff; }
  .sub-nav, .about-nav-bar { top: 94px; }
  .mobile-nav-bar { top: 94px; }
}

@media (max-width: 768px) {
  .header-inner { height: 56px; }
  .header-main { border-bottom: none; box-shadow: none; }
  .nav { top: 56px; }
  .sub-nav, .about-nav-bar { top: 86px; }
  .mobile-nav-bar { top: 86px; }
  .section-title h2 { font-size: 22px; }
  .inner-banner { padding: 72px 0 14px; }
  .inner-banner h1 { font-size: 24px; }
  .inner-banner::after { display: none; }
  .breadcrumb { padding: 4px 0; position: sticky; top: 56px; z-index: 11; background: #fff; border-bottom: none; }
  .sub-nav .container,
  .about-nav-bar .container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sub-nav a,
  .about-nav-bar a { padding: 6px 14px; font-size: 13px; }
  .container { padding: 0 12px; }
}

@media (max-width: 480px) {
  .footer-main, .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-top-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-phone-large span { font-size: 20px; }
  .section-title h2 { font-size: 22px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* Placeholder image style - 渐变背景+居中文字，更美观 */
.placeholder-img {
  background: linear-gradient(135deg, #e8f5ee 0%, #d4edda 50%, #c3e6cb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
  border: none;
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: placeholderShimmer 3s infinite;
}
@keyframes placeholderShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ============================================
   MOBILE FIX - 强制修复手机端遮挡问题
   ============================================ */
@media (max-width: 768px) {
  body { padding-top: 0; }
  .header { position: fixed; }
  .breadcrumb { margin-top: 0; }
  img, .placeholder-img { max-width: 100%; height: auto; }
  .modal { padding: 20px; margin: 10px; }
  .modal-overlay { padding: 10px; }
}

/* ============================================
   NAV DROPDOWN - PC hover / Mobile accordion
   ============================================ */
.nav-item.has-dropdown { position: relative; }
.nav-arrow { font-size: 10px; margin-left: 4px; opacity: 0.5; transition: transform 0.3s; display: inline-block; }
.nav-item.has-dropdown:hover .nav-arrow,
.nav-item.dropdown-open .nav-arrow { transform: rotate(180deg); opacity: 1; }

.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 180px; background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 40px rgba(0,46,59,0.14); border: 1px solid var(--border); border-top: 2px solid var(--primary);
  z-index: 999; padding: 8px 0;
  opacity: 0; visibility: hidden; transition: all 0.25s ease;
}
.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.dropdown-open .nav-dropdown {
  display: block; opacity: 1; visibility: visible;
}
.nav-dropdown a {
  display: block; padding: 10px 20px; font-size: 14px; color: var(--text);
  font-weight: 400; border-bottom: none; height: auto; transition: var(--transition);
  white-space: nowrap;
}
.nav-dropdown a:hover {
  color: var(--primary); background: var(--primary-bg); padding-left: 24px;
}

/* Mobile: dropdown becomes accordion */
@media (max-width: 1024px) {
  .nav-item.has-dropdown > a { cursor: pointer; }
  .nav-dropdown {
    display: none; position: static; transform: none;
    min-width: auto; background: rgba(0,153,76,0.06); border-radius: 0;
    box-shadow: none; border: none; opacity: 1; visibility: visible; padding: 0;
    margin: 0;
  }
  .nav-item.sub-open .nav-dropdown { display: block; }
  .nav-dropdown a { padding: 12px 20px 12px 32px; font-size: 14px; border-bottom: 1px solid var(--border); }
  .nav-dropdown a:last-child { border-bottom: none; }
  .nav-item.sub-open > a { color: var(--primary); }
  .nav-item.sub-open .nav-arrow { transform: rotate(180deg); }
}

/* Footer QR Code */
.footer-qrcode { display: flex; gap: 16px; margin-top: 14px; }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.qr-img { width: 80px; height: 80px; background: var(--bg); border: 1px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--primary); }
.qr-item span { font-size: 11px; color: var(--text-light); }

/* Footer 横屏+手机端响应式 */
@media (max-width: 1024px) {
  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-phone-large span {
    font-size: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* Global reset (moved from inline) */
body { overflow-x: hidden; width: 100%; }


/* 内页banner有背景图时加遮罩 */
.inner-banner[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,46,59,0.7);
  z-index: 0;
}
.inner-banner[style*="background-image"] h1,
.inner-banner[style*="background-image"] p,
.inner-banner[style*="background-image"] .container {
  position: relative;
  z-index: 1;
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 30px;
  padding: 16px 0;
  user-select: none;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  border-radius: 8px;
  background: #f5f7f8;
  border: 1px solid #e8eaed;
  transition: all .2s;
}
.pagination a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: #f0f7f3;
}
.pagination span.active {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.pagination span.disabled {
  color: #bbb;
  background: #f9f9f9;
  border-color: #eee;
  cursor: not-allowed;
}
@media(max-width:768px) {
  .pagination a, .pagination span { min-width: 32px; height: 32px; font-size: 13px; padding: 0 8px; }
}

/* ===== 右侧浮动联系我们 ===== */
.float-contact {
  position: fixed;
  right: 20px;
  bottom: 120px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.float-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #006633 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,153,76,0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.float-contact-btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: scale(0);
  transition: transform 0.3s ease;
}

.float-contact-btn:hover::before {
  transform: scale(1);
}

.float-contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0,153,76,0.5);
}

.float-contact-btn i {
  font-size: 22px;
  line-height: 1;
}

.float-contact-label {
  font-size: 10px;
  margin-top: 2px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* 二维码弹窗面板 */
.float-contact-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s ease;
  overflow: hidden;
}

.float-contact-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.float-contact-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #006633 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.float-contact-panel-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  transition: color 0.2s;
}

.float-contact-panel-close:hover {
  color: #fff;
}

.float-contact-panel-body {
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.float-qr-item {
  text-align: center;
}

.float-qr-item img {
  display: block;
  margin: 0 auto 8px;
}

.float-qr-item p {
  font-size: 13px;
  color: #666;
  margin: 0;
}

.float-qr-placeholder {
  width: 140px;
  height: 140px;
  background: #f5f5f5;
  border: 2px dashed #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 8px;
}

.float-qr-placeholder i {
  font-size: 48px;
  color: #ccc;
}

.float-phone-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  padding-top: 8px;
  border-top: 1px solid #eee;
  width: 100%;
  justify-content: center;
}

/* 手机端适配 */
@media (max-width: 768px) {
  .float-contact {
    right: 12px;
    bottom: 80px;
  }
  .float-contact-btn {
    width: 48px;
    height: 48px;
  }
  .float-contact-btn i {
    font-size: 18px;
  }
  .float-contact-label {
    font-size: 9px;
  }
  .float-contact-panel {
    right: 0;
    bottom: 56px;
    width: 200px;
  }
}

/* 分页统计信息 */
.pagination .pagination-info {
  font-size: 13px;
  color: #888;
  margin-right: 12px;
  white-space: nowrap;
}
.pagination .pagination-info b {
  color: var(--primary-color);
  font-weight: 600;
}
@media(max-width:768px) {
  .pagination { flex-wrap: wrap; }
  .pagination .pagination-info { width: 100%; text-align: center; margin-right: 0; margin-bottom: 8px; font-size: 12px; }
}


/* 站群栏目子导航：列表页面包屑下方通栏展示，兼容页面搭建器 flex 容器 */
.section-subnav-module,
.page-builder-flow > .section-subnav-module,
.page-builder-flow > .sub-nav {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.section-subnav-module .sub-nav,
.page-builder-flow > .sub-nav,
.sub-nav {
  width: 100% !important;
  max-width: none !important;
  background: #fff !important;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box !important;
}
.section-subnav-module .sub-nav .container,
.sub-nav .container {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.theme-key-dark_pro .section-subnav-module .sub-nav,
body.theme-key-dark_pro .page-builder-flow > .sub-nav,
body.theme-key-dark_pro .sub-nav {
  background: rgba(7,21,38,.96) !important;
}
