/* ============================================================
   JAY CHONGQING TOUR — 站点样式
   设计基调：白色主基调，浅绿色点缀（参考图第5-6行）
   修改建议：改 :root 中的色值即可全局换色
   ============================================================ */
:root {
  --green:      #7cb98e;   /* 主绿色（浅色，甲方要求避开墨绿） */
  --green-lt:   #f2f9f4;   /* 浅绿底色 */
  --green-mid:  #dcefe2;   /* 浅绿边框 */
  --ink:        #1f2933;   /* 主文字 */
  --ink-2:      #5b6670;   /* 次要文字 */
  --line:       #e6ebee;   /* 分隔线 */
  --bg:         #ffffff;   /* 主基调白色 */
  --bg-alt:     #f7faf8;   /* 浅绿灰底 */
  --red:        #d64545;
  --radius:     12px;
  --shadow:     0 2px 10px rgba(31,41,51,.06);
  --shadow-h:   0 8px 24px rgba(31,41,51,.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.3; font-weight: 700; }
small { font-weight: 400; color: var(--ink-2); }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 94px; position: relative; }
@media (min-width: 901px) {
  /* logo 移到左上红框区域（1920 窗口下对齐屏幕 x≈277px），窄窗口保持容器对齐 */
  .brand { margin-left: min(0px, 257px - (100vw - 1180px) / 2); }
}
.brand a { display: flex; align-items: center; color: var(--ink); }
.brand-dot {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7ecf96, var(--green));
  margin-right: 10px;
  box-shadow: 0 2px 6px rgba(90,158,111,.4);
}
.brand-text { display: flex; flex-direction: row; align-items: baseline; gap: 8px; line-height: 1.1; }
.brand-text b { font-size: 28px; letter-spacing: .4px; }
.brand-text small { font-size: 28px; color: var(--green); letter-spacing: 2px; font-weight: 700; }
.brand-logo { height: 92px; width: auto; border-radius: 9px; display: inline-block; }
.brand:hover .brand-logo { opacity: .88; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.main-nav li a {
  display: block; padding: 8px 12px; color: var(--ink-2);
  font-size: 14.5px; border-radius: 8px;
}
.main-nav li a:hover { color: var(--green); text-decoration: none; }
.main-nav li.active a { color: var(--green); font-weight: 700; }
.main-nav .btn-book {
  background: var(--green); color: #fff; font-weight: 700;
  padding: 9px 18px; border-radius: 8px; margin-left: 6px;
}
.main-nav .btn-book:hover { background: #4a8a5d; text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--green-lt) 100%);
  padding: 30px 0 18px;
  text-align: center;
}
.hero h1 {
  font-size: 42px; max-width: 1180px; margin: 0 auto 8px;
  letter-spacing: .2px; line-height: 1.25;
}
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 720px; margin: 0 auto; }
.hero-cta { margin: 16px 0 6px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.city-strip {
  margin: 20px auto 0; max-width: 780px;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.cs-title { font-weight: 700; color: var(--ink-2); margin-right: 6px; }
.cs-item {
  background: var(--green); color: #fff; font-weight: 700;
  padding: 6px 16px; border-radius: 20px; font-size: 14px;
}
.cs-note { font-size: 13.5px; color: var(--ink-2); width: 100%; margin-top: 6px; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 44px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2, .page-head h1 { font-size: 26px; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.page-head {
  background: linear-gradient(180deg, #fff, var(--green-lt));
  padding: 42px 0 30px;
}
.page-head h1 { font-size: 30px; }
.crumb { font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }

/* 分类筛选按钮 */
.cat-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.cat-filter-lg { margin-top: 20px; }
.cat {
  padding: 7px 14px; border-radius: 20px; font-size: 13.5px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
}
.cat:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.cat.active { background: var(--ink); border-color: var(--ink); color: #fff; font-weight: 700; }

/* ---------------- 旅游卡片 ---------------- */
.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px; }
.tour-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.tour-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.tc-media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.tc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tour-card:hover .tc-media img { transform: scale(1.04); }
.tc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.tc-body h4 { font-size: 16.5px; margin-bottom: 6px; }
.tc-body h4 a { color: var(--ink); }
.tc-body h4 a:hover { color: var(--green); text-decoration: none; }
.tc-desc {
  font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tc-tags span {
  font-size: 11.5px; padding: 2px 8px; border-radius: 12px;
  background: var(--green-lt); color: var(--green); border: 1px solid var(--green-mid);
}
.tc-meta {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 8px; margin-top: auto;
}
.tc-rating { font-size: 13px; color: #e8a33d; margin-left: auto; }
.tc-rating i { color: var(--ink-2); font-style: normal; font-size: 12.5px; }
.tc-price { text-align: left; white-space: nowrap; }
.tc-price small { display: inline; font-size: 11.5px; margin-right: 4px; }
.tc-price b { font-size: 18px; color: var(--ink); }
.tc-price em { font-size: 12px; color: var(--ink-2); font-style: normal; }
.tc-total {
  margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--ink-2);
}
.tc-total b { color: var(--red); font-size: 14px; }
.view-all { text-align: right; padding-top: 18px; }
.link { color: var(--green); font-weight: 600; }
.stars { color: #e8a33d; letter-spacing: 1px; }
.empty { color: var(--ink-2); padding: 24px 0; }

/* ---------------- Why us / 优点 ---------------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; margin-top: 22px; }
.why-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.why-icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-lt); color: var(--green);
  font-size: 22px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; font-weight: 700;
}
.why-item h4 { margin-bottom: 6px; }
.why-item p { font-size: 14px; color: var(--ink-2); }

/* ---------------- 评价卡片 ---------------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.review-grid-lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
}
.rv-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.rv-name { font-weight: 700; font-size: 14px; }
.rv-head time { margin-left: auto; font-size: 12px; color: var(--ink-2); }
.review-card p { font-size: 14px; color: var(--ink-2); }
.big-rating { font-size: 18px; }

/* ---------------- CTA ---------------- */
.cta { background: var(--green); color: #fff; padding: 34px 0; }
.cta .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.cta strong { font-size: 19px; max-width: 760px; }
.cta strong span { font-weight: 400; display: block; font-size: 14.5px; margin-top: 4px; opacity: .92; }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 9px;
  font-weight: 700; font-size: 15px; text-align: center; cursor: pointer;
  border: 2px solid transparent; transition: all .2s;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #4a8a5d; text-decoration: none; color: #fff; }
.btn-ghost { background: #fff; color: var(--green); border-color: var(--green); }
.btn-ghost:hover { background: var(--green-lt); text-decoration: none; }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-price { background: var(--red); color: #fff; }
.btn-price:hover { background: #b93333; color: #fff; text-decoration: none; }

/* ---------------- 详情页 ---------------- */
.tour-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.td-gallery .td-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/2; }
.td-main img { width: 100%; height: 100%; object-fit: cover; }
.td-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.td-thumbs img { width: 82px; height: 60px; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: .75; }
.td-thumbs img.active { border-color: var(--green); opacity: 1; }
.td-side { position: sticky; top: 84px; }
.td-price-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); margin-bottom: 14px;
}
.td-rating { font-size: 15px; margin-bottom: 6px; }
.rv-count { color: var(--ink-2); font-size: 13px; margin-left: 6px; }
.td-price { font-size: 30px; font-weight: 800; margin-bottom: 14px; }
.td-price small { font-size: 14px; color: var(--ink-2); }
.td-pax { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.td-pax label { font-size: 14px; font-weight: 700; color: var(--ink-2); min-width: 44px; }
.pax-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; font-size: 18px; cursor: pointer; color: var(--ink);
}
.pax-btn:hover { border-color: var(--green); color: var(--green); }
.pax-num { font-size: 18px; font-weight: 700; min-width: 28px; text-align: center; }
.td-total { font-size: 15px; padding: 12px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); margin-bottom: 12px; }
.td-total b { font-size: 18px; color: var(--red); }
.td-actions { display: flex; gap: 10px; margin-bottom: 10px; }
.td-actions .btn { flex: 1; }
.td-shared { font-size: 13.5px; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; cursor: pointer; }
.td-note { font-size: 12.5px; color: var(--ink-2); }
.td-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 18px; }
.td-info-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.td-info-row:last-child { border-bottom: 0; }
.td-info-row span { color: var(--ink-2); }
.td-text p { max-width: 860px; }
.td-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.td-col h2 { font-size: 19px; margin-bottom: 12px; }
.check-list { list-style: none; }
.check-list li { padding: 6px 0 6px 26px; position: relative; font-size: 14.5px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.num-list { list-style: none; counter-reset: step; }
.num-list li { padding: 6px 0 6px 34px; position: relative; font-size: 14.5px; }
.num-list .num {
  position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-lt); color: var(--green); font-weight: 700;
  font-size: 12px; display: flex; align-items: center; justify-content: center;
}

/* ---------------- 导游卡片 ---------------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.guide-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.g-photo { position: relative; aspect-ratio: 16/9; background: var(--green-lt); }
.g-photo img { width: 100%; height: 100%; object-fit: cover; }
.g-avatar {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 90px; font-weight: 800; color: var(--green); background: var(--green-lt);
}
.g-video {
  position: absolute; left: 14px; bottom: 12px; background: rgba(31,41,51,.82); color: #fff;
  font-size: 13px; padding: 7px 14px; border-radius: 20px;
}
.g-video:hover { background: var(--green); color: #fff; text-decoration: none; }
.g-video-soon { background: rgba(31,41,51,.55); cursor: default; }
.g-video-soon:hover { background: rgba(31,41,51,.55); }
.g-body { padding: 20px; }
.g-body h3 { font-size: 22px; }
.g-title { color: var(--green); font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.g-bio { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.g-sec { margin-top: 12px; }
.g-sec h4 { font-size: 14px; color: var(--ink-2); margin-bottom: 5px; }
.g-sec .check-list li { font-size: 13.5px; padding-top: 3px; padding-bottom: 3px; }
.g-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.g-tags span {
  font-size: 12.5px; padding: 3px 10px; border-radius: 12px;
  background: var(--green-lt); color: var(--green); border: 1px solid var(--green-mid);
}

/* ---------------- 预订表单 ---------------- */
.booking { max-width: 900px; }
.steps { display: flex; gap: 0; margin-bottom: 26px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { flex: 1; padding: 12px 10px; text-align: center; font-size: 14px; color: var(--ink-2); background: #fff; }
.step b {
  display: inline-flex; width: 22px; height: 22px; border-radius: 50%;
  background: var(--line); color: var(--ink-2); align-items: center; justify-content: center;
  font-size: 12.5px; margin-right: 6px;
}
.step.active { background: var(--green); color: #fff; font-weight: 700; }
.step.active b { background: #fff; color: var(--green); }
.bk-form { display: flex; flex-direction: column; gap: 22px; }
.bk-step {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  background: #fff;
}
.bk-step legend { padding: 0 8px; font-size: 17px; font-weight: 700; }
.bk-step legend span {
  display: inline-flex; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #fff; align-items: center; justify-content: center;
  font-size: 14px; margin-right: 6px;
}
.bk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.bk-full { grid-column: 1 / -1; }
.bk-grid label { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.bk-grid label em { color: var(--red); font-style: normal; }
.bk-grid label small { font-weight: 400; margin-top: 2px; }
.bk-grid input, .bk-grid select, .bk-grid textarea {
  margin-top: 5px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: #fff;
  width: 100%;
}
.bk-grid input:focus, .bk-grid select:focus, .bk-grid textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-lt);
}
.bk-grid textarea { resize: none; }
.bk-check { flex-direction: row !important; align-items: center; gap: 8px; font-weight: 400; }
.bk-check input { margin: 0; }
.bk-note { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; }
.bk-qr { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
.qr-item { text-align: center; }
.qr-item h4 { margin-bottom: 8px; font-size: 15px; }
.qr-item img { width: 170px; height: 170px; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; padding: 6px; background: #fff; }
.qr-placeholder {
  width: 170px; height: 170px; border: 2px dashed var(--green-mid); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ink-2); font-size: 12px; background: var(--green-lt); line-height: 1.6;
}
.qr-item p { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; }
.bk-wa { text-align: center; font-size: 14px; }
.bk-submit { text-align: center; padding: 4px 0 10px; }
.bk-submit .small { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------------- 提示框 / 预订摘要 ---------------- */
.alert { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 18px; }
.alert-ok { background: var(--green-lt); border: 1px solid var(--green-mid); color: var(--ink); }
.alert-err { background: #fdecec; border: 1px solid #f3b8b8; color: #8c2f2f; }
.alert h3 { font-size: 17px; margin-bottom: 6px; }
.bk-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.bk-summary table { border-collapse: collapse; width: 100%; font-size: 14px; }
.bk-summary td { padding: 6px 8px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.bk-summary td:first-child { color: var(--ink-2); width: 130px; font-weight: 600; }
.small { font-size: 12.5px; color: var(--ink-2); }

/* ---------------- 联系页 ---------------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.contact-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-info h2 { font-size: 20px; margin-bottom: 8px; }
.contact-info p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }
.ci-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.ci-row span { color: var(--ink-2); min-width: 130px; font-weight: 600; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

/* ---------------- 政策页 ---------------- */
.policy { max-width: 860px; }
.policy-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 16px; box-shadow: var(--shadow); }
.policy-block h2 { font-size: 19px; margin-bottom: 10px; }
.policy-block p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; }
.policy-block .check-list li { font-size: 14.5px; }

/* ---------------- 博客 ---------------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.post-card:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); text-decoration: none; color: var(--ink); }
.pc-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.pc-body { padding: 16px; }
.pc-body h4 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.pc-body p { font-size: 13.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.pc-body time { font-size: 12.5px; color: var(--ink-2); }
.article { max-width: 820px; }
.article-cover { border-radius: var(--radius); margin-bottom: 20px; aspect-ratio: 16/8; object-fit: cover; width: 100%; }
.article p { margin-bottom: 16px; font-size: 15.5px; }
.sr-head { font-size: 20px; margin: 22px 0 14px; }

/* ---------------- 搜索框 ---------------- */
.search-form { display: flex; gap: 10px; max-width: 560px; margin: 18px auto 0; }
.search-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--line); border-radius: 9px; font-size: 15px; }

/* ---------------- 页脚 ---------------- */
.site-footer { background: #f2f7f3; border-top: 1px solid var(--line); padding: 38px 0 18px; margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 26px; }
.f-col h4 { font-size: 15px; margin-bottom: 10px; color: var(--ink); }
.f-col p { font-size: 13.5px; color: var(--ink-2); }
.f-links { display: flex; flex-direction: column; gap: 5px; }
.f-links a { font-size: 13.5px; color: var(--ink-2); }
.f-links a:hover { color: var(--green); }
.f-social { display: flex; gap: 8px; }
.f-social a {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 15px; color: var(--ink-2); font-weight: 700;
}
.f-social a:hover { background: var(--green); border-color: var(--green); color: #fff; text-decoration: none; }
.f-bottom {
  margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 12.5px; color: var(--ink-2); text-align: center;
}
.f-bottom a { color: var(--ink-2); }
.f-bottom a:hover { color: var(--green); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .tour-detail { grid-template-columns: 1fr; }
  .td-side { position: static; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .main-nav ul {
    display: none; position: absolute; top: 94px; left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 10px 20px 16px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav ul.open { display: flex; }
  .main-nav li a { padding: 10px 6px; }
  .hero h1 { font-size: 30px; }
  .cta .container { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .tour-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
}

/* ---------------- 行程总价 Banner（多币种切换） ---------------- */
.trip-bar {
  position: sticky; top: 94px; z-index: 45;
  background: var(--ink); color: #fff;
  box-shadow: 0 3px 10px rgba(31,41,51,.18);
}
.trip-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; flex-wrap: wrap; padding: 6px 20px; }
.tb-left { display: flex; align-items: baseline; gap: 10px; }
.tb-title { font-size: 13px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; color: #cfead8; }
.tb-count { font-size: 13px; color: rgba(255,255,255,.72); }
.tb-fx { font-size: 11.5px; color: rgba(255,255,255,.5); }
.tb-right { display: flex; align-items: center; gap: 12px; }
.tb-label { font-size: 12.5px; color: rgba(255,255,255,.7); }
.tb-total { font-size: 22px; font-weight: 800; color: #eafff3; min-width: 120px; text-align: right; }
.tb-ccy { display: flex; gap: 4px; }
.ccy-btn {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 12px; font-weight: 700; padding: 6px 9px; border-radius: 8px; cursor: pointer;
  transition: all .15s;
}
.ccy-btn:hover { background: rgba(255,255,255,.22); }
.ccy-btn.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------------- 卡片计算器（人数+天数→小计） ---------------- */
.tc-total { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); }
.ts-row { display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
.ts-label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.ts-ctrl { display: flex; align-items: center; gap: 8px; }
.ts-btn {
  width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--line);
  background: #fff; font-size: 16px; line-height: 1; cursor: pointer; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.ts-btn:hover { border-color: var(--green); color: var(--green); }
.ts-num { font-size: 15px; font-weight: 700; min-width: 22px; text-align: center; color: var(--ink); }
.ts-sub { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: baseline; }
.ts-sub b { color: var(--red); font-size: 15px; }

/* ---------------- 详情页双计算器 ---------------- */
.td-steppers { display: flex; gap: 18px; margin-bottom: 10px; flex-wrap: wrap; }

/* ---------------- 右侧固定留言滑块 ---------------- */
.review-flyout {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  width: 250px; height: min(430px, 55vh); z-index: 40;
  background: #fff; border: 1px solid var(--green-mid); border-radius: var(--radius);
  box-shadow: var(--shadow-h); overflow: hidden;
  display: flex; flex-direction: column;
}
.rf-head {
  background: var(--green); color: #fff; padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.rf-title { font-weight: 800; font-size: 15px; letter-spacing: .3px; }
.rf-head small { color: rgba(255,255,255,.85); font-size: 11.5px; }
.rf-viewport { overflow: hidden; flex: 1; }
.rf-track {
  display: flex; flex-direction: column;
  animation: rfScroll 40s linear infinite;
  will-change: transform;
}
@keyframes rfScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}
.rf-item { padding: 16px; border-bottom: 1px dashed var(--line); }
.rf-item:last-child { border-bottom: 0; }
.rf-stars { color: #e8a33d; font-size: 13.5px; margin-bottom: 6px; }
.rf-item p { font-size: 13.5px; color: var(--ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rf-meta { font-size: 12px; color: var(--ink-2); margin-top: 8px; font-weight: 600; }
.rf-dots { display: none; }
.rf-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-mid); cursor: pointer; }
.rf-dot.active { background: var(--green); width: 18px; border-radius: 4px; }

/* 右侧滑块响应式：大屏占右侧空白一半，窄屏隐藏避免遮挡 */
@media (min-width: 1680px) {
  .review-flyout { width: calc((100vw - 1240px) / 2 - 16px); min-width: 250px; max-width: 300px; }
}
@media (max-width: 1380px) {
  .review-flyout { display: none; }
}
@media (max-width: 640px) {
  .tb-total { font-size: 18px; }
  .ccy-btn { padding: 6px 10px; font-size: 12px; }
}

/* ================ 本轮整改新增样式 ================ */

/* --- 导游页：图左文右横排（最多 3 张照片竖排） --- */
.guide-list { display: flex; flex-direction: column; gap: 26px; }
.guide-card { display: flex; gap: 28px; align-items: flex-start; }
.guide-list { display: flex; flex-direction: column; gap: 26px; }
.guide-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: #fff; box-shadow: var(--shadow);
}
.g-photos { flex: 0 0 300px; display: flex; flex-direction: column; gap: 10px; }
.g-photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.g-photos .g-photo-sub { aspect-ratio: 4/3; max-height: 150px; object-fit: cover; }
.g-photos .g-avatar { flex: 0 0 300px; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; font-size: 90px; font-weight: 800; color: var(--green); background: var(--green-lt); border-radius: 10px; }
.g-body { flex: 1; min-width: 0; }

/* ---------- 导游团队页：一行 4 个紧凑卡片 + 点击弹详情 ---------- */
.guide-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.guide-grid .guide-card {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px;
  background: #fff; box-shadow: var(--shadow); text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: all .18s;
}
.guide-grid .guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); border-color: rgba(68,148,92,.45); }
.gc-photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; flex: none; background: var(--green-lt); margin-bottom: 4px; }
.gc-photo img { width: 100%; height: 100%; object-fit: cover; }
.gc-avatar { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 52px; font-weight: 800; color: var(--green); background: var(--green-lt); }
.gc-body h3 { font-size: 19px; }
.gc-title { color: var(--green); font-weight: 700; font-size: 12.5px; }
.gc-bio { font-size: 13px; color: var(--ink-2); line-height: 1.4; min-height: 18px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-more {
  margin-top: 10px; background: var(--green); color: #fff; border: 0; border-radius: 8px;
  padding: 9px 22px; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .15s;
}
.gc-more:hover { background: #3d8a58; }
.gd-photo { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; flex: none; background: var(--green-lt); }
.gd-photo img { width: 100%; height: 100%; object-fit: cover; }
.gd-photo .gc-avatar { font-size: 38px; }
@media (max-width: 1100px) {
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .guide-card { flex-direction: column; }
  .g-photos, .g-photos .g-avatar { flex-basis: auto; width: 100%; }
  .g-photos .g-photo-sub { aspect-ratio: 16/9; max-height: 220px; }
}

/* --- 详情页/预订页：Guide Only / Private Car 模式选择 --- */
.td-mode { margin: 12px 0; }
.td-mode > label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; display: block; margin-bottom: 6px; }
.td-mode-options, .bk-mode { display: flex; gap: 8px; }
.mode-opt { flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; text-align: center; background: #fff; transition: all .15s; }
.mode-opt input { display: none; }
.mode-opt b { font-size: 14px; color: var(--ink-2); font-weight: 700; }
.mode-opt.active { border-color: var(--green); background: var(--green-lt); }
.mode-opt.active b { color: var(--green); }
.bk-mode-label { margin-top: 16px; }
.bk-mode-label .mode-opt { flex: 0 0 180px; }

/* --- 详情页导游模块 + 自我介绍弹窗 --- */
.td-guide { margin-top: 14px; background: var(--green-lt); border: 1px solid var(--green-mid); border-radius: 12px; padding: 12px; }
.td-guide h4 { font-size: 13px; margin-bottom: 8px; color: var(--ink-2); }
.td-guide-list { display: flex; flex-direction: column; gap: 8px; }
.td-guide-list:has(> .guide-mini + .guide-mini) { display: grid; grid-template-columns: 1fr; }
.guide-mini { display: flex; align-items: center; gap: 10px; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px; cursor: pointer; text-align: left; }
.guide-mini:hover { border-color: var(--green); }
.guide-mini img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.guide-mini b { display: block; font-size: 14px; color: var(--ink); }
.guide-mini small { color: var(--ink-2); font-size: 12px; }
.g-avatar-mini { width: 52px; height: 52px; border-radius: 50%; background: var(--green-lt); color: var(--green); font-weight: 800; font-size: 22px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gm-head .g-avatar-mini { width: 88px; height: 88px; font-size: 36px; }
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-mask[hidden] { display: none; }
.modal-box { background: #fff; border-radius: 14px; max-width: 560px; width: 100%; max-height: 86vh; overflow: auto; padding: 26px; position: relative; box-shadow: var(--shadow-h); }
.modal-close { position: absolute; right: 14px; top: 12px; font-size: 24px; background: none; border: 0; cursor: pointer; color: var(--ink-2); line-height: 1; }
.modal-close:hover { color: var(--ink); }
.gm-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.gm-head img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; }
.gm-head h3 { margin: 0; font-size: 20px; }
.gm-head p { margin: 2px 0 0; color: var(--ink-2); font-size: 13.5px; }
.gm-bio { color: var(--ink-2); line-height: 1.7; }
.gm-sec { margin-top: 14px; }
.gm-sec h4 { font-size: 14px; margin-bottom: 6px; }

/* --- 评价图片 --- */
.rv-photos { display: flex; gap: 10px; margin-top: 10px; }
.rv-photos img { width: 130px; height: 96px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* --- Contact 页右侧二维码板块（与左卡等高一致） --- */
.contact-qr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.contact-qr h2 { font-size: 20px; margin-bottom: 8px; }
.contact-qr p { font-size: 14px; color: var(--ink-2); margin-bottom: 12px; }

/* --- 预订页实时报价 --- */
.bk-quote { margin-top: 18px; background: var(--green-lt); border: 1px solid var(--green-mid); border-radius: 12px; padding: 16px 18px; }
.bk-quote h3 { font-size: 16px; margin-bottom: 10px; }
.bk-quote table { width: 100%; border-collapse: collapse; }
.bk-quote td { padding: 7px 0; font-size: 14px; border-bottom: 1px dashed var(--line); }
.bk-quote td:first-child { color: var(--ink-2); width: 130px; }
.bk-quote-total { border-bottom: 0 !important; }
.bk-quote-total b { color: var(--green); font-size: 20px; }
