/* ============================================================
 * Shenzhen & HK Premium Long-Term Rentals — design system (v2)
 * ------------------------------------------------------------
 * 国际化 · 简约 · 高级感
 * 手机优先：先写单列布局，再用 min-width 媒体查询向上适配
 * ============================================================ */

:root {
  /* 主色：暖象牙（干净通透，只留一丝暖意）
     注意：--brand 是浅色底，浅底上不要再放白字，文字一律用 --ink 系 */
  --brand:        #f4efe6;   /* 主浅底：暖象牙 */
  --brand-dark:   #ece5d8;   /* 更深一档的象牙，用于区块分隔 */
  --brand-mid:    #f8f4ec;   /* 中间过渡 */
  --brand-soft:   #f6f1e8;   /* 浅色软底 */
  --brand-tint:   #fefcf8;   /* 极浅象牙（页面底色） */

  /* 点缀：香槟金（浅底上仍要够深才看得见） */
  --accent:       #b08d4a;
  --accent-2:     #c9a961;
  --accent-soft:  #faf6ec;
  --accent-ink:   #8a6a2c;

  /* 语义色 */
  --ok:           #17694f;
  --ok-soft:      #eaf5f0;
  --warn:         #9a6b12;
  --warn-soft:    #fdf7e8;
  --danger:       #a8342a;
  --danger-soft:  #fbeeec;

  /* 中性（暖调中性，避免灰得发冷） */
  --ink:          #2e2a24;   /* 主文字：暖炭黑 */
  --ink-2:        #5a544b;
  --ink-3:        #8a8378;
  --ink-4:        #b5aea2;
  --line:         #e9e3d8;
  --line-2:       #dad3c5;
  --surface:      #ffffff;
  --surface-2:    #faf7f1;   /* 暖白 */
  --surface-3:    #f3eee4;

  --radius-lg:    18px;
  --radius:       12px;
  --radius-sm:    8px;

  --shadow-xs:    0 1px 2px rgba(58,49,40,.05);
  --shadow-sm:    0 2px 8px rgba(58,49,40,.06);
  --shadow:       0 4px 18px rgba(58,49,40,.07);
  --shadow-md:    0 10px 30px rgba(58,49,40,.09);
  --shadow-lg:    0 22px 60px rgba(58,49,40,.12);

  --maxw:         1240px;
  --serif:        "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Songti SC", serif;
  --sans:         -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
                  "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* ---------------- reset ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--brand-tint);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }

/* ---------------- 布局容器 ---------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ============================================================
 * 页头
 * ============================================================ */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 20px;
  height: 66px; display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; flex-shrink: 0; border-radius: 10px;
  background: linear-gradient(140deg, var(--accent) 0%, var(--accent-ink) 100%);
  color: #fff; font-size: 14px; font-weight: 800; letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text b { font-size: 15px; font-weight: 800; letter-spacing: -.2px; }
.brand-text i {
  font-style: normal; font-size: 10px; letter-spacing: .8px;
  text-transform: uppercase; color: var(--accent-ink); font-weight: 600;
}

.main-nav { display: none; gap: 26px; margin-left: 12px; }
.main-nav a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  padding: 6px 0; position: relative; transition: color .18s;
}
.main-nav a:hover { color: var(--accent-ink); }
.main-nav a.active { color: var(--accent-ink); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent-2); border-radius: 2px;
}

.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.city-select {
  display: none;
  border: 1px solid var(--line-2); background: var(--surface);
  border-radius: 999px; padding: 6px 12px; font-size: 13px;
  font-weight: 600; color: var(--ink-2); cursor: pointer;
  appearance: none; padding-right: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7885' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
.lang-switch { display: flex; gap: 2px; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.lang-btn {
  border: none; background: transparent; cursor: pointer;
  font-size: 12px; font-weight: 700; color: var(--ink-3);
  padding: 5px 9px; border-radius: 999px; transition: all .18s;
}
.lang-btn:hover { color: var(--accent-ink); }
.lang-btn.on { background: #2e2a24; color: #fff; }

.menu-btn {
  border: 1px solid var(--line-2); background: var(--surface);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.menu-btn span { width: 16px; height: 2px; background: var(--ink-2); border-radius: 2px; transition: all .22s; }
.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column;
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 8px 20px 18px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 13px 4px; font-size: 15.5px; font-weight: 600;
  color: var(--ink-2); border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--accent-ink); }
.mobile-menu .mm-cta {
  margin-top: 14px; border: none; text-align: center;
  background: #1f8a54; color: #fff; border-radius: 10px; border-bottom: none;
}

/* ============================================================
 * 按钮
 * ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; border-radius: 10px; cursor: pointer;
  font-size: 14.5px; font-weight: 650; padding: 11px 20px;
  transition: all .18s; white-space: nowrap; text-align: center;
}
.btn-primary { background: #2e2a24; color: #fff; }
.btn-primary:hover { background: #1f1b16; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-ink); }
.btn-wa { background: #1f8a54; color: #fff; }
.btn-wa:hover { background: #176b41; }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-ink); }
.btn-light { background: rgba(255,255,255,.72); border-color: var(--line-2); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: var(--accent); color: var(--accent-ink); }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 12px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; }

/* ============================================================
 * 首页 Hero
 * ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, #fefcf8 0%, #f6f1e8 50%, #f0eade 100%);
  color: var(--ink); padding: 56px 0 52px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(58,49,40,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,49,40,.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 70% at 70% 20%, #000 10%, transparent 72%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.hero h1 {
  font-family: var(--serif); font-size: 32px; line-height: 1.16;
  font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; max-width: 680px;
  color: var(--ink);
}
.hero p.sub {
  font-size: 15.5px; line-height: 1.7; color: var(--ink-2);
  max-width: 620px; margin-bottom: 30px;
}

/* hero 内搜索条 */
.hero-search {
  background: rgba(255,255,255,.97); border-radius: 14px; padding: 12px;
  display: grid; grid-template-columns: 1fr; gap: 10px;
  box-shadow: var(--shadow-lg); margin-bottom: 34px;
}
.hero-search .hs-field { position: relative; }
.hero-search label {
  position: absolute; left: 13px; top: 8px;
  font-size: 10px; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; color: var(--ink-4); pointer-events: none;
}
.hero-search select, .hero-search input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 13px 8px; font-size: 14.5px; background: var(--surface);
  appearance: none; cursor: pointer;
}
.hero-search input { cursor: text; }
.hero-search select:focus, .hero-search input:focus {
  outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft);
}

.hero-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 16px;
  padding-top: 26px; border-top: 1px solid rgba(58,49,40,.13);
}
.hero-stat b {
  display: block; font-family: var(--serif); font-size: 27px;
  font-weight: 600; color: var(--ink); line-height: 1;
}
.hero-stat span { font-size: 11.5px; color: var(--ink-3); margin-top: 7px; display: block; }

/* ============================================================
 * 通用区块
 * ============================================================ */
.section { padding: 52px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 {
  font-family: var(--serif); font-size: 25px; font-weight: 600;
  letter-spacing: -.015em; display: flex; align-items: center; gap: 13px;
}
.section-head h2::before {
  content: ""; width: 4px; height: 24px; border-radius: 3px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  flex-shrink: 0;
}
.section-head p.sub { color: var(--ink-3); font-size: 14.5px; margin-top: 9px; }
.section-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 26px;
}
.section-head-row .section-head { margin-bottom: 0; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px;
}

/* ============================================================
 * 卡片网格
 * ============================================================ */
.grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .22s, transform .22s, border-color .22s;
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4/3; background: var(--surface-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--ink-4); font-size: 13px;
}
.card-price-flag {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(14,28,44,.88); backdrop-filter: blur(6px);
  color: #fff; border-radius: 9px; padding: 6px 11px;
  font-size: 14px; font-weight: 700; line-height: 1.2;
  display: flex; flex-direction: column;
}
.card-price-flag i { font-style: normal; font-size: 10.5px; font-weight: 500; color: rgba(255,255,255,.66); margin-top: 2px; }
.card-media-meta { position: absolute; right: 10px; top: 10px; display: flex; gap: 6px; }
.media-chip {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(14,28,44,.76); backdrop-filter: blur(6px);
  color: #fff; font-size: 11px; font-weight: 600;
  padding: 4px 9px; border-radius: 999px;
}
.play-dot {
  width: 0; height: 0; border-left: 7px solid #fff;
  border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
}

/* 卡片右上角的播放按钮 —— 有视频的房源才出现。
   这是主图上唯一的一个按钮：既是「有视频」的标识，也是点击播放的入口
   （不再另放 Video 文字角标，避免两个元素叠在同一位置打架）。 */
.card-play {
  position: absolute; right: 12px; top: 12px; z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  border: 0; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,16,10,.52);
  backdrop-filter: blur(8px) saturate(140%);
  box-shadow: 0 3px 16px rgba(20,14,6,.4), inset 0 0 0 1px rgba(255,255,255,.34);
  transition: transform .18s ease, background .18s ease;
}
.card-play:hover { transform: scale(1.06); background: rgba(20,16,10,.74); }
.card-play:active { transform: scale(.96); }
/* 播放三角：白色实心，外面描一圈半透明表盘 */
.card-play .cp-ring {
  position: absolute; inset: 6px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.72);
}
.card-play .cp-tri {
  width: 0; height: 0; margin-left: 4px;
  border-left: 17px solid #fff;
  border-top: 10.5px solid transparent;
  border-bottom: 10.5px solid transparent;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.36));
}
/* 呼吸光环：只在用户没有开启「减少动画」时播放，提示这里可以点 */
@media (prefers-reduced-motion: no-preference) {
  .card-play::after {
    content: ''; position: absolute; inset: -3px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.5);
    animation: cp-pulse 2.2s ease-out infinite;
  }
  @keyframes cp-pulse {
    0%   { opacity: .75; transform: scale(.94); }
    70%  { opacity: 0;   transform: scale(1.22); }
    100% { opacity: 0;   transform: scale(1.22); }
  }
}
/* 有播放按钮时，把右下角价格标签往上抬一点，避免和按钮视觉打架 */
.card-media .card-play ~ .card-price-flag { left: 12px; }

/* ============================================================
 * 房源视频浮窗（可拖动 / 可缩放）
 * ============================================================ */
.vidwin {
  position: fixed; z-index: 9000;
  display: none; flex-direction: column;
  background: #14110c;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 22px 60px rgba(18,12,4,.42), 0 0 0 1px rgba(255,255,255,.10);
  user-select: none;
}
.vidwin.on { display: flex; }
.vidwin.dragging, .vidwin.resizing { transition: none; }

/* 标题栏（同时是拖拽把手） */
.vw-bar {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 10px 9px 12px;
  background: linear-gradient(180deg, #241f17 0%, #1a1610 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: grab; touch-action: none;
  color: #f4efe6;
}
.vidwin.dragging .vw-bar { cursor: grabbing; }
.vw-grip { display: flex; flex-shrink: 0; opacity: .48; color: #f4efe6; }
.vw-grip svg { width: 15px; height: 15px; }
.vw-title-text {
  flex: 1; min-width: 0; font-size: 13px; font-weight: 650;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  letter-spacing: -.1px;
}
.vw-acts { display: flex; align-items: center; gap: 3px; flex-shrink: 0; }
.vw-btn {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 7px; border: 0;
  background: transparent; color: rgba(244,239,230,.72);
  cursor: pointer; padding: 0; transition: background .15s, color .15s;
}
.vw-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.vw-btn svg { width: 15px; height: 15px; }

/* 视频舞台：宽度铺满，高度按 16:9 撑开 */
.vw-stage { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.vw-stage iframe, .vw-stage video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block;
}

/* 底部提示小字 */
.vw-hint {
  position: absolute; left: 12px; bottom: 8px; z-index: 4;
  font-size: 10.5px; color: rgba(255,255,255,.62);
  pointer-events: none; opacity: 0; transition: opacity .3s;
  text-shadow: 0 1px 3px rgba(0,0,0,.7);
}
.vidwin:hover .vw-hint { opacity: 1; }

/* 右下角缩放手柄 */
.vw-resize {
  position: absolute; right: 0; bottom: 0; z-index: 5;
  width: 20px; height: 20px; cursor: nwse-resize;
  touch-action: none;
  background: linear-gradient(135deg, transparent 46%, rgba(255,255,255,.5) 46%, rgba(255,255,255,.5) 54%, transparent 54%),
              linear-gradient(135deg, transparent 66%, rgba(255,255,255,.32) 66%, rgba(255,255,255,.32) 74%, transparent 74%);
}
.vw-resize::after {
  content: ""; position: absolute; right: 2px; bottom: 2px;
  width: 0; height: 0;
  border-style: solid; border-width: 0 0 11px 11px;
  border-color: transparent transparent rgba(255,255,255,.55) transparent;
}

/* 浮窗打开时锁住页面滚动，避免拖动时页面跟着动 */
body.vw-lock { overflow: hidden; }

/* 手机上不做浮窗（JS 直接新标签页打开），这里兜底：
   万一浮窗被打开，就铺满屏幕，避免小屏拖拽比全屏更难用 */
@media (max-width: 719px) {
  .vidwin.on {
    left: 6px !important; top: 68px !important;
    width: calc(100vw - 12px) !important;
    border-radius: 10px;
  }
  .vw-resize { display: none; }
  .vw-hint { display: none; }
  .card-play { width: 56px; height: 56px; right: 10px; top: 10px; }
  .card-play .cp-tri { border-left-width: 19px; border-top-width: 11.5px; border-bottom-width: 11.5px; margin-left: 5px; }
}
.card-body { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; }
.card-title {
  font-size: 15.5px; font-weight: 700; letter-spacing: -.2px;
  margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-loc { font-size: 13px; color: var(--ink-3); margin-bottom: 11px; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 13px; }
.tag {
  font-size: 11.5px; font-weight: 600; padding: 3px 9px;
  border-radius: 6px; background: var(--surface-2); color: var(--ink-2);
}
.tag-featured { background: var(--accent-soft); color: var(--accent-ink); }
.tag-mrt { background: var(--accent-soft); color: var(--accent-ink); }
.tag-pet { background: var(--ok-soft); color: var(--ok); }
.card-foot {
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.card-foot .price { font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.card-foot .price small { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-left: 3px; }
.card-foot .more { font-size: 12.5px; font-weight: 650; color: var(--accent-ink); }

/* 骨架屏 */
.card-skel { pointer-events: none; }
.skel-media { aspect-ratio: 4/3; background: var(--surface-3); }
.skel-body { padding: 16px; }
.skel-line { height: 11px; border-radius: 5px; background: var(--surface-3); margin-bottom: 10px; }
.skel-line.w70 { width: 70%; } .skel-line.w40 { width: 40%; } .skel-line.w55 { width: 55%; }

/* ============================================================
 * 优势卡片
 * ============================================================ */
.adv-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.adv-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.adv-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.adv-ico {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 15px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
}
.adv-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* ============================================================
 * 评价
 * ============================================================ */
.rev-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.rev-card {
  background: var(--surface-2); border-radius: var(--radius); padding: 22px 20px;
  border: 1px solid var(--line);
}
.rev-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; margin-bottom: 11px; }
.rev-text { font-size: 14.5px; line-height: 1.72; color: var(--ink-2); margin-bottom: 15px; }
.rev-who { display: flex; align-items: center; gap: 11px; }
.rev-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(140deg, var(--accent), var(--accent-ink));
  color: #fff; font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rev-name { font-size: 13.5px; font-weight: 700; }
.rev-meta { font-size: 12px; color: var(--ink-3); }

/* ============================================================
 * CTA 区块
 * ============================================================ */
.cta-band {
  background: linear-gradient(140deg, #f6f1e8, #ede6d6);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 34px 24px; color: var(--ink);
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,130,60,.16), transparent 68%);
}
.cta-band h2 {
  position: relative; z-index: 2; font-family: var(--serif);
  font-size: 23px; font-weight: 600; margin-bottom: 11px; color: var(--ink);
}
.cta-band p { position: relative; z-index: 2; color: var(--ink-2); font-size: 14.5px; margin-bottom: 22px; max-width: 560px; line-height: 1.7; }
.cta-actions { position: relative; z-index: 2; display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
 * 筛选器（列表页）
 * ============================================================ */
.listings-page { padding: 28px 0 60px; }
.list-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 20px;
}
.list-head h1 { font-family: var(--serif); font-size: 25px; font-weight: 600; }
.list-head .count { font-size: 14px; color: var(--ink-3); font-weight: 600; }

.view-toggle { display: flex; gap: 2px; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.view-toggle button {
  border: none; background: transparent; cursor: pointer;
  font-size: 13px; font-weight: 650; color: var(--ink-3);
  padding: 7px 15px; border-radius: 999px; display: flex; align-items: center; gap: 6px;
}
.view-toggle button.on { background: #2e2a24; color: #fff; }

.list-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }

.filters {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
/* 手机上筛选器做成可折叠抽屉 */
.filters-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.filters-head .f-chev { transition: transform .22s; }
.filters.collapsed .filters-head .f-chev { transform: rotate(-90deg); }
.filters.collapsed .filters-body { display: none; }
.filters-body { margin-top: 16px; }

.fgroup { margin-bottom: 20px; }
.fgroup:last-child { margin-bottom: 0; }
.fgroup > label.f-title {
  display: block; font-size: 12px; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 10px;
}
.fopts { display: flex; flex-wrap: wrap; gap: 7px; }
.fopts-v { display: block; }
.fopt {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2); background: var(--surface);
  border-radius: 8px; padding: 7px 12px; font-size: 13px; font-weight: 600;
  color: var(--ink-2); cursor: pointer; transition: all .16s;
}
.fopt:hover { border-color: var(--accent); color: var(--accent-ink); }
.fopt.on { background: #2e2a24; border-color: #2e2a24; color: #fff; }
.fopt input { display: none; }

.frange { display: flex; align-items: center; gap: 9px; }
.frange input[type="number"] {
  width: 100%; border: 1px solid var(--line-2); border-radius: 8px;
  padding: 9px 12px; font-size: 14px;
}
.frange input:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.frange span { color: var(--ink-4); }

.filters-foot { display: flex; gap: 9px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.filters-foot .btn { flex: 1; }

/* ============================================================
 * 首页 —— 房源区 + 左侧常驻筛选栏
 * 客户上滑看房时，筛选栏吸附在左侧，随时可改条件而不必回到页首
 * ============================================================ */
.home-split { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }

.home-side {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 18px 18px 20px;
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.home-side::-webkit-scrollbar { width: 6px; }
.home-side::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.home-side::-webkit-scrollbar-track { background: transparent; }
.home-side-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding-bottom: 13px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.home-side-head b { font-size: 15px; font-weight: 700; }
.link-btn.sm {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  color: var(--ink-3); font-size: 12.5px; font-family: inherit; padding: 3px 4px;
}
.link-btn.sm:hover { color: var(--accent-ink); text-decoration: underline; }

/* 区域分组：大区一行，其下子区域缩进 */
.fopt-group { width: 100%; margin-bottom: 8px; }
.fopt-group:last-child { margin-bottom: 0; }
.fopt-parent { width: 100%; justify-content: flex-start; font-weight: 650; }
.fopt-kids {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 7px 0 0 10px; margin-left: 4px;
  border-left: 2px solid var(--line);
}
.fopt-kid { font-size: 12px; padding: 4px 9px; }
.fopt-wide { width: 100%; justify-content: center; }

/* 大区被整体选中时，其下子区域显示为浅色「已包含」态 */
.fopt-kid.included {
  background: var(--accent-soft); border-color: var(--accent-soft);
  color: var(--accent-ink); opacity: .85;
}
.fopt-kid.included::before { content: "✓"; font-size: 10px; margin-right: 1px; }

/* ============================================================
 * 折叠手风琴（Filter accordion）
 * ------------------------------------------------------------
 * 每个筛选组收成一行：标题 + 已选数量徽章 + 箭头。
 * 点开才展开内容，让整栏一屏放得下，客户不用一直往下滚。
 * ============================================================ */
.facc {
  border-bottom: 1px solid var(--line);
}
.facc:last-of-type { border-bottom: 0; }

.facc-head {
  width: 100%; appearance: none; border: 0; background: transparent;
  cursor: pointer; font-family: inherit; text-align: left;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 2px;
  transition: color .16s;
}
.facc-head:hover { color: var(--accent-ink); }
.facc-label {
  font-size: 13.5px; font-weight: 650; color: var(--ink-2);
  flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.facc-head:hover .facc-label { color: var(--accent-ink); }
.facc.open > .facc-head .facc-label { color: var(--accent-ink); }

/* 已选摘要（仅在有选择时显示）：金色药丸小字 */
.facc-badge {
  flex: 0 0 auto; max-width: 46%;
  display: inline-block;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 11.5px; font-weight: 700; line-height: 1;
  padding: 4px 8px; border-radius: 20px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* 箭头：收起时朝下，展开时朝上 */
.facc .facc-head .f-chev {
  width: 7px; height: 7px; flex-shrink: 0;
  border-right: 1.6px solid var(--ink-4); border-bottom: 1.6px solid var(--ink-4);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform .2s, border-color .16s;
}
.facc-head:hover .f-chev { border-color: var(--accent-ink); }
.facc.open > .facc-head .f-chev {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--accent-ink);
}

/* 折叠体：默认收起，展开时给一点内边距和淡入 */
.facc-body { display: none; padding: 2px 2px 14px; }
.facc.open > .facc-body { display: block; animation: faccIn .18s ease-out; }
@keyframes faccIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .facc.open > .facc-body { animation: none; }
}

/* 手风琴里最后一个控件不留多余下边距 */
.facc-body > .fgroup:last-child,
.facc-body > .fopts:last-child,
.facc-body > .frange:last-child,
.facc-body > .fopt:last-child { margin-bottom: 0; }

/* 已选里的区域小字提示 */
.facc-hint {
  font-size: 11.5px; line-height: 1.55; color: var(--ink-4);
  margin: 0 0 10px;
}

/* 该组有已选条件 → 标题和左边线标记出来，收起时也能一眼看到「筛选生效中」 */
.facc.has-sel > .facc-head .facc-label { color: var(--accent-ink); font-weight: 700; }
.facc.has-sel { position: relative; }
.facc.has-sel > .facc-head::before {
  content: ""; position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
  width: 3px; height: 16px; border-radius: 2px; background: var(--accent);
}
.facc { position: relative; }

/* 整栏底部「清空全部」快捷条 */
.facc-clear-all {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; width: 100%;
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: inherit; font-size: 12.5px; color: var(--ink-3);
  padding: 11px 0 2px;
}
.facc-clear-all:hover { color: var(--accent-ink); text-decoration: underline; }

/* 区块之间的分组间距（旧结构兼容） */
.fgroup { margin-bottom: 20px; }
.fgroup:last-child { margin-bottom: 0; }

/* 说明小字 */
.f-note {
  font-size: 11.5px; line-height: 1.55; color: var(--ink-4);
  margin: 0 0 10px;
}

.home-main { min-width: 0; }
.home-count {
  font-size: 13px; color: var(--ink-3); font-weight: 600;
  margin-bottom: 14px;
}
.home-more { display: flex; justify-content: center; margin-top: 22px; }

/* 地图视图 */
.map-view { display: none; }
.map-view.on { display: block; }
.grid-view.off { display: none; }

.map-canvas {
  position: relative; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--radius);
  aspect-ratio: 1/1; overflow: hidden;
}
/* 手绘风区域示意 —— 不用任何地图 API */
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-zone { cursor: pointer; transition: fill .2s; }
.map-zone:hover { fill: var(--brand-dark); }
.map-pin {
  position: absolute; transform: translate(-50%, -100%);
  background: #2e2a24; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 7px; white-space: nowrap;
  cursor: pointer; transition: transform .18s, background .18s;
  box-shadow: var(--shadow-sm); z-index: 3;
}
.map-pin:hover { background: var(--accent-ink); transform: translate(-50%, -100%) scale(1.12); z-index: 5; }
.map-pin::after {
  content: ""; position: absolute; left: 50%; top: 100%;
  width: 0; height: 0; transform: translateX(-50%);
  border-left: 5px solid transparent; border-right: 5px solid transparent;
  border-top: 6px solid #2e2a24;
}
.map-pin:hover::after { border-top-color: var(--accent-ink); }
.map-legend {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255,255,255,.94); border-radius: 9px; padding: 8px 12px;
  font-size: 11.5px; color: var(--ink-3); box-shadow: var(--shadow-sm);
  max-width: 62%;
}
.map-results { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.map-row {
  display: flex; gap: 13px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 11px; transition: border-color .18s;
}
.map-row:hover { border-color: var(--accent-ink); }
.map-row-img { width: 78px; height: 62px; border-radius: 9px; object-fit: cover; flex-shrink: 0; background: var(--surface-3); }
.map-row-body { min-width: 0; flex: 1; }
.map-row-body h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.map-row-body p { font-size: 12.5px; color: var(--ink-3); }
.map-row-price { font-size: 16px; font-weight: 800; white-space: nowrap; }

/* ============================================================
 * 房源详情页
 * ============================================================ */
.detail-page { padding: 22px 0 60px; }
.crumb { font-size: 13px; color: var(--ink-3); margin-bottom: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.crumb a:hover { color: var(--accent-ink); }
.crumb span.sep { color: var(--ink-4); }

/* 相册 */
.gallery { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 26px; }
.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; background: var(--surface-3);
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--ink);
  font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); transition: background .18s;
}
.gallery-nav:hover { background: #fff; }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.gallery-counter {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(14,28,44,.78); color: #fff;
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gallery-thumbs img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 9px; cursor: pointer; opacity: .62;
  border: 2px solid transparent; transition: opacity .18s, border-color .18s;
}
.gallery-thumbs img:hover { opacity: .88; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--accent-2); }
.gallery-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius); background: var(--surface-3);
  display: flex; align-items: center; justify-content: center; color: var(--ink-4);
}

/* 标题区 */
.detail-head {
  display: flex; flex-direction: column; gap: 18px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line); margin-bottom: 26px;
}
.detail-head h1 { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.detail-sub { font-size: 14.5px; color: var(--ink-3); }
.detail-price-block { display: flex; flex-direction: column; gap: 4px; }
.detail-price { font-size: 30px; font-weight: 800; letter-spacing: -.9px; line-height: 1.1; }
.detail-price small { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-left: 4px; }
.detail-usd { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.detail-terms { font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 6px; }
.detail-terms b { font-weight: 700; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* 规格表 */
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }
.spec-cell { background: var(--surface); padding: 15px 16px; }
.spec-cell .k { font-size: 11.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-4); margin-bottom: 5px; }
.spec-cell .v { font-size: 15px; font-weight: 650; }

/* 内容区块 */
.blocks { display: flex; flex-direction: column; gap: 30px; }
.block { }
.block-head { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.block-num {
  width: 28px; height: 28px; border-radius: 9px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.block-head h2 { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.block-body { font-size: 15px; line-height: 1.78; color: var(--ink-2); }
.block-body p + p { margin-top: 12px; }

/* 特色列表 */
.feat-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.feat-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.6;
}
.feat-item::before {
  content: "✓"; flex-shrink: 0; width: 20px; height: 20px;
  border-radius: 50%; background: var(--ok-soft); color: var(--ok);
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}

/* 小区设施 / 配套 chips */
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
}
.chip-ico { font-size: 14px; }

/* 周边配套 —— 距离列表（核心信息） */
.near-list { display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.near-row {
  background: var(--surface); padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
}
.near-ico {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center; font-size: 17px;
}
.near-body { flex: 1; min-width: 0; }
.near-body .n-name { font-size: 14.5px; font-weight: 650; }
.near-body .n-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.near-dist { text-align: right; flex-shrink: 0; }
.near-dist .d-val { font-size: 15px; font-weight: 750; color: var(--accent-ink); }
.near-dist .d-unit { font-size: 11.5px; color: var(--ink-3); }

/* 通勤卡片 */
.commute-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.commute-card {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
.commute-ico { font-size: 22px; flex-shrink: 0; }
.commute-body { flex: 1; }
.commute-body .c-name { font-size: 14px; font-weight: 650; color: var(--ink-2); }
.commute-time { font-size: 19px; font-weight: 800; letter-spacing: -.5px; color: var(--accent-ink); }
.commute-time small { font-size: 11.5px; font-weight: 600; color: var(--ink-3); margin-left: 4px; }

/* 费用明细表 */
.cost-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cost-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.cost-row:last-child { border-bottom: none; }
.cost-row .c-label { color: var(--ink-2); }
.cost-row .c-label small { display: block; font-size: 12px; color: var(--ink-4); margin-top: 2px; }
.cost-row .c-val { font-weight: 700; white-space: nowrap; text-align: right; }
.cost-row.total { background: var(--surface-2); }
.borne {
  font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 5px;
  white-space: nowrap;
}
.borne.tenant { background: var(--warn-soft); color: var(--warn); }
.borne.owner { background: var(--ok-soft); color: var(--ok); }
.borne.incl { background: var(--accent-soft); color: var(--accent-ink); }

/* 房屋规则 */
.rules-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rule-item {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 15px; border-radius: var(--radius);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600;
}
.rule-item .r-mark {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}
.rule-item.yes { background: var(--ok-soft); border-color: #cfe8dd; color: var(--ok); }
.rule-item.yes .r-mark { background: var(--ok); color: #fff; }
.rule-item.no { background: var(--surface-2); color: var(--ink-3); }
.rule-item.no .r-mark { background: var(--surface-3); color: var(--ink-4); }

/* 户型图 */
.floorplan-wrap {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); cursor: zoom-in;
}
.floorplan-wrap img { width: 100%; }

/* 视频 */
.video-wrap { border-radius: var(--radius); overflow: hidden; background: #0b1420; }
.video-16x9 { position: relative; padding-top: 56.25%; }
.video-16x9 iframe, .video-16x9 video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
.video-wrap + .video-wrap { margin-top: 14px; }

/* ============================================================
 * 询盘表单
 * ============================================================ */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px;
}
.form-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.form-card .f-lead { font-size: 13.5px; color: var(--ink-3); margin-bottom: 20px; }

.field { margin-bottom: 15px; }
.field label { display: block; font-size: 13px; font-weight: 650; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 9px;
  padding: 11px 13px; font-size: 14.5px; background: var(--surface);
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field .hint { font-size: 12px; color: var(--ink-4); margin-top: 5px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
.form-grid .full { grid-column: 1 / -1; }

/* ============================================================
 * 内容页（关于 / 指南 / 联系）
 * ============================================================ */
.page-hero {
  background: linear-gradient(150deg, #fefcf8, #f0eade);
  color: var(--ink); padding: 46px 0 42px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-family: var(--serif); font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 12px; color: var(--ink); }
.page-hero p { font-size: 15.5px; color: var(--ink-2); max-width: 620px; line-height: 1.72; }

.content-page { padding: 44px 0 60px; }
.prose { max-width: 780px; }
.prose h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 34px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { font-size: 15px; line-height: 1.8; color: var(--ink-2); margin-bottom: 14px; }

/* 服务卡片（关于页） */
.svc-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.svc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px;
}
.svc-card .s-num {
  font-family: var(--serif); font-size: 13px; font-weight: 700;
  color: var(--accent-ink); letter-spacing: .5px; margin-bottom: 10px;
}
.svc-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.svc-card p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* 数据统计 */
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-box { text-align: center; padding: 22px 12px; background: var(--surface-2); border-radius: var(--radius); }
.stat-box b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--accent-ink); line-height: 1; }
.stat-box span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }

/* 流程步骤（指南页） */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex; gap: 16px; padding-bottom: 24px; position: relative;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: ""; position: absolute; left: 17px; top: 40px; bottom: 0;
  width: 2px; background: var(--line);
}
.step:last-child::before { display: none; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: #2e2a24; color: #fff;
  font-size: 14px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.step-body h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 5px; }
.step-body p { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

/* 材料清单 */
.doc-list { display: flex; flex-direction: column; gap: 10px; }
.doc-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px 16px; background: var(--surface-2);
  border-radius: var(--radius-sm); font-size: 14.5px; color: var(--ink-2);
  line-height: 1.6;
}
.doc-item::before {
  content: "✓"; flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ok); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* FAQ 手风琴 */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.faq-q {
  width: 100%; text-align: left; border: none; background: transparent; cursor: pointer;
  padding: 17px 19px; font-size: 15px; font-weight: 650; color: var(--ink);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  line-height: 1.5;
}
.faq-q:hover { background: var(--surface-2); }
.faq-q .f-plus {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 15px; font-weight: 700; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: transform .24s, background .24s;
}
.faq-item.open .faq-q .f-plus { transform: rotate(45deg); background: #2e2a24; color: #fff; }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .28s ease;
  padding: 0 19px;
}
.faq-item.open .faq-a { max-height: 640px; padding-bottom: 19px; }
.faq-a p { font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }

/* 联系卡片 */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.contact-ways { display: flex; flex-direction: column; gap: 12px; }
.cway {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 18px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .18s, box-shadow .18s;
}
.cway:hover { border-color: var(--accent-ink); box-shadow: var(--shadow-sm); }
.cway-ico {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: var(--accent-soft); color: var(--accent-ink);
}
.cway.wa .cway-ico { background: #e6f5ec; color: #1f8a54; }
.cway-body { flex: 1; min-width: 0; }
.cway-body .w-label { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--ink-4); }
.cway-body .w-val { font-size: 15.5px; font-weight: 700; margin-top: 2px; word-break: break-all; }
.cway-body .w-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.qr-box {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px; background: var(--surface-2); border-radius: var(--radius);
  border: 1px dashed var(--line-2);
}
.qr-placeholder {
  width: 150px; height: 150px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--ink-4); font-size: 12px; text-align: center; padding: 12px;
}
.qr-box span { font-size: 12.5px; color: var(--ink-3); text-align: center; }

/* ============================================================
 * 悬浮 WhatsApp
 * ============================================================ */
.float-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: flex; align-items: center; gap: 9px;
  background: #1f8a54; color: #fff;
  padding: 13px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 26px rgba(31,138,84,.36);
  transition: transform .2s, box-shadow .2s;
}
.float-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(31,138,84,.44); }
.wa-ico {
  width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%;
  background: rgba(255,255,255,.22);
  position: relative;
}
.wa-ico::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  transform: translate(-50%, -50%);
}
.wa-txt { display: none; }

/* ============================================================
 * 页脚
 * ============================================================ */
footer {
  background: linear-gradient(165deg, #f6f1e8, #eee8dc);
  color: var(--ink-2); margin-top: 40px;
  border-top: 1px solid var(--line-2);
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 44px 20px 30px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 34px; }
.foot-brand b { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--ink); display: block; margin-bottom: 10px; }
.foot-brand p { font-size: 13.5px; line-height: 1.7; max-width: 320px; margin-bottom: 16px; }
.foot-social { display: flex; gap: 9px; flex-wrap: wrap; }
.foot-soc {
  font-size: 12.5px; font-weight: 650; padding: 7px 14px;
  border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--ink-2); background: rgba(255,255,255,.6);
  transition: all .18s;
}
.foot-soc:hover { background: #fff; border-color: var(--accent); color: var(--accent-ink); }
.foot-col h4 {
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--accent-ink); margin-bottom: 14px;
}
.foot-col a, .foot-col span {
  display: block; font-size: 13.5px; padding: 5px 0; transition: color .18s;
}
.foot-col a:hover { color: var(--accent-ink); }
.foot-soon { color: var(--ink-4) !important; font-size: 12.5px !important; }
.foot-bottom {
  border-top: 1px solid var(--line-2); padding-top: 22px;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12px; color: rgba(255,255,255,.45);
}

/* ============================================================
 * 其他
 * ============================================================ */
.empty {
  padding: 60px 20px; text-align: center; color: var(--ink-3);
  background: var(--surface-2); border-radius: var(--radius); font-size: 14.5px;
}
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  background: #2e2a24; color: #fff;
  padding: 13px 22px; border-radius: 11px; font-size: 14px; font-weight: 600;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none;
  transition: opacity .24s, transform .24s; z-index: 200;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-err { background: var(--danger); }
.skeleton { color: transparent !important; background: var(--surface-3) !important; border-radius: 6px; }

/* ============================================================
 * 响应式 —— 手机优先，逐级向上适配
 * ============================================================ */

/* ≥ 560px：表单两列 */
@media (min-width: 560px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .rules-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-list { grid-template-columns: 1fr 1fr; }
  .commute-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(4, 1fr); }
  .foot-bottom { flex-direction: row; justify-content: space-between; }
  .wa-txt { display: inline; }
  .near-row { padding: 15px 18px; }
}

/* ≥ 720px：平板 */
@media (min-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 28px; }
  .header-inner { padding: 0 28px; height: 72px; }
  .main-nav { display: flex; }
  .menu-btn { display: none; }
  .city-select { display: block; }
  .mobile-menu { display: none !important; }

  .hero { padding: 74px 0 66px; }
  .hero h1 { font-size: 44px; }
  .hero p.sub { font-size: 16.5px; }
  .hero-search { grid-template-columns: 1.3fr 1fr 1fr auto; align-items: end; }
  .hero-search .btn { padding: 0 24px; height: 52px; }
  .hero-search select, .hero-search input { padding: 22px 14px 9px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 24px; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }

  .section { padding: 66px 0; }
  .section-head h2 { font-size: 29px; }
  .section-head h2::before { height: 28px; }

  .page-hero { padding: 60px 0 56px; }
  .page-hero h1 { font-size: 38px; }

  .gallery { grid-template-columns: 2fr 1fr; gap: 10px; }
  .gallery-thumbs { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; }
  .gallery-main { aspect-ratio: auto; height: 100%; min-height: 380px; }

  .detail-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .detail-head h1 { font-size: 31px; }
  .spec-grid { grid-template-columns: repeat(4, 1fr); }

  .form-card { padding: 28px 26px; }
  .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 28px; }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 34px; }
  .qr-placeholder { width: 170px; height: 170px; }

  .float-wa { right: 24px; bottom: 24px; padding: 14px 20px; }
}

/* ≥ 1000px：桌面 */
@media (min-width: 1000px) {
  .hero h1 { font-size: 50px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .adv-grid { grid-template-columns: repeat(4, 1fr); }
  .rev-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }

  .list-layout { grid-template-columns: 286px 1fr; gap: 28px; }
  .filters { position: sticky; top: 92px; }
  .filters-head { cursor: default; }
  .filters .f-chev { display: none; }
  .filters.collapsed .filters-body { display: block; }

  /* 首页：左侧筛选栏吸附跟随，右侧房源网格 */
  .home-split { grid-template-columns: 288px 1fr; gap: 28px; }
  .home-side {
    position: sticky; top: 92px;
    max-height: calc(100vh - 116px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .home-main .grid { grid-template-columns: repeat(2, 1fr); }

  .map-canvas { aspect-ratio: 16/10; }
  .map-results { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

  .detail-page { padding: 30px 0 70px; }
  .gallery-main { min-height: 480px; }
}

/* ≥ 1180px */
@media (min-width: 1180px) {
  .grid { gap: 26px; }
  .hero h1 { font-size: 54px; }
  .home-split { grid-template-columns: 300px 1fr; gap: 34px; }
  .home-main .grid { grid-template-columns: repeat(3, 1fr); }
}
