/* =========================================
   BOSS FAQ PAGE
   Loads after style.css
========================================= */

.faq-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 95px;
    background:
        radial-gradient(circle at 8% 14%, rgba(238,232,248,.72), transparent 27%),
        radial-gradient(circle at 92% 15%, rgba(223,244,232,.86), transparent 28%),
        #fff;
}

.faq-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.faq-hero-copy h1 {
    max-width: 720px;
    font-size: clamp(52px,5.6vw,80px);
    line-height: 1;
    letter-spacing: -4px;
}

.faq-hero-copy h1 span {
    display: block;
    color: var(--mintStrong);
}

.faq-hero-copy > p {
    max-width: 620px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 18px;
}

.faq-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.faq-hero-card {
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: rgba(255,255,255,.95);
    box-shadow: var(--shadow);
}

.faq-hero-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin-bottom: 25px;
    border-radius: 17px;
    background: var(--mint);
    color: var(--mintStrong);
}

.faq-hero-icon svg {
    width: 24px;
    height: 24px;
}

.faq-hero-card > span {
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 900;
    color: #78817b;
}

.faq-hero-card h2 {
    margin-top: 8px;
    font-size: 35px;
    line-height: 1.06;
    letter-spacing: -1.7px;
}

.faq-hero-card p {
    margin-top: 15px;
    color: var(--muted);
    font-size: 14px;
}


/* FAQ SECTION */

.faq-section {
    padding: 100px 0 115px;
    background: #fff;
}

.faq-search-wrap {
    position: relative;
    max-width: 760px;
    margin: 0 auto 35px;
}

.faq-search-wrap svg {
    position: absolute;
    left: 18px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: #899198;
}

.faq-search-wrap input {
    width: 100%;
    height: 58px;
    padding: 0 20px 0 52px;
    border: 1px solid #dfe4e6;
    border-radius: 16px;
    outline: none;
    background: #fbfcfc;
    color: var(--ink);
    font: inherit;
    font-size: 14px;
    box-shadow: 0 10px 28px rgba(37,45,52,.05);
}

.faq-search-wrap input:focus {
    border-color: var(--mintStrong);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(95,174,131,.10);
}

.faq-list {
    display: grid;
    gap: 13px;
    max-width: 980px;
    margin: auto;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(37,45,52,.04);
    transition: .2s ease;
}

.faq-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 30px rgba(37,45,52,.06);
}

.faq-item[open] {
    border-color: #d8e8df;
    background: linear-gradient(145deg,#fff,#f8fcfa);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 20px 62px 20px 24px;
    list-style: none;
    cursor: pointer;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--mint);
    color: var(--mintStrong);
    font-size: 20px;
    font-weight: 500;
    transition: .2s ease;
}

.faq-item[open] summary::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
    background: var(--mintStrong);
    color: #fff;
}

.faq-answer {
    padding: 0 62px 24px 24px;
    animation: faqReveal .22s ease;
}

.faq-answer p {
    max-width: 850px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-no-results {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    max-width: 680px;
    margin: 45px auto 0;
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fbfcfc;
    text-align: center;
}

.faq-no-results svg {
    width: 25px;
    height: 25px;
    color: var(--mintStrong);
}

.faq-no-results strong {
    font-size: 15px;
}

.faq-no-results span {
    color: var(--muted);
    font-size: 11px;
}


/* CTA */

.faq-final-cta {
    padding: 115px 20px 125px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 100%, rgba(223,244,232,.75), transparent 30%),
        #fff;
}

.faq-final-cta h2 {
    max-width: 820px;
    margin: auto;
    font-size: clamp(44px,5vw,68px);
    line-height: 1.03;
    letter-spacing: -3px;
}

.faq-final-cta p {
    max-width: 630px;
    margin: 20px auto 29px;
    color: var(--muted);
    font-size: 16px;
}

.faq-final-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}


@media(max-width: 900px) {
    .faq-hero-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 620px) {
    .faq-hero {
        padding: 75px 0 80px;
    }

    .faq-hero-copy h1 {
        font-size: 48px;
        letter-spacing: -2.8px;
    }

    .faq-hero-card {
        padding: 30px;
    }

    .faq-section {
        padding: 75px 0 90px;
    }

    .faq-item summary {
        min-height: 65px;
        padding: 17px 55px 17px 18px;
        font-size: 13px;
    }

    .faq-item summary::after {
        right: 15px;
    }

    .faq-answer {
        padding: 0 18px 20px;
    }
}
