/* ============================================
   响应式样式
   ============================================ */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
    .business-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        height: calc(100vh - 70px);
        overflow-y: auto;
        background: #FFFFFF;
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px;
        gap: 16px;
        border-bottom: 1px solid #E5E6EB;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 8px 0;
    }

    .nav-menu .nav-cta {
        display: block;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    .hamburger span {
        background: #1D2129;
    }

    .section-title {
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    /* Products: 4cols -> 2cols */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-recommendations-inner {
        position: static;
    }

    .product-recommendation-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* Clients: 4cols -> 2cols */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Hero */
    .hero-title {
        font-size: 44px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    /* Services - 3 cols */
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .page-hero h1 {
        font-size: 36px;
    }

}

/* Mobile (< 768px) */
@media (max-width: 767px) {
    .business-page-hero {
        min-height: 0;
        padding: 98px 16px 34px;
    }

    .business-catalog-section {
        padding: 36px 0 52px;
    }

    .business-filter-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .business-filter-header h2 {
        font-size: 25px;
    }

    .business-groups {
        gap: 28px;
    }

    .business-group-heading {
        align-items: flex-start;
    }

    .business-group-heading h3 {
        font-size: 19px;
    }

    .business-group-heading p {
        max-width: 240px;
        line-height: 1.55;
    }

    .business-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .business-filter {
        width: 100%;
        padding: 0 10px;
    }

    .business-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .business-card-button {
        min-height: 0;
        padding: 20px;
    }

    .business-card-icon {
        margin-bottom: 16px;
    }

    .business-detail-header,
    .business-detail-content,
    .business-detail-footer {
        padding: 22px 20px;
    }

    .business-detail-header h2 {
        font-size: 23px;
    }

    .business-detail-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .business-detail-footer .btn-primary {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 48px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .container {
        padding: 0 16px;
    }

    /* Navigation */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1001;
        height: calc(100vh - 70px);
        overflow-y: auto;
        background: #FFFFFF;
        flex-direction: column;
        align-items: stretch;
        padding: 24px 20px;
        gap: 16px;
        border-bottom: 1px solid #E5E6EB;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 16px;
        padding: 8px 0;
    }

    .hamburger span {
        background: #1D2129;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu .nav-cta {
        display: block;
        text-align: center;
    }

    .hamburger {
        display: flex;
    }

    /* Hero */
    .hero {
        min-height: 650px;
        align-items: flex-start;
        padding: 104px 0 300px;
        background-image: var(--hero-image-mobile, var(--hero-image-desktop, url('/images/hero-digital-platform-mobile-hd.webp')));
        background-position: center bottom;
        background-size: 100% auto;
    }

    .hero::before {
        background: linear-gradient(180deg, rgba(248, 251, 255, 1) 0%, rgba(248, 251, 255, 0.98) 42%, rgba(248, 251, 255, 0.65) 58%, transparent 76%);
    }

    .hero-content {
        width: 100%;
        max-width: 520px;
        text-align: left;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 28px;
    }

    .hero-actions {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: auto;
        max-width: none;
        padding: 12px 20px;
        text-align: center;
    }

    /* Services - 2 cols */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card {
        padding: 20px 14px;
    }

    .service-card h3 {
        font-size: 16px;
    }

    .service-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .service-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-page-hero {
        padding-bottom: 42px;
    }

    .page-hero:not(.business-page-hero) {
        padding-top: 96px;
        padding-bottom: 38px;
    }

    .page-hero:not(.business-page-hero) h1 {
        font-size: 32px;
    }

    .products-catalog-section {
        padding-top: 42px;
        padding-bottom: 64px;
    }

    .products-catalog-heading {
        margin-bottom: 24px;
    }

    .products-catalog-heading h2 {
        font-size: 28px;
    }

    .products-catalog-heading p {
        font-size: 14px;
        line-height: 1.75;
    }

    .products-catalog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-catalog-media {
        aspect-ratio: 16 / 9;
    }

    .product-catalog-body {
        padding: 18px 18px 16px;
    }

    .news-card {
        gap: 16px;
        padding: 18px 0;
    }

    .news-card-img {
        width: 156px;
        height: 104px;
    }

    .about-richtext {
        padding: 26px 22px;
    }

    .product-catalog-body h3 {
        font-size: 19px;
    }

    .product-card-more,
    .product-card-consult {
        font-size: 13px;
    }

    .product-img-wrap {
        aspect-ratio: 16 / 9;
        padding: 16px;
    }

    .product-card-body {
        padding: 12px 16px 16px;
    }

    .product-detail-page {
        padding-top: 92px;
    }

    .product-breadcrumb {
        margin-bottom: 14px;
    }

    .product-detail-header {
        display: block;
        padding: 24px 20px 20px;
    }

    .product-detail-title h1 {
        font-size: 28px;
    }

    .product-detail-title p {
        font-size: 14px;
    }

    .product-detail-header .btn-primary {
        width: auto;
        max-width: none;
        margin-top: 20px;
    }

    .product-detail-cover {
        margin: 0 20px;
        aspect-ratio: 4 / 3;
    }

    .product-detail-article {
        padding: 26px 20px 32px;
    }

    .product-detail-article > h2 {
        font-size: 22px;
    }

    .product-detail-richtext {
        font-size: 15px;
    }

    .product-recommendations-inner {
        padding: 18px;
    }

    .product-recommendation-grid {
        grid-template-columns: 1fr;
    }

    .product-recommendation-card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
    }

    .product-recommendation-image {
        height: 100%;
        min-height: 126px;
        aspect-ratio: auto;
    }

    .product-recommendation-body h3,
    .product-recommendation-body p {
        min-height: 0;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .client-item {
        padding: 16px 12px;
        min-height: 60px;
    }

    .client-item .client-name {
        font-size: 13px;
    }

    .client-stats .stat-number {
        font-size: 36px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer .nav-logo {
        font-size: 18px;
    }

    /* Page Hero */
    .page-hero {
        padding: 100px 16px 40px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero p {
        font-size: 15px;
    }

    /* Service Detail */
    .service-detail-block {
        padding: 24px;
    }

    .service-detail-block h2 {
        font-size: 22px;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 24px;
    }

    .about-richtext,
    .news-detail {
        padding: 24px 20px;
    }

    /* CTA */
    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 15px;
    }

    /* News */
    .news-card {
        flex-direction: column;
    }

    .news-card-img {
        width: 100%;
        height: 200px;
    }

    .news-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-nav-next {
        text-align: left;
    }

    .news-nav-back {
        order: -1;
        margin-bottom: 8px;
    }

    /* Modal */
    .modal-content {
        padding: 24px;
        margin: 16px;
    }

    .modal-content h2 {
        font-size: 20px;
    }
}
