/* ==================== 联系我们页面 ==================== */

/* Banner区域 */
.cu-banner {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

.cu-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 面包屑导航 */
.cu-breadcrumb {
    padding: 20px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.cu-breadcrumb-content {
    font-size: 14px;
    color: #6c757d;
}

.cu-breadcrumb-content a {
    color: #6c757d;
    text-decoration: none;
}

.cu-breadcrumb-content a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.cu-breadcrumb-current {
    font-weight: 500;
    color: #343a40;
}

/* 联系信息卡片 */
.cu-contact-cards {
    padding: 60px 0;
    background-color: #fff;
}

.cu-contact-cards .container,
.cu-contact-form-section .container {
    max-width: 1400px;
}

.cu-contact-cards .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.cu-contact-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    flex: 1;
    margin: 0 15px 30px;
    min-width: 0;
}

.cu-contact-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.cu-contact-card-icon {
    width: 150px;
    height: 150px;
    background-color: #b91c1c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 65px;
}

.cu-contact-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #343a40;
}

.cu-contact-card-text {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 0.2rem;
}

/* 联系表单 */
.cu-contact-form-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    padding-left: 20px;
    padding-right: 20px;
}

.cu-contact-form-section .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.cu-contact-qr-codes {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    margin-right: 20px;
    margin-left: 20px;
    margin-bottom: 0;
}

.cu-qr-code-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 280px;
}

.cu-qr-code-item:last-child {
    margin-bottom: 0;
}

.cu-qr-code-image {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
}

.cu-qr-code-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cu-qr-code-text {
    font-size: 16px;
    font-weight: 500;
    color: #343a40;
    text-align: center;
    margin: 0;
}

.cu-contact-form-container {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    margin-left: 20px;
    margin-bottom: 0;
    width: 70%;
}

.cu-contact-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 20px;
}

.cu-contact-form-desc {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cu-form-group {
    margin-bottom: 20px;
}

.cu-form-group input,
.cu-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.cu-form-group input:focus,
.cu-form-group textarea:focus {
    outline: none;
    border-color: #b91c1c;
    box-shadow: 0 0 0 0.2rem rgba(185, 28, 28, 0.25);
}

.cu-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.cu-contact-submit-btn {
    background-color: #b91c1c;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cu-contact-submit-btn:hover {
    background-color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.3);
}

/* 移动端适配 */
@media (max-width: 767px) {
    .cu-contact-cards {
        padding: 40px 0;
    }
    
    .cu-contact-cards .row {
        flex-direction: column;
    }
    
    .cu-contact-card {
        padding: 20px 15px;
        margin-bottom: 20px;
        margin-right: 10px;
        margin-left: 10px;
        flex: none;
        width: calc(100% - 20px);
    }
    
    .cu-contact-card-icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .cu-contact-card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .cu-contact-card-text {
        font-size: 14px;
    }
    
    .cu-contact-form-section {
        padding: 40px 0;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .cu-contact-form-section .row {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .cu-contact-qr-codes {
        padding: 25px 15px;
        min-height: auto;
        margin-right: 0;
        margin-left: 0;
        margin-bottom: 30px;
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .cu-contact-form-container {
        padding: 25px;
        min-height: auto;
        margin-left: 0;
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .cu-contact-form-title {
        font-size: 24px;
    }
    
    .cu-contact-form-desc {
        font-size: 14px;
    }
    
    .cu-form-group input,
    .cu-form-group textarea {
        padding: 10px 12px;
    }
    
    .cu-contact-submit-btn {
        padding: 10px 25px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
    }
    
    .cu-qr-code-image {
        width: 150px;
        height: 150px;
    }
    
    .cu-qr-code-text {
        font-size: 14px;
    }
    
    /* 移动端banner适配 */
    .cu-banner {
        height: 150px;
        position: relative;
        overflow: hidden;
    }
    
    .cu-banner img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 200%;
        height: 200%;
        object-fit: cover;
        object-position: center center;
    }
}

/* 平板端适配 */
@media (min-width: 768px) and (max-width: 991px) {
    .cu-contact-cards {
        padding: 50px 0;
    }
    
    .cu-contact-cards .row {
        flex-wrap: wrap;
    }
    
    .cu-contact-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
    
    .cu-contact-form-section {
        padding: 50px 0;
    }
    
    .cu-contact-form-section .row {
        flex-direction: column;
        flex-wrap: wrap;
    }
    
    .cu-contact-qr-codes {
        min-height: auto;
        margin-right: 0;
        margin-bottom: 30px;
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .cu-contact-form-container {
        padding: 30px;
        min-height: auto;
        margin-left: 0;
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    
    .cu-contact-form-title {
        font-size: 26px;
    }
}

/* 大屏PC适配 */
@media (min-width: 1200px) {
    .cu-contact-cards {
        padding: 70px 0;
    }
    
    .cu-contact-form-section {
        padding: 70px 0;
    }
    
    .cu-contact-form-container {
        padding: 50px;
    }
}

/* 小屏移动端适配 */
@media (max-width: 480px) {
    .cu-banner {
        height: 150px;
    }
}

/* 平板端适配 */
@media (max-width: 991px) {
    .cu-banner {
        height: 200px;
    }
}