/* ===========================================
   Help / Guide Page – HP-Inspired Corporate Design
   =========================================== */

/* ── PAGE CONTAINER ── */

/* ── HERO SECTION ── */

.help-hero {
    padding: var(--space-5xl) 0 var(--space-4xl);
    text-align: center;
}

.help-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--graphite);
    letter-spacing: 0.04em;
    margin-bottom: var(--space-2xl);
}

.help-breadcrumb a {
    color: var(--graphite);
    text-decoration: none;
    transition: color var(--transition);
}

.help-breadcrumb a:hover {
    color: var(--primary);
    text-decoration: none;
}

.help-breadcrumb-sep {
    color: var(--steel);
    font-weight: 300;
}

.help-hero-title {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0 0 var(--space-md);
}

.help-hero-subtitle {
    font-size: 1.05rem;
    color: var(--graphite);
    font-weight: 400;
    margin: 0 0 var(--space-2xl);
}

.help-hero-search {
    max-width: 520px;
    margin: 0 auto;
}

.help-search-box {
    display: flex;
    align-items: center;
    background: var(--canvas);
    border: 1px solid var(--fog);
    border-radius: var(--radius-lg);
    height: 52px;
    transition: border-color var(--transition), box-shadow var(--transition);
    overflow: hidden;
}

.help-search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 74, 216, 0.1);
}

.help-search-icon {
    padding: 0 0 0 18px;
    color: var(--steel);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.help-search-box input {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
    outline: none;
    padding: 0 18px;
    height: 100%;
}

.help-search-box input::placeholder {
    color: var(--steel);
}

/* ── TOC CARDS SECTION ── */

.help-toc {
    padding: var(--space-5xl) 0;
}

.help-toc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.help-toc-card {
    background: var(--canvas);
    border: 1px solid var(--fog);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.help-toc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.help-toc-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.help-toc-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}

.help-toc-badge {
    margin-top: 8px;
}

.help-toc-num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary);
    text-transform: uppercase;
}

.help-toc-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.help-toc-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: var(--space-xs);
    border-top: 1px solid var(--fog);
}

.help-toc-links a {
    font-size: 0.85rem;
    color: var(--graphite);
    text-decoration: none;
    font-weight: 400;
    transition: color var(--transition);
    line-height: 1.5;
}

.help-toc-links a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* ── DOCUMENTATION ENTRIES ── */

.help-docs {
    padding: var(--space-5xl) 0;
}

.help-cat {
    margin-bottom: var(--space-4xl);
}

.help-cat:last-child {
    margin-bottom: 0;
}

.help-cat-head {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--ink);
    margin-bottom: var(--space-2xl);
}

.help-cat-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.06em;
}

.help-cat-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.help-doc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.help-doc-card {
    background: var(--canvas);
    border: 1px solid var(--fog);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-xl);
    display: flex;
    gap: var(--space-lg);
    scroll-margin-top: calc(var(--nav-h) + 24px);
    transition: transform var(--transition), box-shadow var(--transition);
}

.help-doc-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.help-doc-card-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-soft);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.help-doc-card-body {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
    min-width: 0;
}

.help-doc-card-body h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    letter-spacing: -0.01em;
}

.help-doc-card-body p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: var(--charcoal);
    margin: 0;
    font-weight: 400;
}

/* ── SUPPORT CONTACT BAR ── */

.help-support {
    padding: var(--space-5xl) 0;
}

.help-support-bar {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-2xl) var(--space-3xl);
    background: var(--canvas);
    border: 1px solid var(--fog);
    border-radius: var(--radius-lg);
}

.help-support-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.help-support-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.help-support-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.help-support-text p {
    font-size: 0.88rem;
    color: var(--graphite);
    margin: 0;
}

.help-support-phone {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-end;
    flex-shrink: 0;
}

.help-support-phone-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--graphite);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.help-support-phone strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    font-family: var(--font-sans);
}

/* ── RESPONSIVE (1024px) ── */

@media (max-width: 1024px) {
    .help-hero {
        padding: var(--space-4xl) 0 var(--space-3xl);
    }

    .help-toc {
        padding: var(--space-4xl) 0;
    }

    .help-toc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .help-doc-list {
        grid-template-columns: 1fr;
    }

    .help-docs {
        padding: var(--space-4xl) 0;
    }

    .help-cat {
        margin-bottom: var(--space-3xl);
    }

    .help-support {
        padding: var(--space-4xl) 0;
    }

    .help-support-bar {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }

    .help-support-phone {
        align-items: flex-start;
    }
}

/* ── RESPONSIVE (768px) ── */

@media (max-width: 768px) {
    .help-hero {
        padding: var(--space-3xl) 0 var(--space-2xl);
    }

    .help-breadcrumb {
        margin-bottom: var(--space-xl);
    }

    .help-hero-title {
        font-size: clamp(1.8rem, 8vw, 2.4rem);
    }

    .help-hero-subtitle {
        font-size: 0.95rem;
    }

    .help-hero-search {
        max-width: 100%;
    }

    .help-search-box {
        height: 48px;
    }

    .help-toc {
        padding: var(--space-3xl) 0;
    }

    .help-toc-grid {
        grid-template-columns: 1fr;
    }

    .help-toc-card {
        padding: var(--space-xl) var(--space-lg);
    }

    .help-docs {
        padding: var(--space-3xl) 0;
    }

    .help-cat {
        margin-bottom: var(--space-2xl);
    }

    .help-cat-head {
        flex-wrap: wrap;
        gap: var(--space-sm);
    }

    .help-doc-list {
        grid-template-columns: 1fr;
    }

    .help-doc-card {
        padding: var(--space-lg);
        gap: var(--space-md);
    }

    .help-doc-card-num {
        font-size: 1.3rem;
        width: 32px;
    }

    .help-doc-card-body h4 {
        font-size: 0.95rem;
    }

    .help-doc-card-body p {
        font-size: 0.85rem;
    }

    .help-support {
        padding: var(--space-3xl) 0;
    }

    .help-support-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-xl) var(--space-xl);
        gap: var(--space-lg);
    }

    .help-support-icon-wrap {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }

    .help-support-phone {
        align-items: flex-start;
    }

    .help-support-bar .btn {
        width: 100%;
        justify-content: center;
    }
}
