/* ============================================================
 * 全站字体/字号使用标准（桌面端基准，移动端等比缩放）
 * ------------------------------------------------------------
 * 字体：标题用【造字工房念真体 MF NianZhen】
 *       正文 / 导航 / 小标题用【阿里巴巴普惠体 Alibaba PuHuiTi】
 * ------------------------------------------------------------
 * 44px  内页头图大标题（念真体）
 * 32px  区块标题（念真体）
 * 26px  卡片标题、面板小标题（念真体）
 * 22px  导航一级栏目（念真体）；导航二级栏目 20px、三级栏目 18px（念真体）
 * 18px  更小小标题、每日行程 Day 标题（阿里巴巴普惠体）
 * 15px  正文 / 描述 / 按钮 / 表单 / 列表 / 登录注册（阿里巴巴普惠体）
 * 12px  少量例外：日期、标签、辅助小字
 * 特殊：价格、统计数字等数字展示不属正文，保持原设计尺寸
 * ============================================================ */
/* ============================================================
   十里芳菲国际旅行社 — 临摹版样式
   配色：按钮金 #C29E64 / 米色底 #FAF0E7 / 辅色 #E3D9B7 / 深色 #241c14
   ============================================================ */
@font-face {
  font-family: "MF NianZhen";
  src: url("../fonts/nianzhen.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* 阿里巴巴普惠体：55 Regular / 65 Medium */
@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("../fonts/puhuiti-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alibaba PuHuiTi";
  src: url("../fonts/puhuiti-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --maroon: #C29E64;
  --ink: #1c1c1c;
--deep: #241c14;
  --gray-1: #806866;
  --gray-2: #8c8279;
  --gold: #C29E64;
  --bg: #FAF0E7;
  --btn-bg: #FAF0E7;
  --btn-active: #E3D9B7;
  /* 标题（44/32/26）：造字工房念真体 */
  --serif: "MF NianZhen", "STLibian", "华文隶变", "LiSu", serif;
  --desc-serif: "Alibaba PuHuiTi", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --sans: "Alibaba PuHuiTi", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul { list-style: none; }
input::placeholder, textarea::placeholder { font-family: var(--sans); font-size: 15px; }

.container {
  width: 1280px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ============================================================
   顶部导航
   ============================================================ */
.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 24px;
}
.nav-pill {
  width: 100%;
  max-width: 1280px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 10px;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 14px; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.nav-link:hover ,
.nav-link.active { background: var(--gold); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 20px; }
.icon-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  border-radius: 999px;
  transition: background .25s;
}
.icon-btn svg  { margin-right: 6px; }
.icon-btn:hover { background: var(--btn-active); }
.nav-login { font-family: var(--serif); font-size: 20px; transition: color .25s; }
.nav-login:hover { color: var(--deep); }

.btn-consult {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  background: var(--gold);
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  padding: 4px 6px 4px 22px;
  border-radius: 999px;
  transition: background .3s;
}
.btn-consult:hover { background: #A98852; }
.btn-consult .arrow-circle { width: 32px; height: 32px; }
.arrow-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.arrow-circle.dark { background: #fff; color: var(--gold); }

/* ============================================================
   导航「目的地」下拉（出境游 / 入境游 左右布局）
   ============================================================ */
.nav-dest { position: relative; }
.nav-dest > .nav-link svg { transition: transform .35s ease; }
.nav-dest.open > .nav-link svg { transform: rotate(180deg); }
.dest-dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 620px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(194,158,100, .22), 0 4px 14px rgba(194,158,100, .08);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .32s ease, transform .32s cubic-bezier(.22,1,.36,1), visibility .32s;
  z-index: 120;
}
.world-dropdown { width: 230px; }
.world-dropdown .dest-dd-cols { grid-template-columns: 1fr; }
/* 村落项目三级栏目（默认展开） */
.dd-l2-group { display: block; }
.dd-l2-group > a.dd-l2 { font-weight: 500; }
.dd-l3 {
  display: flex;
  flex-direction: column;
  margin: 2px 0 6px 20px;
  padding-left: 12px;
  border-left: 2px solid #ead9bd;
}
.dd-l3 a {
  font-size: 15px !important;
  color: #6b5847 !important;
  padding: 6px 12px !important;
}
.world-dropdown .dest-dd-cols a svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-right: 9px;
  color: var(--gold);
}
.world-dropdown .dest-dd-cols a::before { content: none; }
.nav-dest.open .dest-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.dest-dd-body {
  display: flex;
  align-items: stretch;
  padding: 20px 20px;
}
.dest-dd-group { flex: 1 1 0; min-width: 0; }
.dest-dd-title {
  display: flex;
  align-items: baseline;
  gap: 15px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--deep);
  letter-spacing: 3px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #ecdfc8;
  position: relative;
}
.dest-dd-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 38px; height: 2px;
  background: var(--gold);
}
.dest-dd-title em {
  font-style: normal;
  font-family: var(--desc-serif);
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--gold);
}
.dest-dd-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 12px;
}
.dest-dd-cols a {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: #4d3a2e;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background .22s, color .22s, transform .22s;
}
.dest-dd-cols a::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: #d3c2a0;
  margin-right: 9px;
  flex: none;
  transition: background .22s, transform .22s;
}
.dest-dd-cols a:hover {
  background: #fff;
  color: var(--deep);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(194,158,100, .08);
}
.dest-dd-cols a:hover::before { background: var(--gold); transform: scale(1.5); }
.dest-dd-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 20px;
  background: var(--maroon);
  color: #fff;
  font-size: 15px;
  font-family: var(--desc-serif);
  letter-spacing: 3px;
  transition: background .3s, letter-spacing .35s;
}
.dest-dd-all svg { transition: transform .3s; }
.dest-dd-all:hover { background: #A98852; letter-spacing: 5px; }
.dest-dd-all:hover svg { transform: translateX(5px); }

/* ---------------- 语言切换下拉（导航地球图标） ---------------- */
.lang-dd { position: relative; display: flex; }
.lang-dropdown {
  left: auto;
  right: -14px;
  transform: translateY(12px);
  width: 172px;
}
.lang-dropdown .dest-dd-body { padding: 10px; }
.lang-dropdown .dest-dd-cols a { position: relative; }
.lang-opt.active { color: var(--deep); font-weight: 500; }
.lang-opt .lang-check {
  width: 14px; height: 14px;
  margin-left: auto;
  color: var(--gold);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s, transform .25s;
}
.lang-opt.active .lang-check { opacity: 1; transform: scale(1); }
.lang-dd.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.lang-wz {
  font-family: var(--serif);
  font-size: 20px;
  transition: color .25s;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1280px) {
  .container { padding: 0 24px; }
}
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 1200px) {
  .btn-consult { display: none !important; }
}
@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .nav-links, .nav-login, .nav-auth, .icon-btn { display: none; }
  .btn-consult { height: 34px; font-size: 12px; padding: 3px 3px 3px 12px; gap: 6px; white-space: nowrap; letter-spacing: 0; flex: none; }
  .btn-consult .arrow-circle { width: 26px; height: 26px; flex: none; }
  .brand-logo { height: 32px; }
  .nav-pill { gap: 6px; }
}

/* ============================================================
   移动端汉堡菜单 & 全局移动端修复（≤860px）
   ============================================================ */
.mob-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  margin-left: 4px;
  color: var(--ink);
  border-radius: 50%;
  flex: none;
}
.mob-drawer { display: none; }

@media (max-width: 1200px) {
  /* —— 汉堡按钮与抽屉 —— */
  .mob-menu-btn { display: inline-flex !important; }
  .mob-drawer { display: block; position: fixed; inset: 0; z-index: 1300; visibility: hidden; }
  .mob-drawer.open { visibility: visible; }
  .mob-drawer-mask { position: absolute; inset: 0; background: rgba(36, 28, 20, .45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
  .mob-drawer.open .mob-drawer-mask { opacity: 1; }
  .mob-drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(320px, 84vw);
    background: var(--bg);
    box-shadow: -20px 0 60px rgba(194,158,100, .25);
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
    display: flex; flex-direction: column;
  }
  .mob-drawer.open .mob-drawer-panel { transform: translateX(0); }
  .mob-drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid #ecdfc8;
    font-family: var(--sans); font-size: 18px; color: var(--deep); letter-spacing: 4px;
  }
  .mob-drawer-close { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--deep); }
  .mob-drawer-close:hover { background: rgba(194,158,100, .06); }
  .mob-drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px 24px; }
  .mob-link {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%;
    padding: 15px 12px;
    font-family: var(--serif); font-size: 20px; color: var(--ink); letter-spacing: 2px;
    border-radius: 12px;
    transition: background .2s;
  }
  .mob-link:hover { background: #fff; color: var(--deep); }
  .mob-dd-btn svg { transition: transform .3s; }
  .mob-dd.open .mob-dd-btn svg { transform: rotate(180deg); }
  .mob-dd-sub { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .mob-dd.open .mob-dd-sub { max-height: 420px; }
  .mob-sub-link {
    display: block;
    padding: 11px 12px 11px 30px;
    font-family: var(--serif); font-size: 18px; color: #6b5546;
    border-radius: 10px;
    transition: background .2s, color .2s;
  }
  .mob-sub-link:hover { background: #fff; color: var(--deep); }
  .mob-drawer-foot { padding: 16px 20px 28px; border-top: 1px solid #ecdfc8; }
  .mob-login {
    display: flex; align-items: center; justify-content: center;
    height: 48px;
    background: var(--maroon); color: #fff;
    font-family: var(--sans); font-size: 15px; letter-spacing: 3px;
    border-radius: 999px;
  }
}

/* ============================================================
   页脚 footer
   ============================================================ */
.site-footer {
  position: relative;
  z-index: 900;
  background: #41120E;
  padding: 72px 0 30px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-brand-col .brand-logo { height: 44px; }
.footer-slogan {
  margin-top: 22px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  line-height: 2;
  color: rgba(250, 244, 235, .72);
  max-width: 320px;
}
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.social-btn {
  position: relative;
  cursor: pointer;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .32);
  color: #f8f1e7;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.social-btn svg { fill: currentColor; }
.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-3px);
}
.social-xhs { width: 30px; height: auto; display: block; }
.social-qr {
  position: absolute; left: 50%; bottom: calc(100% + 16px);
  transform: translateX(-50%) translateY(10px);
  width: 168px; padding: 14px 14px 10px;
  background: #fff; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .3s, transform .3s, visibility .3s;
  z-index: 60;
}
.social-qr::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: #fff;
}
.social-qr img { width: 100%; height: auto; border-radius: 12px; display: block; }
.social-qr em {
  display: block; margin-top: 9px;
  font-style: normal; font-size: 15px; letter-spacing: 1px;
  color: var(--gray-1); text-align: center; white-space: nowrap;
}
.social-btn:hover .social-qr,
.social-btn:focus-within .social-qr {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.footer-social .social-btn:first-child .social-qr { left: 0; transform: translateX(0) translateY(10px); }
.footer-social .social-btn:first-child .social-qr::after { left: 21px; }
.footer-social .social-btn:first-child:hover .social-qr { transform: translateX(0) translateY(0); }
.footer-col-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: #f8f1e7;
  letter-spacing: 2px;
  margin-bottom: 22px;
}
.footer-col-links li { margin-bottom: 13px; }
.footer-col-links a {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: rgba(250, 244, 235, .72);
  transition: color .25s, padding-left .25s;
}
.footer-col-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: rgba(250, 244, 235, .72);
  margin-bottom: 15px;
  line-height: 1.7;
}
.footer-contact li svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.footer-consult {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  background: var(--gold);
  color: var(--deep);
  font-size: 15px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background .3s, color .3s, transform .3s;
}
.footer-consult:hover { background: #f8f1e7; transform: translateY(-2px); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  color: rgba(250, 244, 235, .45);
  font-size: 15px;
  font-weight: 300;
}
.footer-legal { display: flex; gap: 30px; }
.footer-legal a { color: inherit; cursor: pointer; transition: color .25s; }
.footer-legal a:hover { color: var(--gold); }