/* 北京办公室租赁官网 - 商务简约风格 */

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

:root {
    /* 品牌色 */
    --color-primary: #1e3a5f;        /* 深蓝 - 主色 */
    --color-primary-light: #2c4a6f;  /* 中蓝 - 辅色 */
    --color-primary-dark: #152d4a;    /* 深蓝 - hover/强调 */
    --color-accent: #e74c3c;          /* 红色 - 行动色/CTA */
    --color-accent-dark: #c0392b;     /* 深红 - hover */
    --color-accent-light: #fff5f5;   /* 浅红背景 */

    /* 中性色 */
    --color-text-primary: #1a1a2e;    /* 主文字 */
    --color-text-secondary: #4a4a68;  /* 次要文字 */
    --color-text-muted: #8a8aa0;      /* 弱化文字 */
    --color-text-white: #ffffff;

    /* 背景色 */
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f7f8fa;    /* 替代 #f5f5f5 */
    --color-bg-tertiary: #eef0f4;

    /* 边框/分割 */
    --color-border: #e8eaef;
    --color-border-light: #f0f1f5;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(30, 58, 95, 0.06);
    --shadow-md: 0 4px 12px rgba(30, 58, 95, 0.08);
    --shadow-lg: 0 8px 24px rgba(30, 58, 95, 0.12);
    --shadow-xl: 0 16px 48px rgba(30, 58, 95, 0.16);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* 间距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.35s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--color-text-primary);
    line-height: 1.6;
    background-color: var(--color-bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === 顶部导航 === */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
}

/* === 导航搜索框 === */
.nav-search {
    display: flex;
    align-items: center;
    border: 1px solid #e74c3c;
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-search-input {
    padding: 6px 12px;
    border: none;
    outline: none;
    font-size: 13px;
    color: #333;
    width: 120px;
    background: transparent;
}

.nav-search-input::placeholder {
    color: #bbb;
}

.nav-search-btn {
    padding: 6px 16px;
    background: #e74c3c;
    color: white;
    border: none;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.nav-search-btn:hover {
    background: #c0392b;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

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

.logo-location {
    width: 16px;
    height: 16px;
    color: #e74c3c;
    margin-left: 6px;
    vertical-align: middle;
}

.logo-city {
    font-size: 13px;
    color: #e74c3c;
    margin-left: 3px;
    font-weight: 500;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin-left: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 16px;
    transition: color 0.3s;
    padding: 5px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #e74c3c;
    border-bottom: 2px solid #e74c3c;
}

/* === 首页横幅 === */
.hero {
    position: relative;
    color: white;
    padding: 0;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 背景图片 - 全铺开 */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 遮罩层 - 深色让文字更清晰 */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 35, 65, 0.88) 0%, rgba(30, 58, 95, 0.75) 50%, rgba(15, 35, 65, 0.65) 100%);
    z-index: 2;
}

/* 内容区域 - 居中 */
.hero .container {
    position: relative;
    z-index: 3;
    padding: 60px 20px;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    letter-spacing: 1px;
}

/* 搜索框 */
.hero-search-box {
    display: flex;
    max-width: 560px;
    margin: 0 auto 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-search-input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 15px;
    outline: none;
    background: white;
    color: #333;
}

.hero-search-input::placeholder {
    color: #aaa;
}

.hero-search-btn {
    padding: 16px 36px;
    background: #e74c3c;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.hero-search-btn:hover {
    background: #c0392b;
}

/* 快速筛选区域 */
.hero-quick-filters {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.hero-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-filter-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
}

.hero-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.hero-filter-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.hero-filter-tag:hover {
    background: #e74c3c;
    border-color: #e74c3c;
    color: white;
}

/* === 按钮样式 === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 15px;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

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

.btn-accent:hover {
    background: #c4993a;
}

/* ===  section 通用样式 === */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 32px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

/* === 商圈推荐（首页） === */
.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.district-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.district-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.district-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.district-card h3 {
    padding: 15px;
    font-size: 18px;
    color: var(--text-dark);
}

.district-card p {
    padding: 0 15px 15px;
    color: var(--text-light);
    font-size: 14px;
}

/* === 房源卡片（列表页） === */
.building-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.building-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.building-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.building-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.building-info {
    padding: 20px;
}

.building-info h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.building-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.building-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.building-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
}

.building-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

.stat-item {
    text-align: center;
}

.stat-label {
    color: var(--text-light);
    font-size: 12px;
}

.stat-value {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

/* === 筛选栏 === */
.filter-bar {
    background: var(--bg-white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: block;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 120px;
    overflow-y: auto;
    padding: 5px 0;
}

/* === 筛选行布局（左侧标签 + 右侧选项） === */
.filter-row-layout {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-row-layout:last-child {
    border-bottom: none;
}

/* 左侧标签 */
.filter-row-label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    width: 40px;
    flex-shrink: 0;
    text-align: left;
}

/* "全部"按钮 */
.filter-all-btn {
    padding: 4px 14px;
    font-size: 13px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.filter-all-btn:hover {
    color: #e74c3c;
}

.filter-all-btn.active {
    background: #e74c3c;
    color: white;
    font-weight: 500;
}

.filter-all-btn.active:hover {
    background: #c0392b;
}

/* 复选框样式 */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
    white-space: nowrap;
}

.filter-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    accent-color: #e74c3c;
}

.filter-checkbox span {
    color: var(--text-dark);
}

/* 自定义输入框 */
.filter-custom-input {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-dark);
}

.filter-custom-input input[type="number"] {
    width: 50px;
    height: 26px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 6px;
    font-size: 13px;
    text-align: center;
    outline: none;
}

.filter-custom-input input[type="number"]:focus {
    border-color: #e74c3c;
}

.filter-custom-input .input-separator {
    color: var(--text-light);
    margin: 0 2px;
}

/* === 筛选结果统计栏 === */
.filter-result-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.filter-result-text {
    font-size: 15px;
    color: var(--text-dark);
}

.filter-result-text #building-count {
    color: #e74c3c;
    font-weight: 600;
    font-size: 18px;
    margin: 0 4px;
}

.filter-result-hint {
    font-size: 13px;
    color: var(--text-light);
}

/* === 结果头部（统计+排序） === */
.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.result-count {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 500;
}

.result-count span {
    color: #e74c3c;
    font-weight: 600;
    font-size: 18px;
}

.sort-options {
    display: flex;
    gap: 10px;
}

.sort-btn {
    padding: 6px 16px;
    font-size: 13px;
    border: 1px solid #ddd;
    background: white;
    color: var(--text-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-btn:hover {
    border-color: #e74c3c;
    color: #e74c3c;
}

.sort-btn.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* === 两栏布局（左侧列表 + 右侧边栏） === */
.list-layout {
    display: flex;
    gap: 25px;
}

.list-main {
    flex: 1;
    min-width: 0;
}

.list-sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* === 横向楼盘卡片 === */
.building-list {
    display: flex;
    flex-direction: column;
}

.building-list-card {
    display: flex;
    background: white;
    padding: 16px 0;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.building-list-card:last-child {
    border-bottom: none;
}

.building-list-card:hover {
    background: #fafafa;
}

.list-card-img {
    width: 160px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-right: 20px;
}

.list-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.building-list-card:hover .list-card-img img {
    transform: scale(1.05);
}

.list-card-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 2px;
}

.list-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
}

.list-card-location {
    font-size: 13px;
    color: #999;
}

.list-card-area {
    font-size: 13px;
    color: #999;
}

.list-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.list-card-tags .tag {
    padding: 3px 10px;
    font-size: 12px;
    color: #e74c3c;
    background: #fff5f5;
    border-radius: 3px;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.list-card-price {
    padding: 0 0 0 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    min-width: 120px;
    padding-top: 2px;
}

.price-num {
    font-size: 30px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
}

.price-unit {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}


/* === 右侧边栏 === */
.sidebar-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    margin: 0;
}

/* 热门楼盘 */
.hot-building-list {
    padding: 10px 15px;
}

.hot-building-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s;
}

.hot-building-item:last-child {
    border-bottom: none;
}

.hot-building-item:hover {
    background: #fafafa;
    margin: 0 -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.hot-building-item img {
    width: 70px;
    height: 55px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.hot-building-info {
    flex: 1;
    min-width: 0;
}

.hot-building-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.hot-building-area {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.hot-building-price {
    font-size: 12px;
    color: var(--text-light);
}

.hot-building-price span {
    color: #e74c3c;
    font-size: 16px;
    font-weight: 600;
}

/* 在线咨询 */
.consult-section {
    padding: 20px;
}

.consult-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.consult-icon {
    font-size: 24px;
}

.consult-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.consult-subtitle {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    padding-left: 34px;
}

.consult-form input[type="tel"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
    outline: none;
}

.consult-form input[type="tel"]:focus {
    border-color: #e74c3c;
}

.consult-agree {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 15px;
    cursor: pointer;
}

.consult-agree input {
    margin-top: 2px;
    flex-shrink: 0;
}

.consult-btn {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    border-radius: 4px;
}

/* 选中状态 - 红色背景 + 白色文字 + 圆角 */
.filter-btn.active {
    background: #e74c3c;
    color: white;
    font-weight: 500;
}

.filter-btn.active:hover {
    background: #c0392b;
}

/* === 链家式位置筛选（两行并列） === */
.location-filter {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.location-filter .filter-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.location-filter .filter-row:last-child {
    margin-bottom: 0;
}

.location-filter .row-label {
    color: var(--text-light);
    font-size: 14px;
    padding: 6px 0;
    margin-right: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.location-filter .filter-btn {
    padding: 6px 14px;
    font-size: 14px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.location-filter .filter-btn:hover {
    color: var(--primary-color);
}

/* 激活状态 - 红色背景 + 圆角（链家风格） */
.location-filter .filter-btn.active {
    background: #e74c3c;
    color: white;
    font-weight: 500;
}

.location-filter .filter-btn.active:hover {
    background: #c0392b;
}

/* 商圈行缩进，与区域行对齐 */
.location-filter .business-row {
    padding-left: 42px; /* 对齐"位置"标签宽度 */
}

.location-filter .business-row .filter-btn {
    font-size: 13px;
    padding: 5px 12px;
}

/* === 楼盘详情页 === */
.building-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 60px 0;
}

.building-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.building-header-meta {
    display: flex;
    gap: 30px;
    font-size: 16px;
    opacity: 0.9;
}

.building-detail-content {
    padding: 60px 0;
}

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

.detail-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* === 首页选址委托 === */
.entrust-section {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    padding: 60px 0;
    background: white;
}

.entrust-info {
    flex: 1;
}

.entrust-info h2 {
    font-size: 32px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.entrust-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.entrust-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.entrust-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #333;
}

.entrust-feature svg {
    width: 18px;
    height: 18px;
    color: #e74c3c;
}

.entrust-form-card {
    width: 420px;
    flex-shrink: 0;
    background: var(--color-bg-primary);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.entrust-form-card .form-group {
    margin-bottom: 22px;
}

.entrust-form-card label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.entrust-form-card input,
.entrust-form-card textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--color-text-primary);
    transition: var(--transition-base);
    background: var(--color-bg-primary);
    outline: none;
}

.entrust-form-card input:focus,
.entrust-form-card textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.entrust-form-card textarea {
    min-height: 100px;
    resize: vertical;
}

.entrust-submit {
    width: 100%;
    padding: 13px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.entrust-submit:hover {
    background: var(--color-accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .entrust-section {
        flex-direction: column;
        gap: 30px;
    }
    .entrust-form-card {
        width: 100%;
    }
}

/* === 服务优势 === */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.advantage-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.advantage-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: #fff5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    background: #e74c3c;
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
    color: #e74c3c;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon svg {
    color: white;
}

.advantage-card h3 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.advantage-card p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.detail-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 6px;
}

.detail-item-label {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.detail-item-value {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: 600;
}

/* === 房源卡片（详情页内） === */
.unit-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
    cursor: pointer;
    display: flex;
    gap: 20px;
}

.unit-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.unit-card img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.unit-info {
    flex: 1;
}

.unit-info h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.unit-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.unit-price {
    font-size: 24px;
    color: #e74c3c;
    font-weight: bold;
}

.unit-price small {
    font-size: 14px;
    color: var(--text-light);
    font-weight: normal;
}

/* === 房源详情页 === */
.unit-detail-header {
    padding: 40px 0;
    background: var(--bg-light);
}

.unit-detail-header h1 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.unit-gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 30px 0;
}

.unit-gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
}

.unit-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.unit-main-info {
    background: var(--bg-white);
}

.unit-sidebar {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-btn {
    width: 100%;
    margin-bottom: 10px;
}

/* === 页脚 === */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 50px 0 30px;
    margin-top: 80px;
}

/* === Footer 三栏布局 === */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

.footer-col p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* === 响应式设计 === */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .building-grid {
        grid-template-columns: 1fr;
    }
    
    .unit-card {
        flex-direction: column;
    }
    
    .unit-card img {
        width: 100%;
        height: 200px;
    }
    
    .unit-detail-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .unit-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* === 工具类 === */
.text-center {
    text-align: center;
}

.mt-30 {
    margin-top: 30px;
}

.mb-30 {
    margin-bottom: 30px;
}

.bg-light {
    background: var(--bg-light);
}

/* === 分页控件 - 对齐设计Token === */
.pagination-container {
    display: flex;
    justify-content: center;
    padding: 36px 0 16px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.page-btn:hover:not(.active):not(.disabled):not(:disabled) {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.page-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.25);
}

.page-btn.disabled,
.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-ellipsis {
    color: var(--color-text-muted);
    font-size: 14px;
    padding: 0 6px;
    user-select: none;
}

/* === 新版页脚 v2 === */
.footer-v2 {
    background-color: #1a2a4a;
    color: #fff;
    padding: 50px 0 0;
}

.footer-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-v2-col {
    flex: 1;
    min-width: 150px;
}

.footer-v2-col.footer-v2-brand {
    flex: 2;
    min-width: 250px;
}

.footer-v2-col h3 {
    font-size: 24px;
    margin: 0 0 18px 0;
    color: #fff;
}

.footer-v2-col h4 {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #fff;
}

.footer-v2-col p {
    color: #ccc;
    line-height: 1.8;
    margin: 0 0 15px 0;
    font-size: 14px;
}

.footer-v2-col .footer-hotline {
    color: #4a90e2;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.footer-v2-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-v2-col ul li {
    margin: 8px 0;
}

.footer-v2-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-v2-col ul li a:hover {
    color: #fff;
}

.footer-cta {
    display: inline-block;
    background-color: #4a90e2;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.footer-cta:hover {
    background-color: #3a7bc8;
}

.footer-v2-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    border-top: 1px solid #2d4263;
    padding: 20px 20px 20px;
    text-align: center;
    color: #999;
    font-size: 12px;
}

.footer-v2-bottom p {
    margin: 0 0 10px 0;
    color: #999;
    font-size: 12px;
}

.footer-v2-bottom p:last-child {
    margin: 0;
}

.footer-v2-bottom a {
    color: #999;
    text-decoration: none;
    font-size: 12px;
}

.footer-v2-bottom a:hover {
    color: #ccc;
}

/* ========== 汉堡菜单 ========== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 移动端导航菜单 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 0;
        box-shadow: -4px 0 24px rgba(0,0,0,0.15);
        transition: right 0.35s ease;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--color-border-light);
        color: var(--color-text-primary);
    }

    .nav-menu li a.active {
        color: var(--color-accent);
        border-bottom-color: var(--color-accent);
    }

    .nav-search {
        display: none;
    }

    /* 遮罩层 */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-base);
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* ========== 导航栏滚动阴影 ========== */
.header.scrolled {
    box-shadow: var(--shadow-lg);
}

/* ========== 回到顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

/* ========== Section 渐入动画 ========== */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 页脚 CTA 按钮用品牌红色 ========== */
.footer-cta {
    display: inline-block;
    padding: 10px 24px;
    background: var(--color-accent) !important;
    color: #fff !important;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-base);
    border: none;
}

.footer-cta:hover {
    background: var(--color-accent-dark) !important;
    transform: translateY(-1px);
}

/* ========== 按钮统一提升 ========== */
.btn, .hero-search-btn, .entrust-submit, .consult-btn, .sort-btn {
    transition: var(--transition-base);
}

.btn:hover, .hero-search-btn:hover, .entrust-submit:hover, .consult-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active, .hero-search-btn:active, .entrust-submit:active, .consult-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

/* ========== 卡片统一提升 ========== */
.building-card, .district-card, .coworking-card, .hot-building-item, .case-item {
    transition: var(--transition-base);
    border: 1px solid var(--color-border-light);
}

.building-card:hover, .district-card:hover, .coworking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border);
}

/* ========== 表单输入框统一 ========== */
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
textarea,
select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition-base);
    outline: none;
    background: #fff;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

::placeholder {
    color: var(--color-text-muted);
}
