/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #2d2d2d;
    background: #ffffff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: #c9a74c;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ===== 容器 ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== 颜色变量 ===== */
:root {
    --primary: #1a2942;       /* 深蓝 */
    --primary-dark: #0f1a2d;
    --accent: #c9a74c;        /* 金色 */
    --accent-light: #e0c87c;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --text-muted: #9a9a9a;
    --bg: #ffffff;
    --bg-alt: #f7f8fa;
    --border: #e8e8e8;
}

/* ===== 顶部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -1px;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 1px;
}

.logo-text small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 4px 0;
}

.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a.active::after {
    content: "";
    position: absolute;
    bottom: -24px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.25s ease;
}

.nav-cta:hover {
    background: var(--accent);
    color: #fff !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease;
}

/* ===== Hero Banner ===== */
.hero {
    position: relative;
    min-height: 600px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    margin-top: 72px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(201, 167, 76, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 167, 76, 0.1) 0%, transparent 40%);
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(201, 167, 76, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.25s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary-dark);
}

.btn-primary:hover {
    background: var(--accent-light);
    color: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== 数据概览条 ===== */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 40px;
    font-weight: 700;
    color: var(--primary);
    font-family: "Georgia", serif;
}

.stat-num span {
    color: var(--accent);
    font-size: 24px;
    margin-left: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 2px;
    margin-top: 8px;
}

/* ===== 通用 Section ===== */
.section {
    padding: 96px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-sub {
    font-size: 15px;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

/* ===== 项目优势 ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 40px 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(26, 41, 66, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 20px;
}

.feature-card:nth-child(1) .feature-icon { content: "01"; color: var(--accent); font-weight: 700; }
.feature-card:nth-child(2) .feature-icon { content: "02"; color: var(--accent); font-weight: 700; }
.feature-card:nth-child(3) .feature-icon { content: "03"; color: var(--accent); font-weight: 700; }
.feature-card:nth-child(4) .feature-icon { content: "04"; color: var(--accent); font-weight: 700; }
.feature-card:nth-child(5) .feature-icon { content: "05"; color: var(--accent); font-weight: 700; }
.feature-card:nth-child(6) .feature-icon { content: "06"; color: var(--accent); font-weight: 700; }

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== 房源卡片 ===== */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.listing-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.listing-card:hover {
    box-shadow: 0 20px 50px rgba(26, 41, 66, 0.12);
    border-color: var(--accent);
}

.listing-thumb {
    height: 220px;
    background: linear-gradient(135deg, var(--primary) 0%, #2c3e5c 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.listing-thumb::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(45deg, transparent 40%, rgba(201,167,76,0.3) 50%, transparent 60%),
        radial-gradient(circle at 70% 30%, rgba(201,167,76,0.2) 0%, transparent 40%);
}

.listing-thumb-text {
    position: relative;
    z-index: 2;
    color: rgba(255,255,255,0.3);
    font-size: 64px;
    font-weight: 700;
    font-family: Georgia, serif;
}

.listing-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--accent);
    color: var(--primary-dark);
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 3;
}

.listing-badge.hot {
    background: #e74c3c;
    color: #fff;
}

.listing-info {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.listing-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.listing-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.listing-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 16px;
}

.spec {
    text-align: center;
}

.spec-val {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    font-family: Georgia, serif;
}

.spec-val small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 2px;
}

.spec-label {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    letter-spacing: 1px;
}

.listing-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.listing-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.listing-price small {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.listing-link {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.listing-link::after {
    content: "→";
    transition: transform 0.25s ease;
}

.listing-link:hover::after {
    transform: translateX(4px);
}

.view-all {
    text-align: center;
    margin-top: 48px;
}

/* ===== 位置信息 ===== */
.location-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.location-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.location-info p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.9;
}

.transport-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    color: var(--text);
}

.transport-list li:last-child {
    border-bottom: none;
}

.transport-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.transport-tag.subway {
    background: var(--accent);
    color: var(--primary-dark);
}

.transport-walk {
    color: var(--text-muted);
    font-size: 13px;
    margin-left: auto;
}

.location-map {
    background: var(--bg-alt);
    height: 360px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.location-map::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(26,41,66,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,41,66,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--primary);
}

.map-pin {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    margin: 0 auto 16px;
    animation: pulse 2s infinite;
}

.map-pin::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 16px; height: 16px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.map-pin-wrap {
    position: relative;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201,167,76,0.5); }
    50% { box-shadow: 0 0 0 20px rgba(201,167,76,0); }
}

.map-address {
    font-size: 15px;
    font-weight: 600;
}

.map-address small {
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ===== CTA 区块 ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.cta-section p {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
}

.cta-phone {
    font-size: 44px;
    font-weight: 700;
    color: var(--accent);
    font-family: Georgia, serif;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.cta-phone-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 3px;
    margin-bottom: 32px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 16px;
    color: rgba(255,255,255,0.5);
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-col ul li {
    font-size: 14px;
    padding: 6px 0;
    color: rgba(255,255,255,0.5);
}

.footer-col ul li:hover {
    color: var(--accent);
}

.footer-contact li {
    display: flex;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== 内页 Banner ===== */
.page-banner {
    margin-top: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
    position: relative;
}

.page-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(201,167,76,0.15) 0%, transparent 60%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.page-banner p {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2px;
}

.breadcrumb {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    margin: 0 8px;
}

/* ===== 房源详情页 ===== */
.detail-hero {
    margin-top: 72px;
    background: #fff;
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--border);
}

.detail-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.detail-gallery {
    background: linear-gradient(135deg, var(--primary) 0%, #2c3e5c 100%);
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.2);
    font-size: 100px;
    font-weight: 700;
    font-family: Georgia, serif;
}

.detail-gallery::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(45deg, transparent 40%, rgba(201,167,76,0.25) 50%, transparent 60%);
}

.detail-badge-row {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.detail-badge {
    background: rgba(201,167,76,0.15);
    color: var(--accent);
    padding: 4px 12px;
    font-size: 12px;
    letter-spacing: 1px;
    border: 1px solid rgba(201,167,76,0.3);
}

.detail-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.detail-location {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.detail-price-block {
    background: var(--bg-alt);
    padding: 24px;
    margin-bottom: 24px;
}

.detail-price-main {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    font-family: Georgia, serif;
}

.detail-price-main small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-muted);
    margin-left: 4px;
}

.detail-price-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.detail-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.detail-spec-label {
    color: var(--text-muted);
}

.detail-spec-value {
    color: var(--primary);
    font-weight: 500;
}

.detail-body {
    padding: 64px 0;
}

.detail-section {
    margin-bottom: 48px;
}

.detail-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.detail-section p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 12px;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.detail-tag {
    padding: 6px 16px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    font-size: 13px;
    color: var(--text);
}

/* ===== 联系表单 ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.25s ease;
    background: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    padding: 40px 0;
}

.contact-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.contact-list li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list-label {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 6px;
}

.contact-list-value {
    font-size: 16px;
    color: var(--primary);
    font-weight: 500;
}

/* ===== 导航栏电话 ===== */
.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: var(--accent);
    color: var(--primary-dark);
    border-radius: 2px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
}
.nav-phone-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary-dark);
    border-radius: 50%;
    position: relative;
}
.nav-phone-icon::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-dark);
    border-bottom: 2px solid var(--primary-dark);
    right: 2px;
    bottom: 1px;
    transform: rotate(45deg);
}
@media (max-width: 1024px) {
    .nav-phone {
        display: none;
    }
}

/* ===== 房源卡片真实图片 ===== */
.listing-thumb.with-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.listing-thumb.with-img::after {
    background: linear-gradient(135deg, rgba(26,41,66,0.1) 0%, rgba(26,41,66,0.3) 100%);
}
.listing-thumb.with-img .listing-thumb-text {
    display: none;
}

/* ===== 详情页真实图片 ===== */
.detail-gallery.with-img {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.detail-gallery.with-img::after {
    background: linear-gradient(135deg, rgba(26,41,66,0) 0%, rgba(26,41,66,0.2) 100%);
}

/* ===== 右侧悬浮咨询按钮 ===== */
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
}
.floating-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(26,41,66,0.3);
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}
.floating-toggle:hover {
    background: var(--accent);
    transform: scale(1.05);
}
.floating-toggle-icon {
    font-size: 22px;
    line-height: 1;
    margin-bottom: 2px;
}
.floating-toggle-label {
    font-size: 10px;
    letter-spacing: 1px;
}
.floating-panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: 260px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.floating-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.floating-panel h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    text-align: center;
}
.floating-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    padding: 14px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.floating-qr {
    text-align: center;
}
.floating-qr img {
    width: 140px;
    height: 140px;
    margin: 0 auto 8px;
    border: 1px solid var(--border);
}
.floating-qr-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* ===== 联系我们：二维码区域 ===== */
.contact-qr-block {
    text-align: center;
    padding: 32px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
}
.contact-qr-block img {
    width: 200px;
    height: 200px;
    margin: 0 auto 16px;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.contact-qr-block h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}
.contact-qr-block p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ===== 首页大图展示区 ===== */
.showcase-section {
    padding: 96px 0;
    background: var(--bg-alt);
}
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}
.showcase-item {
    position: relative;
    overflow: hidden;
    background: var(--primary);
    cursor: pointer;
    transition: all 0.4s ease;
}
.showcase-item .showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.showcase-item:hover .showcase-img {
    transform: scale(1.06);
}
.showcase-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}
.showcase-item:hover .showcase-caption {
    transform: translateY(0);
    opacity: 1;
}
.showcase-lg {
    grid-column: span 2;
    grid-row: span 2;
}
.showcase-lg .showcase-img {
    height: 540px;
}
.showcase-md {
    grid-column: span 1;
}
.showcase-md .showcase-img {
    height: 260px;
}
.showcase-sm .showcase-img {
    height: 260px;
}

/* 图片灯箱 */
.img-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.img-lightbox.open {
    display: flex;
}
.img-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
}
.img-lightbox-close {
    position: absolute;
    top: 24px;
    right: 36px;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}
.img-lightbox-close:hover {
    color: var(--accent);
}

@media (max-width: 1024px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .showcase-lg {
        grid-column: span 2;
        grid-row: span 1;
    }
    .showcase-lg .showcase-img {
        height: 360px;
    }
}
@media (max-width: 600px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    .showcase-lg, .showcase-md {
        grid-column: span 1;
    }
    .showcase-lg .showcase-img,
    .showcase-md .showcase-img,
    .showcase-sm .showcase-img {
        height: 240px;
    }
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .listings-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .location-wrap {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 40px;
    }
    .detail-hero-grid,
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        gap: 20px;
    }
    .nav-menu.open {
        display: flex;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero {
        min-height: 480px;
    }
    .hero h1 {
        font-size: 32px;
    }
    .hero p {
        font-size: 15px;
    }
    .section {
        padding: 64px 0;
    }
    .section-title {
        font-size: 28px;
    }
    .features-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 16px;
    }
    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-bottom: none;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .cta-phone {
        font-size: 32px;
    }
    .contact-form {
        padding: 24px;
    }
}
