/* =========================================================
   南方日记 · 设计系统
   风格：电影感旅拍 Cinematic Wanderer
   主色：墨绿 #1A2E22 · 强调：落日橘 #D96C3C
   ========================================================= */

:root {
  /* 色彩 tokens */
  --forest: #1a2e22;
  --forest-600: #24402f;
  --forest-700: #2e4f3a;
  --ink: #0e1512;
  --sand: #f5f1e8;
  --paper: #fcfaf5;
  --ember: #d96c3c;
  --ember-600: #c25a2c;
  --text: #22302a;
  --text-2: #5c6b61;
  --muted: #8a958d;
  --line: rgba(26, 46, 34, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --white: #ffffff;

  /* 字体 */
  --font-display: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;

  /* 层级字号 */
  --fs-display: clamp(2.2rem, 5vw, 3.75rem);
  --fs-h2: clamp(1.6rem, 3.4vw, 2.25rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-caption: 0.8125rem;

  /* 间距 */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* 布局 */
  --container: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 8px;

  /* 层级 */
  --z-nav: 100;
  --z-overlay: 200;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.28s;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* 辅助 */
.section { padding-block: var(--space-8); }
.section--dark { background: var(--ink); color: var(--white); }
.section--sand { background: var(--sand); }
.section--tall { padding-block: var(--space-9); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 600;
  margin-bottom: var(--space-4);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--ember);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-5);
  margin-bottom: var(--space-7);
  flex-wrap: wrap;
}
.section-head h2 { font-size: var(--fs-h2); }
.section-head p {
  color: var(--text-2);
  max-width: 34rem;
  font-size: 0.95rem;
}

.section--dark h2 { color: var(--white); }
.section--dark .section-head p { color: rgba(255, 255, 255, 0.66); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--ember); color: var(--white); box-shadow: 0 10px 26px rgba(217, 108, 60, 0.32); }
.btn--primary:hover { background: var(--ember-600); transform: translateY(-2px); }

.btn--ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.btn--dark { background: var(--forest); color: var(--white); }
.btn--dark:hover { background: var(--forest-600); transform: translateY(-2px); }

.btn--sm { padding: 10px 20px; min-height: 40px; font-size: 0.875rem; }

/* ---------- 标签 Chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(26, 46, 34, 0.07);
  color: var(--forest);
  border: 1px solid transparent;
}
.chip--ember { background: rgba(217, 108, 60, 0.12); color: var(--ember-600); }
.chip--line { background: transparent; border-color: var(--line); }
.chip--dark { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.chip--dark-border { background: transparent; border-color: var(--line-light); color: rgba(255, 255, 255, 0.85); }
.chip svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-nav);
  padding-block: var(--space-5);
  transition: background var(--dur) var(--ease), padding var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.nav--scrolled {
  background: rgba(252, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  padding-block: var(--space-3);
  box-shadow: 0 1px 0 var(--line);
}
.nav--scrolled .nav__link { color: var(--text); }
.nav--scrolled .brand__text { color: var(--forest); }

.brand { display: inline-flex; align-items: center; gap: var(--space-3); }
.brand__mark {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--forest);
  color: var(--white);
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--white); letter-spacing: 0.08em; }

.nav__links { display: flex; align-items: center; gap: var(--space-6); }
.nav__link {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--dur);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--ember);
  transition: width var(--dur) var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__cta { margin-left: var(--space-2); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.nav__toggle svg { width: 26px; height: 26px; }
.nav--scrolled .nav__toggle { color: var(--text); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-6);
    background: var(--ink);
    color: var(--white);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
    z-index: var(--z-overlay);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { color: var(--white); font-size: 1.35rem; font-family: var(--font-display); }
  .nav__cta { display: none; }
  .nav__close {
    position: absolute;
    top: var(--space-5); right: var(--gutter);
    width: 44px; height: 44px;
    color: var(--white);
  }
  .nav__close svg { width: 26px; height: 26px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 1.4s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); opacity: 0.9; } to { transform: scale(1); opacity: 1; } }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 21, 18, 0.42) 0%, rgba(14, 21, 18, 0.18) 40%, rgba(14, 21, 18, 0.72) 100%);
}
.hero__content { max-width: 720px; padding-block: var(--space-9) var(--space-8); }
.hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.hero h1 {
  color: var(--white);
  font-size: var(--fs-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-5);
}
.hero h1 .accent { color: var(--ember); }
.hero__lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 32rem;
  margin-bottom: var(--space-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
.hero__stat { display: flex; gap: var(--space-7); margin-top: var(--space-7); flex-wrap: wrap; }
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--white);
}
.hero__stat span { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.62); }

/* ---------- 卖点区 ---------- */
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.point {
  padding: var(--space-6);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.point:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(26, 46, 34, 0.08); }
.point__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: rgba(217, 108, 60, 0.1);
  color: var(--ember-600);
  border-radius: 12px;
  margin-bottom: var(--space-4);
}
.point__icon svg { width: 22px; height: 22px; }
.point h3 { font-size: 1.08rem; margin-bottom: var(--space-2); }
.point p { font-size: 0.9rem; color: var(--text-2); }
@media (max-width: 900px) { .points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

/* ---------- 线路卡片 ---------- */
.tour-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 980px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tour-grid { grid-template-columns: 1fr; } }

.tour-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(26, 46, 34, 0.1); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__badge {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  background: var(--ember);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.tour-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-5); }
.tour-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--ember-600);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.tour-card__meta svg { width: 14px; height: 14px; }
.tour-card h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.tour-card__desc { font-size: 0.875rem; color: var(--text-2); margin-bottom: var(--space-4); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tour-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-4); }
.tour-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.tour-card__price { font-size: 0.875rem; color: var(--text-2); }
.tour-card__price b { font-family: var(--font-display); font-size: 1.35rem; color: var(--ember-600); }
.tour-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.9rem;
}
.tour-card__link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.tour-card:hover .tour-card__link svg { transform: translateX(4px); }

/* ---------- 作品墙 ---------- */
.gallery-grid { columns: 3; column-gap: var(--space-4); }
@media (max-width: 900px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }
.gallery-item {
  position: relative;
  display: block;
  margin-bottom: var(--space-4);
  border-radius: var(--radius);
  overflow: hidden;
  break-inside: avoid;
}
.gallery-item img { width: 100%; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-5);
  background: linear-gradient(0deg, rgba(14, 21, 18, 0.78), transparent);
  color: var(--white);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery-item:hover .gallery-item__cap { opacity: 1; }
.gallery-item__cap b { display: block; font-size: 0.95rem; font-family: var(--font-display); }

/* ---------- 领队 ---------- */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } }
.guide {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: var(--space-5);
  text-align: center;
}
.guide__avatar {
  width: 92px; height: 92px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(217, 108, 60, 0.6);
}
.guide__avatar img { width: 100%; height: 100%; object-fit: cover; }
.guide h3 { color: var(--white); font-size: 1.15rem; }
.guide__role { color: var(--ember); font-size: 0.8125rem; font-weight: 600; margin: var(--space-1) 0 var(--space-3); }
.guide p { color: rgba(255, 255, 255, 0.62); font-size: 0.875rem; }

/* ---------- 资质 & 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: var(--space-6); }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--forest);
}
.stat span { color: var(--text-2); font-size: 0.9rem; }
@media (max-width: 560px) {
  .stats { gap: var(--space-3); }
  .stat { padding: var(--space-4) var(--space-3); }
  .stat b { font-size: 1.7rem; }
  .stat span { font-size: 0.78rem; }
}

/* ---------- 评价 ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: var(--space-6);
}
.quote__stars { color: var(--ember); font-size: 0.95rem; margin-bottom: var(--space-4); letter-spacing: 2px; }
.quote p { font-size: 0.925rem; color: var(--text-2); margin-bottom: var(--space-4); }
.quote__who { display: flex; align-items: center; gap: var(--space-3); }
.quote__who img {
  width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
}
.quote__who b { display: block; font-size: 0.9rem; }
.quote__who span { font-size: 0.8rem; color: var(--muted); }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  color: var(--white);
}
.cta-band__bg { position: absolute; inset: 0; z-index: -1; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after { content: ""; position: absolute; inset: 0; background: rgba(14, 21, 18, 0.6); }
.cta-band h2 { color: var(--white); font-size: var(--fs-h2); margin-bottom: var(--space-3); }
.cta-band p { color: rgba(255, 255, 255, 0.78); max-width: 30rem; margin: 0 auto var(--space-6); }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); padding-top: var(--space-8); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr; gap: var(--space-6); } }
.footer .brand__text { color: var(--white); }
.footer__about { font-size: 0.875rem; max-width: 22rem; margin-top: var(--space-3); }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: var(--space-4); font-family: var(--font-body); font-weight: 600; }
.footer__links li { margin-bottom: var(--space-2); }
.footer__links a { font-size: 0.9rem; transition: color var(--dur); }
.footer__links a:hover { color: var(--ember); }
.footer__contact li { display: flex; align-items: center; gap: var(--space-2); font-size: 0.9rem; margin-bottom: var(--space-3); }
.footer__contact svg { width: 16px; height: 16px; color: var(--ember); flex-shrink: 0; }
.footer__bottom {
  border-top: 1px solid var(--line-light);
  padding-block: var(--space-4);
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ---------- 表单 ---------- */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: var(--space-2); }
.field label .req { color: var(--ember); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ember);
  box-shadow: 0 0 0 3px rgba(217, 108, 60, 0.15);
}
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: var(--space-1); }
.form__msg { display: none; padding: var(--space-4); border-radius: var(--radius-sm); font-size: 0.9rem; }
.form__msg.is-show { display: block; }
.form__msg--ok { background: rgba(36, 64, 47, 0.1); color: var(--forest-600); }
.form__msg--err { background: rgba(193, 51, 51, 0.1); color: #b13a3a; }

/* ---------- 页面 Hero（内页） ---------- */
.page-hero {
  position: relative;
  padding: 170px 0 var(--space-8);
  color: var(--white);
  overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,21,18,.55), rgba(14,21,18,.4) 60%, var(--paper) 100%); }
.page-hero h1 { color: var(--white); font-size: var(--fs-h2); margin-bottom: var(--space-3); }
.page-hero p { color: rgba(255, 255, 255, 0.82); max-width: 34rem; }
.crumb { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.6); margin-bottom: var(--space-4); }
.crumb a { color: var(--white); opacity: 0.85; }
.crumb a:hover { opacity: 1; }

/* ---------- 筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-7); align-items: center; }
.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: all var(--dur) var(--ease);
}
.filter-btn:hover { border-color: var(--forest); color: var(--forest); }
.filter-btn.is-active { background: var(--forest); border-color: var(--forest); color: var(--white); }

/* ---------- 行程时间线 ---------- */
.timeline { position: relative; padding-left: var(--space-6); }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline li { position: relative; padding-bottom: var(--space-6); }
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-6) + 2px);
  top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(217, 108, 60, 0.18);
}
.timeline h4 { font-size: 1.05rem; margin-bottom: var(--space-1); }
.timeline .day { font-size: 0.78rem; color: var(--ember-600); font-weight: 700; letter-spacing: 0.08em; }
.timeline p { font-size: 0.9rem; color: var(--text-2); }

/* ---------- 信息卡/列表 ---------- */
.info-list li {
  display: flex;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--line);
  font-size: 0.925rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list svg { width: 18px; height: 18px; color: var(--ember); flex-shrink: 0; margin-top: 3px; }
.check-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: 0.925rem;
  color: var(--text-2);
  margin-bottom: var(--space-3);
}
.check-list svg { width: 18px; height: 18px; color: var(--forest); flex-shrink: 0; margin-top: 3px; }

/* ---------- 面板 ---------- */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.panel h3 { font-size: 1.2rem; margin-bottom: var(--space-4); }
.panel--sticky { position: sticky; top: 96px; }

/* ---------- 细节页 ---------- */
.detail-grid { display: grid; grid-template-columns: 1.9fr 1fr; gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-hero-media { aspect-ratio: 21 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--space-6); }
.detail-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.tags-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }

/* 团期表 */
.date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-3);
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}
.date-row:last-child { border-bottom: none; }
.date-row .seats { font-size: 0.8rem; color: var(--muted); }
.date-row .seats.is-full { color: #b13a3a; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: var(--space-3);
  overflow: hidden;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 var(--space-5) var(--space-4); font-size: 0.9rem; color: var(--text-2); }

/* ---------- 空状态 ---------- */
.empty {
  text-align: center;
  padding: var(--space-8);
  color: var(--text-2);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  display: none;
}
.empty.is-show { display: block; }

/* ---------- 动效：滚动渐显 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg img, .tour-card__media img, .gallery-item img { animation: none; transition: none; }
  * { animation-duration: 0.001s !important; }
}

/* 可见焦点 */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 2px;
}
