/* ============================================================
   栖野文旅 · 大地色系慢旅行主题
   主色：大地 #D4C5A9 / 苔绿 #4A5D4E / 陶土 #C9A87C / 米白
   ============================================================ */

:root {
  --earth: #D4C5A9;
  --earth-light: #E7DDC8;
  --earth-dark: #A8986F;
  --moss: #4A5D4E;
  --moss-dark: #37483C;
  --moss-light: #6B7F6E;
  --terra: #C9A87C;
  --terra-dark: #B08E5E;
  --cream: #F7F3EC;
  --paper: #FBF8F2;
  --ink: #3A342B;
  --ink-soft: #6B6052;
  --muted: #8C7B63;
  --line: #E6DDCD;
  --shadow: 0 10px 40px rgba(74, 93, 78, .10);
  --shadow-soft: 0 4px 20px rgba(74, 93, 78, .08);
  --radius: 22px;
  --radius-sm: 14px;
  --serif: "Noto Serif SC Variable", "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC Variable", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s ease, opacity .3s ease; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: var(--earth); color: var(--moss-dark); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--earth { background: var(--earth); }
.section--moss { background: var(--moss); color: var(--cream); }
.section--cream { background: var(--cream); }

/* ---------- 排版 ---------- */
.sec-head { text-align: center; margin-bottom: 52px; }
.sec-head .kicker {
  display: inline-block;
  font-size: 13px; letter-spacing: 4px; color: var(--terra-dark);
  text-transform: uppercase; margin-bottom: 12px;
}
.sec-head .kicker::before, .sec-head .kicker::after {
  content: "—"; margin: 0 10px; color: var(--earth-dark);
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(26px, 4vw, 38px); color: var(--ink);
  letter-spacing: 2px; line-height: 1.3;
}
.sec-head .sub { color: var(--muted); margin-top: 14px; font-size: 15px; letter-spacing: 1px; }
.section--moss .sec-head h2 { color: var(--cream); }
.section--moss .sec-head .sub { color: var(--earth-light); }
.section--moss .sec-head .kicker { color: var(--terra); }
.section--moss .sec-head .kicker::before,
.section--moss .sec-head .kicker::after { color: var(--earth-light); }

.serif { font-family: var(--serif); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; font-size: 15px;
  letter-spacing: 1px; cursor: pointer; border: 1px solid transparent;
  transition: all .3s ease; line-height: 1;
}
.btn--moss { background: var(--moss); color: #fff; }
.btn--moss:hover { background: var(--moss-dark); transform: translateY(-2px); }
.btn--outline { border-color: var(--moss); color: var(--moss); background: transparent; }
.btn--outline:hover { background: var(--moss); color: #fff; transform: translateY(-2px); }
.btn--terra { background: var(--terra); color: #fff; }
.btn--terra:hover { background: var(--terra-dark); transform: translateY(-2px); }
.btn--earth { background: var(--earth); color: var(--moss-dark); }
.btn--earth:hover { background: var(--earth-dark); color: #fff; }
.btn--lg { padding: 16px 40px; font-size: 16px; }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(247, 243, 236, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 4px 24px rgba(74, 93, 78, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo img { height: 42px; width: auto; }
.logo .logo-text { font-family: var(--serif); font-size: 18px; letter-spacing: 1px; color: var(--moss-dark); font-weight: 700; white-space: nowrap; }
.logo .logo-text small { display: block; font-size: 8px; letter-spacing: 0; color: var(--muted); font-family: var(--sans); font-weight: 400; }

.main-nav > ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-item { position: relative; flex-shrink: 0; }
.nav-item > a {
  display: block; padding: 10px 8px; font-size: 14px; letter-spacing: 0;
  color: var(--ink); border-radius: 8px; position: relative; white-space: nowrap;
}
.nav-item > a:hover, .nav-item > a.active { color: var(--terra-dark); }
.nav-item > a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px;
  height: 2px; background: var(--terra); border-radius: 2px;
}
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 130px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden;
  transition: all .25s ease; border: 1px solid var(--line); z-index: 10;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu:not(:has(li)) { display: none; }
/* 有二级菜单的导航项显示小箭头 */
.nav-item:has(.dropdown-menu li) > a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  display: inline-block;
  font-size: 0.62em;
  margin-left: 6px;
  color: var(--muted);
  transition: transform .25s ease, color .25s ease;
}
.nav-item:hover > a::after { transform: rotate(180deg); color: var(--terra-dark); }
.dropdown-menu a {
  display: block; padding: 9px 16px; font-size: 14px; color: var(--ink-soft);
  border-radius: 8px; white-space: nowrap;
}
.dropdown-menu a:hover { background: var(--cream); color: var(--terra-dark); }

.nav-cta { margin-left: 8px; }
.nav-cta .btn { padding: 10px 16px; font-size: 14px; letter-spacing: 0; }
.nav-toggle { display: none; font-size: 24px; color: var(--moss); background: none; border: none; cursor: pointer; }

.header-search {
  display: flex; align-items: center; gap: 4px; margin-left: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 6px 5px 16px; transition: border-color .25s ease;
}
.header-search:focus-within { border-color: var(--terra); }
.header-search input {
  border: none; outline: none; background: none; width: 90px;
  font-size: 14px; color: var(--ink); font-family: var(--sans);
}
.header-search input::placeholder { color: var(--muted); }
.header-search button {
  width: 30px; height: 30px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--moss); color: #fff; font-size: 12px;
  display: flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.header-search button:hover { background: var(--moss-dark); }

/* ---------- Banner ---------- */
.hero { position: relative; height: 88vh; min-height: 560px; overflow: hidden; }
.hero .swiper, .hero .swiper-slide { height: 100%; }
.hero-slide { position: relative; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(34, 40, 36, .42) 0%, rgba(34, 40, 36, .12) 45%, rgba(34, 40, 36, .55) 100%);
}
.hero-caption {
  position: absolute; left: 0; right: 0; bottom: 18%; z-index: 3; color: #fff;
}
.hero-caption .kicker { font-size: 14px; letter-spacing: 6px; color: var(--earth-light); margin-bottom: 14px; }
.hero-caption h1 {
  font-family: var(--serif); font-size: clamp(34px, 6vw, 62px);
  letter-spacing: 4px; line-height: 1.25; font-weight: 600;
  text-shadow: 0 4px 30px rgba(0,0,0,.3);
}
.hero-caption p { margin-top: 16px; font-size: 16px; letter-spacing: 2px; color: rgba(255,255,255,.92); max-width: 560px; }
.hero-caption .btn { margin-top: 26px; }
.hero-pagination { position: absolute; bottom: 6%; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hero-pagination .swiper-pagination-bullet {
  width: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.5); opacity: 1;
}
.hero-pagination .swiper-pagination-bullet-active { background: var(--earth); width: 44px; }
.hero-scroll { position: absolute; bottom: 5%; right: 5%; z-index: 3; color: #fff; font-size: 12px; letter-spacing: 2px; opacity: .8; writing-mode: vertical-rl; }

/* ---------- 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 12px 0; }
.stat-item .num { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); font-weight: 700; color: var(--moss-dark); line-height: 1; }
.stat-item .num .unit { font-size: .45em; margin-left: 2px; color: var(--terra-dark); }
.stat-item .label { margin-top: 10px; font-size: 14px; letter-spacing: 2px; color: var(--ink-soft); }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); transition: transform .35s ease, box-shadow .35s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-media .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.9); color: var(--terra-dark);
  font-size: 12px; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px;
}
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--serif); font-size: 21px; letter-spacing: 1px; color: var(--ink); margin-bottom: 8px; }
.card-body h3 a:hover { color: var(--terra-dark); }
.card-body .meta { font-size: 13px; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.card-body .meta i { color: var(--terra); margin-right: 4px; }
.card-body .desc { font-size: 14px; color: var(--ink-soft); line-height: 1.7; flex: 1; }
.card-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.card-foot .more { font-size: 13px; letter-spacing: 1px; color: var(--terra-dark); font-weight: 600; }
.card-foot .more i { transition: transform .3s ease; margin-left: 4px; }
.card:hover .card-foot .more i { transform: translateX(4px); }
.card-foot time { font-size: 12px; color: var(--muted); }

/* 图左文右卡片 */
.card-h { display: grid; grid-template-columns: 40% 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); transition: all .35s ease; }
.card-h:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-h .card-media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.card-h .card-body { padding: 30px 34px; }

/* ---------- 人文滚动 ---------- */
.humanity .swiper { padding: 20px 4px 50px; }
.humanity-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.humanity-card img { width: 100%; height: 100%; object-fit: cover; }
.humanity-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(34,40,36,.72) 100%); }
.humanity-card .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; z-index: 2; }
.humanity-card .cap h4 { font-family: var(--serif); font-size: 19px; letter-spacing: 1px; margin-bottom: 4px; }
.humanity-card .cap p { font-size: 13px; color: rgba(255,255,255,.85); }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 76px 0; }
.cta h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); letter-spacing: 3px; color: var(--moss-dark); margin-bottom: 14px; }
.cta p { color: var(--moss-light); margin-bottom: 30px; letter-spacing: 1px; }
.cta .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 页头 banner（内页） ---------- */
.page-hero {
  position: relative; padding: 150px 0 70px; background: var(--moss); color: #fff; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(201,168,124,.35), transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(28px, 5vw, 44px); letter-spacing: 3px; margin-bottom: 12px; }
.page-hero .sub { color: var(--earth-light); letter-spacing: 1px; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: var(--earth-light); }
.breadcrumb a { color: var(--earth); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { margin: 0 8px; font-size: 11px; opacity: .6; }

/* ---------- 列表页 ---------- */
.list-grid { margin-top: 8px; }

/* ---------- 详情页 ---------- */
.detail { padding: 56px 0 80px; }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.detail-main { background: #fff; border-radius: var(--radius); padding: 34px 38px; box-shadow: var(--shadow-soft); }
.detail-main h1 { font-family: var(--serif); font-size: clamp(24px, 4vw, 34px); letter-spacing: 1px; margin-bottom: 14px; line-height: 1.4; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted); padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.detail-meta i { color: var(--terra); margin-right: 5px; }
.detail-cover { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 26px; }
.detail-cover img { width: 100%; }
.detail-content { font-size: 15px; line-height: 1.9; color: var(--ink-soft); }
.detail-content p { margin-bottom: 16px; }
.detail-content h3 { font-family: var(--serif); color: var(--ink); font-size: 20px; margin: 26px 0 12px; letter-spacing: 1px; }
.detail-content img { border-radius: var(--radius-sm); margin: 16px 0; }
.detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.side-box { background: #fff; border-radius: var(--radius-sm); padding: 24px; box-shadow: var(--shadow-soft); }
.side-box h4 { font-family: var(--serif); font-size: 17px; letter-spacing: 1px; margin-bottom: 16px; padding-left: 12px; border-left: 3px solid var(--terra); }
.info-list li { display: flex; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-list li:last-child { border-bottom: none; }
.info-list .k { width: 84px; flex-shrink: 0; color: var(--muted); }
.info-list .v { flex: 1; color: var(--ink); }

/* 上一篇下一篇 */
.detail-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 24px; }
.detail-nav a { flex: 1; background: #fff; padding: 16px 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-soft); font-size: 14px; color: var(--ink-soft); }
.detail-nav a:hover { color: var(--terra-dark); }
.detail-nav a span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }

/* ---------- 表单 ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-item { display: flex; flex-direction: column; }
.form-item.full { grid-column: 1 / -1; }
.form-item label { font-size: 14px; margin-bottom: 8px; color: var(--ink-soft); letter-spacing: 1px; }
.form-item label em { color: var(--terra-dark); font-style: normal; }
.form-item input, .form-item select, .form-item textarea {
  padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--paper); transition: border-color .3s, box-shadow .3s; outline: none;
}
.form-item input:focus, .form-item select:focus, .form-item textarea:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(201,168,124,.15); }
.form-item textarea { resize: vertical; min-height: 120px; }

/* ---------- 关于页 ---------- */
.about-hero { text-align: center; }
.about-hero .big { font-family: var(--serif); font-size: clamp(30px, 5vw, 48px); letter-spacing: 3px; color: var(--moss-dark); line-height: 1.4; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-split .img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-split .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 36px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.value-card i { font-size: 34px; color: var(--terra); margin-bottom: 16px; }
.value-card h4 { font-family: var(--serif); font-size: 18px; letter-spacing: 1px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--muted); }

/* ---------- 联系页 ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-card { text-align: center; padding: 32px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.contact-card i { font-size: 30px; color: var(--moss); margin-bottom: 14px; }
.contact-card h4 { font-size: 15px; letter-spacing: 1px; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--muted); }

/* ---------- 页脚 ---------- */
.footer { background: var(--moss-dark); color: var(--earth-light); padding: 66px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.footer-brand .logo-text { font-family: var(--serif); font-size: 22px; letter-spacing: 2px; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.8; color: var(--earth-dark); max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: 2px; margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; color: var(--earth-light); }
.footer-links a:hover { color: var(--terra); padding-left: 4px; }
.footer-contact li { font-size: 13px; margin-bottom: 10px; color: var(--earth-light); display: flex; gap: 8px; }
.footer-contact i { color: var(--terra); margin-top: 4px; }
.footer-partners { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-partners a {
  display: inline-flex; align-items: center; padding: 8px 14px; background: rgba(255,255,255,.06);
  border-radius: 8px; font-size: 12px; color: var(--earth-light); letter-spacing: 1px;
}
.footer-partners a:hover { background: rgba(201,168,124,.25); color: #fff; }

/* ---------- 合作伙伴品牌墙 ---------- */
.partner-grid { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.partner-item {
  display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: 1px;
  transition: all .25s ease;
}
.partner-item i { color: var(--terra); }
.partner-item:hover { border-color: var(--moss); color: var(--moss); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; text-align: center; font-size: 12px; color: var(--earth-dark); letter-spacing: 1px; }
.footer-bottom a { color: var(--earth-light); }

/* ---------- 在线客服 ---------- */
.kefu { position: fixed; right: 22px; bottom: 90px; z-index: 900; }
.kefu a {
  display: flex; align-items: center; justify-content: center; width: 52px; height: 52px;
  background: var(--terra); color: #fff; border-radius: 50%; font-size: 22px;
  box-shadow: 0 8px 24px rgba(176,142,94,.45); transition: transform .3s;
}
.kefu a:hover { transform: scale(1.1); }

/* ---------- 返回顶部 ---------- */
.backtop { position: fixed; right: 22px; bottom: 28px; z-index: 900; }
.backtop button {
  width: 46px; height: 46px; background: var(--moss); color: #fff; border: none;
  border-radius: 50%; font-size: 18px; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transition: all .3s;
}
.backtop button.show { opacity: 1; visibility: visible; }
.backtop button:hover { background: var(--moss-dark); }

/* ---------- 分页 ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px;
  font-size: 14px; background: #fff; color: var(--ink-soft); box-shadow: var(--shadow-soft);
}
.pagination a:hover { color: #fff; background: var(--moss); }
.pagination .current, .pagination .page-num-current { background: var(--moss); color: #fff; }
.pagination .disabled { opacity: .4; pointer-events: none; }

/* ---------- 空状态 ---------- */
.no-data { text-align: center; padding: 60px 0; color: var(--muted); font-size: 15px; }

/* ---------- 搜索 ---------- */
.search-box { display: flex; gap: 12px; max-width: 560px; margin: 0 auto 40px; }
.search-box input { flex: 1; padding: 14px 20px; border: 1px solid var(--line); border-radius: 999px; outline: none; background: #fff; }
.search-box button { border: none; background: var(--moss); color: #fff; border-radius: 999px; padding: 0 30px; cursor: pointer; }

/* ---------- 动画（AOS 触发） ---------- */
[data-aos] { transition-timing-function: cubic-bezier(.22, .61, .36, 1); }

/* ---------- 灯箱 ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(30,26,20,.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 88vh; border-radius: 12px; }
.lightbox .lb-close { position: absolute; top: 24px; right: 30px; color: #fff; font-size: 34px; cursor: pointer; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  /* 平板 / 窄屏：搜索隐藏，导航改为汉堡菜单，避免桌面导航溢出被裁切 */
  .header-search { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff;
    max-height: 0; overflow: hidden; transition: max-height .35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
  }
  .main-nav.open { max-height: 80vh; overflow-y: auto; }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 12px 20px 24px; }
  .nav-item > a { padding: 13px 10px; }
  /* 触屏端二级菜单默认收起，点击父级展开/收起（hover 在触摸设备上不可用） */
  .dropdown-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; padding-left: 18px; display: none;
  }
  /* 触摸点按会触发 sticky hover，桌面 hover 规则会盖掉上面的 transform，需再压一次 */
  .nav-item:hover .dropdown-menu { transform: none; }
  .nav-item.open > .dropdown-menu { display: block; }
  .nav-cta { margin: 12px 0 0; text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  /* 目的地精选：手机端一行两个，卡片内容紧凑化 */
  .grid-mob2 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-mob2 .card-body { padding: 14px 14px 16px; }
  .grid-mob2 .card-body h3 { font-size: 17px; letter-spacing: 0; line-height: 1.35; margin-bottom: 6px; }
  .grid-mob2 .card-body .meta { font-size: 12px; gap: 8px; margin-bottom: 6px; }
  .grid-mob2 .card-body .desc { font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .grid-mob2 .card-foot { margin-top: 12px; }
  .grid-mob2 .card-foot .more { font-size: 12px; }
  .grid-mob2 .card-media .tag { top: 8px; left: 8px; font-size: 11px; padding: 3px 8px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  /* 手机端数据条：一行两个、整体更紧凑 */
  .stats { grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
  .stat-item { padding: 6px 0; }
  .stat-item .num { font-size: clamp(26px, 7vw, 34px); }
  .stat-item .label { margin-top: 6px; font-size: 13px; letter-spacing: 1px; }
  .section--moss.section--tight { padding: 34px 0; }
  .about-split, .value-grid, .contact-cards { grid-template-columns: 1fr; }
  /* 「我们相信的」手机端保持一行三个，卡片紧凑化 */
  .value-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .value-card { padding: 16px 8px 18px; }
  .value-card i { font-size: 22px; margin-bottom: 8px; }
  .value-card h4 { font-size: 14px; letter-spacing: 0; margin-bottom: 6px; }
  .value-card p { font-size: 11px; line-height: 1.55; }
  /* 「联系我们」四张卡手机端一行四个，紧凑化 */
  .contact-cards { grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 32px; }
  .contact-card { padding: 14px 6px 16px; }
  .contact-card i { font-size: 20px; margin-bottom: 8px; }
  .contact-card h4 { font-size: 13px; letter-spacing: 0; margin-bottom: 6px; }
  .contact-card p { font-size: 10px; line-height: 1.5; word-break: break-all; }
  .form-grid { grid-template-columns: 1fr; }
  .card-h { grid-template-columns: 1fr; }
  .card-h .card-media { aspect-ratio: 16 / 9; width: 100%; height: auto; min-height: 0; }

  /* 在地人文：手机端压缩——卡片比例放平、区块间距收紧 */
  .humanity { padding: 26px 0 40px; }
  .humanity .sec-head { margin-bottom: 24px; }
  .humanity .sec-head .sub { margin-top: 8px; font-size: 14px; }
  .humanity .swiper { padding: 0 4px 22px; }
  .humanity-card { aspect-ratio: 4 / 5; }
  .humanity-card .cap { padding: 14px; }
  .humanity-card .cap h4 { font-size: 16px; margin-bottom: 2px; }
  .footer-grid { grid-template-columns: 1fr; }

  /* 页脚快速导航：手机端横排一行（等宽均分） */
  .footer-nav-row { display: flex; }
  .footer-nav-row li { flex: 1; text-align: center; margin-bottom: 0; }
  .footer-nav-row a { font-size: clamp(11px, 3.2vw, 13px); white-space: nowrap; }
  .footer-nav-row a:hover { padding-left: 0; }

  .hero { height: 72vh; min-height: 460px; }
  .hero-caption { bottom: 14%; }
  .detail-main { padding: 24px 20px; }

  /* 合作伙伴：压缩区块间距 */
  .section:has(.partner-grid) { padding: 34px 0; }
  .section:has(.partner-grid) .sec-head { margin-bottom: 24px; }
  .partner-grid { gap: 8px; }

  /* 行程规划 CTA：手机端压缩 */
  .section:has(.container.cta) { padding: 40px 0; }
  .container.cta { padding: 36px 0; }
  .container.cta h2 { margin-bottom: 10px; }
  .container.cta p { margin-bottom: 20px; font-size: 14px; }
  .container.cta .btn-group { gap: 12px; }

  /* 移动端禁用 AOS 滚动动画：避免内容位移 / 溢出裁切，页面加载后所有内容直接可见 */
  [data-aos] { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 480px) {
  /* 合作伙伴：手机窄屏每行三个紧凑徽章 */
  .partner-item {
    flex: 0 1 30%; justify-content: center; min-width: 0;
    padding: 8px 4px; font-size: clamp(10px, 3.3vw, 12px); letter-spacing: 0; gap: 3px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .partner-item i { display: none; }
}
