/* ============================================================
   联系我们页 - contact.css
   ============================================================ */

/* 页头（与新闻页一致） */
.page-header {
    background: var(--gradient);
    color: #fff;
    padding: 7rem 20px 3.5rem;
}
.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.page-header .breadcrumb {
    font-size: .9rem;
    color: rgba(255, 255, 255, .82);
    margin-bottom: 1.1rem;
}
.page-header .breadcrumb a { color: #fff; text-decoration: none; }
.page-header .breadcrumb a:hover { text-decoration: underline; }
.page-header .breadcrumb .sep { margin: 0 .5rem; opacity: .6; }
.page-header .eyebrow { display: inline-block; color: rgba(255, 255, 255, .92); }
.page-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: .4rem 0;
}
.page-header h1::after {
    content: "";
    display: block;
    width: 56px; height: 4px;
    border-radius: 4px;
    background: #fff;
    margin: .8rem auto 0;
}
.page-header .page-sub {
    color: rgba(255, 255, 255, .85);
    margin-top: .8rem;
    font-size: 1.02rem;
}

/* 主体 */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem 20px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.8rem;
    margin-bottom: 1.8rem;
}
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
}
.info-card h2 {
    color: var(--ink);
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
    padding-bottom: .8rem;
    border-bottom: 2px solid var(--line);
}
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .7rem 0;
}
.info-icon {
    flex: 0 0 auto;
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gradient-soft);
    color: var(--primary);
}
.info-item h3 {
    color: var(--ink);
    font-size: .95rem;
    margin-bottom: .2rem;
}
.info-item p {
    color: var(--muted);
    line-height: 1.6;
    font-size: .94rem;
}

/* 地图占位 */
.map-card {
    background: var(--gradient-soft);
    border: 1px dashed var(--primary);
    border-radius: var(--radius);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin-bottom: 1.8rem;
}
.map-icon { color: var(--primary); opacity: .8; }
.map-text { font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.map-sub { color: var(--muted); font-size: .92rem; }

/* CTA 转化条 */
.contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: var(--gradient);
    color: #fff;
    border-radius: var(--radius);
    padding: 2rem 2.4rem;
    box-shadow: var(--shadow-lg);
}
.contact-cta h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.contact-cta p { opacity: .92; font-size: .96rem; line-height: 1.6; }

/* 微信扫码咨询卡片 */
.wechat-card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.2rem;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius);
    padding: 2rem 2.2rem;
    margin-bottom: 1.8rem;
    box-shadow: 0 10px 30px rgba(34, 197, 94, .12);
    position: relative;
    overflow: hidden;
}
.wechat-card::before {
    content: "";
    position: absolute;
    top: -40%; right: -10%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(34, 197, 94, .12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.wechat-qr-wrapper {
    position: relative;
    width: 220px; height: 220px;
    margin: 0 auto;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}
.wechat-qr-wrapper:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 32px rgba(34, 197, 94, .25);
}
.wechat-qr {
    display: block;
    width: 196px; height: 196px;
    border-radius: 8px;
    object-fit: contain;
}
.wechat-qr-badge {
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    padding: .35rem .9rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(34, 197, 94, .35);
}
.wechat-info h2 {
    color: var(--ink);
    font-size: 1.35rem;
    margin-bottom: .6rem;
    font-weight: 800;
}
.wechat-lead {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}
.wechat-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}
.wechat-points li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.7;
    padding: .15rem 0;
}
.wechat-check {
    flex: 0 0 22px;
    width: 22px; height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    font-size: .82rem;
    font-weight: 700;
    margin-top: 1px;
}
.wechat-tip {
    color: var(--muted);
    font-size: .85rem;
    margin: 0;
    padding-top: .6rem;
    border-top: 1px dashed var(--line);
}

/* 响应式 */
@media (max-width: 760px) {
    .wechat-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 1.8rem 1.4rem;
    }
    .wechat-points li { justify-content: flex-start; }
}
@media (max-width: 600px) {
    .page-header { padding: 6rem 20px 2.5rem; }
    .contact-cta { flex-direction: column; align-items: flex-start; }
    .contact-cta .btn { width: 100%; }
}
