@charset "UTF-8";
/* =============================================================================
 * xiaoqu.css — 盛家房产 · 热卖小区（列表页 /xiaoqu.html + 详情页 /xiaoqu/{id}.html）
 *
 * 数据源：广告位「热买小区banner」+ 图文分类「热卖小区」
 * 栅格：沿用 sjfc-core.css 的 .sj-wrap（1400px 居中）
 * 断点：1440 / 1200 / 992 / 768 / 480（PC 为主，逐级收敛到单栏）
 *
 * 版块索引
 *   一、列表页  .sj-xq-*   hero / 区域筛选 / 卡片墙 / 分页 / 空态
 *   二、详情页  .sj-xqd-*  hero / 关键信息条 / 图集 / 正文 / 服务保障 / 顾问卡 / 悬浮条
 *   三、共用    .sj-xq-cta-*  底部行动区
 * ========================================================================== */

/* =============================================================================
 * 一、列表页
 * ========================================================================== */
.sj-xq {
    --xq-blue: #01539c;
    --xq-blue-d: #08447f;
    --xq-red: #cf0000;
    --xq-ink: #333333;
    --xq-gray: #666666;
    --xq-line: #e6e9ef;
    --xq-soft: #f5f8fb;
    --xq-ease: cubic-bezier(.22, .61, .36, 1);
    overflow: hidden;
}

/* ── 顶部横幅 ─────────────────────────────────────────────────────────── */
.sj-xq-hero {
    position: relative;
    display: flex;
    align-items: center;
    /* 高度跟着背景图走：横幅是 1920×300 的成品图条，
       aspect-ratio 与图片一致 → 整幅按宽度等比缩放、不裁切不放大，
       图片底部的橙色分隔线完整露出；
       min-height 兜住图片原始高度（300px），窄屏也不至于把文案挤爆 */
    aspect-ratio: 1920 / 300;
    /* width 必须写死 100%：只有宽度先定下来，aspect-ratio 才会按宽度算高度；
       否则浏览器会反过来拿 min-height 乘比例，得出 1920px 的固定宽度，
       窄屏下横幅被撑到 1920 宽、右侧连同文案一起被裁掉 */
    width: 100%;
    min-height: 300px;
    background-color: #0b3f72;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

/* 左深右浅的横向渐变：文案压在深色一侧，图片右侧细节仍可见 */
.sj-xq-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 33, 61, .90) 0%, rgba(6, 33, 61, .72) 46%, rgba(6, 33, 61, .48) 100%);
}

.sj-xq-hero > .sj-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sj-xq-hero__inner {
    /* 横幅总高按图片比例锁定（1920 宽时正好 300px = 图片原始高度），
       内边距收紧，文案整块落在图上的深色区里、不压到图片下沿的橙色线 */
    padding: 30px 0 26px;
}

.sj-xq-crumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, .72);
}

.sj-xq-crumb a {
    color: rgba(255, 255, 255, .86);
    transition: color .2s var(--xq-ease);
}

.sj-xq-crumb a:hover {
    color: #fff;
}

.sj-xq-crumb i {
    font-style: normal;
    opacity: .5;
}

.sj-xq-hero__kicker {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.sj-xq-hero__title {
    margin: 12px 0 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 1px;
    color: #fff;
}

.sj-xq-hero__sub {
    margin: 14px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

.sj-xq-hero__desc {
    max-width: 660px;
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .82);
}

/* 卖点胶囊：描边而非实底，压在照片上也干净 */
.sj-xq-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.sj-xq-hero__tags li {
    height: 30px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 15px;
    font-size: 13.5px;
    line-height: 28px;
    color: rgba(255, 255, 255, .92);
}

/* ── 主体 ─────────────────────────────────────────────────────────────── */
.sj-xq-main {
    padding: 40px 0 90px;
    background: #fff;
}

/* 区域筛选条 */
.sj-xq-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    border: 1px solid var(--xq-line);
    border-radius: 12px;
    background: var(--xq-soft);
}

.sj-xq-bar__label {
    flex: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--xq-ink);
}

.sj-xq-bar__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sj-xq-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 18px;
    border: 1px solid #d8dee7;
    border-radius: 18px;
    background: #fff;
    font-size: 15px;
    color: var(--xq-ink);
    transition: all .22s var(--xq-ease);
}

.sj-xq-pill em {
    font-style: normal;
    font-size: 12px;
    color: #9aa4b2;
    transition: color .22s var(--xq-ease);
}

.sj-xq-pill:hover {
    border-color: var(--xq-blue);
    color: var(--xq-blue);
}

.sj-xq-pill.is-active {
    border-color: var(--xq-blue);
    background: var(--xq-blue);
    color: #fff;
}

.sj-xq-pill.is-active em {
    color: rgba(255, 255, 255, .72);
}

.sj-xq-bar__count {
    flex: none;
    margin-left: auto;
    font-size: 14px;
    color: var(--xq-gray);
}

.sj-xq-bar__count b {
    color: var(--xq-red);
    font-weight: 700;
}

/* 卡片墙 */
.sj-xq-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.sj-xq-card {
    border: 1px solid var(--xq-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: transform .3s var(--xq-ease), box-shadow .3s var(--xq-ease), border-color .3s var(--xq-ease);
}

.sj-xq-card:hover {
    transform: translateY(-6px);
    border-color: rgba(1, 83, 156, .28);
    box-shadow: 0 18px 38px rgba(1, 35, 66, .12);
}

.sj-xq-card__link {
    display: block;
    height: 100%;
    color: inherit;
}

.sj-xq-card__pic {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: #eef2f7;
    overflow: hidden;
}

/* aspect-ratio 在新版浏览器生效；旧版用 padding-top 兜底 */
@supports not (aspect-ratio: 4 / 3) {
    .sj-xq-card__pic::before {
        content: "";
        display: block;
        padding-top: 75%;
    }

    .sj-xq-card__pic img {
        position: absolute;
        inset: 0;
    }
}

.sj-xq-card__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--xq-ease);
}

.sj-xq-card:hover .sj-xq-card__pic img {
    transform: scale(1.06);
}

/* 区域角标：压在图片左上，半透明黑底保证任何照片上都读得清 */
.sj-xq-card__area {
    position: absolute;
    top: 14px;
    left: 14px;
    height: 28px;
    padding: 0 12px;
    border-radius: 4px;
    background: rgba(1, 35, 66, .68);
    font-size: 13px;
    line-height: 28px;
    color: #fff;
    backdrop-filter: blur(2px);
}

.sj-xq-card__body {
    display: block;
    padding: 18px 20px 20px;
}

.sj-xq-card__name {
    display: block;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--xq-ink);
    /* 长名最多两行，卡片高度才整齐 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sj-xq-card:hover .sj-xq-card__name {
    color: var(--xq-blue);
}

.sj-xq-card__addr {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--xq-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sj-xq-card__promo {
    display: block;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--xq-line);
    font-size: 14px;
    line-height: 1.6;
    color: #8a94a3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sj-xq-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: var(--xq-blue);
}

.sj-xq-card__more svg {
    width: 16px;
    height: 16px;
    transition: transform .28s var(--xq-ease);
}

.sj-xq-card:hover .sj-xq-card__more svg {
    transform: translateX(4px);
}

/* 分页 */
.sj-xq-pager {
    margin-top: 48px;
}

.sj-xq-pager ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sj-xq-pager a,
.sj-xq-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--xq-line);
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
    color: var(--xq-ink);
    transition: all .22s var(--xq-ease);
}

.sj-xq-pager a:hover {
    border-color: var(--xq-blue);
    color: var(--xq-blue);
}

.sj-xq-pager .is-current a {
    border-color: var(--xq-blue);
    background: var(--xq-blue);
    color: #fff;
    font-weight: 700;
}

.sj-xq-pager .is-disabled {
    color: #b9c1cc;
    background: var(--xq-soft);
}

/* 空态 */
.sj-xq-empty {
    margin-top: 40px;
    padding: 76px 24px;
    border: 1px dashed #d8dee7;
    border-radius: 12px;
    background: var(--xq-soft);
    text-align: center;
}

.sj-xq-empty b {
    display: block;
    font-size: 22px;
    color: var(--xq-ink);
}

.sj-xq-empty p {
    margin: 14px 0 0;
    font-size: 15px;
    color: var(--xq-gray);
}

.sj-xq-empty__btn {
    display: inline-flex;
    align-items: center;
    height: 46px;
    margin-top: 24px;
    padding: 0 28px;
    border-radius: 23px;
    background: var(--xq-red);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

/* =============================================================================
 * 二、详情页
 * ========================================================================== */
.sj-xqd {
    --xqd-blue: #01539c;
    --xqd-blue-d: #08447f;
    --xqd-red: #cf0000;
    --xqd-ink: #333333;
    --xqd-gray: #666666;
    --xqd-line: #e6e9ef;
    --xqd-soft: #f5f8fb;
    --xqd-ease: cubic-bezier(.22, .61, .36, 1);
    /* 必须用 clip 而不是 hidden：overflow:hidden 会产生滚动容器，
     * 让侧栏的 position:sticky 以它为参照而彻底失效（本页有吸顶侧栏，踩过） */
    overflow-x: clip;
}

/* ── 顶部横幅 ─────────────────────────────────────────────────────────── */
.sj-xqd-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 400px;
    padding-bottom: 96px;
    background: #0b3f72 center / cover no-repeat;
    color: #fff;
}

.sj-xqd-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 33, 61, .92) 0%, rgba(6, 33, 61, .74) 48%, rgba(6, 33, 61, .50) 100%);
}

.sj-xqd-hero > .sj-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.sj-xqd-hero__inner {
    padding: 78px 0 20px;
}

.sj-xqd-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, .72);
}

.sj-xqd-crumb a {
    color: rgba(255, 255, 255, .86);
    transition: color .2s var(--xqd-ease);
}

.sj-xqd-crumb a:hover {
    color: #fff;
}

.sj-xqd-crumb i {
    font-style: normal;
    opacity: .5;
}

.sj-xqd-hero__kicker {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.sj-xqd-hero__title {
    margin: 18px 0 0;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: .6px;
    color: #fff;
}

.sj-xqd-hero__sub {
    margin: 16px 0 0;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .8);
}

.sj-xqd-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.sj-xqd-hero__tags li {
    height: 32px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 16px;
    font-size: 14px;
    line-height: 30px;
    color: rgba(255, 255, 255, .92);
}

/* ── 关键信息条：上浮压在横幅下沿 ─────────────────────────────────────── */
.sj-xqd-facts-wrap {
    position: relative;
    z-index: 4;
    margin-top: -60px;
}

.sj-xqd-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 20px 46px rgba(1, 35, 66, .12);
    list-style: none;
    overflow: hidden;
}

.sj-xqd-facts > li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 26px 26px;
    border-right: 1px solid var(--xqd-line);
}

.sj-xqd-facts > li:last-child {
    border-right: 0;
}

.sj-xqd-facts__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(1, 83, 156, .08);
    color: var(--xqd-blue);
}

.sj-xqd-facts__ico svg {
    width: 22px;
    height: 22px;
}

.sj-xqd-facts__txt {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.sj-xqd-facts__txt i {
    font-style: normal;
    font-size: 13px;
    line-height: 1;
    color: #93a0b0;
}

.sj-xqd-facts__txt b {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--xqd-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── 主体两栏 ─────────────────────────────────────────────────────────── */
.sj-xqd-main {
    padding: 46px 0 90px;
    background: #fff;
}

.sj-xqd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    /* 刻意不用 align-items:start —— 那会让侧栏高度等于自身内容，
     * position:sticky 就没有可移动的空间，吸顶会彻底失效 */
    align-items: stretch;
    gap: 34px;
}

.sj-xqd-col {
    min-width: 0;
}

/* 通用白卡 */
.sj-xqd-card {
    padding: 30px 34px;
    border: 1px solid var(--xqd-line);
    border-radius: 14px;
    background: #fff;
}

.sj-xqd-card + .sj-xqd-card {
    margin-top: 24px;
}

.sj-xqd-card + .sj-xqd-punch,
.sj-xqd-punch + .sj-xqd-card {
    margin-top: 24px;
}

/* ── 图集 + 概况同排 ──────────────────────────────────────────────────── */
/* 后台原图为 300×400 竖版：图集通栏会被放大一倍多而发虚。
 * 这里把图收窄到 ≈1.05× 渲染（像素接近 1:1，最清晰），
 * 让出的右侧宽度承载「小区概况 / 置业服务」正文，版面不空、图文各占其位。 */
.sj-xqd-intro {
    display: grid;
    grid-template-columns: minmax(0, 322px) minmax(0, 1fr);
    align-items: stretch;
    gap: 26px;
}

/* 同排两卡不算「上下卡」，去掉默认的 24px 纵向间距 */
.sj-xqd-intro > .sj-xqd-card + .sj-xqd-card {
    margin-top: 0;
}

.sj-xqd-intro + .sj-xqd-punch,
.sj-xqd-intro + .sj-xqd-card {
    margin-top: 24px;
}

/* ── 图集 ─────────────────────────────────────────────────────────────── */
.sj-xqd-gal {
    align-self: start;
    padding: 12px 12px 14px;
}

.sj-xqd-gal__stage {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    background: #eef2f7;
    overflow: hidden;
}

@supports not (aspect-ratio: 3 / 4) {
    .sj-xqd-gal__stage::before {
        content: "";
        display: block;
        padding-top: 133.33%;
    }

    .sj-xqd-gal__main {
        position: absolute;
        inset: 0;
    }
}

.sj-xqd-gal__main {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--xqd-ease);
}

/* 图已按原尺寸渲染，悬停只做极轻微推近，不再放大失真 */
.sj-xqd-gal:hover .sj-xqd-gal__main {
    transform: scale(1.015);
}

.sj-xqd-gal__badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    height: 26px;
    padding: 0 11px;
    border-radius: 13px;
    background: rgba(1, 35, 66, .66);
    font-size: 12px;
    line-height: 26px;
    color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(2px);
}

.sj-xqd-gal__badge b {
    font-weight: 700;
    color: #fff;
}

.sj-xqd-gal__zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: rgba(1, 35, 66, .58);
    color: #fff;
    cursor: pointer;
    transition: background .22s var(--xqd-ease);
}

.sj-xqd-gal__zoom:hover {
    background: rgba(1, 35, 66, .82);
}

.sj-xqd-gal__zoom svg {
    width: 18px;
    height: 18px;
}

.sj-xqd-gal__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.sj-xqd-gal__thumb {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #eef2f7;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .22s var(--xqd-ease);
}

.sj-xqd-gal__thumb img {
    display: block;
    width: 100%;
    height: 64px;
    object-fit: cover;
    opacity: .72;
    transition: opacity .22s var(--xqd-ease);
}

.sj-xqd-gal__thumb:hover img,
.sj-xqd-gal__thumb.is-active img {
    opacity: 1;
}

.sj-xqd-gal__thumb.is-active {
    border-color: var(--xqd-blue);
}

/* 只有一张实拍图时的一句话说明，替代空缩略图条，卡片高度与右侧正文齐平 */
.sj-xqd-gal__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--xqd-soft);
    font-size: 12.5px;
    line-height: 1.5;
    color: #6b7684;
}

.sj-xqd-gal__meta svg {
    flex: none;
    width: 15px;
    height: 15px;
    color: var(--xqd-blue);
}

/* 卖点引文：给一句「人话」摘要，扫读时先抓到重点 */
.sj-xqd-punch {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
    padding: 24px 30px 24px 56px;
    border-left: 3px solid var(--xqd-blue);
    border-radius: 0 12px 12px 0;
    background: var(--xqd-soft);
}

.sj-xqd-punch__mark {
    position: absolute;
    top: 10px;
    left: 22px;
    font-size: 46px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(1, 83, 156, .22);
}

.sj-xqd-punch p {
    margin: 0;
    font-size: 17px;
    line-height: 1.75;
    color: var(--xqd-ink);
}

/* ── 正文分节 ─────────────────────────────────────────────────────────── */
.sj-xqd-sec__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

/* 标题左侧的短竖条：一眼分清章节，不额外占高度 */
.sj-xqd-sec__title {
    position: relative;
    flex: none;
    margin: 0;
    padding-left: 16px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--xqd-ink);
}

.sj-xqd-sec__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 20px;
    margin-top: -10px;
    border-radius: 2px;
    background: var(--xqd-blue);
}

.sj-xqd-sec__line {
    flex: 1;
    height: 1px;
    background: var(--xqd-line);
}

.sj-xqd-sec__body p {
    margin: 0;
    font-size: 16px;
    line-height: 2;
    color: #4a5461;
    text-align: justify;
}

.sj-xqd-sec__body p + p {
    margin-top: 14px;
}

/* 服务清单：勾选符号 + 悬挂缩进，逐条对齐 */
.sj-xqd-sec__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sj-xqd-sec__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    border: 1px solid var(--xqd-line);
    border-radius: 10px;
    background: #fcfdfe;
    font-size: 15px;
    line-height: 1.7;
    color: #4a5461;
}

.sj-xqd-sec__tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: rgba(1, 83, 156, .1);
    color: var(--xqd-blue);
}

.sj-xqd-sec__tick svg {
    width: 12px;
    height: 12px;
}

/* 条目数为奇数时，最后一条通栏 —— 否则右下角会空出半格，看着像漏了内容 */
.sj-xqd-sec__list > li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* ── 图集右侧：小区概况 + 置业服务 ────────────────────────────────────── */
/* 与竖版图集等高对齐；正文字段弹性伸缩，两节之间用虚线分隔 */
.sj-xqd-brief {
    display: flex;
    flex-direction: column;
    padding: 26px 30px 28px;
}

.sj-xqd-brief .sj-xqd-sec__head {
    margin-bottom: 16px;
}

/* 第二节与第一节之间的虚线分隔 */
.sj-xqd-brief__head--gap {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px dashed var(--xqd-line);
}

/* 段落区吸收剩余高度，卡片不足时也不会在底部留出断层 */
.sj-xqd-brief__body {
    flex: 1 1 auto;
}

.sj-xqd-brief__body p {
    line-height: 2.05;
    text-align: left;
}

.sj-xqd-brief__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}

.sj-xqd-brief__list li {
    padding: 12px 15px;
}

/* ── 服务保障 ─────────────────────────────────────────────────────────── */
.sj-xqd-guard__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sj-xqd-guard__list > li {
    padding: 22px 20px;
    border: 1px solid var(--xqd-line);
    border-radius: 12px;
    background: #fcfdfe;
    transition: border-color .26s var(--xqd-ease), box-shadow .26s var(--xqd-ease), transform .26s var(--xqd-ease);
}

.sj-xqd-guard__list > li:hover {
    transform: translateY(-4px);
    border-color: rgba(1, 83, 156, .28);
    box-shadow: 0 14px 30px rgba(1, 35, 66, .08);
}

.sj-xqd-guard__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(1, 83, 156, .08);
    color: var(--xqd-blue);
}

.sj-xqd-guard__ico svg {
    width: 22px;
    height: 22px;
}

.sj-xqd-guard__list b {
    display: block;
    margin-top: 14px;
    font-size: 16px;
    font-weight: 700;
    color: var(--xqd-ink);
}

.sj-xqd-guard__list p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.75;
    color: var(--xqd-gray);
}

/* ── 右侧栏 ───────────────────────────────────────────────────────────── */
.sj-xqd-side {
    min-width: 0;
}

/* 侧栏内容常比视口高：吸顶 + 内部滚动，滚到哪顾问卡都在手边。
 * 刻意不加 overscroll-behavior: contain —— 内层滚到底后要让滚轮继续带动整页，
 * 否则鼠标停在侧栏上时会「滚不动」。 */
.sj-xqd-side__sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 76px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.sj-xqd-side__sticky::-webkit-scrollbar {
    width: 6px;
}

.sj-xqd-side__sticky::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: rgba(1, 35, 66, .16);
}

/* 顾问卡 */
.sj-xqd-agent {
    padding: 26px 26px 24px;
    border-radius: 14px;
    background: linear-gradient(160deg, #0a4a87 0%, #063863 100%);
    color: #fff;
}

.sj-xqd-agent__hd {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sj-xqd-agent__ava {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .3);
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

.sj-xqd-agent__who {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sj-xqd-agent__who b {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.sj-xqd-agent__who i {
    font-style: normal;
    font-size: 13px;
    line-height: 1;
    color: rgba(255, 255, 255, .68);
}

.sj-xqd-agent__tip {
    margin: 18px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .84);
}

.sj-xqd-agent__meta {
    margin: 16px 0 0;
}

.sj-xqd-agent__meta > div {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 14px;
    line-height: 1.9;
}

.sj-xqd-agent__meta dt {
    flex: none;
    width: 62px;
    color: rgba(255, 255, 255, .58);
}

.sj-xqd-agent__meta dd {
    margin: 0;
    min-width: 0;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 拨号主按钮：整卡最显眼的一块 */
.sj-xqd-agent__tel {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    background: var(--xqd-red);
    color: #fff;
    transition: transform .24s var(--xqd-ease), box-shadow .24s var(--xqd-ease);
}

.sj-xqd-agent__tel:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(207, 0, 0, .36);
}

.sj-xqd-agent__tel-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
}

.sj-xqd-agent__tel-ico svg {
    width: 20px;
    height: 20px;
}

.sj-xqd-agent__tel-txt {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.sj-xqd-agent__tel-txt b {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .4px;
}

.sj-xqd-agent__tel-txt i {
    font-style: normal;
    font-size: 12px;
    line-height: 1;
    color: rgba(255, 255, 255, .78);
}

/* 顾问卡只保留「一键拨号」一个动作：在线留言入口已取消，
 * 「通话免费，仅用于房源沟通」的说明文案同步去掉 */

/* 侧栏白盒 */
.sj-xqd-side__box {
    margin-top: 20px;
    padding: 22px 24px 24px;
    border: 1px solid var(--xqd-line);
    border-radius: 14px;
    background: #fff;
}

.sj-xqd-side__title {
    position: relative;
    margin: 0 0 18px;
    padding-left: 14px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--xqd-ink);
}

.sj-xqd-side__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 16px;
    margin-top: -8px;
    border-radius: 2px;
    background: var(--xqd-blue);
}

/* 门店 */
.sj-xqd-store {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sj-xqd-store > li + li {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--xqd-line);
}

.sj-xqd-store b {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--xqd-ink);
}

.sj-xqd-store p {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--xqd-gray);
}

.sj-xqd-store span {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--xqd-gray);
}

.sj-xqd-store a {
    font-size: 14px;
    font-weight: 700;
    color: var(--xqd-red);
}

/* 附近小区 */
.sj-xqd-near {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sj-xqd-near > li + li {
    margin-top: 12px;
}

.sj-xqd-near a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 10px;
    color: inherit;
    transition: background .22s var(--xqd-ease);
}

.sj-xqd-near a:hover {
    background: var(--xqd-soft);
}

.sj-xqd-near__pic {
    display: block;
    flex: none;
    width: 72px;
    height: 54px;
    border-radius: 8px;
    background: #eef2f7;
    overflow: hidden;
}

.sj-xqd-near__pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--xqd-ease);
}

.sj-xqd-near a:hover img {
    transform: scale(1.08);
}

.sj-xqd-near__txt {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.sj-xqd-near__txt b {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--xqd-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sj-xqd-near a:hover .sj-xqd-near__txt b {
    color: var(--xqd-blue);
}

.sj-xqd-near__txt i {
    font-style: normal;
    font-size: 12px;
    line-height: 1.4;
    color: #93a0b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sj-xqd-side__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 42px;
    margin-top: 18px;
    border: 1px solid var(--xqd-line);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--xqd-blue);
    transition: all .22s var(--xqd-ease);
}

.sj-xqd-side__more:hover {
    border-color: var(--xqd-blue);
    background: rgba(1, 83, 156, .05);
}

.sj-xqd-side__more svg {
    width: 16px;
    height: 16px;
}

/* ── 移动端悬浮行动条（≤768 显示） ────────────────────────────────────── */
.sj-xqd-dock {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--xqd-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
    box-shadow: 0 -6px 24px rgba(1, 35, 66, .10);
}

.sj-xqd-dock a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}

.sj-xqd-dock svg {
    width: 19px;
    height: 19px;
}

.sj-xqd-dock__call {
    flex: 1;
    width: 100%;
    background: var(--xqd-red);
    color: #fff;
}

/* ── 全屏看图（xiaoqu.js 动态插入，默认不显示） ───────────────────────── */
.sj-xqd-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: rgba(6, 20, 36, .92);
}

.sj-xqd-lb.is-open {
    display: flex;
}

.sj-xqd-lb__img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 6px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
    cursor: default;
}

.sj-xqd-lb__close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: background .22s var(--xqd-ease);
}

.sj-xqd-lb__close:hover {
    background: rgba(255, 255, 255, .16);
}

.sj-xqd-lb__nav {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    font-size: 30px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: background .22s var(--xqd-ease);
}

.sj-xqd-lb__nav:hover {
    background: rgba(255, 255, 255, .22);
}

.sj-xqd-lb__nav--prev {
    left: 28px;
}

.sj-xqd-lb__nav--next {
    right: 28px;
}

.sj-xqd-lb__count {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    font-size: 14px;
    color: rgba(255, 255, 255, .78);
    letter-spacing: 1px;
}

/* =============================================================================
 * 三、底部行动区（列表页 / 详情页共用）
 * ========================================================================== */
.sj-xq-cta {
    --xqc-red: #cf0000;
    --xqc-blue: #01539c;
    --xqc-ease: cubic-bezier(.22, .61, .36, 1);
    padding: 74px 0;
    background: linear-gradient(120deg, #063863 0%, #0a4a87 100%);
    color: #fff;
}

.sj-xq-cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 40px;
}

.sj-xq-cta__kicker {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .58);
}

.sj-xq-cta__title {
    margin: 16px 0 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
}

.sj-xq-cta__desc {
    max-width: 620px;
    margin: 16px 0 0;
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .8);
}

.sj-xq-cta__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sj-xq-cta__tel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 26px;
    border-radius: 14px;
    background: var(--xqc-red);
    color: #fff;
    transition: transform .24s var(--xqc-ease), box-shadow .24s var(--xqc-ease);
}

.sj-xq-cta__tel:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(207, 0, 0, .38);
}

.sj-xq-cta__tel-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .18);
}

.sj-xq-cta__tel-ico svg {
    width: 22px;
    height: 22px;
}

.sj-xq-cta__tel-txt {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sj-xq-cta__tel-txt b {
    font-size: 23px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .4px;
}

.sj-xq-cta__tel-txt i {
    font-style: normal;
    font-size: 12px;
    line-height: 1;
    color: rgba(255, 255, 255, .8);
}

/* 「在线留言」按钮取消后，行动区只剩拨号主按钮 + 常见问题文字链 */
.sj-xq-cta__link {
    font-size: 15px;
    color: rgba(255, 255, 255, .78);
    transition: color .22s var(--xqc-ease);
}

.sj-xq-cta__link:hover {
    color: #fff;
}

/* =============================================================================
 * 四、响应式
 * ========================================================================== */

/* 1440 及以下：卡片仍 4 列，间距收紧 */
@media (max-width: 1440px) {
    .sj-xq-hero__title {
        font-size: 36px;
    }

    .sj-xqd-hero__title {
        font-size: 40px;
    }

    .sj-xq-grid {
        gap: 20px;
    }
}

/* 1200 及以下：卡片 3 列；详情页侧栏收窄 */
@media (max-width: 1200px) {
    .sj-xq-hero__inner {
        padding: 26px 0 22px;
    }

    .sj-xq-hero__title {
        font-size: 34px;
    }

    .sj-xq-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sj-xqd-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 26px;
    }

    /* 侧栏收窄后主栏约 830px：图集列略放宽到 340（仍是原图 1.05× 左右），
     * 概况 / 置业服务留在右栏，正文行宽才不至于拉得过长 */
    .sj-xqd-intro {
        grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
        gap: 22px;
    }

    .sj-xqd-hero__title {
        font-size: 36px;
    }

    .sj-xqd-facts__txt b {
        font-size: 16px;
    }

    .sj-xqd-guard__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sj-xqd-sec__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .sj-xq-cta__title {
        font-size: 27px;
    }

    .sj-xq-cta__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
}

/* 992 及以下：详情页塌成单栏，顾问卡改为常规卡片置顶 */
@media (max-width: 992px) {
    .sj-xq-hero__inner {
        padding: 24px 0 20px;
    }

    .sj-xq-hero__desc {
        display: none;
    }

    .sj-xq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sj-xq-bar {
        flex-wrap: wrap;
    }

    .sj-xq-bar__count {
        margin-left: 0;
    }

    .sj-xqd-hero {
        min-height: 320px;
        padding-bottom: 0;
    }

    .sj-xqd-hero__inner {
        padding: 56px 0 48px;
    }

    .sj-xqd-facts-wrap {
        margin-top: 0;
        padding-top: 0;
    }

    .sj-xqd-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        border-radius: 0;
        box-shadow: none;
        border-top: 1px solid var(--xqd-line);
        border-bottom: 1px solid var(--xqd-line);
    }

    .sj-xqd-facts > li {
        padding: 20px 18px;
        border-bottom: 1px solid var(--xqd-line);
    }

    .sj-xqd-facts > li:nth-child(2n) {
        border-right: 0;
    }

    .sj-xqd-facts > li:nth-last-child(-n + 2) {
        border-bottom: 0;
    }

    .sj-xqd-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sj-xqd-side__sticky {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .sj-xqd-main {
        padding: 30px 0 60px;
    }
}

/* 768 及以下：单栏 + 图集缩略图减为 4 列 + 悬浮行动条 */
@media (max-width: 768px) {
    .sj-xq-hero {
        /* 窄屏也保住图片原始高度，横幅不被压成一条 */
        min-height: 300px;
    }

    .sj-xq-hero__inner {
        padding: 22px 0 20px;
    }

    .sj-xq-hero__title {
        font-size: 26px;
    }

    .sj-xqd-hero__title {
        font-size: 28px;
    }

    .sj-xq-hero__sub {
        font-size: 16px;
    }

    .sj-xq-hero__tags {
        gap: 10px;
    }

    .sj-xq-main {
        padding: 26px 0 60px;
    }

    .sj-xq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sj-xq-card__body {
        padding: 14px 16px 16px;
    }

    .sj-xq-card__name {
        font-size: 17px;
    }

    .sj-xqd-hero__inner {
        padding: 40px 0 36px;
    }

    .sj-xqd-hero__sub {
        font-size: 15px;
    }

    .sj-xqd-card {
        padding: 22px 20px;
    }

    .sj-xqd-gal {
        padding: 10px 10px 12px;
    }

    /* 窄屏改上下排列：竖图居中限宽，避免拉满屏宽后再次被放大 */
    .sj-xqd-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .sj-xqd-gal {
        justify-self: center;
        width: 100%;
        max-width: 340px;
    }

    .sj-xqd-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .sj-xqd-facts > li {
        border-right: 0;
    }

    .sj-xqd-facts > li:nth-last-child(-n + 2) {
        border-bottom: 1px solid var(--xqd-line);
    }

    .sj-xqd-facts > li:last-child {
        border-bottom: 0;
    }

    .sj-xqd-sec__title {
        font-size: 19px;
    }

    .sj-xqd-guard__list {
        grid-template-columns: minmax(0, 1fr);
    }

    /* 悬浮条会让底部内容被遮住，这里补足留白 */
    .sj-xqd-main {
        padding-bottom: 84px;
    }

    .sj-xqd-dock {
        display: flex;
        gap: 10px;
    }

    .sj-xq-cta {
        padding: 46px 0;
    }

    .sj-xq-cta__title {
        font-size: 23px;
    }

    .sj-xq-cta__tel {
        width: 100%;
        justify-content: center;
    }

    .sj-xq-cta__actions {
        width: 100%;
    }
}

/* 480 及以下：卡片单列 */
@media (max-width: 480px) {
    .sj-xq-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .sj-xqd-filters,
    .sj-xq-pager a,
    .sj-xq-pager span {
        min-width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .sj-xqd-gal__thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
