/**
 * 碧湾隐世度假酒店 — Bayshore Hidden Retreat
 * 深色奢华 + 金色点缀 + 杂志感排版
 * 纯原生 CSS，无框架依赖
 */

/* ============================================================
   CSS 变量体系
   ============================================================ */
:root {
  /* 基底色 — 深色奢华 */
  --bg-deep: #0D0D0D;
  --bg-primary: #151515;
  --bg-secondary: #1A1A1A;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-input: rgba(255, 255, 255, 0.04);

  /* 金色系统 */
  --gold: #C9A84C;
  --gold-light: #D4B96A;
  --gold-dark: #A8883A;
  --gold-dim: rgba(201, 168, 76, 0.12);
  --gold-glow: rgba(201, 168, 76, 0.25);
  --gold-gradient: linear-gradient(135deg, #C9A84C 0%, #E8D48B 50%, #A8883A 100%);

  /* 米白色调 */
  --cream: #F5F0E8;
  --cream-dim: rgba(245, 240, 232, 0.06);

  /* 深绿点缀 */
  --forest: #1B3A2D;
  --forest-light: #2D5A3F;
  --forest-dim: rgba(27, 58, 45, 0.3);

  /* 文字色阶 */
  --text-primary: #EDE8DF;
  --text-secondary: #9D9688;
  --text-muted: #5A5548;
  --text-inverse: #0D0D0D;

  /* 边框 */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.2);
  --border-gold-hover: rgba(201, 168, 76, 0.45);

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.08);
  --shadow-gold-hover: 0 0 60px rgba(201, 168, 76, 0.15);

  /* 圆角 — 精致小圆角 */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;

  /* 间距 */
  --section-py: 120px;
  --section-py-m: 72px;
  --container-max: 1280px;
  --container-narrow: 960px;
  --header-h: 80px;

  /* 过渡 */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 180ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* 字体 */
  --font-heading: 'Noto Serif SC', 'Playfair Display', 'STSong', 'Songti SC', 'Georgia', 'Times New Roman', serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
}

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

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

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

/* 深色纹理背景 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.03) 0%, transparent 70%),
    radial-gradient(ellipse at 20% 80%, rgba(27, 58, 45, 0.08) 0%, transparent 50%),
    var(--bg-deep);
}

::selection {
  background: var(--gold-dim);
  color: var(--gold);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   容器 & 通用布局
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

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

.section--accent {
  background: linear-gradient(180deg, var(--bg-deep) 0%, rgba(27, 58, 45, 0.08) 50%, var(--bg-deep) 100%);
}

/* 区块标题 */
.section-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
}

.section-tag::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-left: 16px;
  vertical-align: middle;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}

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

.section-header {
  margin-bottom: 64px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-subtitle {
  margin: 0 auto;
}

.section-header--flex {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* ============================================================
   金色分割线
   ============================================================ */
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
  margin: 0 auto;
}

.gold-divider--left { margin: 0; }

/* ============================================================
   按钮系统
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--gold);
  color: var(--text-inverse);
}

.btn--primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--border-gold-hover);
  background: var(--gold-dim);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  background: transparent;
}

.btn--ghost:hover {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.btn--sm { padding: 10px 20px; font-size: 0.8rem; }
.btn--lg { padding: 18px 40px; font-size: 1rem; }

/* ============================================================
   Header — 深色半透固定
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  background: rgba(13, 13, 13, 0.95);
  border-bottom-color: var(--border-gold);
  box-shadow: var(--shadow-sm);
}

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

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
}

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

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

.header__logo-sub {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-en);
}

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

.header__nav-link {
  padding: 10px 18px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--gold);
}

.header__nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--gold);
}

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

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

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

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

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

/* 右侧操作区 */
.header__actions { display: flex; align-items: center; gap: 16px; }

.header__cta {
  padding: 10px 22px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-xs);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header__cta:hover {
  background: var(--gold);
  color: var(--text-inverse);
  box-shadow: var(--shadow-gold);
}

/* 汉堡菜单 — 独立于 header__actions (13.4) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

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

/* 移动端侧滑菜单 */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-secondary);
  z-index: 120;
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
  border-left: 1px solid var(--border-subtle);
}

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

.mobile-nav__inner { padding: 32px 24px; }

.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-out);
}

.mobile-nav__link:hover { color: var(--gold); background: var(--bg-card-hover); }

.mobile-nav__sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
  padding-left: 16px;
}

.mobile-nav__sub.open { max-height: 500px; }

.mobile-nav__sub a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.mobile-nav__sub a:hover { color: var(--gold); }

.mobile-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 115;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav__overlay.show { opacity: 1; visibility: visible; }

/* ============================================================
   Hero — 全屏 Banner 轮播
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-deep);
}

.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;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.3) 0%, rgba(13, 13, 13, 0.1) 40%, rgba(13, 13, 13, 0.85) 100%);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(13, 13, 13, 0.5) 100%);
  pointer-events: none;
}

/* 文字内容 */
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  max-width: 800px;
}

.hero__title .gold {
  color: var(--gold);
  font-style: italic;
}

.hero__subtitle {
  font-family: var(--font-en);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
  letter-spacing: 0.2em;
  margin-bottom: 48px;
  font-weight: 300;
}

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

/* Swiper 分页器 */
.hero-pagination {
  position: absolute;
  bottom: 80px !important;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.hero-pagination .swiper-pagination-bullet {
  width: 40px;
  height: 2px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all var(--duration-normal) var(--ease-out);
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 60px;
  background: var(--gold);
}

/* 滚动指示器 */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  animation: fadeInUp 1s ease-out 1.5s both;
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--text-muted), transparent);
}

/* ============================================================
   数据展示区 (Stats)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.stat-item {
  text-align: center;
  padding: 48px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--duration-normal) var(--ease-out);
}

.stat-item:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.stat-item__suffix {
  font-family: var(--font-heading);
  color: var(--gold);
}

/* ============================================================
   卡片系统
   ============================================================ */
/* 通用网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

/* 卡片基类 */
.card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
  position: relative;
}

.card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

/* 金色细边框发光卡片 */
.card--gold {
  border-color: var(--border-gold);
}

.card--gold:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold-hover);
}

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

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

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

.card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.6) 0%, transparent 40%);
}

.card__body {
  padding: 24px;
}

.card__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

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

.card__meta {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card__meta i { color: var(--gold); margin-right: 4px; font-size: 0.7rem; }

.card__price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: 12px;
}

.card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 16px;
  transition: gap var(--duration-fast) var(--ease-out);
}

.card:hover .card__arrow { gap: 10px; }

/* ============================================================
   横向卡片 (左图右文)
   ============================================================ */
.card-h {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}

.card-h:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
}

.card-h__image {
  width: 280px;
  flex-shrink: 0;
  overflow: hidden;
}

.card-h__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

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

.card-h__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 首页新闻仅展示 1 条：居中横向突出卡片 */
.card-grid.news-grid {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.card-grid.news-grid .card {
  display: flex;
  align-items: stretch;
}
.card-grid.news-grid .card__image {
  width: 42%;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.card-grid.news-grid .card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   场景展示 — 杂志感双栏
   ============================================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-split__image {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.feature-split__image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.feature-split__image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-out);
  z-index: 2;
  pointer-events: none;
}

.feature-split__image:hover::before { opacity: 1; }

.feature-split__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-split__text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 2;
}

/* 网格/弹性子项收缩防护 — 防止长内容撑破容器导致横向偏移 */
.feature-split > *,
.contact-grid > *,
.card-h__body { min-width: 0; }
.feature-split__text p,
.detail__body,
.section-subtitle,
.card__desc { overflow-wrap: break-word; }

/* ============================================================
   CTA 区域
   ============================================================ */
.cta-section {
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 168, 76, 0.04) 0%, transparent 70%),
    var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

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

.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(13, 13, 13, 0.4) 0%, rgba(13, 13, 13, 0.85) 100%);
}

.inner-banner__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 40px;
}

.inner-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

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

/* 面包屑 */
.breadcrumb-bar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a { color: var(--text-secondary); transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb i { margin: 0 8px; font-size: 0.55rem; color: var(--text-muted); }

/* ============================================================
   子栏目过滤栏
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  padding: 16px 0;
}

.filter-bar a {
  padding: 8px 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) var(--ease-out);
}

.filter-bar a:hover { color: var(--gold); }

.filter-bar a.active {
  color: var(--gold);
  border-color: var(--border-gold);
  background: var(--gold-dim);
}

/* ============================================================
   详情页
   ============================================================ */
.detail {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.detail__header {
  margin-bottom: 32px;
}

.detail__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 16px;
}

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

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

/* 参数卡片 */
.detail__params {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 40px;
  background: var(--border-subtle);
}

.detail__param {
  padding: 24px 20px;
  text-align: center;
  background: var(--bg-card);
}

.detail__param-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

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

.detail__body {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
}

.detail__body img {
  border-radius: var(--radius-sm);
  margin: 24px 0;
}

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

.detail__pager {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

/* ============================================================
   画廊 Swiper (度假实景)
   ============================================================ */
.gallery-swiper {
  overflow: hidden;
  padding: 0 40px;
}

.gallery-slide {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 3/2;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.gallery-slide:hover img { transform: scale(1.05); }

.gallery-slide__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(13, 13, 13, 0.9) 0%, transparent 100%);
}

.gallery-slide__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-primary);
}

.gallery-slide__author {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) var(--ease-out);
}

.pagination a:hover { border-color: var(--border-gold); color: var(--gold); }
.pagination a.active { background: var(--gold); color: var(--text-inverse); border-color: var(--gold); }
.pagination .disabled { opacity: 0.3; pointer-events: none; }

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

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

.empty-state p { font-size: 1rem; }

/* ============================================================
   Footer — 四列深色
   ============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 72px;
}

.footer__top-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  margin-bottom: 64px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}

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

.footer__brand-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-dim);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

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

.footer__links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__links a:hover { color: var(--gold); padding-left: 4px; }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer__contact-item i { color: var(--gold); font-size: 0.75rem; margin-top: 4px; flex-shrink: 0; }

.footer__qrcode {
  width: 120px;
  height: 120px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* 友情链接 */
.friend-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 40px;
  border-top: 1px solid var(--border-subtle);
  max-width: var(--container-max);
  margin: 0 auto;
}

.friend-links__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}

.friend-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) var(--ease-out);
}

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

/* 版权栏 */
.footer__bottom {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
}

.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer__bottom-inner a { color: var(--text-muted); transition: color var(--duration-fast); }
.footer__bottom-inner a:hover { color: var(--gold); }

/* ============================================================
   返回顶部 & 在线客服
   ============================================================ */
.back-top {
  position: fixed;
  bottom: 40px;
  right: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--gold); color: var(--text-inverse); }

/* 在线客服按钮 */
.online-service {
  position: fixed;
  bottom: 96px;
  right: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
  transition: all var(--duration-normal) var(--ease-out);
  animation: pulse-ring 2s infinite;
}

.online-service:hover { background: var(--gold-light); transform: scale(1.08); }

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(201, 168, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
}

/* ============================================================
   表单
   ============================================================ */
.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) var(--ease-out);
  outline: none;
}

.form-control:focus { border-color: var(--border-gold); background: var(--bg-card-hover); }
.form-control::placeholder { color: var(--text-muted); }

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

/* 搜索表单 */
.search-form {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
}

.search-form input {
  flex: 1;
  border-right: none;
  border-radius: var(--radius-xs) 0 0 var(--radius-xs);
  height: 52px;
}

.search-form button {
  height: 52px;
  padding: 0 28px;
  background: var(--gold);
  color: var(--text-inverse);
  border-radius: 0 var(--radius-xs) var(--radius-xs);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.search-form button:hover { background: var(--gold-light); }

/* 订阅表单 */
.subscribe-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.subscribe-form {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.subscribe-form input {
  flex: 1;
  height: 52px;
}

/* ============================================================
   预订页
   ============================================================ */
.booking-form {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

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

.booking-form .form-row--single { grid-template-columns: 1fr; }

.booking-form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

/* ============================================================
   联系页
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info__text h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* 联系页留言表单卡片 */
.contact-form-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.contact-info__text p { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   上一个/下一个导航
   ============================================================ */
.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}

.prev-next a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color var(--duration-fast);
}

.prev-next a:hover { color: var(--gold); }

/* ============================================================
   响应式设计
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  .header__nav { display: none; }
  .header__actions .header__cta { display: none; }
  .hamburger { display: flex; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-split { grid-template-columns: 1fr; gap: 24px; }
  /* 单列时图片改横版，避免 4/5 竖图满宽过高 */
  .feature-split__image img { aspect-ratio: 16/10; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .detail__params { grid-template-columns: repeat(2, 1fr); }
  .booking-form .form-row { grid-template-columns: 1fr; }

  :root { --section-py: 80px; }

  .hero__title { font-size: clamp(2rem, 4.5vw, 3rem); }
  .inner-banner { height: 320px; }

  .card-h { flex-direction: column; }
  .card-h__image { width: 100%; height: 200px; }

  /* 移动端：导航隐藏后汉堡按钮固定到右侧，避免整体偏左 */
  .hamburger { margin-left: auto; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .header__inner { padding: 0 20px; gap: 16px; }

  .card-grid { grid-template-columns: 1fr; }
  .card-grid--2 { grid-template-columns: 1fr; }
  /* 手机端：四格数据改 2×2 并压缩内边距，降低整段高度 */
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 28px 16px; }

  /* 手机端：首页别墅套房 2 列紧凑卡片 */
  .card-grid.villas-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .villas-grid .card__body { padding: 12px 14px; }
  .villas-grid .card__tag { font-size: 0.6rem; margin-bottom: 4px; }
  .villas-grid .card__title { font-size: 1rem; line-height: 1.35; }
  .villas-grid .card__desc,
  .villas-grid .card__arrow { display: none; }
  .villas-grid .card__meta { display: none; }
  .villas-grid .card__price { margin-top: 6px; font-size: 1.05rem; }

  /* 手机端：体验活动 2 列紧凑卡片 */
  .card-grid.experiences-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .experiences-grid .card__body { padding: 12px 14px; }
  .experiences-grid .card__title { font-size: 1rem; line-height: 1.35; }
  .experiences-grid .card__desc,
  .experiences-grid .card__arrow { display: none; }

  /* 手机端：新闻单卡横向更紧凑 */
  .card-grid.news-grid .card__image { width: 38%; }
  .card-grid.news-grid .card__body { padding: 14px 16px; }
  .card-grid.news-grid .card__title { font-size: 1.05rem; line-height: 1.4; }
  .card-grid.news-grid .card__desc { font-size: 0.85rem; }

  /* 手机端：列表页横向卡堆叠时压缩图片高度与内边距 */
  .card-h__image { height: 130px; }
  .card-h__body { padding: 12px 16px; }
  .card-h__body .card__title { font-size: 1.05rem; line-height: 1.4; }
  .card-h__body .card__desc {
    font-size: 0.85rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .footer__grid { grid-template-columns: 1fr; }
  /* 手机端：底部快速链接改一行横排（自动换行） */
  .footer__links { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  /* 手机端压缩首屏轮播高度，避免整屏过高 */
  .hero { height: 62vh; min-height: 460px; }
  .inner-banner { height: 260px; }
  .pagination a { min-width: 34px; height: 34px; font-size: 0.75rem; }
  .subscribe-form { flex-direction: column; }
  .section-title { font-size: 1.75rem; }
  .filter-bar { gap: 2px; }
  .filter-bar a { padding: 6px 14px; font-size: 0.8rem; }

  /* 画廊轮播：滑动宽度适配手机屏（保留约20px露边效果） */
  .gallery-swiper { padding: 0 20px; }
  .gallery-swiper .swiper-slide { width: calc(100vw - 64px) !important; }

  /* 表单/卡片在窄屏上压缩内边距，避免内容溢出 */
  .booking-form { padding: 24px 20px; }
  .contact-form-card { padding: 24px 20px; }
  .subscribe-card { padding: 32px 20px; }

  /* 全宽元素内边距与 .container(20px) 对齐 */
  .hero__content,
  .inner-banner__content { padding: 0 20px; }
  .friend-links { padding: 20px; }
  .footer__grid { padding: 0 20px 40px; }
  .footer__bottom-inner { padding: 0 20px; }

  /* 详情页上下篇导航允许换行 */
  .detail__pager { flex-wrap: wrap; gap: 8px; }

  /* 手机端：餐饮/水疗场景图区再收紧间距与文字行高，压缩整段高度 */
  .feature-split { gap: 20px; }
  .feature-split__text { gap: 12px; }
  .feature-split__text p { font-size: 0.95rem; line-height: 1.7; }

  :root { --section-py: 60px; --header-h: 64px; }
}

/* 手机端(<768px) AOS 动画被禁用，预置位移/透明会残留导致元素偏移：
   在此范围强制还原，避免“整体偏左/错位”；≥768px 时 AOS 正常工作不受影响 */
@media (max-width: 767px) {
  [data-aos] { transform: none !important; opacity: 1 !important; }
}

/* ============================================================
   动画关键帧
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* 懒加载图片过渡 */
img[data-src] { opacity: 0; transition: opacity 0.6s var(--ease-out); }
img[data-src].loaded { opacity: 1; }

/* AOS 动画微调 */
[data-aos="fade-up"] { transform: translateY(24px); }
[data-aos="fade-right"] { transform: translateX(-24px); }
[data-aos="fade-left"] { transform: translateX(24px); }

/* ============================================================
   打印 & 辅助
   ============================================================ */
@media print {
  .header, .footer, .back-top, .online-service { display: none !important; }
}

/* 隐藏辅助类 */
.hidden { display: none !important; }
.show-mobile { display: none; }
@media (max-width: 1024px) { .show-mobile { display: block; } .hide-mobile { display: none !important; } }
