/* =============================================================================
 * 古北德邻官网 · 样式表
 * 简约国际化风格；适配中文 / English / Русский（俄文长文本专门适配）
 * ===========================================================================*/

:root {
  --accent: #2f5d50;        /* 深松绿 */
  --accent-deep: #234740;
  --gold: #c9a86a;          /* 暖金 */
  --bg: #faf8f3;            /* 暖白 */
  --bg-alt: #f1ece1;        /* 浅米 */
  --text: #2b2b29;
  --muted: #6b6b66;
  --line: #e2dccf;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(40, 50, 45, 0.08);
  --maxw: 1120px;
  --serif: "Noto Serif SC", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; }

.container { width: min(100% - 40px, var(--maxw)); margin: 0 auto; }
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--accent-deep); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--text); opacity: .85; transition: .2s; }
.nav-links a:hover { opacity: 1; color: var(--accent); }
.lang-switch { display: flex; gap: 4px; margin-left: 8px; }
.lang-btn {
  border: 1px solid var(--line); background: #fff; color: var(--muted);
  padding: 5px 10px; font-size: 13px; border-radius: 999px; cursor: pointer; transition: .2s;
}
.lang-btn:hover { border-color: var(--accent); color: var(--accent); }
.lang-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--accent-deep); }
.nav-backdrop { display: none; }

/* ---------- 导航栏客服入口 ---------- */
.nav-contact {
  margin-left: 6px; padding: 6px 14px; border-radius: 999px;
  background: var(--gold); color: #2b2310; font-size: 14px; font-weight: 600;
  white-space: nowrap; transition: .2s;
}
.nav-contact:hover { background: #bb9a5c; color: #2b2310; }

/* ---------- Hero 联系信息条 ---------- */
.hero-contact { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.hero-contact-item {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  padding: 8px 16px; border-radius: 999px; color: #fff;
  transition: .2s; backdrop-filter: blur(4px);
}
.hero-contact-item:hover { background: rgba(255,255,255,.22); }
.hero-contact-item .hc-ico { font-size: 16px; opacity: .9; }
.hero-contact-item .hc-txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.hero-contact-item .hc-txt b { font-size: 14px; font-weight: 600; }
.hero-contact-item .hc-txt i { font-style: normal; font-size: 11px; opacity: .8; }
@media (max-width: 640px) {
  .nav-contact { padding: 5px 10px; font-size: 12px; }
  .hero-contact { margin-top: 20px; }
  .hero-contact-item .hc-txt b { font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
/* 提高权重：.img-slot 也声明了 position:relative 且位于本规则之后，
   若用单类选择器会被其覆盖，导致主视觉容器塌缩为 0×0（图片不可见）。 */
.hero .hero-img { position: absolute; inset: 0; z-index: 0; }
.hero-img .ph { height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,30,26,.45), rgba(20,30,26,.65));
}
.hero-content { position: relative; z-index: 1; color: #fff; text-align: center; padding-top: 60px; }
.hero-kicker { letter-spacing: .12em; font-size: 14px; opacity: .9; margin: 0 0 14px; }
.hero-title { font-size: clamp(32px, 6vw, 60px); margin: 0 0 18px; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.hero-subtitle { font-size: clamp(15px, 2.2vw, 19px); max-width: 720px; margin: 0 auto 30px; opacity: .95; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 22px; z-index: 1; animation: bob 1.8s infinite; }
@keyframes bob { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* ---------- 按钮 ---------- */
.btn { display: inline-block; padding: 12px 26px; border-radius: 999px; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: .2s; font-family: var(--sans); }
.btn-primary { background: var(--gold); color: #2b2310; font-weight: 600; }
.btn-primary:hover { background: #bb9a5c; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }

/* ---------- 标题 ---------- */
.section-title { text-align: center; font-size: clamp(26px, 4vw, 38px); color: var(--accent-deep); margin: 0 0 12px; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; }
.sub-title { font-size: 19px; color: var(--accent); margin: 26px 0 14px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.about-text p { margin: 0 0 16px; }
.about-img { aspect-ratio: 4/3; }

/* ---------- 地理位置 ---------- */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.location-map { aspect-ratio: 4/3; }
.map-note { font-size: 13px; color: var(--muted); margin-top: 10px; text-align: center; }

/* ---------- 步行路线交互地图 ---------- */
.location-col { min-width: 0; }
.location-map .map-wrap {
  position: absolute; inset: 0;
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, #eef3ef, #e3ece6);
  cursor: grab;
}
.map-svg { width: 100%; height: 100%; display: block; touch-action: none; }
.map-bg { fill: #e9f0ea; }
.map-deco .map-river { fill: none; stroke: #bcd6e6; stroke-width: 14; stroke-linecap: round; opacity: .7; }
.map-deco .map-road { fill: none; stroke: #e7ddc8; stroke-width: 10; stroke-linecap: round; opacity: .8; }
.map-deco .map-hill { fill: #d9e6d3; opacity: .7; }
.map-route { stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; fill: none; transition: opacity .35s ease; }
.marker { cursor: pointer; }
.marker .mk-halo { fill: #c9a86a; opacity: .18; transition: opacity .15s; }
.marker.base .mk-halo { fill: var(--gold); opacity: .28; }
.marker .mk-dot { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.marker.base .mk-dot { stroke: var(--gold); }
.marker.sub .mk-dot { stroke: #8aa39a; stroke-width: 2.5; }
.marker.sub .mk-halo { fill: #8aa39a; }
.marker .mk-icon { font-size: 16px; text-anchor: middle; dominant-baseline: middle; }
.marker .mk-label {
  font-size: 14px; fill: var(--accent-deep); text-anchor: middle; font-weight: 600;
  paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round;
}
.marker .mk-dot, .marker .mk-halo, .marker .mk-label { transition: fill .2s ease, stroke .2s ease, opacity .2s ease, stroke-width .2s ease; }
.marker:hover .mk-halo, .marker:focus .mk-halo { opacity: .42; }
.marker:focus { outline: none; }
/* 当前激活的目的地标记：金色描边 + 更亮光环，与下方信息区高亮行一一对应 */
.marker.active .mk-halo { fill: var(--gold); opacity: .40; }
.marker.active .mk-dot { stroke: var(--gold); stroke-width: 4; }
.marker.active .mk-label { fill: var(--gold); font-weight: 700; }
.map-controls { position: absolute; right: 10px; bottom: 10px; z-index: 9; display: flex; flex-direction: column; gap: 6px; }
.map-controls button {
  width: 34px; height: 34px; border: none; border-radius: 8px;
  background: rgba(255, 255, 255, .92); color: var(--accent-deep);
  font-size: 18px; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.map-controls button:hover { background: #fff; }
.map-controls button:active { transform: scale(.94); }
.map-controls button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.map-controls button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
/* 复位按钮：高德实景与 SVG 兜底均显示，点击后地图中心回到古北德邻 */
.map-reset {
  position: absolute; top: 10px; right: 10px; z-index: 6;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .94);
  color: var(--accent-deep); font-size: 19px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16); transition: .15s;
}
.map-reset:hover { background: #fff; color: var(--accent); transform: rotate(-30deg); }
.map-reset:active { transform: rotate(0deg) scale(.92); }
.map-compass {
  position: absolute; left: 10px; top: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--accent-deep);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 13px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.map-legend {
  position: absolute; left: 10px; bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px 12px;
  background: rgba(255, 255, 255, .92); padding: 8px 12px; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12); max-width: calc(100% - 64px);
}
.map-legend .lg-item { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text); }
.map-legend .lg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.map-legend .lg-dot.base { background: var(--gold); }
.map-legend .lg-dot.sub { background: #8aa39a; }
.map-popup {
  position: absolute; z-index: 5; width: min(260px, 82%);
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
}
.map-popup h4 { margin: 0 0 6px; font-size: 15px; color: var(--accent-deep); padding-right: 18px; }
.map-popup p { margin: 0; font-size: 13px; color: var(--text); line-height: 1.5; }
.map-popup-close {
  position: absolute; right: 8px; top: 6px; border: none; background: none;
  font-size: 18px; line-height: 1; cursor: pointer; color: var(--muted);
}
/* ===== 高德真实地图模式（Key 在 config.js；无 Key 时整段不生效，回退 SVG） ===== */
#amapView { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-wrap.amap-mode .map-svg,
.map-wrap.amap-mode .map-compass { display: none !important; }
.amap-pin { display: flex; flex-direction: column; align-items: center; transform: translateY(-2px); }
.amap-pin-ico {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
/* ===== 地图下方步行信息区 =====
   .walk-route-panel 是 .location-map 的兄弟节点（不是浮层），
   因此永远位于地图主体下方，不会遮挡或干扰客人查看地图。 */
.walk-route-panel {
  margin-top: 14px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.walk-route-panel:empty { display: none; }
.wri-head {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 700; color: var(--accent-deep); margin-bottom: 10px;
}
.wri-head::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: var(--gold); flex: 0 0 auto; }
.wri-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.wri-row {
  display: flex; align-items: center; gap: 8px; width: 100%; min-width: 0;
  padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font: inherit; text-align: left; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.wri-row:hover { border-color: var(--rc, var(--accent)); background: #f7faf8; }
.wri-row:active { transform: translateY(1px); }
.wri-row.active {
  border-color: var(--rc, var(--gold)); background: #f4f9f6;
  box-shadow: inset 0 0 0 1px var(--rc, var(--gold));
}
.wri-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 1.5px rgba(255,255,255,.85); }
.wri-ico { font-size: 15px; line-height: 1; flex: 0 0 auto; }
.wri-name { flex: 1 1 auto; min-width: 0; font-size: 13.5px; line-height: 1.3; color: var(--text); }
.wri-row.active .wri-name { color: var(--accent-deep); font-weight: 600; }
.wri-meta { flex: 0 0 auto; font-size: 12.5px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.wri-foot { margin-top: 9px; font-size: 12px; color: var(--muted); line-height: 1.5; }
/* 分组小标题（步行可达 / 驾车·接驳前往）：左侧图标 + 右侧延伸细线 */
.wri-sec {
  display: flex; align-items: center; gap: 8px; margin: 16px 0 8px;
  font-size: 12.5px; font-weight: 700; color: var(--accent-deep); letter-spacing: .3px;
}
.wri-sec::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--line); }
.wri-row + .wri-sec { margin-top: 18px; }
/* 驾车 / 接驳前往：不可点击选择地图（距店 8–150 km、步行不可达），右侧给「地图查看」外链。
   整行通栏（不走步行列表的两列网格）—— 这几项带一行较长的车程说明，窄列里会折成三行、很难扫读。 */
.wri-list--drive { grid-template-columns: minmax(0, 1fr); }
.wri-row--drive { align-items: flex-start; cursor: pointer; }
.wri-row--drive:hover { border-color: #94a3b8; background: #f8fafc; }
.wri-sub { display: block; margin-top: 3px; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.5; }
.wri-nav {
  flex: 0 0 auto; align-self: center; font-size: 12px; font-weight: 600;
  color: var(--accent); text-decoration: none; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.wri-nav:hover { border-color: var(--gold); color: var(--gold); background: #fdfaf3; }
.wri-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.amap-pin.pin-base .amap-pin-ico { background: var(--gold); width: 34px; height: 34px; font-size: 18px; }
.amap-pin.pin-sub .amap-pin-ico { background: #8aa39a; width: 26px; height: 26px; font-size: 14px; }
/* 当前激活目的地（高德标记）：金色描边 + 深色标签，和路线颜色、下方信息区高亮行一致 */
.amap-pin.active .amap-pin-ico { box-shadow: 0 0 0 3px var(--gold), 0 4px 12px rgba(0,0,0,.3); }
.amap-pin.active .amap-pin-lbl { background: var(--gold); color: #23301f; font-weight: 700; }
.amap-pin-lbl {
  margin-top: 4px; background: rgba(20,32,28,.86); color: #fff; font-size: 12px;
  padding: 2px 8px; border-radius: 10px; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.amap-info { max-width: 230px; }
.amap-info h4 { margin: 0 0 6px; font-size: 14px; color: #1f3a30; }
.amap-info p { margin: 0; font-size: 12.5px; color: #4a5b54; line-height: 1.5; }
@media (max-width: 640px) {
  /* 地图在手机上全宽撑满视口、并加高，便于看清步行路线与距离 */
  .location-col .img-slot.location-map {
    margin-left: calc(50vw - 50%);
    margin-right: calc(50vw - 50%);
    border-radius: 0;
    aspect-ratio: 3 / 4;
  }
  .map-note { padding: 0 20px; }
  .map-controls button { width: 30px; height: 30px; font-size: 16px; }
  .rl-nav { width: 42px; height: 42px; font-size: 24px; }
  .rl-prev { left: 8px; }
  .rl-next { right: 8px; }
  .review-lightbox { padding: 18px; }
  .walk-route-panel { padding: 10px 12px 12px; border-radius: 0; border-left: none; border-right: none; }
  .wri-list { grid-template-columns: minmax(0, 1fr); }
  .wri-row { padding: 9px 10px; }
  .wri-name { font-size: 13px; }
}
.info-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-label { flex: 0 0 110px; color: var(--accent); font-weight: 600; }
.info-value { flex: 1; }
.transport-list { list-style: none; padding: 0; margin: 0; }
.transport-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.transport-list .t { font-weight: 600; color: var(--accent-deep); display: block; margin-bottom: 4px; }
.transport-list .t-who { display: block; font-size: 13px; color: var(--muted, #6b7280); margin: 2px 0 6px; }
.transport-list .t-lead { margin: 0 0 8px; line-height: 1.6; }
.transport-list .t-sub { list-style: none; margin: 8px 0 4px; padding: 0; }
.transport-list .t-sub li { padding: 7px 0; border-top: 1px dashed var(--line, #e5e7eb); font-size: 14px; line-height: 1.55; }
.transport-list .t-sub b { color: var(--accent-deep, #7a3b22); }
.transport-list .t-price { display: block; margin-top: 6px; font-size: 13px; color: var(--muted, #6b7280); }
.transport-list .t-tip { display: block; margin-top: 8px; padding: 8px 10px; font-size: 13px; line-height: 1.5; color: var(--accent-deep, #7a3b22); background: rgba(122,59,34,0.06); border-left: 3px solid var(--accent, #b5642f); border-radius: 0 6px 6px 0; }

/* ---------- 卡片网格（景点 / 房型） ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(40,50,45,.14); }
.card .img-slot { aspect-ratio: 16/10; }
.card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin: 0 0 10px; font-size: 20px; color: var(--accent-deep); }
.card-body p { margin: 0; color: var(--muted); font-size: 14.5px; }
a.card { text-decoration: none; color: inherit; }
.card-more { margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 600; font-size: 14px; }
/* 房型专用字段 */
.room-meta { display: flex; gap: 18px; margin: 12px 0; font-size: 13.5px; color: var(--text); flex-wrap: wrap; }
.room-meta .k { color: var(--accent); font-weight: 600; margin-right: 6px; }
.room-desc { color: var(--muted); font-size: 14.5px; margin-top: auto; }

/* ---------- 入住指南 ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.guide-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.guide-card .g-icon { font-size: 26px; margin-bottom: 10px; }
.guide-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--accent-deep); }
.guide-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* FAQ（海外访客高频问答）· 引导块
   —— 2026-10-11：手风琴问答已迁至「客人留言板」(/guestbook/)，这里只留一个引导入口。
   原 .faq-item / .faq-q / .faq-a / .faq-cta 等手风琴样式已随之下线。 */
.faq-list { display: block; }
.faq-hub {
  max-width: 780px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 36px 28px;
}
.faq-hub-lead { margin: 0 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.8; }
.faq-hub-cta {
  display: inline-block; padding: 13px 32px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 15.5px;
  text-decoration: none; box-shadow: 0 8px 22px rgba(35, 71, 64, .26);
  transition: background .18s ease, transform .18s ease;
}
.faq-hub-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
.faq-hub-links { margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.faq-hub-links a { color: var(--accent); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.faq-hub-links a:hover { border-bottom-color: var(--accent); }
.faq-hub-sep { margin: 0 8px; color: var(--line); }
@media (max-width: 640px) {
  .faq-hub { padding: 26px 18px; }
  .faq-hub-cta { display: block; padding: 13px 18px; }
}
.guide-note { text-align: center; color: var(--accent); margin-top: 30px; font-size: 14px; }

.rooms-note, .guide-note { text-align: center; }
.rooms-note { color: var(--muted); margin-top: 30px; font-size: 13.5px; }

/* ---------- 占位图 ---------- */
.img-slot { position: relative; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; }
.ph {
  width: 100%; height: 100%; min-height: 160px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 18px; color: var(--muted); font-size: 14px; line-height: 1.5;
  background: repeating-linear-gradient(45deg, #f3eee3, #f3eee3 14px, #efe9dc 14px, #efe9dc 28px);
  border: 2px dashed var(--line); border-radius: var(--radius);
}
.hero-img .ph { border: none; border-radius: 0; min-height: 100%; }

/* ---------- 实拍图填充（替换占位后） ---------- */
.img-slot .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-img .ph-img { border-radius: 0; }
/* <picture> 只是 WebP/JPEG 档位选择容器，不参与布局（图片仍定位在 .img-slot / 灯箱内） */
.img-slot picture, .review-lightbox picture, .room-shot picture { display: contents; }

/* ---------- 房型实拍图册（点击封面打开灯箱翻页） ---------- */
.room-shot {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%;
  padding: 0; border: none; background: none; cursor: zoom-in;
}
.room-shot .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-shot:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.gal-badge {
  position: absolute; right: 10px; bottom: 10px; z-index: 2;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(20, 32, 28, .78); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25); pointer-events: none;
}
.room-shot:hover .gal-badge { background: var(--gold); color: #23301f; }
.rooms-gallery-hint { text-align: center; color: var(--muted); margin-top: 26px; font-size: 13.5px; }
/* 房型卡 → 房型详情子页（/rooms/<slug>.html）：给每个房型一个可索引 URL */
.room-more {
  display: inline-block; margin-top: 12px;
  font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none;
}
.room-more:hover { text-decoration: underline; color: var(--gold); }
.rooms-all { text-align: center; margin-top: 22px; font-size: 15px; }
.rooms-all a { font-weight: 600; color: var(--accent); }
.rooms-all a:hover { color: var(--gold); }

/* =============================================================================
 * 住客好评 · 错落叠加陈列 + 灯箱
 * ===========================================================================*/
.section-reviews { background: linear-gradient(180deg, #234740 0%, #2f5d50 100%); }
.section-reviews .section-title { color: #fff; }
.section-reviews .section-sub { color: #cfe0d6; }
.review-hint { text-align: center; color: var(--gold); font-size: 13.5px; margin: -28px 0 42px; letter-spacing: .02em; }

.review-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1040px;
  margin: 0 auto;
}
.review-card { position: static; width: 100%; height: auto; border: 0; background: transparent; box-shadow: none; }
.text-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 20px 20px 16px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .10);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.text-card:hover,
.text-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .16);
  outline: none;
}
.rc-top { display: flex; align-items: center; justify-content: space-between; }
.rc-stars { font-size: 15px; letter-spacing: 2px; }
.rc-stars .rc-star { color: #dcdcdc; }
.rc-stars .rc-star.on { color: #e9b949; }
.rc-score { font-size: 13px; color: #9a9a93; font-weight: 600; }
.rc-head { display: flex; align-items: center; gap: 10px; }
.rc-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: #eaf3ee; color: #1f3a30;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px; flex: none;
}
.rc-name { font-weight: 600; font-size: 14.5px; color: #2b2b29; line-height: 1.2; }
.rc-country { font-size: 12.5px; color: #8a8a82; }
.rc-quote { font-size: 14px; line-height: 1.7; color: #3a3a38; margin: 2px 0 0; flex: 1; }
.rc-foot { font-size: 11.5px; color: #a9c2b5; border-top: 1px dashed #eee; padding-top: 8px; }
.review-disclaimer {
  text-align: center; color: #a9c2b5; font-size: 12.5px;
  max-width: 720px; margin: 36px auto 0; line-height: 1.6;
}
/* 「查看更多好评」按钮：桌面与移动端均显示（默认折叠，点击展开全部） */
.reviews-more {
  display: inline-block; margin: 30px auto 0; padding: 12px 26px;
  border: 1px solid var(--gold); background: transparent; color: var(--gold);
  font-size: 14.5px; font-weight: 600; border-radius: 999px; cursor: pointer;
  text-align: center;
}
.reviews-more:hover { background: rgba(201, 168, 106, .14); }
/* 桌面默认折叠：仅展示前 12 张好评，第 13 张起隐藏 */
.review-collage .text-card:nth-child(n+13) { display: none; }
/* 桌面展开：展示全部好评 */
.review-collage.expanded .text-card:nth-child(n+13) { display: flex; }

/* 移动端分页器（默认隐藏，仅 ≤860px 显示；桌面端用「查看更多好评」折叠按钮） */
.review-pager {
  display: none;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; margin: 22px auto 0;
}
.review-pager .rp-nav {
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.review-pager .rp-btn {
  padding: 11px 18px; border: 1px solid var(--gold); background: transparent;
  color: var(--gold); font-size: 14px; font-weight: 600; border-radius: 999px;
  cursor: pointer; transition: background .18s, color .18s; min-width: 96px;
}
.review-pager .rp-btn:hover { background: rgba(201, 168, 106, .14); }
.review-pager .rp-btn:active { background: rgba(201, 168, 106, .22); }
.review-pager .rp-status {
  font-size: 14px; color: var(--muted); font-weight: 600;
  min-width: 54px; text-align: center; letter-spacing: .04em;
}

/* 好评点击放大弹窗 */
.review-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; }
.review-modal.show { display: flex; }
.rm-backdrop { position: absolute; inset: 0; background: rgba(20, 28, 24, .55); }
.rm-card {
  position: relative; z-index: 1; background: #fff; border-radius: 16px;
  max-width: 460px; width: 100%; padding: 28px 26px 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4); animation: rmIn .18s ease;
}
@keyframes rmIn { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.rm-close {
  position: absolute; top: 10px; right: 14px; border: 0; background: transparent;
  font-size: 26px; line-height: 1; color: #b7b7b0; cursor: pointer;
}
.rm-close:hover { color: #555; }
.rm-stars { font-size: 17px; letter-spacing: 2px; margin-bottom: 12px; }
.rm-stars .rc-star { color: #dcdcdc; }
.rm-stars .rc-star.on { color: #e9b949; }
.rm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rm-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: #eaf3ee; color: #1f3a30;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex: none;
}
.rm-name { font-weight: 600; font-size: 16px; color: #2b2b29; }
.rm-country { font-size: 13px; color: #8a8a82; }
.rm-quote { font-size: 15.5px; line-height: 1.8; color: #3a3a38; margin: 0; white-space: pre-wrap; }
.rm-foot { font-size: 12px; color: #a9c2b5; border-top: 1px dashed #eee; margin-top: 16px; padding-top: 10px; }

/* 灯箱 */
.review-lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; flex-direction: column;
  background: rgba(18, 26, 22, .94); padding: 28px;
}
.review-lightbox.show { display: flex; }
.rl-img {
  max-width: min(92vw, 520px); max-height: 78vh;
  border-radius: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); background: #fff;
}
.rl-caption { color: #e9efe9; margin: 16px 0 0; font-size: 14px; text-align: center; }
.rl-close {
  position: absolute; top: 16px; right: 20px; width: 46px; height: 46px;
  border-radius: 50%; border: none; background: rgba(255, 255, 255, .16);
  color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: .2s;
}
.rl-close:hover { background: rgba(255, 255, 255, .3); }
/* 房型图册模式：横构图放大显示 + 左右翻页按钮 */
.review-lightbox.gallery .rl-img { max-width: min(94vw, 1180px); max-height: 80vh; }
.rl-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 50px; height: 50px; border-radius: 50%; border: none;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 30px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s;
}
.rl-nav:hover { background: rgba(255, 255, 255, .34); }
.rl-nav[hidden] { display: none; }
.rl-prev { left: 14px; }
.rl-next { right: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--accent-deep); color: #e9efe9; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.footer-col p, .footer-nav li { color: #cfe0d6; font-size: 14px; margin: 0 0 8px; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav a:hover { color: var(--gold); }
.footer-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0 0 8px; }
.footer-link { color: #e9efe9; text-decoration: none; }
.footer-link:hover { color: var(--gold); text-decoration: underline; }
.footer-aichat {
  display: inline-block;
  margin-top: 2px;
  padding: 6px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-weight: 600;
  transition: background .18s ease, color .18s ease;
}
.footer-aichat:hover { background: var(--gold); color: var(--accent-deep); text-decoration: none; }
.footer-no-price { text-align: center; color: #b9ccc1; font-size: 13px; margin: 34px auto 14px; max-width: 760px; padding: 0 20px; }
.footer-rights { text-align: center; color: #9fb6ab; font-size: 12.5px; margin: 0; }
.footer-beian { text-align: center; color: #9fb6ab; font-size: 12.5px; margin: 6px 0 0; }
.footer-beian a { color: #9fb6ab; text-decoration: none; }
.footer-beian a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- 最新周边动态（品牌介绍下方） ---------- */
.section-news { background: var(--bg-alt); }
.latest-news-list { max-width: 860px; margin: 0 auto; display: grid; gap: 14px; }
.ln-item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.ln-item:hover {
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  transform: translateY(-2px);
  border-left-color: var(--accent);
}
.ln-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.ln-date { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.ln-tag { font-size: 12px; color: var(--accent); background: rgba(47,93,80,.08); border-radius: 999px; padding: 2px 10px; }
.ln-title { margin: 0 0 6px; font-size: 17px; color: var(--text); }
.ln-summary { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.7; }
/* 模块仅展示最新 5 条；其余动态统一通过「查看全部动态 →」在 /attractions/ 查看，不再使用内联展开按钮 */
.latest-news-all { text-align: center; margin-top: 22px; }
.latest-news-all a { color: var(--gold); text-decoration: none; font-weight: 600; }
.latest-news-all a:hover { text-decoration: underline; }

/* =============================================================================
 * 俄文长文本适配
 * ===========================================================================*/
html[lang="ru"] body { font-size: 15px; line-height: 1.7; }
html[lang="ru"] .hero-title { font-size: clamp(28px, 5vw, 50px); line-height: 1.18; }
html[lang="ru"] .card-body p,
html[lang="ru"] .guide-card p,
html[lang="ru"] .about-text p,
html[lang="ru"] .info-value,
html[lang="ru"] .msg { word-break: break-word; overflow-wrap: anywhere; }
html[lang="ru"] .section-sub { max-width: 760px; }
html[lang="ru"] .room-meta { font-size: 13px; }

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--accent); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px rgba(35, 71, 64, .34);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, background .2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-deep); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  /* 移动端菜单：从屏幕左侧滑入的固定抽屉（固定屏幕上端）。
     注意：.site-header 的 backdrop-filter 会为 fixed 子元素创建包含块，
     导致抽屉被“困”在 64px 高的顶栏里；移动端去掉它，抽屉才能铺满视口。 */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(250, 248, 243, 0.98); }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; background: rgba(20, 28, 24, .42);
    opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease; z-index: 55;
  }
  .nav-backdrop.open { opacity: 1; visibility: visible; }
  .nav-links {
    display: flex; position: fixed; top: 0; left: 0; height: 100vh;
    width: min(78vw, 320px); flex-direction: column;
    background: var(--bg); padding: 78px 22px 28px; gap: 14px;
    border-right: 1px solid var(--line); border-bottom: none;
    box-shadow: 0 0 40px rgba(0,0,0,.18);
    transform: translateX(-100%); transition: transform .28s ease; z-index: 60;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 17px; padding: 4px 2px; }
  .nav-toggle { display: block; margin-left: auto; position: relative; z-index: 70; }
  /* 移动端：语言切换 + 客服入口收进左侧抽屉，避免顶栏拥挤 */
  .nav-links .nav-contact { margin-left: 0; margin-top: 18px; text-align: center; align-self: stretch; }
  .nav-links .lang-switch { margin-left: 0; margin-top: 14px; flex-wrap: wrap; justify-content: flex-start; }
  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  /* 好评陈列 · 移动端：默认两列展示 6 张（第 7 张起隐藏），
     点「查看更多好评」展开为两列网格展示全部 */
  .review-collage { grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 560px; }
  .review-collage .text-card:nth-child(n+7) { display: none; }
  .review-collage.expanded .text-card:nth-child(n+7) { display: flex; }
  /* 移动端：好评改分页浏览（每页 4 张），隐藏桌面折叠按钮 */
  .review-pager { display: flex; }
  .reviews-more { display: none !important; }
  .reviews-more {
    display: block; margin: 22px auto 0; padding: 12px 24px;
    border: 1px solid var(--gold); background: transparent; color: var(--gold);
    font-size: 14.5px; font-weight: 600; border-radius: 999px; cursor: pointer;
  }
  .reviews-more:active { background: rgba(201, 168, 106, .16); }
  .review-hint { margin: -18px 0 28px; }
}
@media (max-width: 480px) {
  .section { padding: 60px 0; }
}

/* ---------- 搜索引擎友好文本兜底（仅在不执行 JS 时显示） ---------- */
.noscript-seo {
  max-width: 920px; margin: 0 auto; padding: 24px 20px; color: #333; font-size: 14px; line-height: 1.7;
}
.noscript-seo h1 { font-size: 22px; margin: 0 0 10px; }
.noscript-seo h2 { font-size: 18px; margin: 18px 0 8px; }
.noscript-seo ul { padding-left: 20px; }
.noscript-seo li { margin: 6px 0; }

/* SVG 示意图上的步行距离标签 */
.map-route-dist {
  font-size: 12px; font-weight: 700; paint-order: stroke;
  stroke: #fff; stroke-width: 3px; stroke-linejoin: round;
  text-anchor: middle; pointer-events: none;
}

@media (max-width: 480px) {
  .noscript-seo { padding: 18px 16px 40px; }
}

/* ---------- 站内搜索 ---------- */
.nav-search-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; margin-left: 6px;
  border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--accent); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  flex: none;
}
.nav-search-btn:hover { border-color: var(--accent); background: var(--accent); color: #fff; }
.nav-search-btn svg { width: 18px; height: 18px; display: block; }

.search-overlay {
  position: fixed; inset: 0; z-index: 900;
  background: rgba(28, 34, 31, 0.45);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.search-overlay[hidden] { display: none; }

.search-panel {
  position: fixed; top: 12vh; left: 50%; transform: translateX(-50%);
  z-index: 901; width: min(92vw, 640px);
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(20, 30, 26, 0.25);
  overflow: hidden; max-height: 76vh; display: flex; flex-direction: column;
}
.search-panel[hidden] { display: none; }

.search-panel-head {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.search-input {
  flex: 1; border: none; outline: none; font-size: 17px;
  font-family: var(--sans); color: var(--text); background: transparent;
}
.search-input::placeholder { color: var(--muted); }
.search-close {
  border: none; background: var(--bg-alt); color: var(--text);
  width: 34px; height: 34px; border-radius: 50%; font-size: 20px; line-height: 1;
  cursor: pointer; flex: none; transition: background .15s;
}
.search-close:hover { background: var(--line); }

.search-results { padding: 4px 16px 18px; overflow-y: auto; }
.search-count { font-size: 13px; color: var(--muted); margin: 10px 0 2px; }
.search-cat {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin: 14px 0 6px;
}
.search-list { list-style: none; margin: 0; padding: 0; }
.search-item {
  display: block; padding: 10px 12px; border-radius: 10px;
  transition: background .15s;
}
.search-item:hover { background: var(--bg-alt); }
.si-title { display: block; font-size: 16px; font-weight: 600; color: var(--text); }
.si-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 13px; color: var(--muted); margin-top: 2px;
}
.search-empty { color: var(--muted); padding: 18px 4px; text-align: center; }
.search-item mark {
  background: rgba(201, 168, 106, .38); color: inherit;
  padding: 0 1px; border-radius: 3px;
}

@media (max-width: 860px) {
  .search-panel { top: 8vh; width: 94vw; max-height: 80vh; }
  .nav-search-btn { width: 34px; height: 34px; }
}

/* ===================== 在线预订（外部 OTA 入口） ===================== */
.section-booking { background: var(--bg); }
.ota-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);   /* 始终一行三列，不折行 */
  gap: 24px; margin-top: 32px;
  align-items: stretch;                      /* 三卡等高 */
}
.ota-card {
  display: flex; flex-direction: column; align-items: stretch;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ota, var(--accent));
  border-radius: var(--radius); padding: 26px 24px; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ota-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(40,50,45,.14); }
.ota-booking { --ota: #003580; }
.ota-agoda { --ota: #e62739; }
.ota-expedia { --ota: #00253f; }
.ota-brand {
  font-family: var(--sans); font-size: 26px; font-weight: 800;
  color: var(--ota, var(--accent)); letter-spacing: .2px; line-height: 1.1;
  padding-bottom: 14px; margin-bottom: 16px; position: relative;
}
.ota-brand::after {                    /* 品牌色短分隔条，强化陈列 */
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 44px; height: 3px; border-radius: 2px; background: var(--ota, var(--accent));
}
.ota-brand .ota-tld { font-weight: 600; opacity: .75; font-size: 22px; }
.ota-desc { font-size: 14.5px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; flex: 1 1 auto; }
.ota-cta {
  display: block; text-align: center; background: var(--ota, var(--accent)); color: #fff;
  font-weight: 600; font-size: 15px; padding: 12px 16px; border-radius: 999px; transition: opacity .2s ease, transform .15s ease;
}
.ota-card:hover .ota-cta { opacity: .92; transform: translateY(-1px); }
.ota-cta::after { content: " \2192"; font-weight: 700; }   /* 箭头引导点击 */
.booking-note {
  text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.75; margin-top: 26px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
/* 导航栏预订入口高亮 */
.nav-links a.nav-book {
  background: var(--gold); color: var(--accent-deep); border-radius: 999px;
  padding: 6px 14px; font-weight: 700; margin-left: 4px;
}
.nav-links a.nav-book:hover { background: #bb9a5c; color: #2b2310; opacity: 1; }

/* 平板紧凑：仍保持一行三列，只缩小内边距/字号 */
@media (max-width: 1024px) and (min-width: 761px) {
  .ota-card { padding: 22px 18px; }
  .ota-brand { font-size: 23px; }
  .ota-desc { font-size: 13.5px; }
}

/* 手机：压缩为紧凑行，标题 + 三个平台入口可一屏展示，无需滚动 */
@media (max-width: 760px) {
  .section-booking { padding: 36px 0 44px; }
  .section-booking .section-title { font-size: 23px; margin-bottom: 8px; }
  .section-booking .section-sub { font-size: 13px; margin: 0 auto 18px; }
  .ota-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 0; }
  .ota-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;   /* minmax(0,1fr) 让左侧可收缩，右侧按钮不被挤压 */
    align-items: center; column-gap: 12px; row-gap: 3px;
    padding: 13px 14px; border-top-width: 3px; border-radius: 12px; box-shadow: none;
  }
  .ota-card:hover { transform: none; box-shadow: none; }
  .ota-brand { grid-column: 1; grid-row: 1; font-size: 17px; padding-bottom: 0; margin-bottom: 0; line-height: 1.2; }
  .ota-brand::after { display: none; }             /* 移动端去掉品牌色短条，省高度 */
  .ota-brand .ota-tld { font-size: 13px; }
  .ota-desc {
    grid-column: 1 / -1; grid-row: 2;              /* 独占整行，避免被按钮挤成窄条而截断 */
    font-size: 12px; line-height: 1.45; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .ota-cta {
    grid-column: 2; grid-row: 1; align-self: center;
    font-size: 13px; padding: 9px 15px; white-space: nowrap;
  }
  .ota-cta::after { content: ""; }                 /* 移动端箭头省掉，按钮更短 */
  .booking-note { font-size: 12.5px; line-height: 1.6; margin-top: 18px; }
  .nav-links a.nav-book { margin: 10px 0 0; text-align: center; }
}

/* ===== 地图坐标系切换（高德 GCJ-02 ⇄ 国际 WGS-84 / OSM）=====
/* 国际地图模式下隐藏 SVG 示意图与指北针，保留缩放控件与复位按钮 */
.map-wrap.intl-mode .map-svg,
.map-wrap.intl-mode .map-compass,
.map-wrap.intl-mode .map-legend { display: none !important; }
.map-wrap.intl-mode #amapView { pointer-events: none; }
.map-mode-switch {
  position: absolute; left: 10px; top: 10px; z-index: 10;
  display: flex; gap: 4px; padding: 3px;
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.14);
  backdrop-filter: saturate(140%) blur(6px);
}
.map-mode-switch .mm-btn {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 12.5px; line-height: 1;
  padding: 6px 12px; border-radius: 999px; color: var(--muted);
  white-space: nowrap; transition: background .18s, color .18s;
}
.map-mode-switch .mm-btn:hover { background: rgba(0,0,0,.05); color: var(--ink); }
.map-mode-switch .mm-btn.is-on {
  background: var(--accent); color: #fff; font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
}
.map-mode-switch .mm-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 520px) {
  .map-mode-switch { left: 6px; top: 6px; }
  .map-mode-switch .mm-btn { padding: 5px 9px; font-size: 11.5px; }
}

/* ===== 国际地图（OSM 瓦片，WGS-84）===== */
#intlMapView.im-root {
  position: absolute; inset: 0; overflow: hidden; z-index: 5;
  background: #e8e6e1; cursor: grab; touch-action: none;
}
#intlMapView.im-root.is-dragging { cursor: grabbing; }
.im-world { position: absolute; left: 0; top: 0; will-change: transform; }
.im-tile { position: absolute; display: block; user-select: none; -webkit-user-drag: none; }
.im-route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.im-route path { stroke: var(--gold, #b8893b); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.im-marks { position: absolute; inset: 0; z-index: 3; }
.im-pin {
  position: absolute; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.im-pin-ico {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,.28);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: transform .15s ease;
}
.im-pin.is-base .im-pin-ico { background: var(--gold); }
.im-pin.is-active .im-pin-ico { transform: scale(1.18); box-shadow: 0 4px 12px rgba(0,0,0,.36); }
.im-pin-lbl {
  margin-top: 3px; max-width: 132px; padding: 2px 7px;
  font-size: 12px; line-height: 1.25; text-align: center;
  background: rgba(255,255,255,.94); color: var(--ink);
  border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.16);
  white-space: normal;
}
.im-pin.is-active .im-pin-lbl { background: var(--gold); color: #fff; font-weight: 600; }
.im-pin:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
.im-attr {
  position: absolute; right: 0; bottom: 0; z-index: 4;
  padding: 2px 6px; font-size: 11px; line-height: 1.4;
  background: rgba(255,255,255,.82); color: var(--muted);
  border-top-left-radius: 6px;
}
.im-attr a { color: var(--muted); }

/* 地图提示条（瓦片不可用等） */
.map-notice {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  z-index: 9; max-width: calc(100% - 24px);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(33,29,24,.9); color: #fff;
  font-size: 12.5px; line-height: 1.4; text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,.24);
  animation: mapNoticeIn .22s ease;
}
@keyframes mapNoticeIn { from { opacity: 0; transform: translate(-50%, 6px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ===== 无障碍 / 结构增强 ===== */
/* 跳转到主内容：默认移出视口，键盘聚焦时才出现（不干扰鼠标用户） */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 8px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
  text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.26);
  transition: top .18s ease;
}
.skip-link:focus, .skip-link:focus-visible { top: 12px; outline: 2px solid var(--gold); outline-offset: 2px; }
/* 无 JS 兜底区的标题：不用 h1，避免与首屏 h1 重复 */
.ns-title { font-size: 22px; line-height: 1.35; margin: 0 0 10px; color: var(--ink); font-weight: 700; }
/* 键盘焦点统一可见（此前部分按钮依赖浏览器默认，深色背景下不明显） */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px;
}

/* 有模式切换器时，指北针下移避让（切换器占左上角） */
.map-wrap.has-mode-switch .map-compass { top: 54px; }
@media (max-width: 520px) { .map-wrap.has-mode-switch .map-compass { top: 46px; } }

/* ===== 地图大小调整：标准 ↔ 放大 ===== */
.location-map.is-expanded { aspect-ratio: auto; height: min(78vh, 660px); }
.location-map { transition: height .22s ease; }
@media (max-width: 640px) { .location-map.is-expanded { height: min(70vh, 520px); } }

/* 国际地图：比例尺、路线描边、标记阴影 —— 观感向高德对齐 */
.im-scale {
  position: absolute; left: 10px; bottom: 12px; z-index: 4;
  display: flex; align-items: center; gap: 6px;
  padding: 2px 6px; border-radius: 6px;
  background: rgba(255,255,255,.82); font-size: 11px; color: var(--muted);
}
.im-scale-bar {
  display: block; height: 6px;
  border: 1px solid var(--muted); border-top: none;
}
.im-route path { stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.im-route path:last-of-type { stroke: var(--gold, #b8893b); opacity: .95; }
.im-tile { opacity: 0; transition: opacity .18s ease; }
.im-tile.im-ready { opacity: 1; }

/* ===== 道路网图层：OSM 道路矢量叠加（与瓦片同源，不会错位），把路网提亮加粗 ===== */
.im-roads { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.im-roads path { fill: none; stroke-linejoin: round; stroke-linecap: round; }
/* 每个等级两条 path：第一条是描边（casing），第二条是路面 */
.im-roads .rd-major path:first-child { stroke: #c9963f; stroke-width: 9; opacity: .5; }
.im-roads .rd-major path:last-child { stroke: #ffd68a; stroke-width: 5.5; opacity: .92; }
.im-roads .rd-mid path:first-child { stroke: #c3ae82; stroke-width: 7; opacity: .45; }
.im-roads .rd-mid path:last-child { stroke: #fff2d2; stroke-width: 4; opacity: .88; }
.im-roads .rd-minor path:first-child { stroke: #b3ada0; stroke-width: 5; opacity: .4; }
.im-roads .rd-minor path:last-child { stroke: #ffffff; stroke-width: 2.8; opacity: .82; }
.im-roads .rd-walk path:first-child { stroke: #9fb0a6; stroke-width: 4; opacity: .32; }
.im-roads .rd-walk path:last-child { stroke: #ffffff; stroke-width: 2; opacity: .72; stroke-dasharray: 5 4; }

/* 道路图层开关：只在国际地图模式下出现（高德/Google 底图本身已有道路） */
.mm-road {
  display: none; border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: 12.5px; line-height: 1; color: var(--muted);
  padding: 6px 10px; margin-left: 3px; border-radius: 999px; white-space: nowrap;
  border-left: 1px solid var(--line);
  transition: background .18s, color .18s;
}
.map-wrap.intl-mode .mm-road { display: inline-flex; }
.mm-road[aria-pressed="true"] { color: var(--accent-deep); font-weight: 600; }
.mm-road.is-off { color: var(--muted); text-decoration: line-through; }
.mm-road:hover { background: rgba(0, 0, 0, .05); }
.mm-road:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ===== 点对点距离气泡：贴在路线中点，观感对齐高德的路线距离标签 ===== */
.im-dist {
  position: absolute; z-index: 4; transform: translate(-50%, -50%);
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: rgba(255, 255, 255, .96); color: var(--accent-deep);
  border: 1px solid var(--gold); font-size: 12px; font-weight: 600; line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18); pointer-events: none;
}
.im-dist[hidden] { display: none; }

/* ===== Google 地图模块（境外访客）===== */
#googleMapView { position: absolute; inset: 0; z-index: 5; overflow: hidden; background: #eef2ef; }
#googleMapView .gmap-frame { display: block; width: 100%; height: 100%; border: 0; position: relative; z-index: 1; }
/* 谷歌地图常驻兜底条：嵌入失败/显示 Google 报错浮层时，客人仍有明确出路 */
#googleMapView .gmap-fallback {
  position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 3;
  display: flex; align-items: center; gap: 8px; max-width: calc(100% - 20px);
  padding: 6px 8px; border-radius: 999px; background: rgba(255,255,255,.96);
  box-shadow: 0 2px 10px rgba(0,0,0,.18); font-size: 12px;
}
#googleMapView .gmap-fb-link {
  color: var(--accent, #2f5d50); font-weight: 700; text-decoration: none; white-space: nowrap;
}
#googleMapView .gmap-fb-back {
  border: 1px solid var(--line, #e2dccf); background: #fff; color: var(--text, #2b2b29);
  border-radius: 999px; padding: 3px 9px; font-size: 12px; cursor: pointer; white-space: nowrap;
}
#googleMapView .gmap-fb-back:hover { border-color: var(--gold, #c9a86a); color: var(--gold, #c9a86a); }
.gmap-loading {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
}
.gmap-spin {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid rgba(47, 93, 80, .22); border-top-color: var(--accent);
  animation: gmapSpin .9s linear infinite;
}
@keyframes gmapSpin { to { transform: rotate(360deg); } }
.map-wrap.google-mode .map-svg,
.map-wrap.google-mode .map-compass,
.map-wrap.google-mode .map-legend { display: none !important; }
.map-wrap.google-mode #amapView { pointer-events: none; }

/* ===== 双击全屏：双击地图进入，再双击 / Esc 还原内嵌样式 ===== */
.location-map.is-fullscreen {
  /* inset:0 + auto 尺寸：由四边定位撑满视口，避免 100vw 在有滚动条时横向溢出 */
  position: fixed; inset: 0; z-index: 9999;
  width: auto; height: auto; max-width: none; max-height: none;
  aspect-ratio: auto; border-radius: 0;
  background: #e8e6e1; box-shadow: 0 8px 40px rgba(0, 0, 0, .35);
}
html.map-fs-open, body.map-fs-open { overflow: hidden; }
.map-fs-hint {
  position: absolute; left: 50%; bottom: 44px; transform: translateX(-50%);
  z-index: 8; pointer-events: none; white-space: nowrap;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(33, 29, 24, .72); color: #fff;
  font-size: 12px; line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.map-fs-hint[hidden] { display: none; }
.map-wrap.is-fs .map-fs-hint { background: rgba(184, 137, 59, .94); }
@media (max-width: 520px) { .map-fs-hint { bottom: 40px; font-size: 11px; padding: 4px 10px; } }

/* 步行路线信息区：Google 地图外链（境外客人核对坐标最常用） */
.wri-google {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 10px; padding: 7px 14px; border-radius: 999px;
  background: #fff; color: var(--accent-deep);
  border: 1px solid var(--line); font-size: 13px; font-weight: 600;
  text-decoration: none; box-shadow: 0 1px 4px rgba(0, 0, 0, .08);
  transition: border-color .18s, color .18s;
}
.wri-google:hover { border-color: var(--gold); color: var(--gold); }
.wri-google:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* [2026-11-13] noscript 兜底块主标题由 h1 降为 h2（消除多语页双 H1），保持原视觉尺寸 */
.noscript-seo h2{font-size:22px;margin:0 0 10px;color:#5a2a1c}
