/* =========================================
   UZAYO FAQ PAGE
========================================= */

.faq-page {
    min-height: 75vh;
    padding: 100px 20px 120px;
    background: #ffffff;
}

.faq-container {
    width: min(1000px, 100%);
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.faq-header {
    max-width: 820px;
    margin: 0 auto 70px;
    text-align: center;
}

.faq-eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    color: #b89b5e;

    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.faq-header h1 {
    margin: 0 0 22px;

    color: #111111;

    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.2rem);
    font-weight: 500;
    line-height: 0.95;
    letter-spacing: -1.5px;
}

.faq-header p {
    max-width: 700px;
    margin: 0 auto;

    color: #777777;

    font-size: 0.95rem;
    line-height: 1.8;
}


/* =========================================
   FAQ LIST
========================================= */

.faq-list {
    width: min(820px, 100%);
    margin: 0 auto;

    border-top: 1px solid #e5e5e5;
}


/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
    border-bottom: 1px solid #e5e5e5;
}


/* =========================================
   QUESTION
========================================= */

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 25px 5px;

    color: #111111;

    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;

    cursor: pointer;

    list-style: none;

    transition: color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}

.faq-item summary:hover {
    color: #b89b5e;
}


/* =========================================
   PLUS ICON
========================================= */

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex-shrink: 0;

    border: 1px solid #dddddd;
    border-radius: 50%;

    color: #777777;

    font-family: Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 300;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


/* =========================================
   OPEN STATE
========================================= */

.faq-item[open] summary {
    color: #b89b5e;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);

    background: #111111;
    border-color: #111111;

    color: #ffffff;
}


/* =========================================
   ANSWER
========================================= */

.faq-answer {
    max-width: 720px;

    padding: 0 55px 28px 5px;

    animation: faqOpen 0.25s ease;
}

.faq-answer p {
    margin: 0 0 15px;

    color: #666666;

    font-size: 0.87rem;
    line-height: 1.85;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer strong {
    color: #222222;
    font-weight: 600;
}


/* =========================================
   FAQ LINKS
========================================= */

.faq-link {
    display: inline-block;

    margin-top: 7px;

    color: #111111;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-decoration: none;

    border-bottom: 1px solid #b89b5e;

    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}

.faq-link:hover {
    color: #b89b5e;
}


/* =========================================
   CONTACT SECTION
========================================= */

.faq-contact {
    width: min(820px, 100%);

    margin: 70px auto 0;
    padding: 50px 35px;

    box-sizing: border-box;

    border-radius: 20px;

    background: #f7f6f3;

    text-align: center;
}

.faq-contact-eyebrow {
    display: block;

    margin-bottom: 12px;

    color: #b89b5e;

    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.faq-contact h2 {
    margin: 0 0 12px;

    color: #111111;

    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 500;
}

.faq-contact p {
    margin: 0 0 25px;

    color: #777777;

    font-size: 0.85rem;
    line-height: 1.7;
}


/* =========================================
   CONTACT BUTTON
========================================= */

.faq-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 25px;

    border-radius: 999px;

    background: #111111;
    color: #ffffff;

    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;

    text-decoration: none;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.faq-contact-button span {
    font-size: 1rem;

    transition: transform 0.3s ease;
}

.faq-contact-button:hover {
    background: #b89b5e;

    transform: translateY(-2px);
}

.faq-contact-button:hover span {
    transform: translateX(5px);
}


/* =========================================
   ANIMATION
========================================= */

@keyframes faqOpen {

    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .faq-page {
        padding: 75px 20px 90px;
    }

    .faq-header {
        margin-bottom: 55px;
    }

    .faq-header h1 {
        font-size: clamp(2.8rem, 10vw, 4.2rem);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 520px) {

    .faq-page {
        padding: 60px 18px 75px;
    }

    .faq-header {
        margin-bottom: 45px;
    }

    .faq-eyebrow {
        font-size: 0.6rem;
        letter-spacing: 2.4px;
    }

    .faq-header h1 {
        margin-bottom: 18px;

        font-size: 2.75rem;
        line-height: 0.98;
    }

    .faq-header p {
        font-size: 0.85rem;
        line-height: 1.75;
    }

    .faq-item summary {
        padding: 21px 2px;

        font-size: 0.92rem;
    }

    .faq-icon {
        width: 27px;
        height: 27px;

        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 35px 24px 2px;
    }

    .faq-answer p {
        font-size: 0.82rem;
    }

    .faq-contact {
        margin-top: 50px;
        padding: 40px 22px;
    }

    .faq-contact h2 {
        font-size: 1.7rem;
    }

}