/* =========================================================
   CORBETT ULTIMUS
   FAQ
========================================================= */

.cu-faq {
    position: relative;

    width: 100%;

    background: #f3f0e7;

    color: #06483d;

    overflow: hidden;
}


/* =========================================================
   CONTAINER
========================================================= */

.cu-faq__container {
    padding-top: 125px;
    padding-bottom: 125px;
}


/* =========================================================
   INTRO
========================================================= */

.cu-faq__intro {
    margin-bottom: 65px;
}


.cu-faq__eyebrow {
    display: flex;

    align-items: center;

    margin-bottom: 25px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 11px;

    font-weight: 700;

    line-height: 1;

    letter-spacing: .04em;

    text-transform: uppercase;

    color: #06483d;
}


.cu-faq__eyebrow span {
    display: block;

    width: 28px;

    height: 1px;

    margin-right: 12px;

    background: #06483d;
}


/* =========================================================
   TITLE
========================================================= */

.cu-faq__title {
    max-width: 800px;

    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(52px, 5.5vw, 78px);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -.045em;

    color: #06483d;
}


/* =========================================================
   FAQ GRID
========================================================= */

.cu-faq__grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 0;

    border-top: 1px solid rgba(6, 72, 61, .18);
}


/* =========================================================
   FAQ ITEM
========================================================= */

.cu-faq__item {
    position: relative;

    min-width: 0;

    background: rgba(255, 255, 255, .60);

    border-right: 1px solid rgba(6, 72, 61, .16);

    border-bottom: 1px solid rgba(6, 72, 61, .16);

    transition:
        background-color .35s ease;
}


.cu-faq__item:nth-child(even) {
    border-right: 0;
}


.cu-faq__item:hover {
    background: rgba(255, 255, 255, .88);
}


/* =========================================================
   QUESTION
========================================================= */

.cu-faq__question {
    position: relative;

    width: 100%;

    min-height: 88px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 25px 28px;

    border: 0;

    background: transparent;

    color: #06483d;

    text-align: left;

    cursor: pointer;

    font: inherit;
}


.cu-faq__question-text {
    display: block;

    padding-right: 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;

    font-weight: 400;

    line-height: 1.25;

    color: #06483d;
}


/* =========================================================
   ICON
========================================================= */

.cu-faq__icon {
    position: relative;

    flex: 0 0 16px;

    width: 16px;

    height: 16px;
}


.cu-faq__icon span {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 10px;
    height: 1.5px;

    background: #06483d;

    transform: translate(-50%, -50%);

    transition:
        transform .3s ease,
        opacity .3s ease;
}


.cu-faq__icon span:last-child {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}


/* =========================================================
   ANSWER
========================================================= */

.cu-faq__answer {
    display: grid;

    grid-template-rows: 1fr;

    transition:
        grid-template-rows .4s cubic-bezier(.16, 1, .3, 1),
        opacity .3s ease;
}


.cu-faq__answer-inner {
    min-height: 0;

    padding: 0 28px 28px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 13px;

    font-weight: 400;

    line-height: 1.65;

    color: rgba(25, 35, 32, .78);
}


/* =========================================================
   CLOSED STATE
========================================================= */

.cu-faq__item.is-closed .cu-faq__answer {
    grid-template-rows: 0fr;

    opacity: 0;
}


.cu-faq__item.is-closed .cu-faq__icon span:last-child {
    opacity: 0;

    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* =========================================================
   FOCUS
========================================================= */

.cu-faq__question:focus-visible {
    outline: 2px solid #d8b65b;

    outline-offset: -2px;
}


/* =========================================================
   REVEAL
========================================================= */

.cu-faq-reveal {
    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity .8s cubic-bezier(.16, 1, .3, 1),
        transform .8s cubic-bezier(.16, 1, .3, 1);
}


.cu-faq-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   STAGGER
========================================================= */

.cu-faq__item:nth-child(1) {
    transition-delay: .03s;
}

.cu-faq__item:nth-child(2) {
    transition-delay: .06s;
}

.cu-faq__item:nth-child(3) {
    transition-delay: .09s;
}

.cu-faq__item:nth-child(4) {
    transition-delay: .12s;
}

.cu-faq__item:nth-child(5) {
    transition-delay: .15s;
}

.cu-faq__item:nth-child(6) {
    transition-delay: .18s;
}

.cu-faq__item:nth-child(7) {
    transition-delay: .21s;
}

.cu-faq__item:nth-child(8) {
    transition-delay: .24s;
}

.cu-faq__item:nth-child(9) {
    transition-delay: .27s;
}

.cu-faq__item:nth-child(10) {
    transition-delay: .30s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .cu-faq__container {
        padding-top: 95px;
        padding-bottom: 95px;
    }


    .cu-faq__title {
        font-size: clamp(48px, 7vw, 65px);
    }


    .cu-faq__question-text {
        font-size: 18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .cu-faq__container {
        padding-top: 75px;
        padding-bottom: 75px;
    }


    .cu-faq__intro {
        margin-bottom: 45px;
    }


    .cu-faq__eyebrow {
        margin-bottom: 20px;

        font-size: 9px;
    }


    .cu-faq__eyebrow span {
        width: 24px;

        margin-right: 10px;
    }


    .cu-faq__title {
        font-size: clamp(42px, 11vw, 58px);

        line-height: .98;
    }


    .cu-faq__grid {
        display: block;

        border-top: 1px solid rgba(6, 72, 61, .18);
    }


    .cu-faq__item,
    .cu-faq__item:nth-child(even) {
        border-right: 0;
    }


    .cu-faq__question {
        min-height: 76px;

        padding: 21px 20px;
    }


    .cu-faq__question-text {
        font-size: 17px;

        line-height: 1.3;
    }


    .cu-faq__answer-inner {
        padding: 0 20px 23px;

        font-size: 12px;

        line-height: 1.6;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .cu-faq__title {
        font-size: 40px;
    }


    .cu-faq__question {
        gap: 15px;

        padding-left: 16px;
        padding-right: 16px;
    }


    .cu-faq__question-text {
        font-size: 15px;
    }


    .cu-faq__answer-inner {
        padding-left: 16px;
        padding-right: 16px;

        font-size: 11px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .cu-faq-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .cu-faq__answer,
    .cu-faq__icon span {
        transition: none;
    }

}