﻿/* ================================================================
   全局样式
   适用于: 全站所有页面
   ================================================================ */

/* ------------------------------------------------------------
   01. CSS 变量定义
   ------------------------------------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 颜色系统 */
  --primary: #2d5a27;
  --primary-light: #4a8c42;
  --primary-dark: #1a3d15;
  --secondary: #d4a574;
  --accent: #ff6b35;
  --accent-light: #ff8c5a;
  --background: #ffffff;
  --foreground: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --overlay: rgba(0, 0, 0, 0.6);
  
  /* 颜色别名 (兼容pages.css) */
  --text: #1a1a1a;
  --text-secondary: #6b7280;
  --text-dark: #1a1a1a;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* 渐变 */
  --gradient-primary: linear-gradient(135deg, #2d5a27 0%, #4a8c42 100%);
  --gradient-hero: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  
  /* 间距 */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* 字体 - 统一标准 */
  --font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-2xs: 0.625rem;  /* 10px */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  --font-size-5xl: 3.5rem;    /* 56px */
  
  /* 圆角 */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* 过渡 */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ------------------------------------------------------------
   可访问性增强
   ------------------------------------------------------------ */
/* 跳转到主内容链接 - 仅在获得焦点时显示 */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  z-index: 1000000;
  font-weight: 500;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 10px;
}

/* 改善焦点样式 */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 屏幕阅读器专用 - 视觉隐藏但可被阅读器访问 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------
   02. 导航栏 - Bambu Lab 风格
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 99999;
  background: #000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.logo:hover {
  color: rgba(255, 255, 255, 0.85);
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  height: 100%;
}

.nav-links > li {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links > li > a:hover {
  color: #fff;
}

.nav-links > li > a.active {
  color: #fff;
}

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100001;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav-toggle.active span {
  background: #000;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ------------------------------------------------------------
   03. 下拉菜单 - Bambu Lab 风格
   ------------------------------------------------------------ */
.nav-links li {
  position: relative;
}

.nav-links .has-dropdown > a::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 5px;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.nav-links .has-dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* 填补导航项和下拉菜单之间的间隙 */
.nav-links .has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  z-index: 99999;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  min-width: 180px;
  background: #1a1a1a;
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100000;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.nav-links .has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.15s ease;
}

.dropdown-menu a:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08);
}

.dropdown-menu a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-menu a::after {
  display: none;
}

/* ------------------------------------------------------------
   04. Megamenu 大型下拉菜单样式 - 横向布局
   ------------------------------------------------------------ */
.megamenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(0);
  min-width: 680px;
  max-width: 900px;
  background: #1a1a1a;
  border-radius: 16px;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100000;
  list-style: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.1) inset;
  display: flex;
  flex-direction: row;
  gap: 16px;
  overflow: hidden;
}

.nav-links .has-dropdown:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.megamenu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border-radius: 12px;
  transition: all 0.25s ease;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  cursor: pointer;
}

.megamenu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.megamenu-item.active {
  background: rgba(45, 90, 39, 0.2);
}

.megamenu-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.15) 0%, rgba(74, 140, 66, 0.08) 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.megamenu-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 1.5s infinite;
  opacity: 0;
  border-radius: 10px;
}

.megamenu-image[loading]::before {
  opacity: 1;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.megamenu-item:hover .megamenu-image {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.megamenu-content {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding: 0 4px;
}

.megamenu-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  transition: color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.megamenu-item:hover .megamenu-title {
  color: #4ade80;
}

.megamenu-desc {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 不同宽度菜单 */
.megamenu.megamenu-wide {
  min-width: 900px;
  max-width: 1100px;
  padding: 24px;
  gap: 12px;
}

.megamenu.megamenu-wide .megamenu-item {
  padding: 12px 8px;
}

.megamenu.megamenu-wide .megamenu-image {
  aspect-ratio: 3 / 2;
  height: auto;
}

.megamenu.megamenu-narrow {
  min-width: 550px;
  max-width: 700px;
}

/* 最后一个菜单项的下拉菜单靠右对齐，防止超出屏幕 */
.nav-links > li:last-child .megamenu,
.nav-links > li:last-child .dropdown-menu {
  left: auto;
  right: 0;
  transform: translateY(8px);
}

.nav-links > li:last-child:hover .megamenu,
.nav-links > li:last-child:hover .dropdown-menu {
  transform: translateY(0);
}

/* 倒数第二个菜单项的处理（服务项目） */
.nav-links > li:nth-last-child(2) .megamenu {
  left: auto;
  right: -50%;
  transform: translateY(8px);
}

.nav-links > li:nth-last-child(2):hover .megamenu {
  transform: translateY(0);
}

/* ------------------------------------------------------------
   05. 英雄区
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 80px;
  box-sizing: border-box;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1920') center/cover no-repeat;
  z-index: -1;
}

/* Hero视频控制按钮 */
.hero-video-control {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
}

.hero-video-control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.hero-video-control .icon-play-hero {
  display: none;
}

.hero-video-container.paused .hero-video-control .icon-pause-hero {
  display: none;
}

.hero-video-container.paused .hero-video-control .icon-play-hero {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: var(--spacing-lg);
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.title-line {
  display: block;
}

.title-line.highlight {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  opacity: 0.9;
  margin-bottom: var(--spacing-2xl);
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-3xl);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 53, 0.4);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: translateY(0);
  filter: brightness(0.95);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-outline:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 39, 0.3);
  border-color: var(--primary-light);
}

.btn-outline:active {
  transform: translateY(0);
  background: var(--primary);
}

.btn-block {
  width: 100%;
}

.play-icon {
  font-size: 0.75em;
}

/* 统计数据 */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-3xl);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1;
}

.stat-unit {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: var(--font-size-sm);
  opacity: 0.8;
  margin-top: var(--spacing-xs);
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-2xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  animation: bounce 2s infinite;
}

.scroll-text {
  display: block;
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-sm);
  opacity: 0.7;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin: 0 auto;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ------------------------------------------------------------
   06. 章节通用样式
   ------------------------------------------------------------ */
section {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #1a5d1a 100%);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
  box-shadow: 0 2px 12px rgba(45, 90, 39, 0.25);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  text-align: center;
}

.section-desc {
  font-size: var(--font-size-base);
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

/* ------------------------------------------------------------
   07. 徒步路线
   ------------------------------------------------------------ */
.routes {
  background: #f9fafb;
  padding: var(--spacing-3xl) 0;
  position: relative;
  z-index: 2;
}

.routes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-xl);
}

.routes-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}

.route-card {
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.route-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.route-card.featured {
  border: 2px solid var(--accent);
}

.route-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.route-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.route-card:hover .route-image img {
  transform: scale(1.1);
}

.route-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.route-badge.hot {
  background: var(--accent);
}

.route-badge.pro {
  background: #7c3aed;
}

.route-badge.special {
  background: #0891b2;
}

/* 金牌路线标签可点击样式 */
.route-badge.clickable {
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.route-badge.clickable:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.route-badge.clickable::after {
  content: ' ⓘ';
  font-size: 0.75em;
}

.route-content {
  padding: var(--spacing-lg);
}

.route-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.route-desc {
  color: var(--muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.route-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-sm);
  color: var(--muted);
}

.route-meta span {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.route-price {
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-base);
}

.route-price .price {
  color: var(--accent);
  font-weight: 700;
}

.route-price strong {
  font-size: var(--font-size-2xl);
}

/* 路线卡片按钮组 */
.route-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.route-actions .btn {
  flex: 1;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
}

/* VR全景按钮 */
.btn-vr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-vr:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-vr::before {
  content: '🕶️';
  font-size: 1rem;
}

/* 路线快速导航（首页） */
.routes .route-quick-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.routes .route-nav-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: #fff;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
}

.routes .route-nav-item:hover {
  background: var(--nav-color);
  color: #fff;
  border-color: var(--nav-color);
  transform: translateY(-2px);
}

.routes .route-nav-item .nav-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--nav-color);
  color: #fff;
  border-radius: 50%;
  font-size: var(--font-size-xs);
  font-weight: 700;
}

.routes .route-nav-item:hover .nav-tag {
  background: #fff;
  color: var(--nav-color);
}

/* 路线卡片头部 */
.route-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
}

.route-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--letter-color);
  color: #fff;
  border-radius: 50%;
  font-size: var(--font-size-base);
  font-weight: 700;
  flex-shrink: 0;
}

.route-header .route-title {
  margin-bottom: 0;
}

/* 路线特色标签 */
.route-features-mini {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.route-features-mini span {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: #f0f7f0;
  color: var(--primary);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
}

/* 路线信息行 */
.route-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: linear-gradient(135deg, #f8faf8 0%, #f0f7f0 100%);
  border-radius: var(--radius-md);
}

.route-info-row .info-item {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  white-space: nowrap;
}

.route-info-row .info-item.highlight {
  background: linear-gradient(135deg, #2d5a27 0%, #4a8c42 100%);
  color: #fff;
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* 路线统计条 */
.route-stats-bar {
  margin-bottom: var(--spacing-md);
}

.stat-bar-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.bar-track {
  flex: 1;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  max-width: 150px;
}

.bar-track.forest {
  background: #d1fae5;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--primary));
  border-radius: 4px;
  transition: width 1s ease;
}

.bar-track.forest .bar-fill {
  background: linear-gradient(90deg, #34d399, #10b981);
}

.stat-bar-item span {
  font-size: var(--font-size-xs);
  color: var(--muted);
  white-space: nowrap;
}

/* 路线CTA */
.routes-cta {
  text-align: center;
  margin-top: var(--spacing-2xl);
}

/* ------------------------------------------------------------
   08. 视频展示
   ------------------------------------------------------------ */
.video-section {
  background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
}

.video-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
  align-items: start;
}

.video-player {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}

.video-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 视频播放覆盖层 */
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition-base);
  z-index: 5;
}

.video-player.playing .video-play-overlay {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.play-btn:hover {
  transform: scale(1.1);
  background: #fff;
}

.play-btn .play-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-left: 4px;
}

/* 视频控制条 */
.video-controls-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 40px 16px 16px;
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 10;
}

.video-player:hover .video-controls-bar,
.video-player.playing .video-controls-bar {
  opacity: 1;
}

/* 进度条 */
.progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-bar:hover {
  height: 6px;
}

.progress-filled {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.time-display {
  color: #fff;
  font-size: 12px;
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}

/* 控制按钮行 */
.controls-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.controls-left,
.controls-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.control-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition-base);
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.control-btn.close-btn:hover {
  background: rgba(255, 0, 0, 0.5);
}

/* 播放/暂停按钮图标切换 */
.video-player.playing .icon-play {
  display: none;
}

.video-player:not(.playing) .icon-pause {
  display: none;
}

/* 音量控制 */
.volume-control {
  display: flex;
  align-items: center;
  gap: 4px;
}

.volume-slider {
  width: 0;
  opacity: 0;
  transition: all var(--transition-base);
}

.volume-control:hover .volume-slider {
  width: 60px;
  opacity: 1;
}

.video-player.muted .icon-volume {
  display: none;
}

.video-player:not(.muted) .icon-muted {
  display: none;
}

/* 全屏样式 */
.video-player:fullscreen {
  border-radius: 0;
}

.video-player:fullscreen .video-controls-bar {
  padding: 60px 24px 24px;
}

.video-info h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

.video-info > p {
  color: var(--muted);
  margin-bottom: var(--spacing-lg);
}

.video-playlist {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.playlist-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
}

.playlist-item:hover,
.playlist-item.active {
  background: rgba(45, 90, 39, 0.1);
}

.playlist-item img {
  width: 80px;
  height: 50px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.playlist-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.playlist-title {
  font-weight: 500;
  font-size: var(--font-size-sm);
}

.playlist-duration {
  font-size: var(--font-size-sm);
  color: var(--muted);
}

/* ------------------------------------------------------------
   09. 特色体验
   ------------------------------------------------------------ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.feature-card {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(74, 140, 66, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.feature-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

.feature-card p {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

/* ------------------------------------------------------------
   10. 风景画廊
   ------------------------------------------------------------ */
.gallery {
  background: #f9fafb;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: var(--spacing-md);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-lg);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ------------------------------------------------------------
   11. 游客评价
   ------------------------------------------------------------ */
.testimonials {
  background: var(--gradient-primary);
  color: #fff;
  position: relative;
}

.testimonials .section-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.testimonials .section-title {
  color: #fff;
}

.testimonials .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-rating {
  margin-bottom: var(--spacing-md);
}

.testimonial-text {
  font-size: var(--font-size-lg);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  display: block;
  font-weight: 600;
}

.author-location {
  font-size: var(--font-size-sm);
  opacity: 0.8;
}

/* ------------------------------------------------------------
   12. 联系我们
   ------------------------------------------------------------ */
.contact {
  background: linear-gradient(180deg, #f8faf8 0%, #fff 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

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

.contact-card.primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border-color: var(--primary);
}

.contact-card.primary p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.contact-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

.contact-card .qrcode-box {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--spacing-md);
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
  box-shadow: var(--shadow-sm);
}

.contact-card .qrcode-box img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.contact-card.primary .qrcode-box {
  background: #fff;
}

.contact-card p {
  font-size: var(--font-size-sm);
  color: var(--muted);
  margin: 0;
}

.contact-card .phone-box {
  padding: var(--spacing-lg) 0;
}

.contact-card .phone-number {
  display: block;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  text-decoration: none;
}

.contact-card.primary .phone-number {
  color: #fff;
}

.contact-card .phone-box p {
  margin: 0;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: var(--font-size-base);
  transition: border-color var(--transition-base);
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* ------------------------------------------------------------
   13. 页脚
   ------------------------------------------------------------ */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: var(--spacing-3xl) 0 var(--spacing-lg);
  overflow: visible;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  overflow: visible;
}

.footer-brand {
  overflow: visible;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: var(--spacing-md);
}

.footer-brand .logo-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--spacing-lg);
}

.social-links {
  display: flex;
  gap: var(--spacing-md);
  overflow: visible;
}

.social-link {
  position: relative;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: visible;
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.social-icon {
  font-size: 1.2rem;
}

/* 覆盖pages.css中的.social-icon样式 */
.social-link .social-icon {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* 社交媒体悬浮二维码 */
.social-qrcode {
  position: absolute;
  bottom: 55px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 140px;
  text-align: center;
  pointer-events: none;
}

.social-qrcode::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}

.social-qrcode img {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  display: block;
}

.social-qrcode span {
  display: block;
  color: var(--text-dark);
  font-size: var(--font-size-xs);
  white-space: nowrap;
}

.social-link:hover .social-qrcode {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
  pointer-events: auto;
}

/* 不同社交媒体的颜色 */
.social-wechat:hover {
  background: #07C160;
}

.social-gongzhonghao:hover {
  background: #07C160;
}

.social-douyin:hover {
  background: #000;
}

.social-xiaohongshu:hover {
  background: #FF2442;
}

/* Footer 联系我们 */
.footer-contact h4 {
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-base);
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.footer-contact .contact-icon {
  font-size: 1rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-base);
}

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

.footer-links h4 {
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-base);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: #fff;
}

.footer-qrcode h4 {
  margin-bottom: var(--spacing-lg);
}

.qrcode-placeholder {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--font-size-sm);
}

/* ------------------------------------------------------------
   14. 客服悬浮按钮
   ------------------------------------------------------------ */
.customer-service {
  position: fixed;
  bottom: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: 999;
}

.cs-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--gradient-primary);
  color: #fff;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  animation: pulse 2s infinite;
}

.cs-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-xl);
}

.cs-icon {
  font-size: 1.25rem;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(45, 90, 39, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(45, 90, 39, 0);
  }
}

/* ------------------------------------------------------------
   15. 弹窗
   ------------------------------------------------------------ */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay);
  z-index: 1;
}

.modal-content {
  position: relative;
  background: var(--card-bg);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
  animation: modalIn 0.3s ease;
  z-index: 2;
}

/* 自定义滚动条样式 */
.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-track {
  background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  z-index: 10;
  border: none;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  background: #e5e5e5;
}

.qrcode-wrapper h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.qrcode-wrapper .qrcode-tip {
  text-align: center;
  color: var(--muted);
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-lg);
}

.qrcode-main {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.qrcode-main .qrcode-image {
  width: 200px;
  height: 200px;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: var(--shadow-md);
}

.qrcode-image {
  width: 200px;
  height: 200px;
  margin: 0 auto var(--spacing-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f5f5f5;
}

.qrcode-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qrcode-placeholder-large {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.method-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: #f9fafb;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
}

/* 金牌路线弹窗样式 */
.gold-route-modal {
  max-width: 560px;
  max-height: 85vh;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gold-route-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  max-height: calc(85vh - 0px);
  overflow: hidden;
}

.gold-header {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 50%, #ffd700 100%);
  padding: var(--spacing-md) var(--spacing-lg);
  position: relative;
}

.gold-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.gold-icon {
  font-size: 2rem;
  display: inline-block;
  margin-right: var(--spacing-xs);
  position: relative;
  z-index: 1;
  vertical-align: middle;
}

.gold-header h3 {
  color: #5d4e0e;
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
  display: inline-block;
  vertical-align: middle;
}

.gold-subtitle {
  color: #8b7355;
  font-size: var(--font-size-xs);
  margin: var(--spacing-xs) 0 0;
  position: relative;
  z-index: 1;
}

.gold-body {
  padding: var(--spacing-md);
  text-align: left;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* 金牌路线弹窗内容区滚动条 */
.gold-body::-webkit-scrollbar {
  width: 5px;
}

.gold-body::-webkit-scrollbar-track {
  background: transparent;
}

.gold-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.gold-body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}

/* 金牌路线图片展示 */
.gold-route-image-container {
  margin-bottom: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gold-route-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gold-route-image-caption {
  background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
  color: #5d4e0e;
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-align: center;
}

.gold-body h4 {
  color: var(--text);
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin: 0 0 var(--spacing-xs);
  padding-bottom: 0;
  border-bottom: 2px solid #ffd700;
}

.gold-intro {
  margin-bottom: var(--spacing-md);
}

.gold-intro p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.5;
  margin: 0 0 var(--spacing-xs);
}

.gold-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gold-features li {
  padding: var(--spacing-xs) 0;
  font-size: var(--font-size-sm);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.gold-features .check {
  color: #27ae60;
  font-weight: bold;
}

.gold-cert {
  background: #fffbf0;
  border-radius: var(--radius-md);
  padding: var(--spacing-sm);
}

.cert-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cert-badge .badge-icon {
  font-size: var(--font-size-xl);
}

.cert-badge .badge-text {
  font-size: var(--font-size-xs);
  color: var(--text-secondary);
  line-height: 1.3;
}

.gold-footer {
  padding: var(--spacing-sm) var(--spacing-md) var(--spacing-md);
  flex-shrink: 0;
  background: var(--card-bg);
  border-top: 1px solid var(--border-light);
}

.gold-footer .btn {
  min-width: 150px;
}

/* 成功弹窗 */
.success-content {
  padding: var(--spacing-3xl);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
}

.success-content h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--spacing-sm);
}

.success-content p {
  color: var(--muted);
  margin-bottom: var(--spacing-xl);
}

/* ------------------------------------------------------------
   16. 灯箱
   ------------------------------------------------------------ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

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








/* 移动端社交媒体二维码适配 */



/* ------------------------------------------------------------
   18. 返回顶部按钮
   ------------------------------------------------------------ */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: var(--spacing-xl);
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  z-index: 998;
  border: none;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:active {
  transform: translateY(0);
}



/* ------------------------------------------------------------
   19. Toast 提示组件
   ------------------------------------------------------------ */
.toast-container {
  position: fixed;
  top: 100px;
  right: var(--spacing-xl);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  pointer-events: none;
}

.toast {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) var(--spacing-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-width: 280px;
  max-width: 400px;
  pointer-events: auto;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--primary);
}

.toast.success {
  border-left-color: #22c55e;
}

.toast.error {
  border-left-color: #ef4444;
}

.toast.warning {
  border-left-color: #f59e0b;
}

.toast.info {
  border-left-color: #3b82f6;
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 2px;
}

.toast-message {
  font-size: var(--font-size-sm);
  color: var(--muted);
}

.toast-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.toast-close:hover {
  color: var(--foreground);
}

.toast.hiding {
  animation: slideOutRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}



/* ------------------------------------------------------------
   20. 页面加载指示器
   ------------------------------------------------------------ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(45, 90, 39, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------------------
   21. 按钮加载状态
   ------------------------------------------------------------ */
.btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ------------------------------------------------------------
   22. 表单验证样式
   ------------------------------------------------------------ */
.form-group {
  position: relative;
}

.form-group.has-error .form-input,
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group.has-success .form-input,
.form-group.has-success input,
.form-group.has-success textarea,
.form-group.has-success select {
  border-color: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-error-message {
  display: none;
  color: #ef4444;
  font-size: var(--font-size-sm);
  margin-top: 4px;
}

.form-group.has-error .form-error-message {
  display: block;
}

/* ------------------------------------------------------------
   23. 表单输入动画
   ------------------------------------------------------------ */
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.1);
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* ------------------------------------------------------------
   25. 文字选中样式
   ------------------------------------------------------------ */
::selection {
  background: rgba(45, 90, 39, 0.2);
  color: var(--foreground);
}

/* ------------------------------------------------------------
   26. 打印样式
   ------------------------------------------------------------ */
@media print {
  .navbar,
  .footer,
  .customer-service,
  .back-to-top,
  .toast-container,
  .page-loader {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}

/* ------------------------------------------------------------
   27. 移动端优化
   ------------------------------------------------------------ */


/* ------------------------------------------------------------
   28. 微信浏览器兼容性
   ------------------------------------------------------------ */
/* 微信浏览器底部工具栏适配 */


/* 微信浏览器下拉刷新禁用 */
body {
  overscroll-behavior-y: contain;
}

/* iOS Safari 橡皮筋效果禁用 */
html {
  overscroll-behavior: none;
}

/* 微信浏览器安全区域适配 */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(var(--spacing-lg) + env(safe-area-inset-bottom));
  }
}

/* ------------------------------------------------------------
   29. 小屏手机优化 (≤375px)
   ------------------------------------------------------------ */


/* ------------------------------------------------------------
   30. 横屏手机优化
   ------------------------------------------------------------ */


/* ------------------------------------------------------------
   31. 高对比度和无障碍
   ------------------------------------------------------------ */
@media (prefers-contrast: high) {
  .nav-links a,
  .footer-links a,
  .btn {
    text-decoration: underline;
  }
  
  .social-link {
    border: 2px solid currentColor;
  }
}

/* ------------------------------------------------------------
   32. 减少动画 (无障碍)
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .nav-toggle.active span {
    transform: none;
  }
}


/* 页脚移动端专属项：PC端隐藏，移动端显示 */
.footer .mobile-only-item {
  display: none;
}



/* ------------------------------------------------------------
   33. PC/H5 兼容性优化
   ------------------------------------------------------------ */

/* 移动端金牌路线弹窗优化 */


/* 移动端路线卡片优化 */


/* 移动端统计数据优化 */


/* 小屏手机进一步优化 */


/* 移动端游客评价优化 */


/* PC端隐藏箭头 */
@media (min-width: 769px) {
  .slider-arrows {
    display: none;
  }
}

/* 移动端联系区块优化 */


/* 移动端按钮优化 - 触摸友好 */


/* 移动端返回顶部按钮 */


/* 移动端section标题优化 */


/* PC端优化 - 大屏幕适配 */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  .routes-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-title {
    font-size: var(--font-size-6xl, 3.5rem);
  }
}

/* 平板端优化 - PC固定布局 */

/* 横屏手机特殊处理 */


/* ------------------------------------------------------------
   34. PC/H5 增强优化
   ------------------------------------------------------------ */

/* 移动端触摸反馈增强 */


/* 移动端弹窗滚动优化 */


/* 移动端导航栏优化 - 滚动时背景处理 */


/* 移动端Hero区域视频控制按钮优化 */


/* 移动端滚动指示器优化 */


/* 移动端联系区块二维码优化 */


/* 移动端特色区块网格优化 */


/* 移动端Hero CTA按钮优化 */


/* 移动端游客评价卡片优化 */


/* PC端大屏幕优化 */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

/* 高分辨率屏幕适配 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .route-image img,
  .gallery-item img,
  .megamenu-image {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* 暗黑模式适配（系统偏好） */
@media (prefers-color-scheme: dark) {
  :root {
    --card-bg: #1a1a1a;
  }
}

/* 打印优化补充 */
@media print {
  .route-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .hero {
    min-height: auto;
    padding: 20px 0;
  }
  
  .hero-video-container {
    display: none;
  }
}

/* ------------------------------------------------------------
   35. 全局优化 - 跨浏览器兼容性
   ------------------------------------------------------------ */

/* 1. 现代浏览器特性检测与回退 */
@supports not (backdrop-filter: blur(10px)) {
  .navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
  }

  .modal-backdrop {
    background: rgba(0, 0, 0, 0.8);
  }
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Firefox滚动条 */
* {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* 3. 文字选择优化 */
::selection {
  background: rgba(45, 90, 39, 0.3);
  color: inherit;
}

::-moz-selection {
  background: rgba(45, 90, 39, 0.3);
  color: inherit;
}

/* 4. 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
  /* 禁用hover效果，提升触摸体验 */
  .nav-links > li > a:hover,
  .route-card:hover,
  .package-item:hover {
    background: none;
    transform: none;
  }

  /* 增加触摸区域 */
  .nav-links > li > a {
    min-height: 44px;
    min-width: 44px;
  }

  button,
  a {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* 禁用过度动画 */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 5. 图片懒加载优化 */
img {
  content-visibility: auto;
}

/* 6. 字体平滑渲染 */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* 7. 输入框兼容性 */
input,
textarea,
select {
  font-family: inherit;
  font-size: 16px; /* 防止iOS自动缩放 */
  -webkit-appearance: none;
  appearance: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* 8. 按钮重置 - 增强版 */
button:focus,
a:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* 9. 安全区域适配 (iPhone X+ 等) */
@supports (padding: max(0px)) {
  .navbar {
    padding-top: max(0px, env(safe-area-inset-top));
  }

  .modal {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }

  .footer {
    padding-bottom: max(32px, env(safe-area-inset-bottom));
  }
}

/* 10. 减少动画 (prefers-reduced-motion) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 11. 高对比度模式 */
@media (prefers-contrast: high) {
  :root {
    --border: #000;
    --text: #000;
  }

  .card,
  .package-item {
    border: 2px solid var(--border);
  }

  button,
  a {
    text-decoration: underline;
  }
}

/* 12. 容器查询支持 (渐进增强) */
@container (min-width: 400px) {
  .package-item {
    flex-direction: row;
  }
}

/* 13. 防止内容溢出 */
* {
  max-width: 100%;
}

code,
pre {
  white-space: pre-wrap;
  word-break: break-word;
}

/* 14. iframe 响应式 */
iframe {
  max-width: 100%;
  border: none;
}

/* 15. 链接下载提示 */
a[download] {
  text-decoration: underline;
}

a[href^="tel"] {
  text-decoration: none;
}

/* 16. 打印优化增强 */
@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  img {
    page-break-inside: avoid;
    max-width: 100% !important;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }

  .navbar,
  .footer,
  .modal,
  button,
  .no-print {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}

/* 17. 平板横屏优化 */


/* 18. 小屏幕手机优化 (iPhone SE 等) */


/* 19. 超大屏幕优化 (4K+) */
@media (min-width: 1920px) {
  html {
    font-size: 110%;
  }

  .container {
    max-width: 1600px;
  }
}

/* 20. 性能优化 - GPU加速 */
.route-card,
.package-item,
.navbar,
.modal,
hero-video-overlay {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* ------------------------------------------------------------
   36. 面包屑导航
   ------------------------------------------------------------ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) 0;
  list-style: none;
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  color: var(--text-secondary);
  opacity: 0.5;
}

.breadcrumb li[aria-current="page"] {
  color: var(--primary);
  font-weight: 500;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* 移动端面包屑优化 */


/* ------------------------------------------------------------
   37. 公共弹窗样式
   ------------------------------------------------------------ */

/* 预订弹窗 */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0); /* 初始无背景 */
}

.booking-modal.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.5); /* 激活时添加半透明背景 */
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1;
  cursor: pointer;
}

.booking-modal-content {
  position: relative;
  background: #ffffff; /* 明确设置白色背景 */
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2); /* 增强阴影 */
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.1); /* 添加边框 */
}

.booking-modal.active .booking-modal-content {
  transform: scale(1) translateY(0);
}

.booking-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 0, 0, 0.25);
  color: #1a1a1a;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 100 !important;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: auto !important;
}

.booking-modal-close:hover,
.booking-modal-close:focus {
  background: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.5);
  color: #dc3545;
  transform: scale(1.15);
  outline: 2px solid rgba(220, 53, 69, 0.3);
  outline-offset: 2px;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.booking-modal-close:active {
  transform: scale(1.05);
  background: rgba(220, 53, 69, 0.15);
}

.booking-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.booking-modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.booking-modal-header p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.booking-modal-qrcode {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.qrcode-img {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.booking-modal-link {
  margin-bottom: 24px;
}

.link-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.link-box {
  display: flex;
  gap: 10px;
}

.link-box input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-primary);
  background: var(--bg-secondary);
}

.link-box input:focus {
  outline: none;
  border-color: var(--primary);
}

.link-tip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(45, 90, 39, 0.05);
  border-radius: var(--radius-md);
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.link-tip i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.copy-btn.copied {
  background: var(--success);
}

.booking-modal-phone {
  margin-bottom: 8px;
}

.phone-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 28px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c5a 100%);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 18px;
  font-weight: 700;
  transition: all var(--transition-fast);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.phone-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
  background: linear-gradient(135deg, #ff8c5a 0%, #ff6b35 100%);
}

.phone-link i {
  font-size: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 咨询客服弹窗 */
.consult-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.consult-modal.active {
  opacity: 1;
  visibility: visible;
}

.consult-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1;
  cursor: pointer;
}

.consult-modal .modal-content {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  z-index: 2;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.consult-modal .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.consult-modal .modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-primary);
}

.consult-modal h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px 0;
  text-align: center;
}

.consult-modal .qrcode-tip {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.consult-modal .qrcode-main {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.consult-modal .qrcode-image {
  padding: 16px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.consult-modal .qrcode-image img {
  width: 200px;
  height: 200px;
  display: block;
  border-radius: var(--radius-md);
}

.consult-modal .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consult-modal .method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
}

/* 移动端弹窗优化 - 已禁用 */

/* ------------------------------------------------------------
   38. H5 移动端优化 - 已禁用
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   22. 工具类
   ------------------------------------------------------------ */
.hidden {
  display: none !important;
}

/* ------------------------------------------------------------
   39. 增强的移动端优化
   ------------------------------------------------------------ */

/* 更小的移动设备 (小于480px) */


/* 平板设备 - PC固定布局 */

/* 预加载关键图片 */
.preload-images {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 减少动画 (用户偏好设置) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  :root {
    --border: #000;
    --text: #000;
    --text-secondary: #333;
  }

  .btn {
    border: 2px solid currentColor;
  }
}

/* 打印样式 */
@media print {
  .navbar,
  .customer-service,
  .modal,
  .video-section,
  .scroll-indicator {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }

  .hero {
    min-height: auto;
    padding: 20px;
  }
}

/* ============================================================
   40. 通用动画定义 (集中管理，避免重复)
   ============================================================ */

/* 淡入上移动画 - 通用入场动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 简单淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* 淡入下滑动动画 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

