/**
 * index.html · #consult 统一咨询入口（与 About CTA 合并）
 * v=20260613
 */

#consult {
    padding: 2rem 0 2.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.consult-head {
    max-width: 720px;
    margin: 0 auto 1.25rem;
    text-align: center;
}

.consult-head h2 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1d2129;
    margin: 0 0 0.5rem;
}

.consult-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.consult-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    max-width: 960px;
    margin: 0 auto 1.25rem;
    padding: 0;
    list-style: none;
    counter-reset: consult-step;
}

@media (min-width: 640px) {
    .consult-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.consult-flow li {
    counter-increment: consult-step;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.45;
}

.consult-flow li::before {
    content: counter(consult-step);
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #047857;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}

.consult-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

@media (min-width: 768px) {
    .consult-panel {
        padding: 1.25rem 1.5rem;
    }
}

.consult-methods {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
}

@media (min-width: 1024px) {
    .consult-methods {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.875rem;
    }
}

.consult-method {
    text-align: center;
    padding: 0.875rem 0.625rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
}

.consult-method__icon {
    width: 2.5rem;
    height: 2.5rem;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consult-method__icon img {
    max-width: 100%;
    max-height: 100%;
}

.consult-method h3 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.35rem;
}

.consult-method p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 0.5rem;
}

.consult-method a.consult-method__link {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #047857;
    text-decoration: none;
    word-break: break-all;
}

.consult-method a.consult-method__link:hover {
    text-decoration: underline;
}

.consult-method__qr {
    width: 5.5rem;
    height: 5.5rem;
    margin: 0.35rem auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.consult-method__qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.consult-method__note {
    font-size: 0.6875rem;
    color: #94a3b8;
    margin: 0.25rem 0 0;
}

.consult-faq {
    margin-top: 1.25rem;
}

.consult-faq h3 {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.75rem;
}

.consult-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .consult-faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.625rem;
    }
}

.consult-faq-card {
    display: block;
    padding: 0.75rem 0.875rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.consult-faq-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.06);
}

.consult-faq-card h4 {
    display: flex;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.consult-faq-card h4 img {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.consult-faq-card p {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

.consult-faq-more {
    text-align: center;
    margin-top: 0.75rem;
}

.consult-faq-more a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #059669;
    text-decoration: none;
}

.consult-faq-more a:hover {
    text-decoration: underline;
}

@media (max-width: 479px) {
    .consult-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    #consult {
        padding-top: 1.25rem;
        padding-bottom: 1.5rem;
    }
}
