.mq20-header {
    position: fixed;
    z-index: 4;
    top: 0;

    width: 100%;

    transition: all var(--animations_duration);

    border-bottom: none;
    background: transparent;
}

body:not(.home) .mq20-header:after {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    content: '';

    background: rgba(255, 255, 255, 0.2);
}

.mq20-header .submenu-bg {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    display: block;

    width: 100vw;

    content: '';

    opacity: 0;
    border-top: none;
    background: rgba(15, 16, 20, 0.32);
}

.mq20-header.sticky {
    background: transparent;
}

.mq20-header.sticky,
.mq20-header.unsticky {
    position: fixed;
    z-index: 15;
    top: 0;
}

.mq20-header .mq20-wrapper--wide {
    display: flex;
    justify-content: space-between;
}

.header__logo {
    padding: 4px 0;
}

.mq20-header.sticky .header__logo,
.mq20-header.unsticky .header__logo {
    padding: 0;
}

.header__logo a {
    display: block;
}

.header__logo a svg {
    display: block;

    height: 72px;
}

.header__navigation {
    position: relative;
    z-index: 1;

    display: flex;

    margin-right: -40px;
}

.home .header__navigation:after {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    content: '';

    background: rgba(255, 255, 255, 0.2);
}

.home .mq20-header--inverse .header__navigation:after {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    content: '';

    background: rgba(235, 235, 235, 1);
}

.submenu-open .header__navigation::after,
.mq20-header.sticky .header__navigation:after {
    content: unset;
}

.header__navigation .menu {
    position: relative;

    display: flex;

    height: 100%;
    margin-right: 40px;
    padding-left: 40px;

    column-gap: 24px;
}

.header__navigation .menu > li > a {
    display: flex;
    align-items: center;

    height: 100%;

    transition: all var(--animations_duration--fast);

    color: var(--c_neutral--white);

    font-size: 16px;
    font-weight: var(--fw--medium);
    line-height: 24px;
}

.header__navigation .menu a:hover {
    text-decoration: none;
}

.header__navigation .menu > li {
    border-bottom: 1px solid transparent;
}

.header__navigation .menu > li svg path {
    transition: all var(--animations_duration--fast);
}

.header__navigation .menu > li:hover {
    border-bottom: 1px solid var(--c_brand--200);
}

.header__navigation li:hover a {
    color: var(--c_brand--200);
}


.header__navigation .menu > li:hover svg path {
    fill: var(--c_brand--200);
}

.header__navigation .menu-item-has-children a {
    padding-right: 25px;
}

.header__navigation .menu-item .arrow--nav {
    position: absolute;
    top: calc(50% - 9px);
    right: 0;

    display: inline;

    width: 20px;
    height:20px;
}

.header__navigation .menu-item:last-child .arrow--nav {
    right: 0;
}

.header__navigation .menu-item .arrow--nav svg path {
    fill: var(--c_neutral--white);
}

.header__navigation .menu-item:hover .arrow--nav svg {
    right: 40px;

    transition: all var(--animations_duration--fast);
    transform: rotate(180deg);
}

.header__navigation .menu-item:hover .arrow--nav svg path {
    fill: var(--c_brand--200);
}

.header__navigation .menu-item-highlight a {
    padding-right:14px;
}

.header__navigation .menu:last-child:before {
    position: absolute;
    top: 26px;
    left: 0;

    width: 1px;
    height: 36px;

    content: '';

    background: rgba(255, 255, 255, 0.2);
}

.mq20-header--inverse .header__navigation .menu:last-child:before {
    background: rgba(235, 235, 235, 1);
}

.mq20-header.sticky .header__navigation .menu:last-child:before,
.mq20-header.unsticky .header__navigation .menu:last-child:before {
    height: 26px;
}

.header__navigation li .portfolio_arrow {
    position: absolute;
    top: calc(50% - 24px);
    right: -2px;

    display: block;

    width: 12px;
    height: 12px;
}

.header__navigation .menu > li > .sub-menu {
    position: absolute;
    z-index: 1;
    top: 80px;
    right: -40px;

    display: grid;
    visibility: hidden;

    width: 130%;
    padding: 40px;

    transform: translate(0px, -20px);

    opacity: 0;
    border-right: 1px solid rgba(255,255, 255, 0.08);
    border-bottom: 1px solid rgba(255,255, 255, 0.08);
    border-left: 1px solid rgba(255,255, 255, 0.08);

    gap: 40px;
    grid-auto-flow: column;
}

body:not(.home) .mq20-header:before,
.mq20-header.submenu-open:before,
.mq20-header.sticky:before,
.header__navigation .menu > li > .sub-menu:after {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    content: '';

    background: rgba(15, 16, 20, 0.8);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body:not(.home) .mq20-header--inverse:not(.submenu-open):not(.sticky):before {
    background: transparent;
}

.mq20-header.submenu-open:after {
    position: absolute;
    bottom: 0;

    width: 100%;
    height: 1px;

    content: '';

    background: rgba(255, 255, 255, 0.2);
}

.mq20-header.sticky .header__navigation .menu > li > .sub-menu,
.mq20-header.unsticky .header__navigation .menu > li > .sub-menu {
    top: 72px;
}

.header__navigation .menu > li > .sub-menu li {
    position: relative;

    line-height: 20px;
}

.header__navigation .menu > li > .sub-menu li.all-menu-item {
    display: none
}

.header__navigation .menu > li > .sub-menu > li:not(:last-child):after {
    position: absolute;
    top: 0;
    right: -20px;

    width: 1px;
    height: 100%;

    content: '';

    background: rgba(210, 211, 214, 0.12);
}

.header__navigation .menu > li > .sub-menu li a {
    white-space: nowrap;

    color: var(--c_neutral--white);

    font-size: 16px;
    font-weight: 500;
    line-height: var(--fw--medium);
    line-height: 24px;
}

.header__navigation .menu > li > .sub-menu li a:hover {
    color: var(--c_brand--200);
}

.header__navigation .sub-menu .sub-menu {
    display: flex;
    flex-direction: column;

    margin-top: 8px;

    gap: 4px;
}

.header__navigation .sub-menu li .sub-menu > li > a {
    position: relative;

    padding-right: 24px;

    transition: all var(--animations_duration);

    color: var(--c_neutral--300);

    font-size: 14px;
    font-weight: var(--fw--light);
    line-height: 20px;
}

.header__navigation .sub-menu li .sub-menu > li > a:hover {
    padding-right: 0;
    padding-left: 24px;
}

.header__navigation .sub-menu li .sub-menu > li > a:before {
    position: absolute;
    top: 0;
    left: 0;

    display: block;

    width: 20px;
    height: 20px;

    content: '';
    transition: all var(--animations_duration);
    transform: translate(-10px, 0px);

    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cmask id='mask0_103_18573' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='0' y='0' width='20' height='20'%3E%3Crect width='20' height='20' fill='%23D9D9D9'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_103_18573)'%3E%3Cpath d='M11.4103 14.4231L10.8205 13.8238L14.2276 10.4167H4.16669V9.58338H14.2276L10.8205 6.17634L11.4103 5.57697L15.8334 10L11.4103 14.4231Z' fill='%23A3AFFF'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.header__navigation .sub-menu li .sub-menu > li > a:hover:before {
    transform: translate(0px, 0px);

    opacity: 1;
}

.header__navigation .menu-item-description {
    white-space: normal;

    color: var(--c_neutral--300);

    font-size: 14px;
    line-height: var(--fw--light);
    line-height: 20px;
}

.header__navigation .sub-menu .menu_contact {
    position: absolute;
    right: 0;
    bottom: -52px;

    display: flex;

    padding: 16px 40px;

    color: var(--c_neutral--900);
    background: var(--c_brand--200);

    column-gap: 45px;
}

.header__navigation .sub-menu .menu_contact p {
    font-size: 14px;
    font-weight: var(--fw--medium);
    line-height: 20px;
}

.header__navigation .sub-menu .menu_contact a {
    position: relative;

    padding-right: 12px;

    color: var(--c_neutral--900);

    font-size: 14px;
    font-weight: var(--fw--light);
    line-height: 20px;
}

.header__navigation .sub-menu .menu_contact a:after {
    position: absolute;
    top: 0;
    right: 0;
    left: unset;

    display: block;

    width: 12px;
    height: 12px;

    content: '';

    background: url("/wp-content/themes/wpmiquido/miquido20/img/shapes/header/header_menu_contact_arrow.svg") center no-repeat;
}

.header__navigation .sub-menu .menu_contact a:hover {
    color: var(--c_neutral--black);
}

/* header inverse */
.mq20-header--inverse:not(.sticky) {
    position: relative;

    background: var(--c_neutral--25);
}

body:not(.home) .mq20-header--inverse:not(.sticky):after {
    background: rgba(235, 235, 235, 1);
}

.mq20-header--inverse:not(.sticky) .header__logo svg {
    filter: brightness(0);
}

.mq20-header--inverse:not(.sticky).submenu-open .header__logo svg {
    filter: unset;
}

.mq20-header--inverse:not(.sticky).submenu-open .header__navigation .menu > li > a {
    color: var(--c_neutral--white);
}

.mq20-header--inverse:not(.sticky) .header__navigation .menu > li > a {
    color: var(--c_neutral--900);
}

.mq20-header--inverse:not(.sticky) .header__navigation .menu > li:hover > a {
    color: var(--c_brand--200);
}

.mq20-header--inverse:not(.sticky) .header__navigation .menu-item .arrow--nav svg path,
.mq20-header--inverse:not(.sticky) .header__navigation .menu > li svg path {
    fill: var(--c_neutral--900);
}

.mq20-header--inverse:not(.sticky).submenu-open .header__navigation .menu-item .arrow--nav svg path,
.mq20-header--inverse:not(.sticky).submenu-open .header__navigation .menu > li svg path {
    fill: var(--c_neutral--white);
}

.mq20-header--inverse:not(.sticky) .header__navigation .menu-item:hover .arrow--nav svg path,
.mq20-header--inverse:not(.sticky) .header__navigation .menu > li:hover svg path {
    fill: var(--c_brand--200);
}

.header__navigation .current-menu-item > a {
    color: var(--c_brand--200) !important;
}

.header__navigation .current-menu-item > a svg path {
    fill: var(--c_brand--200) !important;
}

.header__navigation--mobile {
    display: none;
}

.header__navigation--mobile button {
    z-index: 2;

    display: flex;
    align-items: center;

    padding: 0;

    cursor: pointer;

    color: var(--c_neutral--white);
    border: none;
    background: transparent;

    font-family: var(--ff--normal);
    font-size: 14px;
    font-weight: var(--fw--medium);
    line-height: 20px;
}

.header__navigation--mobile button .menu-icon {
    position: relative;

    display: block;

    width: 18px;
    height: 2px;
    margin: 21px 15px;

    transition: all var(--animations_duration);

    background: var(--c_neutral--white);
}

.header__navigation--mobile button .menu-icon:before,
.header__navigation--mobile button .menu-icon:after {
    position: absolute;
    left: 0;

    width: 18px;
    height: 2px;

    content: '';
    transition: all var(--animations_duration);
    transform-origin: left;

    background: var(--c_neutral--white);
}

.header__navigation--mobile button .menu-icon:before {
    top: -7px;
}

.header__navigation--mobile button .menu-icon:after {
    bottom: -7px;
}

.header__navigation--mobile button.active .menu-icon {
    background: transparent;
}

.header__navigation--mobile button.active .menu-icon:before,
.header__navigation--mobile button.active .menu-icon:after {
    width: 20px;
}

.header__navigation--mobile button.active .menu-icon:before {
    transform: rotate(45deg);
}

.header__navigation--mobile button.active .menu-icon:after {
    transform: rotate(-45deg);
}

.header__navigation--mobile .header__navigation-container--mobile {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: none;
    flex-direction: column;

    height: 100dvh;
    padding: 80px 24px 24px;

    background: rgba(15, 16, 20, 0.8);

    gap: 40px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header__navigation--mobile .header__navigation-container--mobile > div {
    display: flex;
    overflow-y: scroll;
    flex-direction: column;

    height: 100%;
}

.header__navigation--mobile.open .header__navigation-container--mobile {
    display: block;
}

.header__navigation--mobile .header__navigation-container--mobile .menu {
    display: flex;
    flex-direction: column;

    gap: 24px;
}

.header__navigation--mobile .header__navigation-container--mobile .menu > li {
    position: relative;
}

.header__navigation--mobile .header__navigation-container--mobile .menu > li > a {
    position: relative;

    padding-right: 30px;

    letter-spacing: var(--ls--m);

    color: var(--c_neutral--white);

    font-size: 28px;
    font-weight: var(--fw--medium);
    line-height: 34px;
    text-decoration: none;
}

.header__navigation--mobile .header__navigation-container--mobile .menu > li .arrow--nav {
    position: absolute;
    top: calc(50% - 10px);
    right: 0;

    display: inline;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 20px;
    height: 20px;
}

.header__navigation--mobile .header__navigation-container--mobile .menu > li .arrow--nav svg {
    transition: all var(--animations_duration--fast);
}

.header__navigation--mobile .header__navigation-container--mobile .menu > li .arrow--nav svg path {
    fill: var(--c_neutral--white);
}

.header__navigation--mobile .header__navigation-container--mobile .menu > li a.menu-open svg {
    transform: rotate(180deg);
}

.header__navigation--mobile .header__navigation-container--mobile .menu > li .portfolio_arrow {
    position: absolute;
    top: 0;

    transform: translate(4px, 0);
}

.header__navigation--mobile.open .header__navigation .menu > li > .sub-menu li.all-menu-item {
    display: block;
}

.header__navigation--mobile.open .header__navigation-container--mobile .sub-menu {
    display: flex;
    overflow: hidden;
    flex-direction: column;

    height: 0;
    padding-left: 24px;

    opacity: 0;

    gap: 16px;
}

.header__navigation--mobile.open .header__navigation-container--mobile .sub-menu.menu-open > li:first-child {
    margin-top: 24px;
}

.header__navigation--mobile.open .header__navigation-container--mobile .sub-menu li > a {
    display: inline-block;

    width: 100%;

    color: var(--c_neutral--white);

    font-size: 18px;
    font-weight: var(--fw--medium);
    line-height: 26px;
}

.header__navigation--mobile.open .header__navigation-container--mobile .sub-menu .sub-menu {
    display: flex;
    flex-direction: column;

    height: auto;
    margin-top: 8px;
    padding-left: 0;

    opacity: 1;

    gap: 4px;
}

.header__navigation--mobile.open .header__navigation-container--mobile .sub-menu li .sub-menu > li > a {
    color: var(--c_neutral--300);

    font-size: 18px;
    font-weight: var(--fw--light);
    line-height: 26px;
}

.header__navigation--mobile.open .header__navigation-container--mobile .sub-menu li .menu-item-description {
    display: none;
}

.header__navigation-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-top: auto;
    margin-bottom: 80px;
}

.header__navigation-social ul {
    display: flex;
    align-items: flex-end;
    flex-direction: column;

    gap: 12px;
}

.header__navigation-social ul a {
    color: var(--c_neutral--300);

    font-size: 14px;
    font-weight: var(--fw--light);
    line-height: 20px;
}

.mq20-header--inverse:not(.sticky) .header__navigation--mobile button {
    color: var(--c_neutral--900);
}

.mq20-header--inverse:not(.sticky) .header__navigation--mobile button.active .menu-icon {
    background: transparent;
}

.mq20-header--inverse:not(.sticky) .header__navigation--mobile button .menu-icon,
.mq20-header--inverse:not(.sticky) .header__navigation--mobile button .menu-icon:before,
.mq20-header--inverse:not(.sticky) .header__navigation--mobile button .menu-icon:after {
    background: var(--c_neutral--900);
}

.mq20-header--inverse:not(.sticky) .header__navigation--mobile.open button {
    color: var(--c_neutral--white);
}

.mq20-header--inverse:not(.sticky) .header__navigation--mobile.open button.active .menu-icon {
    background: transparent;
}

.mq20-header--inverse:not(.sticky) .header__navigation--mobile.open button .menu-icon,
.mq20-header--inverse:not(.sticky) .header__navigation--mobile.open button .menu-icon:before,
.mq20-header--inverse:not(.sticky) .header__navigation--mobile.open button .menu-icon:after {
    background: var(--c_neutral--white);
}

@media (max-width: 1250px) {
    body.no-scroll {
        overflow: hidden;
    }

    body.no-scroll .mq20-header {
        transform: translateY(0px) !important;
    }

    .mq20-header:after {
        position: absolute;
        bottom: 0;

        width: 100%;
        height: 2px;

        content: '';

        background: rgba(255, 255, 255, 0.2);
    }

    .header__navigation {
        display: none;
    }

    .header__navigation--mobile {
        display: flex;
        align-items: center;
    }
}
