/* =========================
   Banner 区域
   ========================= */
.banner-section {
    width: 100%;
}

/* 主内容区白色背景 */
.section {
    background: #ffffff;
}

.banner {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.banner-content {
    max-width: 1200px;
    padding: 0 20px;
}

.banner-section .banner h1 {
    font-size: 42px !important;
    margin-bottom: 8px;
    color: #ffffff !important;
    text-shadow: 
        0 1px 0 rgba(0,0,0,0.3),
        0 2px 0 rgba(0,0,0,0.25),
        0 3px 0 rgba(0,0,0,0.2),
        0 4px 0 rgba(0,0,0,0.15),
        0 5px 10px rgba(0,0,0,0.3),
        0 10px 20px rgba(0,0,0,0.2) !important;
    font-weight: 700 !important;
    letter-spacing: 2px;
}

/* ID 选择器 - 最高优先级 */
#contact-title {
    font-size: 42px !important;
    color: #ffffff !important;
    text-shadow: 
        0 1px 0 rgba(0,0,0,0.3),
        0 2px 0 rgba(0,0,0,0.25),
        0 3px 0 rgba(0,0,0,0.2),
        0 4px 0 rgba(0,0,0,0.15),
        0 5px 10px rgba(0,0,0,0.3),
        0 10px 20px rgba(0,0,0,0.2) !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    margin-bottom: 8px !important;
}

.banner p {
    font-size: 14px;
    color: #ccd3e0;
    margin: 0;
}

/* 联系我们页面地图样式 */
.contact-map {
    margin-top: 20px;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-map iframe {
    border-radius: 12px;
    width: 100%;
    height: 320px;
    border: none;
    display: block;
}

/* ======================================
   业务介绍
   ====================================== */
.contact-intro {
    margin: 0 0 35px 0;
    text-align: left;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #1e3c72;
}

/* ======================================
   联系卡片容器
   ====================================== */
.contact-cards {
    gap: 25px;
    margin-bottom: 40px;
    justify-items: start;
}

/* 联系页卡片 */
.contact-card {
    background: linear-gradient(135deg, #0a2540, #1a3a5c);
    color: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 37, 64, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 350px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(102, 204, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.5);
}

.contact-card:hover::before {
    top: -30%;
    right: -30%;
}

/* 卡片图标 */
.contact-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(102, 204, 255, 0.15);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #66ccff;
}

/* 卡片标题 */
.contact-card h3 {
    color: #66ccff;
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* 卡片内容区 */
.card-content {
    position: relative;
    z-index: 1;
}

/* 卡片段落 */
.contact-card p {
    text-align: left;
    margin: 0 0 8px 0;
    line-height: 1.6;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-card p:last-child {
    margin-bottom: 0;
}

/* =========================
   需求提交表单
   ========================= */
.contact-form-section {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    color: #374151;
    font-weight: 600;
    margin-bottom: 8px;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.3s ease;
    outline: none;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1e3c72;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 60, 114, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
}

.char-counter.near-limit {
    color: #f59e0b;
}

.char-counter.at-limit {
    color: #ef4444;
    font-weight: 600;
}

.form-submit {
    text-align: center;
    margin-top: 10px;
}

.submit-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 14px 60px;
    font-size: 17px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.submit-btn .btn-text,
.submit-btn .btn-loading {
    color: #ffffff;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    text-align: center;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
}

.form-message.success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* 响应式 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    .contact-form-section {
        padding: 25px 20px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 14px 30px;
    }
}