/* ===== 联系我们页样式 ===== */

/* 页面Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* 联系区块 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-form h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
}

.info-list {
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(21, 101, 192, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.info-content p {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.info-content p.muted {
    font-size: 13px;
    color: var(--text-muted);
}

.info-content a {
    color: var(--primary);
}

.info-content a:hover {
    text-decoration: underline;
}

/* 二维码 */
.qr-code {
    display: flex;
    gap: 30px;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 120px;
    height: 120px;
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.qr-item p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* 表单 */
.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-white);
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.btn-block {
    width: 100%;
}

.form-tip {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 15px;
}

/* 地图 */
.map-section {
    padding: 0 0 60px;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
}

.map-content svg {
    width: 60px;
    height: 60px;
    stroke: var(--primary);
    margin-bottom: 15px;
}

.map-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.map-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.map-content .btn-outline {
    border-color: var(--primary);
    color: var(--primary);
}

.map-content .btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: var(--transition);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* 响应式 */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        padding: 60px 0;
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .qr-code {
        justify-content: center;
    }
    
    .info-item {
        flex-direction: column;
        gap: 15px;
    }
}/* ===== contact.css 琛ュ厖鏍峰紡 ===== */

/* 鑱旂郴淇℃伅鍗＄墖 */
.contact-cards { padding: 60px 0 40px; }

.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(21,101,192,0.15);
    border-color: #1565c0;
}

.cc-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-icon svg { width: 28px; height: 28px; color: #fff; }

.contact-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.cc-value {
    font-size: 16px;
    font-weight: 600;
    color: #1565c0;
    display: block;
    text-decoration: none;
    margin-bottom: 4px;
}

.cc-sub {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px !important;
}

.cc-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #f0f4ff;
    color: #1565c0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.cc-btn:hover { background: #1565c0; color: #fff; }

/* 微信二维码卡片 */
.cc-icon-wechat {
    background: linear-gradient(135deg, #07c160, #09bb07);
}

.contact-card-wechat {
    padding-top: 36px;
}

.contact-card-wechat h3 {
    margin-bottom: 12px;
}

.cc-qrcode-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px auto 8px;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e8f5e9;
    background: #f9fff9;
}

.cc-qrcode {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.contact-card-wechat:hover {
    border-color: #07c160;
    box-shadow: 0 8px 24px rgba(7,193,96,0.18);
}

/* 联系主体 */
.contact-main { padding: 50px 0 80px; }

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: start;
}

/* 鐣欒█琛ㄥ崟 */
.contact-form-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.contact-form-wrap h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.form-subtitle {
    color: #888;
    font-size: 14px;
    margin-bottom: 28px;
}

.contact-form {}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    background: #fafafa;
    transition: all 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #1565c0;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Noto Sans SC', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-submit svg { width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(135deg, #1565c0, #1976d2) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d47a1, #1565c0) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21,101,192,0.35) !important;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 12px;
    margin-bottom: 0 !important;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    width: 60px;
    height: 60px;
    color: #27ae60;
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.form-success p {
    color: #888;
    font-size: 15px;
    margin-bottom: 20px;
}

/* 鍦板浘鍖?*/
.contact-map-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    position: sticky;
    top: 80px;
}

.contact-map-wrap h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .map-container {
        height: 220px;
    }
}

.map-container {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 24px;
}

#amap {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.map-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-icon svg { width: 24px; height: 24px; color: #fff; }
.map-placeholder p { font-size: 15px; color: #555; font-weight: 500; }
.map-placeholder span { font-size: 13px; color: #aaa; }

.contact-tips h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 14px;
}

.contact-tips ul { list-style: none; padding: 0; margin: 0; }

.contact-tips li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
}

.contact-tips li:last-child { border-bottom: none; }

.contact-tips li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1565c0;
}

/* 鍝嶅簲寮?*/
@media (max-width: 1024px) {
    .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map-wrap { position: static; }
}

@media (max-width: 768px) {
    [data-animate].fadeInLeft {
        transform: translateX(0);
    }
    .contact-cards { padding-top: 20px; }
    .contact-cards-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

