/* ============================================
   赶路狗 GANLUGOU - 单页网站样式
   可爱风格 / 黄色主题 / 大量动画 / 玻璃态效果
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  /* 主色：黄色系 */
  --primary: #FFC107;
  --primary-light: #FFE082;
  --primary-dark: #FFA000;
  --accent: #FF9800;
  --accent-light: #FFB74D;
  --secondary: #FF7043;

  /* 背景色 */
  --bg: #FFFBF0;
  --bg-warm: #FFF8E1;
  --bg-cream: #FFF3E0;

  /* 文字色 */
  --text: #2C1810;
  --text-medium: #5D4037;
  --text-light: #8D6E63;
  --text-muted: #A1887F;

  /* 通用色 */
  --white: #FFFFFF;
  --footer-sky: #1a1a2e;
  --footer-ground: #2C1810;
  --footer-ground-light: #3E2723;
  --star-color: #FFE082;

  /* 阴影 */
  --shadow-sm: 0 2px 12px rgba(255, 160, 0, 0.12);
  --shadow-md: 0 4px 24px rgba(255, 160, 0, 0.18);
  --shadow-lg: 0 8px 48px rgba(255, 160, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(255, 193, 7, 0.45);

  /* 圆角 */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-full: 999px;

  /* 字体 */
  --font-heading: 'Quicksand', 'Nunito', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Nunito', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-handwrite: 'Caveat', 'Quicksand', cursive;

  /* 动画时长 */
  --duration-fast: 0.25s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;

  /* 玻璃态基础 */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.35);
  --glass-blur: 16px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ---------- 玻璃态效果通用类 ---------- */
.glass-card,
.glass-nav,
.glass-modal {
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.glass-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.glass-modal {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ==========================================
   1. 光标拖尾 cursor-trail
   ========================================== */
.cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 0 8px var(--primary-dark);
  transform: translate(-50%, -50%);
}

.cursor-trail.active {
  opacity: 0.7;
}

/* ==========================================
   2. 语言切换栏 lang-bar
   ========================================== */
.lang-bar {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 200;
  display: flex;
  gap: 6px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 4px 6px;
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.lang-btn.active {
  background: var(--primary);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.lang-btn:hover {
  color: var(--primary-dark);
}

/* ==========================================
   3. 固定透明导航 glass-nav
   ========================================== */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: transparent;
  border: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: all var(--duration-normal) ease;
  opacity: 0;
  transform: translateY(-8px);
}

/* 滚动后显现 */
.glass-nav.visible {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 251, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-medium);
  position: relative;
  transition: color var(--duration-fast) ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: width var(--duration-normal) ease;
}

.nav-links a:hover {
  color: var(--primary-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary);
  color: var(--text) !important;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ==========================================
   4. 英雄区域 hero-section
   ========================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(170deg, var(--bg-warm) 0%, var(--bg-cream) 50%, var(--bg) 100%);
}

/* 画布揭示 */
#revealCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
}

/* 英雄区域闪烁星星 */
.hero-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Logo 容器 */
.logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 24px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

/* Logo 旋转光环 logo-ring */
.logo-ring {
  position: absolute;
  top: -12px;
  left: -12px;
  right: -12px;
  bottom: -12px;
  border: 3px dashed var(--primary-dark);
  border-radius: 50%;
  animation: logo-ring-spin 12s linear infinite;
  opacity: 0.5;
}

.logo-ring.ring-2 {
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 2px dotted var(--accent-light);
  animation-direction: reverse;
  animation-duration: 18s;
  opacity: 0.3;
}

@keyframes logo-ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 标题 */
.site-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.zh-name {
  font-size: 2.8rem;
  color: var(--text);
}

.title-slash {
  color: var(--primary-dark);
  font-size: 1.5rem;
  animation: sparkle 3s ease-in-out infinite;
}

.en-name {
  font-size: 2rem;
  color: var(--primary-dark);
  letter-spacing: 4px;
}

/* 副标题打字效果 */
.hero-subtitle {
  font-family: var(--font-handwrite);
  font-size: 1.35rem;
  color: var(--text-light);
  margin-bottom: 32px;
  min-height: 2em;
}

/* CTA 按钮组 */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* 按钮发光 btn-glow */
.btn-glow {
  animation: btn-glow 2.5s ease-in-out infinite;
  position: relative;
}

.btn-glow::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-light), var(--accent), var(--primary-light));
  z-index: -1;
  opacity: 0;
  animation: btn-glow-ring 2.5s ease-in-out infinite;
}

@keyframes btn-glow {
  0%, 100% {
    box-shadow: var(--shadow-md);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.6), 0 0 60px rgba(255, 152, 0, 0.3);
  }
}

@keyframes btn-glow-ring {
  0%, 100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

.btn-ghost {
  background: transparent;
  color: var(--text-medium);
  border: 2px solid var(--primary-light);
}

.btn-ghost:hover {
  background: var(--primary-light);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

/* 滚动提示 */
.scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  animation: bounce-soft 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel 1.5s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 22px; }
}

/* 波浪分隔 wave-separator */
.wave-separator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.wave-separator svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ==========================================
   5. 通用区域 section
   ========================================== */
.section {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* 区域标题 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-handwrite);
  font-size: 1.1rem;
  color: var(--primary-dark);
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--text);
  margin-bottom: 12px;
}

.section-title .highlight {
  color: var(--primary-dark);
  position: relative;
}

.section-desc {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* 分隔线 */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent), var(--primary-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ==========================================
   6. 宗旨区域 mission-section
   ========================================== */
.mission-section {
  background: var(--bg);
  padding-top: 40px;
}

.mission-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  color: var(--text);
  margin: 20px 0 12px;
}

.mission-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 40px;
}

/* 对称装饰 */
.symmetry-deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.deco-line {
  display: block;
}

.deco-paw,
.deco-heart {
  animation: bounce-soft 3s ease-in-out infinite;
}

/* 统计卡片 stat-card */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.stat-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) ease;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 6px;
}

/* 计数动画由 JS 处理，CSS 提供闪烁效果 */
@keyframes count-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.stat-number.counting {
  animation: count-pop 0.3s ease;
}

.stat-unit {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ==========================================
   7. 服务卡片 service-card
   ========================================== */
.services-section {
  background: var(--bg-warm);
}

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

.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: all var(--duration-normal) ease;
  cursor: pointer;
}

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

/* 图片区域 */
.service-card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

/* 光泽扫过 card-shine */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0.35) 55%,
    transparent 70%
  );
  z-index: 2;
  pointer-events: none;
}

.service-card:hover .card-shine {
  animation: card-shine 0.8s ease forwards;
}

@keyframes card-shine {
  to {
    left: 150%;
  }
}

/* 卡片主体 */
.service-card-body {
  padding: 20px;
}

.svc-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.service-card-body h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 8px;
}

.service-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.svc-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(255, 152, 0, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.svc-detail-btn {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: color var(--duration-fast) ease;
}

.svc-detail-btn:hover {
  color: var(--accent);
}

/* 浮动爪印 */
.service-card-float-paw {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 1.6rem;
  opacity: 0.15;
  animation: float-slow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

/* ==========================================
   8. 流程时间线 timeline
   ========================================== */
.process-section {
  background: var(--bg);
}

.timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 0 0 40px;
}

/* 垂直线 */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-light), var(--accent), var(--primary-light));
  border-radius: 3px;
}

.tl-item {
  position: relative;
  margin-bottom: 36px;
}

.tl-item:last-child {
  margin-bottom: 0;
}

/* 时间线圆点 */
.tl-dot {
  position: absolute;
  left: -32px;
  top: 16px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.5);
  z-index: 2;
}

.tl-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) ease;
}

.tl-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.tl-num {
  font-family: var(--font-handwrite);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  opacity: 0.5;
  margin-bottom: 4px;
}

.tl-card h3 {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 6px;
}

.tl-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ==========================================
   9. 服务承诺 promise-section
   ========================================== */
.promise-section {
  background: var(--bg-warm);
}

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

.promise-card {
  padding: 28px 20px;
  text-align: center;
  transition: all var(--duration-normal) ease;
}

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

.promise-svg {
  margin-bottom: 12px;
}

.promise-card h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 8px;
}

.promise-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   10. 客户故事 story-card
   ========================================== */
.stories-section {
  background: var(--bg);
}

.stories-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) ease;
}

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

.story-stars {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.story-text {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--white);
  font-size: 0.95rem;
}

.story-author strong {
  font-size: 0.92rem;
  color: var(--text);
}

.story-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================
   11. 联系区域 contact-section
   ========================================== */
.contact-section {
  background: linear-gradient(170deg, var(--bg-warm), var(--bg-cream));
  padding: 100px 24px;
}

.contact-center {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* 吉祥物 + 闪光 */
.contact-mascot-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 28px;
}

.contact-mascot {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: var(--shadow-md);
}

/* 吉祥物周围闪光 sparkle */
.mascot-sparkle {
  position: absolute;
  font-size: 1rem;
  color: var(--primary);
  pointer-events: none;
  animation: sparkle 2.5s ease-in-out infinite;
}

.mascot-sparkle.sparkle-1 {
  top: -8px;
  right: -12px;
  animation-delay: 0s;
  font-size: 1.2rem;
}

.mascot-sparkle.sparkle-2 {
  bottom: -4px;
  left: -14px;
  animation-delay: 0.8s;
  font-size: 0.9rem;
}

.mascot-sparkle.sparkle-3 {
  top: 10px;
  left: -18px;
  animation-delay: 1.6s;
  font-size: 1rem;
}

.contact-title {
  font-size: 2rem;
  color: var(--text);
  margin-bottom: 12px;
}

.contact-lead {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ==========================================
   12. 创意页脚 mega-footer
   ========================================== */
.mega-footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-sky);
}

/* 页脚场景：夜空 */
.footer-scene {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

/* 星星 */
.footer-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.footer-star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--star-color);
  border-radius: 50%;
  animation: star-twinkle 2s ease-in-out infinite;
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* 弯月 */
.footer-moon {
  position: absolute;
  top: 30px;
  right: 15%;
  z-index: 2;
  animation: float-slow 6s ease-in-out infinite;
}

/* CSS 云朵 */
.footer-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* 云朵1 */
.cloud-1 {
  width: 120px;
  height: 40px;
  top: 40px;
  left: 5%;
  animation: cloud-1 25s linear infinite;
}

.cloud-1::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -25px;
  left: 20px;
}

.cloud-1::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -20px;
  left: 50px;
}

/* 云朵2 */
.cloud-2 {
  width: 90px;
  height: 30px;
  top: 70px;
  left: 40%;
  animation: cloud-2 30s linear infinite;
  opacity: 0.7;
}

.cloud-2::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -20px;
  left: 15px;
}

.cloud-2::after {
  content: '';
  position: absolute;
  width: 55px;
  height: 35px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -16px;
  left: 38px;
}

/* 云朵3 */
.cloud-3 {
  width: 100px;
  height: 35px;
  top: 25px;
  left: 70%;
  animation: cloud-3 20s linear infinite;
  opacity: 0.5;
}

.cloud-3::before {
  content: '';
  position: absolute;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -22px;
  left: 18px;
}

.cloud-3::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  top: -18px;
  left: 45px;
}

/* 云朵飘动动画 */
@keyframes cloud-1 {
  0% { transform: translateX(-150px); }
  100% { transform: translateX(calc(100vw + 150px)); }
}

@keyframes cloud-2 {
  0% { transform: translateX(calc(100vw + 100px)); }
  100% { transform: translateX(-200px); }
}

@keyframes cloud-3 {
  0% { transform: translateX(-100px); }
  100% { transform: translateX(calc(100vw + 200px)); }
}

/* 狗狗走路动画 dog-walk */
.footer-dog-walk {
  position: absolute;
  bottom: 70px;
  left: 0;
  animation: dog-walk 14s linear infinite;
  z-index: 3;
}

@keyframes dog-walk {
  0% {
    transform: translateX(-120px);
  }
  100% {
    transform: translateX(calc(100vw + 120px));
  }
}

.dog-body svg {
  display: block;
}

.dog-shadow {
  width: 70px;
  height: 10px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  margin: 2px auto 0;
}

/* 狗狗行走摆腿动画 (通过 SVG stroke-dashoffset 实现) */
.dog-body svg line,
.dog-body svg path {
  animation: dog-leg-wag 0.4s ease-in-out infinite alternate;
}

@keyframes dog-leg-wag {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0.9); }
}

/* 爪印 paw-print 依次出现 */
.paw-print {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: paw-appear 3s ease-in-out infinite;
}

.paw-1 {
  bottom: 10px;
  left: 20px;
  animation-delay: 0s;
}

.paw-2 {
  bottom: 12px;
  left: 40px;
  animation-delay: 0.4s;
}

.paw-3 {
  bottom: 8px;
  left: 58px;
  animation-delay: 0.8s;
}

.paw-4 {
  bottom: 11px;
  left: 76px;
  animation-delay: 1.2s;
}

@keyframes paw-appear {
  0% { opacity: 0; transform: scale(0) rotate(-20deg); }
  30% { opacity: 0.6; transform: scale(1.1) rotate(0deg); }
  60% { opacity: 0.4; transform: scale(1) rotate(0deg); }
  100% { opacity: 0; transform: scale(0.8) rotate(10deg); }
}

/* 草地 SVG */
.footer-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 4;
  line-height: 0;
}

.footer-ground svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* 页脚内容区 */
.footer-content {
  position: relative;
  z-index: 5;
  background: var(--footer-ground);
  padding: 48px 32px 24px;
}

.footer-brand-col {
  text-align: center;
  margin-bottom: 36px;
}

.footer-logo-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-dark);
  margin: 0 auto 12px;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.footer-tagline {
  font-family: var(--font-handwrite);
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* 三列布局 */
.footer-mid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--primary-light);
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-col li a {
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
}

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

/* 底部爪印 trail */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 224, 130, 0.15);
}

.footer-paw-trail {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.footer-paw-trail span {
  opacity: 0.4;
  animation: paw-appear 3s ease-in-out infinite;
}

.footer-paw-trail span:nth-child(1) { animation-delay: 0s; }
.footer-paw-trail span:nth-child(2) { animation-delay: 0.5s; }
.footer-paw-trail span:nth-child(3) { animation-delay: 1s; }

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   13. 悬浮按钮 float-actions
   ========================================== */
.float-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-normal) ease;
  box-shadow: var(--shadow-md);
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* 邮件悬浮按钮 - 发光 */
.float-email {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  animation: float-btn-glow 3s ease-in-out infinite;
}

@keyframes float-btn-glow {
  0%, 100% {
    box-shadow: var(--shadow-md);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 193, 7, 0.5), 0 0 48px rgba(255, 152, 0, 0.25), var(--shadow-md);
  }
}

/* 回到顶部 */
.float-top {
  background: var(--white);
  border: 2px solid var(--primary-light);
}

.float-top:hover {
  background: var(--primary);
}

/* ==========================================
   14. 模态框 modal
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  transform: scale(0.85);
  transition: transform var(--duration-normal) ease;
}

.modal-overlay.open .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  transition: all var(--duration-fast) ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: rotate(90deg);
}

.modal-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.modal-box h3 {
  font-size: 1.4rem;
  color: var(--text);
  margin-bottom: 12px;
}

.modal-box p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-features span {
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 193, 7, 0.12);
  color: var(--text-medium);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.modal-box .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   15. 通用动画定义
   ========================================== */

/* 慢速浮动 */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.float-slow {
  animation: float-slow 4s ease-in-out infinite;
}

/* 柔和弹跳 */
@keyframes bounce-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.bounce-soft {
  animation: bounce-soft 2s ease-in-out infinite;
}

/* 脉冲发光 - 用于按钮 */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3);
  }
  50% {
    box-shadow: 0 0 24px rgba(255, 193, 7, 0.6), 0 0 48px rgba(255, 152, 0, 0.2);
  }
}

/* 爪印出现 */
@keyframes paw-float {
  0%, 100% {
    opacity: 0.15;
    transform: translateY(0) rotate(0deg);
  }
  50% {
    opacity: 0.3;
    transform: translateY(-6px) rotate(8deg);
  }
}

/* ==========================================
   16. 滚动渐显 fade-in
   ========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 依次延迟出现 */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

/* ==========================================
   17. 响应式设计
   ========================================== */

/* ---------- 平板（768px 以下） ---------- */
@media (max-width: 768px) {
  /* 导航 */
  .glass-nav {
    padding: 12px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.84rem;
  }

  /* 英雄 */
  .hero-logo {
    width: 90px;
    height: 90px;
  }

  .site-title {
    font-size: 2.2rem;
  }

  .zh-name {
    font-size: 2rem;
  }

  .en-name {
    font-size: 1.4rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.92rem;
  }

  /* 区域 */
  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* 统计 */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 服务卡片 */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card-img {
    height: 160px;
  }

  /* 承诺 */
  .promise-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* 客户故事 */
  .stories-slider {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 页脚 */
  .footer-mid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-mid .footer-col:last-child {
    grid-column: span 2;
  }

  .footer-dog-walk {
    bottom: 60px;
  }

  .footer-scene {
    height: 220px;
  }
}

/* ---------- 手机（480px 以下） ---------- */
@media (max-width: 480px) {
  /* 语言切换 */
  .lang-bar {
    top: 10px;
    right: 10px;
  }

  .lang-btn {
    font-size: 0.72rem;
    padding: 3px 10px;
  }

  /* 导航 */
  .glass-nav {
    padding: 10px 14px;
  }

  .nav-logo span {
    font-size: 0.95rem;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  /* 英雄 */
  .hero-section {
    min-height: 90vh;
  }

  .hero-logo {
    width: 76px;
    height: 76px;
  }

  .logo-ring {
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
  }

  .logo-ring.ring-2 {
    top: -14px;
    left: -14px;
    right: -14px;
    bottom: -14px;
  }

  .site-title {
    font-size: 1.7rem;
    gap: 8px;
  }

  .zh-name {
    font-size: 1.6rem;
  }

  .en-name {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    padding: 11px 20px;
    font-size: 0.88rem;
  }

  .btn-large {
    padding: 13px 24px;
    font-size: 0.95rem;
  }

  .scroll-hint {
    display: none;
  }

  /* 波浪 */
  .wave-separator svg {
    height: 50px;
  }

  /* 区域 */
  .section {
    padding: 48px 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-label {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* 统计 */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 18px 12px;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  /* 服务卡片 */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card-img {
    height: 180px;
  }

  .service-card-body {
    padding: 16px;
  }

  /* 时间线 */
  .timeline {
    padding-left: 32px;
  }

  .tl-dot {
    left: -25px;
    width: 14px;
    height: 14px;
  }

  .tl-card {
    padding: 18px;
  }

  .tl-num {
    font-size: 1.6rem;
  }

  /* 承诺 */
  .promise-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .promise-card {
    padding: 20px 16px;
  }

  /* 联系 */
  .contact-section {
    padding: 60px 16px;
  }

  .contact-title {
    font-size: 1.6rem;
  }

  .contact-meta {
    flex-direction: column;
    gap: 12px;
  }

  .contact-mascot {
    width: 80px;
    height: 80px;
  }

  /* 模态框 */
  .modal-box {
    padding: 24px 18px;
    max-height: 90vh;
  }

  .modal-img {
    height: 150px;
  }

  /* 页脚 */
  .footer-scene {
    height: 180px;
  }

  .footer-dog-walk {
    bottom: 50px;
  }

  .footer-dog-walk .dog-body svg {
    width: 60px;
    height: 45px;
  }

  .footer-moon {
    right: 8%;
  }

  .footer-moon svg {
    width: 40px;
    height: 40px;
  }

  .footer-content {
    padding: 36px 20px 20px;
  }

  .footer-mid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-mid .footer-col:last-child {
    grid-column: span 1;
  }

  .footer-col ul {
    align-items: center;
  }

  /* 悬浮按钮 */
  .float-actions {
    bottom: 16px;
    right: 16px;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  /* 光标拖尾 - 移动端隐藏 */
  .cursor-trail {
    display: none;
  }
}

/* ---------- 大桌面（1200px 以上） ---------- */
@media (min-width: 1200px) {
  .section-inner {
    max-width: 1200px;
  }

  .site-title {
    font-size: 3.6rem;
  }

  .zh-name {
    font-size: 3.4rem;
  }

  .en-name {
    font-size: 2.4rem;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .services-grid {
    gap: 32px;
  }

  .promise-grid {
    gap: 28px;
  }
}

/* ==========================================
   18. 辅助 / 工具类
   ========================================== */

/* 选中文字颜色 */
::selection {
  background: var(--primary-light);
  color: var(--text);
}

::-moz-selection {
  background: var(--primary-light);
  color: var(--text);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* 无障碍：焦点可见 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 减弱动画偏好 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }
}
