/* ========== 联系我们页面专属样式 ========== */
/* 注意：所有样式只影响页面内容区，不影响页头页脚 */

/* Banner区域 */
.contact-banner {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.15), transparent);
    border-radius: 50%;
}

.contact-banner .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.contact-banner .banner-breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.contact-banner .banner-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.contact-banner .banner-breadcrumb a:hover {
    color: #06b6d4;
}

.contact-banner .banner-breadcrumb span {
    color: #ffffff;
}

.contact-banner .banner-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-banner .banner-desc {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.contact-banner .gradient-text {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-banner .banner-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-banner .btn-glow {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.contact-banner .btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37,99,235,0.3);
    color: white;
}

.contact-banner .btn-outline-light {
    background: transparent;
    border: 1px solid #64748b;
    color: #f1f5f9;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-banner .btn-outline-light:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* 通用section样式 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: rgba(37,99,235,0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #06b6d4;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.section-header p {
    color: #64748b;
}

.gradient-text {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* 联系方式概览 */
.contact-info-section {
    padding: 5rem 0;
    background: #0f172a;
}

.contact-info-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-info-section .info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.contact-info-section .info-card {
    background: #1e293b;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(37,99,235,0.1);
}

.contact-info-section .info-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
}

.contact-info-section .info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info-section .info-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.contact-info-section .info-value {
    font-size: 1rem;
    color: #06b6d4;
    margin-bottom: 0.5rem;
    word-break: break-all;
}

.contact-info-section .info-value a {
    color: #06b6d4;
    text-decoration: none;
}

.contact-info-section .info-value a:hover {
    color: #2563eb;
}

.contact-info-section .info-desc {
    font-size: 0.75rem;
    color: #64748b;
}

/* 地图和表单区域 */
.map-form-section {
    padding: 5rem 0;
    background: #1e293b;
}

.map-form-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.map-form-section .map-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.map-form-section .map-card {
    background: #0f172a;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(37,99,235,0.2);
}

.map-form-section .map-card h3 {
    padding: 1.25rem 1.5rem;
    margin: 0;
    font-size: 1.25rem;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#amap-container {
    height: 400px;
    width: 100%;
}

.map-form-section .map-address-detail {
    padding: 1.5rem;
    background: #0f172a;
}

.map-form-section .map-address-detail p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.map-form-section .map-address-detail strong {
    color: #06b6d4;
}

.map-form-section .map-address-detail ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-form-section .map-address-detail li {
    color: #64748b;
    font-size: 0.8rem;
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.map-form-section .map-address-detail li::before {
    content: '•';
    color: #06b6d4;
    position: absolute;
    left: 0;
}

/* 表单卡片 */
.map-form-section .form-card {
    background: #0f172a;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(37,99,235,0.2);
}

.map-form-section .form-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.map-form-section .form-card > p {
    color: #64748b;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.map-form-section .form-card .fluentform {
    background: transparent;
}

.map-form-section .form-card .ff-el-input--content input,
.map-form-section .form-card .ff-el-input--content textarea,
.map-form-section .form-card .ff-el-form-control {
    width: 100%;
    padding: 12px 16px;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 0.75rem;
    color: #ffffff;
}

.map-form-section .form-card .ff-btn-submit {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
}

.map-form-section .form-card .ff-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37,99,235,0.3);
}

.map-form-section .form-note {
    font-size: 0.7rem;
    color: #64748b;
    text-align: center;
    margin-top: 1rem;
}

/* 咨询服务流程 */
.consulting-process {
    padding: 5rem 0;
    background: #0f172a;
}

.consulting-process .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.consulting-process .process-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.consulting-process .process-item {
    flex: 1;
    min-width: 180px;
    text-align: center;
    background: #1e293b;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s;
    position: relative;
}

.consulting-process .process-item:hover {
    transform: translateY(-5px);
}

.consulting-process .process-num {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
}

.consulting-process .process-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.consulting-process .process-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.consulting-process .process-item p {
    font-size: 0.75rem;
    color: #64748b;
}

.consulting-process .process-arrow {
    font-size: 1.5rem;
    color: #2563eb;
}

/* 为什么选择我们 */
.why-choose-us {
    padding: 5rem 0;
    background: #1e293b;
}

.why-choose-us .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.why-choose-us .advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-choose-us .advantage-item {
    background: #0f172a;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s;
}

.why-choose-us .advantage-item:hover {
    transform: translateY(-5px);
}

.why-choose-us .advantage-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.why-choose-us .advantage-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.why-choose-us .advantage-item p {
    font-size: 0.8rem;
    color: #64748b;
}

/* FAQ区域 */
.faq-section {
    padding: 5rem 0;
    background: #0f172a;
}

.faq-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.faq-section .faq-item {
    background: #1e293b;
    padding: 1.5rem;
    border-radius: 1rem;
    transition: all 0.3s;
}

.faq-section .faq-item:hover {
    transform: translateY(-3px);
}

.faq-section .faq-question {
    font-weight: 600;
    color: #06b6d4;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.faq-section .faq-answer {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* 各section内部的container样式 */
.contact-banner .container,
.contact-info-section .container,
.map-form-section .container,
.consulting-process .container,
.why-choose-us .container,
.faq-section .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .contact-info-section .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-form-section .map-form-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-us .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-section .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .consulting-process .process-grid {
        flex-direction: column;
    }
    
    .consulting-process .process-arrow {
        transform: rotate(90deg);
    }
    
    .consulting-process .process-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        padding: 2rem 0;
    }
    
    .contact-banner .banner-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .contact-info-section .info-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-us .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-banner .container,
    .contact-info-section .container,
    .map-form-section .container,
    .consulting-process .container,
    .why-choose-us .container,
    .faq-section .container {
        padding: 0 1rem;
    }
    
    .contact-banner .banner-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-banner .btn-glow,
    .contact-banner .btn-outline-light {
        text-align: center;
    }
    
    .map-form-section .form-card {
        padding: 1.5rem;
    }
    
    #amap-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-info-section .info-card {
        padding: 1.5rem;
    }
    
    .map-form-section .map-address-detail {
        padding: 1rem;
    }
    
    .faq-section .faq-item {
        padding: 1rem;
    }
}

/* 高德地图样式优化 */
.amap-info-content {
    background: #0f172a;
    border: 1px solid #2563eb;
    color: #ffffff;
}

.amap-info-close {
    color: #64748b;
}

.amap-scale-control {
    margin-right: 10px;
    margin-bottom: 10px;
}