/* =============================================
   领途旅游 Link Tour — Main Stylesheet
   Design: Premium Travel, Clean & Elegant
   ============================================= */

:root {
  --primary: #1a7a4a;
  --primary-light: #2ecc71;
  --primary-dark: #145c38;
  --accent: #d4a843;
  --accent-light: #f0c96a;
  --dark: #1a1a2e;
  --dark-2: #2d2d44;
  --text: #333344;
  --text-light: #666680;
  --text-muted: #999aaa;
  --border: #e8e8f0;
  --bg: #fafafa;
  --bg-2: #f4f6f2;
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 60px rgba(0,0,0,0.15);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  /* 国内兼容字体栈：优先使用系统内置字体，无需加载外部字体 */
  --font-serif: 'Songti SC', 'STSong', 'SimSun', 'Source Han Serif SC', Georgia, serif;
  --font-sans: -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
  --font-display: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif;
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }

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

/* ===== TOPBAR ===== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  height: 36px;
  display: flex;
  align-items: center;
}
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-phone { display: flex; align-items: center; gap: 6px; }
.topbar-links { display: flex; gap: 16px; }
.topbar-links a:hover { color: var(--primary-light); }

/* ===== LOGO IMAGE (uploaded) ===== */
.logo-img { height: 44px; width: auto; display: block; }

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: var(--header-h);
  display: flex; align-items: center;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-icon { width: 44px; height: 44px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-en {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 600;
  color: var(--dark);
  letter-spacing: 2px;
}
.logo-zh {
  font-size: 11px; color: var(--text-light);
  letter-spacing: 3px;
}

/* Nav */
.main-nav {
  display: flex; align-items: center; gap: 4px;
  flex: 1; justify-content: flex-end;
  margin-right: 8px;
}
.nav-link {
  padding: 8px 14px;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px; background: var(--primary);
  border-radius: 2px;
  transition: left var(--transition), right var(--transition);
}
.nav-link:hover::after, .nav-link.active::after { left: 14px; right: 14px; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-arrow { font-size: 10px; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: all var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 20px;
  font-size: 14px; color: var(--text);
}
.dropdown-menu a:hover { background: var(--bg-2); color: var(--primary); }

/* Search */
.header-actions { display: flex; align-items: center; gap: 8px; }
.search-btn, .menu-toggle {
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--text);
  transition: all var(--transition);
}
.search-btn:hover, .menu-toggle:hover { background: var(--bg-2); color: var(--primary); }
.menu-toggle {
  display: none;   /* hidden on PC */
  flex-direction: column; gap: 5px;
  flex-shrink: 0;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  background: none; border: none; cursor: pointer;
  transition: background var(--transition);
}
.menu-toggle:hover { background: var(--bg-2); }
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Hamburger → X animation when nav open */
.menu-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
/* Nav close btn — removed, hamburger now handles both open/close */
/* Mobile nav footer */
.nav-mobile-footer {
  display: none;
  padding: 20px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.nav-mobile-footer a {
  color: var(--primary); font-size: 14px; font-weight: 500;
}
/* Nav overlay */
.nav-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  backdrop-filter: blur(2px);
}
.nav-overlay.show { display: block; }

/* ── Translate button ── */
.translate-btn {
  background: none; border: 1px solid var(--border);
  cursor: pointer; padding: 5px 10px;
  border-radius: 6px; color: var(--text);
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  transition: all var(--transition);
  flex-shrink: 0;
}
.translate-btn:hover { background: var(--bg-2); color: var(--primary); border-color: var(--primary); }
.translate-btn svg { flex-shrink: 0; }
.translate-label { font-size: 11px; font-weight: 700; min-width: 16px; text-align: center; }
.lang-wrap { position: relative; }
.lang-picker {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  min-width: 160px; overflow: hidden; z-index: 500;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all 0.2s ease;
}
.lang-picker.open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item {
  padding: 10px 16px; font-size: 13px; cursor: pointer;
  color: var(--text); transition: background 0.15s;
  white-space: nowrap;
}
.lang-item:hover { background: var(--bg-2); color: var(--primary); }
.lang-item.active { color: var(--primary); font-weight: 600; background: var(--bg-2); }

.search-bar {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition);
  border-top: 0;
}
.search-bar.open {
  max-height: 80px;
  border-top: 1px solid var(--border);
}
.search-inner {
  display: flex; gap: 0;
  max-width: 600px; margin: 16px auto;
}
.search-inner input {
  flex: 1; padding: 10px 16px;
  border: 1px solid var(--border); border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 14px; outline: none;
  transition: border-color var(--transition);
}
.search-inner input:focus { border-color: var(--primary); }
.search-submit {
  padding: 10px 24px;
  background: var(--primary); color: var(--white);
  border: none; cursor: pointer;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  transition: background var(--transition);
}
.search-submit:hover { background: var(--primary-dark); }

/* ===== HERO / BANNER ===== */
.hero-section { position: relative; overflow: hidden; }
.hero-slider {
  position: relative;
  height: 600px;
  /* PC: 全宽横幅 */
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.8s ease;
  background: var(--dark);
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center; /* 主体居中 */
  opacity: 0.75;
}
.hero-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0f3460 0%, #16213e 40%, #1a472a 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-placeholder-inner {
  text-align: center; color: rgba(255,255,255,0.15);
  font-size: 80px;
}
.hero-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  padding: 0 60px;
}
.hero-text { color: var(--white); max-width: 560px; }
/* Gradient overlay: darker at bottom for text readability on mobile */
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0.1) 40%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white); font-size: 12px;
  padding: 4px 14px; border-radius: 20px;
  letter-spacing: 1px; margin-bottom: 20px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.hero-subtitle {
  font-size: 16px; opacity: 0.9;
  margin-bottom: 32px; line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--primary); color: var(--white);
  border-radius: 50px; font-size: 15px; font-weight: 500;
  border: 2px solid var(--primary);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: transparent; color: var(--white);
  border-radius: 50px; font-size: 15px; font-weight: 500;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Hero Controls */
.hero-controls {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer; transition: all var(--transition);
  border: none;
}
.hero-dot.active {
  background: var(--white); width: 24px; border-radius: 4px;
}
.hero-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 100%; display: flex; justify-content: space-between;
  padding: 0 20px; pointer-events: none;
}
.hero-arrow {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(6px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; cursor: pointer; pointer-events: all;
  transition: all var(--transition);
  font-size: 18px;
}
.hero-arrow:hover { background: var(--primary); border-color: var(--primary); }

/* ===== SECTION COMMONS ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-2); }
.section-header {
  text-align: center; margin-bottom: 52px;
}
.section-label {
  display: inline-block;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--primary); font-weight: 600;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700; color: var(--dark);
  margin-bottom: 16px;
  position: relative; display: inline-block;
}
.section-title::before, .section-title::after {
  content: '— '; color: var(--text-muted); font-weight: 300;
}
.section-title::after { content: ' —'; }
.section-desc { color: var(--text-light); font-size: 15px; max-width: 520px; margin: 0 auto; }
.section-more {
  text-align: center; margin-top: 44px;
}
.btn-more {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 36px;
  border: 1.5px solid var(--primary); color: var(--primary);
  border-radius: 50px; font-size: 14px; font-weight: 500;
  transition: all var(--transition);
}
.btn-more:hover { background: var(--primary); color: var(--white); }

/* ===== TOUR CARDS ===== */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tour-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  cursor: pointer;
}
.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.tour-card-img {
  position: relative; height: 220px; overflow: hidden;
}
.tour-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.tour-card:hover .tour-card-img img { transform: scale(1.08); }
.tour-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: rgba(255,255,255,0.8);
}
.tour-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--primary); color: white;
  font-size: 11px; padding: 4px 10px; border-radius: 20px;
  letter-spacing: 0.5px;
}
.tour-badge.accent { background: var(--accent); color: var(--dark); }
.tour-card-body { padding: 18px 20px 20px; }
.tour-card-title {
  font-family: var(--font-serif);
  font-size: 15px; font-weight: 600;
  color: var(--dark); margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.5;
}
.tour-card-meta {
  display: flex; gap: 12px; margin-bottom: 12px;
  font-size: 12px; color: var(--text-muted);
}
.tour-card-meta span { display: flex; align-items: center; gap: 4px; }
.tour-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.tour-price { font-size: 13px; color: var(--text-light); }
.tour-price strong { color: var(--primary); font-size: 18px; font-weight: 700; }
.tour-price .unit { font-size: 11px; }
.tour-inquire {
  padding: 7px 16px;
  background: var(--bg-2); color: var(--primary);
  border-radius: 20px; font-size: 12px; font-weight: 500;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.tour-card:hover .tour-inquire { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== FEATURES STRIP ===== */
.features-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  text-align: center; padding: 24px 20px;
  border-right: 1px solid var(--border);
}
.feature-item:last-child { border-right: none; }
.feature-icon {
  font-size: 36px; margin-bottom: 14px;
  display: block;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 600;
  color: var(--dark); margin-bottom: 6px;
}
.feature-desc { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(135deg, #0a2d1a 0%, #1a4a2e 50%, #0f3d25 100%);
  color: var(--white); padding: 80px 0; position: relative; overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/><circle cx="80" cy="80" r="60" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
  background-size: 400px;
}
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative;
}
.about-text .section-title { color: var(--white); }
.about-text .section-title::before, .about-text .section-title::after { color: rgba(255,255,255,0.3); }
.about-text p {
  color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.9; margin-bottom: 16px;
}
.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 600;
  color: var(--primary-light); display: block; line-height: 1;
}
.stat-unit { font-size: 14px; color: var(--primary-light); }
.stat-label { font-size: 12px; color: rgba(255,255,255,0.6); margin-top: 6px; }
.about-img-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.about-img-grid .img-wrap {
  border-radius: var(--radius); overflow: hidden;
  height: 200px;
}
.about-img-grid .img-wrap:first-child {
  grid-column: 1 / -1; height: 240px;
}
.about-img-grid .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius);
}

/* ===== PAGE HERO ===== */
.page-hero {
  height: 320px; position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
}
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}
.page-hero-content {
  position: relative; z-index: 1;
  padding: 0 0 48px; width: 100%;
}
.page-hero-content .container { }
.page-title-en {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--primary-light); margin-bottom: 8px; display: block;
}
.page-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: white; margin-bottom: 12px;
}
.page-title span { color: var(--primary-light); }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.6);
}
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb-sep { opacity: 0.4; }

/* ===== TOURS LIST PAGE ===== */
.tours-page { padding: 60px 0; }
.tours-filters {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border: 1.5px solid var(--border); background: var(--white);
  border-radius: 50px; font-size: 13px; color: var(--text-light);
  cursor: pointer; transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ===== PAGINATION ===== */
.pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 48px;
}
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text-light);
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  background: var(--primary); color: white; border-color: var(--primary);
}

/* ===== VISA PAGE ===== */
.visa-hero-section {
  padding: 80px 0; background: linear-gradient(135deg, #0a2d1a, #1a4a2e);
  color: white; text-align: center;
}
.visa-intro { max-width: 700px; margin: 0 auto; }
.visa-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 48px 0; }
.visa-service-card {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.visa-card-img { height: 220px; position: relative; overflow: hidden; }
.visa-card-img img { width: 100%; height: 100%; object-fit: cover; }
.visa-card-body { padding: 24px; background: white; }
.visa-card-title {
  font-family: var(--font-serif); font-size: 20px;
  font-weight: 700; color: var(--dark); margin-bottom: 10px;
}
.visa-regions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.visa-region-tag {
  padding: 4px 12px; background: var(--bg-2);
  border-radius: 20px; font-size: 12px; color: var(--text-light);
}
.visa-coverage-strip {
  background: var(--dark); color: white;
  padding: 60px 0; text-align: center;
}
.coverage-number {
  font-family: var(--font-display); font-size: 80px;
  color: var(--primary-light); line-height: 1;
  display: block; margin-bottom: 12px;
}
.coverage-label { font-size: 18px; opacity: 0.8; }

/* ===== NEWS PAGE ===== */
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-top: 48px;
}
.news-featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.news-featured-img {
  height: 300px; overflow: hidden;
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-body {
  padding: 36px; background: white;
  display: flex; flex-direction: column; justify-content: center;
}
.news-card {
  background: white; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-img { height: 200px; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 20px 22px; }
.news-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.news-title {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 600; color: var(--dark);
  margin-bottom: 10px; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-summary {
  font-size: 13px; color: var(--text-light);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  line-height: 1.6;
}
.news-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary); font-size: 13px; font-weight: 500;
  margin-top: 14px;
}
.news-link:hover { gap: 10px; }

/* ===== ABOUT / TIMELINE ===== */
.timeline-section { padding: 80px 0; }
.timeline {
  position: relative; max-width: 900px; margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--primary), var(--primary-light), var(--primary));
  transform: translateX(-50%);
}
.timeline-item {
  display: flex; align-items: flex-start;
  margin-bottom: 40px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-content {
  width: calc(50% - 40px);
  background: white; border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.timeline-content:hover { box-shadow: var(--shadow-md); }
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }
.timeline-dot {
  width: 16px; height: 16px;
  background: var(--primary); border: 3px solid white;
  border-radius: 50%; box-shadow: 0 0 0 3px var(--primary);
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 20px; z-index: 1;
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  color: var(--primary); margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 16px; font-weight: 600; color: var(--dark);
  margin-bottom: 8px;
}
.timeline-desc { font-size: 13px; color: var(--text-light); line-height: 1.7; }

/* ===== CONTACT FORM ===== */
.contact-form-wrap {
  max-width: 640px; margin: 0 auto;
  background: white; border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--dark); margin-bottom: 24px; text-align: center;
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 6px; font-weight: 500; }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: 14px; color: var(--text);
  transition: border-color var(--transition);
  font-family: var(--font-sans);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--primary); }
.form-textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 14px;
  background: var(--primary); color: white;
  border: none; border-radius: 50px;
  font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all var(--transition);
  font-family: var(--font-sans);
}
.form-submit:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-success {
  background: #d4edda; color: #155724;
  padding: 14px 20px; border-radius: var(--radius);
  margin-bottom: 20px; font-size: 14px;
}

/* ===== TOUR DETAIL ===== */
.tour-detail-layout {
  display: grid; grid-template-columns: 1fr 360px;
  gap: 40px; padding: 60px 0;
}
.tour-detail-main {}
.tour-detail-cover {
  border-radius: var(--radius-lg); overflow: hidden;
  height: 420px; margin-bottom: 36px;
}
.tour-detail-cover img { width: 100%; height: 100%; object-fit: cover; }
.tour-detail-title {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; color: var(--dark);
  margin-bottom: 16px; line-height: 1.4;
}
.tour-detail-meta {
  display: flex; gap: 20px; flex-wrap: wrap;
  margin-bottom: 32px; padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.tour-meta-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--text-light);
}
.tour-meta-icon { color: var(--primary); }
.tour-content {
  font-size: 15px; line-height: 1.9; color: var(--text);
}
.tour-content h3 {
  font-family: var(--font-serif); font-size: 20px;
  color: var(--dark); margin: 28px 0 12px;
  padding-left: 12px; border-left: 3px solid var(--primary);
}
.tour-content p { margin-bottom: 14px; }

/* Sidebar */
.tour-sidebar {}
.sidebar-card {
  background: white; border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-md);
  margin-bottom: 24px; border: 1px solid var(--border);
}
.sidebar-price {
  text-align: center; padding-bottom: 20px;
  border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.price-label { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.price-value {
  font-family: var(--font-display); font-size: 36px;
  color: var(--primary); font-weight: 600;
}
.price-unit { font-size: 14px; color: var(--text-light); }

/* ===== VISA DETAIL CONTENT ===== */
.visa-section-block {
  padding: 60px 0; border-bottom: 1px solid var(--border);
}
.visa-section-block:last-child { border-bottom: none; }
.visa-section-header {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white; text-align: center;
  padding: 32px 24px; border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.visa-section-header h2 {
  font-family: var(--font-serif); font-size: 26px; font-weight: 700;
}
.visa-region-block {
  background: white; border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 16px;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--primary);
}
.visa-region-block h4 {
  font-family: var(--font-serif); font-size: 17px;
  color: var(--primary); margin-bottom: 8px;
}
.visa-region-block p { font-size: 14px; color: var(--text-light); line-height: 1.8; }
/* ===== FOOTER ===== */
.site-footer { background: #1c1c2e; color: rgba(255,255,255,0.8); }
.footer-main { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 2fr;
  gap: 48px;
}

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; text-decoration: none; }
.footer-logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.f-logo-en { font-family: var(--font-display); font-size: 15px; color: white; letter-spacing: 2px; }
.f-logo-zh { font-size: 10px; color: rgba(255,255,255,0.5); letter-spacing: 3px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all var(--transition); text-decoration: none;
  flex-shrink: 0; overflow: hidden;
}
.social-link svg { width: 16px; height: 16px; display: block; flex-shrink: 0; }
.social-link:hover { background: var(--primary); color: white; border-color: var(--primary); }

.footer-heading {
  font-size: 13px; font-weight: 600; color: white;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 20px; position: relative; padding-bottom: 12px;
}
.footer-heading::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px; background: var(--primary);
}

.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--transition); text-decoration: none; }
.footer-nav a:hover { color: var(--primary-light); }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 13px; }
.contact-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 11px; color: rgba(255,255,255,0.4); margin-bottom: 2px; display: block; }
.contact-list a { color: rgba(255,255,255,0.6); text-decoration: none; }
.contact-list a:hover { color: var(--primary-light); }
.contact-list small { color: rgba(255,255,255,0.35); font-size: 11px; }

.qr-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 16px; }
.qr-item { text-align: center; }
.qr-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; margin-bottom: 4px; display: block; }
.qr-placeholder {
  width: 100%; aspect-ratio: 1;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: rgba(255,255,255,0.3); padding: 4px; text-align: center; margin-bottom: 4px;
}
.qr-item > span { font-size: 10px; color: rgba(255,255,255,0.4); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0; text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary-light); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .footer-main { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .qr-grid { grid-template-columns: repeat(2,1fr); }
  .footer-bottom p { font-size: 11px; line-height: 1.8; }
}

/* ===== NEWS DETAIL GRID ===== */
.news-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .news-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .news-detail-grid aside { position: static !important; }
}

/* ===== INQUIRY POPUP ===== */
.inquiry-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
.inquiry-overlay.open { opacity: 1; visibility: visible; }

.inquiry-popup {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: translateY(20px);
  transition: transform 0.3s;
  position: relative;
}
.inquiry-overlay.open .inquiry-popup { transform: translateY(0); }

.popup-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.popup-header h3 {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700; color: var(--dark);
}
.popup-close {
  width: 32px; height: 32px;
  background: var(--bg-2); border: none; border-radius: 50%;
  font-size: 18px; cursor: pointer; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.popup-close:hover { background: #f0f0f0; color: var(--dark); }

@media (max-width: 600px) {
  .inquiry-popup { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr !important; }
}


/* ===== FLOAT BUTTONS ===== */
.float-actions {
  position: fixed; right: 20px; bottom: 76px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 999;
}
.float-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all var(--transition);
  text-decoration: none;
  flex-shrink: 0;
}
.float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 20px rgba(0,0,0,0.3); }
.float-phone { background: var(--primary); color: white; }
.float-phone:hover { background: var(--primary-dark); }
.float-top {
  background: white; color: var(--text);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: var(--bg-2); }

/* WhatsApp float */
.float-whatsapp { background: #25D366; color: white; position: relative; }
.float-whatsapp:hover { background: #1ebe5d; }
.float-whatsapp::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { opacity: .6; transform: scale(1); }
  100% { opacity: 0;  transform: scale(1.5); }
}

/* =============================================
   MOBILE / RESPONSIVE — 完整移动端适配
   ============================================= */

/* ---- HEADER MOBILE ---- */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .topbar { display: none; }

  .logo-en { font-size: 16px; letter-spacing: 1px; }
  .logo-zh { font-size: 10px; }
  .logo-icon { width: 36px; height: 36px; }

  .header-inner {
    padding: 0 16px;
    justify-content: space-between;
  }
  .header-actions {
    margin-left: auto;
    display: flex; align-items: center; gap: 4px;
  }

  /* Slide-in nav */
  .main-nav {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: min(300px, 85vw);
    background: white;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    box-shadow: 4px 0 24px rgba(0,0,0,0.15);
    overflow-y: auto;
    overflow-x: hidden;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav::before {
    content: '';
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    flex-shrink: 0;
  }

  .nav-link {
    padding: 14px 20px;
    font-size: 15px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.active {
    background: var(--bg-2);
    color: var(--primary);
  }

  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    opacity: 1; visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    background: #f8faf8;
    display: none;
  }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .dropdown-menu a {
    padding: 12px 36px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    display: block;
  }

  .nav-mobile-footer {
    display: block;
    padding: 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
  }
  .nav-mobile-footer a { color: var(--primary); font-size: 14px; font-weight: 500; }

  .nav-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    backdrop-filter: blur(2px);
  }
  .nav-overlay.show { display: block; }
}

/* ---- HERO ---- */
@media (max-width: 900px) {
  /* Banner 移动端：高度降低，内容移到底部，图片聚焦中心 */
  .hero-slider {
    height: 56vw;         /* 宽高比约 16:9，随屏幕宽度自适应 */
    min-height: 240px;
    max-height: 420px;
  }
  .hero-slide img {
    object-position: center 30%; /* 偏上，人物/风景主体不被裁掉 */
  }
  .hero-content {
    padding: 0 20px;
    align-items: flex-end;       /* 文字沉底 */
    padding-bottom: 40px;
  }
  .hero-text { max-width: 100%; }
  .hero-tag { display: none; }
  .hero-title { font-size: clamp(20px, 5vw, 28px); line-height: 1.3; margin-bottom: 10px; }
  .hero-subtitle { font-size: 13px; margin-bottom: 14px; display: none; }
  .hero-btns { gap: 10px; }
  .hero-btns .btn-primary { font-size: 13px; padding: 10px 20px; }
  .hero-btns .btn-outline { display: none; }
  .hero-arrows { display: none; }
  .hero-controls { bottom: 12px; }
}

/* ---- GRIDS ---- */
@media (max-width: 900px) {
  .tours-grid { grid-template-columns: 1fr 1fr !important; gap: 14px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item { border-right: none !important; border-bottom: 1px solid var(--border); padding: 16px; }
  .news-grid { grid-template-columns: 1fr !important; }
  .visa-services-grid { grid-template-columns: 1fr !important; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-img-grid { display: none !important; }
  .about-stats { grid-template-columns: repeat(3,1fr); gap: 12px; }
}

/* ---- SECTIONS ---- */
@media (max-width: 900px) {
  .section { padding: 40px 0; }
  .section-title { font-size: 22px; }
  .section-header { margin-bottom: 28px; }
  .container { padding: 0 16px; }
  .page-hero { height: 220px !important; }
  .page-hero-content { padding-bottom: 24px !important; }
  .page-title { font-size: 22px !important; }
}

/* ---- DETAIL PAGES ---- */
@media (max-width: 900px) {
  .tour-detail-layout { grid-template-columns: 1fr !important; }
  .tour-sidebar { position: static !important; }
  .contact-form-wrap { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr !important; }
  .timeline::before { left: 16px; }
  .timeline-item,
  .timeline-item:nth-child(odd) { flex-direction: row !important; }
  .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    width: calc(100% - 48px) !important;
    margin-left: 48px !important;
    text-align: left !important;
  }
  .timeline-dot { left: 16px !important; transform: translateX(-50%) !important; }

  /* Inline grid overrides */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns: 1fr 360px"] { grid-template-columns: 1fr !important; }
  [style*="grid-template-columns: repeat(3"],
  [style*="grid-template-columns:repeat(3"] { grid-template-columns: 1fr 1fr !important; }
}

/* ---- SMALL PHONES ---- */
@media (max-width: 480px) {
  :root { --header-h: 56px; }
  .tours-grid { grid-template-columns: 1fr !important; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .hero-slider { min-height: 220px; max-height: 320px; }
  .hero-title { font-size: 18px; }
  .hero-content { padding-bottom: 28px; }
  .about-stats { grid-template-columns: 1fr 1fr !important; }
  .tour-card-img { height: 180px; }
  .float-actions { right: 14px; bottom: 70px; gap: 7px; }
  .float-btn { width: 42px !important; height: 42px !important; }
}

/* ===== WHATSAPP CHAT BUBBLE ===== */
.wa-bubble {
  position: fixed; bottom: 90px; right: 20px;
  width: 300px; background: white;
  border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 1000; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.96);
  transition: all 0.3s ease;
  transform-origin: bottom right;
}
.wa-bubble.show { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wa-bubble-header {
  background: #075E54; padding: 14px 16px;
  display: flex; align-items: center; gap: 10px;
}
.wa-bubble-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-bubble-info { flex: 1; min-width: 0; }
.wa-bubble-name { font-size: 13px; font-weight: 600; color: white; }
.wa-bubble-status { font-size: 11px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.wa-online-dot { width: 7px; height: 7px; background: #25D366; border-radius: 50%; flex-shrink: 0; }
.wa-bubble-close {
  background: none; border: none; color: rgba(255,255,255,.7);
  font-size: 20px; cursor: pointer; padding: 0; line-height: 1;
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wa-bubble-close:hover { color: white; }
.wa-bubble-body { padding: 16px; background: #ECE5DD; }
.wa-message { display: flex; flex-direction: column; align-items: flex-start; }
.wa-message-bubble {
  background: white; padding: 10px 14px;
  border-radius: 0 10px 10px 10px;
  font-size: 13px; line-height: 1.6; color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,.1); max-width: 90%;
}
.wa-message-time { font-size: 10px; color: #999; margin-top: 5px; align-self: flex-end; }
.wa-bubble-footer { padding: 12px 16px; background: white; }
.wa-start-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 11px;
  background: #25D366; color: white;
  border-radius: 8px; text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.wa-start-btn:hover { background: #1ebe5d; color: white; }

@media (max-width: 480px) {
  .wa-bubble { width: calc(100vw - 32px); right: 16px; bottom: 80px; }
}