/* =====================================================================
   铂登浩富房地产代理有限公司 · 官网设计系统
   红白配色（品牌红 #C8102E 占位，待替换 LOGO 实际色值）
   移动端优先响应式 · 纯静态原型（后续 1:1 映射 WordPress 模板）
   ===================================================================== */

:root {
  /* 品牌色 */
  --brand-red: #C8102E;        /* 主红（占位，待替换为 LOGO 实际红） */
  --brand-red-600: #A30D26;    /* 深红 hover */
  --brand-red-50: #FCEBED;     /* 浅红底 */
  --brand-gold: #C9A24B;       /* 点缀金（高端感，慎用） */

  /* 中性 */
  --white: #FFFFFF;
  --ink: #1A1A1A;              /* 正文 */
  --ink-2: #4A4A4A;
  --gray-50: #F7F7F8;
  --gray-100: #EFEFF1;
  --gray-200: #E2E2E5;
  --gray-300: #C9C9CE;
  --line: #E6E6E9;

  /* 反馈 */
  --ok: #2E7D32;
  --warn: #C8741B;
  --err: #C8102E;

  /* 排版 */
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* 尺度 */
  --max: 1180px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(20, 20, 30, 0.08);
  --shadow-sm: 0 2px 10px rgba(20, 20, 30, 0.06);
  --header-h: 64px;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--brand-red); outline-offset: 2px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--alt { background: var(--gray-50); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.section-head .eyebrow {
  color: var(--brand-red); font-weight: 700; letter-spacing: 2px;
  font-size: 13px; text-transform: uppercase;
}
.section-head h2 { font-size: 28px; margin: 8px 0 10px; color: var(--ink); }
.section-head p { color: var(--ink-2); font-size: 15px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600;
  transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand-red); color: #fff; }
.btn-primary:hover { background: var(--brand-red-600); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid var(--brand-red); color: var(--brand-red); background: #fff; }
.btn-outline:hover { background: var(--brand-red-50); }
.btn-ghost { color: var(--ink); border: 1px solid var(--gray-200); }
.btn-ghost:hover { border-color: var(--brand-red); color: var(--brand-red); }
.btn-lg { padding: 14px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 38px; height: 38px; border-radius: 9px; object-fit: cover; display: block;
  background: var(--brand-red); flex: none;
}
.brand__name { font-weight: 800; font-size: 17px; color: var(--ink); line-height: 1.1; }
.brand__name small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-2); letter-spacing: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500;
  transition: .15s;
}
.nav a:hover, .nav a.is-active { color: var(--brand-red); background: var(--brand-red-50); }
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone { font-weight: 700; color: var(--brand-red); font-size: 15px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 8px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; transition: .2s; }

/* mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 16px 16px; transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s;
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--gray-100); }
  .header__phone { display: none; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.45) 100%),
    radial-gradient(1200px 400px at 80% -10%, rgba(200,16,46,.10), transparent 60%),
    url("../img/photos/gz-aerial.jpg") center 42% / cover no-repeat;
  padding: 72px 0 64px;
}
.hero__sky { display: none; }
.hero__sky { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; pointer-events: none; z-index: 0;
  background: url("../img/skyline.svg") right bottom no-repeat; background-size: 1040px auto; opacity: .5; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: 40px; line-height: 1.2; color: var(--ink); margin-bottom: 16px; }
.hero h1 .hl { color: var(--brand-red); }
.hero p { font-size: 17px; color: var(--ink-2); margin-bottom: 26px; max-width: 560px; }
.br-pc { display: inline; }
@media (max-width: 860px) { .br-pc { display: none; } }
.hero .kw { color: var(--brand-red); font-weight: 600; }
.hero__motto { display: inline-flex; align-items: center; margin-bottom: 24px; padding: 8px 16px; border-radius: 999px; background: var(--brand-red-50); border: 1px solid #F6D9D9; font-size: 15px; font-weight: 700; color: var(--brand-red); letter-spacing: .02em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 28px; margin-top: 38px; }
.hero__stats .num { font-size: 30px; font-weight: 800; color: var(--brand-red); }
.hero__stats .lbl { font-size: 13px; color: var(--ink-2); }
.hero__card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px;
  border: 1px solid var(--line);
}
.hero__card h3 { font-size: 18px; margin-bottom: 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-red); outline: none; }
.field textarea { resize: vertical; min-height: 92px; }
.form-note { font-size: 12px; color: var(--gray-300); margin-top: 8px; }

/* ---------- business entry ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px;
  transition: .18s; text-align: left;
}
.biz:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-red); }
.biz__tag { display: inline-block; background: var(--brand-red-50); color: var(--brand-red); border-radius: 10px; padding: 7px 14px; font-size: 15.5px; font-weight: 700; margin-bottom: 14px; }
.biz p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- listing cards ---------- */
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: .18s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 16 / 10; background: var(--gray-100); }
.card__tag {
  position: absolute; top: 12px; left: 12px; background: var(--brand-red); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
}
.card__price { position: absolute; bottom: 12px; left: 12px; background: rgba(26,26,26,.82); color: #fff; font-size: 14px; font-weight: 700; padding: 5px 10px; border-radius: 6px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__title { font-size: 16.5px; font-weight: 700; }
.card__meta { font-size: 13px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.card__meta b { color: var(--brand-red); }
.card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--gray-100); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }

/* ---------- filter bar ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }

/* 多维筛选面板（区域/类型/租金/面积） */
.filterpanel { border: 1px solid #eee; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px; background: #fff; }
.frow { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; }
.frow + .frow { border-top: 1px dashed #f0f0f0; }
.frow__label { flex: 0 0 64px; font-size: 13.5px; font-weight: 600; color: var(--ink); padding-top: 5px; }
.frow__opts { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.fopt { border: 0; background: none; cursor: pointer; font-size: 13.5px; color: var(--ink-2); padding: 5px 10px; border-radius: 6px; font-family: inherit; }
.fopt:hover { color: var(--brand-red); background: var(--brand-red-50); }
.fopt.is-active { color: var(--brand-red); background: var(--brand-red-50); font-weight: 700; }
.filterpanel__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f0f0f0; font-size: 13.5px; color: var(--ink-2); }
.filterpanel__meta b { color: var(--brand-red); font-size: 15px; }
.filterpanel__clear { border: 0; background: none; cursor: pointer; color: var(--ink-2); font-size: 13px; text-decoration: underline; font-family: inherit; }
.filterpanel__clear:hover { color: var(--brand-red); }
@media (max-width: 640px) {
  .frow { flex-direction: column; gap: 4px; }
  .frow__label { padding-top: 0; }
}
.chip {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--gray-200); background: #fff;
  font-size: 14px; color: var(--ink-2); transition: .15s; font-weight: 500;
}
.chip:hover { border-color: var(--brand-red); color: var(--brand-red); }
.chip.is-active { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }

/* ---------- cases / news ---------- */
.case-grid, .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: .18s; }
.case:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.case__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.case__deal { font-size: 22px; font-weight: 800; color: var(--brand-red); }
.case h3 { font-size: 17px; margin-bottom: 6px; }
.case p { font-size: 13.5px; color: var(--ink-2); }
.news { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .18s; display: flex; flex-direction: column; }
.news:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news__media { position: relative; aspect-ratio: 16/9; background: var(--gray-100); overflow: hidden; }
.news__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.news__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news__date { font-size: 12.5px; color: var(--brand-red); font-weight: 600; }
.news__title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.news__excerpt { font-size: 13.5px; color: var(--ink-2); flex: 1; }

/* ---------- article detail ---------- */
.article__cover { aspect-ratio: 16/9; background: var(--gray-100); border-radius: var(--radius); display: grid; place-items: center; color: #b9b9bf; font-size: 14px; margin-bottom: 28px; }
.article__body { font-size: 16px; line-height: 1.85; color: var(--ink); }
.article__body h2 { font-size: 21px; margin: 30px 0 12px; color: var(--ink); }
.article__body h2::before { content: ""; display: inline-block; width: 5px; height: 18px; background: var(--brand-red); border-radius: 3px; margin-right: 10px; vertical-align: -2px; }
.article__body p { margin-bottom: 16px; color: var(--ink-2); }
.article__body ul { margin: 0 0 16px 22px; color: var(--ink-2); }
.article__body li { margin-bottom: 8px; }
.article__body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 14.5px; }
.article__body th, .article__body td { border: 1px solid var(--gray-100); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--ink-2); }
.article__body th { background: var(--gray-50); color: var(--ink); font-weight: 600; white-space: nowrap; }
.article__body strong { color: var(--ink); }
.article__body .article__note { font-size: 13.5px; color: var(--gray-300); background: var(--gray-50); border-left: 3px solid var(--brand-red); padding: 12px 16px; border-radius: 6px; margin: 22px 0; }
.article__cta { margin-top: 36px; background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-600) 100%); color: #fff; border-radius: var(--radius); padding: 32px; text-align: center; }
.article__cta h3 { font-size: 20px; margin-bottom: 8px; }
.article__cta p { opacity: .92; font-size: 14.5px; margin-bottom: 18px; }
.article__cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.article__cta .btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.article__cta .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-red); color: #fff; border-radius: var(--radius); padding: 44px; text-align: center; }
.cta-band h2 { font-size: 26px; margin-bottom: 10px; }
.cta-band p { opacity: .92; margin-bottom: 22px; }
.cta-band .btn-outline { border-color: #fff; color: #fff; background: transparent; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- FAQ (GEO) ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid #eee; border-radius: var(--radius); padding: 0 22px; margin-bottom: 14px; }
.faq__item summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 18px 30px 18px 0; position: relative; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; line-height: 1; color: var(--brand-red); font-weight: 700; }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { padding: 0 0 18px; color: var(--ink-2); line-height: 1.85; margin: 0; }

/* ---------- page hero (inner) ---------- */
.page-hero { background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-600) 100%); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: 32px; margin-bottom: 8px; }
.page-hero p { opacity: .9; max-width: 640px; }
.breadcrumb { font-size: 13px; opacity: .85; margin-bottom: 12px; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-grid img, .about-media { aspect-ratio: 4/3; background: var(--gray-100); border-radius: var(--radius); }
.about-text h2 { font-size: 26px; margin-bottom: 14px; }
.about-text p { color: var(--ink-2); margin-bottom: 14px; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 20px; }
.value { display: flex; gap: 12px; align-items: flex-start; }
.value .dot { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--brand-red-50); color: var(--brand-red); display: grid; place-items: center; font-weight: 800; }
.value h4 { font-size: 15px; margin-bottom: 2px; }
.value p { font-size: 13px; color: var(--ink-2); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h3 { font-size: 20px; margin-bottom: 16px; }
.contact-info .row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray-100); }
.contact-info .row .ic { color: var(--brand-red); font-weight: 800; }
.contact-info .row b { display: block; font-size: 14px; }
.contact-info .row span { font-size: 13.5px; color: var(--ink-2); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.map-placeholder { aspect-ratio: 16/9; background: var(--gray-100); border-radius: var(--radius); display: grid; place-items: center; color: var(--gray-300); margin-top: 20px; }

/* ---------- 联系方式页地图 ---------- */
.contact-map { aspect-ratio: 16/9; min-height: 220px; border-radius: var(--radius); overflow: hidden; background: #f3f4f6; position: relative; margin-top: 20px; }
.contact-map__tip { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #9aa0a6; font-size: 13px; text-align: center; padding: 0 12px; }
@media (max-width: 768px) { .contact-map { min-height: 200px; } }

/* ---------- footer ---------- */
.footer { background: #161616; color: #cfcfcf; padding: 48px 0 24px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer a { color: #cfcfcf; display: block; padding: 5px 0; }
.footer a:hover { color: #fff; }
.footer .brand__name { color: #fff; }
.footer .brand__name small { color: #9a9a9a; }
.footer__about p { color: #9a9a9a; font-size: 13.5px; margin-top: 12px; }
.footer__bottom { border-top: 1px solid #2a2a2a; margin-top: 32px; padding-top: 18px; font-size: 12.5px; color: #8a8a8a; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer__bottom a { display: inline; padding: 0 6px; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: 10px; font-size: 14px;
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 99;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: var(--ok); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .listing-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero {
    background:
      linear-gradient(rgba(255,255,255,.93), rgba(255,255,255,.9)),
      url("../img/photos/gz-aerial.jpg") center 42% / cover no-repeat;
  }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 48px 0; }
  .section-head h2 { font-size: 24px; }
}
@media (max-width: 560px) {
  .listing-grid, .case-grid, .news-grid, .biz-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 18px; }
  .cta-band { padding: 32px 22px; }
}

/* ---------- about visual (brandcard + stats) ---------- */
.about-visual { display: grid; gap: 18px; }
.brandcard { position: relative; overflow: hidden; border-radius: var(--radius); background: linear-gradient(150deg, #ffffff 0%, var(--brand-red-50) 100%); border: 1px solid #F6D9D9; padding: 36px 32px 96px; }
.brandcard__eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--brand-red); margin-bottom: 14px; }
.brandcard__slogan { font-size: 34px; line-height: 1.4; font-weight: 900; color: var(--ink); }
.brandcard__sub { margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.about-grid .brandcard__sky { position: absolute; left: 0; right: 0; bottom: -4px; width: 100%; height: auto; aspect-ratio: auto; background: none; border-radius: 0; opacity: .55; pointer-events: none; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 16px 10px; text-align: center; }
.stat b { display: block; font-size: 22px; font-weight: 900; color: var(--brand-red); }
.stat span { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-2); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .brandcard__slogan { font-size: 28px; } }

/* ---------- listing detail gallery (carousel, 链家式缩略图条) ---------- */
/* 房源详情顶部布局：图廊约62% + 预约侧栏约38%，侧栏吸顶；minmax(0)防内容撑爆列宽 */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr); gap: 40px; align-items: start; }
.detail-layout > * { min-width: 0; }
.detail-side { position: sticky; top: 90px; }
@media (max-width: 960px) { .detail-layout { grid-template-columns: 1fr; } .detail-side { position: static; } }
.gallery__main { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: var(--gray-100); }
.gallery__main > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; background: rgba(17,24,39,.62); color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 6px; letter-spacing: .06em; }
.gallery__stripbar { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.gallery__nav { flex: 0 0 38px; width: 38px; height: 46px; border: none; border-radius: 8px; background: #2b2f36; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.gallery__nav:hover { background: var(--brand-red); }
.gallery__thumbs { display: flex; gap: 8px; overflow-x: auto; flex: 1; min-width: 0; padding: 2px; scrollbar-width: none; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.gallery__thumb { flex: 0 0 104px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--gray-100); }
.gallery__thumb > img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .85; transition: opacity .2s; }
.gallery__thumb:hover > img { opacity: 1; }
.gallery__thumb.is-active { border-color: var(--brand-red); }
.gallery__thumb.is-active > img { opacity: 1; }
@media (max-width: 860px) { .gallery__thumb { flex-basis: 84px; } .gallery__nav { flex-basis: 30px; width: 30px; height: 40px; font-size: 22px; } }

/* ===== 房源实拍（详情页照片墙） ===== */
.photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.photo-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--gray-100); cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.photo-grid figure:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17,24,39,.14); }
.photo-grid figure:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 860px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- 房源实拍大图查看器（lightbox） ---------- */
.lightbox { position: fixed; inset: 0; z-index: 999; background: rgba(10,12,16,.92); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox__stage { margin: 0; max-width: min(1100px, 92vw); }
.lightbox__img { display: block; max-width: 100%; max-height: 80vh; border-radius: 8px; }
.lightbox__count { text-align: center; color: #fff; font-size: 14px; margin-top: 12px; letter-spacing: .08em; }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox__close:hover { background: var(--brand-red); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: none; border-radius: 8px; background: rgba(255,255,255,.14); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox__nav:hover { background: var(--brand-red); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
@media (max-width: 860px) { .lightbox__nav { width: 38px; height: 52px; font-size: 24px; } }

/* ===== 侧边咨询悬浮框 ===== */
.side-float{position:fixed;right:16px;top:50%;transform:translateY(-50%);z-index:990}
.side-float__inner{position:relative;display:flex;justify-content:center}
.side-btn{display:flex;flex-direction:column;align-items:center;gap:4px;width:62px;padding:12px 0 10px;background:#fff;border:1px solid #eee;border-radius:31px;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;font-family:inherit;transition:box-shadow .2s,transform .2s}
.side-btn:hover{box-shadow:0 6px 22px rgba(0,0,0,.18);transform:translateY(-2px)}
.side-btn svg{width:24px;height:24px;fill:#E60012}
.side-btn span{font-size:13px;color:#E60012;font-weight:600;letter-spacing:1px}
.side-qr{position:absolute;right:74px;top:50%;transform:translateY(-50%) translateX(10px);width:180px;background:#fff;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,.18);padding:14px 14px 10px;text-align:center;opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility .25s}
.side-qr img{display:block;width:100%;height:auto;border-radius:6px}
.side-qr p{margin:8px 0 2px;font-size:12px;color:#666}
.side-float.open .side-qr,.side-float:hover .side-qr{opacity:1;visibility:visible;transform:translateY(-50%) translateX(0)}
.side-qr::after{content:"";position:absolute;right:-6px;top:50%;width:12px;height:12px;background:#fff;transform:translateY(-50%) rotate(45deg);border-radius:2px}
@media (max-width:768px){
  .side-float{right:10px}
  .side-btn{width:52px;padding:10px 0 8px}
  .side-qr{right:62px;width:150px}
}

/* ===== 房源详情 · 电话咨询卡（参考链家经纪人卡位） ===== */
.consult-card{background:#fff;border:1px solid #ececec;border-radius:14px;padding:18px;box-shadow:0 4px 16px rgba(0,0,0,.06);margin-bottom:16px}
.consult-card__head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.consult-card__head img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:1px solid #eee}
.consult-card__name{font-weight:700;font-size:15px}
.consult-card__sub{font-size:12px;color:#8a8a8a;margin-top:2px}
.consult-card__phone{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:13px 0;background:#E60012;color:#fff;border-radius:9px;font-size:18px;font-weight:700;text-decoration:none;letter-spacing:1px}
.consult-card__phone:hover{background:#c5000f;color:#fff}
.consult-card__phone svg{width:18px;height:18px;fill:#fff}
.consult-card__note{margin:10px 0 0;font-size:12px;color:#999;text-align:center;line-height:1.6}

/* ===== 房源详情 · 位置与交通（高德地图） ===== */
.location{background:#fff;border:1px solid #ececec;border-radius:14px;padding:22px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.location h2{font-size:22px;margin-bottom:14px}
.location__grid{display:flex;gap:20px;flex-wrap:wrap}
.location__map{flex:1 1 380px;min-width:300px;height:300px;border-radius:10px;overflow:hidden;background:#f3f4f6;position:relative}
.location__map-tip{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#9aa0a6;font-size:13px;text-align:center;padding:0 12px}
.location__info{flex:1 1 260px;min-width:240px;font-size:14px;color:var(--ink-2);line-height:2}
.location__info p{margin:0 0 6px;padding-bottom:6px;border-bottom:1px dashed #eee}
.location__label{display:inline-block;width:42px;color:var(--gray-300);font-weight:600;margin-right:8px}
@media (max-width:768px){.location__grid{flex-direction:column}.location__map{height:240px}}

/* ===== 高德地图标记标签（只显示大厦名） ===== */
.amap-marker-label{border:1px solid #E60012 !important;background:#fff !important;border-radius:14px;padding:3px 12px !important;box-shadow:0 2px 8px rgba(0,0,0,.15);white-space:nowrap}
.amap-label-name{font-size:13px;font-weight:700;color:#E60012}

/* ===== 房源信息（链家式两列字段表） ===== */
.specs{display:grid;grid-template-columns:1fr 1fr;gap:0 48px;background:#fff;border:1px solid #ececec;border-radius:14px;padding:10px 24px;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.specs__item{display:flex;align-items:baseline;padding:13px 0;border-bottom:1px dashed #eee;font-size:14px}
.specs__item:nth-last-child(-n+2){border-bottom:none}
.specs__label{flex:0 0 84px;color:#9aa0a6}
.specs__value{color:var(--ink);font-weight:600;line-height:1.6}
@media (max-width:768px){.specs{grid-template-columns:1fr;padding:6px 18px}.specs__item:nth-last-child(-n+2){border-bottom:1px dashed #eee}.specs__item:last-child{border-bottom:none}}

/* ===== 品牌升级公告 ===== */
.announce{display:flex;gap:28px;align-items:flex-start;background:#fff;border:1px solid #ececec;border-radius:16px;padding:34px 36px;box-shadow:0 10px 34px rgba(0,0,0,.06)}
.announce__logo{flex:0 0 156px;text-align:center}
.announce__logo img{width:128px;height:auto;border-radius:14px;box-shadow:0 4px 14px rgba(0,0,0,.08)}
.announce__body{flex:1}
.announce__body p{margin:0 0 14px;line-height:1.95;color:var(--ink-2);font-size:15px}
.announce__body p:last-child{margin-bottom:0}
.announce__body strong{color:var(--ink)}
.announce__date{font-size:13px;color:var(--gray-300);letter-spacing:.06em;margin-bottom:12px!important}
@media (max-width:760px){.announce{flex-direction:column;align-items:center;gap:16px;padding:24px 20px}.announce__logo{flex-basis:auto}.announce__body p{font-size:14.5px}}
