/* Background */

main {
    background-image: url(/assets/img/index/hero.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 800px) {
    main {
        background-image: url(/assets/img/index/hero-mobile.jpg);
        background-size: 100%;
    }
}

/************
Hero
 */

#hero {
    position: relative;
}

#heroHeader {
    padding: 70px 20px 60px;
}

#heroLogo {
    max-width: 330px;
    margin: 0 auto 47px;
}

#heroTitle {
    font-weight: 500;
    font-size: 47px;
    line-height: 42px;
    color: var(--brown);
    text-align: center;
    margin-bottom: 10px;
}

#heroSubtitle {
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    line-height: 42px;
    letter-spacing: 1px;
    margin-bottom: 63px;
    margin-top: 0;
}

#heroButtons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

#heroList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 475px;
    margin: 0 auto;
    font-size: 21px;
    row-gap: 4px;
    column-gap: 15px;
    text-align: center;
    list-style: none;
    padding: 0;
}

#heroBody {
    max-width: 768px;
    font-size: 21px;
    line-height: 32px;
    margin: auto;
    text-align: center;
    padding: 60px 20px;
}

@media (max-width: 800px) {
    #heroHeader {
        padding: 50px 10px 60px;
    }

    #heroLogo {
        max-width: 200px;
        margin-bottom: 30px;
    }

    #heroTitle {
        font-size: 28px;
        line-height: 24px;
        margin-bottom: 0;
    }

    #heroSubtitle {
        font-size: 15px;
        line-height: 42px;
        margin-bottom: 85px;
    }

    #heroList {
        font-size: 16px;
        column-gap: 0;
        max-width: 345px;
    }

    #heroBody {
        font-size: 18px;
        line-height: 26px;
        padding: 60px 20px 50px;
    }
}

/**************
Benefits
 */

#benefits {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px 60px;
    width: 100%;
}

#benefitsGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
    column-gap: 20px;
    position: relative;
}

.benefitsGridItem {
}

.benefitsGridItemImage {
    display: block;
    width: auto;
    height: 75px;
    margin: 0 auto 20px;
}

.benefitsGridItemImage.scale {
    transform: scale(1.3)
}

.benefitsGridItemTitle {
    font-size: 16px;
    text-align: center;
    max-width: 215px;
    margin: 0 auto;
    line-height: 1.4;
}

@media (max-width: 800px) {
    #benefits {
        padding: 0 30px 40px;
    }

    #benefitsTitle {
        font-size: 25px;
        margin-bottom: 40px;
    }

    #benefitsGrid {
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
        row-gap: 30px;
    }

    .benefitsGridItem {
    }

    .benefitsGridItemImage {
        margin-bottom: 12px;
    }

    .benefitsGridItemTitle {
        font-size: 14px;
    }

    .benefitsGridItemTitle br {
        display: none;
    }
}

/******************* How ***********************/

#how {
    max-width: 1000px;
    margin: auto;
    padding: 10px 20px 40px;
}

#howGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    column-gap: 30px;
    margin-bottom: 40px;
}

#howSteps {
    display: grid;
    row-gap: 30px;
}

#howTitle {
    font-size: 40px;
    margin: 0;
}

.howStep {
    display: grid;
    grid-template-columns: 50px auto;
    column-gap: 15px;
    row-gap: 6px;
    align-items: center;
}

.howStepNumber {
    font-weight: 700;
    font-size: 23px;
    background-color: var(--brown);
    border-radius: 100%;
    color: white;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.howStepTitle {
    margin: 0;
    font-weight: 500;
    font-size: 20px;
}

.howStepTitle span {
    color: var(--brown)
}

.howStepBody {
    margin: 0;
    grid-column: 1/3;
    line-height: 1.6;
}

@media (max-width: 800px) {
    #how {
        padding: 50px 30px 20px;
    }

    #howGrid {
        grid-template-columns: 1fr;
        row-gap: 40px;
        margin-bottom: 20px;
    }

    #howTitle {
        text-align: center;
        font-size: 34px;
    }

    .howStep {
        display: flex;
        flex-direction: column;
        text-align: center;
    }
}

/**************** Frame ****************/


#frame {
    max-width: 1000px;
    margin: auto;
    padding: 10px 20px 40px;
}

#frameTitle {
    font-size: 40px;
    margin: 0 0 10px;
    text-align: center;
}

#frameTitle span {
    color: var(--brown);
}

#frameSubtitle {
    font-size: 18px;
    text-align: center;
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.4;
}

#frameImage {
    max-width: 600px;
    border-radius: 20px;
    border: 5px solid var(--brown);
    margin: auto;
}

@media (max-width: 800px) {
    #frame {
        padding: 50px 30px 20px;
    }

    #frameTitle {
        font-size: 34px;
    }

    #frameSubtitle {
        font-size: 14px;
    }
}


/**************** Testimonial ******************/

#testimonials {
    max-width: 1040px;
    padding: 50px 20px;
    margin: auto;
    display: grid;
    row-gap: 50px;
}

.testimonial {
}

.testimonialBar {
    display: flex;
    align-items: center;
    gap: 21px;
}

.testimonialBar img {
    max-width: 50px;
}

.testimonialBar div {
    height: 4px;
    width: 100%;
}

.testimonialBar div:last-child {
    background-color: var(--brown);
}

.testimonialBar div:first-child {
    background-color: var(--black);
}

.testimonialBody {
    font-size: 16px;
    line-height: 24px;
    padding: 0 15px;
    margin: 30px 0 20px;
}

.testimonialBody span {
    color: var(--brown);
    display: block;
    margin-top: 20px;
}