/* Mobile-only overrides for contact page (non-intrusive) */
@media (max-width: 768px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar .container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-menu {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 10px 14px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .page-header {
        padding: 3rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .content-section {
        padding: 2.2rem 0;
    }

    .cooperation-modes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mode-card {
        padding: 1.2rem;
    }

    .business-consultation {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .consultation-image img {
        height: 240px !important;
    }

    .consultation-benefits {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.1rem;
    }

    /* Home: 产品服务在移动端改为单列完整展示 */
    .home-products {
        min-height: auto;
        display: block;
        align-items: initial;
        padding: 52px 0;
        overflow: visible;
    }

    .home-products .container {
        padding: 0 16px;
        overflow: visible;
    }

    .home-products .section-header {
        margin-bottom: 1.5rem;
    }

    .home-products .section-subtitle {
        font-size: 1.35rem;
        line-height: 1.45;
    }

    .product-carousel-wrapper {
        margin-top: 1.5rem;
        max-width: 100%;
        overflow: visible;
    }

    .product-cards-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .product-cards-grid .product-card-new {
        flex: 1 1 auto;
        width: 100%;
    }

    .product-card-new {
        display: block;
        height: auto;
    }

    .product-card-top {
        height: auto;
        min-height: 160px;
        padding: 1.5rem 1.25rem;
    }

    .product-card-bottom {
        flex: 0 0 auto;
        min-height: 220px;
        height: 230px;
    }

    .product-card-image-wrapper {
        position: relative;
    }

    .product-card-overlay {
        display: none;
    }

    .product-card-overlay-header {
        height: 160px;
        padding-top: 1rem;
    }

    /* About: 荣誉资质轮播移动端适配 */
    .honors-carousel {
        padding: 0 44px;
    }

    .honors-carousel-icon {
        width: 40px;
        height: 40px;
    }

    .certificates-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.9rem;
    }

    .honors-carousel .certificate-item {
        padding: 0.8rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-subtitle {
        font-size: 0.9rem;
    }

    .mode-card h3,
    .contact-card h3 {
        font-size: 1.05rem;
    }

    .home-products .section-subtitle {
        font-size: 1.15rem;
    }

    .product-card-bottom {
        height: 200px;
    }

    .consultation-image img {
        height: 210px !important;
    }

    /* About: 超小屏继续放大证书卡片可视面积 */
    .honors-carousel {
        padding: 0 34px;
    }

    .honors-carousel-icon {
        width: 34px;
        height: 34px;
    }

    .certificates-grid {
        gap: 0.7rem;
    }

    .honors-carousel .certificate-item {
        padding: 0.6rem;
    }
}
