/* ========================================
   易升学教育 - 品牌官网样式表
   主色调：政务蓝 | 点缀色：暖橙
   支持PC端与移动端自适应
   ======================================== */

/* ===== CSS 变量 ===== */
:root {
  --primary: #1565C0;
  --primary-dark: #0D47A1;
  --primary-light: #42A5F5;
  --primary-lighter: #E3F2FD;
  --accent: #FF8C42;
  --accent-dark: #E65100;
  --accent-light: #FFF3E0;
  --success: #2E7D32;
  --success-light: #E8F5E9;
  --purple: #6A1B9A;
  --purple-light: #F3E5F5;
  --teal: #00695C;
  --teal-light: #E0F2F1;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --text-muted: #95a5a6;
  --bg: #ffffff;
  --bg-light: #f5f7fa;
  --bg-gray: #eef1f5;
  --border: #e0e6ed;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-width: 1200px;
  --header-h: 72px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 全局重置 ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ===== 通用容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 48px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 50px;
}

/* ===== 导航栏 ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: #FFFFFF;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-text .slogan {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  /* 桌面端：固定在导航栏右侧，滚动时保持悬停 */
  position: fixed;
  top: 0;
  right: max(20px, calc((100vw - 1200px) / 2 + 20px));
  height: var(--header-h);
  z-index: 1001;
}

.nav-menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
  background: var(--primary-lighter);
}

.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 12px;
  padding: 9px 22px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border-radius: 24px;
  font-weight: 600;
  box-shadow: 0 2px 12px rgba(21, 101, 192, 0.3);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.4);
}

/* 导航栏遮罩层（移动端抽屉打开时显示） */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 50, 0.45);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* 导航彩色小图标（移动端显示，桌面端隐藏） */
.nav-ic { display: none; }

/* 汉堡菜单按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border: none;
  background: var(--primary-lighter);
  border-radius: 10px;
  gap: 5px;
  z-index: 1001;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition);
}

.hamburger:hover {
  background: var(--primary-light);
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* ===== Hero 区域 ===== */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #0B3A85 0%, #0D47A1 30%, #1565C0 70%, #1976D2 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  max-width: 720px;
  color: #fff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #FFB74D, #FF8C42, #FFAB91);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slogan {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.6;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(5px);
  transition: var(--transition);
}

.hero-feature:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-feature svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Hero 图片轮播 */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.hero-slider-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slider-slide.active {
  opacity: 1;
}

.hero-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slider-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 18px;
  background: rgba(13, 71, 161, 0.85);
  color: #fff;
  border-radius: 12px;
  font-size: 0.9rem;
  text-align: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slider-slide.active .hero-slider-caption {
  opacity: 1;
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

.hero-slider-ribbon {
  position: absolute;
  top: -16px;
  left: -16px;
  z-index: 10;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(230, 81, 0, 0.3);
  transform: rotate(-8deg);
}

/* ===== 核心亮点横幅 ===== */
.highlight-bar {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  padding: 20px 0;
  text-align: center;
  color: #fff;
}

.highlight-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.highlight-bar .text {
  font-size: 1.15rem;
  font-weight: 600;
}

.highlight-bar .tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== 通用卡片网格 ===== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== 关于我们 ===== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-intro-text h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  font-weight: 700;
}

.about-intro-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-intro-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-lighter), var(--accent-light));
  padding: 48px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-intro-visual .brand-explain {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.brand-char {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.brand-char:hover {
  background: #fff;
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.brand-char .char {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.brand-char:nth-child(1) .char { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.brand-char:nth-child(2) .char { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.brand-char:nth-child(3) .char { background: linear-gradient(135deg, var(--teal), #00897B); }

.brand-char .desc h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 4px;
}

.brand-char .desc p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}

/* 企业理念卡片 */
.concept-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.concept-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.concept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.concept-card:nth-child(1) { background: linear-gradient(135deg, var(--primary-lighter), #BBDEFB); }
.concept-card:nth-child(2) { background: linear-gradient(135deg, var(--accent-light), #FFE0B2); }
.concept-card:nth-child(3) { background: linear-gradient(135deg, var(--success-light), #C8E6C9); }

.concept-card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.concept-card:nth-child(1) .icon { background: var(--primary); }
.concept-card:nth-child(2) .icon { background: var(--accent); }
.concept-card:nth-child(3) .icon { background: var(--success); }

.concept-card .icon svg { width: 28px; height: 28px; fill: #fff; }

.concept-card h4 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.concept-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* 使命愿景价值观 */
.mvv-section {
  background: var(--bg-light);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mvv-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mvv-card:nth-child(1) { border-top-color: var(--primary); }
.mvv-card:nth-child(2) { border-top-color: var(--accent); }
.mvv-card:nth-child(3) { border-top-color: var(--purple); }

.mvv-card .mvv-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mvv-card:nth-child(1) .mvv-icon { background: var(--primary-lighter); }
.mvv-card:nth-child(2) .mvv-icon { background: var(--accent-light); }
.mvv-card:nth-child(3) .mvv-icon { background: var(--purple-light); }

.mvv-card .mvv-icon svg { width: 32px; height: 32px; }
.mvv-card:nth-child(1) .mvv-icon svg { fill: var(--primary); }
.mvv-card:nth-child(2) .mvv-icon svg { fill: var(--accent); }
.mvv-card:nth-child(3) .mvv-icon svg { fill: var(--purple); }

.mvv-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 700;
}

.mvv-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* 核心价值观列表 */
.values-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.value-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: default;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-item:nth-child(1) { background: var(--primary-lighter); }
.value-item:nth-child(2) { background: var(--accent-light); }
.value-item:nth-child(3) { background: var(--success-light); }
.value-item:nth-child(4) { background: var(--teal-light); }
.value-item:nth-child(5) { background: var(--purple-light); }

.value-item .v-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.value-item:nth-child(1) .v-icon { background: var(--primary); }
.value-item:nth-child(2) .v-icon { background: var(--accent); }
.value-item:nth-child(3) .v-icon { background: var(--success); }
.value-item:nth-child(4) .v-icon { background: var(--teal); }
.value-item:nth-child(5) .v-icon { background: var(--purple); }

.value-item h5 {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 700;
}

.value-item p {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== 核心业务 ===== */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.business-card {
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.business-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.1;
  transform: translate(30%, -30%);
}

.business-card:nth-child(1) { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.business-card:nth-child(1)::before { background: var(--primary); }
.business-card:nth-child(2) { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.business-card:nth-child(2)::before { background: var(--accent); }
.business-card:nth-child(3) { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.business-card:nth-child(3)::before { background: var(--success); }
.business-card:nth-child(4) { background: linear-gradient(135deg, #E0F2F1, #B2DFDB); }
.business-card:nth-child(4)::before { background: var(--teal); }

.business-card .b-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.business-card:nth-child(1) .b-icon { background: var(--primary); }
.business-card:nth-child(2) .b-icon { background: var(--accent); }
.business-card:nth-child(3) .b-icon { background: var(--success); }
.business-card:nth-child(4) .b-icon { background: var(--teal); }

.business-card .b-icon svg { width: 30px; height: 30px; fill: #fff; }

.business-card h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.business-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.business-card .b-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-card .b-feature {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--text);
}

/* ===== 服务流程 ===== */
.process-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, #fff 100%);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  text-align: center;
  position: relative;
  padding: 20px;
}

.process-step .step-num {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.process-step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.5);
}

.process-step:nth-child(1) .step-num { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.process-step:nth-child(2) .step-num { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }
.process-step:nth-child(3) .step-num { background: linear-gradient(135deg, var(--success), #1B5E20); }
.process-step:nth-child(4) .step-num { background: linear-gradient(135deg, var(--teal), #004D40); }
.process-step:nth-child(5) .step-num { background: linear-gradient(135deg, var(--purple), #4A148C); }
.process-step:nth-child(6) .step-num { background: linear-gradient(135deg, #1565C0, #0D47A1); }

.process-step h4 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== 企业优势 ===== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.advantage-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.advantage-card:hover::after {
  transform: scaleX(1);
}

.advantage-card .a-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.advantage-card .a-icon svg { width: 28px; height: 28px; fill: #fff; }

.advantage-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.advantage-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* 企业优势六色配色 */
.advantage-card:nth-child(1) { background: linear-gradient(135deg, #E3F2FD, #F5FBFF); border-color: #BBDEFB; }
.advantage-card:nth-child(1) .a-icon { background: var(--primary); }
.advantage-card:nth-child(1) h4 { color: var(--primary-dark); }
.advantage-card:nth-child(1)::after { background: var(--primary); }

.advantage-card:nth-child(2) { background: linear-gradient(135deg, #FFF3E0, #FFFAF5); border-color: #FFE0B2; }
.advantage-card:nth-child(2) .a-icon { background: var(--accent); }
.advantage-card:nth-child(2) h4 { color: var(--accent-dark); }
.advantage-card:nth-child(2)::after { background: var(--accent); }

.advantage-card:nth-child(3) { background: linear-gradient(135deg, #E8F5E9, #F4FBF5); border-color: #C8E6C9; }
.advantage-card:nth-child(3) .a-icon { background: var(--success); }
.advantage-card:nth-child(3) h4 { color: var(--success); }
.advantage-card:nth-child(3)::after { background: var(--success); }

.advantage-card:nth-child(4) { background: linear-gradient(135deg, #E0F2F1, #F2FBFA); border-color: #B2DFDB; }
.advantage-card:nth-child(4) .a-icon { background: var(--teal); }
.advantage-card:nth-child(4) h4 { color: var(--teal); }
.advantage-card:nth-child(4)::after { background: var(--teal); }

.advantage-card:nth-child(5) { background: linear-gradient(135deg, #F3E5F5, #FCF5FD); border-color: #E1BEE7; }
.advantage-card:nth-child(5) .a-icon { background: var(--purple); }
.advantage-card:nth-child(5) h4 { color: var(--purple); }
.advantage-card:nth-child(5)::after { background: var(--purple); }

.advantage-card:nth-child(6) { background: linear-gradient(135deg, #FFEBEE, #FFF7F8); border-color: #FFCDD2; }
.advantage-card:nth-child(6) .a-icon { background: #C62828; }
.advantage-card:nth-child(6) h4 { color: #C62828; }
.advantage-card:nth-child(6)::after { background: #C62828; }

/* ===== 入户好处 ===== */
.benefits-section {
  background: var(--bg-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.benefit-card:nth-child(1) { background: linear-gradient(135deg, #1565C0, #1976D2); }
.benefit-card:nth-child(2) { background: linear-gradient(135deg, #E65100, #FF8C42); }
.benefit-card:nth-child(3) { background: linear-gradient(135deg, #2E7D32, #43A047); }
.benefit-card:nth-child(4) { background: linear-gradient(135deg, #6A1B9A, #8E24AA); }
.benefit-card:nth-child(5) { background: linear-gradient(135deg, #00695C, #00897B); }
.benefit-card:nth-child(6) { background: linear-gradient(135deg, #C62828, #EF5350); }

.benefit-card .benefit-num {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.benefit-card .b-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.benefit-card .b-icon-circle svg { width: 24px; height: 24px; fill: #fff; }

.benefit-card h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.benefit-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== 成功案例轮播 ===== */
.cases-section {
  background: linear-gradient(180deg, #fff 0%, var(--bg-light) 100%);
}

.cases-carousel {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.cases-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.case-card .case-header {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card:nth-child(odd) .case-header { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.case-card:nth-child(even) .case-header { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); }

.case-card .case-header .case-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card .case-header .case-icon svg { width: 36px; height: 36px; fill: #fff; }

.case-card .case-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.case-card .case-body {
  padding: 24px;
}

.case-card .case-body h4 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 700;
}

.case-card .case-body .case-meta {
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.case-card .case-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.case-card .case-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--success);
  font-weight: 600;
}

.case-card .case-result svg { width: 16px; height: 16px; fill: var(--success); }


.case-card .case-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  position: relative;
  background: var(--bg-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.case-card .case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.03);
}

.case-card .case-image .case-image-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 12px;
  background: rgba(21, 101, 192, 0.9);
  color: #fff;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

/* 轮播控制按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.carousel-btn:hover svg { fill: #fff; }

.carousel-btn svg { width: 20px; height: 20px; fill: var(--primary); transition: var(--transition); }

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

/* 轮播指示器 */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}

/* ===== 联系我们 ===== */
.contact-section {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-item .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item:nth-child(1) .ci-icon { background: var(--primary-lighter); }
.contact-item:nth-child(1) .ci-icon svg { fill: var(--primary); }
.contact-item:nth-child(2) .ci-icon { background: var(--success-light); }
.contact-item:nth-child(2) .ci-icon svg { fill: var(--success); }
.contact-item:nth-child(3) .ci-icon { background: var(--accent-light); }
.contact-item:nth-child(3) .ci-icon svg { fill: var(--accent); }
.contact-item:nth-child(4) .ci-icon { background: var(--teal-light); }
.contact-item:nth-child(4) .ci-icon svg { fill: var(--teal); }

.contact-item .ci-icon svg { width: 24px; height: 24px; }

.contact-item .ci-text h5 {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-item .ci-text p {
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 600;
}

.contact-item .ci-text .sub {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 4px;
}

/* 服务保障 */
.guarantee-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 48px 0;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.guarantee-item {
  text-align: center;
  color: #fff;
}

.guarantee-item .g-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.guarantee-item .g-icon svg { width: 28px; height: 28px; fill: #fff; }

.guarantee-item h5 {
  font-size: 1rem;
  margin-bottom: 6px;
  font-weight: 600;
}

.guarantee-item p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

/* 地图区域 */
.contact-map {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-map h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 700;
}

.map-image {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.map-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* 微信二维码 */
.wechat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.wechat-card h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 700;
}

.wechat-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

.qrcode {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  background: #fff;
  border: 2px solid var(--success);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.qrcode img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }

/* 联系页二维码卡片 */
.qrcode-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  display: block;
}

.qrcode-image {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.qrcode-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}

.qrcode-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 8px 0;
}

.qrcode-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.qrcode-tag {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

/* ===== CTA 区域 ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  padding: 64px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section .container { position: relative; z-index: 2; }

.cta-section h2 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* ===== 按钮基础样式 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 112, 42, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 112, 42, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 101, 192, 0.4);
}

.cta-section .btn { font-size: 1.1rem; padding: 16px 40px; }


/* ===== 首页模块背景色 ===== */
.bg-white { background: #fff; }
.bg-light { background: var(--bg-light); }
.bg-blue-tint { background: linear-gradient(180deg, #F5FBFF 0%, #EBF5FF 100%); }
.bg-orange-tint { background: linear-gradient(180deg, #FFFAF5 0%, #FFF3E0 100%); }
.bg-green-tint { background: linear-gradient(180deg, #F4FBF5 0%, #E8F5E9 100%); }
.bg-purple-tint { background: linear-gradient(180deg, #FCF5FD 0%, #F3E5F5 100%); }
.bg-teal-tint { background: linear-gradient(180deg, #F2FBFA 0%, #E0F2F1 100%); }
.bg-red-tint { background: linear-gradient(180deg, #FFF7F8 0%, #FFEBEE 100%); }

/* ===== 页脚 ===== */
.footer {
  background: #1a2332;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo img {
  height: 48px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col h5 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover { color: rgba(255, 255, 255, 0.7); }

/* ===== 滚动入场动画 ===== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== 浮动咨询按钮 ===== */
.float-contact {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  border: none;
  position: relative;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.float-btn svg { width: 26px; height: 26px; fill: #fff; }

.float-btn.phone {
  background: linear-gradient(135deg, var(--success), #1B5E20);
}

.float-btn.wechat {
  background: linear-gradient(135deg, #00897B, #00695C);
}

.float-btn.top {
  background: linear-gradient(135deg, #6c7a89, #4a5764);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.float-btn.top.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.float-btn .tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-btn:hover .tooltip { opacity: 1; }

/* ===== 页面头部（内页） ===== */
.page-header {
  padding: calc(var(--header-h) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(66, 165, 245, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb a { color: var(--text-muted); }
.page-header .breadcrumb a:hover { color: var(--primary); }

.page-header .breadcrumb span { margin: 0 8px; color: var(--border); }

/* 不同页面头部背景 */
.page-header.bg-blue { background: linear-gradient(180deg, var(--primary-lighter), #fff); }
.page-header.bg-orange { background: linear-gradient(180deg, var(--accent-light), #fff); }
.page-header.bg-green { background: linear-gradient(180deg, var(--success-light), #fff); }
.page-header.bg-teal { background: linear-gradient(180deg, var(--teal-light), #fff); }
.page-header.bg-purple { background: linear-gradient(180deg, var(--purple-light), #fff); }
.page-header.bg-gray { background: linear-gradient(180deg, var(--bg-gray), #fff); }

/* ===== 统计数字区 ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item .stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-item .stat-num .suffix {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.stat-item .stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .values-list { grid-template-columns: repeat(3, 1fr); }
  .case-card { flex: 0 0 calc(50% - 12px); }

  /* 平板端导航：右侧抽屉 + 彩色图标 */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: min(340px, 82vw);
    height: 100%;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 14px) 16px 28px;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    z-index: 999;
    box-shadow: -10px 0 40px rgba(15, 30, 50, 0.18);
  }
  .nav-menu.active { transform: translateX(0); }

  /* 导航项 + 彩色图标 */
  .nav-menu a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
  }
  .nav-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  }
  .nav-ic svg { width: 23px; height: 23px; fill: #fff; }
  .nav-ic-1 { background: linear-gradient(135deg, #1E88E5, #1565C0); }
  .nav-ic-2 { background: linear-gradient(135deg, #26A69A, #00897B); }
  .nav-ic-3 { background: linear-gradient(135deg, #FFA726, #F57C00); }
  .nav-ic-4 { background: linear-gradient(135deg, #AB47BC, #7B1FA2); }
  .nav-ic-5 { background: linear-gradient(135deg, #EF5350, #C62828); }
  .nav-ic-6 { background: linear-gradient(135deg, #66BB6A, #2E7D32); }
  .nav-ic-7 { background: linear-gradient(135deg, #5C6BC0, #283593); }
  .nav-ic-8 { background: linear-gradient(135deg, #26C6DA, #0097A7); }

  .nav-menu a.active { background: var(--primary-lighter); font-weight: 600; }
  .nav-menu a.active .nav-ic { box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.28); }
  .nav-menu a.active::after { display: none; }
  .nav-cta {
    margin: 14px 0 0 0;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  .section-title h2 { font-size: 1.5rem; }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 32px; }

  .logo img { height: 44px; }
  .logo-text .brand { font-size: 1rem; }
  .logo-text .slogan { font-size: 0.6rem; }

  /* Hero */
  .hero { min-height: auto; padding-bottom: 60px; }
  /* Hero 轮播 */
  .hero .container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-slider { justify-self: center; max-width: 320px; order: -1; }
  .hero-content { max-width: 100%; }
  .hero-features { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-slider-ribbon { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero-slogan { font-size: 1.1rem; }
  .hero h1 br { display: none; }


  .hero h1 { font-size: 1.7rem; }
  .hero-slogan { font-size: 1rem; }
  .hero-features { gap: 8px; }
  .hero-feature { padding: 6px 12px; font-size: 0.82rem; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  /* 高亮横幅 */
  .highlight-bar .text { font-size: 0.95rem; }

  /* 网格 */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .concept-cards { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: repeat(2, 1fr); }
  .business-grid { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr; gap: 24px; }
  .advantages-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .guarantee-grid { grid-template-columns: 1fr; gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  /* 案例轮播 */
  .cases-carousel { padding: 0 50px; }
  .case-card { flex: 0 0 calc(100% - 0px); }


  .case-card .case-image { aspect-ratio: 3 / 2; }

  /* 页面头部 */
  .page-header { padding: calc(var(--header-h) + 40px) 0 40px; }
  .page-header h1 { font-size: 1.6rem; }

  /* CTA */
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p { font-size: 0.95rem; }

  /* 浮动按钮 */
  .float-contact { right: 16px; bottom: 16px; }
  .float-btn { width: 48px; height: 48px; }
  .float-btn svg { width: 22px; height: 22px; }

  /* 二维码卡片 */
  .qrcode-card { padding: 20px; }
  .qrcode-image { max-width: 220px; }

  /* 统计 */
  .stat-item .stat-num { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .values-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.4rem; }
  .hero-badge { font-size: 0.78rem; }
}

/* ===== 打印样式 ===== */
@media print {
  .header, .float-contact, .hamburger, .carousel-btn, .carousel-dots { display: none !important; }
  .hero { min-height: auto; }
  .section { padding: 20px 0; }
}
