

html {
    font-size: 62.5%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    
    /* variables */
    --color-black: #070707;
    --color-white: #f4f4f4;
    --color-highlight: #FAFF00;

    --phone: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --large-desktop: 1200px;

    /* font */
    --font-primary: "Roboto", system-ui;
    --font-secondary: "Russo One", system-ui;
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

*, *:before, *:after {
    box-sizing: inherit;
}
  
body {
    font-family: "Roboto", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 1.6rem;
}

a {
    all: unset;
    cursor: pointer;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    max-width: 100rem;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* utilities */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.px-2 {
    padding: 0 2rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.w-fit {
    width: fit-content;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-white);
    color: var(--color-black);
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--color-white);
    cursor: pointer;
    border-radius: 1rem;
    transition: transform .3s;
    width: fit-content;
    margin: 0 auto;

    &:hover {
        transform: translateY(-2px);
    }
}

.btn--outline {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);

    &:hover {
        background-color: var(--color-white);
        color: var(--color-black);
    }
}

/* Header */


/* Hero */
.hero {
    /* background-color: var(--color-black); */
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
    min-height: calc(100svh - 76px);

    .header {

        display: flex;
        align-items: flex-end;
        padding: 2rem 2rem;
        color: var(--color-white);
    
        .logo {
            width: 36px;
            height: 36px;
            margin-right: 1.5rem;

            > a {
                display: block;
                width: 100%;
                height: 100%;
            }

            > img {
                width: 100%;
                height: 100%;
            }
        }
    
        .logo-texto {
            color: var(--color-white);
            margin: 0 .5rem;
            font-weight: 900;
            font-size: 2.8rem;
            
            span {
                font-weight: 700;
            }
        }
    
    }

}

.hero__container {
    
    display: grid;
    grid-template-columns: 1fr;

    min-height: calc(100svh - 37px);
    justify-content: center;
    align-content: center;

    color: var(--color-white);

    padding-bottom: 2rem;

}

.hero__content {
    
    .title {
        font-family: var(--font-secondary);
        font-size: 3rem;
        font-weight: 500;
        text-align: center;
    }

    .text {
        text-align: center;
        margin-bottom: 5rem;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
    }

}

@media (min-width: 769px) {
    .hero {
        background-position: center, bottom right, center;
    }

    .hero__container {
        grid-template-columns: 1fr 1fr;
        max-width: 90%;
        margin: 0 auto;
    }

    .hero__content {

        .title {
            text-align: start;
        }

        .text {
            text-align: start;
            font-size: 2rem;
            margin-bottom: 3rem;
        }

        .btn-container {
            flex-direction: row;
            justify-content: flex-start;
        }

        .btn {
            margin: 0;
        }
    }
}

/* Services */
.services {
    
    .title {
        font-family: var(--font-secondary);
        font-size: 3rem;
        font-weight: 500;
        text-align: center;
        margin-block: 5rem;
    }
}

.service {
    
    margin-bottom: 5rem;

    .icon {
        font-size: 4rem;
        color: var(--color-black);
        display: block;
        text-align: center;
    }

    > h3, > p {
        text-align: center;
    }

}

@media (min-width: 480px) {
    
    .services__list {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        align-items: center;
        justify-content: center;
    }

    .service {
        flex: 1 1 33%;
    }
}

/* slogan */
.slogan {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 5rem 0;

    .title {
        font-family: var(--font-secondary);
        font-size: 3rem;
        font-weight: 500;
        text-align: center;
        margin-top: 5rem;
        margin-bottom: 3rem;
    }

    .text {
        text-align: center;
        font-size: 2.4rem;
    }

    .highlight {
        font-size: 3.6rem;
        font-weight: 700;
        background-color: var(--color-highlight);
        color: var(--color-black);
        display: block;
        width: fit-content;
        padding: .5rem 2rem;
        margin-left: auto;
        text-align: center;
    }
}

@media (min-width: 480px) {
    .slogan {
        .title {
            text-align: start;
        }

        .text {
            text-align: start;
        }
    }
}

/* Benefits */
.benefits {
    padding-top: 5rem;
    padding-bottom: 7rem;
    position: relative;

    .title {
        font-family: var(--font-secondary);
        font-size: 3.2rem;
        font-weight: 500;
        text-align: center;
        margin-block: 5rem;
    }

    .text {
        text-align: center;
        font-size: 2.4rem;
    }
}

.benefits::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5rem;
    background-color: var(--color-black);
    clip-path: polygon(0 100%, 100% -1px, 0 -1px);
}

.benefits::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7rem;
    background-color: var(--color-black);
    clip-path: polygon(0 0, 0 101%, 100% 101%, 100% 0, 50% 101%);
}

.benefits__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.benefit__item {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
    border-radius: 1.5rem;
    transition: transform .3s;

    &:hover {
        transform: scale(1.05);
    }
}

.benefit__item:has(img){
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: 1/1;
    object-fit: contain;

    > img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: bottom;
    }
}

.benefit__item:nth-child(7) {
    aspect-ratio: 1/1;
    width: 100%;
    background-position: center;
    background-size: 100% contain;
    background-repeat: no-repeat;

    display: grid;
    align-content: center;
    text-align: center;
    color: var(--color-white);
}

@media (min-width: 480px) {
    .benefits__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefit__item:nth-child(1) {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .benefit__item:nth-child(2) {
        grid-row: 1 / 3;
    }

    .benefit__item:nth-child(3) {
        grid-column: 2 / 3;
    }

    .benefit__item:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: 2 / 4;
    }

    .benefit__item:nth-child(6) {
        aspect-ratio: 2 / 1;
    }

    .benefit__item:nth-child(7) {
        grid-column: 1 / 3;
        grid-row: 6 / 8;
        aspect-ratio: 2 / 1;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }


}


/* Contact */
.contact {
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: 2rem;
    padding-bottom: 2rem;

    .title {
        font-family: var(--font-secondary);
        font-size: 3.2rem;
        font-weight: 500;
        text-align: center;
        margin-block: 5rem;
    }

    .grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-content: center;
        align-items: center;
    }

    > h3, p {
        text-align: center;
    }

    .subtitle {
        text-align: center;
    }

}

@media (min-width: 769px) {
    .contact .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact__content {
        margin-bottom: 10rem;
    }
}



.contact__item {

    margin-bottom: 2rem;
    width: fit-content;
    margin: 0 auto;
    margin-bottom: 1.5rem;

    > i {
        font-size: 3rem;
        text-align: center;
        margin-right: 1rem;
    }
    > a {
        text-align: center;
        font-size: 2rem;
        color: var(--color-white);
        text-decoration: none;
    }
}

/* Forms */
.forminator-ui.forminator-custom-form {
    
    .forminator-row {
        margin-bottom: 0 !important;
    }

    .forminator-row .forminator-field {
        
        label {
            display: block;
        }

        input, textarea {
            width: 100%;
            padding: 1rem;
            margin-bottom: 1rem;
            border: 1px solid var(--color-black);
            border-radius: 1rem;
            font-size: 1.6rem;
        }

        .forminator-button.forminator-button-submit {
            display: block;
            width: fit-content;
            background-color: var(--color-white);
            color: var(--color-black);
            border: 1px solid var(--color-white);
            border-radius: 1rem;
            padding: 1rem 2rem;
            font-size: 1.6rem;
            cursor: pointer;
            transition: transform .3s;
            margin-left: auto;

            &:hover {
                transform: translateY(-2px);
            }
        }
    }

}

.forminator-edit-module {
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding-top: 3rem;
    padding-bottom: 3rem;

    .copyright {
        margin: 0;
        text-align: center;
    }
}