/* ============================================================
   趣野旅行 — 线路详情页样式（专业旅游产品页设计）
   主色调：深绿 #1B6B4A   辅助：浅绿 #E8F5E9   背景：#F5F6F8
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  --green-dark: #1B6B4A;
  --green-mid: #2D8B5E;
  --green-light: #3CA374;
  --green-bg: #E8F5E9;
  --green-tag-bg: #D4F0E2;
  --orange: #F07B3F;
  --orange-light: #FFF3EC;
  --orange-dark: #E06830;
  --red: #E74C3C;
  --bg: #F5F6F8;
  --white: #FFFFFF;
  --text: #2C2C2C;
  --text-light: #5A5A5A;
  --text-muted: #999999;
  --border: #EBEDF0;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 2px 16px rgba(0,0,0,0.05);
  --shadow-card-hover: 0 6px 24px rgba(0,0,0,0.09);
  --shadow-bar: 0 -3px 20px rgba(0,0,0,0.07);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 800px;
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== Placeholder Image ===== */
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1B6B4A 0%, #2D8B5E 40%, #48A070 100%);
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-align: center;
  min-height: 200px;
  border-radius: var(--radius);
}
.placeholder-img.hero {
  border-radius: 0;
  min-height: 350px;
  font-size: 1.3rem;
  background: linear-gradient(135deg, #1B6B4A 0%, #2D8B5E 35%, #3CA374 70%, #48A070 100%);
}

/* ===== Header / Nav ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.02em;
}
.nav-links { display: flex; gap: 20px; }
.nav-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-mid); border-bottom-color: var(--green-mid); }

/* ===== Detail Container ===== */
.detail-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Back Link ===== */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-mid);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 0 8px;
  transition: gap var(--transition);
}
.back-link:hover { gap: 10px; }

/* ============================================================
   Hero 区域 — 350px 全高封面，底部渐变遮罩
   ============================================================ */
.hero-wrapper {
  position: relative;
  margin-bottom: 20px;
}
.detail-hero {
  position: relative;
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0 24px 100px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.detail-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.02) 0%,
    rgba(0,0,0,0.05) 25%,
    rgba(0,0,0,0.18) 50%,
    rgba(0,0,0,0.45) 75%,
    rgba(0,0,0,0.70) 100%
  );
  z-index: 1;
}
.detail-hero > * { position: relative; z-index: 2; }

.detail-hero .hero-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  max-width: 600px;
  letter-spacing: 0.01em;
}
.detail-hero .hero-tags-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 10px;
}
.detail-hero .hero-tags-row .hero-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}

.detail-hero .hero-price {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
  letter-spacing: -0.01em;
}
.detail-hero .hero-price small {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.88;
  margin-left: 2px;
}

.detail-hero .hero-highlights {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.88);
  max-width: 520px;
  line-height: 1.65;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* ---- Hero 底部概览卡片条（覆盖在 Hero 底部） ---- */
.hero-overview-strip {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: -48px;
  position: relative;
  z-index: 10;
  padding: 0 20px;
}
.hero-ov-card {
  flex: 0 1 140px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-ov-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}
.hero-ov-card .ov-icon {
  font-size: 1.35rem;
  margin-bottom: 4px;
  line-height: 1;
}
.hero-ov-card .ov-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
}
.hero-ov-card .ov-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   Section 通用
   ============================================================ */
.detail-section {
  padding: 28px 0;
}
.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 4px solid var(--green-mid);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

/* ============================================================
   行程概览 — 4格横向卡片
   ============================================================ */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.overview-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.overview-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.overview-item .ov-icon { font-size: 1.5rem; margin-bottom: 8px; line-height: 1; }
.overview-item .ov-value { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); }
.overview-item .ov-label { font-size: 0.72rem; color: var(--text-muted); margin-top: 4px; }

/* ============================================================
   景点介绍 — 左图右文交替卡片
   ============================================================ */
.scenic-list { display: flex; flex-direction: column; gap: 16px; }
.spot-card {
  display: flex;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease;
}
.spot-card:hover { box-shadow: var(--shadow-card-hover); }
.spot-card:nth-child(even) { flex-direction: row-reverse; }

.spot-card .spot-img {
  flex: 0 0 260px;
  min-height: 190px;
  overflow: hidden;
  background: var(--green-bg);
}
.spot-card .spot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spot-card .spot-img .placeholder-img { border-radius: 0; }

.spot-card .spot-info {
  flex: 1;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spot-card:nth-child(even) .spot-info { padding: 22px 24px; }
.spot-card .spot-info h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.spot-card .spot-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.85;
}

/* ============================================================
   行程时间线 — 竖线左侧时间 + 绿色圆点
   ============================================================ */
.timeline {
  position: relative;
  padding-left: 60px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--green-mid) 0%,
    var(--green-light) 50%,
    var(--green-mid) 100%
  );
  border-radius: 1px;
}
.timeline-item {
  position: relative;
  margin-bottom: 18px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease;
}
.timeline-item:hover { box-shadow: var(--shadow-card-hover); }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green-mid);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 4px var(--green-mid);
  z-index: 2;
}
.timeline-item .tl-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-mid);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.timeline-item .tl-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
}
.timeline-item .tl-desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ============================================================
   费用说明 — 双列绿/橙卡片对比
   ============================================================ */
.fee-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fee-box {
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.fee-box.include {
  background: linear-gradient(160deg, #E8F5E9 0%, #F0FAF4 100%);
  border: 1px solid rgba(45,139,94,0.12);
}
.fee-box.exclude {
  background: linear-gradient(160deg, #FFF3EC 0%, #FFF8F4 100%);
  border: 1px solid rgba(240,123,63,0.12);
}
.fee-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.fee-box.include h4 { color: var(--green-dark); }
.fee-box.exclude h4 { color: var(--orange-dark); }
.fee-box ul { display: flex; flex-direction: column; gap: 12px; }
.fee-box ul li {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  padding-left: 24px;
  position: relative;
}
.fee-box.include ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--green-mid);
  border-bottom: 2px solid var(--green-mid);
  transform: rotate(-45deg);
}
.fee-box.exclude ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 11px;
  width: 10px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

/* ============================================================
   FAQ / 温馨提示 / 特别说明 — 折叠面板，绿色左边框
   ============================================================ */
.accordion-list { display: flex; flex-direction: column; gap: 10px; }

/* 共用折叠样式 */
.faq-item, .tips-item, .terms-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.25s ease;
}
.faq-item.open, .tips-item.open, .terms-item.open {
  border-left-color: var(--green-mid);
  box-shadow: var(--shadow-card-hover);
}

.faq-question, .tips-question, .terms-question {
  width: 100%;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  font-family: inherit;
  transition: background 0.2s ease;
  gap: 12px;
}
.faq-question:hover, .tips-question:hover, .terms-question:hover { background: #F6FBF8; }
.faq-question .faq-icon,
.tips-question .tips-icon,
.terms-question .terms-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.15rem;
  color: var(--green-mid);
  font-weight: 500;
  border-radius: 50%;
  background: var(--green-bg);
}
.faq-item.open .faq-question .faq-icon,
.tips-item.open .tips-question .tips-icon,
.terms-item.open .terms-question .terms-icon {
  transform: rotate(45deg);
  background: var(--green-mid);
  color: #fff;
}

.faq-answer, .tips-answer, .terms-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 600px; }
.tips-item.open .tips-answer { max-height: 800px; }
.terms-item.open .terms-answer { max-height: 3000px; }

.faq-answer-inner, .tips-answer-inner, .terms-answer-inner {
  padding: 0 20px 20px;
  color: var(--text-light);
  line-height: 1.85;
  font-size: 0.88rem;
}

/* ============================================================
   增值服务 — 三列卡片
   ============================================================ */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.addon-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid transparent;
}
.addon-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--green-bg);
}
.addon-card .addon-icon { font-size: 2.2rem; margin-bottom: 12px; line-height: 1; }
.addon-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.addon-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.6;
}
.addon-card .addon-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange);
}

/* ============================================================
   底部固定咨询条
   ============================================================ */
.contact-bar-fixed {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-bar);
  padding: 12px 20px;
  z-index: 50;
}
.contact-bar-inner {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
}
.cb-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.2s ease;
  letter-spacing: 0.01em;
}
.cb-btn-wechat {
  background: #07C160;
  color: #fff;
}
.cb-btn-wechat:hover { background: #06AD56; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(7,193,96,0.3); }
.cb-btn-phone {
  background: var(--green-mid);
  color: #fff;
}
.cb-btn-phone:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(27,107,74,0.3); }

/* ===== Footer ===== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.72);
  text-align: center;
  padding: 24px 20px;
  font-size: 0.8rem;
  margin-top: 0;
  padding-bottom: 90px;
  letter-spacing: 0.01em;
}

/* ============================================================
   首页兼容样式
   ============================================================ */
.tours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0 48px;
}
.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.tour-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}
.tour-card .card-img { height: 220px; overflow: hidden; background: var(--green-bg); }
.tour-card .card-body { padding: 16px 20px 20px; }
.tour-card .card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px; font-size: 0.85rem; color: var(--text-light);
}
.tour-card .card-meta .divider { color: var(--border); }
.tour-card .card-meta .price { color: var(--red); font-weight: 700; font-size: 1.05rem; }
.tour-card .card-title {
  font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tour-card .card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tour-card .tag {
  padding: 3px 10px; border-radius: 50px; font-size: 0.75rem;
  background: var(--green-tag-bg); color: var(--green-dark); font-weight: 500;
}

/* 首页 banner */
.banner {
  min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
}
.hero-banner {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 240px 160px at 72% 38%, rgba(255,248,220,0.55) 0%, rgba(255,218,150,0.18) 40%, transparent 70%),
    linear-gradient(180deg, #1a3a5c 0%, #2d6090 18%, #5b9bd5 36%, #a3d5f0 52%, #d4eaf7 62%, #fde8c8 74%, #f7d794 82%, #e8c97a 88%),
    radial-gradient(ellipse 110% 28% at 18% 79%, rgba(140,168,190,0.82) 0%, transparent 62%),
    radial-gradient(ellipse 90% 22% at 78% 82%, rgba(130,160,185,0.78) 0%, transparent 58%),
    radial-gradient(ellipse 80% 30% at 10% 86%, rgba(80,110,138,0.85) 0%, transparent 55%),
    radial-gradient(ellipse 70% 26% at 65% 84%, rgba(72,100,130,0.80) 0%, transparent 55%),
    radial-gradient(ellipse 100% 34% at 30% 90%, rgba(60,100,80,0.88) 0%, transparent 48%),
    radial-gradient(ellipse 90% 30% at 72% 88%, rgba(55,95,75,0.85) 0%, transparent 48%),
    radial-gradient(ellipse 120% 26% at 50% 94%, rgba(40,75,45,0.92) 0%, transparent 42%),
    linear-gradient(180deg, transparent 84%, #3d6b35 84.5%, #4a7d3e 90%, #5a8f46 95%, #3d6b35 100%);
}
.hero-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 160px 16px at 16% 55.5%, rgba(255,255,255,0.70) 0%, transparent 75%),
    radial-gradient(ellipse 140px 14px at 74% 59%, rgba(255,255,255,0.65) 0%, transparent 72%),
    radial-gradient(ellipse 180px 16px at 28% 67%, rgba(255,255,255,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 150px 14px at 68% 66%, rgba(255,255,255,0.50) 0%, transparent 68%);
}
.hero-banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 200px 40px at 20% 20%, rgba(255,255,255,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 140px 28px at 24% 22%, rgba(255,255,255,0.32) 0%, transparent 58%),
    radial-gradient(ellipse 220px 36px at 78% 28%, rgba(255,255,255,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 150px 26px at 82% 30%, rgba(255,255,255,0.26) 0%, transparent 55%),
    radial-gradient(ellipse 180px 32px at 52% 15%, rgba(255,255,255,0.18) 0%, transparent 55%);
}

/* 首页导航 */
.main-nav {
  display: flex; justify-content: center; gap: 32px;
  padding: 16px 0; border-bottom: 1px solid var(--border); background: var(--white);
}
.main-nav .nav-tab {
  font-size: 17px; padding: 8px 0; cursor: pointer; color: var(--text-muted);
  border-bottom: 3px solid transparent; transition: all var(--transition); user-select: none;
  font-weight: 500;
}
.main-nav .nav-tab:hover { color: var(--green-light); }
.main-nav .nav-tab.active { color: var(--green-mid); border-bottom-color: var(--green-mid); font-weight: 700; }

.sub-filter {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 4px;
  padding: 10px 16px; background: var(--white);
}
.sub-filter-label {
  display: inline-flex; align-items: center; font-size: 12px; color: var(--text-muted); font-weight: 500;
  min-width: 32px; justify-content: flex-end; margin-right: 4px; flex-shrink: 0;
}
.sub-filter-divider {
  flex-basis: 100%; height: 0; margin: 0; visibility: hidden;
}
.sub-filter .filter-btn {
  display: inline-flex; align-items: center; padding: 4px 12px; border: none; border-radius: 20px;
  background: #f0f0f0; color: var(--text-light); font-size: 13px; cursor: pointer;
  transition: all var(--transition); font-family: inherit; white-space: nowrap; flex-shrink: 0;
}
.sub-filter .filter-btn:hover { background: #e0e0e0; }
.sub-filter .filter-btn.active { background: var(--green-mid); color: #fff; }

/* PDF */
.pdf-pages {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden;
}
.pdf-pages img { width: 100%; display: block; max-width: 800px; margin: 0 auto; }

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

/* ============================================================
   响应式 — 移动端自适应
   ============================================================ */

/* Tablet: <= 1024px */
@media (max-width: 1024px) {
  .tours-grid { grid-template-columns: repeat(2, 1fr); }
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
  .spot-card { flex-direction: column !important; }
  .spot-card .spot-img { flex: 0 0 200px; }
  .spot-card .spot-info { padding: 16px 20px 20px !important; }
  .fee-compare { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-overview-strip { flex-wrap: wrap; }
  .hero-ov-card { flex: 0 1 calc(50% - 8px); }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
  .header-inner { flex-direction: row; gap: 8px; }
  .nav-links { gap: 14px; overflow-x: auto; justify-content: center; }

  .detail-hero {
    height: 280px;
    padding: 0 16px 70px;
  }
  .detail-hero .hero-title { font-size: 1.25rem; }
  .detail-hero .hero-price { font-size: 1.5rem; }
  .detail-hero .hero-highlights {
    font-size: 0.8rem;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .detail-hero .hero-tags-row .hero-tag { font-size: 0.7rem; padding: 3px 10px; }

  .hero-overview-strip {
    margin-top: -36px;
    gap: 8px;
    padding: 0 10px;
  }
  .hero-ov-card {
    flex: 0 1 calc(50% - 6px);
    padding: 12px 8px;
  }
  .hero-ov-card .ov-value { font-size: 0.88rem; }
  .hero-ov-card .ov-label { font-size: 0.65rem; }

  .tours-grid { grid-template-columns: 1fr; gap: 16px; }
  .tour-card .card-img { height: 180px; }

  .overview-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .overview-item { padding: 14px 10px; }
  .overview-item .ov-value { font-size: 0.9rem; }
  .overview-item .ov-icon { font-size: 1.3rem; }

  .spot-card .spot-img { flex: 0 0 180px; }

  .timeline { padding-left: 44px; }
  .timeline::before { left: 16px; }
  .timeline-item::before { left: -34px; top: 20px; width: 11px; height: 11px; box-shadow: 0 0 0 3px var(--green-mid); }
  .timeline-item { padding: 16px 18px; }

  .fee-box { padding: 20px 16px; }

  .addon-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .addon-card { padding: 18px 14px; }

  .section-title { font-size: 1.1rem; }
  .detail-section { padding: 22px 0; }

  .faq-question, .tips-question, .terms-question { font-size: 0.88rem; padding: 14px 16px; }

  .contact-bar-inner { gap: 8px; max-width: 100%; }
  .cb-btn { padding: 13px 16px; font-size: 0.88rem; }

  .site-footer { padding-bottom: 100px; font-size: 0.75rem; }

  .sub-filter-divider {
    flex-basis: 100%; height: 1px; margin: 4px 0; visibility: visible;
    background: var(--border);
  }

  .banner { height: 260px; }
  .banner h1 { font-size: 1.6rem; }
  .banner p { font-size: 0.9rem; }

  .pdf-pages img { max-width: 100%; }
}

/* Small Mobile: <= 480px */
@media (max-width: 480px) {
  .detail-hero { height: 240px; padding: 0 14px 60px; }
  .detail-hero .hero-title { font-size: 1.1rem; }
  .detail-hero .hero-price { font-size: 1.3rem; }
  .detail-hero .hero-highlights { display: none; }

  .hero-overview-strip { margin-top: -30px; }
  .hero-ov-card { flex: 0 1 calc(50% - 5px); padding: 10px 6px; }
  .hero-ov-card .ov-icon { font-size: 1.1rem; }
  .hero-ov-card .ov-value { font-size: 0.82rem; }
  .hero-ov-card .ov-label { font-size: 0.62rem; }

  .overview-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }

  .addon-grid { grid-template-columns: 1fr; }
}




/* ===== Language Switcher ===== */
  background: var(--green-bg);
  color: var(--green-dark);
  border: 1.5px solid var(--green-dark);
  border-radius: 14px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition);
}
  background: var(--green-dark);
  color: #fff;
}

