@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    }
    .team-grid {
        display: flex !important;
        gap: 20px !important;
        overflow-x: auto !important;
        padding: 0 20px 20px !important;
        -ms-overflow-style: none !important;
        scrollbar-width: none !important;
        scroll-snap-type: x mandatory !important;
    }
    .team-grid::-webkit-scrollbar { display: none !important; }
    .team-card {
        flex: 0 0 min(85vw, 320px) !important;
        scroll-snap-align: center !important;
    }
    .team-pager { justify-content: center !important; flex-wrap: wrap !important; gap: 8px !important; }
    .team-pager .pager-dot { width: 32px !important; }
    .cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
        gap: 24px;
    }
    .testimonial-card {
        flex: 0 0 min(84vw, 471px);
        padding: 28px 24px;
    }
    .testimonials-slider {
        gap: 16px;
        padding: 0 20px 20px;
    }

    .cta-deco-1 {
        top: -12px;
        left: -12px;
        width: 78px;
        height: 78px;
    }
    .cta-deco-2 {
        bottom: -6px;
        right: -6px;
        width: 80px;
        height: 78px;
    }
    .cta-deco-3 {
        bottom: -6px;
        left: -6px;
        width: 84px;
        height: 51px;
    }
    .cta-deco-4 {
        top: -6px;
        right: -6px;
        width: 84px;
        height: 51px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 0;
        overflow: hidden;
    }
    .hero-section > .container {
        min-height: 0;
    }
    .hero-text h1 {
        font-size: 30px;
        line-height: 1.32;
        letter-spacing: -0.3px;
        margin-bottom: 14px;
    }
    .hero-text p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 26px;
    }
    .hero-badge {
        margin-bottom: 18px;
    }
    .hero-image-container {
        display: none;
    }
    .hero-section .deco-shape-1 {
        width: 220px;
        height: 220px;
        padding-bottom: 0;
        top: auto;
        bottom: -100px;
        left: auto;
        right: -86px;
        border-radius: 36px;
        opacity: 0.35;
        z-index: 1;
    }
    .hero-section .deco-shape-2 {
        display: block;
        width: 90px;
        height: auto;
        top: auto;
        bottom: 100px;
        left: auto;
        right: 0;
        opacity: 0.4;
        z-index: 0;
    }
    .hero-content {
        position: relative;
        z-index: 1;
        padding-top: 104px;
        padding-bottom: 48px;
    }
    .hero-stats {
        gap: 22px 28px;
    }
    .hero-stats .stat-number {
        font-size: 26px;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    .hero-stats .stat-label {
        font-size: 13px;
    }

    .section-heading h2,
    .process-title h2,
    .about-text h2,
    .cta-content h2 {
        font-size: clamp(26px, 7.2vw, 40px);
        line-height: 1.25;
        letter-spacing: -0.2px;
    }
    .section-heading {
        margin-bottom: 36px;
    }
    .section-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }
    .section-tag {
        font-size: 14px;
    }

    .services-section,
    .cases-section,
    .team-section,
    .testimonials-section,
    .contact-section {
        padding: 56px 20px;
    }
    .partners-section {
        padding: 48px 20px;
    }
    .process-section {
        padding: 48px 0 56px;
    }
    .cta-section {
        padding: 48px 20px;
    }

    .stats-section {
        padding: 40px 0;
    }
    .stats-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 28px 16px;
        padding-bottom: 32px;
    }
    .stat-item {
        align-items: flex-start;
    }
    .stats-bar .stat-number {
        font-size: 32px;
        line-height: 1.15;
    }
    .stats-bar .stat-label {
        font-size: 14px;
    }

    .tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: auto;
        margin: 0 -20px 28px;
        padding: 4px 20px;
        overflow-x: auto;
        scrollbar-width: none;
        border-radius: 0;
        background-color: transparent;
    }
    .tabs::-webkit-scrollbar {
        display: none;
    }
    .tab-btn {
        flex: 0 0 auto;
        padding: 9px 18px;
        font-size: 15px;
        background-color: #f1f0ff;
    }
    .tab-btn.active {
        background-color: #2b4ae0;
        color: #fff;
    }

    .card-body {
        padding: 22px 20px 16px;
    }
    .card-body h5 {
        font-size: 19px;
        margin-bottom: 18px;
    }
    .card-footer {
        padding: 0 20px 22px;
    }
    .case-detail-label,
    .case-detail-value {
        font-size: 14px;
    }

    .logo-wall {
        gap: 20px 28px;
        padding: 32px 12px;
    }
    .logo-wall img {
        height: 44px;
        max-width: 120px;
    }

    .cta-content {
        padding: 32px 20px;
        border-radius: 20px;
        text-align: left;
    }
    .cta-content h2 {
        font-size: clamp(22px, 5.6vw, 30px);
        line-height: 1.2;
        margin-bottom: 10px;
    }
    .cta-content p {
        font-size: 15px;
        line-height: 1.45;
        margin-bottom: 22px;
    }
    .cta-content .btn-cta-alt {
        display: flex;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-grid {
        gap: 32px;
        margin-top: 36px;
    }
    .info-item {
        gap: 16px;
    }
    .info-item img,
    .wechat-icon-merged {
        width: 40px;
        height: 40px;
    }
    .info-item h4 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .info-item p {
        font-size: 15px;
    }
    .form-group label {
        font-size: 16px;
    }
    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
    }
    .form-group textarea {
        height: 112px;
    }
    .btn-submit {
        padding: 15px;
        font-size: 17px;
        min-height: 52px;
    }
    .contact-form {
        gap: 18px;
    }

    .team-card img {
        height: 168px;
    }
    .team-card-info {
        padding: 18px;
    }

    .site-footer {
        padding: 48px 20px 28px;
    }
    .footer-content {
        padding: 0;
        gap: 28px;
    }
    .footer-main {
        gap: 28px 24px;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 48px 0;
    }
    .about-content {
        gap: 32px;
    }
    .about-text {
        margin-top: 0;
    }
    .about-text p {
        font-size: 15px;
    }
    .about-features li {
        font-size: 15px;
    }
    .about-image-container {
        display: none;
    }

    .process-hero {
        margin-bottom: 40px;
        padding: 0 20px;
        gap: 30px;
        justify-content: center;
    }
    .feature-small,
    .feature-large {
        width: 37%;
        max-width: none;
        height: 106px;
    }
    .process-step {
        padding: 0 4px;
    }
    .step-number {
        font-size: 48px;
        height: auto;
        width: auto;
        margin-bottom: 8px;
    }
    .process-step h3 {
        font-size: 22px;
        margin-left: 4px;
    }
    .process-step p {
        font-size: 14px;
        margin-left: 4px;
    }
    .process-slider-wrap {
        padding-top: 28px;
    }
}
