/* Contact Us FAQ Accordion — Clean Premium v3 */

.cufaq-section{
    width:100%;
    padding:clamp(34px,4vw,64px) clamp(14px,3vw,48px);
    font-family:inherit;
    overflow-x:hidden;
}

.cufaq-header{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.74fr);
    align-items:end;
    gap:clamp(24px,6vw,120px);
    margin-bottom:clamp(22px,3vw,38px);
}

.cufaq-title-wrap{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.cufaq-eyebrow{
    color:#07988f;
    font-size:13px;
    font-weight:950;
    letter-spacing:.17em;
    text-transform:uppercase;
    line-height:1;
}

.cufaq-heading{
    margin:0;
    color:#132943;
    font-family:Georgia,"Times New Roman",serif;
    font-size:clamp(48px,5.2vw,98px);
    font-weight:850;
    line-height:.94;
    letter-spacing:-.055em;
}

.cufaq-intro{
    display:none;
}

.cufaq-controls{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-bottom:clamp(18px,2vw,28px);
}

.cufaq-search{
    position:relative;
    max-width:720px;
}

.cufaq-search-icon{
    position:absolute;
    left:18px;
    top:50%;
    transform:translateY(-50%);
    color:#07988f;
    font-size:22px;
    font-weight:900;
    pointer-events:none;
}

.cufaq-search-input{
    width:100%;
    min-height:56px;
    padding:0 18px 0 50px;
    border:1px solid #dbe8ec;
    border-radius:18px;
    background:#fff;
    color:#132943;
    font-size:16px;
    font-weight:650;
    outline:none;
    box-shadow:0 12px 30px rgba(13,39,63,.035);
    transition:border-color .2s ease, box-shadow .2s ease;
}

.cufaq-search-input:focus{
    border-color:#07988f;
    box-shadow:0 0 0 4px rgba(7,152,143,.12);
}

.cufaq-filters{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.cufaq-filter{
    min-height:40px;
    padding:0 15px;
    border:1px solid #dbe8ec;
    border-radius:999px;
    background:#fff;
    color:#536173;
    font-size:13px;
    font-weight:900;
    cursor:pointer;
    transition:background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.cufaq-filter:hover{
    transform:translateY(-1px);
}

.cufaq-filter.is-active{
    background:#e9fbf8;
    color:#087f78;
    border-color:rgba(0,151,140,.28);
}

.cufaq-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:clamp(16px,1.5vw,28px);
}

.cufaq-item{
    position:relative;
    overflow:hidden;
    background:#fff !important;
    border:1px solid rgba(173,214,216,.72);
    border-radius:clamp(22px,1.5vw,32px);
    box-shadow:
        0 18px 48px rgba(13,39,63,.045),
        inset 0 1px 0 rgba(255,255,255,.95);
    transition:background .22s ease, border-color .22s ease, box-shadow .22s ease, transform .22s ease, opacity .2s ease;
}

.cufaq-item::after{
    content:"";
    position:absolute;
    left:22px;
    right:22px;
    top:0;
    height:3px;
    background:#07988f;
    opacity:0;
    border-radius:999px;
    transition:opacity .22s ease;
}

.cufaq-item:hover{
    transform:translateY(-2px);
    box-shadow:
        0 24px 62px rgba(13,39,63,.07),
        inset 0 1px 0 rgba(255,255,255,.95);
}

.cufaq-item.is-open,
.cufaq-item.is-featured{
    border-color:rgba(7,152,143,.55);
    background:#fff !important;
}

.cufaq-item.is-open::after,
.cufaq-item.is-featured::after{
    opacity:1;
}

.cufaq-item.is-hidden{
    display:none;
}

.cufaq-question-button{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:18px;
    padding:clamp(22px,1.9vw,34px);
    border:0;
    background:transparent !important;
    text-align:left;
    cursor:pointer;
}

.cufaq-question-content{
    display:flex;
    flex-direction:column;
    gap:8px;
    min-width:0;
}

.cufaq-question-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    min-width:0;
}

.cufaq-question{
    color:#132943 !important;
    font-size:clamp(18px,1.35vw,25px);
    font-weight:900;
    line-height:1.18;
    letter-spacing:-.035em;
    overflow-wrap:anywhere;
    word-break:normal;
}

.cufaq-badge{
    display:inline-flex;
    align-items:center;
    min-height:24px;
    padding:0 9px;
    border-radius:999px;
    background:#e9fbf8;
    color:#087f78;
    font-size:11px;
    font-weight:900;
    line-height:1;
}

.cufaq-category{
    display:inline-flex;
    width:fit-content;
    color:#07988f;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.cufaq-icon{
    width:46px;
    height:46px;
    min-width:46px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#e9fbf8;
    color:#07988f;
    font-size:30px;
    font-weight:900;
    line-height:1;
    transition:transform .22s ease, background .22s ease;
}

.cufaq-icon-minus{
    display:none;
}

.cufaq-item.is-open .cufaq-icon-plus{
    display:none;
}

.cufaq-item.is-open .cufaq-icon-minus{
    display:inline;
}

.cufaq-item.is-open .cufaq-icon{
    transform:rotate(180deg);
}

.cufaq-answer-wrap{
    overflow:hidden;
}

.cufaq-answer-inner{
    padding:0 clamp(22px,1.9vw,34px) clamp(22px,1.9vw,34px);
}

.cufaq-answer{
    color:#6f7e92;
    font-size:clamp(16px,1.2vw,22px);
    font-weight:650;
    line-height:1.55;
    max-width:920px;
}

.cufaq-no-results{
    display:none;
    margin-top:18px;
    padding:18px;
    border:1px solid rgba(173,214,216,.72);
    border-radius:22px;
    background:#fbfdfe;
    color:#6f7e92;
    font-size:15px;
    font-weight:750;
}

.cufaq-no-results.is-visible{
    display:block;
}

.cufaq-cta{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:20px;
    margin-top:clamp(22px,2.5vw,38px);
    padding:clamp(22px,2.2vw,34px);
    border-radius:clamp(22px,1.7vw,32px);
    background:#092542;
    overflow:hidden;
    position:relative;
    box-shadow:0 24px 66px rgba(13,39,63,.12);
}

.cufaq-cta::before{
    content:"";
    position:absolute;
    right:-80px;
    top:-90px;
    width:210px;
    height:210px;
    border-radius:999px;
    background:radial-gradient(circle, rgba(53,215,180,.22), transparent 67%);
}

.cufaq-cta-title{
    position:relative;
    margin:0 0 7px;
    color:#fff;
    font-size:clamp(22px,1.7vw,32px);
    font-weight:900;
    line-height:1.08;
    letter-spacing:-.04em;
}

.cufaq-cta-text{
    position:relative;
    margin:0;
    color:#d7e3ea;
    font-size:clamp(14px,1.05vw,18px);
    font-weight:650;
    line-height:1.45;
}

.cufaq-cta-actions{
    position:relative;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.cufaq-cta-button,
.cufaq-cta-call{
    min-height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 18px;
    border:0;
    border-radius:999px;
    font-size:14px;
    font-weight:900;
    text-decoration:none !important;
    cursor:pointer;
}

.cufaq-cta-button{
    background:#07988f;
    color:#fff;
}

.cufaq-cta-call{
    background:rgba(255,255,255,.12);
    color:#fff !important;
    border:1px solid rgba(255,255,255,.18);
}

/* Tablet */
@media (max-width:1100px){
    .cufaq-header{
        grid-template-columns:1fr;
        gap:14px;
        align-items:start;
    }

    .cufaq-grid{
        grid-template-columns:1fr;
    }

    .cufaq-cta{
        grid-template-columns:1fr;
    }
}

/* Mobile */
@media (max-width:767px){
    .cufaq-section{
        padding:30px 14px;
    }

    .cufaq-header{
        display:flex;
        flex-direction:column;
        gap:8px;
        margin-bottom:16px;
    }

    .cufaq-eyebrow{
        font-size:10.5px;
        letter-spacing:.15em;
    }

    .cufaq-heading{
        font-size:clamp(35px,10.8vw,48px);
        line-height:.98;
    }

    .cufaq-controls{
        gap:11px;
        margin-bottom:16px;
    }

    .cufaq-search{
        max-width:100%;
    }

    .cufaq-search-input{
        min-height:50px;
        font-size:14px;
        padding-left:44px;
        border-radius:16px;
    }

    .cufaq-search-icon{
        left:15px;
        font-size:18px;
    }

    .cufaq-filters{
        display:flex;
        flex-wrap:nowrap;
        overflow-x:auto;
        gap:8px;
        padding-bottom:4px;
        scrollbar-width:none;
    }

    .cufaq-filters::-webkit-scrollbar{
        display:none;
    }

    .cufaq-filter{
        min-height:36px;
        padding:0 12px;
        font-size:11.5px;
        white-space:nowrap;
        flex:0 0 auto;
        background:#fff;
    }

    .cufaq-grid{
        grid-template-columns:1fr !important;
        gap:11px;
    }

    .cufaq-hide-mobile{
        display:none !important;
    }

    .cufaq-item{
        border-radius:20px;
        background:#fff !important;
        box-shadow:0 12px 30px rgba(13,39,63,.055), inset 0 1px 0 rgba(255,255,255,.95);
    }

    .cufaq-question-button{
        padding:16px 14px;
        gap:12px;
        grid-template-columns:minmax(0,1fr) 34px;
    }

    .cufaq-question-content{
        gap:7px;
    }

    .cufaq-question-row{
        display:block;
    }

    .cufaq-question{
        display:block;
        font-size:15.5px;
        line-height:1.22;
        max-width:100%;
        overflow-wrap:break-word;
        word-break:normal;
        hyphens:auto;
    }

    .cufaq-category{
        font-size:10px;
        margin-top:2px;
    }

    .cufaq-badge{
        margin-top:7px;
        min-height:21px;
        font-size:9.8px;
        padding:0 7px;
        width:fit-content;
    }

    .cufaq-icon{
        width:34px;
        height:34px;
        min-width:34px;
        font-size:22px;
    }

    .cufaq-answer-inner{
        padding:0 14px 16px;
    }

    .cufaq-answer{
        font-size:13.4px;
        line-height:1.45;
    }

    .cufaq-cta{
        grid-template-columns:1fr;
        padding:20px 16px;
        border-radius:22px;
        gap:15px;
        margin-bottom:24px;
    }

    .cufaq-cta-title{
        font-size:22px;
    }

    .cufaq-cta-text{
        font-size:13.4px;
    }

    .cufaq-cta-actions{
        display:grid;
        grid-template-columns:1fr;
        gap:9px;
    }

    .cufaq-cta-button,
    .cufaq-cta-call{
        width:100%;
        min-height:46px;
    }
}

/* Small phones */
@media (max-width:390px){
    .cufaq-section{
        padding-left:10px;
        padding-right:10px;
    }

    .cufaq-heading{
        font-size:33px;
    }

    .cufaq-question{
        font-size:14.4px;
    }

    .cufaq-answer{
        font-size:12.8px;
    }

    .cufaq-question-button{
        padding:15px 12px;
    }
}


/* v4.0.0 — Editable categories + premium stretched filter alignment */
.cufaq-controls{
    width:100%;
}

.cufaq-filters{
    display:grid !important;
    grid-template-columns:repeat(auto-fit, minmax(135px, 1fr)) !important;
    width:100%;
    gap:12px !important;
}

.cufaq-filter{
    width:100% !important;
    justify-content:center !important;
    text-align:center !important;
}

/* Keep filters aligned even with only 2 or 3 categories */
.cufaq-filters:has(.cufaq-filter:nth-child(2):last-child){
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
}

.cufaq-filters:has(.cufaq-filter:nth-child(3):last-child){
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width:767px){
    .cufaq-filters{
        display:grid !important;
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        overflow:visible !important;
        gap:8px !important;
        padding-bottom:0 !important;
    }

    .cufaq-filter{
        min-width:0 !important;
        white-space:normal !important;
        line-height:1.1 !important;
        min-height:38px !important;
        padding:0 9px !important;
    }
}

@media (max-width:390px){
    .cufaq-filters{
        gap:7px !important;
    }

    .cufaq-filter{
        font-size:10.5px !important;
        padding:0 7px !important;
    }
}


/* v4.1.0 — Mobile text overflow + shadow removal fix */
.cufaq-section,
.cufaq-section *{
    text-shadow:none !important;
}

.cufaq-question,
.cufaq-category,
.cufaq-badge,
.cufaq-answer,
.cufaq-filter,
.cufaq-heading,
.cufaq-eyebrow{
    text-shadow:none !important;
    filter:none !important;
}

.cufaq-item{
    min-width:0 !important;
}

.cufaq-question-button{
    min-width:0 !important;
}

.cufaq-question-content,
.cufaq-question-row{
    min-width:0 !important;
    max-width:100% !important;
}

.cufaq-question{
    max-width:100% !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    overflow-wrap:break-word !important;
    word-break:normal !important;
    hyphens:auto !important;
}

@media (max-width:767px){
    .cufaq-section{
        padding-left:16px !important;
        padding-right:16px !important;
    }

    .cufaq-grid{
        grid-template-columns:1fr !important;
        gap:12px !important;
    }

    .cufaq-item{
        border-radius:22px !important;
        overflow:hidden !important;
    }

    .cufaq-question-button{
        display:grid !important;
        grid-template-columns:minmax(0, 1fr) 38px !important;
        align-items:center !important;
        gap:12px !important;
        width:100% !important;
        padding:18px 16px !important;
    }

    .cufaq-question-content{
        display:flex !important;
        flex-direction:column !important;
        gap:8px !important;
        min-width:0 !important;
        width:100% !important;
    }

    .cufaq-question-row{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:7px !important;
        min-width:0 !important;
        width:100% !important;
    }

    .cufaq-question{
        display:block !important;
        width:100% !important;
        max-width:100% !important;
        color:#132943 !important;
        font-size:15.5px !important;
        line-height:1.25 !important;
        letter-spacing:-0.025em !important;
        font-weight:850 !important;
        white-space:normal !important;
        overflow:visible !important;
        text-overflow:clip !important;
        overflow-wrap:break-word !important;
        word-break:normal !important;
        hyphens:auto !important;
        text-shadow:none !important;
        filter:none !important;
    }

    .cufaq-category{
        display:inline-flex !important;
        width:fit-content !important;
        max-width:100% !important;
        color:#07988f !important;
        font-size:10px !important;
        line-height:1.1 !important;
        letter-spacing:.08em !important;
        white-space:normal !important;
        text-shadow:none !important;
        filter:none !important;
    }

    .cufaq-badge{
        display:inline-flex !important;
        width:fit-content !important;
        max-width:100% !important;
        margin-top:0 !important;
        min-height:21px !important;
        padding:0 8px !important;
        font-size:9.8px !important;
        line-height:1 !important;
        text-shadow:none !important;
        filter:none !important;
    }

    .cufaq-icon{
        width:38px !important;
        height:38px !important;
        min-width:38px !important;
        align-self:center !important;
        font-size:23px !important;
        box-shadow:none !important;
        text-shadow:none !important;
        filter:none !important;
    }

    .cufaq-answer-inner{
        padding:0 16px 18px !important;
    }

    .cufaq-answer{
        color:#6f7e92 !important;
        font-size:13.5px !important;
        line-height:1.5 !important;
        text-shadow:none !important;
        filter:none !important;
    }

    .cufaq-filters{
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
        gap:9px !important;
    }

    .cufaq-filter{
        min-height:40px !important;
        border-radius:16px !important;
        white-space:normal !important;
        text-shadow:none !important;
        filter:none !important;
    }
}

@media (max-width:390px){
    .cufaq-section{
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .cufaq-question-button{
        grid-template-columns:minmax(0, 1fr) 36px !important;
        padding:16px 13px !important;
        gap:10px !important;
    }

    .cufaq-question{
        font-size:14.3px !important;
        line-height:1.25 !important;
    }

    .cufaq-icon{
        width:36px !important;
        height:36px !important;
        min-width:36px !important;
    }
}
