/* =============================================
   领途旅游 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: 'Noto Serif SC', 'Songti SC', serif;
  --font-sans: 'Noto Sans SC', -apple-system, 'PingFang SC', sans-serif;
  --font-display: 'Cinzel', 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); }

/* ===== 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: 32px;
}

/* 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; flex-direction: column; gap: 5px; }
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}

.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; }
.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; opacity: 0.7;
}
.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; }
.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; }
.footer-logo-icon { width: 40px; height: 40px; }
.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; }
.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); font-size: 11px;
  transition: all var(--transition);
}
.social-link svg { width: 16px; height: 16px; }
.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 li { margin-bottom: 10px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-nav a:hover { color: var(--primary-light); }

.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); }
.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-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-social-label { font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 10px; }

.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); }
.footer-bottom a:hover { color: var(--primary-light); }

/* ===== FLOAT BUTTONS ===== */
.float-actions {
  position: fixed; right: 24px; bottom: 80px;
  display: flex; flex-direction: column; gap: 10px; z-index: 999;
}
.float-btn {
  width: 46px; height: 46px;
  background: var(--primary); color: white;
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); transition: all var(--transition);
  text-decoration: none;
}
.float-btn:hover { background: var(--primary-dark); transform: scale(1.1); }
.float-btn svg { width: 20px; height: 20px; }
.float-top { opacity: 0; pointer-events: none; background: var(--dark); }
.float-top.show { opacity: 1; pointer-events: all; }

/* ===== INQUIRY POPUP ===== */
.inquiry-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.inquiry-overlay.open { opacity: 1; visibility: visible; }
.inquiry-popup {
  background: white; border-radius: var(--radius-lg);
  padding: 40px; max-width: 500px; width: 90%;
  transform: scale(0.95); transition: transform 0.3s;
  box-shadow: var(--shadow-lg);
}
.inquiry-overlay.open .inquiry-popup { transform: scale(1); }
.popup-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
}
.popup-close {
  background: none; border: none; cursor: pointer;
  font-size: 24px; color: var(--text-light); line-height: 1;
  padding: 4px 8px;
}
.popup-close:hover { color: var(--text); }

/* ===== ADMIN STYLES ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--dark); color: white;
  flex-shrink: 0; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-main { flex: 1; padding: 32px; background: var(--bg); }
.admin-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; color: rgba(255,255,255,0.7);
  font-size: 14px; border-left: 3px solid transparent;
  transition: all var(--transition);
}
.admin-nav a:hover, .admin-nav a.active {
  color: white; background: rgba(255,255,255,0.05);
  border-left-color: var(--primary);
}
.admin-card {
  background: white; border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.admin-table th { background: var(--bg); font-weight: 600; color: var(--text-light); }
.admin-table tr:hover td { background: var(--bg); }
.badge {
  padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 500;
}
.badge-green { background: #d4edda; color: #155724; }
.badge-gray { background: #e9ecef; color: #6c757d; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-img-grid { display: none; }
  .tour-detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .topbar { display: none; }
  .main-nav {
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: white; flex-direction: column;
    justify-content: flex-start; align-items: flex-start;
    padding: 20px; gap: 4px;
    transform: translateX(-100%); transition: transform var(--transition);
    overflow-y: auto; z-index: 999; border-top: 1px solid var(--border);
  }
  .main-nav.open { transform: translateX(0); }
  .nav-link { width: 100%; padding: 14px 16px; font-size: 16px; }
  .nav-link::after { display: none; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 20px; }
  .menu-toggle { display: flex; }

  .hero-slider { height: 480px; }
  .hero-content { padding: 0 24px; }
  .hero-title { font-size: 28px; }

  .tours-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-item:nth-child(2n) { border-right: none; }

  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-img { height: 220px; }

  .about-stats { grid-template-columns: repeat(3, 1fr); }
  .visa-services-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .qr-grid { grid-template-columns: repeat(4, 1fr); }

  .section { padding: 52px 0; }
  .page-hero { height: 240px; }
  .contact-form-wrap { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; }
  .timeline-content, .timeline-item:nth-child(odd) .timeline-content {
    width: calc(100% - 60px); text-align: left; margin-left: 60px;
  }
  .timeline-dot { left: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .tours-grid { grid-template-columns: 1fr; }
  .hero-btns .btn-outline { display: none; }
  .hero-slider { height: 400px; }
  .about-stats { grid-template-columns: 1fr; gap: 16px; }
}
