/* 红瓦联盟网站样式表 */
/* 提取自 网站-实时数据.html, 2026-06-23 */

:root {
            --primary: #8B0000;
            --primary-hover: #6a0000;
            --secondary: #1E3264;
            --secondary-hover: #2a4080;
            --accent: #C9A961;
            --light: #F5F5F5;
            --dark: #2C2C2C;
            --white: #ffffff;
            --text: #2C2C2C;
            --text-secondary: #555;
            --text-light: #666;
            --text-muted: #777;
            --text-placeholder: #888;
            --text-disabled: #999;
            --bg-page: #fff;
            --bg-section: #F5F5F5;
            --border: #e0e0e0;
            --border-light: #f0f0f0;
            --success: #2e7d32;
            --success-bg: #e8f5e9;
            --danger: #c62828;
            --danger-bg: #fce4ec;
            --disabled: #757575;
            --disabled-bg: #f5f5f5;
            --shadow-sm: 0 3px 12px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 30px rgba(139,0,0,0.15);
            --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 12px;
            --radius-xl: 16px;
            --font-family: 'Microsoft YaHei', '微软雅黑', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
        }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: var(--font-family); color: var(--dark); background: var(--white); }

        /* 导航 */
        .header { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.97); box-shadow: 0 2px 20px rgba(0,0,0,0.1); z-index: 1000; }
        .navbar { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 70px; }
        .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
        .logo-img { height: 50px; width: auto; flex-shrink: 0; }
        .logo-text { display: flex; flex-direction: column; min-width: 0; }
        .logo-name { font-size: 18px; font-weight: bold; color: var(--secondary); white-space: nowrap; }
        .logo-sub { font-size: 12px; color: var(--text-light); display: block; white-space: nowrap; }
        .nav-links { display: flex; list-style: none; gap: 2px; align-items: center; flex-wrap: nowrap; }
        .nav-links a { padding: 8px 10px; text-decoration: none; color: var(--dark); border-radius: 6px; font-size: 14px; transition: all 0.3s; white-space: nowrap; }
        .nav-links a:hover { background: var(--primary); color: white; }
        .admin-btn { background: var(--secondary) !important; color: white !important; }

        /* ====== 新版：Banner与Hero合并布局 ====== */
        .hero-banner-section {
            padding: 40px 0 60px;
            background: var(--white);
            margin-top: 70px;
        }

        .hero-banner-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 2fr 3fr;
            gap: 40px;
            align-items: start;
        }

        @media (max-width: 992px) {
            .hero-banner-container {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        /* 左侧：Banner容器 */
        .banner-left-container {
            width: 100%;
        }

        /* 左侧：16:9比例Banner轮播区 */
        .banner-left {
            position: relative;
            width: 100%;
            height: 0;
            padding-bottom: 56.25%; /* 16:9比例 = 9/16 = 0.5625 */
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 8px 30px rgba(139, 0, 0, 0.15);
            background: linear-gradient(45deg, var(--primary), var(--secondary));
        }

        .banner-slides {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }

        .banner-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 0.5s ease;
            border-radius: 12px;
        }

        .banner-slide.active {
            opacity: 1;
        }

        /* 右侧：核心内容区 */
        .hero-content-right {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .hero-content-right h1 {
            font-size: 40px;
            line-height: 1.2;
            color: var(--primary);
            margin: 0;
            font-weight: 800;
        }

        .hero-content-right h1 span {
            color: var(--secondary);
            font-weight: 600;
            display: block;
            margin-top: 8px;
        }

        .hero-content-right .intro-text {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-secondary);
            margin: 0;
        }

        /* 核心数据卡片 */
        .hero-stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-top: 10px;
        }

        .hero-stat-card {
            background: rgba(139, 0, 0, 0.03);
            border: 1px solid rgba(139, 0, 0, 0.1);
            border-radius: 12px;
            padding: 18px 15px;
            text-align: center;
            transition: all 0.3s;
        }

        .hero-stat-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(139, 0, 0, 0.1);
            border-color: rgba(139, 0, 0, 0.2);
        }

        .hero-stat-num {
            font-size: 32px;
            font-weight: 800;
            color: var(--primary);
            margin-bottom: 5px;
        }

        .hero-stat-label {
            font-size: 13px;
            color: var(--text-light);
            line-height: 1.4;
        }

        /* 右侧CTA按钮 */
        .hero-action-buttons {
            display: flex;
            gap: 16px;
            margin-top: 10px;
            flex-wrap: wrap;
        }

        .hero-action-btn {
            flex: 1;
            min-width: 140px;
            text-align: center;
            text-decoration: none;
            padding: 14px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 15px;
            transition: all 0.3s;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .hero-action-btn.primary {
            background: var(--primary);
            color: white;
            border: 2px solid var(--primary);
        }

        .hero-action-btn.primary:hover {
            background: var(--primary-hover);
            border-color: var(--primary-hover);
            transform: translateY(-2px);
        }

        .hero-action-btn.outline {
            background: transparent;
            color: var(--primary);
            border: 2px solid var(--primary);
        }

        .hero-action-btn.outline:hover {
            background: rgba(139, 0, 0, 0.05);
            transform: translateY(-2px);
        }

        /* Banner控制按钮 */
        .banner-controls {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            z-index: 10;
        }

        .banner-prev, .banner-next {
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 16px;
            transition: all 0.3s;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .banner-prev:hover, .banner-next:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        .banner-dots {
            display: flex;
            gap: 8px;
            padding: 8px 12px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 20px;
            backdrop-filter: blur(5px);
        }

        .banner-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s;
        }

        .banner-dot.active {
            background: var(--white);
            transform: scale(1.2);
        }

        /* Banner标题区域 */
        .banner-caption {
            margin-top: 20px;
            padding: 0;
            background: transparent;
            border-radius: 0;
            border-left: none;
            transition: all 0.3s ease;
        }

        .banner-caption-inner {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 18px;
            background: linear-gradient(135deg, rgba(139, 0, 0, 0.08) 0%, rgba(30, 50, 100, 0.06) 100%);
            border-radius: 10px;
            border: 1px solid rgba(139, 0, 0, 0.12);
            transition: all 0.3s ease;
        }

        .banner-caption:hover {
            background: transparent;
            transform: none;
        }

        .banner-caption:hover .banner-caption-inner {
            background: linear-gradient(135deg, rgba(139, 0, 0, 0.12) 0%, rgba(30, 50, 100, 0.1) 100%);
            border-color: rgba(139, 0, 0, 0.25);
            transform: translateY(-1px);
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.08);
        }

        .banner-caption-icon {
            flex-shrink: 0;
            width: 32px;
            height: 32px;
            background: var(--primary);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .banner-caption-icon i {
            color: white;
            font-size: 14px;
            margin: 0;
        }

        .banner-caption-text {
            display: flex;
            flex-direction: column;
            gap: 0;
            font-size: 14px;
            color: var(--dark);
            line-height: 1.5;
        }

        .banner-caption-text i.fa-info-circle {
            display: none; /* 隐藏旧图标，使用新的banner-caption-icon */
        }

        .banner-caption-text span {
            flex: 1;
            font-weight: 600;
            font-size: 15px;
            color: var(--secondary);
            line-height: 1.5;
        }

        .banner-caption-desc {
            margin: 0;
            font-size: 13px;
            color: var(--text-placeholder);
            line-height: 1.5;
            display: none;
        }
        .banner-caption-desc:empty { display: none; }
        .banner-caption-desc:not(:empty) { display: block; margin-top: 4px; }

        .banner-caption-counter {
            flex-shrink: 0;
            font-size: 12px;
            color: var(--text-disabled);
            background: rgba(0,0,0,0.04);
            padding: 3px 10px;
            border-radius: 20px;
            white-space: nowrap;
        }

        @media (max-width: 768px) {
            .banner-caption {
                margin-top: 15px;
            }
            
            .banner-caption-inner {
                padding: 12px 14px;
                gap: 10px;
            }
            
            .banner-caption-icon {
                width: 28px;
                height: 28px;
                border-radius: 6px;
            }
            
            .banner-caption-icon i {
                font-size: 12px;
            }

            .banner-caption-text span {
                font-size: 14px;
            }

            .banner-caption-desc {
                font-size: 12px;
            }

            .banner-caption-counter {
                font-size: 11px;
                padding: 2px 8px;
            }
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .hero-banner-section {
                padding: 30px 0 40px;
            }
            
            .hero-content-right h1 {
                font-size: 32px;
            }
            
            .hero-stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .hero-action-buttons {
                flex-direction: column;
            }
            
            .hero-action-btn {
                min-width: 100%;
            }
        }

        /* 保持通用按钮样式 */
        .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.3s; cursor: pointer; border: none; }

        /* 通用区块 */
        .section { padding: 80px 0; }
        .section-alt { background: var(--light); }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        .section-head { text-align: center; margin-bottom: 50px; }
        .section-head h2 { font-size: 2.2rem; color: var(--secondary); margin-bottom: 12px; }
        .section-head p { color: var(--text-light); font-size: 1.05rem; }
        .section-head .line { width: 60px; height: 4px; background: var(--primary); margin: 12px auto 0; border-radius: 2px; }

        /* 近期活动 */
        .activities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
        .activity-card { background: var(--white); border-radius: 10px; box-shadow: 0 3px 12px rgba(0,0,0,0.07); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; display: flex; border-left: 3px solid var(--primary); }
        .activity-card:hover { transform: translateY(-2px); box-shadow: 0 5px 18px rgba(0,0,0,0.11); }
        .act-date { background: var(--primary); color: white; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 52px; }
        .act-day { font-size: 1.5rem; font-weight: 900; line-height: 1; }
        .act-month { font-size: 11px; margin-top: 3px; opacity: 0.85; }
        .act-body { padding: 13px 14px; flex: 1; display: flex; flex-direction: column; }
        .act-tags { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; flex-wrap: wrap; }
        .act-tag { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; }
        .act-category-tag { display: inline-block; padding: 1px 7px; border-radius: 12px; font-size: 10px; font-weight: 500; background: rgba(30, 50, 100, 0.08); color: var(--secondary); }
        .tag-upcoming { background: var(--success-bg); color: var(--success); }
        .tag-completed { background: var(--bg-section); color: var(--disabled); }
        .tag-cancelled { background: var(--danger-bg); color: var(--danger); }
        .act-title { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; word-break: break-all; line-height: 1.4; }
        .act-info { font-size: 12px; color: var(--text-muted); margin-bottom: 3px; display: flex; align-items: center; gap: 5px; }
        .act-desc { font-size: 12px; color: var(--text-secondary); margin-top: 8px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .act-link { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: var(--primary); font-size: 12px; font-weight: 600; text-decoration: none; }
        .act-link:hover { color: var(--primary-hover); }
        
        /* 查看全部活动按钮 */
        .view-all-container { 
            grid-column: 1 / -1; 
            text-align: center; 
            margin-top: 30px; 
            padding-top: 20px; 
            border-top: 1px solid rgba(0,0,0,0.1); 
        }
        .view-all-btn { 
            display: inline-flex; 
            align-items: center; 
            gap: 8px; 
            background: var(--primary); 
            color: white; 
            padding: 12px 24px; 
            border-radius: 8px; 
            text-decoration: none; 
            font-weight: 600; 
            font-size: 15px; 
            transition: all 0.3s; 
        }
        .view-all-btn:hover { 
            background: var(--primary-hover); 
            transform: translateY(-2px); 
            box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2); 
        }

        /* 服务内容 */
        .services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
        .service-card { background: var(--white); border-radius: 12px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-top: 4px solid var(--primary); transition: transform 0.3s; display: flex; flex-direction: column; }
        .service-card:hover { transform: translateY(-4px); }
        .service-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary), var(--primary-hover)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
        .service-icon i { color: white; font-size: 22px; }
        .service-title { font-size: 18px; font-weight: 700; color: var(--secondary); margin-bottom: 10px; }
        .service-desc { color: var(--text-light); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
        .service-features { list-style: none; margin-bottom: 15px; }
        .service-features li { font-size: 13px; color: var(--text-secondary); padding: 4px 0; display: flex; align-items: center; gap: 8px; }

        /* 合作伙伴卡片 - 独立样式（小尺寸版） */
        .partner-card {
            background: var(--white);
            border-radius: 12px;
            padding: 0;
            box-shadow: 0 2px 12px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: all 0.3s ease;
            position: relative;
        }
        .partner-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        }
        .partner-card-top {
            padding: 14px 16px 10px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .partner-card-icon {
            width: 40px;
            height: 40px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }
        .partner-card-icon::after {
            content: '';
            position: absolute;
            top: -8px;
            right: -8px;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: rgba(255,255,255,0.2);
        }
        .partner-card-icon svg {
            width: 20px;
            height: 20px;
            fill: white;
            position: relative;
            z-index: 1;
        }
        .partner-card-info {
            flex: 1;
            min-width: 0;
        }
        .partner-card-name {
            font-size: 13px;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 4px;
            line-height: 1.4;
            word-break: break-all;
            white-space: normal;
        }
        .partner-card-tag {
            display: inline-block;
            padding: 2px 8px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .partner-card-bottom {
            padding: 0 16px 12px;
        }
        .partner-card-desc {
            color: var(--text-light);
            font-size: 12px;
            line-height: 1.5;
            margin-bottom: 10px;
        }
        .partner-card-link {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            color: var(--text-placeholder);
            font-size: 12px;
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
        }
        .partner-card-link:hover { color: var(--primary); }
        .partner-card-link i { font-size: 10px; transition: transform 0.3s; }
        .partner-card:hover .partner-card-link i { transform: translateX(3px); }
        .service-features li::before { content: '✓'; color: var(--primary); font-weight: bold; }
        .detail-btn { 
            display: inline-block !important; 
            margin-top: auto !important; 
            background: var(--secondary) !important; 
            color: white !important; 
            padding: 8px 20px !important;  
            border-radius: 6px !important; 
            text-decoration: none !important; 
            font-weight: 600 !important; 
            font-size: 14px !important; 
            transition: all 0.3s !important; 
            border: none !important; 
            cursor: pointer !important; 
        }
        .detail-btn:hover { 
            background: var(--secondary-hover) !important; 
            transform: translateY(-2px) !important; 
            box-shadow: 0 4px 12px rgba(30, 50, 100, 0.2) !important; 
        }
        .detail-btn i { 
            margin-right: 5px !important; 
        }

        /* 案例成果 */
        .cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
        .cooperation-card { background: var(--white); border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: transform 0.3s; display: flex; flex-direction: column; }
        .cooperation-card:hover { transform: translateY(-4px); }
        .cooperation-header { background: linear-gradient(135deg, var(--secondary), var(--secondary-hover)); padding: 24px; color: white; }
        .cooperation-industry { display: inline-block; background: rgba(255,255,255,0.2); padding: 3px 10px; border-radius: 20px; font-size: 12px; margin-bottom: 10px; }
        .cooperation-title { font-size: 17px; font-weight: 700; }
        .cooperation-body { padding: 20px; }
        .cooperation-result { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
        .cooperation-metrics { display: flex; gap: 12px; flex-wrap: wrap; }
        .metric { background: var(--light); border-radius: 8px; padding: 10px 14px; text-align: center; flex: 1; min-width: 80px; }
        .cooperation-footer { padding: 0 20px 20px; margin-top: auto; border-top: 1px solid var(--border-light); padding-top: 16px; }
        .cooperation-link { 
            display: inline-flex; 
            align-items: center; 
            gap: 8px; 
            color: var(--primary); 
            font-size: 14px; 
            font-weight: 600; 
            text-decoration: none; 
            padding: 10px 20px; 
            background: rgba(139, 0, 0, 0.08); 
            border-radius: 8px; 
            transition: all 0.3s ease; 
            border: 1px solid rgba(139, 0, 0, 0.15); 
        }
        .cooperation-link:hover { 
            background: var(--primary); 
            color: white; 
            transform: translateY(-2px); 
            box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2); 
        }
        .cooperation-link i { 
            font-size: 12px; 
            transition: transform 0.3s ease; 
        }
        .cooperation-link:hover i { 
            transform: translateX(4px); 
        }
        .metric-val { font-size: 16px; font-weight: 700; color: var(--primary); }
        .metric-lbl { font-size: 11px; color: var(--text-placeholder); margin-top: 2px; }

        /* 最新动态 */
        .news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
        .news-card { background: var(--white); border-radius: 10px; padding: 16px; box-shadow: 0 3px 12px rgba(0,0,0,0.06); border-left: 3px solid var(--accent); transition: transform 0.3s; display: flex; flex-direction: column; }
        .news-card:hover { transform: translateY(-3px); }
        .news-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
        .news-cat { background: var(--secondary); color: white; padding: 2px 8px; border-radius: 20px; font-size: 11px; }
        .news-date { color: var(--text-placeholder); font-size: 12px; }
        .news-title { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
        .news-summary { font-size: 13px; color: var(--text-light); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-all; }
        .news-link { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; color: var(--secondary); font-size: 12px; font-weight: 600; text-decoration: none; }

        /* 关于我们 */
        .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .about-title { font-size: 2rem; color: var(--secondary); margin-bottom: 16px; }
        .about-desc { color: var(--text-secondary); line-height: 1.9; margin-bottom: 24px; }
        .about-features { display: grid; gap: 16px; }
        .feature { display: flex; align-items: flex-start; gap: 16px; }
        .feature-icon { width: 44px; height: 44px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .feature-icon i { color: white; font-size: 18px; }
        .feature h4 { font-size: 15px; color: var(--secondary); margin-bottom: 4px; }
        .feature p { font-size: 13px; color: var(--text-light); }
        .about-img { background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%); border-radius: 16px; height: 380px; display: flex; align-items: center; justify-content: center; color: white; text-align: center; }
        .about-img i { font-size: 64px; opacity: 0.4; display: block; margin-bottom: 16px; }
        .about-img p { opacity: 0.6; font-size: 14px; }

        /* 联系 */
        .contact-grid { display: flex; justify-content: center; gap: 60px; }
        .contact-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 800px; }
        .contact-item { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; background: var(--white); padding: 28px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-top: 4px solid var(--primary); }
        .contact-ico { width: 56px; height: 56px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .contact-ico i { color: white; font-size: 20px; }
        .contact-item h4 { font-size: 16px; color: var(--secondary); margin-bottom: 6px; }
        .contact-item p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
        /* 联系链接 */
        .map-link, .phone-link, .email-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            margin-top: 8px;
            font-size: 12px;
            color: var(--primary);
            text-decoration: none;
            padding: 6px 12px;
            background: rgba(139, 0, 0, 0.08);
            border-radius: 6px;
            transition: all 0.3s;
        }
        .map-link:hover, .phone-link:hover, .email-link:hover {
            background: rgba(139, 0, 0, 0.15);
            color: var(--primary-hover);
            transform: translateY(-1px);
        }
        .map-link i, .phone-link i, .email-link i {
            font-size: 11px;
        }
        
        /* 旧的表单样式（已废弃） */
        .form-wrap h3 { font-size: 20px; color: var(--secondary); margin-bottom: 24px; }
        .form-group { margin-bottom: 16px; }
        .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; transition: border-color 0.3s; background: var(--white); }
        .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
        .btn-submit { width: 100%; background: var(--primary); color: white; padding: 14px; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
        .btn-submit:hover { background: var(--primary-hover); }

        /* 页脚 */
        .footer { background: var(--secondary); color: rgba(255,255,255,0.8); padding: 50px 0 24px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .footer-logo { height: 50px; width: auto; margin-bottom: 12px; display: block; }
        .footer-brand p { font-size: 14px; opacity: 0.7; line-height: 1.7; margin-top: 10px; }
        .footer h4 { color: white; margin-bottom: 16px; font-size: 15px; }
        .footer ul { list-style: none; }
        .footer ul li { margin-bottom: 10px; }
        .footer ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.3s; }
        .footer ul li a:hover { color: var(--accent); }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 13px; opacity: 0.5; }
        
        /* 微信公众号二维码模态框样式 */
        .wechat-qr-modal {
            display: none; /* 默认隐藏 */
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7); /* 半透明黑色背景 */
        }
        
        .wechat-qr-content {
            background-color: var(--white);
            margin: 15% auto;
            padding: 0;
            width: 350px;
            border-radius: 16px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
            overflow: hidden;
        }
        
        .wechat-qr-header {
            background: var(--primary);
            color: white;
            padding: 20px;
            text-align: center;
        }
        
        .wechat-qr-header h3 {
            margin: 0;
            font-size: 20px;
            font-weight: 600;
        }
        
        .wechat-qr-header p {
            margin: 8px 0 0;
            opacity: 0.9;
            font-size: 14px;
        }
        
        .wechat-qr-body {
            padding: 30px;
            text-align: center;
        }
        
        .wechat-qr-code {
            max-width: 250px;
            height: auto;
            border: 10px solid #fff;
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
            background: var(--white);
        }
        
        .wechat-qr-note {
            margin-top: 20px;
            color: var(--text-light);
            font-size: 14px;
            line-height: 1.5;
        }
        
        .wechat-qr-note strong {
            color: var(--primary);
        }
        
        .wechat-qr-close {
            position: absolute;
            top: 10px;
            right: 15px;
            color: white;
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s;
        }
        
        .wechat-qr-close:hover {
            background-color: rgba(255, 255, 255, 0.2);
            transform: scale(1.1);
        }
        
        /* 页脚微信公众号链接样式 */
        .footer-wechat-link {
            color: var(--accent) !important;
            text-decoration: underline !important;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .footer-wechat-link:hover {
            color: #ffd700 !important;
            text-decoration: none !important;
        }

        /* 无内容提示 */
        .empty-tip { text-align: center; padding: 60px 20px; color: var(--text-disabled); grid-column: 1/-1; }
        .empty-tip i { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.4; }

        /* 实时数据状态指示器 */
        .data-status {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background: var(--white);
            padding: 8px 16px;
            border-radius: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            font-size: 12px;
            display: none; /* 默认隐藏，实时模式时显示 */
            align-items: center;
            gap: 8px;
            z-index: 1000;
            transition: all 0.3s;
        }
        .data-status.visible { display: flex; }
        .data-status.connected { color: #2E7D32; }
        .data-status.disconnected { color: #C62828; }
        .data-status .status-dot {
            width: 8px; height: 8px; border-radius: 50%; display: inline-block;
        }
        .data-status.connected .status-dot { background: #2E7D32; }
        .data-status.disconnected .status-dot { background: #C62828; }

        /* 骨架屏加载 */
        .skeleton-card {
            background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite;
            border-radius: 12px;
        }
        .skeleton-card.activity { height: 200px; }
        .skeleton-card.service { height: 280px; }
        .skeleton-card.case { height: 200px; }
        .skeleton-card.news { height: 160px; }
        @keyframes skeleton-loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

/* ====== Hamburger Menu ====== */
.hamburger { display: none; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px; z-index: 1100; background: transparent; border: none; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--secondary); border-radius: 1px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mobile-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1050; background: rgba(255,255,255,0.98); padding: 80px 20px 20px; overflow-y: auto; }
.mobile-nav.show { display: block; }
.mobile-nav a { display: block; padding: 14px 12px; text-decoration: none; color: var(--dark); font-size: 16px; border-bottom: 1px solid #eee; }
.mobile-nav a i { width: 24px; color: var(--primary); }

/* 平板：导航条横向滚动 */
@media (max-width: 1024px) and (min-width: 769px) {
    .navbar { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .nav-links { flex-wrap: nowrap; }
}

@media (max-width: 768px) {
    .hero-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 375px) {
    .logo-img { height: 28px; }
    .logo-name { font-size: 13px; line-height: 1.2; }
    .logo-sub { font-size: 10px; line-height: 1.2; }
    .logo { gap: 6px; }
    .hero-content-right h1 { font-size: 26px; }
    .hero-stats-grid { grid-template-columns: 1fr; gap: 10px; }
    .hero-stat-num { font-size: 24px; }
    .hero-action-btn { font-size: 13px; padding: 12px 16px; }
    .section-head h2 { font-size: 1.5rem; }
    .activities-grid, .services-grid, .news-grid { grid-template-columns: 1fr; }
    .contact-items { grid-template-columns: 1fr; gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .banner-caption-inner { padding: 10px 12px; }
    .banner-caption-text span { font-size: 12px; }
}
@media (max-width: 480px) {
    .logo { gap: 8px; }
    .logo-img { height: 32px; flex-shrink: 0; }
    .logo-name { font-size: 14px; line-height: 1.2; }
    .logo-sub { font-size: 10px; line-height: 1.2; }
    .navbar { height: 56px; padding: 0 10px; }
    .hero-banner-section { margin-top: 56px; padding: 20px 0 30px; }
    .section { padding: 40px 0; }
    .section-head { margin-bottom: 30px; }
    .container { padding: 0 12px; }
    .hero-content-right { gap: 12px; }
    .partner-card-top { padding: 12px; }
    .partner-card-name { font-size: 12px; }
    .cooperation-card { min-width: 100%; }
}
@media (min-width: 1024px) {
    .activities-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: repeat(3, 1fr); }
    .partner-card { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
}

/* ============================================================
   注册信息表单弹窗 (Profile Modal)
   ============================================================ */
.pf-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    animation: pfFadeIn 0.2s ease;
}
@keyframes pfFadeIn { from { opacity: 0; } to { opacity: 1; } }

.pf-modal {
    background: #fff; border-radius: 16px; width: 90%; max-width: 480px;
    max-height: 85vh; overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.pf-header {
    background: linear-gradient(135deg, #1a365d, #2b4a7a);
    color: #fff; padding: 28px 32px 20px; border-radius: 16px 16px 0 0;
}
.pf-header h2 { font-size: 20px; margin: 0; }
.pf-body { padding: 24px 32px; }
.pf-label { display: block; font-size: 14px; font-weight: 600; color: #333; margin-bottom: 6px; }
.pf-input {
    width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 8px;
    font-size: 14px; box-sizing: border-box; transition: border-color 0.2s;
}
.pf-input:focus { border-color: #1a365d; outline: none; box-shadow: 0 0 0 3px rgba(26,54,93,0.1); }
.pf-checks { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.pf-check-label {
    display: inline-flex; align-items: center; padding: 6px 12px;
    border: 1px solid #ddd; border-radius: 20px; font-size: 13px;
    cursor: pointer; transition: all 0.2s; user-select: none;
}
.pf-check-label:hover { border-color: #1a365d; }
.pf-check-label input[type=checkbox] { margin-right: 4px; }
.pf-check-label:has(input:checked) { background: #e8f0fe; border-color: #1a365d; color: #1a365d; }

.pf-footer {
    padding: 16px 32px 24px; display: flex; gap: 12px; justify-content: flex-end;
    border-top: 1px solid #f0f0f0;
}
.pf-btn {
    padding: 10px 24px; border-radius: 8px; font-size: 14px; cursor: pointer;
    border: none; transition: all 0.2s;
}
.pf-btn-save { background: linear-gradient(135deg, #1a365d, #2b4a7a); color: #fff; }
.pf-btn-save:hover { opacity: 0.9; transform: translateY(-1px); }
.pf-btn-save:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.pf-btn-skip { background: #f5f5f5; color: #666; }
.pf-btn-skip:hover { background: #e8e8e8; }

@media (max-width: 768px) {
    .pf-modal { width: 95%; max-height: 90vh; }
    .pf-header { padding: 20px 20px 16px; }
    .pf-body { padding: 16px 20px; }
    .pf-footer { padding: 12px 20px 16px; flex-direction: column; }
    .pf-btn { width: 100%; }
    .pf-btn-skip { order: 2; }
    .pf-btn-save { order: 1; }
}

