/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primary: #005bac;
    --primary-dark: #004a8c;
    --secondary: #e60012;
    --text: #333;
    --text-light: #666;
    --bg: #f5f5f5;
    --white: #fff;
    --border: #e0e0e0;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}

.container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 主导航 - 透明背景 */
.main-header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 40px;
    padding: 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: 20px;
}

.logo img {
    height: 45px;
    width: auto;
    display: block;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.logo-text-cn {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.logo-text-en1 {
    font-size: 11px;
    font-weight: 500;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.logo-text-en2 {
    font-size: 9px;
    font-weight: 400;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
}

.main-nav a {
    display: block;
    padding: 10px 25px;
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.main-nav li.active a,
.main-nav a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.2);
}

/* 滚动后导航栏样式 - 淡淡浅蓝色背景 */
.main-header.scrolled {
    background: linear-gradient(135deg, #b9dcf5 0%, #cce4f8 50%, #dcecfb 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.main-header.scrolled .logo-text-cn,
.main-header.scrolled .logo-text-en1,
.main-header.scrolled .logo-text-en2 {
    color: var(--text) !important;
    text-shadow: none !important;
}

.main-header.scrolled .main-nav a {
    color: var(--text) !important;
    text-shadow: none !important;
}

.main-header.scrolled .main-nav li.active a,
.main-header.scrolled .main-nav a:hover {
    color: var(--primary) !important;
    background: rgba(0,91,172,0.08);
}

.main-header.scrolled .lang-switch {
    color: var(--text) !important;
}

.main-header.scrolled .lang-switch a {
    color: var(--text) !important;
}

.main-header.scrolled .lang-switch .divider {
    color: rgba(0,0,0,0.3) !important;
}

/* 语言切换 - 横向排列 */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    margin-right: 20px;
}

.lang-switch a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.lang-switch .divider {
    color: rgba(255,255,255,0.6);
}

.lang-switch a:hover,
.lang-switch a.active {
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s;
}

/* 首页大图轮播 - 全屏宽，高度调整 */
.hero-banner {
    position: relative;
    width: 100vw;
    height: calc(100vh - 120px);
    min-height: 600px;
    overflow: hidden;
    margin-left: calc(-50vw + 50%);
}

.banner-slider {
    position: relative;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100vw;
    height: 100%;
    object-fit: cover;
}

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

.banner-dots .dot {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots .dot.active {
    background: var(--white);
}

.banner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.arrow {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    pointer-events: auto;
}

.arrow:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
}

/* 数据统计展示 - 悬浮在轮播图底部 */
.stats-section {
    position: relative;
    margin-top: -100px;
    z-index: 100;
    padding: 0 30px;
    background: transparent;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 99%;
    max-width: 1920px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.15);
    padding: 40px 100px;
}

.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 80px;
    min-width: 280px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

.stat-num {
    font-size: 56px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-num .plus {
    font-size: 32px;
    font-weight: 400;
}

.stat-label {
    font-size: 20px;
    color: var(--text);
    margin-top: 10px;
    font-weight: 600;
}

.stat-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-top: 6px;
    white-space: nowrap;
}

/* 新闻动态 - 电网风格 */
.news-section {
    padding: 40px 0 30px;
    background: var(--bg);
}

.news-section-header {
    margin-bottom: 25px;
}

.news-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    position: relative;
    padding-left: 20px;
}

.news-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 30px;
    background: var(--primary);
}

.news-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 24px;
    background: var(--primary);
}

.news-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.news-left {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.news-slider {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-slide {
    display: none;
    height: 100%;
    flex-direction: column;
}

.news-slide.active {
    display: flex;
}

.news-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    min-height: 450px;
    background: #f5f5f5;
}

.slide-caption {
    padding: 20px 25px;
    font-size: 18px;
    color: var(--text);
    background: var(--white);
    border-top: 1px solid var(--border);
}

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

.slide-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
}

.slide-dots .dot.active {
    background: var(--primary);
}

.news-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-block {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background: var(--primary);
}

.block-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 600;
}

.block-header .more {
    color: var(--white);
    font-size: 12px;
    text-decoration: none;
}

.news-list {
    list-style: none;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 25px;
    color: var(--text);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

.news-list li:last-child a {
    border-bottom: none;
}

.news-list li a:hover {
    background: #f8f8f8;
    color: var(--primary);
}

.news-list .title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 15px;
}

.news-list .date {
    color: #999;
    font-size: 15px;
    flex-shrink: 0;
}

/* 解决方案 - 调整为浅灰色背景 */
.solutions-section {
    padding: 80px 0;
    background: #f0f2f5;
}

.section-header.center {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle-en {
    display: block;
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.solutions-section .section-title {
    color: var(--text);
    font-size: 40px;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-light);
    font-size: 18px;
}

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

.solution-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 35px;
    transition: all 0.3s;
    margin: 0 10px;
}

.solution-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.solution-icon {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.solution-icon svg {
    width: 28px;
    height: 28px;
}

.solution-card h3 {
    color: var(--text);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.solution-card p {
    color: var(--text-light);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.solution-card ul {
    list-style: none;
}

.solution-card li {
    color: var(--text-light);
    font-size: 16px;
    padding: 7px 0;
    padding-left: 22px;
    position: relative;
}

.solution-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 16px;
}

/* 底部 - 浅色系背景 */
.main-footer {
    background: #f8f9fa;
    color: var(--text);
    padding: 50px 0 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo-text {
    font-size: 22px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text);
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s;
    font-weight: 500;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 15px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .header-inner {
        height: 65px;
    }
    
    .main-nav a {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .news-content {
        grid-template-columns: 1fr;
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .main-nav,
    .lang-switch {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-inner {
        height: 60px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .hero-banner {
        height: 300px;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .news-slide img {
        min-height: 220px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-banner {
        height: 250px;
    }
    
    .solutions-section .section-title {
        font-size: 24px;
    }
    
    .solution-card {
        padding: 20px;
    }
}

/* ===== 首页专属：banner 以下整体缩小（仅 .home-page 生效，不影响子页面） ===== */

/* 数据统计区 - 高度随屏幕自适应（约 +30px），上下留白按视口高度缩放 */
.home-page .stats-grid {
    padding: clamp(24px, 3.7vh, 44px) 60px;
}

.home-page .stat-item {
    padding: 0 40px;
    min-width: 220px;
}

.home-page .stat-divider {
    height: 40px;
}

.home-page .stat-num {
    font-size: 38px;
}

.home-page .stat-num .plus {
    font-size: 22px;
}

.home-page .stat-label {
    font-size: 15px;
    margin-top: 6px;
}

.home-page .stat-desc {
    font-size: 12px;
    margin-top: 4px;
}

/* 新闻政策区 - 文字缩小 */
.home-page .news-section-title {
    font-size: 26px;
}

.home-page .slide-caption {
    padding: 14px 20px;
    font-size: 14px;
}

.home-page .block-header {
    padding: 12px 20px;
}

.home-page .block-title {
    font-size: 16px;
}

.home-page .news-list li a {
    padding: 10px 20px;
    font-size: 14px;
}

.home-page .news-list .date {
    font-size: 12px;
}

/* 两个政策板块高度根据文件数量自适应，不再强制等高 */
.home-page .news-block {
    flex: 0 0 auto;
}

.home-page .news-list {
    flex: 0 0 auto;
}

/* 解决方案区 - 文字缩小 */
.home-page .solutions-section {
    padding: 50px 0;
}

.home-page .section-header.center {
    margin-bottom: 35px;
}

.home-page .solutions-section .section-title {
    font-size: 30px;
}

.home-page .section-desc {
    font-size: 14px;
}

.home-page .solution-card {
    padding: 25px;
}

.home-page .solution-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.home-page .solution-card p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.home-page .solution-card li {
    font-size: 13px;
    padding: 5px 0;
    padding-left: 20px;
}

.home-page .solution-card li::before {
    font-size: 13px;
}

/* 底部 - 与子页面 about.css 缩小版一致 */
.home-page .main-footer {
    padding: 25px 0 15px;
}

.home-page .footer-content {
    gap: 30px;
    margin-bottom: 15px;
}

.home-page .footer-brand {
    max-width: 400px;
}

.home-page .footer-logo {
    gap: 10px;
    margin-bottom: 10px;
    justify-content: center;
}

.home-page .footer-logo img {
    height: 30px;
}

.home-page .footer-logo-text {
    font-size: 18px;
}

.home-page .footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.home-page .footer-social {
    gap: 10px;
}

.home-page .social-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.home-page .social-icon svg {
    width: 14px;
    height: 14px;
}

.home-page .footer-links h4 {
    font-size: 16px;
    margin-bottom: 12px;
}

.home-page .footer-links li {
    margin-bottom: 6px;
}

.home-page .footer-links a {
    font-size: 14px;
}

.home-page .footer-bottom {
    padding-top: 15px;
}

.home-page .footer-bottom p {
    font-size: 13px;
}

/* 首页缩小版 - 移动端适配 */
@media (max-width: 768px) {
    .home-page .solutions-section .section-title {
        font-size: 24px;
    }

    .home-page .news-section-title {
        font-size: 22px;
    }

    .home-page .stat-num {
        font-size: 30px;
    }

    .home-page .stat-item {
        padding: 0 15px;
        min-width: 0;
    }
}

/* 首屏：banner 底边距屏幕底部 120px，统计条重叠压在 banner 底部 */
.home-page .hero-wrap {
    display: block;
}

.home-page .hero-wrap .hero-banner {
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    min-height: 500px;
    display: block;
}

.home-page .hero-wrap .banner-slider {
    height: 100%;
}

/* ===== 中英文切换：防闪烁 + 英文模式布局防护 ===== */
.en-pending body {
    visibility: hidden;
}

/* 英文文本更长，导航自动收紧 */
html[lang="en"] .main-nav a {
    font-size: 13px;
    padding: 10px 12px;
}

html[lang="en"] .white-header .main-nav a {
    font-size: 13px !important;
    padding: 10px 10px !important;
}

html[lang="en"] .lang-switch {
    font-size: 13px;
}

/* 长标题允许换行，避免溢出 */
html[lang="en"] .news-list .title {
    white-space: normal;
    line-height: 1.4;
}

html[lang="en"] .stat-desc {
    white-space: normal;
}

html[lang="en"] .footer-logo-text {
    font-size: 14px;
    line-height: 1.3;
}

html[lang="en"] .home-page .footer-logo-text {
    font-size: 13px;
}

/* 中文标题旁原有英文小字，英文化后隐藏避免重复 */
html[lang="en"] .title-en {
    display: none;
}

/* ===== 跨屏幕适配 ===== */

/* 消除 100vw 含滚动条宽度导致的横向溢出 */
html, body {
    overflow-x: hidden;
}

/* 中小桌面屏（1025px - 1366px 笔记本）：导航收紧，防止挤压换行 */
@media (max-width: 1366px) {
    .header-inner {
        padding: 0 20px;
        gap: 20px;
    }

    .logo {
        margin-left: 0;
    }

    .lang-switch {
        margin-right: 0;
    }

    .main-nav a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .stats-grid {
        padding-left: 30px;
        padding-right: 30px;
    }

    .home-page .stat-item {
        padding: 0 20px;
    }
}

/* ===== 移动端导航（≤992px，国网风格：白底吸顶 + 汉堡下拉面板） ===== */
@media (max-width: 992px) {
    /* 导航头白底吸顶（含首页，透明导航在移动端改白底保证可读） */
    .main-header {
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }

    .header-inner {
        height: 60px;
        padding: 0 15px;
        gap: 12px;
    }

    .logo {
        margin-left: 0;
        gap: 8px;
    }

    .logo img {
        height: 34px;
    }

    .logo-text-cn {
        font-size: 15px;
        color: var(--text);
        text-shadow: none;
    }

    .logo-text-en1 {
        font-size: 10px;
        color: var(--text);
        text-shadow: none;
    }

    .logo-text-en2 {
        display: none;
    }

    /* 隐藏桌面导航，语言切换保留在右侧、汉堡按钮最右 */
    .main-nav {
        display: none;
    }

    .lang-switch {
        display: flex;
        margin-right: 0;
        margin-left: auto;
        font-size: 13px;
        gap: 6px;
    }

    .lang-switch a {
        color: var(--text);
        text-shadow: none;
        font-size: 13px;
    }

    .lang-switch .divider {
        color: rgba(0,0,0,0.3);
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* 汉堡按钮动画为 X */
    .main-header.nav-open .mobile-menu-btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .main-header.nav-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }

    .main-header.nav-open .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* 下拉面板 */
    .main-header.nav-open .main-nav {
        display: block;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .main-header.nav-open .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-header.nav-open .main-nav li {
        border-top: 1px solid #f0f0f0;
    }

    .main-header.nav-open .main-nav a {
        padding: 15px 20px;
        font-size: 15px;
        color: var(--text);
        text-shadow: none;
        border-radius: 0;
    }

    .main-header.nav-open .main-nav li.active a,
    .main-header.nav-open .main-nav a:active {
        color: var(--primary);
        background: rgba(0,91,172,0.06);
    }
}

/* ===== 移动端内容区适配（≤992px） ===== */
@media (max-width: 992px) {
    /* 首页 banner 改紧凑，统计条减少重叠 */
    .home-page .hero-wrap .hero-banner {
        height: 42vh;
        height: 42dvh;
        min-height: 260px;
    }

    .home-page .stats-section {
        margin-top: -40px;
    }

    /* 新闻轮播图限高 */
    .news-slide img {
        min-height: 220px;
    }
}

@media (max-width: 768px) {
    /* 解决方案卡片手机端单列 */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        margin: 0;
    }
}

/* ===== 移动端修复补丁 ===== */
@media (max-width: 992px) {
    /* 语言切换当前项在白底上可见 */
    .lang-switch a.active,
    .lang-switch a:hover {
        color: var(--primary);
    }

    /* banner 图片左对齐显示，避免内嵌文字被裁切 */
    .hero-banner .banner-slide img,
    .page-banner img {
        object-position: left center;
    }
}

@media (max-width: 768px) {
    /* 页脚单列堆叠 */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* 首页统计条：分隔线改横线、间距收紧 */
    .home-page .stat-divider {
        width: 50px;
        height: 1px;
    }

    .home-page .stats-grid {
        padding: 20px 30px;
        gap: 18px;
    }
}
