@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=block');

/** Reset de estilos */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    outline: 0;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    color: #fff;
    background: #000;
    font-family: Arial, sans-serif;
    font-size: 1em;
    line-height: 1em;
    z-index: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
:focus { outline: 0; }
:required, :invalid {
    outline: 0;
    box-shadow: none;
}
html {
    height: 100%;
}
div {
    position: relative;
}
img {
    -ms-interpolation-mode: nearest-neighbor;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
button:focus, input:focus {
    outline: 0;
}
.noselect {
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
}
button {
    border: 0;
    border-radius: 0;
    cursor: pointer;
}
strong {
    font-weight: bold;
}
a {
    text-decoration: none;
}
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button, 
input[type="number"]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

/** General */
:root {
    --font: Arial, sans-serif;
    --font-headers: 'Oswald', Arial, sans-serif;

    --main-color: #e42e3c;
    --main-color-filter: brightness(0) saturate(100%) invert(29%) sepia(42%) saturate(4937%) hue-rotate(338deg) brightness(90%) contrast(97%);
    --main-color-hover: #f64f5e;
    --secondary-color: #fec931;
}
.hidden {
    display: none;
}
html {
    scroll-behavior: smooth;
}
body {
    width: 100%;
    height: 100dvh;
    padding: 0;
    font-size: 1.2em;
}
main {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
}
header {
    display: flex;
    flex-flow: row nowrap;
    gap: 0 50px;
    width: 100%;
    height: 100px;
    padding: 0 50px;
    background: #000;

    .header__logo {
        position: relative;
        flex: 0 0 auto;

        img {
            position: absolute;
            top: 15px;
        }
    }
    nav {
        flex: 1 0 auto;
        height: 100%;

        ul {
            display: flex;
            flex-flow: row nowrap;
            align-items: center;
            justify-content: flex-end;
            height: 100%;

            li {
                height: 100%;
                font: normal 1.2em/1.2em var(--font-headers);
                text-transform: uppercase;

                a {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    height: 100%;
                    color: #fff;
                    padding: 20px;
                    text-align: center;

                    &:hover {
                        color: var(--secondary-color);
                    }
                }
            }
        }
    }
    .header__contact {
        flex: 0 0 auto;
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
    }
}

section {
    width: 100%;
    border-bottom: 1px solid #333;
}
.home {
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 600px;
    padding: 80px;
    background: #161616 url(../images/header.png) no-repeat center top;

    h1 {
        margin-bottom: 20px;
        font: bold 8em/.75em var(--font-headers);
        letter-spacing: 4px;
        text-transform: uppercase;
        text-shadow: 2px 2px 2px #000;

        span {
            display: block;
            font-size: .5em;
            color: var(--secondary-color);
        }
    }
    h2 {
        margin-bottom: 50px;
        font: normal 2em/1.15em var(--font-headers);
        letter-spacing: 1px;
    }
    p {
        flex: 1 0 auto;
        max-width: 40%;
        font: normal 1em/1.5em var(--font);
    }
}
.services {
    padding: 20px 40px 60px;
    background: #060606;

    h2 {
        position: relative;
        margin: 0 auto 40px;
        padding-bottom: 20px;
        font: normal 2.5em/1.25em var(--font-headers);
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;

        &:after {
            position: absolute;
            display: block;
            content: "";
            width: 80px;
            height: 4px;
            bottom: 0;
            left: 50%;
            background: var(--secondary-color);
            transform: translateX(-50%);
        }
    }

    .services-grid {
        display: flex;
        flex-flow: row nowrap;
        align-items: stretch;
        justify-content: center;
        gap: 40px;

        .services-grid__element {
            --element-color: var(--main-color);
            --icon-filter: var(--main-color-filter);
            --section-background: #111;
            flex: 0 0 calc(33% - 40px);
            display: flex;
            flex-flow: column nowrap;
            align-items: stretch;
            justify-content: center;

            .services-grid__element-image {
                line-height: 0;

                img {
                    max-width: 100%;
                }
            }
            .services-grid__element-info {
                position: relative;
                flex: 1 0 auto;
                padding: 70px 20px 20px;
                border: 1px solid var(--element-color);
                background: var(--section-background);

                .services-grid__element-icon {
                    position: absolute;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    top: 0;
                    left: 50%;
                    width: 100px;
                    height: 100px;
                    padding: 15px;
                    border: 2px solid var(--element-color);
                    border-radius: 50%;
                    background: var(--section-background);
                    transform: translate(-50%, -50%);

                    img {
                        max-width: 100%;
                        max-height: 100%;
                        margin-bottom: 8px;
                        filter: var(--icon-filter);
                    }
                }
                h3 {
                    margin-bottom: 20px;
                    color: var(--element-color);
                    font: normal 1.5em/1.5em var(--font-headers);
                    letter-spacing: 2px;
                    text-align: center;
                    text-transform: uppercase;
                }
                p {
                    margin-bottom: 20px;
                    font-size: .9em;
                    line-height: 1.5em;

                    span {
                        color: var(--element-color);
                    }
                    &:last-child {
                        margin-bottom: 0;
                    }
                }
                ul {
                    list-style-type: disc;
                    margin: 0 0 20px 30px;

                    li {
                        margin-bottom: 10px;
                        font-size: .9em;
                        line-height: 1.2em;

                        &::marker {
                            color: var(--element-color);
                        }
                    }
                }
            }
        }
    }
}
.about {
    padding: 20px 40px 40px;
    background: #111 url(../images/about-us.png) no-repeat right center/auto 100%;

    h2 {
        position: relative;
        margin: 0 auto 40px;
        padding-bottom: 20px;
        font: normal 2.5em/1.25em var(--font-headers);
        text-transform: uppercase;
        letter-spacing: 2px;

        &:after {
            position: absolute;
            display: block;
            content: "";
            width: 80px;
            height: 4px;
            bottom: 0;
            left: 0;
            background: var(--main-color);
        }
    }
    p {
        width: 40%;
        margin-bottom: 20px;
        font-size: .9em;
        line-height: 1.5em;

        &:last-child {
            margin-bottom: 0;
        }
    }
}
.why-us {
    padding: 20px 40px 60px;
    background: #060606;

    h2 {
        position: relative;
        margin: 0 auto 40px;
        padding-bottom: 20px;
        font: normal 2.5em/1.25em var(--font-headers);
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 2px;

        &:after {
            position: absolute;
            display: block;
            content: "";
            width: 80px;
            height: 4px;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            background: var(--main-color);
        }
    }
    .why-us-grid {
        display: flex;
        flex-flow: row nowrap;
        align-items: stretch;
        justify-content: center;
        gap: 20px;
        width: 100%;

        .why-us-grid__element {
            flex: 0 1 calc(20% - 20px);
            display: flex;
            flex-flow: column nowrap;
            align-items: center;
            justify-content: flex-start;
            padding-right: 20px;
            border-right: 1px solid #fec93155;

            &:last-child {
                border-right: 0;
            }
            .why-us-grid__element-icon {
                margin-bottom: 20px;

                img {
                    filter: var(--main-color-filter);
                }
            }
            p {
                color: var(--secondary-color);
                font: bold 1.4em/1.4em var(--font-headers);
                text-align: center;
                text-transform: uppercase;
            }
        }
    }
}
.contact {
    padding: 20px 40px 40px;
    background: #111 url(../images/contact.png) no-repeat right center/auto 100%;

    h2 {
        position: relative;
        margin: 0 auto 40px;
        padding-bottom: 20px;
        font: normal 2.5em/1.25em var(--font-headers);
        text-transform: uppercase;
        letter-spacing: 2px;

        &:after {
            position: absolute;
            display: block;
            content: "";
            width: 80px;
            height: 4px;
            bottom: 0;
            left: 0;
            background: var(--main-color);
        }
    }
    .contact__grid {
        display: flex;
        flex-flow: row nowrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;

        .contact__info {
            flex: 0 0 calc(30% - 20px);
            display: flex;
            flex-flow: column nowrap;
            gap: 25px;

            .contact__info-element {
                display: flex;
                flex-flow: row nowrap;
                align-items: center;
                justify-content: flex-start;
                gap: 15px;
                color: #fff;

                a&:hover {
                    color: #ccc;
                }
                .contact__info-element-image {
                    flex: 0 0 40px;

                    img {
                        max-width: 100%;
                        max-height: 100%;
                        border-radius: 50%;
                        background: #333;
                    }
                    span.icon {
                        display: flex;
                        flex-flow: row nowrap;
                        align-items: center;
                        justify-content: center;
                        width: 40px;
                        height: 40px;
                        border-radius: 50%;
                        color: #fff;
                        background: #333;
                    }
                }
                .contact__info-element-data {
                    h3 {
                        font: normal 1em/1.2em var(--font-headers);
                    }
                    p {
                        font: normal .9em/1.2em var(--font);
                    }
                }
            }
        }
        .contact__form {
            flex: 0 0 calc(40% - 20px);

            form {
                display: flex;
                flex-flow: column nowrap;
                align-items: flex-start;
                justify-content: flex-start;
                gap: 10px;

                .input {
                    width: 100%;
                    padding: 12px 15px;
                    border: 1px solid #333;
                    color: #fff;
                    background: #000;
                    font: normal .9em/1em var(--font);

                    textarea& {
                        height: 150px;
                        margin-bottom: 10px;
                    }
                }
            }
        }
    }
}

footer {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 80px;
    padding: 0 50px;
    background: #000;

    .footer__logo {
        flex: 0 0 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        font-size: 0;
        line-height: 0;

        img {
            max-width: 100%;
            max-height: 100%;
        }
    }
    .footer__copyright {
        flex: 0 0 calc(100% - 128px);
        font: normal .9em/1em var(--font);
        text-align: center;
    }

/*    .footer__languages ul {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 5px;

        button {
            width: 40px;
            background: transparent;

            img {
                max-width: 100%;
            }
        }
    }
*/}

.button {
    display: inline-block;
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    background: var(--main-color);
    font: normal 1em/1em var(--font-headers);
    text-transform: uppercase;

    &:hover {
        background: var(--main-color-hover);
    }
    span.icon {
        &.icon-left {
            margin-right: 12px;
        }
        &.icon-right {
            margin-left: 12px;
        }
    }
}
.nospam {
    display: none;
}

@media (max-width: 1450px) {
    header nav ul li:first-of-type {
        display: none;
    }

    .home {
        background-position: 80% top;
    }
}
@media (max-width: 1350px) {
    header {
        gap: 0 25px;
        padding: 0 25px;
    }
    header nav ul li a {
        padding: 10px;
    }
    .home {
        padding: 50px 60px;
    }
}
@media (max-width: 1200px) {
    header {
        height: 80px;
        font-size: .8em;
    }
    header .header__logo img {
        max-width: 80px;
        max-height: 80px;
    }

    .why-us .why-us-grid {
        flex-wrap: wrap;
        gap: 40px 20px;

        .why-us-grid__element {
            flex: 1 0 calc(33% - 20px);

            &:nth-child(3n) {
                border-right: 0;
            }
        }
    }
}
@media (max-width: 1023px) {
    header {
        flex-wrap: wrap;
        height: initial;
        padding-top: 10px;
        font-size: .9em;
    }
    header .header__logo img {
        position: relative;
        top: 0;
        padding-top: 10px;
    }
    header nav {
        flex: 1 0 100%;
        order: 3;

        ul {
            padding: 15px 0;
            flex-wrap: wrap;
            justify-content: center;
        }
    }
    header .header__contact {
        flex: 1 0 auto;
    }

    .home p {
        max-width: 100%;
    }
    .services .services-grid {
        flex-wrap: wrap;

        .services-grid__element {
            flex: 1 0 100%;
        }
    }
    .about {
        background-image: none;

        p {
            width: 100%;
        }
    }
    .contact .contact__grid .contact__form {
        flex: 0 0 calc(70% - 20px);
    }
}
@media (max-width: 767px) {
    .home {
        padding: 40px;
        min-height: auto;
    }
    .home h1 {
        font-size: 6em;
    }
    .why-us .why-us-grid .why-us-grid__element {
        flex: 1 0 calc(50% - 20px);

        &:nth-child(2n) {
            border-right: 0;
        }
        &:nth-child(3n) {
            border-right: 1px solid #fec93155;
        }
    }
    .contact {
        background-image: none;

        .contact__grid {
            flex-wrap: wrap;
            
            .contact__info {
                flex: 1 0 100%;
                flex-flow: row wrap;
                margin-bottom: 30px;
            }
            .contact__form {
                flex: 1 0 100%;
            }
        }
    }
}
@media (max-width: 550px) {
    header .header__contact a:last-of-type {
        display: none;
    }

    .why-us .why-us-grid .why-us-grid__element {
        flex: 1 0 100%;
        padding-bottom: 35px;
        border-right: 0;
        border-bottom: 1px solid #fec93155;

        &:last-child {
            border-bottom: 0;
        }
        &:nth-child(3n) {
            border-right: 0;
        }
    }

    footer .footer__logo {
        display: none;
    }
    footer .footer__copyright {
        flex: 1 0 100%;
    }
}
@media (max-width: 500px) {
    .home h1 {
        font-size: 4em;
    }
}

/** Modal */
html.modal__open,
body.modal__open {
/*    overflow: hidden;*/
}
body.modal__open {
    > header,
    > main,
    > footer {
        filter: blur(5px);
    }
}
.modal {
    position: fixed;
    overflow: auto;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #000;
    background: rgba(0, 0, 0, .75);
    opacity: 0;
    transition: opacity .1s ease-in-out;
    z-index: -1;

    &.modal__open {
        opacity: 1;
        z-index: 200;
        &.modal__alert,
        &.modal__confirm {
            z-index: 210;
        }
        & .modal__container {
            margin-top: 0;
        }
    }
    &.modal__alert,
    &.modal__confirm {
        .modal__container {
            width: auto;
            min-width: auto;

            .modal__content {
                width: auto;
            }
        }
    }
    .modal__container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 90%;
        max-width: 90%;
        margin: -50px auto 0;
        transition: margin-top .4s ease-in-out;
        &:before {
            display: block;
            content: '';
            height: 90vh;
        }
    }
    .modal__content {
        position: relative;
        width: 100%;
        border-radius: 20px;
        border: 1px solid #fff3;
    }
    .modal__title {
        position: relative;
        margin: 0;
        padding: 15px 80px 15px 20px;
        border-radius: 20px 20px 0 0;
        color: #fff;
        background: #000;
        font: normal 1.4rem/1.1em var(--font-headers);
        transition: border-radius .1s ease-in-out;
    }
    &.modal__alert-success .modal__title {
        background: #6c6;
    }
    &.modal__alert-error .modal__title {
        background: #c66;
    }
    .modal__close {
        position: absolute;
        top: calc(50% + 2px);
        right: 20px;
        font: bold 3rem/1em Arial, sans-serif;
        text-transform: uppercase;
        transform: translateY(-50%);
        cursor: pointer;

        &:hover {
            color: #ddd;
        }
    }
    .modal__body {
        padding: 25px 20px;
        border-radius: 0 0 20px 20px;
        background: #fff;
        font-size: 1.2rem;
        line-height: 1.8rem;
        transition: all .1s ease-in-out;
        overflow: hidden;

        &.modal__body-notitle {
            border-radius: 20px;
        }
        main {
            padding: 0;
        }
    }
}

.alert__success {
    color: #090;
}
.alert__error {
    color: #c00;
}
.alert__content {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
}
.alert__message {
    width: 100%;
    text-align: center;
}
.alert__buttons {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 20px;
    margin: 30px auto 0;

    .button {
        padding: 12px 18px;
        color: #000;
        border-radius: 8px;
        color: #fff;
        background: var(--main-color);
        font: normal .9em/1.2em var(--font-headers);

        &:hover,
        &:focus {
            filter: none;
            background: var(--main-color-hover);
        }
        &.button-green {
            background: #6c6;

            &:hover {
                background: #8e8;
            }
        }
    }
}

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon.eot?ra1tw9');
  src:  url('../fonts/icomoon.eot?ra1tw9#iefix') format('embedded-opentype'),
    url('../fonts/icomoon.ttf?ra1tw9') format('truetype'),
    url('../fonts/icomoon.woff?ra1tw9') format('woff'),
    url('../fonts/icomoon.svg?ra1tw9#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-phone2:before {
  content: "\ea1d";
}
.icon-envelop:before {
  content: "\ea30";
}
.icon-location:before {
  content: "\ea38";
}
.icon-paperplane:before {
  content: "\ec09";
}
.icon-whatsapp:before {
  content: "\eef2";
}