/* --------------------
   Banner 主视觉
   -------------------- */
.connect-hero {
    position: relative;
    height: 700px;
    padding-top: 100px;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.connect-hero .swiper{
    height:600px;
}
.connect-hero .swiper-item-img img{
    width:664px;
    height:auto;
}
.connect-hero .swiper-slide{
    height:600px;
}

/* --------------------
   联系我们内容区
   -------------------- */
.connect-content {
    padding: 100px 0 100px;
    background:url('../images/bg/bg18.png') no-repeat center bottom,url('../images/bg/bg19.png') no-repeat right top;
    background-size: 100% auto,auto 100%;
}

/* ====== 顶部：联系信息 + 二维码 ====== */
.connect-content .section-en{
    font-size:36px;
    font-weight:700;
    line-height:46px;
    color:rgba(15, 55, 59, 1);
}
.connect-content .section-title{
    color:rgba(15, 55, 59, 1);
    font-size:36px;
    font-weight:700;
    line-height:52px;
    margin-top:16px;
    margin-bottom:88px;
}
.contact-top {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    margin-bottom: 40px;
}

/* 左侧：文字信息 */
.contact-top-info {
    flex: 1;
    padding-top: 24px;
}

.contact-en {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-nav);
    letter-spacing: 1px;
    margin: 0 0 10px;
    line-height: 1.2;
}

.contact-cn {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 36px;
    line-height: 1.3;
}

.contact-info-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 40px;
    display: flex;
    flex-direction: column;
}

.contact-info-item {
    font-size: 20px;
    line-height: 50px;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.contact-info-item .info-label {
    color: rgba(10, 10, 10, 1);
    font-weight: 700;
    white-space: nowrap;
}

.contact-info-item .info-value {
    color: rgba(10, 10, 10, 1);
    font-weight: 700;
}
.contact-info-item .info-value.text-blue {
    color: var(--primary);
}

/* 右侧：二维码组 */
.contact-top-qrcodes {
    display: flex;
    gap: 80px;
    flex-shrink: 0;
}

.qr-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 165px;
}

.qr-box {
    width: 150px;
    height: 150px;
    background: rgba(204, 228, 255, 1);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-box img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    display: block;
}

.qr-box.qr-empty {
    background: repeating-linear-gradient(
        45deg,
        #F5F5F5,
        #F5F5F5 4px,
        #E8E8E8 4px,
        #E8E8E8 8px
    );
}

.qr-label {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* ====== 底部：联系卡片网格 ====== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    background: rgba(227, 240, 255, 1);
    border: 1px solid #E8EFF8;
    border-radius: 8px;
    padding: 28px 32px;
    transition: all 0.3s ease;
    width:400px;
    box-sizing: border-box;
}

.contact-card:hover {
    box-shadow: 0 8px 28px rgba(0, 119, 255, 0.08);
    transform: translateY(-3px);
}

.contact-card:nth-child(4) {
    grid-column: 1 / 2;
}

.contact-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 20px;
    line-height: 1.4;
}

.contact-card-body p {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0 0 6px;
    line-height: 1.8;
}

.contact-card-body p:last-child {
    margin-bottom: 0;
}

.contact-card-value {
    color: var(--primary) !important;
    font-weight: 500;
}

/* --------------------
   响应式
   -------------------- */
@media screen and (max-width: 1200px) {
    .contact-top {
        gap: 40px;
    }

    .contact-top-qrcodes {
        gap: 24px;
    }

    .qr-item {
        width: 110px;
    }

    .qr-placeholder {
        width: 110px;
        height: 110px;
    }
}

@media screen and (max-width: 992px) {
    .contact-top {
        flex-direction: column;
        gap: 40px;
    }

    .contact-top-qrcodes {
        justify-content: flex-start;
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-card:nth-child(4) {
        grid-column: auto;
    }
}

@media screen and (max-width: 768px) {
    .connect-content {
        padding: 40px 0 60px;
    }

    .contact-en {
        font-size: 18px;
    }

    .contact-cn {
        font-size: 26px;
        margin-bottom: 28px;
    }

    .contact-info-item {
        font-size: 14px;
    }

    .contact-top-qrcodes {
        gap: 16px;
        flex-wrap: wrap;
    }

    .qr-item {
        width: 96px;
    }

    .qr-placeholder {
        width: 96px;
        height: 96px;
    }

    .qr-label {
        font-size: 12px;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-card {
        grid-column: auto;
        padding: 24px;
    }

    .contact-card-title {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .contact-en {
        font-size: 16px;
    }

    .contact-cn {
        font-size: 22px;
    }

    .qr-item {
        width: 80px;
    }

    .qr-placeholder {
        width: 80px;
        height: 80px;
    }
}

/* 移动端补充：Banner 与联系卡片不再使用固定宽度 */
@media screen and (max-width: 1200px) {
    .connect-hero .swiper-item-img img {
        width: auto;
        max-width: 100%;
        max-height: 100%;
        height: auto;
        object-fit: contain;
        object-position: left center;
    }
}

@media screen and (max-width: 992px) {
    .connect-hero {
        height: auto;
        min-height: 0;
        padding-top: calc(64px + env(safe-area-inset-top));
    }

    .connect-hero .swiper,
    .connect-hero .swiper-slide {
        height: 280px;
    }

    .connect-content {
        padding: 48px 0 64px;
    }

    .connect-content .section-en {
        font-size: 16px;
        line-height: 1.35;
        letter-spacing: 0;
    }

    .connect-content .section-title {
        font-size: 26px;
        line-height: 1.35;
        margin-bottom: 28px;
    }

    .contact-card {
        width: 100%;
        max-width: none;
    }

    .contact-info-list {
        padding-left: 0;
    }

    .contact-info-item {
        flex-wrap: wrap;
        font-size: 16px;
        line-height: 1.6;
        padding: 6px 0;
    }

    .contact-top-qrcodes {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 768px) {
    .connect-hero .swiper,
    .connect-hero .swiper-slide {
        height: 240px;
    }

    .contact-top-qrcodes {
        width: 100%;
        gap: 12px;
    }

    .qr-item {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }

    .qr-box {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }

    .qr-box img {
        width: 86%;
        height: auto;
    }

    .qr-label {
        font-size: 12px;
        overflow-wrap: anywhere;
    }
}