/* ====================================================
   khhotel.asia — 奢华酒店风格设计系统 v3
   基于 SiteForge Chic Theme v4 · 顶奢视觉规范
   ==================================================== */

/* ---------- 1. 设计系统 Token ---------- */
:root {
  /* Brand */
  --color-primary:    #0F172A;
  --color-gold:       #C5A880;
  --color-gold-dark:  #A88C4E;
  --color-accent:     #C5A880;

  /* Surfaces */
  --bg-site:    #F4F6F9;
  --bg-surface: #FFFFFF;
  --bg-glass:   rgba(255,255,255,0.85);
  --bg-glass-h: rgba(255,255,255,0.92);

  /* Text */
  --text-dark:   #1E293B;
  --text-muted:  #64748B;
  --text-light:  #94A3B8;
  --text-white:  #FFFFFF;

  /* Status */
  --color-success: #059669;
  --color-warning: #EA580C;
  --color-danger:  #DC2626;

  /* Radius */
  --radius-card:    12px;
  --radius-control: 8px;
  --radius-pill:    9999px;

  /* Shadow */
  --shadow-card:   0 1px 3px rgba(0,0,0,0.02), 0 8px 24px rgba(149,157,165,0.05);
  --shadow-hover:  0 20px 40px rgba(0,0,0,0.08);
  --shadow-premium: 0 12px 32px rgba(0,0,0,0.04);

  /* Transition */
  --trans-fast:   all 0.2s ease;
  --trans-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* Typography */
  --font-display: 'Noto Serif SC', Georgia, 'Times New Roman', serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Inter', 'Noto Sans SC', sans-serif;

  /* Sizing */
  --header-height: 64px;
  --container-max: 1280px;

  /* Gray scale */
  --gray-50:  #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  12px;
  --space-lg:  16px;
  --space-xl:  24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
}

/* ---------- 2. 全局重置 ---------- */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-site);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

main { display: block; width: 100%; min-height: 50vh; }

/* ---------- 3. 导航 ---------- */
/* 默认状态：白底毛玻璃（内页） */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  width: 100%;
  background: rgba(255,255,255,0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid rgba(0,0,0,0.05) !important;
  transition: all 0.3s ease;
  padding: 0 24px;
}
nav.nav-shadow { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

nav .logo {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  color: #0F172A !important;
  font-weight: 700;
  letter-spacing: 1px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}
nav .logo span { color: #0F172A !important; font-weight: 300; transition: color 0.3s ease; }

nav .nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
}
nav .nav-links a {
  color: #1E293B !important;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  transition: var(--trans-smooth);
  text-decoration: none;
}
nav .nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #C5A880;
  transition: var(--trans-smooth);
}
nav .nav-links a:hover { color: #C5A880 !important; }
nav .nav-links a:hover::after { width: 100%; }
nav .nav-links a.active { color: #C5A880 !important; }
nav .nav-links a.active::after { width: 100%; }

/* 首页透明悬浮模式 */
nav.nav-hero {
  position: absolute !important;
  width: 100%;
  left: 0;
  right: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
nav.nav-hero .logo, nav.nav-hero .logo span { color: #fff !important; }
nav.nav-hero .nav-links a { color: rgba(255,255,255,0.85) !important; }
nav.nav-hero .nav-links a:hover { color: #fff !important; }
nav.nav-hero .nav-links a::after { background: #C5A880 !important; }
nav.nav-hero .nav-links a:hover::after { width: 100%; }

/* Mobile toggle */
nav .mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
nav .mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #0F172A;
  border-radius: 2px;
  transition: var(--trans-fast);
}
nav.nav-hero .mobile-toggle span { background: #fff; }

/* ---------- 4. Hero Section ---------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 50vh;
  max-height: 460px;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.25) 0%, rgba(15,23,42,0.05) 50%, rgba(0,0,0,0.15) 100%),
              url('https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1200&q=75') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 35%, transparent 60%, rgba(0,0,0,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 48px;
  text-align: center;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}
.hero-content .tagline {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
  max-width: 640px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-content .subtitle {
  color: rgba(255,255,255,0.75);
  font-size: clamp(14px, 1.5vw, 16px);
  margin-bottom: clamp(16px, 2vw, 24px);
  max-width: 520px;
}

/* Search bar */
.search-bar {
  display: flex;
  align-items: center;
  max-width: 540px;
  width: 100%;
  margin: 0 auto;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  height: 48px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: var(--trans-smooth);
  padding: 0 4px 0 16px;
}
.search-bar:focus-within { box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
.search-bar .field {
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
  border-right: 1px solid var(--gray-200);
  flex: 1;
}
.search-bar .field:last-of-type { border-right: none; }
.search-bar .field label {
  font-size: 10px;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  text-transform: uppercase;
}
.search-bar .field input, .search-bar .field select {
  border: none;
  outline: none;
  font-size: 13px;
  color: var(--text-dark);
  font-family: var(--font-body);
  background: transparent;
  width: 100%;
}
.search-bar .btn-search {
  height: 40px;
  padding: 0 24px;
  margin-right: 6px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-smooth);
  font-family: var(--font-body);
  white-space: nowrap;
  flex-shrink: 0;
}
.search-bar .btn-search:hover { background: #1E293B; }
.search-bar .btn-search:active { transform: scale(0.96); }

/* Quick links below search */
.quick-links {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.quick-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: var(--trans-smooth);
}
.quick-links a:hover { color: #fff; border-bottom-color: var(--color-gold); }

/* Promo badge */
.promo-badge {
  position: absolute;
  top: 90px;
  right: 40px;
  z-index: 6;
  background: rgba(15,23,42,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197,168,128,0.3);
  border-radius: 12px;
  padding: 16px 22px;
  max-width: 240px;
}
.promo-badge .promo-title { color: var(--color-gold); font-size: 11px; font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; }
.promo-badge .promo-text { color: #fff; font-size: 13px; font-weight: 600; line-height: 1.4; }
.promo-badge .promo-sub { color: rgba(255,255,255,0.5); font-size: 11px; margin-top: 4px; }

/* ---------- 5. Section 通用 ---------- */
.section {
  padding: var(--space-3xl) 48px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.section-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}
.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--color-primary);
  margin-bottom: 8px;
  font-weight: 700;
}
.section-title p {
  color: var(--text-muted);
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto;
}
.section-divider {
  width: 50px;
  height: 2px;
  background: var(--color-gold);
  margin: 0 auto var(--space-2xl);
}

/* ---------- 6. Hotel Card Grid ---------- */
.hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.hotel-card {
  background: var(--bg-surface);
  border: none;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: var(--trans-smooth);
  cursor: pointer;
}
.hotel-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.hotel-card:active { transform: scale(0.97); }

.hotel-card .card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.hotel-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hotel-card:hover .card-img img { transform: scale(1.05); }

.hotel-card .card-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.92);
  color: var(--color-primary);
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.hotel-card .card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 6px;
}
.hotel-card .card-body .card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.hotel-card .card-body .card-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
}
.hotel-card .card-body .card-header .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hotel-card .card-body .card-header .tags span {
  background: var(--gray-100);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 500;
}

.hotel-card .card-body .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.hotel-card .card-body .card-meta .location {
  font-size: 13px;
  color: var(--text-muted);
}
.hotel-card .card-body .card-meta .price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.hotel-card .card-body .card-meta .price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}
.hotel-card .card-body .card-meta .btn-detail {
  padding: 6px 18px;
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: var(--trans-smooth);
  white-space: nowrap;
}
.hotel-card .card-body .card-meta .btn-detail:hover {
  background: var(--color-gold);
  color: #fff;
}

.hotel-card .card-body .card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- 7. Offer Cards ---------- */
.offer-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.offer-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.offer-card h3 { font-size: 15px; color: var(--color-primary); font-weight: 600; }
.offer-card p { font-size: 13px; color: var(--text-muted); }
.offer-card .discount {
  display: inline-block;
  background: var(--color-danger);
  color: #fff;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  align-self: center;
}

/* ---------- 8. Why Section / Reasons ---------- */
.why-section {
  background: var(--bg-site);
  padding: var(--space-3xl) 48px;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}
.reason {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
}
.reason:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.reason .icon-wrap {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197,168,128,0.12);
  border-radius: 50%;
  font-size: 18px;
  border: 1px solid rgba(197,168,128,0.25);
}
.reason h3 { font-size: 15px; color: var(--color-primary); margin-bottom: 4px; font-weight: 600; }
.reason p { font-size: 13px; color: var(--text-muted); }

@media (min-width: 1024px) {
  .reasons-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

/* ---------- 9. Review Cards ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: var(--container-max);
  margin: 0 auto;
}
.review-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.review-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
  font-style: italic;
}
.review-card .author { font-size: 13px; color: var(--color-primary); font-weight: 600; }

/* ---------- 10. 登录/注册卡片 ---------- */
.auth-card {
  background: var(--bg-surface);
  border-radius: 16px;
  padding: var(--space-3xl);
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-premium);
  margin: 0 auto;
}
.auth-card h1 {
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}
.input-field { margin-bottom: var(--space-lg); }
.input-field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}
.input-field input, .input-field select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-control);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--trans-fast);
  background: var(--bg-surface);
}
.input-field input:focus { border-color: var(--color-gold); }
.btn-auth {
  width: 100%;
  padding: 12px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-smooth);
  font-family: var(--font-body);
  margin-top: 4px;
}
.btn-auth:hover { background: #1E293B; }
.btn-auth:active { transform: scale(0.97); }

/* ---------- 11. 表单通用 ---------- */
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.field { margin-bottom: var(--space-md); }
.field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-control);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: var(--trans-fast);
  background: var(--bg-surface);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-gold); }
.field textarea { height: 100px; resize: vertical; }

.btn-submit {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 12px 36px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-smooth);
  font-family: var(--font-body);
}
.btn-submit:hover { background: #1E293B; }
.btn-submit:active { transform: scale(0.97); }

/* ---------- 12. 账户页 ---------- */
.account-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-xl);
  max-width: 1000px;
  margin: 0 auto;
}
.account-sidebar {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}
.account-sidebar .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  margin: 0 auto 8px;
}
.account-sidebar .name {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.account-main {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}
.account-main h3 {
  font-size: 17px;
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

/* ---------- 13. 预订页 ---------- */
.booking-form {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-premium);
  max-width: 800px;
  margin: 0 auto;
}
.booking-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.booking-form .btn-submit {
  display: block;
  margin: var(--space-xl) auto 0;
}

/* ---------- 14. 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  max-width: 1000px;
  margin: 0 auto;
}
.contact-form {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-card);
}
.contact-info {
  padding: var(--space-xl);
}
.contact-info h3 {
  font-size: 17px;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

/* ---------- 15. 酒店详情 ---------- */
.detail-hero {
  position: relative;
  height: 50vh;
  max-height: 420px;
  min-height: 320px;
  overflow: hidden;
}
.detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.5));
}
.detail-content {
  max-width: 1000px;
  margin: -32px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}
.detail-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: var(--space-2xl);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.detail-card h1 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--color-primary);
}
.room-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}
.room-type {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--gray-50);
  border-radius: var(--radius-control);
  transition: var(--trans-fast);
}
.room-type:hover { background: var(--gray-100); }
.room-type .info h4 { font-size: 15px; color: var(--color-primary); }
.room-type .btn-book {
  padding: 7px 18px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-smooth);
}
.room-type .btn-book:hover { background: #1E293B; }

/* ---------- 16. 向导/攻略页 ---------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}
.guide-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.guide-card img { width: 100%; height: 200px; object-fit: cover; }
.guide-card .body { padding: var(--space-xl); }
.guide-card .body h3 { font-size: 17px; color: var(--color-primary); margin-bottom: 6px; }
.guide-card .body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ---------- 17. 会员等级 ---------- */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}
.tier-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-100);
  background: var(--bg-surface);
  transition: var(--trans-smooth);
}
.tier-card:hover { border-color: var(--color-gold); }
.tier-card .icon { font-size: 36px; margin-bottom: 8px; }
.tier-card h3 { font-size: 17px; color: var(--color-primary); }
.tier-card p { font-size: 13px; color: var(--text-muted); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}
.benefit {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-card);
}
.benefit .icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197,168,128,0.12);
  color: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.benefit h4 { font-size: 14px; color: var(--color-primary); }
.benefit p { font-size: 13px; color: var(--text-muted); }

/* ---------- 18. 按钮通用 ---------- */
.btn-gold {
  display: inline-block;
  padding: 8px 24px;
  background: var(--color-gold);
  color: #fff;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: var(--trans-smooth);
  text-decoration: none;
}
.btn-gold:hover { background: var(--color-gold-dark); }

.btn-outline {
  display: inline-block;
  padding: 8px 24px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: var(--trans-smooth);
  text-decoration: none;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

/* ---------- 19. Footer ---------- */
footer, .site-footer {
  background: var(--color-primary) !important;
  color: rgba(255,255,255,0.7);
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 768px) {
  nav { padding: 0 16px; }
  nav { padding: 0 16px; }
  nav .mobile-toggle { display: flex; }
  nav .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    z-index: 1000;
  }
  nav.nav-hero .nav-links { background: rgba(15,23,42,0.92); }
  nav.nav-hero .nav-links a { color: rgba(255,255,255,0.85) !important; }
  nav.nav-hero .nav-links a:hover { color: #fff !important; }
  nav .nav-links.open { display: flex; }

  .section { padding: var(--space-2xl) 20px; }
  .hero-content { padding: 0 20px; }
  .hero-section { max-height: 460px; min-height: 300px; }

  .promo-badge { display: none; }

  .search-bar {
    flex-direction: column;
    height: auto;
    border-radius: 16px;
    padding: 0;
    max-width: 300px;
  }
  .search-bar .field {
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding: 8px 14px;
  }
  .search-bar .btn-search {
    width: 100%;
    height: 40px;
    border-radius: 0 0 16px 16px;
    margin-right: 0;
  }

  .quick-links { gap: 12px; }

  .hotel-grid, .review-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr 1fr; }
  .account-grid, .contact-grid { grid-template-columns: 1fr; }
  .booking-form .row, .input-row { grid-template-columns: 1fr; }

  .hotel-card .card-body .card-header { flex-direction: column; align-items: flex-start; }
  .hotel-card .card-body .card-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hotel-card .card-body .card-desc { font-size: 12px; }

  .guide-grid, .tier-grid, .benefits-grid { grid-template-columns: 1fr; }

  .detail-hero { max-height: 280px; min-height: 220px; }
  .detail-content { margin-top: -20px; }
  .detail-card { padding: var(--space-lg); }
  .room-types { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  nav .mobile-toggle { display: none !important; }
  nav .nav-links { display: flex !important; }
  nav { padding: 0 24px; }
}

/* ---------- 21. 节紧凑模式 ---------- */
.section-compact { padding-top: var(--space-2xl); padding-bottom: var(--space-lg); }
.section-compact .section-divider { margin-bottom: var(--space-lg); }

/* ---------- 22. 导航定位 ---------- */
nav { position: relative; z-index: 10; }

/* ---------- 23. 动效 ---------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease; }
