/* ============================================
   云幼月子中心 · 套房展示
   高级豆沙粉 × 暖棕褐 · 泸州老窖福利 PDF 同源配色
   PC = 杂志编辑感 | 手机 = 沉浸式故事
   ============================================ */

/* ========== Token ========== */
:root {
  /* 底色：极淡暖粉米白（PDF 主背景） */
  --bg: #FFF5F2;
  --bg-deep: #F9EAE4;
  --surface: #FFFBF8;
  --surface-alt: #FBEAE7;

  /* 品牌色：深暖棕褐（PDF 主文字色） */
  --brand: #4A3B38;
  --brand-soft: #7A635E;
  --brand-deep: #3A2E2C;

  /* 强调色：高级豆沙粉（PDF "好孕"字样色 + 装饰线） */
  --accent: #E8918C;
  --accent-soft: #F3C6B8;
  --accent-deep: #C96F6A;

  /* 文字层级 */
  --text-1: #3A2E2C;     /* 标题 */
  --text-2: #4A3B38;     /* 正文 */
  --text-3: #7A635E;     /* 辅助 */
  --text-4: #A8908A;     /* 弱辅助 */

  /* 分割线：极浅暖灰棕 */
  --line: #EADCD5;
  --line-soft: #F3E9E3;

  /* 阴影：暖棕基调，和 PDF 氛围一致 */
  --shadow-xs: 0 1px 3px rgba(74, 59, 56, 0.04);
  --shadow-sm: 0 2px 12px rgba(74, 59, 56, 0.05);
  --shadow-md: 0 8px 32px rgba(74, 59, 56, 0.06), 0 1px 3px rgba(74, 59, 56, 0.04);
  --shadow-lg: 0 24px 64px rgba(74, 59, 56, 0.08), 0 2px 6px rgba(74, 59, 56, 0.04);

  /* 描边：1px 极浅 */
  --border: 1px solid var(--line);
  --border-soft: 1px solid var(--line-soft);

  /* 圆角：克制 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  /* 间距节奏 */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;  --s-4: 16px;
  --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;

  /* 字体 */
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;

  /* 内容区最大宽度（PC 会覆盖） */
  --content-max: 680px;

  /* 缓动 */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ========== 字体 ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ========== 重置 ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul, ol { list-style: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

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

/* =============================================================
   PART 1 —— 手机端（<900px）
   沉浸式故事体验 · 全出血堆叠
   ============================================================= */

/* --- 顶部 Header --- */
.site-header {
  padding: 56px 0 24px;
  text-align: center;
  position: relative;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--accent);
}
.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 6px;
  margin-bottom: 6px;
}
.brand-subtitle {
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 4px;
  font-weight: 400;
}

/* --- Hero --- */
.hero {
  padding: 40px 0 32px;
  text-align: center;
}
.hero-kicker {
  display: inline-block;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 4px;
  padding: 4px 0;
  margin-bottom: 16px;
  position: relative;
}
.hero-kicker::before,
.hero-kicker::after {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent-soft);
  vertical-align: middle;
  margin: 0 10px;
}
.hero-title {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.35;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.hero-title em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}
.hero-title em::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-soft);
  z-index: -1;
  border-radius: 2px;
}
.hero-desc {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.8;
  max-width: 300px;
  margin: 0 auto 24px;
}
.price-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 28px;
  background: var(--surface);
  border: var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}
.price-pill .label {
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 2px;
}
.price-pill .current {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
}

/* --- Section 标题 --- */
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 40px 0 24px;
  padding: 0 4px;
}
.section-head .bar {
  width: 28px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: 2px;
}
.section-head .sub {
  font-size: 11px;
  color: var(--text-4);
  letter-spacing: 2px;
  margin-left: auto;
}

/* --- 品牌视频 --- */
.video-section { margin-bottom: 8px; }
.video-wrap {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(61,46,31,.04), 0 8px 32px rgba(61,46,31,.08);
  border: 1px solid rgba(61,46,31,.06);
  background: #000;
}
.brand-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #000;
}
/* iOS Safari: 确保视频控件样式正常 */
.brand-video::-webkit-media-controls-panel {
  background-color: rgba(0,0,0,.55);
}

/* --- 套房卡片 --- */
.suite-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.suite-card {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: block;
  position: relative;
}
.suite-card:active { transform: scale(0.985); }
@media (hover: hover) {
  .suite-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
  }
  .suite-card:hover .suite-cover::before {
    transform: scale(1.08);
  }
  .suite-card:hover .suite-cover::after {
    opacity: 1;
  }
}

/* 卡片头图：多层渐变 + 柔光 + 纸感噪点（老钱风精致质感） */
.suite-cover {
  position: relative;
  height: 130px;
  overflow: hidden;
  isolation: isolate;
}

/* 底层：主渐变（4-5 色停，过渡更细腻） */
.suite-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  transform-origin: center;
  transition: transform .7s var(--ease);
}

/* 温馨房：PDF 底色系（淡暖粉米白 → 浅豆沙） */
.suite-card.warm .suite-cover::before {
  background:
    radial-gradient(ellipse 120% 80% at 20% 15%, rgba(255,249,245,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 80% 100% at 100% 100%, rgba(74,59,56,0.15) 0%, transparent 60%),
    linear-gradient(145deg,
      #FBEAE7 0%,
      #F3C6B8 35%,
      #E8918C 70%,
      #C96F6A 100%);
}

/* 高级套房：PDF 强调色系（浅豆沙 → 深豆沙红） */
.suite-card.advanced .suite-cover::before {
  background:
    radial-gradient(ellipse 120% 80% at 15% 10%, rgba(255,245,242,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 90% 100% at 100% 100%, rgba(74,59,56,0.25) 0%, transparent 60%),
    linear-gradient(145deg,
      #F9D8D2 0%,
      #E8918C 30%,
      #C96F6A 62%,
      #8A4A46 100%);
}

/* 豪华套房：PDF 深色系（暖棕褐渐变，克制奢华） */
.suite-card.luxury .suite-cover::before {
  background:
    radial-gradient(ellipse 130% 80% at 18% 12%, rgba(255,249,245,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 80% 100% at 100% 100%, rgba(58,46,44,0.35) 0%, transparent 55%),
    linear-gradient(145deg,
      #D4A8A0 0%,
      #B87470 28%,
      #8A4A46 58%,
      #4A3B38 100%);
}

/* 中层：柔光扫光（从左上到右下的微弱高光，像一束侧光） */
.suite-cover-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.18) 0%,
    rgba(255,255,255,0.04) 25%,
    transparent 55%,
    rgba(0,0,0,0.08) 85%,
    rgba(0,0,0,0.18) 100%);
  z-index: 0;
  pointer-events: none;
}

/* 上层：纸感噪点（更细更轻，高级感） */
.suite-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: .8;
  mix-blend-mode: overlay;
  z-index: 1;
}

/* 角落装饰：极淡的几何线条（右下），克制的老钱风纹样 */
.suite-cover-inner::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 12px;
  width: 22px;
  height: 22px;
  border-top: 1px solid rgba(255,255,255,0.35);
  border-right: 1px solid rgba(255,255,255,0.35);
  z-index: 2;
  pointer-events: none;
}

/* —— 真实图片覆盖层（有图显示、无图自动隐藏） —— */
.suite-cover-img,
.d-hero-img,
.d-gallery img {
  display: none;   /* 默认隐藏，onerror 会保持这个状态 */
}
.suite-cover-img.loaded,
.d-hero-img.loaded,
.d-gallery img.loaded {
  display: block;
}

/* 卡片封面真实图：叠在渐变之上，保持渐变色调统一 */
.suite-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;                        /* 覆盖在渐变伪元素之上 */
  opacity: .85;                      /* 提高到 85%，让图能看清 */
  transition: opacity .5s var(--ease), transform .7s var(--ease);
  border-radius: 0;
}
.suite-card:hover .suite-cover-img {
  opacity: 1;                        /* hover 时完全清晰 */
  transform: scale(1.06);
}

/* 详情页 Hero 真实大图 */
.d-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: .7;                        /* 提高到 70%，不做太暗的氛围 */
}

/* 详情页画廊图：圆角 + 哑光纸面阴影 */
.d-gallery img.loaded {
  display: block;
  border-radius: var(--r-lg);          /* 16px 克制圆角 */
  box-shadow:
    0 2px 8px rgba(61, 46, 31, 0.08),
    0 8px 24px rgba(61, 46, 31, 0.06); /* 分层柔光，纸质感 */
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.d-gallery img.loaded:hover {
  box-shadow:
    0 4px 16px rgba(61, 46, 31, 0.12),
    0 14px 40px rgba(61, 46, 31, 0.1);
}

.suite-cover-inner {
  position: relative;
  z-index: 3;
  padding: 16px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.suite-cover .badge {
  display: inline-block;
  width: fit-content;
  font-size: 10px;
  letter-spacing: 2px;
  color: #fff;
  background: var(--accent);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  position: relative;
  z-index: 4;
}
.suite-card:hover .suite-cover .badge {
  background: var(--accent-deep);
}
.suite-cover .name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.15);
  position: relative;
  z-index: 4;
}

/* 卡片内容 */
.suite-body {
  padding: 18px 20px 20px;
}
.suite-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}
.suite-price-row .curr {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.5px;
}
.suite-price-row .curr .u {
  font-size: 11px;
  color: var(--text-4);
  font-family: var(--sans);
  font-weight: 400;
  margin-left: 3px;
}
.suite-price-row .orig {
  font-size: 12px;
  color: var(--text-4);
  text-decoration: line-through;
}
.suite-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 14px;
}
.suite-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.suite-tags span {
  font-size: 11px;
  padding: 4px 10px;
  background: var(--surface-alt);
  color: var(--text-3);
  border-radius: 100px;
}
.suite-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: var(--border-soft);
}
.suite-foot .rooms {
  font-size: 11px;
  color: var(--text-4);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.suite-foot .rooms svg {
  width: 12px;
  height: 12px;
  color: var(--text-4);
  flex-shrink: 0;
}
.suite-foot .cta {
  font-size: 12px;
  color: var(--brand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.suite-foot .cta::after {
  content: '→';
  font-size: 13px;
  transition: transform .3s var(--ease);
}
.suite-card:hover .suite-foot .cta::after { transform: translateX(3px); }

/* --- 底部 CTA bar --- */
.cta-bar {
  position: sticky;
  bottom: 0;
  z-index: 50;
  background: rgba(246, 241, 234, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: var(--border);
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
}
.cta-bar-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  gap: 10px;
}
.cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: opacity .2s var(--ease);
}
.cta-btn:active { opacity: .85; }
.cta-btn.primary {
  background: var(--accent);
  color: #fff;
}
.cta-btn.ghost {
  background: var(--surface);
  color: var(--brand);
  border: var(--border);
}

/* --- Footer --- */
.site-footer {
  padding: 48px 20px 110px;
  text-align: center;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 4px;
  margin-bottom: 14px;
}
.footer-info {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.9;
}
.footer-info .phone {
  color: var(--brand);
  font-weight: 500;
}
.footer-copy {
  font-size: 11px;
  color: var(--text-4);
  margin-top: 24px;
}

/* =============================================================
   PART 2 —— 详情页 手机端
   ============================================================= */
.back-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 234, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: var(--border);
  padding: 12px 20px;
}
.back-nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.back-btn {
  font-size: 13px;
  color: var(--text-3);
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--surface-alt);
  transition: background .2s var(--ease);
}
.back-btn:active { background: var(--line); }
.nav-title {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--text-1);
  font-weight: 500;
  letter-spacing: 1px;
}

/* 详情页 Hero */
.d-hero {
  position: relative;
  padding: 40px 20px 48px;
  text-align: center;
  overflow: hidden;
}
.d-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.d-hero.warm    .d-hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(255,249,245,0.55) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 80%, rgba(74,59,56,0.15) 0%, transparent 55%),
    linear-gradient(155deg, #FBEAE7 0%, #F3C6B8 35%, #E8918C 72%, #C96F6A 100%);
}
.d-hero.advanced .d-hero-bg {
  background:
    radial-gradient(ellipse 60% 50% at 15% 18%, rgba(255,245,242,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 82%, rgba(74,59,56,0.25) 0%, transparent 55%),
    linear-gradient(155deg, #F9D8D2 0%, #E8918C 38%, #C96F6A 72%, #8A4A46 100%);
}
.d-hero.luxury   .d-hero-bg {
  background:
    radial-gradient(ellipse 65% 50% at 15% 18%, rgba(255,249,245,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 85% 82%, rgba(58,46,44,0.35) 0%, transparent 55%),
    linear-gradient(155deg, #D4A8A0 0%, #B87470 35%, #8A4A46 72%, #4A3B38 100%);
}

.d-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .5;
}

.d-hero-badge {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.d-hero-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.15);
  margin-bottom: 6px;
}
.d-hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  letter-spacing: 4px;
  margin-bottom: 24px;
}
.d-price {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 28px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-lg);
  color: #fff;
}
.d-price .orig {
  font-size: 12px;
  opacity: 0.7;
  text-decoration: line-through;
}
.d-price .curr {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}
.d-price .unit {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 400;
  margin-left: 2px;
}

/* 详情内容 */
.d-content {
  max-width: var(--content-max);
  margin: -24px auto 0;
  padding: 0 20px 120px;
  position: relative;
  z-index: 2;
}

/* 概览卡 */
.d-overview {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.d-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 14px;
}
.d-overview-item {
  text-align: center;
  padding: 8px;
}
.d-overview-item .k {
  font-size: 11px;
  color: var(--text-4);
  margin-bottom: 4px;
}
.d-overview-item .v {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand);
}
.d-overview p.desc {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.8;
}

/* —— 详情页图片画廊 —— */
.d-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  /* 隐藏滚动条但保持可滚动 */
  scrollbar-width: none;
}
.d-gallery::-webkit-scrollbar { display: none; }
.d-gallery img {
  flex: 0 0 auto;
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--r-md);
  scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
}
.d-gallery:not(:has(img.loaded)) { display: none; }  /* 没有图时整个区隐藏 */

/* 房间区 */
.d-rooms {
  background: var(--surface-alt);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.d-rooms h3 {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  text-align: center;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.d-room-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.d-room-tags span {
  padding: 5px 16px;
  background: var(--surface);
  border: var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-2);
  font-weight: 500;
}

/* 服务区块 */
.svc-section {
  background: var(--surface);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}
.svc-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: var(--border-soft);
  margin-bottom: 14px;
}
.svc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--surface-alt);
  color: var(--brand);
}
.svc-icon svg {
  width: 22px;
  height: 22px;
}
.svc-title {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
}
.svc-sub {
  font-size: 11px;
  color: var(--text-4);
  margin-top: 2px;
  letter-spacing: 1px;
}
.svc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-alt);
  border-radius: var(--r-sm);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.svc-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 8px;
}

/* Gift 高亮 */
.svc-section.gift .svc-item {
  background: linear-gradient(135deg, rgba(184, 163, 127, 0.08), rgba(122, 99, 73, 0.06));
  border: 1px solid rgba(184, 163, 127, 0.15);
}
.svc-section.gift .svc-item .dot { background: var(--accent); }

/* =============================================================
   PART 3 —— 桌面端（≥900px）
   杂志编辑感 · 不对称排版
   ============================================================= */
@media (min-width: 900px) {
  :root { --content-max: 1080px; }

  body { padding-bottom: 0; }

  /* --- PC Header --- */
  .site-header {
    padding: 64px 0 40px;
  }
  .brand-name { font-size: 32px; letter-spacing: 8px; }
  .brand-subtitle { font-size: 12px; letter-spacing: 6px; }

  /* --- PC Hero：左右 split-screen --- */
  .hero {
    padding: 24px 0 48px;
    text-align: left;
    position: relative;
  }
  .hero .container {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .hero-kicker {
    display: block;
    text-align: left;
    margin-bottom: 20px;
  }
  .hero-kicker::before { width: 32px; }
  .hero-title {
    font-size: 48px;
    letter-spacing: 2px;
    line-height: 1.25;
    text-align: left;
    margin-bottom: 20px;
  }
  .hero-desc {
    max-width: 380px;
    text-align: left;
    margin: 0 0 32px;
    font-size: 15px;
    line-height: 1.9;
  }

  /* 右侧：装饰卡 */
  .hero-right {
    position: relative;
    height: 320px;
  }
  .hero-right .price-pill {
    position: absolute;
    top: 40px;
    right: 0;
    background: var(--accent);
    color: #fff;
    padding: 20px 36px;
    border: none;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
  }
  .hero-right .price-pill .label { color: rgba(255,255,255,0.7); }
  .hero-right .price-pill .current { font-size: 34px; color: #fff; }
  .hero-right .quote {
    position: absolute;
    bottom: 0;
    left: 0;
    font-family: var(--serif);
    font-size: 15px;
    font-style: italic;
    color: var(--text-3);
    line-height: 1.8;
    max-width: 280px;
    padding-left: 16px;
    border-left: 2px solid var(--accent);
  }

  /* --- Section head PC --- */
  .section-head h2 { font-size: 22px; letter-spacing: 3px; }
  .section-head .sub { font-size: 12px; }

  /* --- 套房卡片：3 列 --- */
  .suite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .suite-cover { height: 170px; }
  .suite-cover .name { font-size: 22px; }
  .suite-body { padding: 20px 22px 22px; }
  .suite-price-row .curr { font-size: 26px; }
  .suite-desc { font-size: 13px; }

  /* --- CTA bar PC：隐藏（已在页脚展示电话信息） --- */
  .cta-bar { display: none !important; }
  /* 给页脚留够空间 */
  body { padding-bottom: 0; }
  .cta-bar-inner {
    gap: 14px;
  }
  .cta-btn { padding: 10px 24px; font-size: 14px; }

  /* --- Footer PC --- */
  .site-footer { padding: 64px 20px 120px; }

  /* ============== 详情页 PC ============== */

  /* 详情 Hero PC：全出血 */
  .d-hero {
    padding: 80px 20px 100px;
  }
  .d-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.12) 100%);
    z-index: -1;
  }
  .d-hero .container {
    position: relative;
    z-index: 1;
  }
  .d-hero-title {
    font-size: 48px;
    max-width: 720px;
    margin: 0 auto 10px;
    letter-spacing: 3px;
    text-align: center;
  }
  .d-hero-sub { font-size: 13px; letter-spacing: 5px; }

  /* 详情内容：2 栏 editorial */
  .d-content {
    max-width: var(--content-max);
    margin: -40px auto 0;
    padding: 0 32px 140px;
  }

  .d-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
  }
  .d-main { min-width: 0; }
  .d-aside {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* PC 侧栏：价格卡 */
  .d-price-card {
    background: var(--surface);
    border: var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
  }
  .d-price-card .label {
    font-size: 12px;
    color: var(--text-4);
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
  .d-price-card .big {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 600;
    color: var(--brand);
    line-height: 1;
  }
  .d-price-card .orig {
    font-size: 13px;
    color: var(--text-4);
    text-decoration: line-through;
    margin-top: 4px;
  }
  .d-price-card .book {
    display: block;
    width: 100%;
    margin-top: 18px;
    padding: 14px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-align: center;
    transition: opacity .2s var(--ease);
  }
  .d-price-card .book:hover { opacity: .9; }
  .d-price-card .call {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border: var(--border);
    color: var(--brand);
    border-radius: var(--r-md);
    font-size: 13px;
    text-align: center;
    transition: background .2s var(--ease);
  }
  .d-price-card .call:hover { background: var(--surface-alt); }

  /* PC 侧栏：概览 */
  .d-aside-overview {
    background: var(--surface);
    border: var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
  }
  .d-aside-overview h4 {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    letter-spacing: 2px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: var(--border-soft);
  }
  .d-aside-overview .row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    color: var(--text-2);
  }
  .d-aside-overview .row .v {
    font-weight: 500;
    color: var(--brand);
  }

  /* PC 概览在主内容顶部 */
  .d-overview { margin-bottom: 24px; }
  .d-overview-grid { grid-template-columns: repeat(4, 1fr); }

  /* PC 画廊：3 列网格 */
  .d-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    overflow: visible;
    margin-bottom: 24px;
  }
  .d-gallery img {
    width: 100%;
    height: 180px;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease);
  }
  .d-gallery img:hover {
    transform: scale(1.03);
  }

  /* PC 房间 */
  .d-rooms { margin-bottom: 24px; }

  /* PC 服务区块：列表变 2 列 */
  .svc-section { margin-bottom: 20px; padding: 24px 28px; }
  .svc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
  }
  .svc-head { padding-bottom: 16px; margin-bottom: 16px; }
  .svc-title { font-size: 17px; }
}

/* ========== 超宽屏（≥1440px） ========== */
@media (min-width: 1440px) {
  :root { --content-max: 1200px; }
  .hero-title { font-size: 56px; }
  .d-hero-title { font-size: 56px; }
  .suite-grid { gap: 28px; }
}

/* ========== 动画 ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp .6s var(--ease) both; }
.delay-1 { animation-delay: .08s; }
.delay-2 { animation-delay: .16s; }
.delay-3 { animation-delay: .24s; }
.delay-4 { animation-delay: .32s; }
.delay-5 { animation-delay: .4s; }

/* ========== 安全区 ========== */
@supports (padding: max(0px)) {
  .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}
