/* FAQ page — BpoHandshake */
.b2b-faq-page {
    --b2b-faq-ink: #0f172a;
    --b2b-faq-muted: #64748b;
    --b2b-faq-line: #e2e8f0;
    --b2b-faq-surface: #ffffff;
    --b2b-faq-tint: #f8fafc;
    --b2b-faq-accent: #0f766e;
    --b2b-faq-accent-soft: #ccfbf1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 20px 64px;
    color: var(--b2b-faq-ink);
}

.b2b-faq-hero {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--b2b-faq-line);
}

.b2b-faq-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--b2b-faq-accent);
}

.b2b-faq-title {
    margin: 0 0 10px;
    font-size: clamp(1.65rem, 2.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--b2b-faq-ink);
}

.b2b-faq-lead {
    margin: 0;
    max-width: 42rem;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--b2b-faq-muted);
}

.b2b-faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.b2b-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.b2b-faq-item {
    background: var(--b2b-faq-surface);
    border: 1px solid var(--b2b-faq-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.b2b-faq-item__q {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.b2b-faq-page .b2b-faq-toggle,
.b2b-faq-page button.b2b-faq-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: #0f172a !important;
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none !important;
    box-shadow: none;
}

.b2b-faq-page .b2b-faq-toggle .b2b-faq-toggle__text,
.b2b-faq-page button.b2b-faq-toggle .b2b-faq-toggle__text {
    color: #0f172a !important;
}

.b2b-faq-page .b2b-faq-toggle:hover,
.b2b-faq-page .b2b-faq-toggle:focus,
.b2b-faq-page .b2b-faq-toggle:active,
.b2b-faq-page .b2b-faq-toggle:focus-visible,
.b2b-faq-page button.b2b-faq-toggle:hover,
.b2b-faq-page button.b2b-faq-toggle:focus,
.b2b-faq-page button.b2b-faq-toggle:active,
.b2b-faq-page button.b2b-faq-toggle:focus-visible {
    background: #f8fafc !important;
    color: #0f172a !important;
    text-decoration: none !important;
}

.b2b-faq-page .b2b-faq-toggle:hover .b2b-faq-toggle__text,
.b2b-faq-page .b2b-faq-toggle:focus .b2b-faq-toggle__text,
.b2b-faq-page .b2b-faq-toggle:active .b2b-faq-toggle__text,
.b2b-faq-page button.b2b-faq-toggle:hover .b2b-faq-toggle__text,
.b2b-faq-page button.b2b-faq-toggle:focus .b2b-faq-toggle__text,
.b2b-faq-page button.b2b-faq-toggle:active .b2b-faq-toggle__text {
    color: #0f172a !important;
}

.b2b-faq-page .b2b-faq-toggle:focus-visible {
    outline: 2px solid var(--b2b-faq-accent);
    outline-offset: -2px;
}

.b2b-faq-toggle__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--b2b-faq-tint);
    color: var(--b2b-faq-muted);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.b2b-faq-toggle[aria-expanded="true"] .b2b-faq-toggle__icon {
    background: var(--b2b-faq-accent-soft);
    color: var(--b2b-faq-accent);
    transform: rotate(45deg);
}

.b2b-faq-item__a {
    padding: 0 18px 18px;
}

.b2b-faq-item__a p {
    margin: 0;
    padding-top: 2px;
    border-top: 1px solid var(--b2b-faq-line);
    padding-top: 14px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
}

.b2b-faq-help {
    position: sticky;
    top: 24px;
}

.b2b-faq-help__card {
    background: var(--b2b-faq-surface);
    border: 1px solid var(--b2b-faq-line);
    border-radius: 14px;
    padding: 22px 20px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.b2b-faq-help__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--b2b-faq-ink);
}

.b2b-faq-help__intro {
    margin: 0 0 18px;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--b2b-faq-muted);
}

.b2b-faq-help__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.b2b-faq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.b2b-faq-field input,
.b2b-faq-field select,
.b2b-faq-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid var(--b2b-faq-line);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--b2b-faq-ink);
}

.b2b-faq-field input:focus,
.b2b-faq-field select:focus,
.b2b-faq-field textarea:focus {
    outline: none;
    border-color: #99f6e4;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.b2b-faq-field input[readonly] {
    background: var(--b2b-faq-tint);
    color: #475569;
}

.b2b-faq-submit {
    margin-top: 4px;
    padding: 12px 16px;
    border: 0;
    border-radius: 9px;
    background: var(--b2b-faq-accent);
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}

.b2b-faq-submit:hover {
    background: #0d9488;
}

.b2b-faq-submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.b2b-faq-status {
    margin: 0;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.b2b-faq-status.b2b-support-status--ok {
    background: #ecfdf5;
    color: #065f46;
}

.b2b-faq-status.b2b-support-status--err {
    background: #fef2f2;
    color: #991b1b;
}

.b2b-faq-page .b2b-support-honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

@media (max-width: 860px) {
    .b2b-faq-layout {
        grid-template-columns: 1fr;
    }

    .b2b-faq-help {
        position: static;
        order: 2;
    }

    .b2b-faq-list {
        order: 1;
    }
}
