/* =========================================================
   CLEANNORA FAQ — HOMEPAGE V2 FINAL
========================================================= */

.cn-faq-section {
    width: 100%;
    padding: 65px 0 75px;
    background: #ffffff;
}

.cn-faq-section .container {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.cn-faq-heading {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.cn-faq-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin-bottom: 13px;

    color: #083D2B;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cn-faq-kicker span {
    width: 38px;
    height: 2px;
    background: #F4BF19;
}

.cn-faq-kicker b {
    color: #F4BF19;
    font-size: 14px;
}

.cn-faq-heading h2 {
    margin: 0;

    color: #083D2B;

    font-size: 44px;
    line-height: 1.08;
    letter-spacing: -1.4px;
    font-weight: 800;
}

.cn-faq-heading h2 span {
    color: #F4BF19;
}

.cn-faq-heading p {
    max-width: 570px;

    margin: 10px auto 0;

    color: #66736d;

    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   FAQ LIST
========================================================= */

.cn-faq-list {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   FAQ ITEM
========================================================= */

.cn-faq-item {
    margin-bottom: 12px;

    background: #ffffff;

    border: 1px solid #e3e9e6;
    border-radius: 13px;

    overflow: hidden;

    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.cn-faq-item:hover {
    border-color: rgba(8, 61, 43, .20);

    box-shadow:
        0 8px 24px rgba(8, 61, 43, .06);
}

.cn-faq-item.active {
    border-color: rgba(244, 191, 25, .65);

    box-shadow:
        0 8px 25px rgba(8, 61, 43, .06);
}


/* =========================================================
   QUESTION
========================================================= */

.cn-faq-question {
    width: 100%;
    min-height: 64px;

    padding: 16px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    border: 0;
    outline: 0;

    background: transparent;

    color: #083D2B;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    text-align: left;

    cursor: pointer;
}

.cn-faq-question span {
    flex: 1;
}


/* =========================================================
   PLUS ICON
========================================================= */

.cn-faq-question i {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #083D2B;
    color: #F4BF19;

    font-size: 16px;
    font-style: normal;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.cn-faq-item.active .cn-faq-question i {
    transform: rotate(45deg);

    background: #F4BF19;
    color: #083D2B;
}


/* =========================================================
   ANSWER
========================================================= */

.cn-faq-answer {
    display: grid;
    grid-template-rows: 0fr;

    transition:
        grid-template-rows .3s ease;
}

.cn-faq-answer p {
    min-height: 0;
    overflow: hidden;

    margin: 0;
    padding: 0 20px;

    color: #66736d;

    font-size: 14px;
    line-height: 1.65;
}

.cn-faq-item.active .cn-faq-answer {
    grid-template-rows: 1fr;
}

.cn-faq-item.active .cn-faq-answer p {
    padding-bottom: 18px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .cn-faq-section {
        padding: 58px 0 65px;
    }

    .cn-faq-heading {
        margin-bottom: 34px;
    }

    .cn-faq-heading h2 {
        font-size: 40px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .cn-faq-section {
        padding: 50px 0 58px;
    }

    .cn-faq-section .container {
        width: calc(100% - 28px);
    }

    .cn-faq-heading {
        margin-bottom: 27px;
    }

    .cn-faq-kicker {
        gap: 7px;
        margin-bottom: 11px;

        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .cn-faq-kicker span {
        width: 27px;
    }

    .cn-faq-kicker b {
        font-size: 12px;
    }

    .cn-faq-heading h2 {
        font-size: 32px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .cn-faq-heading p {
        margin-top: 9px;

        font-size: 13px;
        line-height: 1.5;
    }

    .cn-faq-item {
        margin-bottom: 9px;
        border-radius: 11px;
    }

    .cn-faq-question {
        min-height: 58px;

        padding: 14px 15px;

        gap: 10px;

        font-size: 13px;
        line-height: 1.35;
    }

    .cn-faq-question i {
        width: 29px;
        height: 29px;
        flex-basis: 29px;

        font-size: 15px;
    }

    .cn-faq-answer p {
        padding: 0 15px;

        font-size: 13px;
        line-height: 1.55;
    }

    .cn-faq-item.active .cn-faq-answer p {
        padding-bottom: 15px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .cn-faq-heading h2 {
        font-size: 29px;
    }

    .cn-faq-question {
        font-size: 12.5px;
    }

    .cn-faq-question i {
        width: 27px;
        height: 27px;
        flex-basis: 27px;
    }
}