
/* =====================================================
   SHIFTIFY HOME FAQ
   Compact Two-Column Responsive Layout
===================================================== */

.shiftify-faq,
.shiftify-faq * {
    box-sizing: border-box;
}

.shiftify-faq {
    width: 100%;
    padding: 24px 0;
    background: #f7f9fc;
    color: #172b40;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.45;
}

.shiftify-faq .container {
    width: min(1100px, calc(100% - 30px));
    margin: 0 auto;
}

/* =====================================================
   HEADING
===================================================== */

.shiftify-faq .faq-heading {
    text-align: center;
    margin: 0 0 17px;
}

.shiftify-faq .faq-eyebrow {
    display: block;
    color: #ff5a1f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 3px;
}

.shiftify-faq .faq-heading h2 {
    color: #002b66;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 4px;
}

.shiftify-faq .faq-heading p {
    color: #718096;
    font-size: 11px;
    margin: 0;
}

/* =====================================================
   TWO COLUMN CATEGORY GRID
===================================================== */

.shiftify-faq .faq-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: start;
}

/* =====================================================
   CATEGORY CARD
===================================================== */

.shiftify-faq .faq-group {
    min-width: 0;
    margin: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 7px;
    transition: border-color .2s ease;
}

.shiftify-faq .faq-group:hover {
    border-color: #ffc4aa;
}

.shiftify-faq .faq-category {
    min-height: 30px;
    display: flex;
    align-items: center;
    color: #002b66;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.4;
    margin: 0 0 7px;
    padding: 0 0 6px;
    border-bottom: 1px solid #edf0f4;
}

/* =====================================================
   QUESTIONS
===================================================== */

.shiftify-faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.shiftify-faq .faq-item {
    width: 100%;
    margin: 0;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 5px;
    overflow: hidden;
    transition: background .2s ease, border-color .2s ease;
}

.shiftify-faq .faq-item:hover {
    border-color: #ffd2c0;
}

.shiftify-faq .faq-item[open] {
    background: #fff;
    border-color: #ffc3aa;
}

/* Question row */

.shiftify-faq .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 9px;
    color: #263d53;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.shiftify-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.shiftify-faq .faq-item summary::marker {
    content: "";
}

/* Plus / minus icon */

.shiftify-faq .faq-toggle {
    position: relative;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff0e9;
}

.shiftify-faq .faq-toggle::before,
.shiftify-faq .faq-toggle::after {
    content: "";
    position: absolute;
    background: #ff5a1f;
    border-radius: 2px;
}

.shiftify-faq .faq-toggle::before {
    width: 8px;
    height: 1.5px;
    top: 7px;
    left: 4px;
}

.shiftify-faq .faq-toggle::after {
    width: 1.5px;
    height: 8px;
    top: 4px;
    left: 7px;
    transition: transform .2s ease;
}

.shiftify-faq .faq-item[open] .faq-toggle::after {
    transform: rotate(90deg);
}

/* =====================================================
   ANSWERS
===================================================== */

.shiftify-faq .faq-answer {
    padding: 0 9px 9px;
}

.shiftify-faq .faq-answer p {
    color: #68788a;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.55;
    margin: 0;
}

/* =====================================================
   BOTTOM SUPPORT
===================================================== */

.shiftify-faq .faq-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    padding: 11px 14px;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 6px;
}

.shiftify-faq .faq-bottom strong {
    display: block;
    color: #002b66;
    font-size: 12px;
    font-weight: 750;
}

.shiftify-faq .faq-bottom p {
    color: #718096;
    font-size: 10.5px;
    margin: 2px 0 0;
}

.shiftify-faq .faq-contact-btn {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 12px;
    background: #ff5a1f;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    transition: background .2s ease;
}

.shiftify-faq .faq-contact-btn:hover {
    background: #e94a12;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 767px) {
    .shiftify-faq {
        padding: 19px 0;
    }

    .shiftify-faq .container {
        width: calc(100% - 22px);
    }

    .shiftify-faq .faq-groups {
        gap: 8px;
    }

    .shiftify-faq .faq-group {
        padding: 8px;
    }

    .shiftify-faq .faq-category {
        font-size: 11px;
    }

    .shiftify-faq .faq-item summary {
        padding: 7px;
        font-size: 10.5px;
    }

    .shiftify-faq .faq-answer {
        padding: 0 7px 7px;
    }

    .shiftify-faq .faq-answer p {
        font-size: 10px;
    }
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 550px) {
    .shiftify-faq {
        padding: 17px 0;
    }

    .shiftify-faq .faq-heading {
        margin-bottom: 13px;
    }

    .shiftify-faq .faq-heading h2 {
        font-size: 19px;
    }

    .shiftify-faq .faq-heading p {
        font-size: 10px;
    }

    .shiftify-faq .faq-groups {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .shiftify-faq .faq-group {
        padding: 9px;
    }

    .shiftify-faq .faq-category {
        font-size: 12px;
        min-height: auto;
    }

    .shiftify-faq .faq-item summary {
        padding: 8px;
        font-size: 11px;
    }

    .shiftify-faq .faq-answer p {
        font-size: 10.5px;
    }

    .shiftify-faq .faq-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
    }
}
