/* 联系我们 */
#page-lianxi {
    padding-bottom: 100px;
}

/* —— Hero —— */
.contact-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    padding-top: 8px;
}
.contact-hero h1 {
    font-size: clamp(26px, 5vw, 40px);
    font-weight: 800;
    margin: 0 0 12px 0;
    line-height: 1.2;
}
.contact-hero-lead {
    font-size: clamp(15px, 2vw, 18px);
    color: var(--ink-light);
    line-height: 1.65;
    margin: 0 0 8px 0;
}
.contact-hero-note {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-light);
    margin: 0;
}

/* —— CTA Banner（工单快捷入口） —— */
.contact-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    margin-bottom: 28px;
}
.contact-cta-banner-left {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
    min-width: 0;
}
.contact-cta-icon-wrap {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(20, 18, 15, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ed-paper2, #f2ebe0);
    color: var(--ed-ink, #14120f);
}
.contact-cta-icon-wrap i {
    width: 20px;
    height: 20px;
}
.contact-cta-banner-text h2 {
    font-size: clamp(15px, 2vw, 17px);
    font-weight: 800;
    margin: 0 0 4px 0;
    color: var(--ed-ink, #14120f);
}
.contact-cta-banner-text p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--ed-muted, #5c564c);
    margin: 0 0 4px 0;
}
.contact-cta-banner-text p:last-child {
    margin: 0;
}
.contact-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 800;
    color: var(--ed-ink, #14120f);
    text-decoration: none;
    border: 1px solid rgba(20, 18, 15, 0.15);
    border-radius: 14px;
    background: #fff;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-cta-btn:hover {
    background: var(--ed-paper2, #f2ebe0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 18, 10, 0.08);
}

/* —— 3-column info cards grid —— */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.contact-card {
    display: flex;
    gap: 14px;
    padding: 22px 22px;
    align-items: flex-start;
}
.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(20, 18, 15, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--marker-yellow, rgba(245, 158, 11, 0.18));
    flex-shrink: 0;
}
.contact-card-icon i {
    width: 20px;
    height: 20px;
}
.contact-card-body h2 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: var(--ed-ink, #14120f);
}
.contact-card-body p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--ed-muted, #5c564c);
    margin: 0 0 6px 0;
}
.contact-card-body p:last-child {
    margin: 0;
}
.contact-card-body a {
    font-weight: 700;
    color: var(--ed-ink, #14120f);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.contact-card-body a:hover {
    color: var(--ed-accent, #0d5c4d);
}
.contact-muted {
    font-size: 13px;
    color: var(--ed-muted, #5c564c);
    opacity: 0.8;
    margin: 0;
}
.contact-card-body .contact-muted {
    margin: 0;
}

/* —— 法律声明（如有） —— */
.contact-disclaimer {
    max-width: 960px;
    margin: 36px auto 0;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--ed-muted, #5c564c);
    border: 1px solid rgba(20, 18, 15, 0.1);
    border-radius: 16px;
    background: rgba(20, 18, 15, 0.03);
}
.contact-disclaimer strong {
    color: var(--ed-ink, #14120f);
}

/* =============================================================
   RESPONSIVE
   ============================================================= */

/* 平板：2列 */
@media (max-width: 900px) {
    .contact-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }
    .contact-cta-btn {
        align-self: stretch;
        text-align: center;
    }
    .contact-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 手机：单列 */
@media (max-width: 560px) {
    #page-lianxi {
        padding-bottom: 60px;
    }
    .contact-cta-banner {
        padding: 18px 18px;
    }
    .contact-cta-banner-left {
        gap: 12px;
    }
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .contact-card {
        padding: 18px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-cta-btn:hover {
        transform: none;
    }
}
