/* 移动端响应式样式 */

/* 所有居中标题的换行优化 - 确保第二行至少5个字 */
h1[style*="text-align: center"],
h1[style*="text-align:center"],
h2[style*="text-align: center"],
h2[style*="text-align:center"],
h3[style*="text-align: center"],
h3[style*="text-align:center"],
.section-title,
.page-title {
    text-wrap: balance !important;
    text-wrap: pretty !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* 服务卡片响应式 - 确保卡片始终保持横向长方形 */
@media (max-width: 768px) {
    .scale-up-section[style*="padding: 40px 30px"],
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"],
    .service-support-card {
        padding: 30px 25px !important;
        padding-top: 45px !important;
        padding-bottom: 20px !important;
    }
    /* 确保hover时也保持相同的padding，不会变大 */
    .scale-up-section[style*="padding: 40px 30px"]:hover,
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"]:hover,
    .service-support-card:hover {
        padding: 30px 25px !important;
        padding-top: 45px !important;
        padding-bottom: 20px !important;
        transform: none !important;
    }
    .card-bg-num {
        font-size: 8rem !important;
    }
    .card-icon-border {
        width: 48px !important;
        height: 48px !important;
        margin-bottom: 20px !important;
    }
    .card-icon {
        font-size: 20px !important;
    }
    .card-title {
        font-size: 1.2rem !important;
        margin-bottom: 10px !important;
    }
    .card-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    /* 解决方案页面 - 产品概览区域图片完整显示，增加顶部padding消除白色间隙 */
    section.product-overview[style],
    .product-overview {
        padding: 50px 0 100px 0 !important;
    }
    
    /* 解决方案页面标题响应式字号 - 最小1.5rem确保大于h2的1.3rem */
    .product-overview h1[style*="font-size"] {
        font-size: max(6vw, 1.5rem) !important;
    }
    
    /* 图片容器本身（架空地坪页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] {
        min-height: 350px !important;
    }
    
    /* 嵌套的图片容器（物流库等页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] > div {
        min-height: 350px !important;
    }
}

@media (max-width: 640px) {
    .scale-up-section[style*="padding: 40px 30px"],
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"],
    .service-support-card {
        padding: 25px 20px !important;
        padding-top: 35px !important;
        padding-bottom: 18px !important;
    }
    /* 确保hover时也保持相同的padding，不会变大 */
    .scale-up-section[style*="padding: 40px 30px"]:hover,
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"]:hover,
    .service-support-card:hover {
        padding: 25px 20px !important;
        padding-top: 35px !important;
        padding-bottom: 18px !important;
        transform: none !important;
    }
    .card-bg-num {
        font-size: 7rem !important;
    }
    .card-icon-border {
        width: 44px !important;
        height: 44px !important;
        margin-bottom: 15px !important;
    }
    .card-icon {
        font-size: 18px !important;
    }
    .card-title {
        font-size: 1.05rem !important;
        margin-bottom: 8px !important;
    }
    .card-desc {
        font-size: 0.8rem !important;
    }
    
    /* 解决方案页面 - 产品概览区域图片完整显示，增加顶部padding消除白色间隙 */
    section.product-overview[style],
    .product-overview {
        padding: 50px 0 80px 0 !important;
    }
    
    /* 解决方案页面标题响应式字号 - 最小1.5rem确保大于h2的1.3rem */
    .product-overview h1[style*="font-size"] {
        font-size: max(6vw, 1.5rem) !important;
    }
    
    /* 图片容器本身（架空地坪页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] {
        min-height: 320px !important;
    }
    
    /* 嵌套的图片容器（物流库等页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] > div {
        min-height: 320px !important;
    }
}

@media (max-width: 480px) {
    .scale-up-section[style*="padding: 40px 30px"],
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"],
    .service-support-card {
        padding: 20px 15px !important;
        padding-top: 30px !important;
        padding-bottom: 15px !important;
    }
    /* 确保hover时也保持相同的padding，不会变大 */
    .scale-up-section[style*="padding: 40px 30px"]:hover,
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"]:hover,
    .service-support-card:hover {
        padding: 20px 15px !important;
        padding-top: 30px !important;
        padding-bottom: 15px !important;
        transform: none !important;
    }
    .card-bg-num {
        font-size: 6rem !important;
    }
    .card-icon-border {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 12px !important;
    }
    .card-icon {
        font-size: 16px !important;
    }
    .card-title {
        font-size: 0.95rem !important;
        margin-bottom: 6px !important;
    }
    .card-desc {
        font-size: 0.72rem !important;
    }
    
    /* 解决方案页面 - 产品概览区域图片完整显示，增加顶部padding消除白色间隙 */
    section.product-overview[style],
    .product-overview {
        padding: 50px 0 70px 0 !important;
    }
    
    /* 解决方案页面标题响应式字号 - 最小1.5rem确保大于h2的1.3rem */
    .product-overview h1[style*="font-size"] {
        font-size: max(6vw, 1.5rem) !important;
    }
    
    /* 图片容器本身（架空地坪页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] {
        min-height: 280px !important;
    }
    
    /* 嵌套的图片容器（物流库等页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] > div {
        min-height: 280px !important;
    }
}

@media (max-width: 375px) {
    .scale-up-section[style*="padding: 40px 30px"],
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"],
    .service-support-card {
        padding: 18px 12px !important;
        padding-top: 25px !important;
        padding-bottom: 12px !important;
    }
    /* 确保hover时也保持相同的padding，不会变大 */
    .scale-up-section[style*="padding: 40px 30px"]:hover,
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"]:hover,
    .service-support-card:hover {
        padding: 18px 12px !important;
        padding-top: 25px !important;
        padding-bottom: 12px !important;
        transform: none !important;
    }
    .card-bg-num {
        font-size: 5rem !important;
    }
    .card-icon-border {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 10px !important;
    }
    .card-icon {
        font-size: 13px !important;
    }
    .card-title {
        font-size: 0.85rem !important;
        margin-bottom: 5px !important;
    }
    .card-desc {
        font-size: 0.68rem !important;
    }
    
    /* 解决方案页面 - 产品概览区域图片完整显示，增加顶部padding消除白色间隙 */
    section.product-overview[style],
    .product-overview {
        padding: 50px 0 60px 0 !important;
    }
    
    /* 解决方案页面标题响应式字号 - 最小1.5rem确保大于h2的1.3rem */
    .product-overview h1[style*="font-size"] {
        font-size: max(6vw, 1.5rem) !important;
    }
    
    /* 图片容器本身（架空地坪页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] {
        min-height: 250px !important;
    }
    
    /* 嵌套的图片容器（物流库等页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] > div {
        min-height: 250px !important;
    }
}

@media (max-width: 320px) {
    .scale-up-section[style*="padding: 40px 30px"],
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"],
    .service-support-card {
        padding: 15px 10px !important;
        padding-top: 20px !important;
        padding-bottom: 10px !important;
    }
    /* 确保hover时也保持相同的padding，不会变大 */
    .scale-up-section[style*="padding: 40px 30px"]:hover,
    div[style*="padding: 40px 30px"][style*="border-radius: 12px"]:hover,
    .service-support-card:hover {
        padding: 15px 10px !important;
        padding-top: 20px !important;
        padding-bottom: 10px !important;
        transform: none !important;
    }
    .card-bg-num {
        font-size: 4.5rem !important;
    }
    .card-icon-border {
        width: 28px !important;
        height: 28px !important;
        margin-bottom: 8px !important;
    }
    .card-icon {
        font-size: 12px !important;
    }
    .card-title {
        font-size: 0.8rem !important;
        margin-bottom: 4px !important;
    }
    .card-desc {
        font-size: 0.65rem !important;
    }
    
    /* 解决方案页面 - 产品概览区域图片完整显示，增加顶部padding消除白色间隙 */
    section.product-overview[style],
    .product-overview {
        padding: 50px 0 50px 0 !important;
    }
    
    /* 解决方案页面标题响应式字号 - 最小1.5rem确保大于h2的1.3rem */
    .product-overview h1[style*="font-size"] {
        font-size: max(6vw, 1.5rem) !important;
    }
    
    /* 图片容器本身（架空地坪页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] {
        min-height: 220px !important;
    }
    
    /* 嵌套的图片容器（物流库等页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] > div {
        min-height: 220px !important;
    }
}

/* 全局Banner背景图片优化 */
@media (max-width: 1024px) {
    .page-banner.fixed-banner,
    .page-banner {
        background-size: cover !important;
        background-position: center center !important;
        aspect-ratio: 16 / 9 !important; /* 调整宽高比 */
    }
    
    /* 首页banner保持21:9 */
    #home.page-banner {
        aspect-ratio: 21 / 9 !important;
    }
}

@media (max-width: 768px) {
    .page-banner.fixed-banner,
    .page-banner {
        background-size: cover !important;
        background-position: center 40% !important;
        aspect-ratio: 4 / 3 !important; /* 更适合平板的宽高比 */
    }
    
    /* 首页banner保持21:9 */
    #home.page-banner {
        aspect-ratio: 21 / 9 !important;
    }
}

@media (max-width: 640px) {
    .page-banner.fixed-banner,
    .page-banner {
        background-size: cover !important;
        background-position: center 38% !important;
        aspect-ratio: 3 / 2 !important;
    }
    
    /* 首页banner保持21:9 */
    #home.page-banner {
        aspect-ratio: 21 / 9 !important;
    }
}

@media (max-width: 480px) {
    .page-banner.fixed-banner,
    .page-banner {
        background-size: cover !important;
        background-position: center 35% !important;
        aspect-ratio: 5 / 4 !important; /* 手机端更方正的比例 */
    }
    
    /* 首页banner保持21:9 */
    #home.page-banner {
        aspect-ratio: 21 / 9 !important;
    }
}

@media (max-width: 375px) {
    .page-banner.fixed-banner,
    .page-banner {
        background-size: cover !important;
        background-position: center 33% !important;
        aspect-ratio: 1 / 1 !important; /* 小屏手机正方形比例 */
    }
    
    /* 首页banner保持21:9 */
    #home.page-banner {
        aspect-ratio: 21 / 9 !important;
    }
}

/* 全局Banner标题响应式适配 - 渐进式缩放 */
@media (max-width: 768px) {
    /* Banner文字容器添加左右内边距 */
    .banner-text {
        padding-left: 30px !important;
        padding-right: 30px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .banner-subtitle {
        font-size: 0.95rem !important;
        letter-spacing: 1px !important;
        margin-bottom: 15px !important;
    }
    
    .banner-title {
        font-size: 2.2rem !important;
        letter-spacing: 1.5px !important;
        line-height: 1.3 !important;
    }
    
    /* 绿色下划线也适当缩小 */
    .banner-text > div[style*="height: 0.278vw"] {
        height: 2.5px !important;
        width: 45px !important;
    }
    
    /* 案例页面section标题响应式 */
    .section-header h2 {
        font-size: 2rem !important;
    }
    
    .section-header p {
        font-size: 15px !important;
    }
    
    /* 关于我们页面标题响应式 */
    .fade-up-section h1[style*="font-size: 2.4rem"],
    .fade-up-section h2[style*="font-size: 2.4rem"] {
        font-size: 2rem !important;
    }
    
    .fade-up-section h2[style*="font-size: 1.8rem"] {
        font-size: 1.6rem !important;
    }
    
    .fade-in-section h4[style*="font-size: 1.9rem"] {
        font-size: 1.7rem !important;
    }
    
    .fade-in-section h3[style*="font-size: 1.3rem"] {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 640px) {
    .banner-text {
        padding-left: 25px !important;
        padding-right: 25px !important;
    }
    
    .banner-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 12px !important;
    }
    
    .banner-title {
        font-size: 1.9rem !important;
        letter-spacing: 1.2px !important;
    }
    
    .banner-text > div[style*="height: 0.278vw"] {
        height: 2.5px !important;
        width: 40px !important;
    }
    
    /* 案例页面section标题 */
    .section-header h2 {
        font-size: 1.8rem !important;
    }
    
    .section-header p {
        font-size: 14.5px !important;
    }
    
    /* 关于我们页面标题 */
    .fade-up-section h1[style*="font-size: 2.4rem"],
    .fade-up-section h2[style*="font-size: 2.4rem"] {
        font-size: 1.8rem !important;
    }
    
    .fade-up-section h2[style*="font-size: 1.8rem"] {
        font-size: 1.5rem !important;
    }
    
    .fade-in-section h4[style*="font-size: 1.9rem"] {
        font-size: 1.6rem !important;
    }
    
    .fade-in-section h3[style*="font-size: 1.3rem"] {
        font-size: 1.05rem !important;
    }
}

@media (max-width: 480px) {
    .banner-text {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
    .banner-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 10px !important;
    }
    
    .banner-title {
        font-size: 1.7rem !important;
        letter-spacing: 1px !important;
        line-height: 1.35 !important;
    }
    
    .banner-text > div[style*="height: 0.278vw"] {
        height: 2px !important;
        width: 35px !important;
    }
    
    /* 案例页面section标题 */
    .section-header h2 {
        font-size: 1.6rem !important;
    }
    
    .section-header p {
        font-size: 14px !important;
    }
    
    /* 关于我们页面标题 */
    .fade-up-section h1[style*="font-size: 2.4rem"],
    .fade-up-section h2[style*="font-size: 2.4rem"] {
        font-size: 1.6rem !important;
    }
    
    .fade-up-section h2[style*="font-size: 1.8rem"] {
        font-size: 1.4rem !important;
    }
    
    .fade-in-section h4[style*="font-size: 1.9rem"] {
        font-size: 1.5rem !important;
    }
    
    .fade-in-section h3[style*="font-size: 1.3rem"] {
        font-size: 1rem !important;
    }
}

@media (max-width: 375px) {
    .banner-text {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .banner-subtitle {
        font-size: 0.8rem !important;
        margin-bottom: 8px !important;
    }
    
    .banner-title {
        font-size: 1.5rem !important;
        letter-spacing: 0.8px !important;
        line-height: 1.4 !important;
    }
    
    .banner-text > div[style*="height: 0.278vw"] {
        height: 2px !important;
        width: 30px !important;
    }
    
    /* 案例页面section标题 */
    .section-header h2 {
        font-size: 1.4rem !important;
    }
    
    .section-header p {
        font-size: 13px !important;
    }
    
    /* 关于我们页面标题 */
    .fade-up-section h1[style*="font-size: 2.4rem"],
    .fade-up-section h2[style*="font-size: 2.4rem"] {
        font-size: 1.4rem !important;
    }
    
    .fade-up-section h2[style*="font-size: 1.8rem"] {
        font-size: 1.3rem !important;
    }
    
    .fade-in-section h4[style*="font-size: 1.9rem"] {
        font-size: 1.4rem !important;
    }
    
    .fade-in-section h3[style*="font-size: 1.3rem"] {
        font-size: 0.95rem !important;
    }
}




/* 服务支持页面 - 1000px以下纵向布局 */
@media (max-width: 1000px) {
    /* 服务卡片区域改为2列 */
    .service-cards > div > div[style*="grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .service-cards > div > div[style*="grid-template-columns: repeat(3, 1fr)"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* 板块二改为纵向单列布局 */
    .service-features > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
    }
    
    .service-features > div[style*="display: flex"] {
        flex-direction: column !important;
    }
    
    /* 移除边框，改为底部边框 */
    .service-features > div > div[style*="border-right"] {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    }
    
    .service-features > div > div[style*="border-bottom"] {
        border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    }
    
    /* 最后一个区块不需要底部边框 */
    .service-features > div > div:last-child {
        border-bottom: none !important;
    }
    
    /* 调整内边距 */
    .service-features > div > div > div[style*="padding"] {
        padding: 50px 40px !important;
    }
}

/* 服务支持页面 - 768px以下单列布局 */
@media (max-width: 768px) {
    /* 服务卡片区域改为单列 */
    .service-cards > div > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* 进一步减小内边距 */
    .service-features > div > div > div[style*="padding"] {
        padding: 40px 30px !important;
    }
    
    /* 调整标题字号 */
    .service-features h3 {
        font-size: 1.5rem !important;
    }
    
    .service-features p {
        font-size: 14px !important;
    }
}

/* 关于优造页面 - 数据展示区域响应式优化 */
@media (max-width: 520px) {
    /* 数据卡片网格改为单列 */
    #dataCard > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        grid-template-rows: repeat(4, auto) !important;
        gap: 0 !important;
    }
    
    /* 调整数据卡片内边距和居中对齐 */
    .data-cell {
        padding: 25px 20px !important;
        min-height: 100px !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    /* 调整标题字号 */
    .data-cell > div[style*="font-size: 0.9rem"] {
        font-size: 0.85rem !important;
        margin-bottom: 8px !important;
    }
    
    /* 调整数字字号 */
    .data-cell > div[style*="font-size: 1.9rem"] {
        font-size: 1.6rem !important;
    }
    
    /* 调整加号字号 */
    .data-cell span[style*="font-size: 1.3rem"] {
        font-size: 1.1rem !important;
        right: -15px !important;
    }
    
    /* 十字网格线隐藏 */
    #dataCard > div[style*="pointer-events: none"] {
        display: none !important;
    }
    
    /* 添加底部边框代替网格线 */
    .data-cell {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .data-cell:last-child {
        border-bottom: none !important;
    }
}

/* 关于优造页面 - 五大研究院响应式优化 */
@media (max-width: 1000px) {
    /* 五大研究院区域改为纵向布局 */
    .fade-in-section[style*="justify-content: space-between"] {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px !important;
    }
    
    /* 左侧标题居中 */
    .fade-in-section > div[style*="min-width: 300px"] {
        text-align: center !important;
        width: 100% !important;
        flex: none !important;
    }
    
    /* 右侧图标容器调整 */
    .fade-in-section > div[style*="width: 50%"][style*="height: 100px"] {
        width: 100% !important;
        margin: 0 !important;
        flex-wrap: wrap !important;
        gap: 20px !important;
        justify-content: center !important;
        height: auto !important;
    }
    
    /* 移除第一个图标的负margin */
    .fade-in-section > div > div[style*="margin-left: -150px"] {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    /* 进一步优化图标显示 */
    .fade-in-section > div[style*="width: 50%"] > div {
        flex: 0 0 calc(50% - 10px) !important;
        margin: 0 !important;
    }
    
    /* 调整图标大小 */
    .fade-in-section > div > div > div[style*="width: 80px; height: 80px"] {
        width: 70px !important;
        height: 70px !important;
    }
    
    .fade-in-section > div > div > div[style*="width: 80px; height: 80px"] i {
        font-size: 28px !important;
    }
    
    .fade-in-section > div > div > div[style*="font-size: 0.9rem"] {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    /* 手机端图标进一步缩小或改为单列 */
    .fade-in-section > div[style*="width: 50%"] > div {
        flex: 0 0 100% !important;
    }
    
    .fade-in-section > div > div > div[style*="width: 80px; height: 80px"] {
        width: 65px !important;
        height: 65px !important;
    }
    
    .fade-in-section > div > div > div[style*="width: 80px; height: 80px"] i {
        font-size: 26px !important;
    }
}

/* 1200-1400px时培训中心左右比例调整为40:60 */
@media (min-width: 1200px) and (max-width: 1400px) {
    /* 左侧蓝色区域40% */
    div[style*="flex: 0 0 50%"][style*="#1e3c72"] {
        flex: 0 0 40% !important;
    }
    
    /* 右侧图片区域60% */
    div[style*="flex: 0 0 50%"][style*="培训.jpg"] {
        flex: 0 0 60% !important;
    }
}

/* 移动端禁用zoom效果 */
@media (max-width: 768px) {
    body {
        zoom: 1 !important;
    }
}

/* 平板设备 */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
        min-height: 60px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 覆盖style.css中的1024px样式，确保联系我们页面正常显示 */
    .contact-page-wrapper {
        min-height: calc(100vh - 240px) !important;
    }
    
    .contact-container {
        min-height: calc(100vh - 240px) !important;
    }
    
    .contact-info {
        display: flex !important;
        padding: 40px !important;
        padding-left: 7.5vw !important;
        padding-top: 140px !important;
    }
    
    .map-container {
        height: 100% !important;
        min-height: calc(100vh - 240px) !important;
    }
}

/* 案例页面 - 1034px-1070px卡片底部对齐 */
@media (min-width: 1034px) and (max-width: 1070px) {
    .cases-grid {
        grid-auto-rows: 1fr !important;
    }
    
    .case-card {
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
    }
    
    .case-card .case-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .case-card .case-stats {
        margin-top: auto !important;
    }
}

/* 案例页面 - 895px-919px强制单列显示 */
@media (min-width: 895px) and (max-width: 919px) {
    .cases-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 手机设备 */
@media (max-width: 1199px) {
    /* 移动端基础优化 */
    html {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        min-width: 320px;
    }
    
    /* 关于优造页面 - 培训中心父容器调整 */
    .fade-up-section[style*="align-items: stretch"] {
        align-items: flex-start !important;
    }
    
    /* 关于优造页面 - 培训中心图片完整显示（移动端宽度填满） */
    div[style*="培训.jpg"] {
        background-size: cover !important;
        background-position: center center !important;
        background-color: #1e3c72 !important;
        height: 0 !important;
        min-height: 0 !important;
        padding-bottom: 75% !important; /* 保持4:3比例 */
        background-repeat: no-repeat !important;
    }
    
    /* 解决方案页面 - 文字和图片上下排布 */
    .product-overview > div > div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 40px !important;
        align-items: center !important;
    }
    
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 1"] {
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 600px !important;
    }
    
    /* 解决方案页面 - 图片容器高度设置，确保图片完整显示 */
    /* 图片容器本身（架空地坪页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] {
        min-height: 400px !important;
    }
    
    /* 嵌套的图片容器（物流库等页面） */
    .product-overview > div > div[style*="display: flex"] > div[style*="flex: 0 0"] > div {
        min-height: 400px !important;
    }
    
    /* 案例页面 - 白色卡片响应式 */
    .cases-grid {
        flex-direction: column !important;
        gap: 30px !important;
    }
    
    .case-card,
    .cases-grid > a > div[style*="display: flex"] {
        flex-direction: column !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    .case-card .case-image,
    .cases-grid > a > div[style*="display: flex"] > div[style*="width: 50%"] {
        width: 100% !important;
        height: 250px !important;
    }
    
    .case-card .case-content,
    .cases-grid > a > div[style*="display: flex"] > div[style*="flex: 1"] {
        width: 100% !important;
        padding: 25px 20px !important;
    }
    
    /* 案例卡片统计区域 */
    .case-stats {
        flex-wrap: wrap !important;
        gap: 15px !important;
    }
    
    .case-stats > div {
        flex: 1 1 30% !important;
        min-width: 80px !important;
    }
    
    /* 联系我们页面 - 响应式布局（只改变布局方向，其他样式保持一致） */
    .contact-page-wrapper {
        flex-direction: column !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    .contact-container {
        flex-direction: column !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    .contact-info {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .company-info {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .contact-map {
        flex: 1 !important;
        width: 100% !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    .map-container {
        height: 100% !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    /* 768-1200px时，联系我们页面：图标在左，文字在右（水平排列） */
    .contact-item {
        flex-direction: row !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    .contact-icon,
    .contact-icon-img {
        margin: 0 15px 0 0 !important;
    }
    
    /* 关于优造页面 - 响应式布局（文字和图片改为上下排布） */
    /* 公司简介部分 - 左侧文字 + 右侧数据卡片 */
    .company-profile .fade-up-section[style*="display: flex"] {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    .company-profile .fade-up-section > div[style*="flex: 1"] {
        flex: none !important;
        width: 100% !important;
    }
    
    .company-profile .fade-up-section > div[id="rightContainer"] {
        flex: none !important;
        width: 100% !important;
        padding-top: 0 !important;
        align-items: stretch !important;
    }
    
    .company-profile #dataCard {
        height: 400px !important;
        min-height: 400px !important;
    }
    
    /* 施工图设计事务所部分 - 左侧文字 + 右侧图片 */
    .content-body .fade-up-section[style*="display: flex"][style*="align-items: stretch"] {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    .content-body .fade-up-section > div[style*="flex: 1"] {
        flex: none !important;
        width: 100% !important;
    }
    
    .content-body .fade-up-section > div[style*="flex: 0 0 40%"] {
        flex: none !important;
        width: 100% !important;
        min-height: 400px !important;
    }
    
    /* 培训中心部分 - 左侧信息 + 右侧图片 */
    .content-body .fade-up-section[style*="display: flex"][style*="min-height: 400px"] {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .content-body .fade-up-section > div[style*="flex: 0 0 50%"] {
        flex: none !important;
        width: 100% !important;
        min-height: 350px !important;
    }
    
    /* 蓝色卡片与图片紧贴 */
    .content-body .fade-up-section > div[style*="#1e3c72"] {
        margin-bottom: 0 !important;
    }
    
    .content-body .fade-up-section > div[style*="培训.jpg"] {
        margin-top: 0 !important;
    }
    
    /* 移动端导航菜单 - 网格布局 */
    .nav-toggle {
        display: flex !important;
    }
    
    /* 菜单容器 */
    .nav-menu {
        position: fixed !important;
        left: 0 !important;
        top: 60px !important;
        right: 0 !important;
        height: 70vh !important;
        background: #ffffff !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        z-index: 999 !important;
        padding: 20px 15px 25px !important;
        display: none !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
        overflow-y: auto !important;
        align-content: start !important;
        flex-direction: column !important;
        list-style: none !important;
    }
    
    .nav-menu.active {
        display: grid !important;
    }
    
    /* 分类标题 */
    .menu-category-title {
        grid-column: 1 / -1;
        padding: 12px 0 12px 20px;
        color: #333;
        background: transparent;
        font-size: 16px;
        font-weight: 600;
        text-align: left;
        margin-top: 20px;
        margin-bottom: 10px;
        position: relative;
    }
    
    .menu-category-title::before {
        content: '';
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 20px;
        background: #70C030;
        border-radius: 2px;
    }
    
    .menu-category-title:first-child {
        margin-top: 0;
    }
    
    /* 菜单项 */
    .nav-menu > li {
        border: none;
    }
    
    .nav-menu > li > a,
    .nav-menu .dropdown > a,
    .dropdown-menu > li > a,
    .dropdown-submenu > a,
    .dropdown-submenu-content a {
        display: block;
        padding: 14px 10px;
        color: #333;
        font-size: 14px;
        font-weight: 400;
        text-align: center;
        background: #f5f5f5;
        border-radius: 6px;
        border: none;
        text-decoration: none;
        transition: all 0.2s ease;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 导航菜单项响应式 - 随屏幕缩小字体和间距也缩小 */
    @media (max-width: 420px) {
        .nav-menu > li > a,
        .dropdown-menu > li > a,
        .dropdown-submenu > a,
        .dropdown-submenu-content a {
            font-size: 13px !important;
            padding: 12px 8px !important;
            letter-spacing: -0.2px !important;
        }
    }
    
    @media (max-width: 380px) {
        .nav-menu > li > a,
        .dropdown-menu > li > a,
        .dropdown-submenu > a,
        .dropdown-submenu-content a {
            font-size: 12px !important;
            padding: 11px 6px !important;
            letter-spacing: -0.3px !important;
        }
    }
    
    @media (max-width: 350px) {
        .nav-menu > li > a,
        .dropdown-menu > li > a,
        .dropdown-submenu > a,
        .dropdown-submenu-content a {
            font-size: 11px !important;
            padding: 10px 5px !important;
            letter-spacing: -0.5px !important;
        }
    }
    
    @media (max-width: 320px) {
        .nav-menu > li > a,
        .dropdown-menu > li > a,
        .dropdown-submenu > a,
        .dropdown-submenu-content a {
            font-size: 10.5px !important;
            padding: 9px 4px !important;
            letter-spacing: -0.6px !important;
        }
    }
    
    .nav-menu > li > a:active,
    .nav-menu .dropdown > a:active,
    .dropdown-menu > li > a:active,
    .dropdown-submenu > a:active,
    .dropdown-submenu-content a:active {
        background: #70C030;
        color: #fff;
    }
    
    /* 隐藏所有下拉菜单 */
    .dropdown-menu,
    .dropdown-submenu-content {
        display: none !important;
    }
    
    /* 移除箭头 */
    .nav-menu .dropdown > a::after,
    .dropdown-submenu > a::after {
        display: none;
    }
    
    /* 汉堡图标动画 */
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    /* 菜单滚动条美化 */
    .nav-menu::-webkit-scrollbar {
        width: 6px;
    }
    
    .nav-menu::-webkit-scrollbar-track {
        background: #f1f1f1;
    }
    
    .nav-menu::-webkit-scrollbar-thumb {
        background: #70C030;
        border-radius: 3px;
    }
    
    .nav-menu::-webkit-scrollbar-thumb:hover {
        background: #5BA028;
    }
    
    /* 首页Banner移动端 */
    .hero-section {
        height: 50vh;
        margin-top: 70px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* 统计数据移动端 */
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* 章节标题移动端 */
    section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* 合作伙伴移动端 */
    .partners-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partners-swiper .swiper-slide {
        padding: 0.5rem;
    }
    
    .partner-logo {
        max-width: 100px;
        max-height: 50px;
    }
    
    /* 首页合作伙伴Logo滚动优化 */
    .partners-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 15px !important;
    }
    
    .partners-grid img {
        max-width: 80px !important;
        max-height: 40px !important;
    }
    
    /* 项目案例移动端 */
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .case-card {
        padding: 1.5rem 1rem;
    }
    
    .case-image {
        font-size: 2rem;
    }
    
    .case-card h4 {
        font-size: 1.1rem;
    }
    
    .case-card p {
        font-size: 0.9rem;
    }
    
    .china-map {
        padding: 1rem;
        min-height: 300px;
    }
    
    /* 首页项目案例区域优化 */
    .projects-section {
        height: auto !important;
        min-height: 500px;
        padding: 2rem 0 !important;
    }
    
    .projects-section .stats-grid {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1.5rem;
        padding: 20px 0 !important;
        margin-top: 0 !important;
    }
    
    .projects-section .stat-item {
        width: 100%;
    }
    
    .projects-section .stat-number {
        font-size: 2.5rem !important;
    }
    
    .projects-section .stat-label {
        font-size: 0.8rem !important;
    }
    
    .projects-map {
        margin-top: 2rem;
    }
    
    .projects-map .more-btn {
        margin-top: -200px !important;
    }
    
    /* 解决方案移动端 */
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .solution-image {
        height: 150px;
    }
    
    .solution-content {
        padding: 1.5rem;
    }
    
    .solution-content h3 {
        font-size: 1.3rem;
    }
    
    .factory-types {
        justify-content: center;
    }
    
    /* 首页解决方案三列布局移动端适配 */
    .solutions-content {
        flex-direction: column !important;
        min-height: auto !important;
    }
    
    .solution-column {
        min-height: 400px !important;
        padding: 60px 30px !important;
    }
    
    .solution-column h3 {
        font-size: 1.5rem !important;
    }
    
    .solution-column p {
        font-size: 0.75rem !important;
    }
    
    .solution-icon {
        width: 80px !important;
        height: 80px !important;
        margin-bottom: 30px !important;
    }
    
    .solution-icon img {
        width: 40px !important;
        height: 40px !important;
    }
    
    #factoryDetailBtns {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    #factoryDetailBtns button {
        width: 100% !important;
    }
    
    /* 服务支持移动端 */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    /* 首页服务支持卡片优化 */
    .services-section > div > div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .card-bg-num {
        font-size: 8rem !important;
    }
    
    /* 关于我们移动端 */
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .join-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .join-card {
        padding: 1.5rem;
    }
    
    /* 首页关于我们区域优化 */
    .about-intro {
        max-width: 100% !important;
    }
    
    .about-intro p {
        font-size: 0.9rem !important;
        line-height: 1.8 !important;
    }
    
    /* 联系我们移动端 */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .contact-item i {
        width: auto;
    }
    
    /* 页脚移动端 */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    /* 隐藏左侧导航部分 */
    .footer-left {
        display: none !important;
    }
    
    /* 右侧联系部分 */
    .footer-right {
        align-items: center !important;
        text-align: center !important;
        flex: none !important;
        width: 100% !important;
    }
    
    .service-hotline {
        margin-bottom: 1rem;
    }
    
    .hotline-label {
        font-size: 12px;
    }
    
    .hotline-number {
        font-size: 24px !important;
    }
    
    .manager-name {
        font-size: 13px;
    }
    
    .footer-qrcodes {
        justify-content: center !important;
        gap: 1.5rem !important;
        flex-direction: row !important;
    }
    
    .qrcode-placeholder {
        width: 80px !important;
        height: 80px !important;
    }
    
    .qrcode-placeholder img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    
    .qrcode-item p {
        font-size: 11px !important;
        margin-top: 0.3rem;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .footer-bottom p {
        font-size: 11px !important;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    
    .floating-contact {
        bottom: 1rem;
        right: 1rem;
        left: auto;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* 模态框移动端 */
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
        max-height: 70vh;
    }
    
    .close {
        right: 0.5rem;
        top: 0.5rem;
        font-size: 1.5rem;
    }
    
    /* 在线咨询弹窗移动端优化 */
    .floating-consultation {
        top: auto;
        bottom: 80px;
        right: 0;
        transform: none;
        width: 60px;
        height: 70px;
        border-radius: 12px 0 0 12px;
        z-index: 1001;
    }
    
    .floating-consultation:hover {
        transform: translateX(-3px);
    }
    
    .consultation-icon {
        font-size: 20px;
        margin-bottom: 2px;
    }
    
    .consultation-text {
        font-size: 10px;
        line-height: 1.1;
    }
    
    .consultation-badge {
        top: -3px;
        right: -3px;
        width: 14px;
        height: 14px;
        font-size: 8px;
    }
    
    /* 返回顶部按钮位置调整，避免与在线咨询按钮重叠 */
    .back-to-top {
        bottom: 165px;
        right: 15px;
    }
    
    .consultation-modal-content {
        width: 95% !important;
        max-width: 95% !important;
        margin: 5% auto !important;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .consultation-modal-header h3 {
        font-size: 1.5rem !important;
    }
    
    .consultation-modal-body {
        padding: 1rem !important;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 1rem;
    }
}

/* 小于768px时，联系我们页面格式与768-1200px保持一致 */
@media (max-width: 768px) {
    .contact-page-wrapper {
        flex-direction: column !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    .contact-container {
        flex-direction: column !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    .contact-info {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .company-info {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .contact-map {
        flex: 1 !important;
        width: 100% !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    .map-container {
        height: 100% !important;
        min-height: calc(100vh - 240px) !important;
    }
    
    /* 联系项保持靠左对齐（与768-1200px一致） */
    .contact-item {
        flex-direction: row !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    .contact-icon,
    .contact-icon-img {
        margin: 0 !important;
        margin-right: 15px !important;
    }
    
    .contact-details {
        text-align: left !important;
    }
}

/* 小屏手机设备 */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .nav-container {
        padding: 0 10px;
        min-height: 60px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    /* 小屏幕优化 */
    .nav-menu {
        grid-template-columns: repeat(2, 1fr);
        padding: 18px 12px 20px;
        gap: 8px;
    }
    
    .menu-category-title {
        font-size: 15px;
        padding: 10px 0 10px 18px;
        margin-top: 15px;
        margin-bottom: 8px;
    }
    
    .menu-category-title::before {
        width: 3px;
        height: 18px;
    }
    
    .nav-menu > li > a {
        padding: 12px 8px;
        font-size: 13px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr !important;
        justify-items: center;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* 覆盖inline style的grid设置 */
    .cases-grid[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    
    .case-card {
        padding: 1rem;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* 确保链接容器也不限制宽度 */
    .cases-grid > a {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    /* 移除卡片内容的nowrap限制，让卡片可以完全缩小 */
    .case-card div[style*="white-space: nowrap"],
    .cases-grid div[style*="white-space: nowrap"],
    .case-card div,
    .cases-grid a > div > div > div > div {
        white-space: normal !important;
    }
    
    /* 移除卡片和容器的最小宽度限制 */
    .case-card,
    .case-card *,
    .cases-grid,
    .cases-grid *,
    .cases-grid > a,
    .cases-grid > a > div {
        min-width: 0 !important;
    }
    
    /* 确保统计数据可以正常显示和收缩 */
    .case-stats,
    .case-stats > div,
    .case-stats * {
        min-width: 0 !important;
        flex-shrink: 1 !important;
        white-space: normal !important;
    }
    
    /* 确保所有flex容器内的元素都可以收缩 */
    .case-card [style*="display: flex"],
    .cases-grid [style*="display: flex"] {
        flex-wrap: wrap !important;
    }
    
    /* 强制所有文字内容可以换行 */
    .case-card *,
    .cases-grid * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .partner-card,
    .service-card,
    .join-card {
        padding: 1rem;
    }
    
    .solution-content,
    .contact-form {
        padding: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .about-intro p {
        font-size: 1rem;
    }
    
    /* 表单元素小屏优化 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
    
    .contact-form button {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    /* 按钮小屏优化 */
    .cta-button,
    .detail-btn,
    .partner-card button,
    .join-card button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .more-btn button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* 首页解决方案按钮小屏优化 */
    .solution-column button {
        padding: 8px 30px !important;
        font-size: 0.8rem !important;
    }
    
    .solution-column h3 {
        font-size: 1.3rem !important;
    }
    
    /* 首页项目统计数据小屏优化 */
    .projects-section .stat-number {
        font-size: 2rem !important;
    }
    
    /* 合作伙伴Logo小屏优化 */
    .partners-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .partners-grid img {
        max-width: 60px !important;
        max-height: 30px !important;
    }
    
    /* 页脚小屏优化 */
    .qrcode-placeholder {
        width: 70px !important;
        height: 70px !important;
    }
    
    .hotline-number {
        font-size: 22px !important;
    }
    
    /* 合作伙伴页面 - 总包单位和设计院卡片 */
    .contractors-list,
    .designers-list {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        justify-items: stretch !important;
        padding: 0 20px !important;
    }
    
    .contractor-item,
    .designer-item {
        width: 100% !important;
        max-width: none !important;
        text-align: center !important;
        word-wrap: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.4 !important;
        padding: 10px 12px !important;
        min-height: 30px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 13px !important;
    }
    
    /* 合作伙伴页面 - 建设单位Logo卡片 */
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        justify-items: center !important;
        padding: 0 20px !important;
    }
    
    .partner-card {
        width: 100% !important;
        height: auto !important;
        min-width: 150px !important;
        min-height: 100px !important;
        max-width: 100% !important;
        padding: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .partner-card img {
        max-width: 100% !important;
        max-height: 80px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* 在线咨询按钮小屏优化 */
    .floating-consultation {
        width: 55px;
        height: 65px;
        bottom: 70px;
    }
    
    .consultation-icon {
        font-size: 18px;
    }
    
    .consultation-text {
        font-size: 9px;
    }
    
    .back-to-top {
        bottom: 145px;
        width: 42px;
        height: 42px;
    }
    
    /* 在线咨询弹窗小屏优化 */
    .consultation-modal-content {
        width: 98% !important;
        padding: 1rem !important;
    }
    
    .consultation-modal-header h3 {
        font-size: 1.3rem !important;
    }
}

/* 横屏手机优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        height: 70vh;
    }
    
    .nav-menu {
        grid-template-columns: repeat(3, 1fr);
        padding: 16px 12px 18px;
        gap: 8px;
    }
    
    .menu-category-title {
        font-size: 14px;
        padding: 8px 0 8px 16px;
        margin-top: 12px;
        margin-bottom: 6px;
    }
    
    .menu-category-title::before {
        width: 3px;
        height: 16px;
        left: 6px;
    }
    
    .nav-menu > li > a {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    .modal-content {
        max-height: 85vh;
    }
    
    /* 横屏时按钮位置调整 */
    .floating-consultation {
        width: 55px;
        height: 65px;
        bottom: 70px;
    }
    
    .back-to-top {
        bottom: 145px;
        width: 42px;
        height: 42px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 保留悬停效果，因为1200px以下时也可能使用鼠标 */
    /* 只调整触摸设备专用的样式 */
    
    .back-to-top {
        bottom: 160px;
        right: 7px;
        width: 45px;
        height: 45px;
        z-index: 1001;
    }
    
    /* 为触摸设备增加点击反馈 */
    .partner-card:active,
    .case-card:active,
    .solution-card:active,
    .service-card:active,
    .join-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    button:active,
    .cta-button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .partner-logo,
    .nav-logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    .navbar {
        background: rgba(33, 37, 41, 0.95);
    }
    
    .nav-menu {
        background-color: #212529;
    }
    
    .nav-link {
        color: #f8f9fa;
    }
    
    .dropdown-menu {
        background: #343a40;
    }
    
    .dropdown-menu a {
        color: #ced4da;
    }
}

/* 减少动画的用户偏好 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .swiper {
        --swiper-navigation-size: 0px;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .back-to-top,
    .floating-contact,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 0;
        height: auto;
        page-break-after: always;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    .modal {
        display: none !important;
    }
}
