/* ===== 全局 ===== */
* { 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: #333;
  line-height: 1.8;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== 配色变量 ===== */
:root {
  --primary: #0064B9;
  --primary-dark: #004F8F;
  --primary-light: #6BBBFF;
  --primary-bg: #D6E6F7;
  --text-dark: #333333;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-gray: #F5F7FA;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(0, 100, 185, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 100, 185, 0.15);
}

/* ===== 容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 顶部导航 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
}
.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.logo-sub {
  font-size: 12px;
  color: var(--text-light);
  font-weight: normal;
  letter-spacing: 0;
}
.nav {
  display: flex;
  gap: 32px;
}
.nav a {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--primary); }
.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav a.active { color: var(--primary); }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
}
.header-phone .phone-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== Banner ===== */
.banner {
  margin-top: 72px;
  min-height: 560px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #0A75C9 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.banner::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 187, 255, 0.25) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}
.banner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}
.banner-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  animation: float 20s infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.4; }
  50% { transform: translateY(-30px) translateX(20px); opacity: 0.8; }
}
.banner-content { position: relative; z-index: 2; padding: 80px 0; }
.banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 28px;
  backdrop-filter: blur(4px);
}
.banner h1 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.banner h1 .highlight {
  background: linear-gradient(90deg, #6BBBFF, #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.banner-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  line-height: 1.9;
  margin-bottom: 40px;
}
.banner-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3); }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.5); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.8); }
.btn-dark { background: var(--primary); color: #fff; }
.btn-dark:hover { background: var(--primary-dark); transform: translateY(-2px); }
.banner-stats { display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; }
.stat-item { color: #fff; }
.stat-num { font-size: 36px; font-weight: 700; line-height: 1; }
.stat-num span { font-size: 20px; font-weight: 400; }
.stat-label { font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 8px; }

/* ===== 页面内 Banner（子页面用）===== */
.page-banner {
  margin-top: 72px;
  min-height: 280px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 187, 255, 0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.page-banner-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 40px 0; }
.page-banner h1 { font-size: 38px; font-weight: 700; margin-bottom: 12px; letter-spacing: 2px; }
.page-banner p { font-size: 15px; color: rgba(255, 255, 255, 0.75); letter-spacing: 1px; }
.breadcrumb { font-size: 13px; color: rgba(255, 255, 255, 0.6); margin-top: 16px; }
.breadcrumb a { color: var(--primary-light); }

/* ===== 通用区块 ===== */
section { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
  font-size: 32px;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 16px;
}
.section-title h2::before,
.section-title h2::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--primary);
  margin: 0 14px;
  vertical-align: middle;
  opacity: 0.5;
}
.section-title p { font-size: 15px; color: var(--text-gray); }

/* ===== 关于我们 ===== */
.about { background: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img {
  background: linear-gradient(135deg, var(--primary-bg), #fff);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-img-icon { font-size: 80px; color: var(--primary); opacity: 0.3; }
.about-img::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 2px dashed var(--primary-light);
  border-radius: 12px;
  opacity: 0.5;
}
.about-content h3 { font-size: 24px; color: var(--text-dark); margin-bottom: 20px; position: relative; padding-left: 16px; }
.about-content h3::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.about-content p { font-size: 15px; color: var(--text-gray); margin-bottom: 16px; text-align: justify; }
.about-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.about-info-item {
  background: var(--bg-gray);
  padding: 16px;
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}
.about-info-label { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.about-info-value { font-size: 14px; color: var(--text-dark); font-weight: 500; }

/* 关于我们详情页专用 */
.about-detail { background: #fff; }
.about-detail h3 { font-size: 20px; color: var(--primary); margin: 40px 0 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.about-detail h3:first-child { margin-top: 0; }
.about-detail p { font-size: 15px; color: var(--text-gray); margin-bottom: 14px; text-align: justify; }
.about-detail ul { padding-left: 20px; margin-bottom: 16px; }
.about-detail ul li { font-size: 14px; color: var(--text-gray); margin-bottom: 8px; list-style: disc; }

/* 资质卡片 */
.qualifications { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.qual-card {
  background: #fff;
  border: 1px solid var(--primary-bg);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
}
.qual-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.qual-icon { font-size: 36px; margin-bottom: 12px; }
.qual-name { font-size: 14px; color: var(--text-dark); font-weight: 600; }

/* ===== 业务范围 ===== */
.services { background: var(--bg-gray); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  transition: all 0.35s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.35s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); border-color: var(--primary-bg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 30px;
  color: var(--primary);
  transition: all 0.35s;
}
.service-card:hover .service-icon { background: var(--primary); color: #fff; transform: scale(1.08); }
.service-card h4 { font-size: 17px; color: var(--text-dark); margin-bottom: 10px; font-weight: 600; }
.service-card p { font-size: 13px; color: var(--text-gray); line-height: 1.7; }

/* 业务详情页用 */
.service-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.service-detail-row:last-child { margin-bottom: 0; }
.service-detail-row.reverse { direction: rtl; }
.service-detail-row.reverse > * { direction: ltr; }
.service-detail-img {
  background: linear-gradient(135deg, var(--primary-bg), #fff);
  border-radius: 16px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--primary);
  opacity: 0.4;
}
.service-detail-text h3 { font-size: 22px; color: var(--text-dark); margin-bottom: 16px; }
.service-detail-text p { font-size: 15px; color: var(--text-gray); margin-bottom: 14px; }
.service-detail-features { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.service-detail-features span {
  background: var(--primary-bg);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

/* ===== 案例展示 ===== */
.cases { background: var(--bg-gray); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.35s;
  cursor: pointer;
}
.case-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.case-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--primary-bg), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary);
  opacity: 0.4;
}
.case-info { padding: 24px; }
.case-tag {
  display: inline-block;
  background: var(--primary-bg);
  color: var(--primary-dark);
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.case-info h4 { font-size: 16px; color: var(--text-dark); margin-bottom: 8px; font-weight: 600; }
.case-info p { font-size: 13px; color: var(--text-gray); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== 新闻资讯 ===== */
.news { background: #fff; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  transition: all 0.3s;
  cursor: pointer;
}
.news-item:hover { box-shadow: var(--shadow); border-color: var(--primary-bg); transform: translateY(-2px); }
.news-date {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}
.news-date .day { font-size: 36px; font-weight: 700; line-height: 1; }
.news-date .month { font-size: 13px; margin-top: 6px; opacity: 0.85; }
.news-content h4 { font-size: 17px; color: var(--text-dark); margin-bottom: 10px; font-weight: 600; transition: color 0.2s; }
.news-item:hover .news-content h4 { color: var(--primary); }
.news-content p { font-size: 14px; color: var(--text-gray); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.news-content .more { font-size: 13px; color: var(--primary); font-weight: 500; }
.news-content .more::after { content: ' →'; transition: margin 0.2s; }
.news-item:hover .news-content .more::after { margin-left: 4px; }

/* ===== 联系我们 ===== */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  padding: 48px 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -100px;
  right: -100px;
}
.contact-info-card h3 { font-size: 22px; margin-bottom: 28px; position: relative; }
.contact-list { position: relative; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item-label { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin-bottom: 4px; }
.contact-item-value { font-size: 15px; color: #fff; }
.contact-form { background: var(--bg-gray); border-radius: 16px; padding: 40px; }
.contact-form h3 { font-size: 20px; color: var(--text-dark); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; color: var(--text-gray); margin-bottom: 8px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E0E4EA;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  background: var(--primary);
  color: #fff;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.btn-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ===== CTA区块 ===== */
.cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.cta h3 { font-size: 32px; margin-bottom: 16px; position: relative; }
.cta p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; position: relative; }
.cta .btn-outline { position: relative; }

/* ===== 分页 ===== */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}
.pagination a { background: #fff; color: var(--text-dark); border: 1px solid #eee; }
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination .current { background: var(--primary); color: #fff; }

/* ===== 底部 ===== */
.footer { background: #2B2E33; color: #fff; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand h4 { font-size: 18px; margin-bottom: 16px; color: #fff; }
.footer-brand p { font-size: 13px; color: rgba(255, 255, 255, 0.6); line-height: 1.9; margin-bottom: 16px; }
.footer-col h5 { font-size: 15px; margin-bottom: 20px; color: #fff; font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 13px; color: rgba(255, 255, 255, 0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.copyright { font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.beian { display: flex; gap: 20px; flex-wrap: wrap; }
.beian a { font-size: 13px; color: rgba(255, 255, 255, 0.45); transition: color 0.2s; }
.beian a:hover { color: var(--primary-light); }

/* ===== 返回顶部 ===== */
.back-top {
  position: fixed;
  /* 为页脚备案号预留空间，避免悬浮按钮遮挡号码和链接。 */
  bottom: 96px;
  right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-hover);
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  border: none;
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { transform: translateY(-3px); background: var(--primary-dark); }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .banner h1 { font-size: 42px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .qualifications { grid-template-columns: repeat(2, 1fr); }
  .service-detail-row { grid-template-columns: 1fr; gap: 24px; }
  .service-detail-row.reverse { direction: ltr; }
}
@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav, .header-phone { display: none; }
  .hamburger { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px; gap: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .banner { min-height: auto; padding: 40px 0; }
  .banner h1 { font-size: 32px; letter-spacing: 1px; }
  .banner-desc { font-size: 15px; }
  .banner-stats { gap: 28px; margin-top: 40px; }
  .stat-num { font-size: 28px; }
  .page-banner { min-height: 200px; }
  .page-banner h1 { font-size: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-title h2 { font-size: 26px; }
  .section-title h2::before, .section-title h2::after { width: 20px; margin: 0 8px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cases-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-date { aspect-ratio: auto; padding: 20px; flex-direction: row; gap: 12px; }
  .news-date .day { font-size: 28px; }
  .cta h3 { font-size: 24px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .banner h1 { font-size: 26px; }
  .btn { padding: 12px 24px; font-size: 14px; }
  .header .container { height: 60px; }
  .banner { margin-top: 60px; }
  .page-banner { margin-top: 60px; }
  .qualifications { grid-template-columns: 1fr 1fr; }
}
