/* ==========================================================
   捷胜国际环保（香港）· UI 增强版
   基于原版优化，保持现有结构，提升视觉细节
   ========================================================== */

:root {
  /* 优化后的配色 - 更饱和、更有层次 */
  --white:     #ffffff;
  --bg:        #f8f9f7;              /* 更亮的背景 */
  --bg-alt:    #f0f2ef;              /* 稍微深一点的备用背景 */
  --text:      #1a1a1a;
  --text-2:    #4a5568;              /* 更深的次级文字（提升可读性） */
  --text-3:    #94a3b8;              /* 更柔和的弱化文字 */
  --border:    #e2e8f0;              /* 更柔和的边框 */
  --green:     #0f7d4f;              /* 更鲜艳的主绿色 */
  --green-dk:  #0d5c3a;              /* 更深的深绿 */
  --green-bg:  #ecfdf5;              /* 更淡的绿色背景 */
  --green-hover: #10b981;            /* 悬停高亮绿 */

  /* 新增阴影系统 */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

  /* 过渡曲线 */
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;              /* 增加行高，更易读 */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ---------- 跳转导航（无障碍） ---------- */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  padding: 12px 24px; background: var(--green); color: #fff;
  font-size: 14px; font-weight: 600; border-radius: 0 0 8px 8px;
  z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

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

/* ---------- 导航 - 增强版玻璃效果 ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);      /* 稍微降低透明度 */
  backdrop-filter: blur(16px) saturate(180%); /* 增加饱和度 */
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s var(--ease-out);
}
.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 70px; /* 增加2px高度 */
}

.nav-logo {
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 17px;
  transition: transform 0.2s var(--ease-out);
}
.nav-logo:hover {
  transform: translateY(-1px);
}

.nav-logo .logo-icon {
  width: 38px; height: 38px;                  /* 增加2px */
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%); /* 渐变 */
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;          /* 加粗 */
  border-radius: 8px;                         /* 更圆 */
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.nav-logo:hover .logo-icon {
  transform: scale(1.05);
  box-shadow: var(--shadow-sm);
}

.nav-links { display: flex; align-items: center; gap: 8px; } /* 缩小间距，视觉更紧凑 */

.nav-links > a,
.nav-dropdown > .nav-drop-trigger {
  font-size: 14px;
  font-weight: 500;                           /* 加粗 */
  color: var(--text-2);
  padding: 8px 16px;                          /* 增加内边距 */
  border-radius: 8px;                         /* 圆角 */
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}

.nav-links > a:hover,
.nav-dropdown:hover > .nav-drop-trigger {
  color: var(--green);
  background: var(--green-bg);                /* 悬停背景 */
}

.nav-links > a.active {
  color: var(--green);
  font-weight: 600;
  background: var(--green-bg);
}

.nav-tel {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;                         /* 增加内边距 */
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%); /* 渐变 */
  color: #fff !important;
  font-size: 14px; font-weight: 600;
  border-radius: 8px;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease-out);
}
.nav-tel:hover {
  background: linear-gradient(135deg, var(--green-dk) 0%, var(--green) 100%);
  transform: translateY(-2px);                /* 上浮 */
  box-shadow: var(--shadow-md);
}
.nav-tel svg { width: 16px; height: 16px; }

/* 下拉菜单 - 增强版 */
.nav-dropdown { position: relative; }
.nav-drop-trigger {
  display: inline-flex; align-items: center; gap: 4px;
  background: none; border: none; font-family: inherit;
}
.nav-drop-trigger .chevron {
  width: 14px; height: 14px;
  transition: transform 0.25s var(--ease-spring);
}
.nav-dropdown:hover .chevron { transform: rotate(180deg); }

.dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 200px;                           /* 增加宽度 */
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;                        /* 更圆 */
  box-shadow: var(--shadow-lg);               /* 更深的阴影 */
  padding: 8px;                               /* 增加内边距 */
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  transform: translateX(-50%) translateY(8px);
  margin-top: 12px;
}
.nav-dropdown:hover .dropdown-panel {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 12px 16px;                         /* 增加内边距 */
  font-size: 14px;
  color: var(--text-2);
  border-radius: 8px;                         /* 圆角 */
  transition: all 0.15s var(--ease-out);
  white-space: nowrap;
}
.dropdown-panel a:hover {
  background: var(--green-bg);
  color: var(--green);
  transform: translateX(3px);                 /* 向右移动 */
}

/* 移动菜单 */
.menu-toggle {
  display: none; background: none; border: none;
  cursor: pointer; color: var(--text);
  padding: 8px;
  border-radius: 8px;
  transition: all 0.2s;
}
.menu-toggle:hover {
  background: var(--bg);
}
.menu-toggle svg { width: 24px; height: 24px; }

.mobile-menu {
  display: none; position: fixed; inset: 0; background: var(--white);
  z-index: 99; padding: 90px 24px 24px; flex-direction: column; gap: 0;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-menu > a, .mobile-menu > .m-sub-title {
  display: block; padding: 18px 16px;          /* 增加内边距 */
  font-size: 18px; font-weight: 500;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;                          /* 圆角 */
  transition: all 0.2s;
}
.mobile-menu > a:hover {
  background: var(--bg);
}

.mobile-menu .m-sub-title {
  color: var(--text-3); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 24px 16px 8px; border-bottom: none;
}

.mobile-menu .m-sub-link {
  display: block; padding: 14px 16px 14px 32px; /* 增加缩进 */
  font-size: 17px; font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  border-radius: 8px;
  transition: all 0.2s;
}
.mobile-menu .m-sub-link:hover {
  background: var(--bg);
  padding-left: 36px;
}

.mobile-menu .m-tel {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 24px;                          /* 增加内边距 */
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  color: #fff;
  font-size: 18px; font-weight: 600;
  border-radius: 12px;                         /* 更圆 */
  border-bottom: none;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
}

/* ---------- Hero - 增强版 ---------- */
.hero {
  padding: 130px 0 90px;                       /* 增加顶部间距 */
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 40%, var(--green-bg) 100%);
  position: relative;
  overflow: hidden;
}

/* 添加装饰性背景圆圈 */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(15, 125, 79, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 72px; } /* 增加间距 */
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);           /* 增大最大字号 */
  font-weight: 800;
  line-height: 1.15;                           /* 收紧行高 */
  letter-spacing: -0.02em;                     /* 负字间距 */
  margin-bottom: 24px;                         /* 增加底部间距 */
}

.hero h1 .green {
  color: transparent;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .sub {
  font-size: 18px;                             /* 增大字号 */
  color: var(--text-2);
  line-height: 1.8;                            /* 增加行高 */
  margin-bottom: 32px;
  max-width: 560px;                            /* 增加最大宽度 */
}

.hero .sub a {
  color: var(--green);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: all 0.2s;
}
.hero .sub a:hover {
  color: var(--green-hover);
  text-decoration-thickness: 2px;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; } /* 增加间距 */

/* ---------- 按钮系统 - 增强版 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  border-radius: 10px;                         /* 更圆 */
  border: none; cursor: pointer;
  transition: all 0.25s var(--ease-out);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

/* 微光效果 */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn svg {
  width: 18px; height: 18px;                   /* 增大图标 */
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-spring);
  position: relative;
  z-index: 1;
}
.btn:hover svg { transform: translateX(4px); } /* 增加移动距离 */

.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-green:hover {
  transform: translateY(-2px);                 /* 上浮 */
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--border);             /* 加粗边框 */
}
.btn-outline:hover {
  border-color: var(--green);
  background: var(--green-bg);
  transform: translateY(-2px);
}

/* ---------- Hero 右侧服务预览 - 增强版 ---------- */
.hero-preview {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; /* 增加间距 */
}

.preview-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;                         /* 更圆 */
  padding: 24px 20px;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

/* 顶部渐变条 */
.preview-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green-hover) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.preview-card:hover {
  border-color: var(--green);
  transform: translateY(-6px);                 /* 增加上浮距离 */
  box-shadow: var(--shadow-lg);                /* 更深阴影 */
}
.preview-card:hover::before {
  transform: scaleX(1);
}

.preview-card .pc-icon {
  width: 48px; height: 48px;                   /* 增大图标 */
  background: var(--green-bg);
  border-radius: 12px;                         /* 更圆 */
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s var(--ease-spring);
}
.preview-card:hover .pc-icon {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  transform: scale(1.08) rotate(3deg);         /* 缩放 + 旋转 */
}

.preview-card .pc-icon svg {
  width: 24px; height: 24px;
  color: var(--green);
  transition: color 0.3s;
}
.preview-card:hover .pc-icon svg {
  color: white;
}

.preview-card .pc-title {
  font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}

.preview-card .pc-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;                            /* 增加行高 */
  margin-bottom: 0.5rem;
}

.preview-card .pc-arrow {
  position: absolute; bottom: 20px; right: 20px;
  width: 32px; height: 32px;                   /* 增大 */
  border-radius: 50%;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: translateX(-8px);                 /* 初始位置向左 */
  transition: all 0.3s var(--ease-out);
}
.preview-card:hover .pc-arrow {
  opacity: 1;
  transform: translateX(0);                    /* 滑入 */
}

.preview-card .pc-arrow svg {
  width: 16px; height: 16px;
  color: var(--green);
}

/* ---------- 数字条 - 增强版 ---------- */
.nums {
  padding: 64px 0;                             /* 增加内边距 */
  background: linear-gradient(135deg, var(--green-dk) 0%, var(--green) 100%); /* 渐变 */
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* 装饰圆圈 */
.nums::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.nums::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -5%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.nums-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) { .nums-grid { grid-template-columns: repeat(4, 1fr); } }

.num-item { text-align: center; }
.num-item .n {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.num-item .n small { font-size: 0.45em; font-weight: 500; opacity: 0.8; }
.num-item .t { font-size: 14px; opacity: 0.85; margin-top: 10px; line-height: 1.5; }

/* ---------- 区块通用 ---------- */
.section { padding: 90px 0; }                  /* 增加内边距 */
.section.alt { background: var(--bg-alt); }

.section-head { margin-bottom: 56px; }         /* 增加底部间距 */
.section-head h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.8;
}

/* 居中变体 */
.section-head.center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- 服务详情（左右大模块） ---------- */
.svc-block {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  align-items: center; padding: 64px 0;        /* 增加内边距 */
  border-top: 1px solid var(--border);
}
@media (min-width: 900px) {
  .svc-block { grid-template-columns: 1fr 1fr; gap: 72px; }
  .svc-block.flip .svc-img { order: 2; }
  .svc-block.flip .svc-info { order: 1; }
}

.svc-img {
  border-radius: 16px;                         /* 更圆 */
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out);
}
.svc-img:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.svc-img img {
  width: 100%; height: auto;
  transition: transform 0.4s var(--ease-out);
}
.svc-img:hover img { transform: scale(1.03); }

.svc-info h3 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.svc-info p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 24px;
}
.svc-info .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.svc-info .tag {
  padding: 7px 16px;
  font-size: 13px;
  background: var(--green-bg);
  color: var(--green-dk);
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.2s var(--ease-out);
}
.svc-info .tag:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

/* ---------- 流程 ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;                         /* 更圆 */
  padding: 32px 24px;
  position: relative;
  transition: all 0.3s var(--ease-out);
}
.step-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-card .s-num {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  color: #fff; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
}
.step-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---------- 客户类型 ---------- */
.aud-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .aud-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .aud-grid { grid-template-columns: repeat(4, 1fr); } }

.aud-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s var(--ease-out);
}
.aud-card:hover {
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.aud-card .ac-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--green-bg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: all 0.3s var(--ease-spring);
}
.aud-card:hover .ac-icon {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  transform: scale(1.05);
}
.aud-card .ac-icon svg { width: 26px; height: 26px; color: var(--green); transition: color 0.3s; }
.aud-card:hover .ac-icon svg { color: #fff; }
.aud-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.aud-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }

/* ---------- CTA 横幅 - 增强版 ---------- */
.cta-bar {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--green-dk) 0%, var(--green) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-bar::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-inner {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.2fr 0.8fr; } }
.cta-bar h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-bar p { font-size: 16px; opacity: 0.9; line-height: 1.8; }
.cta-right { display: flex; flex-direction: column; gap: 20px; }
.cta-tel {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
}
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-white {
  background: #fff;
  color: var(--green-dk);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: var(--green-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- 页脚 ---------- */
.site-footer {
  padding: 72px 0 32px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 56px; } }
.footer-brand {
  font-size: 17px; font-weight: 700; margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.footer-brand .logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  border-radius: 8px;
}
.footer-col h5 {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-2);
  padding: 5px 0; transition: all 0.2s var(--ease-out);
}
.footer-col a:hover { color: var(--green); padding-left: 4px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--text-3);
}

/* ---------- 滚动入场 ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- 选中态 ---------- */
::selection { background: var(--green); color: #fff; }

/* ---------- 导航激活 ---------- */
.nav-links > a.active,
.nav-drop-trigger.active { color: var(--green) !important; font-weight: 600; }

/* ---------- 子页面页头 ---------- */
.page-header {
  padding: 130px 0 64px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 40%, var(--green-bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -3%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(15, 125, 79, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header h1 {
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  position: relative;
}
.page-header p {
  font-size: 17px; color: var(--text-2);
  max-width: 640px; line-height: 1.8;
  position: relative;
}

/* ---------- 服务卡片网格（services.html） ---------- */
.svc-cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }
.svc-card-v {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
}
.svc-card-v:hover {
  border-color: var(--green);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.svc-card-v img {
  width: 100%; height: 200px; object-fit: cover; background: var(--bg);
  transition: transform 0.4s var(--ease-out);
}
.svc-card-v:hover img { transform: scale(1.05); }
.svc-card-v h3 { font-size: 20px; font-weight: 700; padding: 24px 24px 0; }
.svc-card-v p { font-size: 14px; color: var(--text-2); line-height: 1.7; padding: 12px 24px 0; flex: 1; }
.svc-card-v .card-link {
  display: flex; align-items: center; gap: 6px;
  padding: 20px 24px; font-size: 14px;
  color: var(--green); font-weight: 600;
  transition: gap 0.2s;
}
.svc-card-v:hover .card-link { gap: 12px; }

/* ---------- 详情布局（detail pages） ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .detail-layout { grid-template-columns: 1fr 320px; } }
.detail-main h2 {
  font-size: 23px; font-weight: 700;
  margin: 40px 0 16px; padding-bottom: 12px;
  border-bottom: 2px solid var(--green-bg);
}
.detail-main h2:first-of-type { margin-top: 24px; }
.detail-main p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.detail-illust {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.detail-illust img { width: 100%; height: auto; }
.detail-cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Check list */
.check-list { list-style: none; padding: 0; margin: 0 0 16px; }
.check-list li {
  position: relative; padding: 9px 0 9px 30px;
  font-size: 16px; color: var(--text-2); line-height: 1.7;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px;
  background: var(--green);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* Step list (ordered) */
.step-list { list-style: none; counter-reset: step; padding: 0; margin: 0 0 16px; }
.step-list li {
  position: relative; padding: 11px 0 11px 38px;
  font-size: 16px; color: var(--text-2); line-height: 1.7;
  counter-increment: step;
}
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 10px;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-hover) 100%);
  color: #fff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}

/* Sidebar cards */
.detail-side { display: flex; flex-direction: column; gap: 20px; }
.side-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  box-shadow: var(--shadow-xs);
}
.side-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.side-card a {
  display: block; font-size: 14px; color: var(--green);
  padding: 7px 0; font-weight: 500; transition: all 0.2s;
}
.side-card a:hover { color: var(--green-dk); padding-left: 4px; }
.side-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-top: 4px; }
.big-tel {
  display: block; font-size: 24px; font-weight: 800;
  color: var(--green); letter-spacing: 0.01em;
}

/* ---------- 联系页网格 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 380px; } }
.contact-main h2 { font-size: 28px; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.01em; }
.contact-main > p { font-size: 16px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.contact-side { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: all 0.3s var(--ease-out);
}
.contact-card:hover { box-shadow: var(--shadow-sm); }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.contact-card p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.contact-card .big-tel { margin-bottom: 8px; }
.contact-card .tag {
  display: inline-block; padding: 7px 16px; font-size: 13px;
  background: var(--green-bg); color: var(--green-dk);
  border-radius: 8px; font-weight: 500; transition: all 0.2s;
}
.contact-card .tag:hover { background: var(--green); color: #fff; }

/* ---------- 新闻列表 ---------- */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: grid; grid-template-columns: 1fr; gap: 20px;
  padding: 32px 0; border-bottom: 1px solid var(--border);
  transition: all 0.2s var(--ease-out);
}
@media (min-width: 640px) { .news-item { grid-template-columns: 200px 1fr; gap: 28px; } }
.news-item:first-child { padding-top: 0; }
.news-item:hover { background: var(--bg); border-radius: 12px; padding-left: 16px; padding-right: 16px; }
.news-thumb {
  width: 100%; height: 140px; border-radius: 12px;
  background: var(--bg); border: 1px solid var(--border);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease-out); }
.news-item:hover .news-thumb img { transform: scale(1.05); }
.news-thumb .thumb-placeholder { font-size: 32px; color: var(--green); opacity: 0.3; }
.news-body { display: flex; flex-direction: column; justify-content: center; }
.news-date { font-size: 13px; color: var(--text-3); margin-bottom: 6px; }
.news-body h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  line-height: 1.45; transition: color 0.2s;
}
.news-item:hover .news-body h3 { color: var(--green); }
.news-body p { font-size: 14px; color: var(--text-2); line-height: 1.7; }
.news-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.news-tags span {
  padding: 4px 12px; font-size: 12px; background: var(--green-bg);
  color: var(--green-dk); border-radius: 6px; font-weight: 500;
}

/* ---------- 文章正文 ---------- */
.article-layout { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 900px) { .article-layout { grid-template-columns: 1fr 320px; } }
.article-main { max-width: 100%; }
.article-meta {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.article-meta .meta-date { font-size: 14px; color: var(--text-3); }
.article-meta .meta-tag {
  padding: 5px 14px; font-size: 12px; background: var(--green-bg);
  color: var(--green-dk); border-radius: 6px; font-weight: 500;
}
.article-content h2 {
  font-size: 23px; font-weight: 700; margin: 36px 0 14px;
  padding-bottom: 10px; border-bottom: 2px solid var(--green-bg);
}
.article-content h3 { font-size: 19px; font-weight: 700; margin: 28px 0 12px; }
.article-content p { font-size: 16px; color: var(--text-2); line-height: 1.85; margin-bottom: 16px; }
.article-content ul, .article-content ol {
  margin: 0 0 16px 20px; color: var(--text-2); font-size: 16px; line-height: 1.85;
}
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--green); background: var(--green-bg);
  padding: 18px 22px; margin: 24px 0; border-radius: 0 12px 12px 0;
  font-size: 16px; color: var(--text); line-height: 1.75;
}
.article-nav {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.article-nav a { font-size: 14px; color: var(--green); font-weight: 500; transition: color 0.2s; }
.article-nav a:hover { color: var(--green-dk); }

.news-item--compact:hover { background: var(--bg); padding-left: 0.5rem; }
.news-item--compact .news-date {
  flex-shrink: 0; font-size: 0.85rem; color: var(--text-3); min-width: 6rem;
}
.news-item--compact h3 {
  margin: 0; font-size: 1rem; font-weight: 500; color: var(--text); line-height: 1.45;
}
.news-item--compact:hover h3 { color: var(--green); }

/* === News Feed === */
.nf-grid5 {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 40px;
}
@media (min-width: 768px) {
  .nf-grid5 { grid-template-columns: repeat(3, 1fr); }
  .nf-grid5 .nf-thumb-card:first-child { grid-column: span 2; }
  .nf-grid5 .nf-thumb-card:first-child .nf-thumb-card__img { height: 180px; }
}
@media (min-width: 1024px) {
  .nf-grid5 { grid-template-columns: repeat(5, 1fr); }
  .nf-grid5 .nf-thumb-card:first-child { grid-column: span 1; }
  .nf-grid5 .nf-thumb-card:first-child .nf-thumb-card__img { height: 120px; }
}
.nf-thumb-card {
  display: block; border-radius: 12px; overflow: hidden;
  text-decoration: none; color: inherit;
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease-out); background: #fff;
}
.nf-thumb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.nf-thumb-card__img { width: 100%; height: 120px; overflow: hidden; background: var(--bg); }
.nf-thumb-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.nf-thumb-card:hover .nf-thumb-card__img img { transform: scale(1.06); }
.nf-thumb-ph { width: 100%; height: 100%; background: linear-gradient(135deg, #f8f9fa 0%, var(--green-bg) 100%); }
.nf-thumb-card__info { padding: 12px 14px 14px; }
.nf-thumb-card__info h3 {
  font-size: 13px; font-weight: 600; line-height: 1.45; margin: 0 0 4px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.nf-thumb-card:hover h3 { color: var(--green); }
.nf-thumb-card__date { font-size: 11px; color: var(--text-3); }

.nf-more { border-top: 1px solid var(--border); padding-top: 24px; }
.nf-more__title {
  font-size: 15px; font-weight: 700; color: var(--text);
  margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green-bg);
}
.nf-more__list { display: flex; flex-direction: column; gap: 0; }
.nf-more__item {
  display: flex; align-items: center; gap: 10px; padding: 11px 8px;
  border-bottom: 1px solid var(--border); text-decoration: none; color: inherit;
  transition: all 0.15s var(--ease-out); border-radius: 6px;
}
.nf-more__item:last-child { border-bottom: none; }
.nf-more__item:hover { background: var(--bg); padding-left: 14px; }
.nf-more__date {
  flex-shrink: 0; font-size: 12px; color: var(--text-3);
  min-width: 5.5rem; font-variant-numeric: tabular-nums;
}
.nf-more__tag {
  flex-shrink: 0; font-size: 11px; padding: 2px 8px;
  background: var(--green-bg); color: var(--green-dk);
  border-radius: 4px; font-weight: 500;
}
.nf-more__name {
  font-size: 14px; font-weight: 500; color: var(--text-2); line-height: 1.45;
  flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.nf-more__item:hover .nf-more__name { color: var(--green); }
@media (max-width: 640px) {
  .nf-more__item { flex-wrap: wrap; gap: 4px 8px; }
  .nf-more__name { white-space: normal; }
  .nf-more__tag { order: -1; }
}

/* ---------- GEO 答案框 ---------- */
.geo-answer-box {
  margin: 32px 0; padding: 24px 24px 8px;
  border: 1px solid var(--border); border-left: 4px solid var(--green);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--green-bg) 0%, #ffffff 100%);
}
.geo-answer-box h2 { font-size: 24px; margin-bottom: 12px; }
.geo-answer-box p { margin-bottom: 16px; }
.geo-answer-box a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 减少动画偏好（无障碍） ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

