:root {
  --primary-color: #0a2540;
  --accent-color: #f27d26;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #eeeeee;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
}

.logo-icon {
  /* background: var(--primary-color); */
  width: 65px;
  height: auto;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 5px;
}

.nav-links a {
  padding: 8px 15px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #3b82f6;
  background: #eff6ff;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
}

/* Hero 区域 */
.hero {
  position: relative;
  height: 600px;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* opacity: 0.4; */
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary-color) 0%, rgba(10, 37, 64, 0.6) 50%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
  left: -150px;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 800;
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 35px;
  border-radius: 6px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background: #e66a15;
  transform: translateY(-2px);
}

/* 服务项目 */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.section-title .line {
  width: 60px;
  height: 4px;
  background: #3b82f6;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  text-align: center;
  padding: 40px;
  border-radius: 15px;
  transition: var(--transition);
}

.service-card:hover {
  background: #f0f7ff;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #3b82f6;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: #3b82f6;
  color: var(--white);
}

/* 操作流程 */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
}

.process-steps::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #f1f5f9;
  z-index: -1;
}

.step {
  text-align: center;
  flex: 1;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 新闻动态 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.news-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.news-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.news-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* 页脚 */
footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 25px;
}

.footer-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--white);
}

.contact-info li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
  white-space: nowrap;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 微信/QQ二维码样式 */
.qrcode-container {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.qrcode-img {
  /* width: 100px;
  height: 100px; */
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  object-fit: cover;
}

.qrcode-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.copyright .icon-beian {
  background: url("/wp-content/themes/xzyky/assets/images/beian.png") no-repeat 0 0;
  background-size: auto;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  background-size: cover;
  display: inline-block;
  margin-right: 1px;
  margin-top: -4px;
}

/* 辅助类 */
.bg-light {
  background-color: var(--bg-light);
}
.text-center {
  text-align: center;
}
.mb-20 {
  margin-bottom: 20px;
}
.mt-40 {
  margin-top: 40px;
}

/* 阴影变体 */
.shadow-lg {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

/* 列表样式 */
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.check-list .icon {
  color: #3b82f6;
  flex-shrink: 0;
}

/* 页面头部通用样式 */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1e40af 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 42px;
  margin-bottom: 15px;
  font-weight: 800;
}
.page-header p {
  font-size: 18px;
  opacity: 0.8;
}

/* 响应式补充 */
@media (max-width: 768px) {
  .page-header h1 {
    font-size: 32px;
  }
  .page-header {
    padding: 60px 0;
  }
  .services-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero {
    height: 500px;
  }
  .hero-content {
    left: 0;
  }
  .services-grid,
  .news-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    flex-direction: column;
    gap: 40px;
  }
  .process-steps::before {
    display: none;
  }
  .qrcode-container {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .qrcode-img {
    width: 80px;
    height: 80px;
  }
}
