.contact-section {
    padding: 60px 0;
}

.contact-locations {
    display: flex;
    gap: 40px;
    margin-bottom: 80px;
}

.location-card {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    overflow: visible; /* 改为visible，让装饰条可以显示在图片外部 */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative; /* 添加相对定位 */
}

.location-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px 12px 0 0; /* 只对上方圆角 */
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.corner-decoration {
    position: absolute;
    top: -15px; /* 移到图片外部更远的位置 */
    left: -15px; /* 移到图片外部更远的位置 */
    width: 40px;
    height: 40px;
    border-left: 3px solid #0066cc;
    border-top: 3px solid #0066cc;
    z-index: 1; /* 降低z-index，确保不遮挡图片 */
    background: #fff; /* 添加白色背景，确保装饰条清晰可见 */
}

.location-info {
    padding: 30px;
    padding-left: 30px; /* 确保文字与图片左边缘对齐 */
    padding-right: 30px;
}

.location-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    flex-shrink: 0; /* 防止图标被压缩 */
}

.info-text {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
    flex: 1; /* 让文字占据剩余空间 */
}

.qrcode-section {
    text-align: center;
}

.qrcode-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    gap: 80px; /* 增大三张图之间的间距 */
}

.qrcode-item {
    width: 260px; /* 放大二维码容器宽度 */
}

.qrcode-item img {
    width: 100%;
    height: 260px; /* 放大二维码高度，保持方形显示 */
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qrcode-item p {
    margin-top: 15px;
    color: #666;
    font-size: 16px;
}

/* 响应式设计 */
@media screen and (max-width: 991px) {
    .contact-locations {
        flex-direction: column;
        gap: 30px;
    }
    
    .location-card {
        margin-bottom: 20px;
    }
    
    .corner-decoration {
        top: -12px;
        left: -12px;
        width: 35px;
        height: 35px;
        border-left: 2px solid #0066cc;
        border-top: 2px solid #0066cc;
    }
    
    .qrcode-container {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media screen and (max-width: 767px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .location-info {
        padding: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .location-name {
        font-size: 20px;
    }
    
    .info-text {
        font-size: 14px;
    }
    
    .corner-decoration {
        top: -10px;
        left: -10px;
        width: 30px;
        height: 30px;
        border-left: 2px solid #0066cc;
        border-top: 2px solid #0066cc;
    }
    
    .qrcode-container {
        flex-direction: column;
        align-items: center;
    }
    
    .qrcode-item {
        width: 180px; /* 移动端适度放大 */
    }
    
    .qrcode-item img {
        height: 180px;
    }
}