/* ========== 全局重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #27ae60;
  --primary-dark: #1e8449;
  --primary-light: #2ecc71;
  --accent: #f39c12;
  --accent-light: #f5b041;
  --text: #2c3e2d;
  --text-light: #5a6b5c;
  --bg: #ffffff;
  --bg-gray: #f0f7f2;
  --bg-dark: #1a2e1a;
  --border: #d5e8d5;
  --shadow: 0 4px 16px rgba(39, 174, 96, 0.08);
  --shadow-lg: 0 10px 36px rgba(39, 174, 96, 0.14);
  --radius: 14px;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
}

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

ul, ol {
  list-style: none;
}

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

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

/* ========== 顶部导航 ========== */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(39, 174, 96, 0.06);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(39, 174, 96, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  position: relative;
  overflow: hidden;
}

/* 叶子装饰 - Logo图标上 */
.logo-icon::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
}

.logo-text h1 {
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.2;
}

.logo-text p {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 18px;
  font-size: 15px;
  color: var(--text);
  border-radius: 10px;
  font-weight: 500;
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: rgba(39, 174, 96, 0.08);
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 16px;
}

.header-phone svg {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== Banner区域 ========== */
.banner {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 40%, var(--primary-light) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}

/* 叶子纹理背景 */
.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}

/* 波浪底部装饰 */
.banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  z-index: 3;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.banner-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.banner-content h2 span {
  color: var(--accent);
}

.banner-content p {
  font-size: 18px;
  opacity: 0.92;
  margin-bottom: 32px;
  line-height: 1.8;
}

.banner-btns {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 156, 18, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

/* 叶子装饰元素 */
.banner-decoration {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  z-index: 1;
}

/* 大叶子形状 */
.banner-decoration::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  animation: leafFloat 8s ease-in-out infinite;
}

/* 小叶子形状 */
.banner-decoration::after {
  content: '';
  position: absolute;
  top: 80px;
  left: 80px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
  animation: leafFloat 6s ease-in-out infinite reverse;
}

@keyframes leafFloat {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(5deg) scale(1.05); }
}

/* ========== 通用标题区 ========== */
.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 32px;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title p {
  font-size: 16px;
  color: var(--text-light);
}

.section-title .line {
  display: inline-block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin-top: 16px;
}

/* ========== 服务区域 ========== */
.section {
  padding: 80px 0;
  position: relative;
}

.section-gray {
  background: var(--bg-gray);
  position: relative;
}

/* section绿色淡背景叶脉装饰 */
.section-gray::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath fill='%23f0f7f2' d='M0,20 C240,0 480,40 720,20 C960,0 1200,40 1440,20 L1440,40 L0,40 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

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

.service-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

/* 服务卡片顶部绿色渐变条 */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(39, 174, 96, 0.15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
}

/* 图标右下角叶子装饰 */
.service-icon::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
}

.service-icon svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

.service-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}

.service-card:hover .more {
  color: var(--accent);
}

/* ========== 数据统计区 ========== */
.stats {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

/* 统计区叶子背景装饰 */
.stats::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

.stats::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-item h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-item h3 span {
  font-size: 20px;
  font-weight: 400;
}

.stat-item p {
  font-size: 16px;
  opacity: 0.85;
}

/* ========== 关于简介区 ========== */
.about-brief {
  display: flex;
  gap: 60px;
  align-items: center;
}

.about-img {
  flex: 1;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-gray);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  position: relative;
}

/* 图片区域角落叶子装饰 */
.about-img::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light), transparent);
  border-radius: 0 0 50% 0;
  opacity: 0.3;
  z-index: 1;
}

.about-info {
  flex: 1;
  min-width: 0;
}

.about-info h2 {
  font-size: 30px;
  color: var(--primary-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.about-info p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.about-tags span {
  padding: 8px 18px;
  background: rgba(39, 174, 96, 0.08);
  color: var(--primary-dark);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(39, 174, 96, 0.12);
}

/* ========== 案例展示 ========== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--bg);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.case-img {
  height: 220px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
  overflow: hidden;
  position: relative;
}

/* 案例图片覆盖层 */
.case-card:hover .case-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(39, 174, 96, 0.08);
}

.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-info {
  padding: 22px;
}

.case-info h3 {
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.case-info p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.case-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(39, 174, 96, 0.08);
  color: var(--primary);
  border-radius: 6px;
  font-size: 12px;
  margin-top: 12px;
  font-weight: 500;
}

/* ========== 新闻列表 ========== */
.news-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-card .news-img {
  height: 180px;
  background: var(--bg-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-light);
}

.news-card .news-body {
  padding: 22px;
}

.news-card .news-date {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
  font-weight: 500;
}

.news-card h3 {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 600;
  line-height: 1.5;
}

.news-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 联系区域 ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-item .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item .icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.contact-item h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  background: var(--bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.contact-form textarea {
  height: 120px;
  resize: vertical;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ========== 页面Banner（子页面） ========== */
.page-banner {
  margin-top: 80px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-light));
  color: #fff;
  padding: 65px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* 波浪底部 */
.page-banner::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23ffffff' d='M0,25 C360,50 720,0 1080,25 C1260,38 1380,30 1440,25 L1440,50 L0,50 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
  z-index: 3;
}

/* 叶子背景装饰 */
.page-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
}

.page-banner h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.page-banner .breadcrumb {
  font-size: 14px;
  opacity: 0.8;
  position: relative;
  z-index: 2;
}

.page-banner .breadcrumb a {
  color: rgba(255,255,255,0.8);
}

.page-banner .breadcrumb a:hover {
  color: #fff;
}

/* ========== 服务详情 ========== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-img {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-gray);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
}

.service-detail-info h3 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.service-detail-info p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 12px;
}

.service-detail-info ul {
  margin-top: 16px;
}

.service-detail-info ul li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
}

/* 列表项前的叶子标记 */
.service-detail-info ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  background: var(--primary-light);
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
}

/* ========== 优势区域 ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.advantage-card:hover::after {
  opacity: 1;
}

.advantage-card .num {
  font-size: 48px;
  font-weight: 700;
  color: rgba(39, 174, 96, 0.08);
  margin-bottom: -10px;
}

.advantage-card h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========== 团队/资质 ========== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cert-item {
  background: var(--bg);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.cert-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cert-item .cert-img {
  height: 140px;
  background: var(--bg-gray);
  border-radius: 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-light);
}

.cert-item p {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

/* ========== 时间线 ========== */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary-light), var(--border));
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.timeline-item h4 {
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.timeline-item .year {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== 底部 ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

/* 页脚顶部波浪 */
.footer::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23f0f7f2' d='M0,25 C360,0 720,50 1080,25 C1260,12 1380,20 1440,25 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top center;
  background-size: cover;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-brand h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.7;
}

.footer h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-contact p {
  font-size: 14px;
  padding: 4px 0;
  opacity: 0.7;
}

.footer-contact .phone {
  font-size: 20px;
  color: var(--primary-light);
  font-weight: 600;
  opacity: 1;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 13px;
  opacity: 0.5;
  position: relative;
  z-index: 2;
}

.footer-bottom a {
  color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
  color: var(--primary-light);
}

/* ========== 回到顶部 ========== */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(39, 174, 96, 0.3);
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

/* ========== 咨询浮窗 ========== */
.float-consult {
  position: fixed;
  right: 24px;
  bottom: 80px;
  z-index: 999;
}

.float-consult a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 12px 22px;
  border-radius: 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(39, 174, 96, 0.3);
  transition: var(--transition);
}

.float-consult a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(39, 174, 96, 0.4);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cases-grid,
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header .container {
    height: 64px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.1);
    gap: 4px;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 16px;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .header-phone {
    display: none;
  }

  .banner {
    min-height: 420px;
    margin-top: 64px;
  }

  .banner-content h2 {
    font-size: 28px;
  }

  .banner-content p {
    font-size: 15px;
  }

  .banner-decoration {
    display: none;
  }

  .page-banner {
    margin-top: 64px;
    padding: 40px 0 50px;
  }

  .page-banner h2 {
    font-size: 26px;
  }

  .section {
    padding: 50px 0;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .services-grid,
  .cases-grid,
  .news-list,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item h3 {
    font-size: 36px;
  }

  .about-brief {
    flex-direction: column;
    gap: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }

  .banner-btns {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .section-gray::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .logo-text h1 {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }
}
