/* ====================================================================
   装修网 - Zhuangxiu.com 主样式表
   设计风格参考：房天下 (fang.com) — 红白配色、信息密集、清爽商务
   功能参考：齐家网 (jia.com) — 一站式装修服务平台
   ==================================================================== */


/* =============================== */
/* 1. CSS Reset & 基础变量         */
/* =============================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- 主色调：沿用 房天下 经典红 --- */
    --color-primary:       #E4393C;   /* 主红色 */
    --color-primary-dark:  #C1272D;   /* 深红 - hover */
    --color-primary-light: #FF6B6B;   /* 浅红 - 点缀 */

    /* --- 辅助色 --- */
    --color-orange:        #FF6600;   /* 橙色 - 强调 */
    --color-gold:          #FF8C00;   /* 金色 - 评级 */

    /* --- 中性色 --- */
    --color-bg:            #F5F5F5;   /* 背景灰 */
    --color-bg-section:    #F8F8F8;   /* 区块背景 */
    --color-white:         #FFFFFF;
    --color-border:        #E8E8E8;   /* 边框/分割线 */

    /* --- 文字色 --- */
    --color-text:          #333333;   /* 正文 */
    --color-text-light:    #666666;   /* 辅助文字 */
    --color-text-lighter:  #999999;   /* 最浅文字 */
    --color-text-white:    #FFFFFF;

    /* --- 尺寸 --- */
    --header-height:       72px;
    --topbar-height:       36px;
    --container-width:     1200px;

    /* --- 阴影 --- */
    --shadow-sm:           0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:           0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg:           0 8px 32px rgba(0,0,0,0.12);

    /* --- 圆角 --- */
    --radius-sm:           4px;
    --radius-md:           8px;
    --radius-lg:           12px;

    /* --- 过渡 --- */
    --transition:          0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 14px;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary);
}

ul, ol {
    list-style: none;
}

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

input, select, button, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}


/* =============================== */
/* 2. 通用工具类                   */
/* =============================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 16px;
}

.section {
    padding: 50px 0;
}

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

/* 区块头部 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-text);
}

.section-header h2 small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-lighter);
    margin-left: 10px;
}

.section-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.section-tab {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}

.section-tab:hover,
.section-tab.active {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

.section-more {
    text-align: center;
    margin-top: 32px;
}


/* =============================== */
/* 3. 按钮样式                     */
/* =============================== */

.btn {
    display: inline-block;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    line-height: 1.4;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-text-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-text-white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

.btn-outline-primary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-block {
    display: block;
    width: 100%;
}


/* =============================== */
/* 4. 顶部工具栏 (Topbar)          */
/* =============================== */

.topbar {
    height: var(--topbar-height);
    background: #2B2B2B;
    color: #CCC;
    font-size: 0.8rem;
    line-height: var(--topbar-height);
}

.topbar .container {
    display: flex;
    justify-content: space-between;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 0;
}

/* 城市选择器 — 位于顶部工具栏左侧 */
.city-selector {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 0 12px;
    border-right: 1px solid #444;
    color: #CCC;
    font-size: 0.8rem;
    user-select: none;
    transition: color var(--transition);
    position: relative;
}

.city-selector:hover {
    color: var(--color-text-white);
}

.city-pin {
    font-size: 0.85rem;
    line-height: 1;
}

.city-current {
    font-weight: 600;
    color: var(--color-orange);
    max-width: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.city-dropdown-icon {
    font-size: 0.7rem;
    color: #888;
    transition: transform var(--transition);
}

.city-selector:hover .city-dropdown-icon {
    color: #CCC;
}

/* 城市选择弹窗 — 覆盖层 */
.city-picker-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.city-picker-modal {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    width: 680px;
    max-width: 94vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.25s ease;
}

.city-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.city-picker-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.city-picker-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F0F0F0;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--color-text-light);
}

.city-picker-close:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
}

.city-picker-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

/* 定位栏 */
.city-location-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #FFF8F0;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    flex-wrap: wrap;
}

.location-icon {
    font-size: 1rem;
}

.location-name {
    font-weight: 600;
    color: var(--color-primary);
}

/* 城市分组 */
.city-group {
    margin-bottom: 20px;
}

.city-group-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--color-border);
}

.city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.city-tag {
    padding: 6px 18px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--color-white);
}

.city-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #FFF5F5;
}

.city-tag.active {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: var(--color-text-white);
}

/* 字母索引 */
.city-alpha-index {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--color-border);
}

.city-alpha-index .alpha-letter {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

.city-alpha-index .alpha-letter:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
}

/* 全部城市列表 */
.city-list-all {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.city-list-all .city-tag {
    padding: 6px 10px;
    font-size: 0.82rem;
    text-align: center;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.topbar-link {
    display: inline-block;
    padding: 0 12px;
    color: #CCC;
    border-right: 1px solid #444;
    line-height: 16px;
    font-size: 0.78rem;
}

.topbar-link:last-child {
    border-right: none;
}

.topbar-link:hover {
    color: var(--color-text-white);
}

.topbar-highlight {
    color: var(--color-orange) !important;
    font-weight: 600;
}


/* =============================== */
/* 5. 主头部 - Header & Navigation */
/* =============================== */

.header {
    height: var(--header-height);
    background: var(--color-white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Logo区域 */
.logo {
    flex-shrink: 0;
    margin-right: 30px;
}

.logo h1 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
}

.logo h1 em {
    font-style: normal;
    color: var(--color-text);
}

.logo-slogan {
    display: block;
    font-size: 0.7rem;
    color: var(--color-text-lighter);
    margin-top: -2px;
    letter-spacing: 0.5px;
}

/* 导航 */
.nav {
    flex: 1;
}

.nav ul {
    display: flex;
    gap: 2px;
}

.nav ul li a {
    display: block;
    padding: 8px 14px;
    font-size: 0.88rem;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav ul li a:hover {
    color: var(--color-primary);
    background: rgba(228,57,60,0.05);
}

.nav ul li.active a {
    color: var(--color-primary);
    font-weight: 600;
    position: relative;
}

.nav ul li.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 1px;
}

/* 头部右侧操作按钮 */
.header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    margin-left: 16px;
}

/* 移动端菜单按钮 */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}


/* =============================== */
/* 6. Hero + 搜索条               */
/* =============================== */

/* ------- 6b. 搜索条（仿房天下风格 - 独立横条） ------- */
.search-band {
    background: #F2F2F2;
    border-bottom: 1px solid #E0E0E0;
    padding: 12px 0;
}

.search-band-form {
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.search-band-tabs {
    display: flex;
    background: #FAFAFA;
    border-bottom: 1px solid #EEE;
    padding: 0 4px;
}

.sb-tab {
    padding: 10px 28px;
    font-size: 0.88rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    font-weight: 500;
}

.sb-tab:hover {
    color: var(--color-primary);
    background: rgba(228,57,60,0.04);
}

.sb-tab.active {
    color: var(--color-primary);
    font-weight: 600;
    background: #fff;
}

.sb-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 3px 3px 0 0;
}

.search-band-row {
    display: flex;
    padding: 12px 16px;
    gap: 10px;
    align-items: center;
}

.sb-input-wrap {
    flex: 1;
}

.sb-input-wrap input {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 2px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    background: #FAFAFA;
}

.sb-input-wrap input:focus {
    border-color: var(--color-primary);
    background: #fff;
}

.sb-btn {
    height: 46px;
    padding: 0 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.sb-btn-search {
    background: var(--color-primary);
    color: #fff;
    letter-spacing: 2px;
}

.sb-btn-search:hover {
    background: var(--color-primary-dark);
}

.sb-btn-map {
    background: #fff;
    color: var(--color-text);
    border: 2px solid #E0E0E0;
    padding: 0 18px;
}

.sb-btn-map:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: #FFF5F5;
}

.map-icon {
    font-size: 1.1rem;
}

/* 热门搜索标签 */
.hot-searches {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px 12px;
    font-size: 0.78rem;
    flex-wrap: wrap;
}

.hot-label {
    color: var(--color-text-lighter);
    flex-shrink: 0;
    font-size: 0.75rem;
}

.hot-searches a {
    color: var(--color-text-light);
    padding: 2px 12px;
    border-radius: 12px;
    background: #F0F0F0;
    transition: all var(--transition);
    font-size: 0.78rem;
    text-decoration: none;
}

.hot-searches a:hover {
    color: var(--color-primary);
    background: #FFE8E8;
    text-decoration: none;
}

/* ------- 6c. Hero Slider (only slides, no search) ------- */
.hero {
    position: relative;
    background: #1a1a2e;
}

.hero-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: var(--color-text-white);
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dots span {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all var(--transition);
}

.slider-dots span.active {
    background: var(--color-text-white);
    transform: scale(1.2);
}

/* ------- 6d. 快速入口 ------- */
.quick-entry {
    position: relative;
    z-index: 10;
    margin-top: -16px;
}

.entry-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 12px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 20px;
}

.entry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    color: var(--color-text);
}

.entry-item:hover {
    background: rgba(228,57,60,0.06);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.entry-icon {
    font-size: 1.8rem;
    line-height: 1;
}


/* =============================== */
/* 7. 装修案例 - Case Grid         */
/* =============================== */

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

.case-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.case-card-img {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.case-card-img .case-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    background: var(--color-primary);
    color: var(--color-text-white);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

.case-card-img .case-price-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.7);
    color: var(--color-text-white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.case-card-body {
    padding: 14px;
}

.case-card-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-card-body .case-meta {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--color-text-lighter);
}


/* =============================== */
/* 8. 装修报价 - Quote Calculator  */
/* =============================== */

.quote-box {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-white);
    font-size: 0.9rem;
    transition: border-color var(--transition);
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--color-primary);
}

.form-group-btn {
    display: flex;
    align-items: flex-end;
}

/* 报价结果 */
.quote-result {
    margin-top: 20px;
}

.quote-result-box {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #FFF5F5, #FFF);
    border-radius: var(--radius-md);
    border: 1px solid #FFE0E0;
}

.quote-result-box h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 16px;
}

.quote-price {
    margin: 16px 0;
}

.price-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-unit {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-left: 4px;
}

.quote-details {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.quote-details span em {
    font-style: normal;
    font-weight: 600;
    color: var(--color-primary);
}

.quote-note {
    font-size: 0.8rem;
    color: var(--color-text-lighter);
    margin: 12px 0;
}


/* =============================== */
/* 9. 装修公司 - Company Grid      */
/* =============================== */

.company-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.company-card {
    display: flex;
    gap: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.company-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.company-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

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

.company-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.company-stars {
    color: var(--color-gold);
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.company-stars .star-count {
    color: var(--color-text-lighter);
    font-size: 0.78rem;
    margin-left: 4px;
}

.company-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.company-tag {
    padding: 2px 8px;
    background: #FFF0F0;
    color: var(--color-primary);
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
}

.company-stats {
    display: flex;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--color-text-lighter);
}


/* =============================== */
/* 10. 设计师 - Designer Grid      */
/* =============================== */

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

.designer-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.designer-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.designer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 12px;
    border: 3px solid var(--color-border);
}

.designer-card:hover .designer-avatar {
    border-color: var(--color-primary);
}

.designer-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.designer-title {
    font-size: 0.78rem;
    color: var(--color-text-lighter);
    margin-bottom: 6px;
}

.designer-stars {
    color: var(--color-gold);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.designer-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 0.78rem;
    color: var(--color-text-lighter);
}

.designer-stats span em {
    font-style: normal;
    font-weight: 600;
    color: var(--color-text);
}


/* =============================== */
/* 11. 装修大师 - Master Profiles  */
/* =============================== */

.master-section {
    background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 50%, #0f0f1a 100%);
    position: relative;
    overflow: hidden;
}

.master-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(228,57,60,0.03) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255,107,107,0.02) 0%, transparent 50%);
    pointer-events: none;
}

.master-section .section-header h2 {
    color: var(--color-text-white);
}

.master-section .section-header h2 small {
    color: rgba(255,255,255,0.5);
}

.master-section .section-more .btn-outline-primary {
    color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.3);
}

.master-section .section-more .btn-outline-primary:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

/* 大师网格 — 3列，每个大师卡片大气舒展 */
.master-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* 大师卡片容器 */
.master-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s ease;
    position: relative;
}

.master-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(228,57,60,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.master-card:hover::after {
    opacity: 1;
}

.master-card:hover {
    transform: translateY(-8px);
    border-color: rgba(228,57,60,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.master-inner {
    padding: 28px 24px 24px;
    position: relative;
    z-index: 1;
}

/* 头部：头像 + 信息 */
.master-header {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
}

.master-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.master-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-size: cover;
    background-position: center top;
    border: 3px solid rgba(228,57,60,0.6);
    box-shadow: 0 0 30px rgba(228,57,60,0.2);
    transition: all 0.4s ease;
}

.master-card:hover .master-avatar {
    border-color: var(--color-primary);
    box-shadow: 0 0 40px rgba(228,57,60,0.35);
}

.master-badge {
    position: absolute;
    bottom: -2px;
    right: -6px;
    background: linear-gradient(135deg, #E4393C, #FF6B6B);
    color: var(--color-text-white);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 2px solid #1a1a2e;
    letter-spacing: 1px;
}

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

.master-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 2px;
}

.master-title {
    font-size: 0.78rem;
    color: var(--color-primary-light);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.master-honor {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 10px;
}

.master-stats {
    display: flex;
    gap: 16px;
}

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

.master-stat .stat-num {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1.2;
}

.master-stat .stat-label {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
}

/* 身体：简介 + 金句 */
.master-body {
    margin-bottom: 16px;
}

.master-intro h4 {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 6px;
}

.master-intro p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.master-quote {
    position: relative;
    padding: 12px 16px;
    background: rgba(228,57,60,0.08);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-primary);
}

.quote-mark {
    position: absolute;
    top: 2px;
    left: 10px;
    font-size: 2rem;
    color: rgba(228,57,60,0.25);
    line-height: 1;
    font-family: Georgia, serif;
}

.master-quote p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    font-style: italic;
    line-height: 1.6;
    padding-left: 4px;
}

/* 专长 */
.master-specialties {
    margin-bottom: 16px;
}

.master-specialties h4 {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.specialty-tag {
    padding: 3px 12px;
    background: rgba(228,57,60,0.12);
    color: var(--color-primary-light);
    border-radius: 14px;
    font-size: 0.72rem;
    border: 1px solid rgba(228,57,60,0.2);
}

/* 代表作品 */
.master-cases {
    margin-bottom: 18px;
}

.master-cases h4 {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.master-case-thumbs {
    display: flex;
    gap: 8px;
}

.master-case-thumb {
    flex: 1;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.master-case-thumb:hover {
    transform: translateY(-2px);
}

.thumb-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    margin-bottom: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: border-color var(--transition);
}

.master-case-thumb:hover .thumb-img {
    border-color: var(--color-primary);
}

.master-case-thumb span {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 按钮 */
.master-actions {
    display: flex;
    gap: 8px;
}

.master-actions .btn-primary {
    flex: 1;
    font-size: 0.82rem;
    padding: 8px 12px;
    background: linear-gradient(135deg, #E4393C, #FF6B6B);
    border: none;
}

.master-actions .btn-primary:hover {
    background: linear-gradient(135deg, #C1272D, #E4393C);
}

.master-actions .btn-outline-primary {
    flex: 1;
    font-size: 0.78rem;
    padding: 8px 12px;
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.25);
}

.master-actions .btn-outline-primary:hover {
    background: rgba(228,57,60,0.15);
    border-color: var(--color-primary);
    color: var(--color-primary-light);
}


/* =============================== */
/* 12. 装修攻略 - Article Grid     */
/* =============================== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    display: flex;
    gap: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.article-card-img {
    width: 180px;
    min-height: 140px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.article-card-body {
    flex: 1;
    padding: 14px 14px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-card-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-body p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
    line-height: 1.5;
}

.article-meta {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    display: flex;
    gap: 12px;
}


/* =============================== */
/* 12. 建材商城 - Mall Grid        */
/* =============================== */

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

.mall-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.mall-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.mall-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.mall-card-body {
    padding: 12px 14px;
}

.mall-card-body h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mall-card-body .mall-brand {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    margin-bottom: 6px;
}

.mall-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.mall-price .price-current {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mall-price .price-original {
    font-size: 0.78rem;
    color: var(--color-text-lighter);
    text-decoration: line-through;
}

.mall-price .price-sales {
    font-size: 0.72rem;
    color: var(--color-text-lighter);
    margin-left: auto;
}


/* =============================== */
/* 13. 问答社区 - Q&A List        */
/* =============================== */

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.qa-item {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
    transition: background var(--transition);
    cursor: pointer;
}

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

.qa-item:hover {
    background: #FAFAFA;
}

.qa-stats {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.qa-stat {
    text-align: center;
    min-width: 40px;
}

.qa-stat .num {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
}

.qa-stat .num.answered {
    color: #52C41A;
}

.qa-stat .label {
    font-size: 0.72rem;
    color: var(--color-text-lighter);
}

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

.qa-main h4 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qa-main h4 .qa-status {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.72rem;
    margin-right: 6px;
    vertical-align: middle;
}

.qa-status.solving {
    background: #FFF7E6;
    color: #FA8C16;
}

.qa-status.solved {
    background: #F6FFED;
    color: #52C41A;
}

.qa-meta {
    font-size: 0.78rem;
    color: var(--color-text-lighter);
    display: flex;
    gap: 16px;
}

.qa-answer {
    flex-shrink: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px;
}

.qa-answer .ans-count {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text-lighter);
}

.qa-answer .ans-label {
    font-size: 0.72rem;
    color: var(--color-text-lighter);
}


/* =============================== */
/* 14. 维修服务 - Repair Grid     */
/* =============================== */

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

.repair-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.repair-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.repair-card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.repair-card-img .repair-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
}

.repair-card-body {
    padding: 16px;
}

.repair-card-body h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.repair-card-body p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.repair-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
}

.repair-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.repair-price small {
    font-weight: 400;
    color: var(--color-text-lighter);
    font-size: 0.72rem;
}

.repair-rating {
    color: var(--color-gold);
}

.repair-rating .repair-count {
    color: var(--color-text-lighter);
    margin-left: 2px;
}


/* =============================== */
/* 15. 农村建房 - Rural Grid      */
/* =============================== */

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

.rural-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    cursor: pointer;
}

.rural-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.rural-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.rural-card-img .rural-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
}

.rural-card-body {
    padding: 16px;
}

.rural-card-body h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.rural-card-body .rural-sub {
    font-size: 0.78rem;
    color: var(--color-text-lighter);
    margin-bottom: 8px;
}

.rural-card-body p {
    font-size: 0.82rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rural-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
}

.rural-price {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

.rural-price small {
    font-weight: 400;
    color: var(--color-text-lighter);
    font-size: 0.72rem;
}

.rural-stats {
    display: flex;
    gap: 12px;
    color: var(--color-text-lighter);
    font-size: 0.75rem;
}


/* =============================== */
/* 16. 装修保障 - Guarantee       */
/* =============================== */

.guarantee-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #E4393C 0%, #C1272D 100%);
    color: var(--color-text-white);
}

.guarantee-section .section-header h2 {
    color: var(--color-text-white);
}

.guarantee-section .section-header h2 small {
    color: rgba(255,255,255,0.7);
}

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

.guarantee-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    transition: all var(--transition);
}

.guarantee-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.guarantee-icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.guarantee-item h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.guarantee-item p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.5;
}


/* =============================== */
/* 15. 装修地图弹窗 - Map Modal   */
/* =============================== */

.map-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.map-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 960px;
    max-width: 94vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.25s ease;
}

.map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--color-border);
    flex-shrink: 0;
}

.map-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #F0F0F0;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    color: var(--color-text-light);
}

.map-modal-close:hover {
    background: var(--color-primary);
    color: #fff;
}

.map-modal-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.map-area-tabs {
    display: flex;
    gap: 4px;
    padding: 14px 20px 0;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.area-tab {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: var(--color-text-light);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
    background: #FAFAFA;
}

.area-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.area-tab.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

.map-container {
    display: flex;
    flex: 1;
    padding: 14px 20px 20px;
    gap: 16px;
    min-height: 0;
}

.map-sidebar {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map-filter {
    display: flex;
    gap: 12px;
    padding: 10px 14px;
    background: #FAFAFA;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
}

.map-filter-label {
    color: var(--color-text-lighter);
    font-size: 0.78rem;
}

.map-filter label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: var(--color-text-light);
}

.map-filter input[type="checkbox"] {
    accent-color: var(--color-primary);
}

.map-results {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
}

.map-result-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition);
}

.map-result-item:hover {
    background: #FFF5F5;
}

.mri-marker {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

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

.mri-info h5 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mri-info p {
    font-size: 0.75rem;
    color: var(--color-text-lighter);
    margin-bottom: 4px;
}

.mri-tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 0.68rem;
    background: #FFF0F0;
    color: var(--color-primary);
}

.map-canvas {
    flex: 1;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    background: #F8F9FC;
}

.map-grid-overlay {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 350px;
    background-image:
        linear-gradient(rgba(200,200,210,0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,200,210,0.3) 1px, transparent 1px);
    background-size: 40px 40px;
}

.map-city-bg {
    width: 100%;
    height: 100%;
    position: relative;
    min-height: 350px;
}

.map-district {
    position: absolute;
    text-align: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all var(--transition);
}

.map-district:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.district-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.district-count {
    font-size: 0.72rem;
    color: var(--color-primary);
    font-weight: 500;
}

.map-pin {
    position: absolute;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: all var(--transition);
    z-index: 2;
}

.map-pin:hover {
    transform: scale(1.3);
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}

.map-empty-msg {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 100px;
    color: var(--color-text-lighter);
    font-size: 0.85rem;
    text-align: center;
    padding: 20px;
}


/* =============================== */
/* 16. 底部链接 - Bottom Links     */
/* =============================== */

.bottom-links {
    padding: 40px 0 30px;
    background: #2B2B2B;
    color: #CCCCCC;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr 2fr 3fr;
    gap: 30px;
}

.bottom-col h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-white);
    margin-bottom: 14px;
}

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

.bottom-col ul li a {
    font-size: 0.82rem;
    color: #999;
    transition: color var(--transition);
}

.bottom-col ul li a:hover {
    color: var(--color-primary-light);
}

.bottom-col-contact .contact-phone {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-orange);
    margin-bottom: 6px;
}

.bottom-col-contact .contact-time {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 4px;
}

.bottom-col-contact .contact-email {
    font-size: 0.82rem;
    color: #999;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 1rem;
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--color-primary);
}


/* =============================== */
/* 16. 页脚 - Footer              */
/* =============================== */

.footer {
    padding: 20px 0;
    background: #222222;
    color: #888;
    font-size: 0.78rem;
    text-align: center;
}

.footer-content p {
    margin-bottom: 6px;
}

.footer-content a {
    color: #888;
}

.footer-content a:hover {
    color: var(--color-primary-light);
}

.footer-disclaimer {
    color: #666;
    font-size: 0.72rem;
}


/* =============================== */
/* 17. 回到顶部按钮               */
/* =============================== */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

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


/* =============================== */
/* 18. 状态提示 Toast             */
/* =============================== */

.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    color: var(--color-text-white);
    font-size: 0.9rem;
    z-index: 9999;
    transition: transform 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-success {
    background: #52C41A;
}

.toast-error {
    background: var(--color-primary);
}

.toast-info {
    background: #1890FF;
}


/* =============================== */
/* 19. 响应式设计 - Responsive     */
/* =============================== */

/* --- 大屏 (992px~1199px) --- */
@media (max-width: 1199px) {
    .case-grid { grid-template-columns: repeat(3, 1fr); }
    .designer-grid { grid-template-columns: repeat(3, 1fr); }
    .master-grid { grid-template-columns: repeat(3, 1fr); }
    .mall-grid { grid-template-columns: repeat(3, 1fr); }
    .repair-grid { grid-template-columns: repeat(3, 1fr); }
    .rural-grid { grid-template-columns: repeat(3, 1fr); }
    .bottom-grid { grid-template-columns: 2fr 2fr 2fr 2fr; }
}

/* --- 中屏 (768px~991px) --- */
@media (max-width: 991px) {
    :root { --header-height: 60px; }

    .nav { display: none; }
    .mobile-toggle { display: flex; }

    .nav.open {
        display: block;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        box-shadow: var(--shadow-md);
        padding: 12px 0;
    }

    .nav.open ul {
        flex-direction: column;
    }

    .nav.open ul li a {
        padding: 12px 20px;
        border-radius: 0;
    }

    .nav.open ul li.active a::after { display: none; }
    .nav.open ul li.active a {
        background: rgba(228,57,60,0.06);
    }

    .header-actions { display: none; }

    .hero-slider { height: 360px; }
    .slide-content h2 { font-size: 1.8rem; }

    .entry-grid { grid-template-columns: repeat(3, 1fr); }
    .case-grid { grid-template-columns: repeat(2, 1fr); }
    .company-grid { grid-template-columns: repeat(2, 1fr); }
    .designer-grid { grid-template-columns: repeat(2, 1fr); }
    .master-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .article-card-img { width: 140px; }
    .mall-grid { grid-template-columns: repeat(2, 1fr); }
    .repair-grid { grid-template-columns: repeat(2, 1fr); }
    .rural-grid { grid-template-columns: repeat(2, 1fr); }
    .bottom-grid { grid-template-columns: 1fr 1fr; }
    .guarantee-grid { grid-template-columns: repeat(2, 1fr); }

    .form-row { grid-template-columns: repeat(2, 1fr); }

    /* 搜索条响应式 */
    .search-band-row { flex-wrap: wrap; }
    .sb-btn-map { padding: 0 14px; font-size: 0.85rem; }
    .hot-searches { display: none; }

    /* 地图弹窗中屏响应式 */
    .map-container { flex-direction: column; }
    .map-sidebar { width: 100%; max-height: 200px; }
    .map-canvas { min-height: 280px; }
}

/* --- 小屏 (<768px) --- */
@media (max-width: 767px) {
    .topbar { display: none; }

    .hero-slider { height: 260px; }
    .slide-content h2 { font-size: 1.4rem; }
    .slide-content p { font-size: 0.9rem; }

    .entry-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
    .entry-item { padding: 10px 4px; }
    .entry-icon { font-size: 1.4rem; }

    .section { padding: 30px 0; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .section-header h2 { font-size: 1.2rem; }
    .section-tabs { overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 4px; }

    .case-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .case-card-img { height: 150px; }

    .company-grid, .designer-grid, .master-grid, .article-grid, .mall-grid, .repair-grid, .rural-grid {
        grid-template-columns: 1fr;
    }

    .article-card { flex-direction: column; }
    .article-card-img { width: 100%; height: 160px; }
    .article-card-body { padding: 12px; }

    .form-row { grid-template-columns: 1fr; }

    .quote-box { padding: 20px; }

    .guarantee-grid { grid-template-columns: 1fr; }
    .bottom-grid { grid-template-columns: 1fr; }

    /* 搜索条响应式 */
    .search-band-row { flex-wrap: wrap; }
    .sb-input-wrap { min-width: 100%; order: -1; }
    .sb-btn { height: 40px; font-size: 0.85rem; flex: 1; justify-content: center; }
    .sb-btn-map { padding: 0 12px; font-size: 0.82rem; }
    .hot-searches { display: none; }
    .search-band-tabs { overflow-x: auto; }
    .sb-tab { padding: 10px 16px; font-size: 0.82rem; white-space: nowrap; }

    .back-to-top { width: 38px; height: 38px; font-size: 1rem; bottom: 20px; right: 16px; }

    .city-list-all { grid-template-columns: repeat(3, 1fr); }

    /* 地图弹窗响应式 */
    .map-modal { max-height: 95vh; }
    .map-container { flex-direction: column; }
    .map-sidebar { width: 100%; max-height: 200px; }
    .map-canvas { min-height: 300px; }
    .map-district { padding: 4px 10px; }
    .district-label { font-size: 0.75rem; }
    .district-count { font-size: 0.65rem; }
    .map-pin { width: 22px; height: 22px; font-size: 0.6rem; }
}
