/**
 * 山居·精品民宿 — 自然疗愈度假主题
 * 主色：鼠尾草绿 + 暖沙色 + 米白 + 木色
 * 风格：亮色暖调、大留白、大圆角、度假感
 * 纯原生 CSS，无框架依赖
 */

/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* === 自然色系 === */
  --green: #8FBC8F;
  --green-dark: #6B9B6B;
  --green-light: #B5D5B5;
  --green-dim: rgba(143, 188, 143, 0.1);
  --green-glow: rgba(143, 188, 143, 0.2);

  --sand: #D4C5A9;
  --sand-dark: #B8A88A;
  --sand-light: #E8DCC8;
  --sand-dim: rgba(212, 197, 169, 0.2);

  --sky: #A8C8E8;
  --sky-light: #D0E2F5;

  /* === 基底色 === */
  --bg-page: #FAFAF7;
  --bg-warm: #F5F2EC;
  --bg-card: #FFFFFF;
  --bg-overlay: rgba(255, 255, 255, 0.85);

  /* === 文字色阶 === */
  --text-primary: #3D3D3D;
  --text-secondary: #6B6B6B;
  --text-muted: #9B9B9B;
  --text-on-dark: #F5F2EC;

  /* === 边框 & 分隔 === */
  --border: #E8E4DC;
  --border-light: #F0EDE6;
  --border-green: rgba(143, 188, 143, 0.35);

  /* === 阴影 === */
  --shadow-sm: 0 1px 3px rgba(61, 61, 61, 0.04);
  --shadow-md: 0 4px 16px rgba(61, 61, 61, 0.06);
  --shadow-lg: 0 8px 32px rgba(61, 61, 61, 0.08);
  --shadow-warm: 0 4px 20px rgba(180, 160, 130, 0.12);

  /* === 圆角 — 大圆角柔和 === */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* === 间距 === */
  --section-py: 88px;
  --section-py-sm: 56px;
  --container-max: 1200px;
  --header-h: 72px;

  /* === 过渡 === */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 160ms;
  --duration: 280ms;
  --duration-slow: 450ms;

  /* === 字体 === */
  --font-heading: 'Noto Serif SC', 'STSongti', 'Songti SC', 'Georgia', 'STSong', 'KaiTi', serif;
  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', 'Hiragino Sans GB', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'STKaiti', 'KaiTi', 'Noto Serif SC', 'Georgia', serif;
}

/* ============================================================
   全局重置 & 基础
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background: var(--bg-page);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

::selection {
  background: rgba(143, 188, 143, 0.25);
  color: var(--text-primary);
}

/* 滚动条 */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: rgba(143, 188, 143, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* ============================================================
   排版
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.35;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 14px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
}

/* ============================================================
   布局容器
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-py) 0;
}

.section--warm {
  background: var(--bg-warm);
}

/* ============================================================
   Header 头部 — 毛玻璃白色
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  overflow-x: hidden;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background var(--duration) var(--ease-out),
              box-shadow var(--duration) var(--ease-out);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-right: auto;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--green);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.header__logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--green);
}

/* 主导航 */
.header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--green-dark);
  background: var(--green-dim);
}

/* 导航下拉 */
.header__nav-item {
  position: relative;
}

.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  padding: 6px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--duration) var(--ease-out);
  z-index: 60;
}

.header__dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast) var(--ease);
}

.header__dropdown a:hover {
  color: var(--green-dark);
  background: var(--green-dim);
}

/* 头部右侧 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease);
  white-space: nowrap;
}

.header__cta:hover {
  background: var(--green);
  color: #fff;
  box-shadow: var(--green-glow);
}

/* ============================================================
   汉堡菜单
   ============================================================ */
.hamburger {
  display: none;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: all var(--duration) var(--ease-out);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80%;
  max-width: 360px;
  background: #fff;
  z-index: 120;
  transform: translateX(-100%);
  transition: transform var(--duration) var(--ease-out);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__inner {
  padding: 24px;
  padding-top: 80px;
}

.mobile-nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease);
}

.mobile-nav__link:hover {
  color: var(--green-dark);
  background: var(--green-dim);
}

.mobile-nav__sub {
  padding-left: 16px;
  display: none;
}

.mobile-nav__sub.open {
  display: block;
}

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(61, 61, 61, 0.3);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease-out);
}

.mobile-nav__overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   内页 Banner
   ============================================================ */
.inner-banner {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--bg-warm);
}

.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(245, 242, 236, 0.6) 0%,
    rgba(245, 242, 236, 0.4) 50%,
    rgba(250, 250, 247, 0.9) 100%);
}

.inner-banner__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.inner-banner__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.inner-banner__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* 面包屑 */
.breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 13px 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.breadcrumb a:hover {
  color: var(--green-dark);
}

.breadcrumb i, .breadcrumb .fa-solid {
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover {
  background: var(--green-dark);
  box-shadow: var(--green-glow);
  transform: translateY(-1px);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--green-dark);
  border: 1.5px solid var(--green);
}

.btn--outline:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
}

.btn--ghost {
  background: var(--green-dim);
  color: var(--green-dark);
}

.btn--ghost:hover {
  background: var(--green);
  color: #fff;
}

.btn--warm {
  background: var(--sand);
  color: #fff;
}

.btn--warm:hover {
  background: var(--sand-dark);
  box-shadow: var(--shadow-warm);
  transform: translateY(-1px);
  color: #fff;
}

/* ============================================================
   卡片系统 — 米白无边框 + 轻阴影
   ============================================================ */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease-out);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card__image img {
  transform: scale(1.06);
}

.card__body {
  padding: 20px;
}

.card__tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--green-dim);
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card__price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 8px;
}

/* ============================================================
   首页 — Hero Banner
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero .swiper,
.hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg,
    rgba(61, 61, 61, 0.15) 0%,
    rgba(61, 61, 61, 0.05) 40%,
    rgba(61, 61, 61, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__actions .btn {
  font-size: 1rem;
  padding: 13px 32px;
}

.hero__actions .btn--primary {
  background: #fff;
  color: var(--text-primary);
}

.hero__actions .btn--primary:hover {
  background: var(--green);
  color: #fff;
}

.hero__actions .btn--outline {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

/* Hero Swiper 分页器 */
.hero-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  transition: all var(--duration);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 56px;
  background: #fff;
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollFloat 2s ease-in-out infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, #fff, transparent);
}

@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   首页 — 房型精选
   ============================================================ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   首页 — 关于故事（左图右文）
   ============================================================ */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 装饰元素 — 温暖圆点 */
.story-image::after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100px;
  height: 100px;
  background: var(--green-dim);
  border-radius: 50%;
  z-index: -1;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-text p {
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.95rem;
}

.story-text .signature {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-top: 8px;
}

/* ============================================================
   首页 — 体验活动（图标网格）
   ============================================================ */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.experience-card {
  text-align: center;
  padding: 36px 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease-out);
}

.experience-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.experience-card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green-dark);
  transition: all var(--duration) var(--ease-out);
}

.experience-card:hover .experience-card__icon {
  background: var(--green);
  color: #fff;
  transform: scale(1.08);
}

.experience-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.experience-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   首页 — 客人日记（左大右小）
   ============================================================ */
.journal-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.journal-grid > a:first-child {
  grid-row: span 2;
}

.journal-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.journal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.journal-card:hover img {
  transform: scale(1.05);
}

.journal-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(61, 61, 61, 0.7));
  color: #fff;
}

.journal-card__date {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 4px;
}

.journal-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   首页 — CTA 区域
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0 100px;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(143, 188, 143, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 0.5rem;
}

/* ============================================================
   列表页 — 网格布局
   ============================================================ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.list-header {
  text-align: center;
  margin-bottom: 40px;
}

.list-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  margin-bottom: 0.5rem;
}

/* 子栏目过滤栏 */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 32px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-bar a {
  display: inline-flex;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease);
  flex-shrink: 0;
}

.filter-bar a:hover,
.filter-bar a.active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

/* ============================================================
   详情页
   ============================================================ */
.detail {
  max-width: 880px;
  margin: 0 auto;
}

.detail-gallery {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
}

.detail-gallery .swiper-slide {
  aspect-ratio: 16 / 9;
}

.detail-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail__header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.detail__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 10px;
}

.detail__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail__meta-row i {
  margin-right: 4px;
  color: var(--green);
}

/* 参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.detail__param {
  padding: 18px 16px;
  background: #fff;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.detail__param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail__param-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* 正文 */
.detail__body {
  color: var(--text-secondary);
  line-height: 2;
  font-size: 0.95rem;
  letter-spacing: 0.015em;
}

.detail__body img {
  border-radius: var(--radius-md);
  margin: 24px 0;
  max-width: 100%;
}

.detail__body p { margin-bottom: 16px; }

.detail__body h2, .detail__body h3, .detail__body h4 {
  color: var(--text-primary);
  margin-top: 32px;
  margin-bottom: 16px;
}

/* 上下篇 */
.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-muted);
  gap: 12px;
}

.detail__pager a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.detail__pager a:hover {
  color: var(--green-dark);
}

/* 相关推荐 */
.related-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 48px 0 20px;
  color: var(--text-primary);
}

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

/* ============================================================
   联系我们/预订页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  transition: all var(--duration-fast) var(--ease);
}

.contact-info__item:hover {
  box-shadow: var(--shadow-md);
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-dark);
  flex-shrink: 0;
}

.contact-info__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-info__value {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* 表单 */
.contact-form-card {
  padding: 36px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group label .required {
  color: #E88B8B;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--duration-fast) var(--ease);
}

.form-control:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239B9B9B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ============================================================
   搜索页
   ============================================================ */
.search-box {
  max-width: 680px;
  margin: 0 auto;
}

.search-form-row {
  display: flex;
  gap: 10px;
}

.search-form-row input {
  flex: 1;
  padding: 15px 20px;
  padding-left: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.95rem;
}

.search-form-row input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-dim);
}

.search-input-wrap {
  position: relative;
  flex: 1;
}

.search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-result-item {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease);
  margin-bottom: 10px;
}

.search-result-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.search-result-item__thumb {
  width: 120px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-warm);
}

.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-item__info {
  flex: 1;
  min-width: 0;
}

.search-result-item__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-item__date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.search-result-item__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   预订页
   ============================================================ */
.booking-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.booking-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

/* ============================================================
   分页
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast) var(--ease);
}

.pagination a:hover {
  background: var(--green-dim);
  color: var(--green-dark);
}

.pagination .active {
  background: var(--green);
  color: #fff;
  font-weight: 600;
}

.pagination .disabled {
  color: var(--text-muted);
  pointer-events: none;
}

/* ============================================================
   空状态
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: block;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================================
   Footer 底部
   ============================================================ */
.footer {
  background: var(--text-primary);
  color: var(--text-on-dark);
}

.footer__top-line {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--sand), var(--sky));
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 56px 0 36px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.footer__brand-desc {
  font-size: 0.88rem;
  color: rgba(245, 242, 236, 0.6);
  line-height: 1.7;
  margin: 16px 0;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 242, 236, 0.7);
  font-size: 0.95rem;
  transition: all var(--duration-fast) var(--ease);
}

.footer__social a:hover {
  background: var(--green);
  color: #fff;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.88rem;
  color: rgba(245, 242, 236, 0.55);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--green-light);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(245, 242, 236, 0.55);
  margin-bottom: 10px;
}

.footer__contact-item i {
  color: var(--green-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__qrcode {
  width: 110px;
  height: 110px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #999;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 0.8rem;
  color: rgba(245, 242, 236, 0.4);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom a {
  color: rgba(245, 242, 236, 0.4);
  transition: color var(--duration-fast);
}

.footer__bottom a:hover {
  color: var(--green-light);
}

/* 友情链接 */
.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.friend-links__label {
  font-size: 0.82rem;
  color: rgba(245, 242, 236, 0.4);
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.82rem;
  color: rgba(245, 242, 236, 0.35);
  transition: color var(--duration-fast);
}

.friend-links a:hover {
  color: var(--green-light);
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  box-shadow: var(--shadow-md);
  transition: all var(--duration) var(--ease-out);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-top:hover {
  background: var(--green);
  color: #fff;
}

/* ============================================================
   在线客服按钮
   ============================================================ */
.kefu-btn {
  position: fixed;
  right: 20px;
  bottom: 136px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 80;
  border: none;
  box-shadow: 0 4px 16px rgba(143, 188, 143, 0.4);
  transition: all var(--duration) var(--ease-out);
  animation: kefuPulse 2s ease-in-out infinite;
}

.kefu-btn:hover {
  background: var(--green-dark);
  transform: scale(1.08);
}

@keyframes kefuPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(143, 188, 143, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(143, 188, 143, 0.6); }
}

/* ============================================================
   动画系统 — 自然系
   ============================================================ */

/* AOS 覆盖 */
[data-aos] {
  transition-timing-function: var(--ease-out);
}

/* 淡入上飘 */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero__title {
  animation: fadeInUp 1s var(--ease-out) both;
}

.hero__subtitle {
  animation: fadeInUp 1s var(--ease-out) 0.15s both;
}

.hero__actions {
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

/* 呼吸阴影 */
@keyframes breatheShadow {
  0%, 100% { box-shadow: var(--shadow-sm); }
  50% { box-shadow: var(--shadow-md); }
}

/* ============================================================
   响应式断点 — 平板 (768px - 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root { --section-py: 64px; }

  .header__nav,
  .header__actions {
    display: none;
  }

  /* 移动端 header 全宽锁定 */
  .header__inner {
    position: relative;
    padding-right: 60px;
    overflow: hidden;
    max-width: 100%;
  }

  .header__logo {
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  .header__logo-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }
  .header__logo-sub {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
  }

  /* 汉堡绝对定位，压在右边缘 */
  .hamburger {
    display: flex;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 110 !important;
    background: rgba(255,255,255,0.9);
    border-radius: 8px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .experience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .detail__pager {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   底部常驻预订栏 — 默认不显示，只在移动端打开
   （必须写在下面的媒体查询【之前】：同特异度时后写的规则会赢，
     放在后面会把媒体查询里的 display:flex 覆盖掉）
   ============================================================ */
.book-bar { display: none; }

/* ============================================================
   响应式断点 — 移动端 (< 768px)
   ============================================================ */
@media (max-width: 767px) {
  /* ★ 004 的移动端语言：【大图沉浸 + 图上叠字】
     山居民宿卖的是「景」，所以手机上把照片放到最大、文字压成图上的一条字幕，
     而不是「大图 + 下面一整块白底文字」——后者让每张房型卡多出 150px 白。
     底部常驻预订栏把「预订」从页面末尾提到拇指永远够得到的地方。 */
  :root {
    --section-py: 40px;
    --header-h: 56px;
    --book-bar-h: 60px;
  }

  body {
    font-size: 15px;
    line-height: 1.75;
    /* 给底部常驻预订栏让位，否则页脚最后一行被永久盖住 */
    padding-bottom: calc(var(--book-bar-h) + env(safe-area-inset-bottom, 0px));
  }

  .container { padding: 0 16px; }

  /* 栏目标题行是内联样式，只能这样收窄它与内容之间的距离 */
  .section .container > div[style*="margin-bottom:40px"] { margin-bottom: 22px !important; }

  .section-tag { font-size: 0.68rem; }
  .section-title { font-size: 1.45rem; }
  .section-subtitle { font-size: 0.86rem; }

  /* ---------- Hero ---------- */
  .hero {
    height: 66vh;
    min-height: 460px;
    max-height: 560px;
  }
  .hero__content { padding: 0 18px 36px; }
  .hero__title { font-size: 1.9rem; margin-bottom: 0.6rem; }
  .hero__subtitle { font-size: 0.9rem; margin-bottom: 1.5rem; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 12px 12px;
    font-size: 0.85rem;
  }
  .hero__scroll { display: none; }
  .hero-pagination .swiper-pagination-bullet { width: 20px; height: 2px; }

  /* ---------- 内页 Banner / 面包屑 ---------- */
  /* 头部是 fixed，内页第一个元素必须自己让出高度 */
  .inner-banner { margin-top: var(--header-h); height: 180px; }
  .inner-banner__title { font-size: 1.5rem; }
  .inner-banner__subtitle { font-size: 0.84rem; }
  .breadcrumb {
    padding: 9px 16px;
    font-size: 0.74rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .breadcrumb::-webkit-scrollbar { display: none; }

  /* ============================================================
     房型卡（首页 .features + 列表页 .list-grid）→ 图上叠字
     ============================================================ */
  .features { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .list-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }

  .card {
    position: relative;
    display: block;
    min-width: 0;
  }
  .card__image { aspect-ratio: 4 / 3; }
  /* 字幕压在照片底部 */
  .card__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 52px 15px 14px;
    background: linear-gradient(transparent, rgba(38, 45, 38, 0.55) 45%, rgba(38, 45, 38, 0.85));
  }
  /* 景观标签浮到照片左上角，不占字幕高度 */
  .card__tag {
    position: absolute;
    top: 12px; left: 12px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--green-dark);
    backdrop-filter: blur(6px);
  }
  .card__title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  }
  /* 房型简介收起：选房看的是面积/床型这些规格，不是散文 */
  .card__desc { display: none; }
  .card__meta {
    margin-top: 4px;
    padding-top: 0;
    border-top: none;
    gap: 12px;
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.8);
    min-width: 0;
  }
  .card__meta span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .card__meta i { color: rgba(255, 255, 255, 0.9); }
  .card__price { color: #fff; font-size: 1rem; margin-top: 4px; }

  /* ============================================================
     关于·故事
     ============================================================ */
  .story-section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .story-image { aspect-ratio: 3 / 2; }
  .story-image::after { width: 70px; height: 70px; }
  .story-text { gap: 12px; }
  .story-text p {
    font-size: 0.88rem;
    line-height: 1.85;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .story-text .signature { font-size: 1.05rem; margin-top: 4px; }

  /* ============================================================
     山居·体验 → 2×2 紧凑
     ============================================================ */
  .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .experience-card { padding: 18px 12px; border-radius: var(--radius-md); }
  .experience-card__icon {
    width: 44px; height: 44px;
    margin: 0 auto 10px;
    font-size: 1.05rem;
  }
  .experience-card__title { font-size: 0.92rem; }
  .experience-card__desc {
    font-size: 0.76rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ============================================================
     客人日记 → 单列（本来就是图上叠字，和房型卡统一）
     ============================================================ */
  .journal-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .journal-grid > a:first-child { grid-row: auto; }
  .journal-card { aspect-ratio: 16 / 10; }
  .journal-card__info { padding: 18px 14px; }
  .journal-card__title { font-size: 1rem; }

  /* ============================================================
     详情页
     ============================================================ */
  .detail-gallery { border-radius: var(--radius-md); }
  .detail__title { font-size: 1.4rem; }
  .detail__params { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .detail__param { padding: 12px 10px; }
  .detail__param-label { font-size: 0.72rem; }
  .detail__param-value { font-size: 0.88rem; }
  .detail__body { font-size: 0.9rem; line-height: 1.85; }
  .detail__pager { flex-direction: column; gap: 8px; text-align: left; }
  .detail__pager > * {
    min-width: 0;
    padding: 11px 14px;
    background: #fff;
    border-radius: var(--radius-md);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .related-title { font-size: 1.15rem; margin: 32px 0 16px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  /* 相关推荐用小卡：横向排布，不要跟着大图叠字走，否则又是两屏 */
  .related-grid .card { display: flex; flex-direction: row; align-items: stretch; }
  .related-grid .card__image { flex: 0 0 108px; aspect-ratio: auto; min-height: 108px; }
  .related-grid .card__body {
    position: static;
    background: none;
    padding: 11px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  .related-grid .card__tag { display: none; }
  .related-grid .card__title { color: var(--text-primary); font-size: 0.88rem; text-shadow: none; }
  .related-grid .card__meta { color: var(--text-muted); font-size: 0.7rem; }
  .related-grid .card__meta i { color: var(--green-dark); }
  .related-grid .card__price { color: var(--green-dark); font-size: 0.86rem; }

  /* ============================================================
     列表页筛选 / 预订表单 / 搜索
     ============================================================ */
  .list-header { margin-bottom: 20px; }
  .list-header h1 { font-size: 1.45rem; }
  .filter-bar { gap: 6px; margin-bottom: 18px; }
  .filter-bar a { padding: 6px 14px; font-size: 0.8rem; }

  .booking-card { padding: 20px 16px; }
  .booking-card .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-form-card { padding: 20px 16px; }
  .search-result-item { flex-direction: row; align-items: center; gap: 12px; }
  .search-result-item__thumb { width: 88px; height: 88px; flex-shrink: 0; }

  .pagination { gap: 6px; margin-top: 26px; }
  .pagination a, .pagination span { min-width: 34px; height: 34px; font-size: 0.82rem; }

  /* ---------- CTA ---------- */
  .cta-section { padding: 46px 0 54px; }
  .cta-section__title { font-size: 1.4rem; }

  /* ============================================================
     页脚
     ============================================================ */
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px 16px;
    padding: 40px 16px 26px;
  }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .footer__brand-desc { font-size: 0.82rem; }
  .footer__col-title { font-size: 0.92rem; margin-bottom: 14px; }
  .footer__links { gap: 8px; }
  .footer__links a, .footer__contact-item { font-size: 0.8rem; }
  .footer__contact-item span { min-width: 0; overflow-wrap: anywhere; }
  .footer__qrcode { width: 96px; height: 96px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; padding: 0 16px; }
  .friend-links { padding-left: 16px; padding-right: 16px; gap: 10px; }

  /* ---------- 悬浮件（让开底部预订栏） ---------- */
  .back-top {
    right: 12px;
    bottom: calc(var(--book-bar-h) + 12px + env(safe-area-inset-bottom, 0px));
    width: 40px; height: 40px;
  }
  /* 预订栏里已经有电话入口，再浮一个客服球就是重复 */
  .kefu-btn { display: none; }

  /* ============================================================
     底部常驻预订栏（仅移动端）
     ============================================================ */
  .book-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(61, 61, 61, 0.08);
  }
  .book-bar__tel {
    flex: 0 0 62px;
    min-height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    font-size: 0.66rem;
    line-height: 1.2;
    color: var(--green-dark);
  }
  .book-bar__tel i { font-size: 1.05rem; }
  .book-bar__cta {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--green);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 14px rgba(143, 188, 143, 0.4);
  }
  /* 已经在预订页上，就别再劝人预订了 */
  body:has(.booking-card) .book-bar { display: none; }
  body:has(.booking-card) { padding-bottom: 0; }
}

/* ============================================================
   响应式断点 — 小屏手机 (< 375px)
   ============================================================ */
@media (max-width: 374px) {
  body { font-size: 14px; }
  .container { padding: 0 14px; }
  .hero__title { font-size: 1.7rem; }
  .related-grid .card__image { flex: 0 0 92px; min-height: 92px; }
  .experience-grid { gap: 8px; }
  .experience-card { padding: 16px 10px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ============================================================
   偏好：减少动画
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
