/* ==================== Contact 页面样式 ==================== */

.contact-body {
    background: #ffffff;
    min-height: 100vh;
}

/* 页面标题区 */
.contact-header {
    padding: 80px 0 60px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
}

.contact-header .page-title {
    font-family: Poppins, PingFang SC;
    font-size: 42px;
    background: linear-gradient(90deg, #181818 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-weight: 700;
}

.contact-header .page-subtitle {
    font-family: PingFang SC;
    font-size: 18px;
    color: #666666;
    line-height: 28px;
}

/* 联系方式 */
.contact-info-section {
    padding: 60px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 24px;
}

.contact-info-card {
    flex: 0 0 calc(33.3333% - 16px);
    max-width: calc(33.3333% - 16px);
    background: linear-gradient(135deg, #ffffff 0%, #fafaff 100%);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(234, 88, 12, 0.3);
    box-shadow: 0 12px 32px rgba(234, 88, 12, 0.15);
}

.contact-info-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f0efff 0%, #e8e5ff 100%);
    border-radius: 20px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-info-icon {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    transform: scale(1.1) rotate(5deg);
}

.contact-info-icon svg {
    width: 36px;
    height: 36px;
    transition: all 0.4s ease;
}

.contact-info-card:hover .contact-info-icon svg {
    stroke: #ffffff;
}

.contact-info-card h3 {
    font-family: Poppins, PingFang SC;
    font-size: 18px;
    color: #181818;
    line-height: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-info-card p {
    font-family: PingFang SC;
    font-size: 14px;
    color: #666666;
    line-height: 24px;
}

.contact-info-card p a {
    color: #ea580c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-card p a:hover {
    color: #f97316;
}

/* 联系表单区 */
.contact-form-section {
    padding: 80px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.contact-form-wrap {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.form-left {
    flex: 1;
    min-width: 0;
}

.form-right {
    width: 380px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-title {
    font-family: Poppins, PingFang SC;
    font-size: 28px;
    background: linear-gradient(90deg, #181818 0%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-weight: 700;
}

.form-desc {
    font-family: PingFang SC;
    font-size: 14px;
    color: #666666;
    line-height: 24px;
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 0 0 calc(50% - 10px);
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    font-family: PingFang SC;
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: PingFang SC;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ea580c;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.submit-btn {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
    border: none;
    border-radius: 26px;
    font-family: PingFang SC;
    font-weight: 600;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(234, 88, 12, 0.4);
}

/* 右侧卡片 */
.contact-card,
.faq-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.contact-card h3,
.faq-card h3 {
    font-family: Poppins, PingFang SC;
    font-size: 18px;
    color: #181818;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-card p,
.faq-card p {
    font-family: PingFang SC;
    font-size: 14px;
    color: #666666;
    line-height: 22px;
    margin-bottom: 20px;
}

.direct-item {
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
}

.direct-item:first-child {
    border-top: none;
}

.direct-label {
    display: block;
    font-family: PingFang SC;
    font-size: 12px;
    color: #999999;
    margin-bottom: 6px;
}

.direct-item a {
    font-family: PingFang SC;
    font-size: 15px;
    color: #ea580c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.direct-item a:hover {
    color: #f97316;
}

.faq-item {
    padding: 16px 0;
    border-top: 1px solid #f0f0f0;
}

.faq-item:first-child {
    border-top: none;
}

.faq-item h4 {
    font-family: Poppins, PingFang SC;
    font-size: 14px;
    color: #181818;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-item p {
    font-family: PingFang SC;
    font-size: 13px;
    color: #666666;
    line-height: 20px;
    margin-bottom: 0;
}

/* 响应式 */
@media screen and (max-width: 992px) {
    .contact-info-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
    .contact-form-wrap {
        flex-direction: column;
    }
    .form-right {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .contact-header .page-title {
        font-size: 28px;
    }
    .contact-info-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .form-group {
        flex: 0 0 100%;
    }
}
