/* 全站设计变量：颜色、边框、阴影等公共视觉基础。 */
:root {
  --ink: #1d211c;
  --muted: #62685f;
  --paper: #f8f4ea;
  --sand: #e7d8bd;
  --leaf: #244132;
  --leaf-2: #315842;
  --clay: #b65e2e;
  --gold: #d9a441;
  --white: #fffaf2;
  --line: rgba(29, 33, 28, 0.14);
  --shadow: 0 18px 50px rgba(22, 24, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

/* 顶部导航：首屏透明，滚动后由 JavaScript 切换为浅色背景。 */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  background: rgba(248, 244, 234, 0.96);
  box-shadow: 0 10px 32px rgba(18, 20, 17, 0.12);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 8px 24px;
  background: var(--leaf);
  color: var(--white);
  font-size: 13px;
}

.nav {
  width: min(1600px, calc(100% - 56px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
}

.site-header.scrolled .nav {
  color: var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
  line-height: 1.1;
}

.brand small {
  font-size: 12px;
  opacity: 0.78;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  border-radius: 6px;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
}

/* 首页首屏：全屏背景图、遮罩、品牌文案与快速咨询卡片。 */
.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero picture,
.hero picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(13, 22, 16, 0.78) 0%, rgba(13, 22, 16, 0.48) 48%, rgba(13, 22, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(12, 17, 13, 0.3) 0%, rgba(12, 17, 13, 0.18) 52%, rgba(12, 17, 13, 0.82) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1600px, calc(100% - 56px));
  margin: 116px auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 56px;
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  max-width: 760px;
  font-size: clamp(44px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 21px;
  color: rgba(255, 250, 242, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--clay);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(120, 47, 20, 0.28);
}

.btn.ghost {
  border-color: rgba(255, 250, 242, 0.75);
  color: var(--white);
  background: rgba(255, 250, 242, 0.08);
}

.btn.secondary {
  background: var(--gold);
  color: #16130e;
}

.btn.full {
  width: 100%;
}

.quote-card {
  min-width: 0;
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
  padding: 26px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-card h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

input,
select,
textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(36, 65, 50, 0.2);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(182, 94, 46, 0.14);
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* 首屏下方的服务亮点横条。 */
.trust-strip {
  width: min(1600px, calc(100% - 56px));
  margin: -58px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.trust-strip div {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  color: var(--leaf);
  font-size: 30px;
  line-height: 1;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

/* 内容区通用宽度与上下留白。 */
.section {
  width: min(1600px, calc(100% - 56px));
  margin: 0 auto;
  padding: 92px 0;
}

/* 品牌介绍：桌面端使用图文并置，建立比首屏更轻的阅读节奏。 */
.intro-feature {
  width: min(1600px, calc(100% - 56px));
  margin: 84px auto 52px;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 6vw, 108px);
  align-items: center;
}

.intro-feature-copy {
  max-width: 620px;
}

.intro-feature h2,
.section-heading h2,
.migration-copy h2,
.why-copy h2,
.quote-section h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: 0;
}

.intro-feature h2 {
  max-width: 660px;
  font-size: clamp(34px, 3vw, 44px);
  line-height: 1.13;
}

.intro-feature p {
  max-width: 620px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 18px;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.intro-points span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 850;
}

.intro-feature-visual {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  min-height: 390px;
}

.intro-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.intro-image-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 4px;
  background: rgba(20, 29, 21, 0.78);
  color: var(--white);
  font-size: 12px;
  font-weight: 850;
}

/* 手机不加载宽屏照片带，避免内容过长并保持单列阅读。 */
.desktop-scene-strip {
  display: none;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  padding: 8px 15px;
  cursor: pointer;
  font-weight: 800;
}

.filter.active {
  background: var(--leaf);
  color: var(--white);
}

/* 产品分类与热门产品卡片区域。 */
.category-section {
  padding-top: 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-grid article {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(28, 33, 27, 0.18), rgba(28, 33, 27, 0.86)),
    url("assets/tarangire.webp") center / cover;
  box-shadow: var(--shadow);
}

.category-grid article:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(28, 33, 27, 0.18), rgba(28, 33, 27, 0.86)),
    url("assets/hero-migration.webp") center / cover;
}

.category-grid article:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(28, 33, 27, 0.18), rgba(28, 33, 27, 0.86)),
    url("assets/northern-circuit.webp") center / cover;
}

.category-grid span {
  color: var(--gold);
  font-weight: 900;
}

.category-grid h3 {
  margin: 10px 0;
  font-size: 28px;
}

.category-grid p {
  color: rgba(255, 250, 242, 0.84);
}

.category-grid a {
  margin-top: 8px;
  color: var(--gold);
  font-weight: 900;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tour-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(21, 24, 18, 0.08);
}

.tour-card[hidden] {
  display: none;
}

.tour-card.featured {
  border-color: rgba(182, 94, 46, 0.42);
}

.tour-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tour-media {
  display: block;
  overflow: hidden;
}

.tour-media img {
  transition: transform 0.3s ease;
}

.tour-media:hover img {
  transform: scale(1.035);
}

.tour-body {
  padding: 22px;
}

.tour-body h3 {
  min-height: 62px;
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.25;
}

.tour-body p {
  color: var(--muted);
}

dl {
  margin: 18px 0;
  display: grid;
  gap: 10px;
}

dl div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
}

dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.text-link {
  border: 0;
  background: transparent;
  color: var(--clay);
  padding: 0;
  cursor: pointer;
  font-weight: 900;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

/* 动态套餐列表及其分类标签。 */
.package-showcase {
  padding: 92px max(28px, calc((100vw - 1600px) / 2));
  background: #f0e7d8;
}

.package-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-tab {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  padding: 8px 15px;
  cursor: pointer;
  font-weight: 850;
}

.package-tab.active {
  background: var(--leaf);
  color: var(--white);
}

.package-list {
  display: grid;
  gap: 14px;
}

.package-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(21, 24, 18, 0.08);
}

.package-row[hidden] {
  display: none;
}

.package-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.package-content h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.package-content p {
  margin-bottom: 10px;
  color: var(--muted);
}

.package-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #efe5d3;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 850;
}

.package-actions {
  display: grid;
  gap: 10px;
}

/* 产品详情页：封面、路线、亮点、逐日行程与包含项目。 */
.detail-page {
  background: var(--paper);
}

.detail-page .site-header {
  color: var(--ink);
}

.detail-page .nav {
  color: var(--ink);
}

.tour-detail {
  padding-top: 114px;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.detail-hero > img,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-hero > img {
  object-fit: cover;
}

.detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 20, 15, 0.82), rgba(14, 20, 15, 0.42)),
    linear-gradient(180deg, rgba(14, 20, 15, 0.05), rgba(14, 20, 15, 0.78));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1600px, calc(100% - 56px));
  margin: 0 auto;
  padding: 70px 0;
}

.detail-hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 5vw, 72px);
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(255, 250, 242, 0.86);
  font-weight: 800;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 960px;
  margin: 28px 0;
}

.detail-meta div {
  min-height: 94px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.11);
  border: 1px solid rgba(255, 250, 242, 0.18);
}

.detail-meta span,
.detail-meta strong {
  display: block;
}

.detail-meta span {
  margin-bottom: 8px;
  color: rgba(255, 250, 242, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.detail-meta strong {
  color: var(--white);
  line-height: 1.35;
}

.detail-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.route-panel {
  position: sticky;
  top: 130px;
  padding: 26px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(21, 24, 18, 0.08);
}

.route-panel h2,
.detail-main h2,
.itinerary-section h2,
.included-band h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
}

.route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: route;
}

.route-list li {
  counter-increment: route;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 850;
}

.route-list li:last-child {
  border-bottom: 0;
}

.route-list li::before {
  content: counter(route);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--white);
  font-size: 13px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.highlight-grid article {
  min-height: 112px;
  display: flex;
  align-items: end;
  padding: 20px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--leaf), var(--leaf-2));
}

.highlight-grid strong {
  font-size: 20px;
  line-height: 1.3;
}

.itinerary-section {
  padding-top: 30px;
}

.itinerary-list {
  display: grid;
  gap: 14px;
}

.itinerary-item {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.day-pill {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gold);
  color: #17130d;
  font-weight: 900;
}

.itinerary-item h3 {
  margin-bottom: 8px;
  font-size: 24px;
}

.itinerary-item p {
  color: var(--muted);
}

.day-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.day-meta span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #efe5d3;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 800;
}

.included-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 86px max(20px, calc((100vw - 1180px) / 2));
  background: var(--leaf);
  color: var(--white);
}

.included-band ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-band li {
  position: relative;
  padding-left: 24px;
  color: rgba(255, 250, 242, 0.86);
}

.included-band li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.not-found {
  min-height: 70vh;
  padding: 190px 20px 80px;
  text-align: center;
}

/* 大迁徙季节专题横幅。 */
.migration-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 38px;
  align-items: center;
  margin: 20px 0 0;
  padding: 86px max(28px, calc((100vw - 1600px) / 2));
  background: var(--leaf);
  color: var(--white);
}

.migration-copy p {
  max-width: 680px;
  color: rgba(255, 250, 242, 0.82);
  font-size: 18px;
}

.season-list {
  display: grid;
  gap: 12px;
}

.season-list div {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.09);
  border: 1px solid rgba(255, 250, 242, 0.16);
}

.season-list strong,
.season-list span {
  display: block;
}

.season-list strong {
  color: var(--gold);
  font-size: 24px;
}

.season-list span {
  margin-top: 4px;
  color: rgba(255, 250, 242, 0.86);
}

/* 品牌优势介绍：图文双栏布局。 */
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.why-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.reason-list {
  display: grid;
  gap: 18px;
}

.reason-list div {
  padding-left: 20px;
  border-left: 4px solid var(--gold);
}

.reason-list h3 {
  margin-bottom: 5px;
  font-size: 22px;
}

.reason-list p,
.quote-section p {
  color: var(--muted);
}

/* 咨询表单区域，首页和详情页共用。 */
.quote-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
  padding: 88px max(28px, calc((100vw - 1600px) / 2));
  background: #ece3d2;
}

.faq-section h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 4vw, 52px);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

/* 邮件预览弹窗与遮罩层。 */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 13, 11, 0.68);
}

.email-modal[hidden] {
  display: none;
}

.email-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.email-dialog h2 {
  margin-bottom: 8px;
  font-size: 34px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn.dark {
  border-color: rgba(29, 33, 28, 0.2);
  color: var(--ink);
}

.copy-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--leaf);
  font-weight: 850;
}

.wide-form {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.wide-form textarea,
.wide-form button {
  grid-column: 1 / -1;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 34px max(28px, calc((100vw - 1600px) / 2));
  background: #151914;
  color: var(--white);
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 250, 242, 0.72);
}

.footer div:last-child {
  display: grid;
  gap: 6px;
  color: rgba(255, 250, 242, 0.82);
}

/* 电脑端采用全宽介绍区和三联实景图；这与移动端单列布局刻意不同。 */
@media (min-width: 981px) {
  .intro-feature {
    width: 100%;
    min-height: 470px;
    margin: 0;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    background: #e8dfce;
  }

  .intro-feature-copy {
    max-width: none;
    padding: 84px clamp(46px, 7vw, 160px) 84px max(46px, calc((100vw - 1600px) / 2));
  }

  .intro-feature-visual {
    min-height: 470px;
    border-radius: 0;
  }

  .desktop-scene-strip {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr 0.85fr;
    height: 330px;
  }

  .desktop-scene-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .desktop-scene-strip img:first-child {
    object-position: center;
  }

  .desktop-scene-strip img:nth-child(2) {
    object-position: center 56%;
  }

  .desktop-scene-strip img:nth-child(3) {
    object-position: center 38%;
  }

  /* 产品分类统一为左侧文案、右侧实景图片。 */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-grid article,
  .category-grid article:nth-child(2),
  .category-grid article:nth-child(3) {
    position: relative;
    min-height: 238px;
    justify-content: center;
    padding: 30px 46% 30px 34px;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(21, 24, 18, 0.08);
  }

  .category-grid article::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 42%;
    background: url("assets/tarangire.webp") center / cover;
  }

  .category-grid article:nth-child(2)::after {
    background-image: url("assets/migration-dust.jpg");
  }

  .category-grid article:nth-child(3)::after {
    background-image: url("assets/zebra-meadow.jpg");
    background-position: center 38%;
  }

  .category-grid article > * {
    position: relative;
    z-index: 1;
  }

  .category-grid p {
    max-width: 620px;
    color: var(--muted);
  }

  /* 热门产品从卡片网格改为左文右图的横向产品行。 */
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tour-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    min-height: 300px;
  }

  .tour-media {
    grid-column: 2;
    grid-row: 1;
    order: 2;
  }

  .tour-media img,
  .tour-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .tour-body {
    grid-column: 1;
    grid-row: 1;
    order: 1;
    padding: 30px 36px;
  }

  .tour-body h3 {
    min-height: 0;
    font-size: 27px;
  }

  /* 套餐列表同样以左侧说明、右侧图片的方向展示。 */
  .package-row {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    min-height: 220px;
    padding: 22px;
  }

  .package-row img {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 100%;
    aspect-ratio: auto;
  }

  .package-content {
    grid-column: 1;
    grid-row: 1;
  }

  .package-actions {
    grid-column: 1;
    grid-row: 2;
    width: min(420px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 品牌优势区由左文右图构成，延续整页视觉方向。 */
  .why {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  }

  .why-copy {
    order: 1;
  }

  .why-image {
    order: 2;
  }

  /* 大迁徙专题右侧保留实景作为背景，文字显示在图片之上。 */
  .season-list {
    padding: 18px;
    background: linear-gradient(rgba(22, 35, 25, 0.58), rgba(22, 35, 25, 0.58)), url("assets/migration-field.jpg") center / cover;
    border-radius: 8px;
  }

  /* 以下板块：中间保持纯色，左右只在超宽屏显示照片。 */
  .category-section,
  .tours,
  .package-showcase,
  .migration-band,
  .why,
  .quote-section,
  .faq-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding-right: max(28px, calc((100vw - 1360px) / 2));
    padding-left: max(28px, calc((100vw - 1360px) / 2));
  }

  .category-section,
  .faq-section {
    background: #f8f4ea;
  }

  .tours {
    background: #e8efe4;
  }

  .package-showcase {
    background: #f0e7d8;
  }

  .migration-band {
    background: #244132;
  }

  .why {
    background: #f4eee3;
  }

  .quote-section {
    background: #e8dfce;
  }

  .category-section::before,
  .category-section::after,
  .tours::before,
  .tours::after,
  .package-showcase::before,
  .package-showcase::after,
  .migration-band::before,
  .migration-band::after,
  .why::before,
  .why::after,
  .quote-section::before,
  .quote-section::after,
  .faq-section::before,
  .faq-section::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    width: max(0px, calc((100vw - 1360px) / 2));
    background-position: center;
    background-size: cover;
  }

  .category-section::before,
  .tours::before,
  .package-showcase::before,
  .migration-band::before,
  .why::before,
  .quote-section::before,
  .faq-section::before {
    left: 0;
  }

  .category-section::after,
  .tours::after,
  .package-showcase::after,
  .migration-band::after,
  .why::after,
  .quote-section::after,
  .faq-section::after {
    right: 0;
  }

  .category-section::before { background-image: url("assets/elephant-safari.jpg"); }
  .category-section::after { background-image: url("assets/zebra-meadow.jpg"); }
  .tours::before { background-image: url("assets/migration-dust.jpg"); }
  .tours::after { background-image: url("assets/kilimanjaro-hike.jpg"); }
  .package-showcase::before { background-image: url("assets/migration-field.jpg"); }
  .package-showcase::after { background-image: url("assets/elephant-safari.jpg"); }
  .migration-band::before { background-image: url("assets/zebra-meadow.jpg"); }
  .migration-band::after { background-image: url("assets/migration-dust.jpg"); }
  .why::before { background-image: url("assets/kilimanjaro-hike.jpg"); }
  .why::after { background-image: url("assets/migration-field.jpg"); }
  .quote-section::before { background-image: url("assets/elephant-safari.jpg"); }
  .quote-section::after { background-image: url("assets/zebra-meadow.jpg"); }
  .faq-section::before { background-image: url("assets/migration-dust.jpg"); }
  .faq-section::after { background-image: url("assets/kilimanjaro-hike.jpg"); }

  .category-section > *,
  .tours > *,
  .package-showcase > *,
  .migration-band > *,
  .why > *,
  .quote-section > *,
  .faq-section > * {
    position: relative;
    z-index: 1;
  }

  /* 分类卡片改回纯色信息区；野生动物照片只出现在页面左右边缘。 */
  .category-grid article,
  .category-grid article:nth-child(2),
  .category-grid article:nth-child(3) {
    min-height: 168px;
    padding: 24px 28px;
    background: var(--white);
  }

  .category-grid article::after {
    display: none;
  }

  /* SafariGO 风格参考：清爽导航、沉浸式首屏和轻量卡片系统。 */
  body {
    background: #ffffff;
  }

  .site-header,
  .site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 0 rgba(29, 33, 28, 0.1);
  }

  .site-header .nav,
  .site-header.scrolled .nav {
    min-height: 72px;
    color: #172036;
  }

  .topbar {
    min-height: 30px;
    padding: 6px 24px;
    background: #ffffff;
    color: #5e6878;
    border-bottom: 1px solid #edf0f4;
    font-size: 12px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-color: #2764f0;
    color: #2764f0;
  }

  .brand strong {
    color: #172036;
  }

  .brand small,
  .nav-links a {
    color: #5e6878;
  }

  .nav-links a:hover {
    color: #2764f0;
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(14, 22, 18, 0.72) 0%, rgba(14, 22, 18, 0.46) 48%, rgba(14, 22, 18, 0.18) 100%);
  }

  .hero-inner {
    width: min(1240px, calc(100% - 56px));
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 128px auto 52px;
    align-items: start;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-copy h1 {
    max-width: 720px;
    font-size: clamp(50px, 4.7vw, 68px);
    line-height: 1.03;
  }

  .hero-copy .lead {
    max-width: 660px;
    font-size: 18px;
  }

  .hero-actions {
    display: flex;
    margin-bottom: 2px;
  }

  .quote-card {
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) 128px;
    align-items: end;
    gap: 0;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(5, 11, 22, 0.22);
  }

  .quote-card h2,
  .quote-card .form-note {
    display: none;
  }

  .quote-card label {
    min-height: 54px;
    gap: 2px;
    margin: 0;
    padding: 2px 14px;
    border-right: 1px solid #e4e8ee;
    font-size: 11px;
    color: #667085;
  }

  .quote-card input,
  .quote-card select {
    min-height: 29px;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #172036;
    font-size: 14px;
    font-weight: 800;
  }

  .quote-card .btn {
    min-height: 54px;
    padding: 10px 12px;
    background: #2764f0;
    box-shadow: none;
  }

  .trust-strip {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
    border-bottom: 1px solid #e7ebf0;
  }

  .trust-strip div {
    max-width: 310px;
    justify-self: center;
    padding: 22px 28px;
    border-right: 0;
  }

  .trust-strip strong {
    color: #2764f0;
    font-size: 20px;
  }

  .trust-strip span {
    margin-top: 3px;
    font-size: 13px;
  }

  /* 清除旧版左右照片边缘，改为 SafariGO 式居中内容区域。 */
  .category-section,
  .tours,
  .package-showcase,
  .migration-band,
  .why,
  .quote-section,
  .faq-section {
    width: min(1240px, calc(100% - 56px));
    margin: 0 auto;
    padding: 82px 0;
    background: transparent;
  }

  .category-section::before,
  .category-section::after,
  .tours::before,
  .tours::after,
  .package-showcase::before,
  .package-showcase::after,
  .migration-band::before,
  .migration-band::after,
  .why::before,
  .why::after,
  .quote-section::before,
  .quote-section::after,
  .faq-section::before,
  .faq-section::after {
    display: none;
  }

  .section-kicker,
  .eyebrow {
    color: #2764f0;
  }

  .section-heading h2,
  .why-copy h2,
  .quote-section h2 {
    color: #172036;
    font-size: clamp(32px, 3vw, 44px);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .category-grid article,
  .category-grid article:nth-child(2),
  .category-grid article:nth-child(3) {
    min-height: 260px;
    padding: 28px;
    justify-content: flex-start;
    border: 1px solid #e2e7ed;
    border-radius: 8px;
    box-shadow: none;
  }

  .category-grid h3 {
    color: #172036;
    font-size: 24px;
  }

  .category-grid a {
    margin-top: auto;
    color: #2764f0;
  }

  .tours {
    width: 100%;
    padding: 78px max(28px, calc((100vw - 1240px) / 2));
    background: #f6f8fb;
  }

  .tour-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .tour-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-color: #e2e7ed;
    box-shadow: none;
  }

  .tour-media {
    order: 1;
    width: 100%;
    height: auto;
  }

  .tour-media img,
  .tour-card img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .tour-body {
    order: 2;
    padding: 22px;
  }

  .tour-body h3 {
    min-height: 0;
    font-size: 21px;
  }

  .tag {
    color: #2764f0;
  }

  .package-showcase {
    width: 100%;
    padding: 78px max(28px, calc((100vw - 1240px) / 2));
    background: #ffffff;
  }

  .package-row {
    grid-template-columns: 190px minmax(0, 1fr) 180px;
    min-height: 0;
    padding: 16px;
    border-color: #e2e7ed;
    border-radius: 8px;
    box-shadow: none;
  }

  .package-row img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .package-content {
    grid-column: 2;
    grid-row: 1;
  }

  .package-actions {
    grid-column: 3;
    grid-row: 1;
    width: auto;
    grid-template-columns: 1fr;
  }

  .package-tab,
  .filter {
    border-radius: 6px;
    background: #ffffff;
    border-color: #dce3eb;
  }

  .package-tab.active,
  .filter.active {
    background: #2764f0;
  }

  .migration-band {
    width: 100%;
    padding: 78px max(28px, calc((100vw - 1240px) / 2));
    background: #172036;
  }

  .season-list {
    padding: 0;
    background: transparent;
    border-radius: 0;
  }

  .season-list div {
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
  }

  .why {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }

  .why-copy,
  .why-image {
    order: initial;
  }

  .why-image img {
    aspect-ratio: 1 / 1;
    box-shadow: none;
  }

  .quote-section {
    width: 100%;
    padding: 78px max(28px, calc((100vw - 1240px) / 2));
    background: #f6f8fb;
  }

  .wide-form {
    padding: 24px;
    border: 1px solid #e2e7ed;
    border-radius: 8px;
    background: #ffffff;
  }

  .faq-section {
    background: #ffffff;
  }

  /* 从产品分类开始，统一为“左侧纯色内容 + 右侧独立图片”的桌面结构。 */
  .category-section,
  .tours,
  .package-showcase,
  .migration-band,
  .quote-section,
  .faq-section {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 460px;
    margin: 0;
    padding: 78px max(28px, calc((100vw - 1240px) / 2));
  }

  .category-section::after,
  .tours::after,
  .package-showcase::after,
  .migration-band::after,
  .quote-section::after,
  .faq-section::after {
    display: block;
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    background: url("assets/elephant-safari.jpg") center / cover;
  }

  .category-section::after { background-image: url("assets/elephant-safari.jpg"); }
  .tours::after { background-image: url("assets/migration-field.jpg"); }
  .package-showcase::after { background-image: url("assets/zebra-meadow.jpg"); }
  .migration-band::after { background-image: url("assets/migration-dust.jpg"); }
  .quote-section::after { background-image: url("assets/kilimanjaro-hike.jpg"); }
  .faq-section::after { background-image: url("assets/tarangire.webp"); }

  .category-section > *,
  .tours > *,
  .package-showcase > *,
  .migration-band > *,
  .quote-section > *,
  .faq-section > * {
    position: relative;
    z-index: 1;
    width: min(680px, 54%);
  }

  .category-section {
    background: #f8f4ea;
  }

  .tours {
    background: #eaf0e7;
  }

  .package-showcase {
    background: #ffffff;
  }

  .migration-band {
    background: #244132;
  }

  .quote-section {
    background: #e8dfce;
  }

  .faq-section {
    background: #f6f8fb;
  }

  .category-grid,
  .tour-grid {
    grid-template-columns: 1fr;
  }

  .category-grid article,
  .category-grid article:nth-child(2),
  .category-grid article:nth-child(3) {
    min-height: 0;
    background: #ffffff;
  }

  .tour-card {
    min-height: 0;
  }

  .tour-card .tour-media {
    display: none;
  }

  .package-list {
    width: 100%;
  }

  .package-row {
    grid-template-columns: 1fr;
  }

  .package-row img {
    display: none;
  }

  .package-content,
  .package-actions {
    grid-column: 1;
    grid-row: auto;
  }

  .package-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .migration-band {
    grid-template-columns: 1fr;
  }

  .migration-copy,
  .season-list {
    width: 100%;
  }

  .quote-section {
    grid-template-columns: 1fr;
  }

  .quote-section > .wide-form {
    width: 100%;
  }
}

/* 平板和手机：收起导航，并将多栏布局调整为单栏或双栏。 */
@media (max-width: 980px) {
  .topbar {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .nav {
    width: calc(100% - 28px);
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 14px;
    right: 14px;
    display: none;
    padding: 18px;
    background: var(--white);
    color: var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    margin-top: 132px;
  }

  .quote-card {
    max-width: 520px;
  }

  .trust-strip,
  .tour-grid,
  .category-grid,
  .migration-band,
  .why,
  .quote-section,
  .detail-meta,
  .detail-grid,
  .included-band {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: 0;
  }

  .intro-feature {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 58px;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .tour-detail {
    padding-top: 114px;
  }

  .detail-hero {
    min-height: auto;
  }

  .detail-hero-inner {
    padding: 64px 0;
  }

  .route-panel {
    position: static;
  }

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

  .package-row {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .package-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 小屏手机：进一步压缩间距和卡片布局，确保表单可操作。 */
@media (max-width: 640px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 3px 10px;
    padding: 7px 14px;
    overflow: visible;
    font-size: 11px;
    line-height: 1.35;
    text-align: center;
  }

  .topbar > span {
    grid-column: 1 / -1;
  }

  .topbar a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero-inner,
  .section,
  .trust-strip {
    width: calc(100% - 28px);
  }

  .intro-feature {
    width: calc(100% - 28px);
    margin-top: 48px;
    margin-bottom: 34px;
  }

  .intro-feature-visual {
    min-height: 280px;
  }

  h1,
  .hero-copy h1 {
    max-width: 100%;
    font-size: 38px;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-copy h1 .brand-name {
    display: block;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .wide-form {
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .wide-form > * {
    width: 100%;
  }

  .tour-body h3 {
    min-height: auto;
  }

  .package-row {
    grid-template-columns: 1fr;
  }

  .package-actions {
    grid-template-columns: 1fr;
  }

  .email-dialog {
    padding: 24px 18px;
  }

  .detail-hero h1 {
    font-size: 38px;
  }

  .detail-meta div {
    min-height: auto;
  }

  .itinerary-item {
    grid-template-columns: 1fr;
  }

  .day-pill {
    width: 64px;
    height: 64px;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .footer {
    display: grid;
  }
}
