@import "./common.css";
@import "./style.css";

.block {
    padding: 1.1rem var(--content-padding) 1.2rem;
    background: #fff;
}

.block .in {
    width: var(--content-width);
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.block .in .title {
    font-size: .36rem;
    font-weight: bolder;
    text-transform: uppercase;
}

.block .in .sub-title {
    color: var(--text-color-secondary);
    font-size: .16rem;
    margin: .2rem auto 0;
    font-weight: lighter;
}

.header {
    position: relative;
    z-index: 2;
}

.header img {
    width: 100%;
}

.header .title {
    position: absolute;
    width: 12.2rem;
    inset: 0; margin: auto;
    color: #fff; text-align: center;
    font-size: .48rem; font-weight: bolder;
    text-transform: uppercase;
    display: table;
    transform: translateY(-.6rem);
}

.gateway {
    position: relative;
    padding: 1.4rem 0 1.2rem;
}

.gateway img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0;
    top: 0;
    min-width: 800px;
}

.gateway .detail {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative; z-index: 2;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    padding: 1rem .8rem 1.2rem 2.4rem;
    border-radius: 14px;
}

.gateway .texts {
    width: 6.3rem;
}

.gateway .detail .title {
    font-size: .36rem;
    font-weight: bolder;
    margin-bottom: .5rem;
}

.gateway .detail .title > div {
    color: var(--theme);
}

.gateway .detail .desc span {
    font-size: .16rem; font-weight: lighter;
    color: var(--text-color-secondary);
    margin-bottom: .2rem;
    display: block;
}

.global {
    padding: .7rem var(--content-padding);
}

.global .sub-title__mobile, .global .title__mobile {
    display: none;
}

.global .in {
    gap: 1.08rem
}

.global .in > .earth {
    width: 7.5rem;
}

.global .in > .detail {
    width: 5.6rem;
}

.global .in > .detail .countries {
    width: 100%;
    margin-top: .4rem;
}

.feedback {
    background: var(--bg-gray-lighter);
}

.feedback .sub-title {
    width: 9rem;
}

.feedback .detail {
    margin-top: .64rem;
    gap: .26rem;
}

.feedback .detail .model {
    width: 4.4rem;
    height: 4.7rem;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: .16rem;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback .detail:hover .model {
    transform: scale(1.02);
}

.feedback .detail .desc {
    flex: 1;
    background: #fff;
    border-radius: .16rem;
    padding: .9rem .26rem .3rem;
    position: relative;
    text-align: left;
    transition: 
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feedback .detail:hover .desc {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 32px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.04);
}

.feedback .detail .quote {
    position: absolute;
    width: .26rem;
}

.feedback .detail .quote.quote1 {
    top: .26rem; left: .26rem;
}

.feedback .detail .quote.quote2 {
    bottom: .26rem; right: .26rem;
}

.feedback .detail .label {
    font-size: .24rem;
    font-weight: bolder;
}

.feedback .detail .texts {
    margin-top: .4rem;
}

.feedback .detail .contact {
    font-size: .2rem;
    color: var(--text-color-secondary);
    line-height: 2;
}

.feedback .detail .footer {
    position: absolute;
    left: 0; right: 0;
    bottom: 0;
    height: 1.1rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-top: 1px dashed var(--border-color-light);
    padding-left: .26rem;
}

.feedback .detail .footer .name {
    font-size: .2rem; font-weight: bolder;
}

.feedback .detail .footer .position {
    font-size: .16rem;
    color: var(--text-color-secondary);
    margin-top: .1rem;
}


@media (max-width: 960px) {
    .gateway .detail {
        padding-left: 1.4rem;
    }

    .gateway .detail .title {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .gateway .texts {
        width: 44vw;
    }

    .gateway .detail .desc span {
        font-size: 12px;
    }

    .global .in {
        gap: 0; justify-content: space-between;
    }

    .global .in > .earth {
        width: 46%;
    }

    .global .in > .detail {
        width: 50%;
    }

    .block .in .title {
        font-size: 16px;
    }

    .block .in .sub-title {
        font-size: 12px;
    }

    .feedback .detail .desc {
        padding: 30px 10px 44px 20px;
    }

    .feedback .detail .texts {
        margin-top: 4px;
    }

    .feedback .detail .label {
        font-size: 14px;
    }

    .feedback .detail .contact {
        font-size: 12px;
        line-height: 1.8;
        white-space: nowrap;
    }

    .feedback .detail .footer {
        height: 44px;
    }

    .feedback .detail .footer .name {
        font-size: 14px;
    }

    .feedback .detail .footer .position {
        font-size: 12px;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .header .title {
        font-size: 22px;
        width: 80vw;
    }

    .gateway {
        padding-top: 220px;
    }

    .gateway .detail {
        padding: 30px 20px 30px 40px;
    }

    .gateway .texts {
        width: 84vw;
    }

    .gateway .detail {
        background: rgba(255, 255, 255, .6);
        margin: 0 auto;
    }

    .gateway .detail .title {
        display: flex;
        gap: 1em;
        font-size: 16px;
    }

    .gateway .detail .desc span {
        font-size: 12px;
        font-weight: normal;
    }

    .gateway img {
        width: 170%;
    }
}

@media (max-width: 640px) {
    .gateway {
        padding-top: 240px;
        margin-top: -40px;
    }

    .gateway img {
        width: 180%;
    }

    .feedback .detail .desc {
        padding: 20px;
    }

    .feedback .detail .contact {
        font-size: 10px;
    }

    .feedback .detail .footer {
        height: 40px;
    }

    .feedback .detail .footer .position {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .header .title {
        font-size: 18px;
    }

    .gateway {
        margin-top: -60px;
    }

    .gateway img {
        width: 190%;
    }

    .gateway .texts {
        width: 80vw;
    }

    .gateway .detail {
        padding: 14px 20px;
    }

    .gateway .detail .title {
        font-size: 14px;
    }

    .global .title,.global .sub-title {
        display: none;
    }

    .global .title__mobile {
        width: 90%;
        text-align: center;
        font-weight: bolder;
        font-size: 20px;
        display: block;
        margin-bottom: 15px;
        padding-top: 20px;
    }

    .global .sub-title__mobile {
        width: 90%;
        text-align: center;
        font-size: 14px;
        display: block;
        color: var(--text-color-secondary);
        margin-bottom: .64rem;
    }

    .global .in > .earth {
        width: 36%;
    }

    .global .in > .detail {
        width: 60%;
    }

    .block .in .title {
        font-size: 18px;
    }

    .block .in .sub-title {
        font-size: 14px;
        font-weight: normal;
    }

    .feedback .detail .footer {
        display: none;
    }

    .feedback .detail .model {
        display: none;
    }

    .feedback .detail .quote {
        display: none;
    }

    .feedback .desc__mobile {
        display: block !important;
    }

    .feedback .desc img {
        width: 140px; height: 140px;
        float: left;
        border-radius: .16rem;
    }

    .feedback .desc .name {
        font-size: 14px;
        font-weight: bolder;
        padding-left: 20px;
        float: left;
        width: calc(100% - 140px);
    }

    .feedback .desc .position {
        font-size: 12px;
        color: var(--text-color-secondary);
        padding-left: 20px;
        float: left;
        width: calc(100% - 140px);
        margin-bottom: 20px;
    }

    .feedback .detail .texts,.feedback .detail .label {
        padding-left: 20px;
        float: left;
        width: calc(100% - 140px);
    }

    .feedback .detail .contact {
        white-space: wrap;
        word-break: break-all;
    }
}

@media (max-width: 524px) {
    .gateway img {
        width: 200%;
    }
}

@media (max-width: 490px) {
    .gateway img {
        width: 210%;
    }
}

@media (max-width: 440px) {
    .gateway img {
        width: 220%;
    }

    .gateway .detail .title {
        flex-wrap: nowrap;
        transform: scale(.9); white-space: nowrap;
        transform-origin: left;
    }

    .feedback .desc img {
        width: 80px; height: 80px; margin-bottom: 14px;
    }

    .feedback .desc .position,.feedback .desc .name {
        width: calc(100% - 80px);
        padding-left: 10px;
    }

    .feedback .detail .texts,.feedback .detail .label {
        width: 100%;
        padding-left: 0;
    }
}

@media (max-width: 400px) {
    .gateway {
        padding-top: 280px;
    }

    .gateway img {
        width: 240%;
    }
}

@media (max-width: 380px) {
    .gateway {
        padding-top: 280px;
    }

    .gateway img {
        width: 250%;
    }
}