/* =========================================================
   INNACUP FAQ PAGE
   ========================================================= */

.faq-content {
    width: min(100%, 1100px);
    margin: 0 auto;
    padding: 34px 3% 56px;
}

.faq-intro {
    text-align: center;
    margin-bottom: 28px;
}

.faq-intro h1 {
    margin: 0 0 8px;
    color: var(--innacup-teal);
    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.05;
    text-transform: uppercase;
}

.faq-intro p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.55;
}

.faq-tools {
    display: flex;
    align-items: end;
    gap: 14px;
    margin-bottom: 30px;
}

.faq-search-wrap {
    flex: 1;
}

.faq-search-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.faq-search {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    border: 2px solid rgba(14, 140, 134, .35);
    border-radius: 9px;
    background: #fff;
    color: var(--text-dark);
    font: inherit;
    font-size: 15px;
    outline: none;
}

.faq-search:focus {
    border-color: var(--innacup-teal);
    box-shadow: 0 0 0 3px rgba(14, 140, 134, .12);
}

.faq-collapse-all {
    min-height: 46px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 8px;
    background: var(--innacup-cream);
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, .14);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.faq-collapse-all:hover,
.faq-collapse-all:focus-visible {
    color: var(--innacup-teal);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .18);
}

.faq-no-results {
    margin: 0 0 28px;
    padding: 18px;
    border-radius: 10px;
    background: rgba(255, 201, 77, .22);
    text-align: center;
    font-weight: 700;
}

.faq-no-results a,
.faq-answer a {
    color: var(--innacup-teal);
    font-weight: 800;
}

.faq-category {
    margin-top: 30px;
}

.faq-category:first-of-type {
    margin-top: 0;
}

.faq-category h2 {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(14, 140, 134, .22);
    color: var(--text-dark);
    font-size: 21px;
}

.faq-item {
    margin-bottom: 5px;
    border: 1px solid rgba(0, 0, 0, .09);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .08);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    padding: 6px 17px;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover {
    background: rgba(199, 232, 236, .24);
}

.faq-question:focus-visible {
    outline: 3px solid rgba(14, 140, 134, .28);
    outline-offset: -3px;
}

.faq-chevron {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-right: 3px;
    border-right: 2px solid var(--innacup-teal);
    border-bottom: 2px solid var(--innacup-teal);
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.faq-answer {
    padding: 0 17px 17px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    font-size: 15px;
    line-height: 1.6;
}

.faq-answer p {
    margin: 12px 0 0;
}

.faq-answer p:first-child {
    margin-top: 14px;
}

@media (max-width: 700px) {
    .faq-content {
        padding: 28px 4% 42px;
    }

    .faq-tools {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .faq-collapse-all {
        align-self: flex-end;
        min-height: 40px;
        padding: 8px 12px;
    }

    .faq-category h2 {
        font-size: 19px;
    }

    .faq-question {
        padding: 6px 14px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 14px 15px;
        font-size: 14px;
    }
}
