/* =============================
   九州智联企业官网 - 主样式表
   主题色: #0066cc (蓝色)
   版本: 2.0 - 全响应式
   ============================= */

/* ===== CSS变量 ===== */
:root {
    --primary: #0066cc;
    --primary-dark: #003d80;
    --primary-light: #e6f7ff;
    --text: #333;
    --text-secondary: #666;
    --text-muted: #888;
    --text-light: #bbb;
    --bg: #fff;
    --bg-gray: #f5f7fa;
    --border: #f0f0f0;
    --footer-bg: #1a1a2e;
    --shadow-sm: 0 1px 6px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

/* ===== 基础重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 14px; }
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 按钮样式 ===== */
.btn-primary {
    display: inline-block; padding: 10px 24px;
    background: var(--primary); color: #fff;
    border: none; border-radius: 4px;
    font-size: 14px; cursor: pointer;
    transition: var(--transition); text-decoration: none;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline {
    display: inline-block; padding: 10px 28px;
    border: 2px solid var(--primary); color: var(--primary);
    border-radius: 4px; font-size: 14px; font-weight: 500;
    transition: var(--transition); text-decoration: none;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.bg-gray { background: var(--bg-gray); }
.mt20 { margin-top: 20px; }
.mt40 { margin-top: 40px; }
.mb30 { margin-bottom: 30px; }

/* ===== 顶部通知栏 ===== */
.top-bar {
    background: var(--primary-dark); color: #fff; font-size: 13px;
    overflow: hidden;
}
.top-bar-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; flex-wrap: wrap; gap: 4px;
}
.top-notice { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-btn { color: #ffd666; font-weight: 500; white-space: nowrap; margin-left: 16px; flex-shrink: 0; }
.top-btn:hover { color: #fff; }

/* ===== 主导航 ===== */
.header {
    background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky; top: 0; z-index: 1000;
}
.header-inner {
    display: flex; align-items: center; height: 64px; gap: 24px;
}
.logo { flex-shrink: 0; display: flex; align-items: center; }
.logo img { height: 36px; width: auto; }
.logo-text { font-size: 20px; font-weight: bold; color: var(--primary); }
.logo:hover { opacity: 0.85; }

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
    z-index: 1001; margin-left: auto;
}
.mobile-menu-btn span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: var(--transition);
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
    display: block; padding: 20px 14px; font-size: 15px; color: var(--text);
    font-weight: 500; white-space: nowrap;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--primary); }

/* 下拉菜单 */
.dropdown {
    display: none; position: absolute; top: 100%; left: 50%;
    transform: translateX(-50%);
    background: #fff; box-shadow: var(--shadow-lg);
    border-radius: var(--radius); min-width: 180px;
    padding: 8px 0; z-index: 100;
}
.nav-item:hover .dropdown { display: block; }
.dropdown-inner { display: flex; flex-direction: column; }
.dropdown a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text); white-space: nowrap; }
.dropdown a:hover { background: var(--primary-light); color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-actions a,
.header-actions button {
    font-size: 14px; color: var(--text-muted);
    background: none; border: none; cursor: pointer;
}
.header-actions a:hover { color: var(--primary); }
.lang-switch {
    font-size: 12px !important; padding: 2px 8px;
    border: 1px solid #d9d9d9; border-radius: 4px;
}
.search-btn { font-size: 18px !important; }

/* 搜索弹窗 */
.search-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); z-index: 2000;
    display: flex; align-items: flex-start; justify-content: center;
    padding: 15% 20px 0;
}
.search-box {
    background: #fff; padding: 24px; border-radius: var(--radius);
    width: 600px; max-width: 100%; display: flex; gap: 10px;
    align-items: center; box-shadow: var(--shadow-lg);
}
.search-box input {
    flex: 1; height: 44px; min-width: 0;
    border: 1px solid #d9d9d9; border-radius: 4px;
    padding: 0 14px; font-size: 15px; outline: none;
}
.search-box input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0,102,204,0.1); }
.search-box button {
    padding: 0 20px; height: 44px;
    background: var(--primary); color: #fff;
    border: none; border-radius: 4px; font-size: 14px; cursor: pointer;
    white-space: nowrap; transition: var(--transition);
}
.search-box button:hover { background: var(--primary-dark); }
.search-close { font-size: 24px; cursor: pointer; color: #999; flex-shrink: 0; }

/* ===== Banner轮播 ===== */
.banner-section { position: relative; overflow: hidden; }
.banner-slider { position: relative; }
.banner-slide {
    display: none; position: relative; height: 480px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    align-items: center;
}
.banner-slide.active { display: flex; }
.banner-bg {
    position: absolute; inset: 0; background-size: cover;
    background-position: center; opacity: 0.4;
}
.banner-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.3); }
.banner-content {
    position: relative; z-index: 1; color: #fff; max-width: 640px;
}
.banner-content h2 {
    font-size: 40px; font-weight: 700; margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s; line-height: 1.2;
}
.banner-content p {
    font-size: 18px; margin-bottom: 24px; opacity: 0.9;
    animation: fadeInUp 1s; line-height: 1.5;
}
.banner-link {
    display: inline-block; padding: 12px 32px;
    border: 2px solid #fff; color: #fff; border-radius: 4px;
    font-size: 15px; font-weight: 500;
    transition: var(--transition); animation: fadeInUp 1.2s;
}
.banner-link:hover { background: #fff; color: var(--primary); }
.banner-dots {
    position: absolute; bottom: 24px; left: 50%;
    transform: translateX(-50%); display: flex; gap: 8px; z-index: 2;
}
.dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: #fff; width: 28px; border-radius: 5px; }
@keyframes fadeInUp {
    from { opacity:0; transform:translateY(20px); }
    to { opacity:1; transform:translateY(0); }
}

/* ===== 通用区块 ===== */
.section { padding: 64px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 {
    font-size: 30px; font-weight: 700; color: #222;
    margin-bottom: 12px; line-height: 1.3;
}
.section-header .subtitle { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.section-footer { text-align: center; }
.section-subheader { margin: 40px 0 20px; }
.section-subheader h3 { font-size: 22px; color: var(--text); }

/* ===== Tab切换 ===== */
.product-tabs, .industry-tabs {
    display: flex; justify-content: center; gap: 6px;
    margin-bottom: 32px; flex-wrap: wrap;
}
.tab-item {
    padding: 8px 20px; font-size: 14px; color: var(--text-muted);
    background: #f0f0f0; border-radius: 4px;
    cursor: pointer; transition: var(--transition);
    text-decoration: none; display: inline-block;
}
.tab-item:hover { color: var(--primary); background: var(--primary-light); }
.tab-item.active { background: var(--primary); color: #fff; }

/* ===== 产品网格 ===== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.product-grid.four-col { grid-template-columns: repeat(4, 1fr); }
.product-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.product-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); transition: var(--transition);
    border: 1px solid var(--border); height: 100%;
}
.product-card a { color: inherit; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-img { background: #f5f5f5; padding: 24px 20px; text-align: center; }
.product-img img { height: 140px; margin: 0 auto; object-fit: contain; }
.product-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { font-size: 16px; margin-bottom: 6px; line-height: 1.4; }
.product-info h3 a:hover { color: var(--primary); }
.product-info .model { font-size: 12px; color: #999; margin-bottom: 8px; }
.product-info .desc { font-size: 13px; color: var(--text-secondary); line-height: 1.5; flex: 1; }
.more-link { font-size: 13px; color: var(--primary); font-weight: 500; margin-top: auto; }
.more-link:hover { color: var(--primary-dark); }
.new-badge .product-img { position: relative; }
.new-badge .product-img::after {
    content: 'NEW'; position: absolute; top: 10px; right: 10px;
    background: #ff4d4f; color: #fff; font-size: 11px;
    padding: 2px 8px; border-radius: 3px; font-weight: bold;
}

/* ===== 解决方案网格 ===== */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.solution-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.solution-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); transition: var(--transition);
    height: 100%;
}
.solution-card a { color: inherit; display: flex; flex-direction: column; height: 100%; }
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.solution-img { height: 180px; overflow: hidden; background: #e8e8e8; }
.solution-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.solution-card:hover .solution-img img { transform: scale(1.05); }
.solution-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.solution-info h3 { font-size: 18px; margin-bottom: 8px; line-height: 1.3; }
.solution-info p { font-size: 13px; color: var(--text-secondary); flex: 1; margin-bottom: 12px; }

/* ===== 新闻区 ===== */
.news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.news-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.news-content .news-tag {
    display: inline-block; padding: 2px 8px; font-size: 11px;
    background: var(--primary-light); color: var(--primary);
    border-radius: 2px; margin-bottom: 8px;
}
.news-content h3 { font-size: 16px; margin-bottom: 6px; line-height: 1.4; }
.news-content h3 a { color: var(--text); }
.news-content h3 a:hover { color: var(--primary); }
.news-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.news-date { font-size: 12px; color: var(--text-light); }
.news-sidebar { background: #fafafa; padding: 20px; border-radius: var(--radius); height: fit-content; }
.news-sidebar h4 { font-size: 16px; margin-bottom: 12px; color: var(--text); }
.news-list li { padding: 8px 0; display: flex; align-items: center; gap: 8px; }
.news-list li .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary); flex-shrink: 0; position: static;
}
.news-list li a { font-size: 13px; color: var(--text-muted); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-list li a:hover { color: var(--primary); }
.news-list li .date { font-size: 11px; color: var(--text-light); flex-shrink: 0; }

/* ===== 案例网格 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-grid.three-col { grid-template-columns: repeat(3, 1fr); }
.case-card {
    background: #fff; border-radius: var(--radius); overflow: hidden;
    box-shadow: var(--shadow-md); transition: var(--transition);
    height: 100%;
}
.case-card a { color: inherit; display: flex; flex-direction: column; height: 100%; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-img { height: 180px; overflow: hidden; background: #e8e8e8; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.case-card:hover .case-img img { transform: scale(1.05); }
.case-info { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.case-info h3 { font-size: 16px; margin-bottom: 6px; line-height: 1.4; }
.case-info h3 a:hover { color: var(--primary); }
.case-info .customer { font-size: 12px; color: var(--primary); margin-bottom: 6px; }
.case-info .desc { font-size: 13px; color: var(--text-secondary); flex: 1; }

/* ===== 服务网格 ===== */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-grid.four-col { grid-template-columns: repeat(4, 1fr); }
.service-card {
    display: flex; flex-direction: column; align-items: center;
    background: #fff; padding: 32px 20px; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow-md);
    transition: var(--transition); border: 1px solid var(--border);
    color: inherit; text-decoration: none;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-icon { font-size: 40px; margin-bottom: 12px; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.service-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.icon-emoji { font-size: 40px; }
.service-card h3 { font-size: 16px; margin-bottom: 8px; color: var(--text); }
.service-card p { font-size: 13px; color: var(--text-muted); }

/* ===== 合作伙伴 ===== */
.partner-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px; justify-items: center;
}
.partner-grid.four-col { grid-template-columns: repeat(4, 1fr); }
.partner-item {
    display: flex; flex-direction: column; align-items: center;
    padding: 24px 20px; background: #fff; border-radius: var(--radius);
    width: 100%; text-align: center;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.partner-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.partner-item img { height: 50px; margin-bottom: 10px; object-fit: contain; }
.partner-item > span { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.partner-type {
    display: inline-block; font-size: 11px; color: var(--primary);
    background: var(--primary-light); padding: 1px 8px;
    border-radius: 10px; margin-top: 4px;
}
.partner-info { text-align: center; padding-top: 8px; }
.partner-info h3 { font-size: 15px; margin-bottom: 4px; }
.partner-info .type { font-size: 12px; color: #faad14; margin-bottom: 4px; }
.partner-info .desc { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }

/* ===== 咨询区 ===== */
.consult-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.consult-inner { max-width: 540px; margin: 0 auto; text-align: center; }
.consult-inner h2 { font-size: 28px; margin-bottom: 8px; }
.consult-inner p { font-size: 15px; opacity: 0.85; margin-bottom: 24px; }
.consult-form { display: flex; flex-direction: column; gap: 12px; }
.consult-form input, .consult-form textarea {
    padding: 12px 16px; border: none; border-radius: 4px;
    font-size: 14px; font-family: inherit; transition: var(--transition);
}
.consult-form input:focus, .consult-form textarea:focus {
    outline: 2px solid #ffd666; outline-offset: -2px;
}
.consult-form .btn-primary {
    background: #fff; color: var(--primary); font-weight: bold; font-size: 15px;
    padding: 14px; transition: var(--transition);
}
.consult-form .btn-primary:hover { background: #f0f0f0; }
.consult-form .btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* ===== 浮动工具 ===== */
.float-tools {
    position: fixed; right: 16px; bottom: 120px; z-index: 999;
    display: flex; flex-direction: column; gap: 8px;
}
.float-item {
    width: 44px; height: 44px; display: flex; align-items: center;
    justify-content: center; background: var(--primary); color: #fff;
    border-radius: 50%; font-size: 20px;
    box-shadow: 0 2px 12px rgba(0,102,204,0.3);
    text-decoration: none; transition: var(--transition);
}
.float-item:hover { background: var(--primary-dark); transform: scale(1.1); color: #fff; }

/* ===== 页脚 ===== */
.footer { background: var(--footer-bg); color: #aaa; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 13px; color: #888; padding: 5px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-col p { font-size: 13px; padding: 4px 0; }
.footer-col .phone { font-size: 18px; color: var(--primary); font-weight: bold; }
.footer-follow { margin-top: 8px; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.follow-icon { font-size: 18px; text-decoration: none; }
.footer-bottom {
    border-top: 1px solid #2a2a3e; padding-top: 20px;
    text-align: center; font-size: 12px;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--primary); }
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom span { color: #666; margin: 0 4px; }
.footer-links { margin-top: 10px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; }
.footer-links span { color: #666; font-size: 12px; }
.footer-links a { font-size: 12px; color: #888; }

/* ===== 内容布局（侧边栏 + 主内容） ===== */
.content-layout { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: start; }
.sidebar {
    background: #fff; padding: 20px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); height: fit-content;
    position: sticky; top: 80px;
}
.sidebar h3 {
    font-size: 16px; color: var(--text); margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 2px solid var(--primary);
}
.side-menu li { border-bottom: 1px solid #f5f5f5; }
.side-menu li:last-child { border-bottom: none; }
.side-menu a {
    display: block; padding: 10px 4px; font-size: 14px;
    color: var(--text-muted); transition: var(--transition);
}
.side-menu a:hover, .side-menu a.active { color: var(--primary); padding-left: 8px; }
.side-list li { padding: 6px 0; }
.side-list a { font-size: 13px; color: var(--text-muted); }
.side-list a:hover { color: var(--primary); }

/* ===== 详情页 ===== */
.detail-layout { display: grid; grid-template-columns: 1fr 280px; gap: 40px; align-items: start; }
.detail-image { margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; background: #f5f5f5; }
.detail-image img { width: 100%; }
.detail-cover { margin-bottom: 20px; border-radius: var(--radius); overflow: hidden; }
.detail-cover img { width: 100%; height: auto; display: block; max-height: 400px; object-fit: cover; }
.detail-content h2 { font-size: 24px; margin-bottom: 16px; color: #222; line-height: 1.3; }
.detail-content .model { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; }
.detail-content .subtitle { font-size: 16px; color: var(--text-secondary); margin-bottom: 20px; }
.detail-body { font-size: 15px; line-height: 1.8; color: #444; word-break: break-word; }
.detail-body p { margin-bottom: 14px; }
.detail-body h3 { font-size: 20px; margin: 24px 0 12px; color: var(--text); }
.detail-body ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.detail-body li { margin-bottom: 6px; }
.detail-body pre {
    background: #f5f5f5; padding: 16px; border-radius: 4px;
    white-space: pre-wrap; font-size: 13px; overflow-x: auto;
}
.detail-sidebar {
    background: #fff; padding: 20px; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); height: fit-content;
    position: sticky; top: 80px;
}
.detail-sidebar h3 {
    font-size: 15px; color: var(--text); margin-bottom: 12px;
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.related-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 0; border-bottom: 1px solid #f5f5f5;
    color: inherit; text-decoration: none;
}
.related-item:last-child { border-bottom: none; }
.related-item img { width: 60px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.related-item span { font-size: 13px; color: var(--text-muted); }
.related-item:hover span { color: var(--primary); }

/* ===== 文章 ===== */
.article { max-width: 800px; margin: 0 auto; }
.article-header { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.article-header h1 { font-size: 26px; line-height: 1.4; color: #222; margin-bottom: 12px; word-break: break-word; }
.article-meta { font-size: 13px; color: #999; display: flex; gap: 16px; flex-wrap: wrap; }
.article-cover { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.article-cover img { width: 100%; height: auto; display: block; max-height: 450px; object-fit: cover; }
.article-body { font-size: 15px; line-height: 1.8; color: #444; word-break: break-word; }
.article-body p { margin-bottom: 14px; }
.article-body img { max-width: 100%; height: auto; margin: 16px 0; border-radius: var(--radius); }
.article-nav {
    display: flex; justify-content: space-between; gap: 16px;
    margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.article-nav a { font-size: 14px; color: var(--primary); max-width: 48%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ===== 新闻列表项 ===== */
.news-list-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.news-list-img { width: 200px; height: 130px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: #e8e8e8; }
.news-list-img img { width: 100%; height: 100%; object-fit: cover; }
.news-list-content { flex: 1; min-width: 0; }
.news-list-content h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.4; }
.news-list-content h3 a { color: var(--text); }
.news-list-content h3 a:hover { color: var(--primary); }
.news-list-content p { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { font-size: 12px; color: var(--text-light); display: flex; gap: 12px; flex-wrap: wrap; }

/* ===== 搜索 ===== */
.search-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.search-thumb { flex-shrink: 0; width: 120px; height: 80px; border-radius: 6px; overflow: hidden; }
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-info { flex: 1; min-width: 0; }
.search-item h3 { font-size: 17px; margin-bottom: 6px; }
.search-item h3 a { color: var(--text); }
.search-item h3 a:hover { color: var(--primary); }
.search-item p { font-size: 13px; color: var(--text-muted); }
.search-bar-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; }
.search-bar-form select { padding: 10px 12px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 14px; background: #fff; }

/* ===== 分页 ===== */
.page-nav { display: flex; justify-content: center; align-items: center; margin-top: 32px; gap: 4px; flex-wrap: wrap; }
.page-nav a, .page-nav span {
    display: inline-block; padding: 6px 12px;
    border: 1px solid #d9d9d9; border-radius: 4px;
    font-size: 13px; color: var(--text-muted); text-decoration: none;
    transition: var(--transition);
}
.page-nav a:hover { border-color: var(--primary); color: var(--primary); }
.page-nav .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-nav .disabled { color: #ccc; cursor: not-allowed; pointer-events: none; }

/* ===== 页面横幅（通用） ===== */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff; text-align: center; padding: 50px 20px;
    position: relative; overflow: hidden;
}
.page-banner::after {
    content: ''; position: absolute; top: -50%; right: -5%;
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255,255,255,0.04); pointer-events: none;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 32px; font-weight: 700; margin-bottom: 8px; text-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.page-banner p { font-size: 16px; opacity: 0.85; }

/* ===== 行业筛选Tab(案例页) ===== */
.industry-tabs.mb30 { margin-bottom: 30px; }

/* ===== 加载动画 ===== */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s; }
img[loading="lazy"]:not([src=""]) { opacity: 1; }

/* ============================================================
   响应式 - 大屏 (1200px - 1440px)
   ============================================================ */
@media (min-width: 1201px) {
    .container { padding: 0 24px; }
    .banner-slide { height: 520px; }
    .banner-content h2 { font-size: 44px; }
}

/* ============================================================
   响应式 - 平板横屏 (1024px 及以下)
   ============================================================ */
@media (max-width: 1024px) {
    .header-inner { gap: 12px; }
    .nav-link { padding: 20px 10px; font-size: 14px; }
    .dropdown { min-width: 150px; }
    
    .banner-slide { height: 400px; }
    .banner-content h2 { font-size: 32px; }
    .banner-content p { font-size: 16px; }

    .product-grid, .product-grid.three-col, .product-grid.four-col {
        grid-template-columns: repeat(3, 1fr);
    }
    .solution-grid { grid-template-columns: repeat(2, 1fr); }
    .solution-grid.two-col { grid-template-columns: repeat(2, 1fr); }
    .case-grid, .case-grid.three-col { grid-template-columns: repeat(2, 1fr); }
    .service-grid, .service-grid.four-col { grid-template-columns: repeat(2, 1fr); }
    .partner-grid.four-col { grid-template-columns: repeat(3, 1fr); }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .content-layout { grid-template-columns: 180px 1fr; gap: 24px; }
    .news-layout { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
    
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 26px; }
    .page-banner h1 { font-size: 26px; }
    .page-banner { padding: 40px 20px; }
}

/* ============================================================
   响应式 - 平板竖屏 / 小笔记本 (768px 及以下)
   ============================================================ */
@media (max-width: 768px) {
    /* 导航 */
    .mobile-menu-btn { display: flex; }
    .nav {
        display: none; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #fff; box-shadow: var(--shadow-lg);
        padding: 8px 0; z-index: 1000;
        max-height: calc(100vh - 64px); overflow-y: auto;
    }
    .nav.open { display: flex; }
    .nav-item { width: 100%; }
    .nav-link { padding: 12px 20px; border-bottom: 1px solid #f5f5f5; }
    .nav-link:hover { background: var(--primary-light); }
    .dropdown {
        position: static; transform: none; display: none;
        box-shadow: none; border-radius: 0; min-width: 100%;
        background: #fafafa; padding: 0;
    }
    .dropdown.open { display: block; }
    .dropdown a { padding: 10px 36px; }
    .header-actions { gap: 8px; }
    .lang-switch { display: none; }
    
    /* Banner */
    .banner-slide { height: 320px; }
    .banner-content { max-width: 100%; }
    .banner-content h2 { font-size: 26px; }
    .banner-content p { font-size: 15px; }
    .banner-link { padding: 10px 24px; font-size: 14px; }

    /* Grids */
    .product-grid, .product-grid.three-col, .product-grid.four-col {
        grid-template-columns: repeat(2, 1fr); gap: 14px;
    }
    .solution-grid, .solution-grid.two-col { grid-template-columns: 1fr; gap: 16px; }
    .case-grid, .case-grid.three-col { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-grid, .service-grid.four-col { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .partner-grid.four-col { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
    
    /* Section */
    .section { padding: 40px 0; }
    .section-header { margin-bottom: 28px; }
    .section-header h2 { font-size: 24px; }
    
    /* Layouts */
    .content-layout { grid-template-columns: 1fr; gap: 20px; }
    .sidebar { position: static; }
    .news-layout { grid-template-columns: 1fr; gap: 24px; }
    .detail-layout { grid-template-columns: 1fr; gap: 24px; }
    
    /* News list */
    .news-list-item { flex-direction: column; }
    .news-list-img { width: 100%; height: 160px; }
    
    /* Footer */
    .footer { padding: 36px 0 16px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    
    /* Page banner */
    .page-banner h1 { font-size: 24px; }
    .page-banner p { font-size: 14px; }
    .page-banner { padding: 32px 20px; }
    
    /* Consult */
    .consult-inner h2 { font-size: 24px; }
    .consult-inner p { font-size: 14px; }
    
    /* Search */
    .search-box { padding: 16px; }
    
    /* Article */
    .article-header h1 { font-size: 22px; }
    .article-body { font-size: 14px; }
    
    /* Detail */
    .detail-sidebar { position: static; }
}

/* ============================================================
   响应式 - 手机横屏 (576px 及以下)
   ============================================================ */
@media (max-width: 576px) {
    /* Navigation */
    .header-inner { height: 56px; }
    .logo img { height: 28px; }
    .logo-text { font-size: 18px; }
    .login-link { font-size: 12px !important; }
    .search-btn { font-size: 16px !important; }
    
    /* Banner */
    .banner-slide { height: 260px; }
    .banner-content h2 { font-size: 22px; line-height: 1.3; }
    .banner-content p { font-size: 13px; }
    .banner-link { padding: 8px 20px; font-size: 13px; }
    
    /* Product grid */
    .product-grid, .product-grid.three-col, .product-grid.four-col {
        grid-template-columns: repeat(2, 1fr); gap: 10px;
    }
    .product-img { padding: 14px 10px; }
    .product-img img { height: 100px; }
    .product-info { padding: 10px; }
    .product-info h3 { font-size: 13px; }
    .product-info .desc { font-size: 11px; }
    .case-grid, .case-grid.three-col { grid-template-columns: 1fr; gap: 14px; }
    .case-img { height: 160px; }
    
    /* Service grid */
    .service-grid, .service-grid.four-col { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .service-card { padding: 20px 14px; }
    .service-icon { font-size: 32px; }
    .service-card h3 { font-size: 14px; }
    
    /* Partner grid */
    .partner-grid.four-col { grid-template-columns: repeat(2, 1fr); }
    .partner-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .partner-item { padding: 16px 12px; }
    .partner-item img { height: 40px; }
    
    /* Section */
    .section { padding: 32px 0; }
    .section-header h2 { font-size: 20px; }
    .section-header .subtitle { font-size: 13px; }
    .section-subheader h3 { font-size: 18px; }
    
    /* Tabs */
    .tab-item { padding: 6px 12px; font-size: 12px; }
    
    /* Footer */
    .footer { padding: 30px 0 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .footer-col h4 { font-size: 14px; margin-bottom: 10px; }
    .footer-col a, .footer-col p { font-size: 12px; }
    .footer-col .phone { font-size: 15px; }
    
    /* Page banner */
    .page-banner { padding: 28px 16px; }
    .page-banner h1 { font-size: 20px; }
    .page-banner p { font-size: 13px; }
    
    /* Consult */
    .consult-section .section { padding: 40px 0; }
    .consult-inner h2 { font-size: 22px; }
    
    /* Article */
    .article-header h1 { font-size: 20px; }
    .article-meta { gap: 8px; font-size: 12px; }
    .article-body { font-size: 14px; }
    .article-nav { flex-direction: column; }
    .article-nav a { max-width: 100%; }
    
    /* Search */
    .search-item h3 { font-size: 15px; }
    .search-thumb { width: 80px; height: 60px; }
    .article-cover img { max-height: 250px; }
    .detail-cover img { max-height: 220px; }
    
    /* Detail */
    .detail-content h2 { font-size: 20px; }
    
    /* Float tools */
    .float-tools { right: 10px; bottom: 80px; }
    .float-item { width: 38px; height: 38px; font-size: 17px; }
}

/* ============================================================
   响应式 - 手机竖屏 (480px 及以下)
   ============================================================ */
@media (max-width: 480px) {
    .container { padding: 0 14px; }
    
    /* Header */
    .header-inner { height: 52px; gap: 8px; }
    .logo img { height: 26px; }
    .logo-text { font-size: 16px; }
    .header-actions { gap: 6px; }
    .login-link { display: none; }
    
    /* Banner */
    .banner-slide { height: 220px; }
    .banner-content h2 { font-size: 18px; margin-bottom: 8px; }
    .banner-content p { font-size: 12px; margin-bottom: 14px; }
    .banner-link { padding: 7px 16px; font-size: 12px; }
    .banner-dots { bottom: 12px; }

    /* Grids - 单列 */
    .product-grid, .product-grid.three-col, .product-grid.four-col {
        grid-template-columns: repeat(2, 1fr); gap: 8px;
    }
    .product-img img { height: 90px; }
    .product-img { padding: 10px 8px; }
    .product-info h3 { font-size: 12px; margin-bottom: 4px; }
    .product-info .model { font-size: 10px; }
    .product-info .desc { font-size: 11px; display: none; }
    
    .solution-grid, .solution-grid.two-col { grid-template-columns: 1fr; }
    .solution-img { height: 160px; }
    .solution-info h3 { font-size: 15px; }
    
    .service-grid, .service-grid.four-col { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .service-card { padding: 16px 10px; }
    .service-icon { font-size: 28px; width: 60px; height: 60px; }
    .icon-emoji { font-size: 28px; }
    .service-card h3 { font-size: 13px; }
    .service-card p { font-size: 11px; }
    
    .case-grid, .case-grid.three-col { grid-template-columns: 1fr; }
    
    /* Partner */
    .partner-grid, .partner-grid.four-col { 
        grid-template-columns: repeat(2, 1fr); gap: 10px; 
    }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 16px; }
    
    /* Page banner */
    .page-banner h1 { font-size: 18px; }
    .page-banner { padding: 24px 14px; }
    
    /* Section */
    .section { padding: 28px 0; }
    .section-header h2 { font-size: 18px; margin-bottom: 6px; }
    .section-header .subtitle { font-size: 12px; }
    
    /* Tabs */
    .product-tabs, .industry-tabs { gap: 4px; margin-bottom: 20px; }
    .tab-item { padding: 5px 10px; font-size: 11px; }
    
    /* News item */
    .news-content h3 { font-size: 14px; }
    
    /* Search bar */
    .search-bar-form { flex-direction: column; align-items: stretch; }
    .search-bar-form select, .search-bar-form button { margin: 0; }
    .search-box { padding: 14px; gap: 6px; }
    .search-box input { font-size: 13px; height: 40px; }
    
    /* Consult */
    .consult-form input, .consult-form textarea { padding: 10px 14px; font-size: 13px; }
    
    /* Buttons */
    .btn-outline { padding: 8px 20px; font-size: 13px; }
    .btn-primary { padding: 8px 20px; font-size: 13px; }
    
    /* Float */
    .float-tools { right: 8px; bottom: 60px; gap: 6px; }
    .float-item { width: 34px; height: 34px; font-size: 15px; }
}

/* ============================================================
   打印样式
   ============================================================ */
@media print {
    .header, .footer, .float-tools, .top-bar, .consult-section,
    .search-overlay, .mobile-menu-btn { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; }
    .container { max-width: 100%; padding: 0; }
}

/* ============================================================
   减少动画偏好
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
