/* ===== 全局重置 ===== */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f8f9fa; color: #1a1a2e; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== 顶部导航 ===== */
header { 
    background: #1a1a2e; 
    color: white; 
    padding: 15px 0; 
    position: sticky; 
    top: 0; 
    z-index: 100;
}
header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 10px; 
    position: relative;
}
header .logo h1 { font-size: 1.4rem; }
header .logo h1 a { color: white; }

/* 电脑端导航 */
.desktop-nav { 
    display: flex; 
    gap: 30px; 
    flex: 1; 
    justify-content: center; 
}
.desktop-nav a { 
    color: #ccc; 
    transition: 0.3s; 
    font-size: 1.1rem; 
    font-weight: 500;
    padding: 5px 10px;
}
.desktop-nav a:hover { color: white; }
.desktop-nav a:first-child { color: white; font-weight: 600; }

.header-phone-link { 
    color: #4fc3f7 !important; 
    font-size: 1.3rem !important; 
    font-weight: bold; 
    white-space: nowrap;
}
.header-phone-link:hover { color: #29b6f6 !important; }

/* 手机菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}
.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

/* ===== 手机端下拉菜单 ===== */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #1a1a2e;
    padding: 15px 20px 20px;
    gap: 12px;
    border-top: 1px solid #333;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.mobile-menu.open {
    display: flex;
}
.mobile-menu a {
    color: #ccc;
    font-size: 1.1rem;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a3e;
}
.mobile-menu a:hover { color: white; }
.mobile-menu a:last-child { border-bottom: none; }

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-phone-link { font-size: 1.1rem !important; }
}

/* ===== 轮播图（无标题） ===== */
.carousel { position: relative; height: 420px; overflow: hidden; }
.carousel-slide { position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center; opacity: 0; transition: opacity 0.8s; display: flex; align-items: center; justify-content: center; }
.carousel-slide.active { opacity: 1; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.4); color: white; border: none; padding: 12px 18px; font-size: 24px; cursor: pointer; z-index: 2; border-radius: 50%; }
.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }
.carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.carousel-dots .dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; transition: 0.3s; }
.carousel-dots .dot.active { background: white; width: 30px; border-radius: 6px; }

@media (max-width: 768px) {
    .carousel { height: 250px; }
}

/* ===== 通用标题 ===== */
.section-title { text-align: center; font-size: 2rem; margin-bottom: 8px; color: #1a1a2e; }
.section-subtitle { text-align: center; color: #888; margin-bottom: 30px; font-size: 1.05rem; }

/* ===== 回收案例 ===== */
.section-cases { padding: 50px 0; background: white; }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-item { background: #f8f9fa; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: 0.3s; }
.case-item:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.case-image-wrapper { width: 100%; height: 220px; overflow: hidden; background: #f0f0f0; display: flex; align-items: center; justify-content: center; }
.case-image { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.case-item:hover .case-image { transform: scale(1.03); }
.case-item .case-info { padding: 15px; }
.case-item .case-info h4 { font-size: 1.05rem; margin-bottom: 4px; }
.case-item .case-info p { color: #666; font-size: 0.9rem; }

@media (max-width: 992px) { .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } }
@media (max-width: 576px) { 
    .cases-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .case-image-wrapper { height: 150px; }
    .case-item .case-info { padding: 10px; }
    .case-item .case-info h4 { font-size: 0.85rem; }
    .case-item .case-info p { font-size: 0.75rem; }
}

/* ===== 回收流程（浅绿色背景，无图标） ===== */
.section-process { padding: 50px 0; background: #f0fdf4; }
.process-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.process-step { 
    text-align: center; 
    background: #22c55e;
    color: white;
    padding: 25px 20px; 
    border-radius: 12px; 
    min-width: 130px; 
    flex:1; 
    max-width:200px; 
    box-shadow: 0 4px 15px rgba(34,197,94,0.3);
    transition: 0.3s;
}
.process-step:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(34,197,94,0.4); }
.process-step .step-number { 
    background: rgba(255,255,255,0.25); 
    color: white; 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 8px; 
    font-weight: bold; 
}
.process-step h4 { font-size: 1rem; margin-bottom: 4px; color: white; }
.process-step p { font-size: 0.85rem; color: rgba(255,255,255,0.85); }
.process-arrow { font-size: 2rem; color: #22c55e; font-weight: bold; }

@media (max-width: 768px) {
    .process-flow { flex-direction: column; }
    .process-step { max-width: 100%; width: 100%; }
    .process-arrow { transform: rotate(90deg); }
}

/* ===== 行业资讯（完整修改：卡片可点击） ===== */
.section-news { padding: 50px 0; background: white; }
.news-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.news-header .more-link { color: #e94560; font-weight: 600; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

/* 资讯卡片可点击链接（关键修改） */
.news-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.news-item-link:hover .news-item {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.news-item { 
    background: #f8f9fa; 
    border-radius: 12px; 
    overflow: hidden; 
    transition: 0.3s; 
    padding: 20px;
    border-left: 4px solid #e94560;
    height: 100%;
}
.news-item .news-content h3 { 
    font-size: 1.05rem; 
    margin-bottom: 8px; 
    transition: 0.3s;
}
.news-item-link:hover .news-item .news-content h3 {
    color: #e94560;
}
.news-item .news-content h3 a { color: #1a1a2e; transition: 0.3s; }
.news-item .news-content h3 a:hover { color: #e94560; }
.news-item .news-summary { color: #666; font-size: 0.9rem; margin: 8px 0; line-height: 1.6; }
.news-item .news-date { color: #999; font-size: 0.8rem; }

@media (max-width: 768px) { .news-grid { grid-template-columns: 1fr; } }

/* ===== 分页 ===== */
.pagination { 
    display: flex; 
    justify-content: center; 
    gap: 6px; 
    margin: 30px 0; 
    flex-wrap: wrap;
    max-width: 100%;
    overflow: hidden;
}
.pagination a, .pagination span { 
    padding: 6px 14px; 
    background: white; 
    border-radius: 6px; 
    border: 1px solid #e2e8f0; 
    font-size: 0.9rem;
    white-space: nowrap;
}
.pagination .active { background: #e94560; color: white; border-color: #e94560; }
.pagination a:hover { background: #f1f5f9; }

/* ===== 底部 ===== */
footer { background: #1a1a2e; color: #ccc; padding: 40px 0 20px; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; margin-bottom: 20px; }
.footer-contact { text-align: right; }
.footer-contact p { margin: 6px 0; }
.footer-contact a { color: #4fc3f7; }
.footer-qr { max-width: 100px; border-radius: 8px; margin-top: 8px; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 0.85rem; }

@media (max-width: 768px) { 
    .footer-content { flex-direction: column; text-align: center; } 
    .footer-contact { text-align: center; } 
}

/* ============================================================
   ===== 电脑端右下角悬浮联系方式 =====
   ============================================================ */
.desktop-sidebar {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 电话按钮 */
.sidebar-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    text-decoration: none;
    font-size: 0.95rem;
}
.sidebar-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(220,38,38,0.4);
}
.sidebar-phone i {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.sidebar-phone span {
    display: inline;
    white-space: nowrap;
}

/* 微信按钮（二维码一直显示） */
.sidebar-wechat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 12px 18px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    min-width: 160px;
}
.sidebar-wechat:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 25px rgba(5,150,105,0.4);
}
.sidebar-wechat .wechat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
}
.sidebar-wechat .wechat-row i {
    font-size: 1.3rem;
    flex-shrink: 0;
}
.sidebar-wechat .wechat-row span {
    font-size: 0.95rem;
    white-space: nowrap;
}
.sidebar-wechat .wechat-qr-image {
    max-width: 140px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.25);
    display: block;
}
.sidebar-wechat .no-qr {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    padding: 4px 0;
}

@media (max-width: 768px) {
    .desktop-sidebar { display: none; }
}

/* ===== 手机底部悬浮按钮 ===== */
.mobile-bottom-bar { 
    position: fixed; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    display: none; 
    background: rgba(255,255,255,0.95);
    padding: 10px 16px 12px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
    z-index: 999; 
    gap: 12px; 
    backdrop-filter: blur(10px);
}
.mobile-btn { 
    flex: 1; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    padding: 14px 10px; 
    border-radius: 50px;
    font-size: 1rem; 
    font-weight: bold; 
    color: white; 
    border: none; 
    cursor: pointer; 
    transition: 0.3s; 
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.mobile-btn:active { transform: scale(0.95); }
.btn-call { background: linear-gradient(135deg, #dc2626, #ef4444); }
.btn-call:hover { background: linear-gradient(135deg, #b91c1c, #dc2626); }
.btn-wechat { background: linear-gradient(135deg, #059669, #10b981); }
.btn-wechat:hover { background: linear-gradient(135deg, #047857, #059669); }
.mobile-btn .btn-icon { font-size: 1.4rem; }
.mobile-btn .btn-text { font-size: 1rem; }

@media (max-width: 768px) { 
    .mobile-bottom-bar { display: flex; } 
    body { padding-bottom: 80px; } 
}

/* ===== 微信二维码弹窗 ===== */
.wechat-modal { position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.6); display: none; align-items: center; justify-content: center; z-index: 1000; }
.wechat-modal-content { background: white; padding: 30px; border-radius: 16px; text-align: center; max-width: 360px; width: 90%; position: relative; }
.wechat-modal-close { position: absolute; top: 10px; right: 20px; font-size: 2rem; cursor: pointer; color: #888; }
.wechat-modal-content h3 { margin-bottom: 15px; }
.wechat-modal-content .modal-qr { max-width: 220px; border-radius: 8px; }
.wechat-modal-content .wechat-id { margin-top: 12px; color: #666; font-size: 1rem; }

/* ===== 文章详情页 ===== */
.article-detail { max-width: 800px; margin: 30px auto; padding: 30px; background: white; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.article-detail h1 { font-size: 1.8rem; margin-bottom: 12px; color: #1a1a2e; }
.article-meta { color: #999; font-size: 0.9rem; border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; }
.article-meta span { margin-right: 20px; }
.article-body { line-height: 1.9; font-size: 1.1rem; color: #333; }
.article-body p { margin-bottom: 15px; }
.article-body img { max-width: 100%; border-radius: 8px; margin: 15px 0; }
.article-body h2, .article-body h3 { margin: 20px 0 10px; }
.article-body ul, .article-body ol { margin: 10px 0 15px 25px; }
.article-body blockquote { border-left: 4px solid #e94560; padding-left: 15px; margin: 15px 0; color: #555; }
.article-nav { display: flex; justify-content: space-between; margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; }
.article-nav a { color: #e94560; }
.back-link { display: inline-block; margin-top: 20px; color: #666; }
.article-body .content-wrapper { max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }