/* Contact Page - Refined Boutique Design (V4) */

.contact-v4 {
    background: #fdfdfd;
    padding: 20px 0 80px; /* 进一步压缩顶部内边距 */
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: flex-start;
}

.contact-refined-hub {
    max-width: 1000px;
    margin: 10px auto 0; /* 内容更贴近顶部 */
    width: 100%;
}

.v4-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.v4-header h1 {
    font-size: 3rem;
    color: #000000;
    letter-spacing: -0.03em;
    font-weight: 900;
    margin: 0;
    background: linear-gradient(135deg, #000000 0%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.v4-header h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #dc2626;
    border-radius: 2px;
}

/* Main Content Grid */
.v4-content-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: start;
}

/* Info Side - Ultra Refined */
.v4-info-side {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.v4-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v4-info-item label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.v4-info-item span, 
.v4-info-item a {
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.v4-info-item a:hover {
    color: #ea580c;
}

/* Small Refined Map Widget */
.v4-map-widget {
    margin-top: 20px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    position: relative;
}

#amap-container {
    width: 100%;
    height: 100%;
}

/* Form Side - Minimalist & Fine */
.v4-form-side {
    background: #ffffff;
    padding: 48px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.04);
}

.v4-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.v4-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.v4-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.v4-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.v4-input-group input,
.v4-input-group textarea {
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    color: #0f172a;
}

.v4-input-group input:focus,
.v4-input-group textarea:focus {
    outline: none;
    border-color: #ea580c;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.05);
}

.v4-submit-btn {
    margin-top: 12px;
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
}

.v4-submit-btn:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -5px rgba(234, 88, 12, 0.3);
}

.form-status {
    font-size: 0.85rem;
    color: #ea580c;
    font-weight: 500;
}

/* Animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .contact-v4 {
        padding: 40px 24px;
    }
    .v4-header h1 {
        font-size: 2.5rem;
    }
    .v4-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .v4-info-side {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 32px;
    }
    .v4-map-widget {
        grid-column: 1 / -1;
        width: 100%;
        height: 280px;
        margin-top: 10px;
    }
    .v4-form-side {
        padding: 32px;
    }
}

@media (max-width: 640px) {
    .v4-header h1 {
        font-size: 2rem;
    }
    .v4-info-side {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .v4-map-widget {
        height: 200px;
    }
    .v4-form-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .v4-submit-btn {
        width: 100%;
    }
}
