* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wow {
    animation-duration: 1s !important;
    /* animation-timing-function: linear; */
}


.delay {
    animation-delay: 0.5s !important;
}

.delay1 {
    animation-delay: 1s !important;
}

.delay2 {
    animation-delay: 1.5s !important;
}

.delay3 {
    animation-delay: 2s !important;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

section {
    max-width: 100vw;
    width: 100vw;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
}

:root {
    --normalize: -8rem;
    --width: calc(100% - 16rem);
    --max-width: 2000px;
    --padding: 0rem 8rem;
    --center: 0 auto;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp {
    background-color: #25D366;
    width: 6rem;
    height: 6rem;
    border-radius: 100rem;
    border: 1px solid black;
    position: fixed;
    right: 2rem;
    z-index: 10001;
    bottom: 5rem;
}

.whatsapp a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp i {
    font-size: 3rem;
    color: white;
}

.button {
    min-width: 10rem;
    width: fit-content;
    min-height: 4rem;
    padding: 1rem 2rem;
    background-color: #DC2D2C;
    border: 1px solid #ff9d0b;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    border-radius: 10rem;
}

.button:hover {
    background-color: #f73434e3;
}

.button.secondary {
    background-color: white;
    border: 2px solid #DC2D2C;
    color: #DC2D2C;
}

.button.secondary:hover {
    background-color: whitesmoke;
}

header {
    height: 10rem;
    width: 100%;
    margin: var(--center);
    position: fixed;
    z-index: 1000;
    background-color: #e1e1e1;
    display: flex;
    align-items: center;
    border-bottom: 1px solid black;
}

nav {
    width: var(--width);
    margin: var(--center);
    height: 100%;
    padding: 0rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: transparent;
    position: relative;
}

nav>a:first-child {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav>a:last-child {
    display: none;
}

header nav .menu__button {
    display: none;
}

header figure,
header picture {
    display: block;
    height: 8rem;
    mix-blend-mode: multiply;

    img {
        object-fit: contain;
    }
}

header .menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10rem;
    height: 100%;
    width: 100%;
}

.menu li>a,
.menu li>p {
    font-size: 1.6rem;
    color: black;
    font-weight: 500;
    transition: all 0.3s linear;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.menu a.contact-option {
    font-weight: 700;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu a.contact-option img {
    min-width: 2.5rem;
    max-width: 2.5rem;
    height: 2.5rem;
}

.menu a:hover {
    text-decoration: underline;
}

.menu>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    width: fit-content;
}

.menu .button__secondary {
    min-height: 5rem;
}

nav.mov {
    display: none;
}

nav .redes {
    display: flex;
    align-items: center;
    gap: 1rem;
}

nav .redes a {
    font-size: 2rem;
}

p {
    font-size: 1.8rem;
    font-weight: 400;
}

h2 {
    font-size: 4.5rem;
    font-weight: 600;
}

body main section:first-of-type {
    padding-top: 10rem !important;
}

section {
    padding: var(--padding);
    margin-bottom: 10rem;
}

.bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
}

.bg figure {
    width: 100%;
    height: 100%;
}

/* HERO  */

red {
    color: #DC2D2C;
}

h1 {
    font-size: 6rem;
}

.blue-oval {
    background-color: #406594;
    height: 6rem;
    width: 18rem;
    border-radius: 10rem;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#hero {

    h2 {
        font-size: 4rem;
        font-weight: 700;
    }

    min-height: calc(100dvh - 10rem);

    .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        min-height: calc(100dvh - 10rem);
        row-gap: 10rem;
    }

    .content {
        flex-basis: 30rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;


    }

    .images {
        flex-basis: 50rem;
        flex-grow: 1;
        max-width: 100%;

        display: flex;
        justify-content: center;
        align-items: center;
        gap: 3rem;
    }

    figure {
        flex-basis: 27rem;
        height: 70dvh;
        border-radius: 100rem;
        overflow: hidden;

        &:first-of-type {
            transform: translateY(10dvh);
        }
    }
}

p {
    margin: 2rem 0;
    font-size: 2.2rem;
    color: #6F6F6F;
}

/* HERO  */


/* NOSOTROS  */

#nosotros {
    padding-top: 10rem;
    position: relative;

    &::after {
        content: "";
        width: 6rem;
        height: 50rem;
        background-color: #DC2D2C;
        position: absolute;
        top: 0;
        right: 0;
    }


    h2 {
        text-align: center;
        width: 100rem;
        margin: var(--center);
        max-width: 90%;
    }

    p {
        text-align: center;
        width: 100rem;
        margin: var(--center);
        max-width: 90%;
        margin-top: 3rem;
    }

    video {
        width: 100rem;
        max-width: 100%;
        height: 50rem;
        display: block;
        margin: var(--center);
        margin-top: 5rem;

        height: auto;
    }

    .container {
        margin-top: 5rem;
        display: flex;
        flex-wrap: wrap;
        gap: 3rem;


        div {
            flex-basis: 30rem;
            flex-grow: 1;

            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: center;

            figure {
                width: 11rem;
                height: 11rem;

                img {
                    object-fit: contain;
                }

            }

            p {
                width: 100%;
                margin-top: 0rem;
            }

            span {
                background-color: #d9d9d9;
                padding: 0.25rem 2rem;
                border-radius: 10rem;
            }

            h4 {
                font-size: 3rem;
            }

        }
    }
}

/* NOSOTROS  */


/* SERVICIOS */

#servicios {
    position: relative;
    padding-top: 10rem;

    &::after {
        content: "";
        width: 6rem;
        height: 50rem;
        position: absolute;
        top: 0;
        left: 0;
        background-color: #DC2D2C;
    }

    h2 {
        text-align: center;

        &.big {
            font-size: 6rem;
            text-align: left;
        }
    }

    .container {
        display: flex;
        flex-wrap: wrap;
        column-gap: 10rem;
        row-gap: 2rem;
        margin-top: 5rem;
        align-items: center;
        justify-content: space-between;

        &:last-of-type {
            margin-top: 10rem;
        }
    }

    .text {
        flex-basis: 30rem;
        flex-grow: 1;
    }

    .images {
        flex-basis: 30rem;
        flex-grow: 1;
    }

    .parent {
        display: flex;
        flex-direction: column;
        gap: 2rem;

        .top {
            display: flex;
            gap: 2rem;

            .left {
                flex-basis: 16rem;
                display: flex;
                flex-direction: column;
                gap: 2rem;

                .first {
                    height: 16rem;
                }

                .second {
                    height: 24rem;
                }
            }

            .right {
                flex-basis: 34rem;
            }
        }

        .bottom {
            height: 16rem;
            background-color: #406594;
            border-radius: 1rem;
            max-width: 52rem;
        }

        figure {
            border-radius: 1rem;
            overflow: hidden;
            width: 100%;
            height: 100%;
        }
    }

    ul {
        list-style: disc;
        padding-left: 3rem;

        li {
            font-size: 2.2rem;
            color: #6F6F6F;
        }
    }
    
}

/* SERVICIOS */

/* CONTACT */

#contact {
    .container {
        display: flex;
        flex-wrap: wrap;
        row-gap: 2rem;
        min-height: 50rem;
    }

    .left {
        flex-basis: 30rem;
        flex-grow: 1;
        padding: 2rem;
        background-color: #fdf4f4;

        form {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;

            input {
                flex-basis: 30rem;
                flex-grow: 1;
                border: 1px solid #d9d9d9;
                height: 4rem;
                background-color: transparent;
                text-indent: 1rem;
                font-size: 1.8rem;
                color: black;
            }

            textarea {
                flex-basis: 100%;
                border: 1px solid #d9d9d9;
                background-color: transparent;
                height: 10rem;
                resize: none;
                padding: 1rem;
                font-size: 1.8rem;
                color: black;
            }

            ::placeholder {
                font-size: 1.6rem;
                color: #bebebe;
                font-weight: 500;
                font-family: system-ui;
            }

            button {
                background-color: #406594;
                color: white;
                height: 4rem;
                width: 15rem;
                border: none;
                font-size: 1.6rem;
                font-weight: 600;
                transition: all 0.3s ease;

                &:hover {
                    background-color: #507db7;
                    cursor: pointer;
                }
            }
        }
    }

    iframe {
        flex-basis: 30rem;
        min-height: 30rem;
        flex-grow: 1;
    }
}

/* CONTACT */

/* FOOTER  */


footer {
    position: relative;
    background-color: #6F6F6F;
}


footer figure {
    width: 15rem;
    margin: var(--center);
    mix-blend-mode: multiply;
}

footer .top {
    padding: var(--padding);
    padding-top: 5rem;
    padding-bottom: 5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: top;
    justify-content: space-between;
}

footer .contact, footer .location {
    display: flex;
    flex-direction: column;
}


footer .top a {
    color: #F3F3F3;
    font-size: 1.6rem;
}

footer .top p {
    font-size: 1.6rem;
    color: white;
}


footer .bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--padding);

    img {
        width: 2rem;
        height: auto;
        object-fit: contain;
    }
}

footer .bottom p,
footer .bottom a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.8rem;
}

/* FOOTER  */


@media screen and (max-width: 850px) {
    :root {
        --normalize: -2rem;
        --width: calc(100% - 4rem);
        --padding: 0rem 2rem;
    }

    nav.desk {
        display: none;
    }

    nav.mov {
        display: flex;
    }

    header .menu {
        position: absolute;
        top: 100%;
        background-color: #e1e1e1;
        width: 107vw;
        left: -2rem;
        display: flex;
        flex-direction: column;
        display: none;
        height: fit-content;
        border-bottom: 2px solid var(--gold);
    }

    header .menu li {
        text-align: center;
        margin: 2rem 0;
    }

    header nav>a {
        display: block;
    }

    nav>a:last-child {
        display: block;
    }

    header nav .menu__button {
        display: block;
        font-size: 3rem;
        color: black;
        transition: all 0.5s ease-in-out;
        margin-right: 2rem;
    }

    footer .top {
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    footer .top>a {
        order: 1;
    }

    footer .contact {
        order: 2;
        align-items: center;
    }

    footer .location {
        order: 3;
        align-items: center;
    }

}

@media screen and (max-width: 820px) {
    nav>a:first-child h3 {
        font-size: 1.2rem;
    }

    nav>a:first-child p {
        font-size: 1rem;
    }

    header .nombre {
        max-width: 20rem;
    }
}


@media screen and (max-width: 769px) {}

@media screen and (max-width: 550px) {

    header figure,
    header picture {
        height: 8rem;
        width: 8rem;

        img {
            object-fit: contain;
        }
    }

    #hero h1 {
        font-size: 3.5rem;
    }

    #hero p {
        font-size: 1.8rem;
    }

    #nosotros::after,
    #servicios::after {
        width: 1rem;
    }

    #servicios {
        padding-left: 3rem;

    }

    h1 {
        font-size: 6rem;
    }



    h2 {
        font-size: 4rem !important;
    }


    section {
        max-width: 100vw;
    }

    footer .bottom p {
        font-size: 1.6rem;
    }
}



@keyframes showMenu {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes hideMenu {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}


@keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {
    0% {
        transform: translateY(-0.5rem);
    }

    50% {
        transform: translateY(1rem);
    }

    100% {
        transform: translateY(-0.5rem);
    }

}


@keyframes bounceInRightCustom {

    0%,
    60%,
    75%,
    90%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(30px, 0, 0);
        -ms-transform: translate3d(30px, 0, 0);
        transform: translate3d(30px, 0, 0);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(-25px, 0, 0);
        -ms-transform: translate3d(-25px, 0, 0);
        transform: translate3d(-25px, 0, 0);
    }

    75% {
        -webkit-transform: translate3d(10px, 0, 0);
        -ms-transform: translate3d(10px, 0, 0);
        transform: translate3d(10px, 0, 0);
    }

    90% {
        -webkit-transform: translate3d(-5px, 0, 0);
        -ms-transform: translate3d(-5px, 0, 0);
        transform: translate3d(-5px, 0, 0);
    }

    100% {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }
}

@keyframes customPulse {
    0% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(1.2);
        -ms-transform: scaleY(1.2);
        transform: scaleY(1.2);
    }

    100% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }
}

@keyframes customPulseClose {
    0% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }

    50% {
        -webkit-transform: scaleY(0.85);
        -ms-transform: scaleY(0.85);
        transform: scaleY(0.85);
    }

    100% {
        -webkit-transform: scaleY(1);
        -ms-transform: scaleY(1);
        transform: scaleY(1);
    }
}