/* x032 主题 - Contact页面样式 */

/* ========== Contact Banner ========== */
.contact-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.contact-banner h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-banner p {
    font-size: 20px;
    opacity: 0.9;
}

/* ========== Contact Content ========== */
.contact-content {
    padding: 80px 0;
}

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

/* 联系信息 */
.contact-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-info h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-info > p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-items {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 20px;
    color: var(--white);
}

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

.info-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* 社交链接 */
.contact-social h4 {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border-radius: 50%;
    color: var(--text);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
}

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

.contact-form-wrapper h2 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 表单 DOM 与 default 一致；字段/按钮细节样式由 contact_float.css 的 .contact-form 规则提供 */
.contact-form-wrapper .contact-form .form-group {
    margin-bottom: 20px;
}

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

.contact-form-wrapper .contact-form .form-group label .required {
    color: #e91e63;
}

/* 地图区域 */
.map-section {
    padding: 60px 0;
    background: var(--bg);
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
}

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

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

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

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

.faq-question h4 {
    font-size: 16px;
    color: var(--text);
    flex: 1;
}

.faq-question i {
    color: var(--accent);
    transition: transform 0.3s;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 25px 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

.faq-item.open .faq-answer {
    display: block;
}

/* 业务时间 */
.hours-section {
    padding: 80px 0;
    background: var(--bg);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.hours-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hours-card i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.hours-card h4 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.hours-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .hours-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .contact-banner h1 {
        font-size: 32px;
    }
    .map-placeholder {
        height: 300px;
    }
}
