/* ============================================================
   JING 静舍 — 精品设计酒店官网样式
   调性：极简白 · 静谧美学 · 杂志感排版 · 极致留白
   主色：白 #fff · 浅灰 #f5f4f1 · 木色 #D4A373 · 黑 #1a1a1a
   架构：第三方模板模式 ({pboot:sitedomain}/skin/)
   ============================================================ */

/* ===== CSS Variables ===== */
:root {
  /* Colors */
  --color-white: #ffffff;
  --color-bg: #fafaf8;
  --color-bg-warm: #f5f4f1;
  --color-wood: #D4A373;
  --color-wood-light: #e8d5b7;
  --color-wood-dark: #b8864e;
  --color-black: #1a1a1a;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-text-muted: #a0a0a0;
  --color-border: #e8e6e1;
  --color-border-light: #f0eeea;

  /* Typography — system-native fonts, no Google Fonts dependency
     English serif: Georgia (Win/Mac) → Palatino (Mac) → system serif
     Chinese headings: STSongti-SC (Mac) → Noto Serif CJK SC → SimSun → serif
     Chinese body: PingFang SC (Mac) → Hiragino Sans GB (Mac) → Microsoft YaHei (Win) */
  --font-heading: 'Georgia', 'Palatino Linotype', 'STSongti-SC', 'Noto Serif CJK SC', 'Source Han Serif SC', 'SimSun', serif;
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'STHeiti', -apple-system, sans-serif;
  --font-en: 'Georgia', 'Palatino Linotype', 'Book Antiqua', serif;

  /* Spacing */
  --section-py: 100px;
  --section-py-mobile: 60px;
  --container-max: 1280px;
  --container-narrow: 900px;

  /* Header */
  --header-h: 80px;

  /* Radius */
  --radius-none: 0;
  --radius-sm: 4px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--duration-fast) var(--ease-out); }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-black);
}
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-wood);
  margin-bottom: 16px;
}
.section-title {
  font-size: 2.6rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: var(--color-black);
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}
.container--narrow { max-width: var(--container-narrow); }

/* ===== Section ===== */
.section {
  padding: var(--section-py) 0;
}
.section--tight { padding: 60px 0; }
.section--no-top { padding-top: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
  border-radius: var(--radius-none);
  font-family: var(--font-body);
}
.btn--primary {
  background: var(--color-black);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-wood); color: var(--color-white); }
.btn--outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-black);
}
.btn--outline:hover { background: var(--color-black); color: var(--color-white); }
.btn--ghost {
  background: transparent;
  color: var(--color-text-light);
  padding: 0;
  border-bottom: 1px solid transparent;
}
.btn--ghost:hover { color: var(--color-wood); border-bottom-color: var(--color-wood); }
.btn--wood {
  background: var(--color-wood);
  color: var(--color-white);
}
.btn--wood:hover { background: var(--color-wood-dark); }

/* ===== HEADER (13.11: white solid bg + dark text) ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-normal) var(--ease-out);
}
.header--scrolled {
  border-bottom-color: var(--color-border-light);
  background: rgba(255, 255, 255, 0.98);
}
.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--color-black);
  line-height: 1;
}

/* Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.header__nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--color-text-light);
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--color-black);
}
.header__nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--color-wood);
}

/* Dropdown arrow */
.dropdown-arrow {
  font-size: 0.55rem;
  margin-left: 5px;
  opacity: 0.4;
  transition: transform var(--duration-fast) var(--ease-out);
  vertical-align: middle;
}
.header__nav-item:hover .dropdown-arrow {
  opacity: 0.65;
  transform: rotate(180deg);
}

/* Nav dropdown (13.3: z-index) */
.header__nav-item {
  display: inline-flex;
  align-items: center;
  position: relative;
  line-height: 1;
}
.header__dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 160px;
  padding: 12px 0;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 60;
}
.header__nav-item:hover .header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.header__dropdown a {
  display: block;
  padding: 9px 24px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  transition: all var(--duration-fast);
}
.header__dropdown a:hover {
  color: var(--color-wood);
  background: var(--color-bg-warm);
}

/* Header CTA button */
.header__cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--color-black);
  color: var(--color-black);
  transition: all var(--duration-normal);
  flex-shrink: 0;
}
.header__cta:hover {
  background: var(--color-black);
  color: var(--color-white);
}

/* Header actions */
.header__actions { display: flex; align-items: center; gap: 16px; }

/* Hamburger (13.4: outside .header__actions) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
  z-index: 110;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-black);
  transition: all var(--duration-normal) var(--ease-out);
}
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  width: 320px;
  height: 100vh;
  background: var(--color-white);
  z-index: 105;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  overflow-y: auto;
}
.mobile-nav.active { transform: translateX(0); }
.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 104;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}
.mobile-nav__overlay.active { opacity: 1; visibility: visible; }
.mobile-nav__link {
  display: block;
  padding: 14px 0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-nav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}
.mobile-nav__sub.active { max-height: 400px; }
.mobile-nav__sub a {
  display: block;
  padding: 10px 0 10px 20px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border-light);
}

/* ===== HERO / Fullscreen Banner ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--color-black);
}
.hero-swiper {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero__slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero__content {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 700px;
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.hero__subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}
.hero__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__actions .btn--primary {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-white);
}
.hero__actions .btn--primary:hover { background: var(--color-wood); color: var(--color-white); border-color: var(--color-wood); }
.hero__actions .btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.5);
}
.hero__actions .btn--outline:hover { background: rgba(255,255,255,0.15); }
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); transform-origin: top; }
  50% { transform: scaleY(0.3); transform-origin: top; }
}
/* Swiper pagination */
.hero-pagination {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  border-radius: 0;
  opacity: 1;
  transition: all var(--duration-normal);
}
.hero-pagination .swiper-pagination-bullet-active {
  background: var(--color-white);
  width: 40px;
}

/* ===== INNER BANNER ===== */
.inner-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg-warm);
}
.inner-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}
.inner-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}
.inner-banner__content {
  position: relative;
  z-index: 1;
}
.inner-banner__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.inner-banner__subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.12em;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-bar {
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-white);
}
.breadcrumb {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 16px 40px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-wood); }
.breadcrumb .fa-solid { font-size: 0.55rem; margin: 0 8px; }

/* ===== ABOUT / Philosophy Block ===== */
.philosophy {
  text-align: center;
  padding: var(--section-py) 0;
  background: var(--color-bg);
}
.philosophy__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--color-black);
  letter-spacing: 0.04em;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto 24px;
}
.philosophy__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 2;
  font-weight: 300;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card {
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}
.card:hover { transform: translateY(-4px); }
.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 20px;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-in-out);
}
.card:hover .card__image img { transform: scale(1.03); }
.card__body { padding: 0; }
.card__tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-wood);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-black);
  margin-bottom: 6px;
  transition: color var(--duration-fast);
}
.card:hover .card__title { color: var(--color-wood); }
.card__desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.6;
  font-weight: 300;
}
.card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ===== ROOM CARD (specific) ===== */
.room-card .card__image { aspect-ratio: 5/4; }
.room-card .card__title { font-size: 1.5rem; }
.room-card .card__info {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}
.room-card .card__info span { display: flex; align-items: center; gap: 4px; }
.room-card .card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--color-black);
  border-bottom: 1px solid var(--color-black);
  padding-bottom: 4px;
  transition: all var(--duration-fast);
}
.room-card .card__link:hover { color: var(--color-wood); border-bottom-color: var(--color-wood); }

/* ===== EXPERIENCE / Story (left-right layout) ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row__image {
  overflow: hidden;
  aspect-ratio: 4/5;
}
.feature-row__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}
.feature-row:hover .feature-row__image img { transform: scale(1.02); }
.feature-row__text { padding: 0; }
.feature-row__text .section-title { font-size: 2.2rem; }
.feature-row__text .section-tag { margin-bottom: 12px; }
.feature-row__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 2;
  margin: 20px 0;
  font-weight: 300;
}
/* 体验活动紧凑版：桌面与默认一致（80px 底部间距），仅移动端改版 */
.feature-row--compact { margin-bottom: 80px; }

/* ===== STATS ===== */
.stats-section {
  background: var(--color-bg-warm);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.stat-item__number {
  font-family: var(--font-body);
  font-size: 3.2rem;
  font-weight: 200;
  color: var(--color-black);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.stat-item__label {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

/* ===== DETAIL / Texture section ===== */
.texture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.texture-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}
.texture-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}
.texture-item:hover img { transform: scale(1.05); }
.texture-item__text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
  color: var(--color-white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  opacity: 0;
  transition: opacity var(--duration-normal);
}
.texture-item:hover .texture-item__text { opacity: 1; }

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: var(--section-py) 0;
  background: var(--color-bg);
}
.cta-section__title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-black);
  margin-bottom: 12px;
}
.cta-section__sub {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 36px;
}

/* ===== LIST PAGE ===== */
.list-header {
  text-align: center;
  padding: 48px 0 40px;
}
.list-header h1 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Filter bar */
.filter-bar {
  display: flex;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}
.filter-bar a {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--color-text-light);
  border-bottom: 1px solid transparent;
  transition: all var(--duration-fast);
}
.filter-bar a:hover,
.filter-bar a.active { color: var(--color-black); border-bottom-color: var(--color-wood); }

/* Sticky filter bar (top 与头部同高；移动端 64px 在媒体查询中覆盖) */
.filter-sticky {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border-light);
  position: sticky;
  top: 80px;
  z-index: 40;
}

/* ===== DETAIL PAGE ===== */
.detail { max-width: var(--container-narrow); margin: 0 auto; }
.detail__header { margin-bottom: 32px; }
.detail__title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--color-black);
  margin-bottom: 12px;
}
.detail__meta-row {
  display: flex;
  gap: 24px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}
.detail__meta-row span { display: flex; align-items: center; gap: 5px; }

/* Room detail params */
.detail__params {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 36px;
}
.detail__param {
  background: var(--color-bg-warm);
  padding: 20px;
  text-align: center;
}
.detail__param-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.detail__param-value {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--color-black);
}

.detail__body {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text-light);
}
.detail__body img { margin: 24px 0; }
.detail__body p { margin-bottom: 16px; }

.detail__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  margin-top: 48px;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.detail__pager a { color: var(--color-text); }
.detail__pager a:hover { color: var(--color-wood); }

.related-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  margin: 48px 0 28px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ===== ROOM DETAIL (special layout) ===== */
.room-detail-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: start;
}
.room-detail-gallery {
  position: sticky;
  top: 100px;
}
/* 4:3 比例容器 — padding-bottom 不受 Swiper JS 高度计算影响 */
.gallery-ratio-box {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 75%; /* 3/4 = 75% */
  overflow: hidden;
}
.gallery-ratio-box .room-gallery-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.room-detail-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Pagination overlaying bottom of gallery */
.room-detail-gallery .swiper-pagination {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.room-detail-gallery .swiper-pagination .swiper-pagination-bullet {
  width: 20px;
  height: 2px;
  background: rgba(255,255,255,0.6);
  border-radius: 0;
  opacity: 1;
}
.room-detail-gallery .swiper-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 32px;
}
.room-detail-info { padding-top: 0; }
.room-detail-info .detail__title { font-size: 2rem; }
.room-detail-info .detail__desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 2;
  margin: 24px 0;
  font-weight: 300;
}
.room-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.room-feature-list li {
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.room-feature-list li i { color: var(--color-wood); font-size: 0.7rem; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.82rem;
  color: var(--color-text-light);
  border: 1px solid var(--color-border-light);
  transition: all var(--duration-fast);
}
.pagination a:hover,
.pagination a.active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--color-text-muted);
}
.empty-state i { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.empty-state p { font-size: 0.9rem; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
}
.contact-info__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-warm);
  flex-shrink: 0;
}
.contact-info__icon i { color: var(--color-wood); font-size: 1rem; }
.contact-info__label { font-size: 0.75rem; color: var(--color-text-muted); letter-spacing: 0.08em; margin-bottom: 2px; }
.contact-info__value { font-size: 0.95rem; color: var(--color-text); font-weight: 300; }

.contact-form-card {
  background: var(--color-bg);
  padding: 40px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.form-group .required { color: var(--color-wood); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: border-color var(--duration-fast);
  outline: none;
  font-family: var(--font-body);
  font-weight: 300;
}
.form-control:focus { border-color: var(--color-wood); }
textarea.form-control { resize: vertical; min-height: 100px; }
select.form-control { cursor: pointer; }

/* 表单双列网格（PC 两列；移动端折叠为单列，避免日期输入框最小宽度导致横向溢出） */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
/* 验证码行（移动端自动换行，避免窄屏溢出） */
.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ===== SEARCH ===== */
.search-box { padding: 20px 0; }
.search-form-row {
  display: flex;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
}
.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.search-input-wrap i {
  position: absolute;
  left: 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.search-input-wrap input {
  width: 100%;
  padding: 14px 16px 14px 44px;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  outline: none;
  font-family: var(--font-body);
  font-weight: 300;
}
.search-input-wrap input:focus { border-color: var(--color-wood); }

.search-result-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--duration-fast);
}
.search-result-item:hover { padding-left: 8px; }
.search-result-item__thumb {
  width: 140px;
  height: 100px;
  flex-shrink: 0;
  overflow: hidden;
}
.search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.search-result-item__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 4px;
}
.search-result-item__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.search-result-item__desc {
  font-size: 0.82rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ===== BOOKING PAGE ===== */
.booking-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg);
  padding: 80px 0 0;
  border-top: 1px solid var(--color-border-light);
}
.footer__grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  font-weight: 300;
}
.footer__social {
  display: flex;
  gap: 16px;
}
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-border);
  color: var(--color-text-light);
  transition: all var(--duration-fast);
}
.footer__social a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  color: var(--color-black);
}
.footer__links a {
  display: block;
  padding: 7px 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 300;
}
.footer__links a:hover { color: var(--color-wood); }
.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-weight: 300;
}
.footer__contact-item i {
  color: var(--color-wood);
  margin-top: 4px;
  width: 16px;
}
.footer__qrcode {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}
.friend-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--color-border-light);
}
.friend-links__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}
.friend-links a {
  font-size: 0.78rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
}
.friend-links a:hover { color: var(--color-wood); }
.footer__bottom {
  background: var(--color-white);
  padding: 20px 0;
  border-top: 1px solid var(--color-border-light);
}
.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom-inner a { color: var(--color-text-muted); }
.footer__bottom-inner a:hover { color: var(--color-wood); }

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--color-black);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal);
  font-size: 0.9rem;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--color-wood); }

/* ===== SUBSCRIBE ===== */
.subscribe-section {
  background: var(--color-bg-warm);
}
.subscribe-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.subscribe-form {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}
.subscribe-form input {
  flex: 1;
  padding: 14px 16px;
  font-size: 0.9rem;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  outline: none;
  font-family: var(--font-body);
  font-weight: 300;
}
.subscribe-form input:focus { border-color: var(--color-wood); }

/* ===== CUSTOMER SERVICE (右下角在线客服) ===== */
.cs-button {
  position: fixed;
  bottom: 88px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  font-size: 1.1rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
  transition: all var(--duration-normal);
}
.cs-button:hover { background: var(--color-wood); transform: scale(1.05); }

/* ===== GALLERY ITEM (for spaces/images) ===== */
.gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-white);
  letter-spacing: 0.06em;
  text-align: center;
}

/* ===== AOS overrides (minimal animation) ===== */
[data-aos] {
  transition-duration: 0.8s !important;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* ===== RESPONSIVE (768px breakpoint per spec) ===== */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --section-py: 60px;
  }

  .container { padding: 0 20px; }
  .section-title { font-size: 1.8rem; }

  /* Header */
  .header__nav, .header__cta { display: none; }
  .hamburger { display: flex; }
  .header__inner { padding: 0 20px; }

  /* Hero */
  .hero { height: 80vh; min-height: 480px; }
  .hero__content { bottom: 12%; }
  .hero__title { font-size: 1.8rem; }
  .hero__actions { flex-direction: column; align-items: center; }

  /* Cards */
  .card-grid { grid-template-columns: 1fr; gap: 24px; }
  /* 列表页卡片（空间/体验/新闻）：移动端双列并排，内容宽 <272px 时 auto-fill 自动回退单列 */
  .list-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
  }
  .list-grid .card__image { margin-bottom: 10px; }
  .list-grid .card__tag { margin-bottom: 6px; }
  .list-grid .card__title { font-size: 1rem; margin-bottom: 4px; }
  .list-grid .card__desc {
    font-size: 0.72rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* 客房卡片：移动端双列并排（内容宽 <272px 时 auto-fill 自动回退单列） */
  .card-grid--rooms {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }
  .card-grid--rooms .room-card .card__image { margin-bottom: 12px; }
  .card-grid--rooms .room-card .card__title { font-size: 1.05rem; }
  .card-grid--rooms .room-card .card__desc { font-size: 0.72rem; line-height: 1.5; }
  .card-grid--rooms .room-card .card__info { flex-wrap: wrap; gap: 8px; font-size: 0.68rem; margin-top: 8px; }
  .card-grid--rooms .room-card .card__link { margin-top: 10px; font-size: 0.7rem; }
  /* 酒店空间：移动端双列瓷砖（内容宽 <272px 时自动回退单列） */
  .card-grid--spaces {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
  }
  .card-grid--spaces .gallery-item__title { font-size: 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item__number { font-size: 2.2rem; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row__image { aspect-ratio: 4/3; }
  /* 体验活动：移动端图+文左右两列 */
  .feature-row--compact {
    grid-template-columns: 1fr 1.2fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
  }
  .feature-row--compact .feature-row__image { aspect-ratio: 4/3; }
  .feature-row--compact .feature-row__text .section-tag { margin-bottom: 8px; }
  .feature-row--compact .feature-row__text .section-title { font-size: 1.15rem; margin-bottom: 8px; }
  .feature-row--compact .feature-row__desc {
    font-size: 0.75rem;
    line-height: 1.6;
    margin: 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .feature-row--compact .feature-row__text .btn--ghost { font-size: 0.72rem; }
  .cta-section { padding: 36px 0; }
  .cta-section__sub { margin-bottom: 24px; }
  .texture-grid { grid-template-columns: repeat(3, 1fr); }

  /* Detail */
  .room-detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail__params { grid-template-columns: 1fr; }
  .detail__title { font-size: 1.6rem; }
  .related-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-card { padding: 24px; }
  .inner-banner { height: 240px; }
  .inner-banner__title { font-size: 1.8rem; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 32px; }
  .footer__links { display: flex; flex-wrap: wrap; gap: 6px 8px; }
  .footer__links a { padding: 4px 0; font-size: 0.78rem; }
  .footer__bottom-inner { padding: 0 20px; flex-direction: column; text-align: center; }
  .search-result-item { flex-direction: column; }
  .search-result-item__thumb { width: 100%; height: 180px; }

  /* Filter */
  .filter-bar { gap: 0; }
  .filter-bar a { padding: 10px 16px; font-size: 0.78rem; }

  /* Subscribe */
  .subscribe-form { flex-direction: column; }
  .subscribe-section .btn { width: 100%; justify-content: center; }

  /* 表单双列 → 单列（避免日期输入框最小宽度撑出横向滚动） */
  .form-grid-2 { grid-template-columns: 1fr; }
  /* 验证码行：窄屏允许换行，图片换到下一行 */
  .captcha-row { flex-wrap: wrap; }

  /* 筛选栏吸顶偏移与移动端头部(64px)对齐 */
  .filter-sticky { top: 64px; }

  .back-top { bottom: 20px; right: 20px; }
  .cs-button { bottom: 72px; right: 20px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.5rem; }
  .philosophy__quote { font-size: 1.3rem; }
  .cta-section__title { font-size: 1.5rem; margin-bottom: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .breadcrumb { padding: 12px 20px; }
}

@media (max-width: 319px) {
  /* 超窄屏：体验活动回退为上下堆叠，避免两列过窄 */
  .feature-row--compact { grid-template-columns: 1fr; }
  /* 细节质感：超窄屏回退双列，避免三列过小 */
  .texture-grid { grid-template-columns: repeat(2, 1fr); }
}
