/* ========================================
   联系页面样式
   ======================================== */

/* 页面标题区 */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0066CC 0%, #0052a3 100%);
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
}

/* 联系区域 */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

/* 联系信息 */
.info-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.info-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 12px;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
}

.info-content h3 {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.info-primary {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.info-secondary {
    font-size: 12px;
    color: var(--text-muted);
}

/* 服务区域 */
.service-area {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
}

.area-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.area-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.area-city {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.area-tag {
    padding: 2px 8px;
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
}

/* 联系表单 */
.contact-form-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.form-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 14px;
    color: var(--text-primary);
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    padding-right: 44px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-submit svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translateX(4px);
}

/* 地图区域 */
.map-section {
    background: #e8f4fc;
}

.map-placeholder {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e8f4fc 0%, #d0e8f7 100%);
}

.map-info {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.map-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.map-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* 响应式 */
@media (max-width: 991px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 90px 0 40px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full {
        grid-column: span 1;
    }
    
    .map-placeholder {
        height: 300px;
    }
    
    .map-info {
        padding: 24px;
        margin: 20px;
    }
    
    .map-info h3 {
        font-size: 18px;
    }
}
