/* ========================================
   Aqua-Link - 官网样式
   主题：水处理运营服务企业
   ======================================== */

:root {
  --primary: #0077b6;        /* 主蓝 - 水的象征 */
  --primary-dark: #023e8a;   /* 深蓝 */
  --primary-light: #00b4d8;  /* 浅蓝 */
  --accent: #06d6a0;         /* 环保绿 */
  --accent-dark: #059669;
  --dark: #0a1929;           /* 深色文字 */
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
  --gradient-hero: linear-gradient(135deg, rgba(2, 30, 70, 0.88) 0%, rgba(2, 62, 138, 0.82) 45%, rgba(0, 119, 182, 0.75) 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== 顶栏 ==================== */
.top-bar {
  background: var(--dark);
  color: var(--gray-300);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .welcome i {
  margin-right: 6px;
  color: var(--primary-light);
}
.top-bar .links a {
  margin-left: 20px;
  transition: color 0.3s;
}
.top-bar .links a:hover {
  color: var(--primary-light);
}

/* ==================== 导航栏 ==================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 16px rgba(10, 25, 41, 0.08);
  border-bottom: 1px solid rgba(10, 25, 41, 0.06);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
}
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}
.navbar .logo-img {
  height: 48px;
}
.footer .logo-img {
  height: 52px;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 10px;
}
.nav-menu {
  display: flex;
  gap: 4px;
}
.nav-menu > li {
  position: relative;
}
.nav-menu > li > a {
  display: block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-900);
  border-radius: 8px;
  transition: all 0.3s;
}
.nav-menu > li > a:hover,
.nav-menu > li.active > a {
  color: var(--primary);
  background: rgba(0, 119, 182, 0.08);
}
.nav-menu > li > a i {
  font-size: 10px;
  margin-left: 4px;
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
}
.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--gray-700);
  border-radius: 8px;
}
.sub-menu a:hover {
  background: var(--gray-100);
  color: var(--primary);
}
.nav-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--gradient-primary);
  color: white !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 119, 182, 0.3);
}
.nav-contact i {
  font-size: 14px;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--dark);
  cursor: pointer;
}

/* ==================== Banner ==================== */
.hero {
  position: relative;
  height: 88vh;
  min-height: 600px;
  overflow: hidden;
  color: #111827;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 14px;
  color: #111827;
  margin-bottom: 24px;
  width: fit-content;
  border: 1px solid rgba(17, 24, 39, 0.15);
}
.hero-title {
  font-size: 60px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 820px;
  color: #111827;
}
.hero-title span {
  background: linear-gradient(90deg, #059669, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-desc {
  font-size: 18px;
  color: #1f2937;
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 8px 20px rgba(6, 214, 160, 0.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(6, 214, 160, 0.5);
}
.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  color: #111827;
  border: 2px solid rgba(17, 24, 39, 0.25);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}
.hero-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}
.hero-indicators button {
  width: 40px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(17, 24, 39, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-indicators button.active {
  background: #111827;
  width: 60px;
}

/* ==================== 通用区块 ==================== */
.section {
  padding: 100px 0;
}
.section-gray {
  background: var(--gray-50);
}
.section-dark {
  background: var(--dark);
  color: white;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.section-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.section-dark .section-title {
  color: white;
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 720px;
  margin: 0 auto;
}
.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

/* ==================== 数据统计 ==================== */
.stats {
  background: var(--gradient-primary);
  padding: 60px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></svg>');
  background-size: 200px;
  opacity: 0.3;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 1;
}
.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.stat-number {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}
.stat-number small {
  font-size: 20px;
  font-weight: 600;
}
.stat-label {
  font-size: 15px;
  opacity: 0.9;
}

/* ==================== 业务版块 ==================== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.business-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: var(--shadow);
  position: relative;
}
.business-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}
.business-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.business-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.business-card:hover .business-card-img img {
  transform: scale(1.08);
}
.business-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 41, 0.6), transparent 50%);
}
.business-card-icon {
  position: absolute;
  bottom: -28px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(0, 119, 182, 0.4);
  z-index: 2;
}
.business-card-body {
  padding: 40px 28px 28px;
}
.business-card-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.business-card-body p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 72px;
}
.business-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.business-card-link i {
  transition: transform 0.3s;
}
.business-card-link:hover i {
  transform: translateX(4px);
}

/* ==================== 解决方案 ==================== */
.solution-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solution-img {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.solution-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.solution-img-badge {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: white;
  padding: 20px 28px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.solution-img-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.solution-img-badge strong {
  display: block;
  font-size: 24px;
  color: var(--dark);
}
.solution-img-badge span {
  font-size: 12px;
  color: var(--gray-500);
}
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.solution-item {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: white;
  border-radius: 14px;
  border-left: 4px solid var(--primary);
  transition: all 0.3s;
}
.solution-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}
.solution-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.solution-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--dark);
}
.solution-item p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ==================== 案例展示 ==================== */
.case-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.case-tab {
  padding: 10px 24px;
  border-radius: 999px;
  background: white;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--gray-300);
  transition: all 0.3s;
}
.case-tab.active,
.case-tab:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}
.case-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.case-item:hover img {
  transform: scale(1.08);
}
.case-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 41, 0.95) 0%, rgba(10, 25, 41, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: white;
}
.case-item-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: white;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}
.case-item-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.case-item-overlay p {
  font-size: 13px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==================== 新闻 ==================== */
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.news-featured {
  grid-row: span 2;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}
.news-featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.news-featured-img {
  height: 300px;
  overflow: hidden;
}
.news-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.news-featured:hover .news-featured-img img {
  transform: scale(1.05);
}
.news-featured-body {
  padding: 28px;
}
.news-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.news-meta i {
  margin-right: 4px;
  color: var(--primary);
}
.news-featured h3,
.news-featured h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.news-featured:hover h3,
.news-featured:hover h4 {
  color: var(--primary);
}
.news-featured p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
}
.news-featured .news-date {
  margin-bottom: 10px;
}
.news-featured .news-item-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: auto;
}
.news-item {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}
.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-date {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}
.news-item h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}
.news-item h4:hover {
  color: var(--primary);
}
.news-item-tag {
  font-size: 12px;
  color: var(--gray-500);
}

/* ==================== 合作伙伴 ==================== */
.partners {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.partner-item {
  position: relative;
  aspect-ratio: 5 / 3;
  background: #ffffff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  box-shadow: 0 2px 6px rgba(15, 42, 85, 0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  overflow: hidden;
}
.partner-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(2, 62, 138, 0.35), rgba(0, 180, 216, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.partner-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0%);
  opacity: 1;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.partner-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(2, 62, 138, 0.12);
  border-color: transparent;
}
.partner-item:hover::before {
  opacity: 1;
}
.partner-item:hover img {
  transform: scale(1.06);
}

/* ==================== CTA ==================== */
.cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 214, 160, 0.3), transparent);
  border-radius: 50%;
}
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 10px;
}
.cta-content p {
  font-size: 16px;
  opacity: 0.9;
}

/* ==================== 页脚 ==================== */
.footer {
  background: #0a1929;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo-text h1 {
  color: white;
}
.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.8;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.footer-col h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-light);
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul a {
  font-size: 14px;
  transition: all 0.3s;
}
.footer-col ul a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-contact li i {
  color: var(--primary-light);
  margin-top: 4px;
}
.visitor-counter {
  text-align: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.visitor-counter i.fa-chart-bar {
  color: var(--primary-light, #48cae4);
  font-size: 14px;
}
.visitor-counter .counter-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}
.visitor-counter #busuanzi_value_site_pv,
.visitor-counter #busuanzi_value_site_uv {
  font-weight: 600;
  color: var(--primary-light, #48cae4);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  margin-left: 20px;
}
.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ==================== 返回顶部 ==================== */
.to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
  z-index: 999;
  font-size: 16px;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* ==================== 内页 Banner ==================== */
.page-banner {
  height: 360px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><path fill="rgba(255,255,255,0.05)" d="M0,150 Q300,50 600,150 T1200,150 L1200,300 L0,300 Z"/></svg>');
  background-size: cover;
  background-position: bottom;
}
.page-banner .container {
  position: relative;
  z-index: 1;
}
.page-banner h1 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 12px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.9;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb i {
  font-size: 10px;
}

/* ==================== 关于我们 ==================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.about-intro-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-intro-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.about-intro-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-intro-text p {
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 16px;
  font-size: 15px;
}
.about-intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-300);
}
.about-intro-stats .stat-number {
  color: var(--primary);
  font-size: 36px;
  justify-content: flex-start;
}
.about-intro-stats .stat-label {
  color: var(--gray-500);
  font-size: 13px;
  text-align: left;
}

/* 业务分布 */
.distribution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: stretch;
}
.distribution-map {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 180, 216, 0.2), transparent 30%),
    radial-gradient(circle at 84% 86%, rgba(6, 214, 160, 0.18), transparent 28%),
    linear-gradient(135deg, #eefbff 0%, #f8fffd 100%);
  border: 1px solid rgba(0, 119, 182, 0.12);
  box-shadow: var(--shadow-lg);
}
.distribution-map::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(0, 119, 182, 0.08);
  border-radius: 22px;
  pointer-events: none;
}
.distribution-map-meta {
  position: absolute;
  left: 28px;
  top: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  color: var(--gray-700);
  font-size: 13px;
}
.distribution-map-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.distribution-map-meta i,
.distribution-map-meta strong {
  color: var(--primary);
}
.distribution-map-svg {
  position: absolute;
  inset: 44px 18px 8px;
  width: calc(100% - 36px);
  height: calc(100% - 52px);
}
.map-grid-line {
  fill: none;
  stroke: rgba(0, 119, 182, 0.09);
  stroke-width: 1;
  stroke-dasharray: 6 10;
}
.map-land {
  fill: url(#mapLandGradient);
  stroke: rgba(0, 119, 182, 0.24);
  stroke-width: 2;
  filter: drop-shadow(0 18px 24px rgba(0, 119, 182, 0.08));
}
.map-land-south,
.map-land-island {
  opacity: 0.85;
}
.office-points {
  position: absolute;
  inset: 44px 18px 8px;
  z-index: 2;
}
.office-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}
.office-pin i {
  position: relative;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid white;
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.16), 0 8px 18px rgba(0, 119, 182, 0.28);
}
.office-pin i::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(0, 119, 182, 0.2);
  border-radius: 50%;
  animation: officePulse 2.8s ease-out infinite;
}
.office-pin b {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.office-pin.pin-left b {
  left: auto;
  right: 18px;
}
.office-pin.pin-top b {
  left: 50%;
  top: auto;
  bottom: 16px;
  transform: translateX(-50%);
}
.office-pin--key i {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 214, 160, 0.18), 0 8px 20px rgba(6, 214, 160, 0.32);
}
.office-pin--key i::after {
  border-color: rgba(6, 214, 160, 0.3);
}
.office-pin--key b {
  color: var(--primary-dark);
  background: white;
}
.distribution-panel {
  display: grid;
  gap: 16px;
}
.distribution-stat-card,
.region-card {
  background: white;
  border: 1px solid rgba(0, 119, 182, 0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.distribution-stat-card {
  padding: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #eefbff 100%);
}
.distribution-stat-card div {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}
.distribution-stat-card strong {
  color: var(--primary);
  font-size: 46px;
  line-height: 1;
}
.distribution-stat-card small {
  font-size: 22px;
}
.distribution-stat-card span {
  color: var(--dark);
  font-size: 16px;
  font-weight: 700;
}
.distribution-stat-card p,
.region-card p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
}
.region-card {
  padding: 22px 24px;
  transition: all 0.3s;
}
.region-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 119, 182, 0.18);
}
.region-card h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
}
.region-card i {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary);
}
@keyframes officePulse {
  0% { opacity: 0.8; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* 企业文化 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.culture-card {
  background: white;
  padding: 40px 28px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border-top: 4px solid transparent;
}
.culture-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}
.culture-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}
.culture-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.culture-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* 资质荣誉 */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.honor-card {
  background: white;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid var(--gray-100);
}
.honor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}
.honor-card i {
  font-size: 40px;
  color: #f59e0b;
  margin-bottom: 14px;
}
.honor-card p {
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
  line-height: 1.5;
}

/* ==================== 业务领域页 ==================== */
.biz-section {
  padding: 80px 0;
}
.biz-section:nth-child(even) {
  background: var(--gray-50);
}
.biz-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.biz-row.reverse {
  direction: rtl;
}
.biz-row.reverse > * {
  direction: ltr;
}
.biz-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.biz-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.biz-content .biz-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 119, 182, 0.1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.biz-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.3;
}
.biz-content > p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
}
.biz-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.biz-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
}
.biz-features li i {
  color: var(--accent);
  font-size: 16px;
}
.biz-features a.biz-feature-link {
  color: var(--primary);
  font-weight: 700;
}
.biz-features a.biz-feature-link:hover {
  color: var(--primary-dark);
}

/* ==================== 新闻列表 ==================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.news-list-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}
.news-list-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.news-list-img {
  height: 200px;
  overflow: hidden;
}
.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.news-list-item:hover .news-list-img img {
  transform: scale(1.08);
}
.news-list-body {
  padding: 24px 28px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-list-body h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s;
}
.news-list-item:hover .news-list-body h3 {
  color: var(--primary);
}
.news-list-body p {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
}
.pagination a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: white;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--gray-300);
  transition: all 0.3s;
}
.pagination a.active,
.pagination a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.pagination a.disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}
.pagination a.disabled:hover {
  background: white;
  color: var(--gray-700);
  border-color: var(--gray-300);
}
.pagination .page-ellipsis {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 14px;
}
.news-empty {
  background: white;
  border-radius: 16px;
  margin-top: 20px;
}

/* ==================== 联系我们 ==================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
}
.contact-info-card {
  background: var(--gradient-primary);
  color: white;
  padding: 40px 36px;
  border-radius: 24px;
  height: fit-content;
}
.contact-info-card h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}
.contact-info-card > p {
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.contact-info-list li:last-child {
  border-bottom: none;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-list h5 {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 4px;
}
.contact-info-list p {
  font-size: 16px;
  font-weight: 500;
}

.contact-form-card {
  background: white;
  padding: 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.contact-form-card > p {
  color: var(--gray-500);
  margin-bottom: 28px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s;
  background: var(--gray-50);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

/* ==================== 公众号二维码卡片 ==================== */
.contact-qrcode-card {
  background: white;
  padding: 48px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-qrcode-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}
.qrcode-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(7, 193, 96, 0.1);
  color: #07c160;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}
.qrcode-badge i {
  font-size: 16px;
}
.contact-qrcode-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.contact-qrcode-card > p {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 460px;
}
.qrcode-image-wrap {
  position: relative;
  padding: 18px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef6ff 100%);
  border: 1px solid rgba(0, 119, 182, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 119, 182, 0.12);
  margin-bottom: 24px;
}
.qrcode-image {
  display: block;
  width: 260px;
  height: 260px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: white;
}
.qrcode-caption {
  margin-bottom: 20px;
}
.qrcode-brand {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.qrcode-brand sup {
  font-size: 14px;
  margin-left: 2px;
  font-weight: 700;
  -webkit-text-fill-color: var(--primary);
}
.qrcode-brand-sub {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 1px;
}
.qrcode-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: 999px;
  color: var(--gray-700);
  font-size: 13px;
}
.qrcode-hint i {
  color: var(--primary);
}

.map-box {
  margin-top: 60px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--gray-100);
  position: relative;
}
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--gray-500);
  background-image: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}
.map-placeholder i {
  font-size: 60px;
  color: var(--primary);
  margin-bottom: 16px;
}

/* ==================== Global Presence Matrix ==================== */
.footer-matrix {
  margin-top: 60px;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}
.footer-matrix__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-matrix__title{
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--dark);
}
.footer-matrix__subtitle{
  font-size: 13px;
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--gray-800);
  opacity: .9;
}
.footer-matrix__group + .footer-matrix__group{
  margin-top: 6px;
}
.footer-matrix__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-size: 14px;
  line-height: 1.6;
}
.footer-matrix__col[aria-labelledby="gp-title"] .footer-matrix__list{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 18px;
}
.footer-matrix__note{
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--gray-600);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 44px; }
  .business-grid,
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat-item:nth-child(2)::after { display: none; }
  .solution-wrap,
  .about-intro,
  .biz-row,
  .distribution-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .distribution-map { min-height: 500px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-featured { grid-row: span 1; grid-column: span 2; }
  .partners { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .culture-grid, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-matrix__grid { grid-template-columns: 1fr; }
  .footer-matrix__col[aria-labelledby="gp-title"] .footer-matrix__list{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 28px; }
  .hero { height: auto; padding: 100px 0; }
  .hero-title { font-size: 32px; }
  .hero-desc { font-size: 15px; }
  .nav-menu,
  .top-bar .links,
  .nav-contact { display: none; }
  .menu-toggle { display: block; }
  .business-grid,
  .case-grid,
  .news-grid,
  .culture-grid,
  .honor-grid { grid-template-columns: 1fr; }
  .news-featured { grid-column: span 1; }
  .partners { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .partner-item { padding: 14px 16px; border-radius: 12px; }
  .stat-number { font-size: 40px; }
  .cta-content { flex-direction: column; text-align: center; }
  .distribution-map { min-height: 430px; border-radius: 20px; }
  .distribution-map-meta { left: 16px; right: 16px; top: 16px; justify-content: space-between; }
  .distribution-map-svg,
  .office-points { inset: 58px 8px 6px; width: calc(100% - 16px); height: calc(100% - 64px); }
  .office-pin b { font-size: 10px; padding: 3px 6px; }
  .office-pin i { width: 11px; height: 11px; flex-basis: 11px; border-width: 2px; }
  .distribution-stat-card { padding: 24px; }
  .region-card { padding: 18px 20px; }
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-img { height: 200px; }
  .news-list-body { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .visitor-counter { font-size: 12px; flex-wrap: wrap; gap: 4px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .page-banner h1 { font-size: 32px; }
  .page-banner { height: 240px; }
  .contact-qrcode-card { padding: 36px 24px; }
  .contact-qrcode-card h3 { font-size: 22px; }
  .qrcode-image { width: 220px; height: 220px; }
  .qrcode-brand { font-size: 20px; }
}

/* ==================== 移动端菜单 ==================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: var(--shadow-xl);
  z-index: 2000;
  transition: right 0.3s;
  padding: 80px 24px 24px;
  overflow-y: auto;
}
.mobile-menu.show {
  right: 0;
}
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 16px;
}
.mobile-menu a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  font-weight: 500;
}
.mobile-menu a:hover {
  color: var(--primary);
}
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* AOS 兼容：未启用 AOS 时保持可见 */
[data-aos]:not(.aos-animate) {
  opacity: 1;
}

/* ==================== 产品子目录页 ==================== */
.product-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  background: var(--white);
}
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.product-table th,
.product-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.product-table th {
  background: var(--gray-50);
  color: var(--primary-dark);
  font-weight: 600;
  white-space: nowrap;
}
.product-table tbody tr:hover {
  background: rgba(0, 119, 182, 0.04);
}
.product-table td:first-child {
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
}

/* ==================== 生化废水设计工具页面 ==================== */
.bww-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}
.bww-hero-text .section-tag {
  margin-bottom: 8px;
}
.bww-hero-text h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 0 0 12px;
  color: var(--gray-900);
  line-height: 1.25;
}
.bww-hero-text p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.75;
  font-size: 15px;
}
.bww-hero-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  aspect-ratio: 16 / 10;
}
.bww-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bww-hero-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}
.bww-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 10px 0 4px;
}
.bww-preset-row > span:first-child {
  font-size: 13px;
  color: var(--gray-600);
  width: 100%;
}
@media (min-width: 600px) {
  .bww-preset-row > span:first-child {
    width: auto;
    margin-right: 4px;
  }
}
.bww-result-error {
  color: #b91c1c;
  font-size: 13px;
  margin: 0 0 10px;
  min-height: 1.2em;
}
@media (max-width: 900px) {
  .bww-hero {
    grid-template-columns: 1fr;
  }
}

/* ==================== 冷却水计算器 (Cooling Water Calculator) ==================== */
.cwc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.cwc-form {
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cwc-form fieldset {
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 18px 20px 20px;
  margin: 0;
}
.cwc-form legend {
  padding: 0 10px;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cwc-form legend i {
  color: var(--primary);
}
.cwc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin-top: 6px;
}
.cwc-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
}
.cwc-form label .cwc-unit {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(0, 119, 182, 0.08);
  border-radius: 999px;
  vertical-align: middle;
}
.cwc-form input[type="number"] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 14px;
  color: var(--gray-900);
  background: var(--gray-50);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.cwc-form input[type="number"]:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15);
}
.cwc-form input[type="number"]:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}
.cwc-form label.cwc-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.cwc-form label.cwc-check input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}
.cwc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 8px;
}
.cwc-actions .btn {
  padding: 11px 22px;
  font-size: 14px;
}
.cwc-actions .btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.cwc-result {
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px 22px;
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
.cwc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.7;
}
.cwc-empty.cwc-error {
  color: #b91c1c;
}
.cwc-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--primary-light);
  opacity: 0.7;
}
.cwc-empty.cwc-error .cwc-empty-icon {
  color: #f59e0b;
  opacity: 1;
}
.cwc-result-block {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--gray-100);
}
.cwc-result-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.cwc-result-block h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cwc-result-block h3 i {
  color: var(--primary);
}
.cwc-hint {
  color: var(--gray-500);
  font-size: 12.5px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.cwc-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cwc-kv {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cwc-kv span {
  font-size: 12px;
  color: var(--gray-500);
}
.cwc-kv strong {
  font-size: 16px;
  color: var(--gray-900);
  font-weight: 700;
  letter-spacing: 0.2px;
}
.cwc-kv strong small {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
  margin-left: 4px;
}
.cwc-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.cwc-index {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.cwc-index span {
  font-size: 12px;
  color: var(--gray-500);
}
.cwc-index strong {
  font-size: 22px;
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.2;
}
.cwc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  font-style: normal;
  line-height: 1.5;
}
.cwc-badge--scale {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}
.cwc-badge--corrosive {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
.cwc-badge--ok {
  background: rgba(6, 214, 160, 0.14);
  color: var(--accent-dark);
}
.cwc-dose-card {
  background: linear-gradient(135deg, rgba(0, 119, 182, 0.06), rgba(0, 180, 216, 0.06));
  border: 1px solid rgba(0, 119, 182, 0.18);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
}
.cwc-dose-card header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.cwc-dose-card header i {
  color: var(--primary);
}
.cwc-dose-card header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-900);
}
.cwc-dose-main {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.cwc-dose-main small {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  margin-left: 4px;
}
.cwc-dose-card .cwc-sub {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--gray-700);
}
.cwc-dose-twin {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.cwc-dose-twin .cwc-dose-card {
  margin-bottom: 0;
}
.cwc-recommend-list {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cwc-recommend-list li {
  background: var(--gray-50);
  border-left: 3px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cwc-recommend-list li strong {
  font-size: 13.5px;
  color: var(--gray-900);
  font-weight: 700;
}
.cwc-recommend-list li span {
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.6;
}
.cwc-disclaimer {
  margin-top: 26px;
  padding: 14px 18px;
  background: var(--gray-50);
  border-radius: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray-700);
  font-size: 13px;
  line-height: 1.7;
}
.cwc-disclaimer i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.cwc-disclaimer p {
  margin: 0;
}

@media (max-width: 960px) {
  .cwc-layout {
    grid-template-columns: 1fr;
  }
  .cwc-result {
    position: static;
    max-height: none;
  }
}
@media (max-width: 600px) {
  .cwc-grid,
  .cwc-kv-grid,
  .cwc-index-grid,
  .cwc-dose-twin {
    grid-template-columns: 1fr;
  }
  .cwc-form {
    padding: 22px 16px 16px;
  }
  .cwc-form fieldset {
    padding: 14px 14px 16px;
  }
  .cwc-result {
    padding: 20px 16px;
  }
  .cwc-dose-main {
    font-size: 24px;
  }
}

/* 计算器打印报告（A4 单页排版） */
.cwc-print-only {
  display: none;
}
.cwc-result-inner {
  min-height: 0;
}

@media print {
  @page {
    size: A4;
    margin: 12mm 16mm;
  }

  .no-print {
    display: none !important;
  }

  body {
    background: white !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .section {
    padding: 0 !important;
  }
  .section .container {
    max-width: 100% !important;
    padding: 0 !important;
  }

  .cwc-layout {
    display: block !important;
    gap: 0 !important;
  }

  .cwc-result-panel {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 170mm;
    margin-left: auto !important;
    margin-right: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 4mm !important;
    background: white !important;
    font-size: 9.5px;
    line-height: 1.35;
  }

  .cwc-print-only {
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    page-break-after: avoid;
  }
  .cwc-print-report-head {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
  }
  .cwc-print-logo {
    height: 38px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 0 auto;
  }
  .cwc-print-head-text {
    flex: none !important;
    min-width: 0;
    width: 100%;
    text-align: center !important;
  }
  .cwc-print-title {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
    letter-spacing: 0.02em;
  }
  .cwc-print-meta {
    margin: 0;
    font-size: 9px;
    color: #6b7280;
  }

  .cwc-result-inner .cwc-result-block {
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  .cwc-result-inner .cwc-result-block h3 {
    font-size: 10.5px !important;
    margin: 0 0 4px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  .cwc-result-inner .cwc-hint {
    font-size: 8px !important;
    margin: 0 0 4px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
  .cwc-result-inner .cwc-kv-grid {
    gap: 5px !important;
  }
  .cwc-result-inner .cwc-kv {
    padding: 5px 7px !important;
    border-radius: 6px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .cwc-result-inner .cwc-kv span {
    font-size: 7.5px !important;
  }
  .cwc-result-inner .cwc-kv strong {
    font-size: 11px !important;
  }
  .cwc-result-inner .cwc-kv strong small {
    font-size: 7px !important;
  }
  .cwc-result-inner .cwc-index-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }
  .cwc-result-inner .cwc-index {
    padding: 6px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .cwc-result-inner .cwc-index span {
    font-size: 7.5px !important;
  }
  .cwc-result-inner .cwc-index strong {
    font-size: 14px !important;
  }
  .cwc-result-inner .cwc-badge {
    font-size: 7px !important;
    padding: 2px 6px !important;
    margin-top: 2px;
  }
  .cwc-result-inner .cwc-dose-card {
    padding: 8px 10px !important;
    margin-bottom: 6px !important;
    page-break-inside: avoid;
    break-inside: avoid;
    text-align: center !important;
  }
  .cwc-result-inner .cwc-dose-card header {
    justify-content: center !important;
  }
  .cwc-result-inner .cwc-dose-card header h4 {
    font-size: 9.5px !important;
  }
  .cwc-result-inner .cwc-dose-main {
    font-size: 17px !important;
    margin-bottom: 2px !important;
  }
  .cwc-result-inner .cwc-dose-card .cwc-sub {
    text-align: center !important;
  }
  .cwc-result-inner .cwc-dose-twin {
    gap: 6px !important;
  }
  .cwc-result-inner .cwc-recommend-list {
    gap: 4px !important;
    margin-bottom: 4px !important;
  }
  .cwc-result-inner .cwc-recommend-list li {
    padding: 5px 7px !important;
    border-left: none !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .cwc-result-inner .cwc-recommend-list li strong {
    font-size: 9px !important;
  }
  .cwc-result-inner .cwc-recommend-list li span {
    font-size: 8px !important;
    line-height: 1.35 !important;
  }

  .cwc-print-disclaimer {
    display: block !important;
    margin: 8px 0 0;
    padding-top: 6px;
    border-top: 1px dashed #e5e7eb;
    font-size: 7.5px !important;
    line-height: 1.4 !important;
    color: #4b5563 !important;
    page-break-inside: avoid;
    text-align: center !important;
  }
}
