/* High-fidelity desktop calibration against the approved 941px reference comps. */
@media (min-width: 901px) {
    :root {
        --container: 1260px !important
    }

    .container {
        width: min(1260px, calc(100% - 120px)) !important
    }

    .site-header {
        height: 88px !important
    }

    .brand {
        width: 292px !important
    }

    .nav {
        gap: 27px !important
    }

    .nav a {
        font-size: 14px !important
    }

    .lang {
        font-size: 12px !important
    }

    .hero {
        height: 535px !important
    }

    .hero-content {
        padding-top: 38px !important
    }

    .hero-copy {
        max-width: 760px !important
    }

    .hero-copy h1 {
        font-size: 43px !important;
        margin: 10px 0 14px !important
    }

    .hero-copy p {
        font-size: 17px !important;
        margin-bottom: 22px !important
    }

    .hero-copy .eyebrow {
        display: none !important
    }

    .btn {
        height: 42px !important;
        min-width: 138px !important;
        padding: 0 20px !important
    }

    .hero-trust {
        width: min(1260px, calc(100% - 120px)) !important;
        padding: 18px 28px !important;
        border-radius: 8px !important
    }

    .trust-item {
        padding: 0 24px !important
    }

    .trust-icon {
        width: 48px !important;
        height: 48px !important
    }

    .trust-item strong {
        font-size: 15px !important
    }

    .trust-item span {
        font-size: 10px !important
    }

    .hero-after {
        padding-top: 78px !important
    }

    .stats {
        padding: 22px 12px !important;
        border-radius: 7px !important
    }

    .stat b {
        font-size: 31px !important
    }

    .stat span {
        font-size: 12px !important
    }

    .section {
        padding: 32px 0 !important
    }

    .section-heading {
        margin-bottom: 16px !important
    }

    .section-heading h2 {
        font-size: 27px !important
    }

    .section-heading p {
        margin-top: 4px !important;
        font-size: 13px !important
    }

    .section-heading h2 small {
        font-size: 10px !important
    }

    .service-grid {
        gap: 13px !important
    }

    .service-card {
        min-height: 166px !important;
        padding: 18px 12px !important
    }

    .service-card .icon-box {
        width: 47px !important;
        height: 47px !important;
        margin-bottom: 9px !important
    }

    .service-card h3 {
        font-size: 15px !important;
        margin-bottom: 5px !important
    }

    .service-card p {
        font-size: 11px !important;
        line-height: 1.55 !important
    }

    .product-board {
        padding: 12px 20px 15px !important;
        border-radius: 8px !important
    }

    .board-label {
        font-size: 13px !important;
        margin-bottom: 7px !important
    }

    .product-grid {
        gap: 14px !important;
        margin-bottom: 10px !important
    }

    .image-card img {
        height: 92px !important
    }

    .image-card .label {
        padding: 6px 10px !important;
        font-size: 12px !important
    }

    .case-grid {
        gap: 14px !important
    }

    .case-card img {
        height: 154px !important
    }

    .case-card .body {
        padding: 10px 13px !important
    }

    .case-card h3 {
        font-size: 14px !important;
        margin: 2px 0 !important
    }

    .case-card p, .tag {
        font-size: 10px !important
    }

    .global-layout {
        grid-template-columns:255px 1fr !important;
        gap: 28px !important
    }

    .global-layout h2 {
        font-size: 26px !important;
        margin: 4px 0 8px !important
    }

    .global-layout p {
        font-size: 13px !important
    }

    .map-card {
        height: 190px !important;
        border-radius: 7px !important
    }

    /* Restore about-page map heights (overridden by .map-card above in cascade) */
    .about-world-map {
        height: auto !important
    }

    .about-china-map {
        height: auto !important;
        min-height: 520px !important
    }

    .map-pin {
        transform: translate(-9px, -100%) scale(.82) !important;
        transform-origin: bottom left !important
    }

    .about-layout {
        grid-template-columns:400px 1fr !important;
        gap: 40px !important
    }

    .about-layout h2 {
        font-size: 24px !important;
        line-height: 1.4 !important
    }

    .about-layout p {
        font-size: 13px !important
    }

    .about-features {
        gap: 14px !important
    }

    .visual-card img {
        height: 116px !important
    }

    .visual-card .body {
        padding: 8px 12px !important
    }

    .visual-card small {
        font-size: 8px !important
    }

    .news-grid {
        gap: 14px !important
    }

    .news-card {
        min-height: 112px !important;
        padding: 14px !important
    }

    .news-card time {
        font-size: 10px !important
    }

    .news-card h3 {
        font-size: 13px !important;
        margin: 6px 0 9px !important
    }

    .site-footer {
        padding: 30px 0 16px !important
    }

    .footer-grid {
        gap: 28px !important
    }

    .footer-logo {
        width: 235px !important;
        margin-bottom: 10px !important
    }

    .site-footer p, .site-footer li, .site-footer a {
        font-size: 11px !important;
        line-height: 1.55 !important
    }

    .site-footer h4 {
        font-size: 14px !important;
        margin-bottom: 8px !important
    }

    .footer-links {
        gap: 4px !important
    }

    .footer-qr .qr-box {
        width: 68px !important;
        height: 68px !important
    }

    .copyright {
        margin-top: 18px !important;
        padding-top: 12px !important
    }

    /* Inner pages */
    .page-hero {
        height: 380px !important
    }

    .page-hero .container {
        padding-bottom: 42px !important
    }

    .page-hero h1 {
        font-size: 40px !important
    }

    .page-hero p {
        font-size: 17px !important
    }

    .breadcrumb {
        margin-top: 14px !important
    }

    .matrix-grid {
        gap: 14px !important
    }

    .matrix-card {
        padding: 19px !important
    }

    .matrix-card .icon-box {
        width: 50px !important;
        height: 50px !important
    }

    .matrix-card h3 {
        font-size: 15px !important
    }

    .matrix-card p {
        font-size: 11px !important
    }

    .flow {
        gap: 10px !important
    }

    .flow-card {
        padding: 17px 10px !important
    }

    .flow-card .icon-box {
        width: 48px !important;
        height: 48px !important
    }

    .flow-card h3 {
        font-size: 14px !important;
        margin: 5px 0 !important
    }

    .flow-card p {
        font-size: 10px !important
    }

    .advantage-grid {
        gap: 12px !important
    }

    .advantage-card {
        padding: 16px 10px !important
    }

    .advantage-card .icon-box {
        width: 46px !important;
        height: 46px !important
    }

    .advantage-card h3 {
        font-size: 14px !important;
        margin: 8px 0 4px !important
    }

    .advantage-card p {
        font-size: 10px !important
    }

    .industry-grid {
        gap: 13px !important
    }

    .industry-card img {
        height: 155px !important
    }

    .industry-card span {
        font-size: 14px !important;
        left: 14px !important;
        bottom: 10px !important
    }

    .gradient-band {
        padding: 25px 0 !important
    }

    .gradient-band .section-heading {
        margin: 0 !important
    }

    .product-layout {
        grid-template-columns:220px 1fr !important;
        gap: 18px !important
    }

    .side-nav a {
        padding: 14px 18px !important
    }

    .system-list {
        gap: 12px !important
    }

    .system-row {
        min-height: 224px !important
    }

    .system-content {
        padding: 20px !important;
        gap: 20px !important
    }

    .system-content h2 {
        font-size: 22px !important
    }

    .system-content p, .system-content li, .feature {
        font-size: 11px !important
    }

    .feature-list {
        gap: 10px !important
    }

    .support-card {
        padding: 16px !important
    }

    .split {
        gap: 38px !important
    }

    .split-copy h2 {
        font-size: 26px !important;
        margin-bottom: 10px !important
    }

    .split-copy p {
        font-size: 13px !important;
        margin: 7px 0 !important
    }

    .split-media img {
        height: 235px !important
    }

    .metric-row {
        gap: 12px !important;
        margin-top: 20px !important
    }

    .metric {
        padding: 16px !important
    }

    .metric b {
        font-size: 24px !important
    }

    .timeline-item p {
        font-size: 11px !important
    }

    .value-card {
        padding: 20px !important
    }

    .honor-grid {
        gap: 12px !important
    }

    .honor-card .body {
        padding-bottom: 12px !important
    }

    .honor-card h3 {
        font-size: 13px !important
    }

    .honor-card p {
        font-size: 10px !important
    }

    .case-hero {
        height: 430px !important
    }

    .case-hero .container {
        padding-bottom: 85px !important
    }

    .case-meta {
        padding: 18px !important;
        margin-top: -48px !important
    }

    .case-meta b {
        font-size: 18px !important
    }

    .detail-two {
        gap: 40px !important
    }

    .detail-two h2 {
        font-size: 24px !important
    }

    .detail-two p, .detail-two li {
        font-size: 12px !important
    }

    .solution-grid {
        gap: 13px !important
    }

    .solution-card {
        padding: 18px !important
    }

    .solution-card h3 {
        font-size: 15px !important
    }

    .solution-card p {
        font-size: 11px !important
    }

    .gallery > img {
        height: 320px !important
    }

    .gallery-side img {
        height: 154px !important
    }

    .highlight-card {
        padding: 15px !important
    }

    .contact-strip {
        margin-top: -42px !important
    }

    .contact-mini {
        padding: 18px !important
    }

    .contact-mini strong {
        font-size: 13px !important
    }

    .contact-mini span {
        font-size: 10px !important
    }

    .location-layout {
        grid-template-columns:330px 1fr !important;
        gap: 20px !important
    }

    .location-card {
        grid-template-columns:100px 1fr !important
    }

    /* Restore about-page domestic network layout (overridden by .location-layout above) */
    .domestic-network-layout {
        grid-template-columns:minmax(470px, 1fr) minmax(0, 760px) !important;
        gap: 14px !important
    }

    .domestic-network-layout .location-card {
        grid-template-columns:240px minmax(0, 1fr) !important
    }

    .domestic-network-layout .location-card .body {
        padding: 9px 14px !important
    }

    .location-card .body {
        padding: 10px !important
    }

    .location-card h3 {
        font-size: 14px !important
    }

    .office-grid {
        gap: 10px !important
    }

    .office-card {
        padding: 14px !important
    }

    .office-card h3 {
        font-size: 13px !important
    }

    .office-card p {
        font-size: 10px !important
    }

    .contact-main {
        gap: 25px !important
    }

    .field input, .field textarea {
        padding: 9px 10px !important
    }

    .field textarea {
        min-height: 95px !important
    }

    .qr-card {
        padding: 10px !important
    }

    .qr-box {
        width: 82px !important;
        height: 82px !important
    }

    .china-map {
        background-size: 60% 100% !important;
        background-position: center !important
    }
}

@media (min-width: 901px) and (max-width: 1200px) {
    .container {
        width: calc(100% - 48px) !important
    }

    .hero-trust {
        width: calc(100% - 48px) !important
    }

    .nav {
        gap: 16px !important
    }

    .brand {
        width: 228px !important
    }

    .service-grid {
        grid-template-columns:repeat(6, 1fr) !important
    }

    .office-grid {
        grid-template-columns:repeat(5, 1fr) !important
    }

    .honor-grid {
        grid-template-columns:repeat(5, 1fr) !important
    }
}

/* Page-specific composition: card counts and ratios mirror the approved comps. */
@media (min-width: 901px) {
    body[data-page="services"] .section-soft .case-grid,
    body[data-page="case"] .case-grid {
        grid-template-columns:repeat(3, 1fr) !important
    }

    /*body[data-page="services"] .section-soft .case-grid .case-card:last-child {*/
    /*    display: none !important*/
    /*}*/

    body[data-page="about"] .global-layout {
        grid-template-columns:1fr 1.42fr !important;
        align-items: stretch !important
    }

    body[data-page="about"] .global-layout .product-grid {
        grid-template-columns:repeat(3, 1fr) !important;
        gap: 12px !important;
        margin: 0 !important
    }

    body[data-page="about"] .global-layout .image-card img {
        height: 132px !important
    }

    body[data-page="about"] .global-layout .map-card {
        height: auto !important;
        min-height: 190px !important
    }
}

.contact-extras-section {
    padding-top: 0 !important
}

.contact-extras {
    display: grid;
    grid-template-columns:1.35fr .9fr;
    gap: 22px
}

.faq-card {
    padding: 22px 24px
}

.faq-card .section-heading {
    margin-bottom: 14px
}

.faq-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 0;
    margin-bottom: 12px
}

.faq-grid > div {
    padding: 0 18px;
    border-right: 1px solid var(--line)
}

.faq-grid > div:first-child {
    padding-left: 0
}

.faq-grid > div:last-child {
    padding-right: 0;
    border: 0
}

.faq-grid h3 {
    margin: 0 0 6px;
    color: #0a3b76;
    font-size: 14px
}

.faq-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65
}

.visit-card {
    min-height: 210px;
    display: flex;
    align-items: center;
    padding: 28px 32px;
    border-radius: 9px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 47, 102, .97), rgba(0, 70, 142, .77)), url('https://qiniu.open-joist.com/web/open/img/4b7e9ff753ea46a79746a5b9d62a7f1a.jpg') center/cover no-repeat;
    box-shadow: var(--shadow)
}

.visit-card small {
    letter-spacing: .16em;
    opacity: .65
}

.visit-card h2 {
    font-size: 25px;
    margin: 2px 0 4px
}

.visit-card p {
    font-size: 12px;
    margin: 0 0 18px;
    max-width: 300px
}

.btn-white {
    background: #fff;
    color: var(--brand)
}

.stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.stats .stat .icon {
    order: 0;
    width: 29px;
    height: 29px;
    margin-bottom: 4px;
    color: #fff
}

.stats .stat span {
    order: 1
}

.stats .stat b {
    order: 2
}

.flow-card:not(:last-child):after {
    content: "→";
    position: absolute;
    right: -14px;
    top: 50%;
    z-index: 3;
    color: #2765a7;
    font-size: 20px;
    transform: translateY(-50%)
}

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

.consult-card {
    display: grid;
    grid-template-columns:62px 1fr;
    gap: 18px;
    align-items: center;
    padding: 22px 26px
}

.consult-card > .icon {
    width: 58px;
    height: 58px;
    color: var(--brand)
}

.consult-card h3 {
    font-size: 16px;
    margin: 0 0 3px
}

.consult-card p {
    min-height: 38px;
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 11px
}

.consult-card .btn {
    height: 34px !important;
    min-width: 122px !important;
    font-size: 11px
}

.system-comparison {
    grid-column: 1/-1;
    padding: 18px 24px
}

.system-comparison h2 {
    margin: 0 0 12px;
    color: #08346b;
    font-size: 18px
}

.system-comparison h2 small {
    margin-left: 10px;
    color: #91a0b1;
    font-size: 10px;
    font-weight: 400
}

.comparison-grid {
    display: grid;
    grid-template-columns:repeat(5, 1fr)
}

.comparison-grid > div {
    display: grid;
    grid-template-columns:38px 1fr;
    grid-template-rows:auto auto;
    column-gap: 10px;
    padding: 5px 18px;
    border-right: 1px solid var(--line)
}

.comparison-grid > div:last-child {
    border: 0
}

.comparison-grid .icon {
    grid-row: 1/3;
    width: 34px;
    height: 34px;
    color: var(--brand)
}

.comparison-grid b {
    font-size: 13px
}

.comparison-grid span {
    font-size: 10px;
    color: var(--muted)
}

.product-download-section {
    padding-top: 0 !important
}

.product-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px 34px;
    border: 1px solid #d9e7f5;
    border-radius: 10px;
    background: linear-gradient(110deg, #eef5fc, #f9fbfe)
}

.product-download small {
    color: #7593b5;
    letter-spacing: .12em
}

.product-download h2 {
    margin: 0;
    color: #08346b;
    font-size: 24px
}

.product-download p {
    margin: 2px 0 0;
    color: var(--muted);
    font-size: 12px
}

.product-download > div:last-child {
    display: flex;
    gap: 12px
}

body[data-page="contact"] .contact-main .support-card {
    display: none
}

/* Source comps contain labels beside a few project photos; crop to the photo region so all site copy remains real HTML text. */
.case-card img[src$="case-ev.jpg"], .case-card img[src$="case-logistics.jpg"], .case-card img[src$="case-center.jpg"] {
    width: 200% !important;
    max-width: none !important;
    object-position: left center !important
}

.case-card img[src$="related-1.jpg"], .case-card img[src$="related-2.jpg"], .case-card img[src$="related-3.jpg"] {
    object-position: center bottom !important
}

@media (min-width: 901px) and (max-width: 1200px) {
    .site-header .nav {
        gap: 10px !important
    }

    .site-header .nav a {
        font-size: 12px !important
    }

    .site-header .lang {
        display: none !important
    }
}

@media (max-width: 900px) {
    .contact-extras {
        grid-template-columns:1fr
    }

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

    .faq-grid > div {
        padding: 0 0 14px;
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .faq-grid > div:last-child {
        padding-bottom: 0;
        border: 0
    }

    .consult-grid {
        grid-template-columns:1fr
    }

    .flow-card:after {
        display: none
    }

    .comparison-grid {
        grid-template-columns:1fr 1fr
    }

    .comparison-grid > div {
        border-right: 0;
        border-bottom: 1px solid var(--line)
    }

    .product-download {
        align-items: flex-start;
        flex-direction: column
    }

    .product-download > div:last-child {
        width: 100%
    }

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

    .product-layout > aside, .system-list, .system-row {
        min-width: 0;
        max-width: 100%
    }

    .side-nav {
        width: 100%;
        max-width: 100%
    }

    .support-card {
        max-width: 100%
    }

    .china-map {
        background-size: contain !important
    }
}

@media (max-width: 600px) {
    .consult-card {
        grid-template-columns:48px 1fr;
        padding: 18px
    }

    .consult-card > .icon {
        width: 44px;
        height: 44px
    }

    .comparison-grid {
        grid-template-columns:1fr
    }

    .product-download > div:last-child {
        display: grid
    }

    .product-download {
        padding: 22px
    }
}
