*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
}
body{
    font-family: 'Roboto', sans-serif;
}
html{
    scroll-behavior: smooth;
}

/* NAV */
nav{
    width: 100%;
    position: absolute;
    top: 0;
}
nav a{
    text-decoration: none;
    color: #ffffff;
    cursor: pointer;
}
nav ul{
    top: 0;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    list-style: none;
    font-size: 1rem;
    color: #FFFFFF;
}
nav ul li svg{
    height: 2.5rem;
}
nav .CTA-red{
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #BC4749;
    color: #1A1A1A;
    font-size: 1rem;
    color: #FFFFFF;
    cursor: pointer;
}


/* HEADER */
header{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 7rem 0 4rem 0;
    background: rgb(20,38,28);
    background: linear-gradient(212deg, rgba(20,38,28,1) 0%, rgba(56,102,65,0.9542191876750701) 100%);
    color: #FFFFFF;
}
header h1{
    font-size: 3rem;
    font-family: 'Fugaz One', sans-serif;
    text-transform: uppercase;
}
header h2{
    font-size: 1.5rem;
    font-weight: 400;
    width: 25rem;
    text-align: center;
}
header .CTA-green{
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #A7C957;
    color: #1A1A1A;
    font-size: 1rem;
    margin-top: 2rem;
    cursor: pointer;
}

/* HOW WE WORK */
#how-we-work{
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
}
#how-we-work h2{
    font-size: 3rem;
    text-align: center;
}
#how-we-work h3{
    font-size: 1.1rem; 
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    text-align: center;
}
#how-we-work p{
    font-size: 1rem;
    font-weight: 400;
}
.grid-cards{
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: repeat(3, auto);
    grid-template-areas: 
        'a b c' 
        'd e f' 
        'g h i';
    margin: 0 auto;
    margin-top: 7rem;
}
#how-we-work .grid-cards .card{
    padding: 1rem;
    width: 26rem;
    gap: 1rem;
    /*aspect-ratio: 1.8/1;*/
    box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 6px 6px rgba(0,0,0,0.16);
    position: relative;
    background-color: #FFFFFF;
}
#how-we-work .grid-cards .card .back{
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    background-color: #FFFFFF;
}
#how-we-work .grid-cards .card .number{
    font-size: 8rem;
    font-weight: 900;
    color: #6A994E;
    opacity: 30%;
    position: absolute;
    top: -7rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}
#how-we-work .grid-cards .card .image{
    background: gray;
    width: auto;
    height: auto;
    overflow: hidden;
}
#how-we-work .grid-cards .card .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#how-we-work .grid-cards .card .copies{
    padding: 1rem 0.8rem 0 0.6rem;
}
#how-we-work .one{
    grid-area: a;
}
#how-we-work .two{
    grid-area: f;
}
#how-we-work .three{
    grid-area: g;
}
#how-we-work .dot{
    width: 1rem;
    height: 1rem;
    background-color: #6A994E;
    border-radius: 50%;
    align-self: center;
    justify-self: center;
    margin: 0 2rem;
    position: relative;
}
#how-we-work .dot-one::after{
    content: '';
    height: 30rem;
    width: 2px;
    background-color: #6A994E;
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
}
#how-we-work .dot-one{
    grid-area: b;
}
#how-we-work .dot-two{
    grid-area: e;
}
#how-we-work .dot-three{
    grid-area: h;
}

/* VALOR */
#valor{
    background: rgb(242,232,207);
    background: linear-gradient(333deg, rgba(242,232,207,1) 0%, rgba(87,201,140,1) 100%);
    padding: 5rem 0;
    width: 100vw;
    overflow: hidden;
}
#valor h2{
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}
#valor .slider{
    display: grid;
    grid-template-columns: repeat(3, 50rem);
    gap: 3rem;
    position: relative;
    margin-left: calc(50% - 25rem);
    transition: transform 0.5s ease-in-out;
}
#valor .slide{
    width: 50rem!important;
    aspect-ratio: 2.2/1;
    background: rgb(36,67,45);
    background: linear-gradient(333deg, rgba(36,67,45,1) 0%, rgba(36,67,45,0.55) 100%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 6px 6px rgba(0,0,0,0.16);
}
#valor .slide .image{
    background: gray;
    width: auto;
    height: auto;
    overflow: hidden;
}
#valor .slide .image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#valor .slide .copies{
    padding: 1.5rem 0 0 1.5rem;
}
#valor .slide .copies h3{
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 1rem;
}
#valor .slide .copies p{
    color: #FFFFFF;
    font-size: 1rem;
}
#valor .counter{
    display: flex;
    justify-content: space-between;
    width: 25rem;
    margin: 0 auto;
    position: relative;
}
#valor .counter::after{
    content: '';
    width: 23rem;
    height: 2px;
    background-color: rgb(36,67,45);
    position: absolute;
    top: 1.5rem;
    left: 2rem;
}
#valor .cnt{
    width: 3rem;
    height: 3rem;
    display: grid;
    place-content: center;
    background-color: rgb(36,67,45);
    font-size: 1.75rem;
    color: #FFFFFF;
    border-radius: 50%;
    margin-bottom: 2rem;
    cursor: pointer;
    position: relative;
    z-index: 99;
}

/* SIGN UP */
#sign-up{
    padding: 0;
    max-width: 1200px;
    margin: 5rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    gap: 2rem;
    background: rgb(242,232,207);
    background: linear-gradient(333deg, rgba(242,232,207,0.2) 0%, rgba(87,201,140,0.4) 100%);
    box-shadow: 10px 10px 15px rgba(242,232,207,0.2);
    border-radius: 2rem;
}
#sign-up .column-1{
    padding: 4rem;
    background: rgb(20,38,28);
    background: linear-gradient(212deg, rgba(20,38,28,1) 0%, rgba(56,102,65,0.9542191876750701) 100%);
    color: #FFFFFF;
    border-radius: 2rem;
}
#sign-up .column-2{
    padding: 1rem;
    padding-top: 2rem;
}
#sign-up .column-1 h3,
#sign-up .column-2 h3{
    font-size: 2rem;
    margin-bottom: 1rem;
}
#sign-up .column-1 p{
    font-size: 1.2rem;
}
form{
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}
form label{
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
form input,
form textarea{
    border: 1px solid black;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    border-radius: 5px;
    opacity: 0.7;
}
form input:focus,
form textarea:focus{
    background-color: #e7e5e0d1; 
    opacity: 1;
}
form textarea{
    height: 10rem;
    resize:none; 
}
.submit-btn{
    align-self: flex-end;
}
#submit,
#submit-slide{
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #BC4749;
    color: #1A1A1A;
    font-size: 1rem;
    color: #FFFFFF;
}
.submit-btn button:disabled {
    background-color: #cccccc!important;
    color: #666666!important;
    cursor: not-allowed;
}
.submit-btn button:enabled {
    background-color: #BC4749!important; 
    color: #ffffff!important; 
    cursor: pointer!important;
}
.radio-buttons input[type="radio"] {
    display: none;
}
.radio-buttons label {
    display: inline-block;
    padding: 0.4rem 1.1rem;
    border: 1px solid #222;
    border-radius: 0.5rem;
    background-color: #ffffff;
    opacity: 0.7;
    cursor: pointer;
    user-select: none;
}
.radio-buttons input[type="radio"]:checked + label {
    background-color: #F2E8CF; 
    border-color: var(--main-color);
    opacity: 1;
}
#termsCheckbox{
    margin-bottom: 0;
}
.terms-checkbox{
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1rem;
}
.terms{
    cursor: pointer;
    color: #BC4749;
}

/* FAQ */
#faq{
    padding: 5rem 0;
}
#faq h2{
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}
#faq .accordion{
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
#faq .accordion .accordion-item {
    background-color: #f2e8cfb0;
    padding: 0 2rem;
}
#faq .accordion .accordion-item button[aria-expanded='true'] {
    border-bottom: 1px solid rgb(36,67,45);
}
#faq .accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: #010101;
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}
#faq .accordion button:hover, .accordion button:focus {
    cursor: pointer;
    color: #6A994E;
}
#faq .accordion button:hover::after, .accordion button:focus::after {
    cursor: pointer;
    color: #03b5d2;
    border: 1px solid #6A994E;
}
#faq .accordion button .accordion-title {
    padding: 1em 1.5em 1em 0;
}
#faq .accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 0;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
}
#faq .accordion button .icon::before {
    display: block;
    position: absolute;
    content: '';
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}
#faq .accordion button .icon::after {
    display: block;
    position: absolute;
    content: '';
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}
#faq .accordion button[aria-expanded='true'] {
    color: #6A994E;
}
#faq .accordion button[aria-expanded='true'] .icon::after {
    width: 0;
}
#faq .accordion button[aria-expanded='true'] + .accordion-content {
    opacity: 1;
    max-height: 100%;
    transition: all 200ms linear;
}
#faq .accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
}
#faq .accordion .accordion-content p {
    font-size: 1rem;
    font-weight: 300;
    margin: 2em 0;
}

/* FOOTER */
footer{
    padding: 5rem 1.5rem;
    color: #FFFFFF;
    background: rgb(20,38,28);
    background: linear-gradient(212deg, rgba(20,38,28,1) 100%, rgba(56,102,65,0.9542191876750701) 0%);
}
footer .footer-grid{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
}
footer .column-1{
    max-width: 26rem;
}
footer .logo{
    margin-bottom: 2rem;
}
footer .CTA-green{
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #A7C957;
    color: #1A1A1A;
    font-size: 1rem;
    margin-top: 3rem;
    cursor: pointer;
}
footer .quote{
    position: relative;
}
footer .quote-1{
    position: absolute;
    bottom: -2rem;
    left: -2rem;
}
footer .quote-2{
    position: absolute;
    top: -2rem;
    right: -2rem;
}
footer h4{
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
footer a{
    color: #FFFFFF;
    text-decoration: none;
}
footer .column-2{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
footer .social{
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}


.register-btn{
    height: 3rem;
    width: auto;
    background-color: #BC4749;
    position: fixed;
    right: 0;
    top: 70%;
    display: grid;
    place-content: center;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    z-index: 99999;
    cursor: pointer;
    color: #FFFFFF;
    padding: 0 1rem;
}
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 60vw;
    height: 50vh;
    overflow: scroll;
}
.popupConfirm {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    overflow: scroll;
}
.popup h2,
.popupConfirm h2{
    margin-bottom: 1rem;
}
.popup p{
    margin-bottom: 2rem;
}
.popup button,
.popupConfirm button{
    padding: 0.7rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    background-color: #BC4749;
    color: #1A1A1A;
    font-size: 1rem;
    color: #FFFFFF;
}
.overlay,
.overlayConfirm {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

@media(max-width: 767px){
    .desktop-only{
        display: none;
    }
    nav ul{
        padding: 1.5rem;
        justify-content: space-between;
    }
    header{
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    header h1{
        font-size: 2.5rem;
    }
    header h2{
        font-size: 1.2rem;
        width: auto;
    }
    .grid-cards{
        display: grid;
        padding: 0 1.5rem;
        grid-template-columns: 4rem auto;
        grid-template-areas: 
            'b a' 
            'e f' 
            'h g';
        margin: 0;
        margin-top: 7rem;
        row-gap: 7rem;
        justify-content: center;
    }
    #how-we-work{
        width: 100vw;
        overflow: hidden;
    }
    #valor .slider{
        display: grid;
        grid-template-columns: repeat(3, 80vw);
        gap: 5vw;
        position: relative;
        margin-left: calc(50% - 40vw);
        transition: transform 0.5s ease-in-out;
    }
    #valor .slide{
        width: 100%!important;
        height: auto;
        aspect-ratio: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    #valor .slide .image{
        width: 100%;
        aspect-ratio: 1/0.8;
    }
    #valor .slide .copies{
        padding: 0;
    }
    #valor .slide .copies h3{
        color: #FFFFFF;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    #valor .slide .copies p{
        color: #FFFFFF;
        font-size: 1rem;
    }
    #faq{
        padding: 5rem 1.5rem;
    }
    footer .footer-grid{
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 4rem;
    }
    footer .social{
        margin-bottom: 3rem;
    }
    #sign-up{
        padding: 0 0;
        margin: 5rem 1.5rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    #sign-up .column-1{
        padding: 1.5rem;
        background-color: #24432D;
        color: #FFFFFF;
    }
    #how-we-work .grid-cards .card{
        padding: 1rem;
        width: auto;
        max-width: 20rem;
        gap: 1rem;
        aspect-ratio: auto;
        box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 6px 6px rgba(0,0,0,0.16);
        position: relative;
        background-color: #FFFFFF;

    }
    #how-we-work .grid-cards .card .back{
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        row-gap: 1rem;
    }
    #how-we-work .grid-cards .card .image{
        width: 100%;
        aspect-ratio:1/1;
    }
    #how-we-work .grid-cards .card .copies{
        padding: 1rem 1rem 2rem 1rem;
    }
    #how-we-work .dot-one::after{
        content: '';
        height: 170vh;
        width: 2px;
        background-color: #6A994E;
        position: absolute;
        top: 0.5rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .dot-three::after{
        content: '';
        height: 10rem;
        width: 2px;
        background-color: #FFFFFF;
        position: absolute;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
    }
    .counter{
        display: flex;
        justify-content: space-between;
        width: 80vw!important;
        margin: 0 auto;
        padding: 0 0;
        position: relative;
    }
    .cnt{
        width: 3rem;
        height: 3rem;
        display: grid;
        place-content: center;
        background-color: rgb(36,67,45);
        font-size: 1.75rem;
        color: #FFFFFF;
        border-radius: 50%;
        margin-bottom: 2rem;
        cursor: pointer;
        position: relative;
        z-index: 99;
    }
    .counter::after{
        content: '';
        width: 70vw!important;
        height: 2px;
        background-color: rgb(36,67,45);
        position: absolute;
        top: 1.5rem;
        left: 2rem;
    }
    #sign-up .column-1 h3{
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    #sign-up .column-1 p{
        font-size: 1rem;
    }
}






#valor .slider {
    cursor: grab;
    user-select: none;
}

#valor .slider:active {
    cursor: grabbing;
}



