#section-page-howitworks-intro {
    padding-top: 150px;
    position: relative;
    overflow: hidden;
}

@media only screen and (max-width: 660px) {
    #section-page-howitworks {
        padding-top: 80px;
    }
}

#section-page-howitworks-intro h2 {
    font-family: var(--font-heading);
    font-size: 60px;
    line-height: 70px;
    font-weight: 900;
    margin: 0 0 40px 0;
}

#section-page-howitworks-intro-video {
    border-radius: 20px;
    overflow: hidden;
}

#section-page-howitworks-intro-video img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 150px);
    object-fit: cover;
}


#section-page-howitworks-steps {
    margin: 100px 0;
}

.section-page-howitworks-step {
    display: grid;
    grid-template-areas:
        "image spacing header"
        "image spacing content"
    ;
    grid-template-columns: 410px 1fr 630px;
}

.section-page-howitworks-step + .section-page-howitworks-step {
    margin-top: 120px;
}

.section-page-howitworks-step:nth-of-type(odd) {
    grid-template-areas:
        "header spacing image"
        "content spacing image"
    ;
    grid-template-columns: 630px 1fr 410px;
}

.section-page-howitworks-step-header {
    grid-area: header;
    max-width: 630px;
}

.section-page-howitworks-step-header h3 {
    font-size: 25px;
    line-height: 32px;
    margin: 0 0 5px 0;
    font-family: var(--font-text);
    font-weight: 900;
}

.section-page-howitworks-step-header p {
    font-size: 60px;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 70px;
    margin: 0 0 40px 0;
}

.section-page-howitworks-step-content {
    grid-area: content;
    font-size: 16px;
    line-height: 30px;
    max-width: 520px;
}

.section-page-howitworks-step-content p {
    margin: 0 0 30px 0;
}

.section-page-howitworks-step-content p + p {
    margin: 0;
}

.section-page-howitworks-step-image {
    grid-area: image;
    width: 410px;
    height: 410px;
    position: relative;
    border-radius: 100%;
    overflow: hidden;
    background-color: #eee;
}

.section-page-howitworks-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.section-page-howitworks-faq {
    background-color: var(--color-primary);
    border-radius: 20px;
    max-width: 850px;
    margin: 0 auto 20px auto;
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease-in-out;
}

#section-page-howitworks-faqs {
    margin-bottom: 100px;
}

#section-page-howitworks-faqs input {
    display: none;
}

#section-page-howitworks-faqs h2 {
    font-family: var(--font-text);
    font-size: 25px;
    line-height: 32px;
    font-weight: 900;
    text-align: center;
    margin: 0 0 40px 0;
}

.section-page-howitworks-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 40px;
    cursor: pointer;
}

.section-page-howitworks-faq-question i {
    transition: transform 0.45s ease-in-out;
    font-size: 20px;
}

.section-page-howitworks-faq-question h3 {
    margin: 0;
}

.section-page-howitworks-faq-answer {
    overflow: hidden;
    transition: all 0.35s ease-in-out;
    max-height: 500px;
    padding: 0 40px 26px 40px;
}

.section-page-howitworks-faq-answer p {
    margin: 0 0 30px 0;
    font-size: 16px;
    line-height: 30px;
}

.section-page-howitworks-faq-answer li {
    margin: 0;
    font-size: 16px;
    line-height: 30px;
}

#section-page-howitworks-faqs input:checked + .section-page-howitworks-faq {
    background-color: var(--color-light);
}
#section-page-howitworks-faqs input:not(:checked) + .section-page-howitworks-faq .section-page-howitworks-faq-answer {
    max-height: 0;
    padding: 0px 40px;
}
#section-page-howitworks-faqs input:not(:checked) + .section-page-howitworks-faq .section-page-howitworks-faq-close {
    display: none;
}
#section-page-howitworks-faqs input:checked + .section-page-howitworks-faq .section-page-howitworks-faq-question i {
    transform: rotate(180deg);
}

.section-page-howitworks-faq-close {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}


@media only screen and (max-width: 1000px) {
    .section-page-howitworks-step-header h2 {
        font-size: 20px;
        line-height: 25px;
    }
    .section-page-howitworks-step-header p,
    #section-page-howitworks-intro h2 {
        font-size: 35px;
        line-height: 45px;
    }

    .section-page-howitworks-step {
        display: flex;
        flex-direction: column;
    }

    .section-page-howitworks-step-image {
        order: -1;
        margin-bottom: -100px;
    }

    .section-page-howitworks-step-header,
    .section-page-howitworks-step-content {
        position: relative;
        z-index: 2;
    }

    .section-page-howitworks-step + .section-page-howitworks-step {
        margin-top: 50px;
    }

    #section-page-howitworks-intro {
        padding-top: 100px;
    }
}
@media only screen and (max-width: 665px) {
    .section-page-howitworks-faq-answer {
        padding: 0 20px 10px 20px;
    }
    .section-page-howitworks-faq-question {
        padding: 10px 20px;
    }
    .section-page-howitworks-faq-answer {
        max-height: calc(100vh - 100px);
    }
    #section-page-howitworks-faqs input:not(:checked) + .section-page-howitworks-faq .section-page-howitworks-faq-answer {
        padding: 0px 20px;
        max-height: 0;
    }
}

@media only screen and (max-width: 450px) {
    .section-page-howitworks-step-image {
        position: relative;
        padding-bottom: 100%;
        width: 100%;
        height: auto;
    }
}