/* ========== Contact Banner ========== */
.contact-banner {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* 背景图片 */
.contact-banner-image {
    position: absolute;
    top: -30px;
    left: -30px;
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    z-index: 1;
    transition: transform 0.3s ease-out;
}

.contact-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 蒙版 */
.background-overlay {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
}

/* 内容区域 */
.contact-banner-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 0 20px;
}

.contact-banner-content .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.contact-banner-content .left {
    max-width: 600px;
}

.contact-banner-content .title h1 {
    font-size: 3.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.contact-banner-content .description p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

/* 底部波浪形状 */
.contact-banner .shape {
    transform: rotate(180deg);
    direction: ltr;
    left: 0;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    width: 100%;
    bottom: -1px;
    z-index: 4;
}

.contact-banner .shape svg {
    height: 85px;
    width: 100%;
    display: block;
}

.contact-banner .shape-fill {
    fill: #ffffff;
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
    .contact-banner {
        height: auto;
        min-height: 380px;
    }

    .contact-banner-content {
        padding: 60px 20px;
    }

    .contact-banner-content .title h1 {
        font-size: 2.2rem;
    }

    .contact-banner-content .description p {
        font-size: 1.05rem;
    }

    .contact-banner .shape svg {
        height: 45px;
    }
}

@media (max-width: 576px) {
    .contact-banner {
        min-height: 300px;
    }

    .contact-banner-content {
        padding: 40px 15px;
    }

    .contact-banner-content .title h1 {
        font-size: 1.8rem;
    }

    .contact-banner-content .description p {
        font-size: 0.95rem;
    }

    .contact-banner .shape svg {
        height: 40px;
    }
}

/* ========== Contact Content ========== */
.contact {
    padding: 100px 20px;
    background: #ffffff;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* 左边联系信息 */
.contact-info-header {
    margin-bottom: 48px;
}

.contact-info-title {
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.contact-info-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #666666;
    margin: 0;
    font-weight: 400;
}

/* 联系卡片 - 简约风格 */
.contact-card {
    background: #ffffff;
    border-radius: 0;
    padding: 32px 0;
    margin-bottom: 28px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.contact-card:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-card:hover {
    background: #ffffff;
    box-shadow: none;
    transform: none;
    border-bottom-color: #e0e0e0;
}

.contact-card-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-card-content {
    flex: 1;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

.contact-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-card-list li {
    font-size: 0.95rem;
    color: #666;
    line-height: 2;
}

.contact-card-list .label {
    font-weight: 500;
    color: #444;
}

/* 短卡片 */
.contact-card-short {
    margin-bottom: 0;
}

.contact-card-hotline {
    font-size: 1.6rem;
    font-weight: 600;
    color: #883E74;
    margin: 0 0 4px 0;
    letter-spacing: -0.5px;
}

.contact-card-sub {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}

/* 右边表单 - 简约风格 */
.contact-form-wrap {
    position: sticky;
    top: 30px;
}

.contact-form-card {
    background: #fafafa;
    border-radius: 0;
    padding: 48px 40px;
    box-shadow: none;
    border: 1px solid #f0f0f0;
}

.contact-form-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 36px;
    text-align: left;
    letter-spacing: -0.5px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #883E74;
    outline: none;
    box-shadow: 0 0 0 3px rgba(136, 62, 116, 0.06);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form-submit {
    width: 100%;
    padding: 14px;
    background: #883E74;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
}

.contact-form-submit:hover {
    background: #6d2f5a;
    transform: none;
    box-shadow: 0 4px 12px rgba(136, 62, 116, 0.25);
}


/* ========== Contact 响应式 ========== */
@media (max-width: 992px) {
    .contact {
        padding: 60px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-info-title {
        font-size: 1.9rem;
    }

    .contact-form-wrap {
        position: static;
    }

    .contact-form-card {
        padding: 35px 30px;
    }
}

@media (max-width: 576px) {
    .contact {
        padding: 40px 15px;
    }

    .contact-container {
        gap: 35px;
    }


    .contact-info-title {
        font-size: 1.6rem;
    }

    .contact-info-desc {
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 24px;
        margin-bottom: 20px;
        flex-direction: column;
        gap: 12px;
    }

    .contact-card-icon {
        font-size: 1.8rem;
        width: auto;
        height: auto;
    }

    .contact-card-hotline {
        font-size: 1.4rem;
    }

    .contact-form-card {
        padding: 28px 22px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-title {
        font-size: 1.4rem;
        margin-bottom: 28px;
    }
}

/* 微信二维码卡片 */
.contact-card-wechat {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-card-wechat .contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #A46F96 0%, #925084 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-card-wechat .contact-card-qrcode {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.contact-card-wechat img {
    width: 120px;
    height: 120px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.contact-card-wechat .contact-card-sub {
    margin: 8px 0 0 0;
    color: #666;
    font-size: 14px;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .contact-card-wechat .wechat-qrcode img {
        width: 100px;
        height: 100px;
    }
}