/* ========================================
   联系我们页样式
   商务风格 · 专业设计
   ======================================== */

/* ========== 页面标题 ========== */
.page-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0F172A 100%);
    color: white;
    text-align: center;
    padding: 140px 20px 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(52, 211, 153, 0.1) 0%, transparent 50%);
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #60A5FA 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

/* ========== 联系信息区域 ========== */
.contact-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* 联系信息 */
.contact-info {
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    font-size: 24px;
    color: #0F172A;
    margin-bottom: 30px;
    font-weight: 600;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 12px;
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: white;
    border-color: #3B82F6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.info-item .text h4 {
    font-size: 15px;
    color: #0F172A;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-item .text p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.6;
    margin: 0;
}

/* 留言表单 */
.contact-form {
    padding: 40px;
    background: white;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form h2 {
    font-size: 24px;
    color: #0F172A;
    margin-bottom: 30px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #0F172A;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group label .required {
    color: #EF4444;
    margin-left: 3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #F8FAFC;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3B82F6;
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.4);
}

.form-message {
    text-align: center;
    padding: 16px;
    border-radius: 12px;
    margin-top: 20px;
    display: none;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

/* 地图区域 */
.map-section {
    padding: 0 0 100px;
    background: #F8FAFC;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 50%, #0F172A 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(52, 211, 153, 0.15) 0%, transparent 50%);
}

/* 响应式 */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 20px 60px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-section {
        padding: 0 0 60px;
    }

    .map-placeholder {
        height: 200px;
        font-size: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
