nav {
    width: 100%;
    box-sizing: border-box;
    position: fixed;
}

nav .rootNav {
    background: rgba(0, 0, 255, 0.0);

    /* CENTRAR */
    position: relative;
    width: 100%;
    max-width: var(--web_maxWidth);
    margin: 0 auto;

    display: grid;
    column-gap: 2rem;
    align-items: center;

    position: relative;
    margin-top: 0.5rem;
}

nav .rootNav .brand {
    background: rgba(255, 0, 0, 0.0);
}

@media (min-width: 1415px) {
    nav .rootNav .brand {
        position: relative;
        z-index: 999;
    }
}

@media (max-width: 1414px) {
    nav .rootNav .brand {
        position: absolute;
        z-index: 999;
        top: 0.25rem;
    }
}

@media (min-width: 668px) {
    nav .rootNav .brand .brandMobile {
        display: none;
    }
}

@media (max-width: 667px) {
    nav .rootNav .brand .brandDesktop {
        display: none;
    }
}











@media (min-width: 1551px) {
    nav .rootNav {
        grid-template-columns: 0 20rem auto 20rem;
    }

    nav .rootNav .brandDesktop img {
        width: 20rem;
    }
}

@media (min-width: 1415px) and (max-width: 1550px) {
    nav {
        padding: 0 1rem;
    }

    nav .rootNav {
        grid-template-columns: 0 20vw auto 20rem;
    }

    nav .rootNav .brandDesktop img {
        width: 20vw;
    }
}

/* Se muestra el menú mobile */
@media (min-width: 668px) and (max-width: 1414px) {
    nav {
        padding: 0 1rem;
    }

    nav .rootNav {
        grid-template-columns: 2rem 30vw auto 20rem;
    }

    nav .rootNav .brandDesktop img {
        width: 30vw;
    }
}

/* Se muestra el menú mobile */
@media (max-width: 667px) {
    nav {
        padding: 0 1rem;
    }

    nav .rootNav {
        grid-template-columns: 2rem auto auto auto;
    }

    nav .rootNav .brandMobile img {
        width: 2.5rem;
    }
}

/* Se muestra el menú mobile */
@media (max-width: 247px) {
    nav .rootNav {
        grid-template-columns: 2rem 0 0 0;
    }

    nav .rootNav .cta {
        display: none;
    }
}