/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: #171717;

    background: #ffffff;

    line-height: 1.6;
}


button,
input {
    font: inherit;
}


/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding:
        0
        45px;

    background: #ffffff;

    border-bottom:
        1px solid #e7e7e7;

    position: sticky;

    top: 0;

    z-index: 100;
}


.logo {
    color: #111111;

    text-decoration: none;

    font-size: 26px;
    font-weight: 700;
}


.home-btn {
    padding:
        9px
        14px;

    color: #333333;

    text-decoration: none;

    border-radius: 9px;
}


.home-btn:hover {
    background: #f1f1f1;
}


/* =========================================
   PAGE
========================================= */

.faq-page {
    width: 100%;

    padding:
        70px
        20px
        100px;
}


/* =========================================
   HEADING
========================================= */

.faq-heading {
    width: min(
        800px,
        100%
    );

    margin:
        0
        auto
        35px;

    text-align: center;
}


.small-title {
    display: inline-block;

    margin-bottom: 12px;

    color: #777;

    font-size: 13px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}


.faq-heading h1 {
    margin-bottom: 15px;

    font-size:
        clamp(
            38px,
            6vw,
            58px
        );

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.faq-heading p {
    color: #6c6c6c;

    font-size: 17px;
}


/* =========================================
   SEARCH BOX
========================================= */

.faq-search {
    width: min(
        720px,
        100%
    );

    height: 58px;

    margin:
        0
        auto
        55px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding:
        0
        18px;

    background: #f6f6f6;

    border:
        1px solid #e2e2e2;

    border-radius: 18px;
}


.faq-search span {
    font-size: 18px;
}


.faq-search input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: #222;

    font-size: 16px;
}


.faq-search input::placeholder {
    color: #929292;
}


/* =========================================
   FAQ CONTAINER
========================================= */

.faq-container {
    width: min(
        850px,
        100%
    );

    margin: auto;
}


/* =========================================
   CATEGORY
========================================= */

.faq-category {
    margin-bottom: 55px;
}


.faq-category h2 {
    margin-bottom: 17px;

    color: #222;

    font-size: 22px;
}


/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
    margin-bottom: 10px;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid #e5e5e5;

    border-radius: 14px;
}


/* =========================================
   QUESTION
========================================= */

.faq-question {
    width: 100%;

    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        17px
        20px;

    color: #1d1d1d;

    background: #ffffff;

    border: none;

    cursor: pointer;

    text-align: left;

    font-size: 16px;
    font-weight: 600;
}


.faq-question:hover {
    background: #fafafa;
}


/* =========================================
   + / × ICON
========================================= */

.faq-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #333;

    background: #f0f0f0;

    border-radius: 50%;

    font-size: 21px;
    font-weight: 400;

    transition:
        transform 0.25s ease;
}


.faq-item.active
.faq-icon {
    transform: rotate(45deg);
}


/* =========================================
   ANSWER
========================================= */

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition:
        max-height 0.35s ease;
}


.faq-answer p {
    margin-bottom: 12px;

    color: #5f5f5f;

    font-size: 15px;
}


.faq-answer p:last-child {
    margin-bottom: 0;
}


.faq-item.active
.faq-answer {
    max-height: 600px;
}


.faq-answer {
    padding:
        0
        20px;
}


.faq-item.active
.faq-answer {
    padding:
        0
        20px
        20px;
}


/* =========================================
   LINKS
========================================= */

.answer-link {
    display: inline-block;

    margin-top: 5px;

    color: #1769d2;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
}


.answer-link:hover {
    text-decoration: underline;
}


/* =========================================
   MINI PRICING TABLE
========================================= */

.mini-table {
    margin:
        16px
        0;

    overflow: hidden;

    border:
        1px solid #e4e4e4;

    border-radius: 12px;
}


.mini-table > div {
    display: grid;

    grid-template-columns:
        1fr
        100px
        130px;

    align-items: center;

    gap: 10px;

    padding:
        12px
        14px;

    border-bottom:
        1px solid #ededed;

    color: #555;

    font-size: 14px;
}


.mini-table > div:last-child {
    border-bottom: none;
}


.mini-table strong {
    color: #222;
}


/* =========================================
   NO RESULTS
========================================= */

.no-results {
    display: none;

    padding: 50px 20px;

    text-align: center;

    color: #777;

    font-size: 16px;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    padding:
        35px
        20px;

    text-align: center;

    border-top:
        1px solid #e5e5e5;
}


.footer-links {
    display: flex;

    justify-content: center;
    flex-wrap: wrap;

    gap: 22px;

    margin-bottom: 15px;
}


.footer-links a {
    color: #555;

    text-decoration: none;

    font-size: 14px;
}


.footer-links a:hover {
    color: #111;

    text-decoration: underline;
}


.footer p {
    color: #888;

    font-size: 13px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .header {
        min-height: 65px;

        padding:
            0
            16px;
    }


    .logo {
        font-size: 22px;
    }


    .home-btn {
        padding:
            7px
            9px;

        font-size: 13px;
    }


    .faq-page {
        padding:
            45px
            14px
            70px;
    }


    .faq-heading {
        text-align: left;

        margin-bottom: 25px;
    }


    .faq-heading h1 {
        font-size: 37px;
    }


    .faq-heading p {
        font-size: 15px;
    }


    .faq-search {
        height: 54px;

        margin-bottom: 40px;

        border-radius: 15px;
    }


    .faq-category {
        margin-bottom: 42px;
    }


    .faq-category h2 {
        font-size: 19px;
    }


    .faq-question {
        min-height: 60px;

        padding:
            15px
            16px;

        font-size: 15px;
    }


    .faq-answer {
        padding:
            0
            16px;
    }


    .faq-item.active
    .faq-answer {
        padding:
            0
            16px
            17px;
    }


    .mini-table > div {
        grid-template-columns:
            1fr
            auto;
    }


    .mini-table span:last-child {
        grid-column:
            1 / -1;

        font-size: 13px;
    }

}