/* FAQ page specific styles. */

.faq-page {
    padding-bottom: 13.8rem;
}

.faq-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42rem;
    gap: 8rem;
    align-items: center;
    width: calc(100% - var(--edge-padding));
    margin: 0 var(--edge-padding) 0 0;
    padding: 8.8rem 14rem 11.6rem;
    border-radius: 0 0.8rem 0.8rem 0;
    background: var(--mint-light);
}

.faq-kicker {
    color: var(--mint-dark);
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.5;
}

.faq-title {
    margin-top: 0.8rem;
    color: var(--mint-dark);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(8.4rem, 6.46vw, 12.4rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.faq-hero-lead {
    width: min(100%, 62rem);
    margin-top: 4.6rem;
    color: var(--muted);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.2;
}

.faq-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36rem;
}

.faq-hero-visual::before {
    content: "";
    position: absolute;
    inset: 1.2rem 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.28);
}

.faq-hero-image {
    position: relative;
    z-index: 1;
    width: 128%;
    max-width: none;
    height: auto;
}

.faq-list-wrap {
    padding: 12.4rem 0 9rem;
}

.faq-heading {
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 8rem;
    align-items: end;
    margin-bottom: 6.2rem;
}

.faq-heading-title {
    color: var(--text);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.45;
}

.faq-list {
    display: grid;
    gap: 4.4rem;
}

.faq-item {
    position: relative;
    min-height: 35rem;
    padding: 4.6rem 9.2rem 5.2rem 15.2rem;
    border-radius: 0.8rem;
    background: rgba(212, 240, 233, 0.72);
    overflow: visible;
}

.faq-item::before,
.faq-item::after {
    content: "";
    position: absolute;
    z-index: 1;
    display: block;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.faq-item::before {
    left: 2.8rem;
    bottom: -1.8rem;
    width: clamp(10rem, 8.8vw, 17rem);
    aspect-ratio: 583 / 1336;
    background-image: url("../img/faq-person-male.webp");
}

.faq-item::after {
    right: 2.8rem;
    top: -3.2rem;
    width: clamp(10rem, 8.2vw, 16rem);
    aspect-ratio: 603 / 1559;
    background-image: url("../img/faq-person-female.webp");
}

.faq-question {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 5.6rem 1fr;
    gap: 2rem;
    align-items: center;
    width: min(100%, 94rem);
    padding: 2.4rem 3.2rem;
    border-radius: 0.8rem;
    background: var(--mint-deep);
    color: var(--white);
}

.faq-question::after {
    content: "";
    position: absolute;
    left: 8.4rem;
    bottom: -1.7rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 1.8rem 1.4rem 0 0;
    border-color: var(--mint-deep) transparent transparent transparent;
}

.faq-question-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background: var(--white);
    color: var(--mint-deep);
    font-family: "Montserrat", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
}

.faq-question-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.7;
}

.faq-answer {
    position: relative;
    z-index: 2;
    width: min(100%, 90rem);
    margin: 3.2rem 0 0 auto;
    padding: 3.2rem 4rem;
    border: 0.1rem solid var(--line);
    border-radius: 0.8rem;
    background: var(--white);
    box-shadow: 0 1.8rem 4rem rgba(25, 139, 120, 0.08);
}

.faq-answer::after {
    content: "";
    position: absolute;
    right: 7.4rem;
    top: -1.6rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 1.8rem 1.8rem;
    border-color: transparent transparent var(--white) transparent;
}

.faq-answer-text {
    color: var(--muted);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2.05;
}

.faq-contact {
    display: grid;
    grid-template-columns: 36rem 1fr 22rem;
    gap: 5.8rem;
    align-items: center;
    padding: 5.6rem 6.4rem;
    border: 0.1rem solid var(--line);
    border-radius: 0.8rem;
    background: var(--white);
}

.faq-contact-title {
    margin-top: 0.6rem;
    color: var(--mint-dark);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.45;
}

.faq-contact-text {
    color: var(--muted);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2;
}

.faq-contact .button-small {
    width: 100%;
    margin-top: 0;
}

@media (max-width: 1024px) {
    .faq-page {
        padding-bottom: 7.2rem;
    }

    .faq-hero {
        display: block;
        width: calc(100% - 2rem);
        margin: 0 2rem 0 0;
        padding: 4.8rem 2rem 5.2rem;
    }

    .faq-kicker {
        font-size: 1.4rem;
    }

    .faq-title {
        font-size: 5.6rem;
    }

    .faq-hero-lead {
        margin-top: 2.4rem;
        font-size: 1.5rem;
        line-height: 2;
    }

    .faq-hero-visual {
        min-height: 22rem;
        margin-top: 3rem;
    }

    .faq-hero-visual::before {
        inset: 0 3.2rem;
    }

    .faq-hero-image {
        width: 118%;
    }

    .faq-list-wrap {
        padding: 7.2rem 0 5.4rem;
    }

    .faq-heading {
        display: block;
        margin-bottom: 3.4rem;
    }

    .faq-heading-title {
        margin-top: 0.8rem;
        font-size: 2.9rem;
    }

    .faq-list {
        gap: 2.4rem;
    }

    .faq-item {
        min-height: 0;
        padding: 2.4rem 1.6rem 2.8rem;
    }

    .faq-item::before,
    .faq-item::after {
        content: none;
    }

    .faq-question {
        grid-template-columns: 4.4rem 1fr;
        gap: 1.2rem;
        padding: 1.8rem 1.6rem;
    }

    .faq-question::after {
        left: 4.8rem;
    }

    .faq-question-no {
        width: 3.6rem;
        height: 3.6rem;
        font-size: 1.2rem;
    }

    .faq-question-title {
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .faq-answer {
        width: 100%;
        margin-top: 2.8rem;
        padding: 2.2rem 1.8rem;
    }

    .faq-answer::after {
        right: 3rem;
    }

    .faq-answer-text {
        font-size: 1.5rem;
        line-height: 2;
    }

    .faq-contact {
        display: block;
        padding: 3.2rem 2.2rem;
    }

    .faq-contact-title {
        font-size: 2.4rem;
    }

    .faq-contact-text {
        margin: 2rem 0 2.6rem;
        font-size: 1.5rem;
    }
}
