/* 联系我们部分样式 */
.section-contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, white 0%, #f8fafc 50%, #fff5f5 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(13, 110, 253, 0.12);
    position: relative;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(220, 53, 69, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-wrapper::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 40%;
    height: 80%;
    background: radial-gradient(circle, rgba(13, 110, 253, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.contact-info {
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a4da2 50%, var(--danger-color) 100%);
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    border-radius: 0 0 0 50%;
}

.contact-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, transparent 50%, rgba(255, 255, 255, 0.08) 100%);
    border-radius: 0 50% 0 0;
}

.contact-info-header {
    position: relative;
    z-index: 2;
    margin-bottom: 3rem;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.contact-info > p {
    opacity: 0.9;
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-list {
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 14px;
    text-align: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.contact-item:hover i {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

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

.contact-item strong {
    display: block;
    font-size: 0.875rem;
    opacity: 0.75;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 500;
}

.contact-item a {
    color: white;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: underline;
}

.contact-form-wrapper {
    padding: 4rem;
    position: relative;
    z-index: 1;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.contact-form-header p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-color), var(--danger-color)) border-box;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-gray);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    box-shadow: 0 6px 25px rgba(13, 110, 253, 0.15);
    transform: translateY(-2px);
}

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

.contact-form textarea {
    resize: none;
    min-height: 140px;
    line-height: 1.6;
}

.contact-form button[type="submit"] {
    padding: 1.25rem;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--danger-color));
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.4);
}

.contact-form button[type="submit"]:active {
    transform: translateY(-1px);
}

/* 移动端响应式 */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        border-radius: 20px;
    }
    
    .contact-info {
        padding: 2.5rem 1.75rem;
        border-radius: 20px 20px 0 0;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-info > p {
        font-size: 0.95rem;
    }
    
    .contact-item {
        padding: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-item i {
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-form-wrapper {
        padding: 2.5rem 1.75rem;
        border-radius: 0 0 20px 20px;
    }
    
    .contact-form h3 {
        font-size: 1.5rem;
    }
    
    .contact-form-header p {
        font-size: 0.95rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 1.1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .contact-form textarea {
        min-height: 120px;
    }
    
    .contact-form button[type="submit"] {
        padding: 1.1rem;
        font-size: 1rem;
    }
}

/* 地图区域样式 */
.section-map {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #fef3f2 50%, #f0f9ff 100%);
}

.map-container {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.08);
}

.map-header {
    padding: 2.5rem 3rem;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05), rgba(220, 53, 69, 0.05));
    border-bottom: 1px solid rgba(13, 110, 253, 0.08);
}

.map-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-header p {
    margin: 0;
    color: var(--text-gray);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-header p::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--danger-color);
    border-radius: 50%;
}

.map-wrapper {
    position: relative;
    background: #f5f5f5;
}

.map-wrapper iframe {
    min-height: 400px;
    border: none;
}

.map-actions {
    padding: 2rem 3rem;
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.map-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid rgba(13, 110, 253, 0.15);
    border-radius: 12px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.map-action-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--danger-color));
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.map-action-btn i {
    font-size: 1.1rem;
}

/* 地图区域移动端响应式 */
@media (max-width: 768px) {
    .section-map {
        padding: 4rem 0;
    }
    
    .map-container {
        border-radius: 16px;
    }
    
    .map-header {
        padding: 1.75rem 1.5rem;
    }
    
    .map-header h3 {
        font-size: 1.3rem;
    }
    
    .map-header p {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    .map-wrapper iframe {
        min-height: 300px;
    }
    
    .map-actions {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .map-action-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        font-size: 0.9rem;
    }
}
