.global-burger {
    align-items: center;
    background-color: transparent;
    border: 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0;
    position: relative
}

.global-burger-icon {
    height: 2px;
    position: relative;
    width: 20px;
}

.global-burger-icon::after,
.global-burger-icon::before {
    background-color: currentcolor;
    border-radius: 1px;
    content: '';
    display: block;
    height: 100%;
    transform-origin: center;
    transition: background-color .4s cubic-bezier(0, 0, 0, 1), color .4s cubic-bezier(0, 0, 0, 1);
    width: 100%;
}

.global-burger-icon::after {
    transform: translateY(-50%);
}

.global-burger-icon::before {
    transform: translateY(50%);
}

.global-burger[aria-expanded="false"] .global-burger-icon::after {
    animation: burger-bottom-to-open .4s cubic-bezier(0, 0, 0, 1) forwards;
}

.global-burger[aria-expanded="true"] .global-burger-icon::after {
    animation: burger-bottom-to-close .4s cubic-bezier(0, 0, 0, 1) forwards;
}

.global-burger[aria-expanded="false"] .global-burger-icon::before {
    animation: burger-top-to-open .4s cubic-bezier(0, 0, 0, 1) forwards;
}

.global-burger[aria-expanded="true"] .global-burger-icon::before {
    animation: burger-top-to-close .4s cubic-bezier(0, 0, 0, 1) forwards;
}

.global-header {
    --global-header-height: 56px;
    --global-header-item-height: 46px;

    height: var(--global-header-height);
    left: 0;
    right: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 200;
}

.global-header-bg.w-1600 {
  max-width: 1600px;
  margin: 0 auto;
}

.global-header .global-burger,
.global-header .logo {
    position: relative;
    z-index: 2;
}

.global-header .global-burger {
    color: var(--black);
    height: var(--global-header-item-height);
    margin-left: auto;
    width: var(--global-header-item-height);
}

.global-header .logo {
    color: var(--blue);
}

.global-header.global-header-light:not(.global-header-sticked) .logo {
/*     color: var(--white); */
}

.global-header.global-header-light:not(.global-header-sticked) .global-burger {
/*     color: var(--white); */
}

.global-header.global-header-light.global-header-opened .global-burger {
    color: var(--black);
}

.global-header.global-header-light.global-header-opened .logo {
    color: var(--blue);
}

.global-header .button {
    flex: 0 0 48px;
    margin-top: auto;
}

.global-header-backdrop,
.global-header-bg {
    left: 0;
    right: 0;
    margin: 0 auto;
    position: absolute;
    top: 0;
    width: 100%;
/*     transition: transform .6s var(--animation-fn) 1s; */
}

.global-header-backdrop {
    -webkit-backdrop-filter: blur(6px); /* stylelint-disable-line */
    backdrop-filter: blur(6px);
    background-color: rgb(2 15 49 / 40%);
    display: none;
    height: 100vh;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: opacity .3s var(--animation-fn);
    width: 100vw;
}

.global-header.global-header-opened .global-header-backdrop  {
    opacity: 1;
    transform: translateY(0);
}

.global-header-bg {
    -webkit-backdrop-filter: blur(10px); /* stylelint-disable-line */
    backdrop-filter: blur(10px);
    background-color: var(--white);
    height: 655px;
    left: 0;
    position: absolute;
    top: 0;
    transform: translateY(-100%);
    transition: transform .5s var(--animation-fn);
/*     animation-name: slidein;
    animation-duration: .6s;
    animation-delay: 1s; */
    width: 100%;
}

.global-header-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    height: 100vh;
    overflow-y: auto;
    padding: calc(var(--global-header-height) + 16px) 20px 64px;
}

@media (hover: hover) {
  .global-header.global-header-sticked .global-header-bg {
/*     transition: transform .6s var(--animation-fn) 1s; */
    transform: translateY(-88%);
  }
  
  .global-header.global-header-fully .global-header-bg {
/*     transition: transform 1s ease-in-out 1s; */
/*     transition: transform .6s var(--animation-fn) 1s; */
    transform: translateY(0);
  }
}

@keyframes slidein {
  from {
    transform: translateY(-88%);
  }

  to {
    transform: translateY(0);
  }
}

.global-header-container {
    align-items: center;
    display: flex;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 1440px;
    padding-left: 20px;
    padding-right: 7px;
    position: relative;
}

.global-header-navigation {
    background-color: var(--white);
    display: flex;
    height: 100vh;
    right: 0;
    max-height: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    transition: max-height .8s var(--animation-fn);
    width: 100%;
    z-index: 1;
}

.global-header.global-header-opened .global-header-navigation {
    max-height: 100vh;
}

.global-nav:not(:last-child) {
    margin-bottom: 40px;
}

.global-nav-item:not(:first-child) {
    margin-top: 38px;
}

.global-nav-link {
    position: relative;
}

.global-nav-link,
.global-nav-link:focus,
.global-nav-link:hover {
    color: var(--black);
}

.global-header.global-header-light:not(.global-header-opened, .global-header-sticked) .global-nav-link,
.global-header.global-header-light:not(.global-header-opened, .global-header-sticked) .global-nav-link:focus,
.global-header.global-header-light:not(.global-header-opened, .global-header-sticked) .global-nav-link:hover {
/*     color: var(--white); */
}

.global-nav-link:focus::before,
.global-nav-link:hover::before {
    max-width: 40px;
}

.global-nav-item.active .global-nav-link::before {
    background-color: var(--blue);
    max-width: 40px;
}

.global-nav-list {
    list-style: none;
    margin-bottom: 0;
    margin-top: 0;
    padding-left: 0;
}

@media (min-width: 510px) {
    .global-header.global-header-light.global-header-opened .logo {
/*         color: var(--white); */
    }

    .global-header-backdrop {
        display: block;
    }

    .global-header-navigation {
        height: 100vh;
        right: -320px;
        max-height: none;
        transform: translateX(0);
        transition: transform .5s var(--animation-fn);
        width: 320px;
    }

    .global-header.global-header-opened .global-header-navigation {
        max-height: none;
        transform: translateX(-100%);
    }
}

@media (min-width: 767px) {
    .global-header {
        --global-header-height: 80px;
        --global-header-item-height: 56px;
    }

    .global-header .button {
        flex-basis: 56px;
    }

    .global-header-body {
        padding-bottom: 32px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .global-header-container {
        padding-left: 40px;
        padding-right: 22px;
    }

    .global-nav-item:not(:first-child) {
        margin-top: 32px;
    }
}

@media (min-width: 991px) {
    .global-header .global-burger {
        display: none;
    }

    .global-header .button {
        flex-basis: auto;
        margin-top: 0;
    }

    .global-header-body {
        display: contents;
        padding: 0;
    }

    .global-header-container {
        justify-content: space-between;
        padding-left: 48px;
        padding-right: 48px;
    }

    .global-header-navigation {
        display: contents;
    }

    .global-nav:not(:last-child) {
        margin-bottom: 0;
    }

    .global-nav-link {
        align-items: center;
        display: flex;
        height: var(--global-header-item-height);
    }

    .global-nav-link::before {
        background-color: var(--blue);
        bottom: 0;
        height: 2px;
        max-width: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transform-origin: center;
        width: 100%;
    }

    .global-nav-link:focus::before,
    .global-nav-link:hover::before {
        max-width: 16px;
        transform: translateX(-50%);
    }

    .global-nav-item.active .global-nav-link::before {
        max-width: 100%;
        transform: translateX(-50%);
    }

    .global-header.global-header-light:not(.global-header-sticked) .global-nav-link::before {
        background-color: var(--yellow);
    }

    .global-nav-item:not(:first-child) {
        padding-left: 20px;
        margin-top: 0;
    }

    .global-nav-list {
        display: flex;
    }
    
    @media (hover: hover) {
/*         .global-nav-item:hover .mega-menu {
            display: flex;
            width: 100vw;
            justify-content: center;
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
            align-items: center;
            transition: opacity 1s ease-in-out;
        } */
    }
  
    .global-nav-item .mega-menu.expanded {
        display: flex;
        width: 100vw;
        justify-content: center;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        align-items: center;
    } 

    .mega-menu-nav-item::after {
        content: "" !important;
        position: absolute;
        left: 0;
        right: 0;
        bottom: -2px;
        transform: scaleX(0);
        height: 3px;
        background-color: var(--blue);
        z-index: 51;
        transition: transform .4s ease-in-out;
    }
  
/*     .mega-menu-nav-item.animating::after {
      
    } */
}

@media (min-width: 1180px) {
    .global-header .global-burger {
        display: none;
    }

    .global-header-container {
        padding-left: 64px;
        padding-right: 64px;
    }

    .global-nav-item {
        margin-bottom: 0;
        padding-inline: 1.5rem;
        height: max-content;
    }

    .mega-menu-nav-item {
        height: 100% !important;
    }

    .mega-menu-nav-item .global-nav-link::before {
        content: none;
    }
}

@keyframes burger-bottom-to-close {
    50% {
        transform: scaleX(75%) translate(0, -50%);
    }

    51% {
        transform: scaleX(100%) translate(0, -50%);
    }

    100% {
        transform: rotate(45deg) scaleX(100%) translate(0, -50%);
    }
}

@keyframes burger-bottom-to-open {
    50% {
        transform: scaleX(100%) translate(0, -50%);
    }

    51% {
        transform: scaleX(75%) translate(16.5%, -50%);
    }

    100% {
        transform: scaleX(75%) translate(16.5%, 100%);
    }
}

@keyframes burger-top-to-close {
    50% {
        transform: rotate(0deg) translateY(50%);
    }

    100% {
        transform: rotate(-45deg) translateY(50%);
    }
}

@keyframes burger-top-to-open {
    50% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.mega-menu {
    visibility: hidden;
    display: flex;
    position: fixed;
    z-index: 50;
    opacity: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 1600px;
    height: 100%;
    padding: 44px 48px;
    max-height: 618px;
    border-top: 1px solid #e8e8e8;
/*     transition: none; */
    transition: opacity .4s ease-in-out;
}

.mega-menu-shadow {
    top:0;
    left:0;
    opacity: 0;
    position: absolute;
    height: 0vh;
    width: 100vw;
    background: var(--black);
    display: block;
    z-index: -1;
    transition: transform .5s var(--animation-fn), opacity .3s;
}

.global-header.global-header-fully .mega-menu-shadow {
    height: 100vh;
    opacity: 0.5;
}

.mega-menu a {
    cursor: pointer;
}

.mega-menu-title {
    font-family: var(--grotesk-font);
    font-size: 39px;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 16px;
}

.mega-menu-nav-item::after {
    content: none;
}

.mega-menu-description {
    font-family: var(--jakarta-font);
    font-size: 16px;
    font-weight: normal;
    line-height: 28px;
    letter-spacing: 0;
    text-align: left;
    margin-bottom: 24px;
}

.mega-menu-subtitle {
    font-family: var(--grotesk-font);
    font-size: 28px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 0;
    text-align: left;
}

.mega-menu-summary {
    font-family: var(--jakarta-font);
    font-size: 13px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0;
    text-align: left;
    color: #494949;
}

.mega-menu-link {
    width: 100%;
    max-width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 80px;
    margin-right: 60px;
}

.mega-menu-link.w-third {
  width: 33%;
}

.mega-menu-details-content {
    width: 100%;
    height: 100%;
    display: flex;
}

.mega-menu-details-column {
    display: flex;
    flex-direction: column;
    min-width: 33%;
    gap: 4px;
    padding: 0px 32px 24px 0px;
}

.mega-menu-details-column a {
    color: var(--black);
    font-family: var(--jakarta-font);
    font-size: 16px;
    font-weight: 600;
}

.mega-menu-details-column a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.mega-menu-details-hr {
  height: 1px;
  width: 100%;
  background: #ddd;
  margin: 12px 0;
}

.mega-menu-details-column.w-grow {
    flex: 1 1 auto;
}

.mega-menu-details-column.w-1/3 {
    width: 33%;
}

.mega-menu-nav-item {
    position: relative;
    height: auto;
}

.mega-menu-details-column .link-description {
  color: var(--black);
  opacity: .6;
  line-height: 1.15;
}

.mega-menu-nav-item:hover::after {
    transform: scaleX(1);
}

.mega-menu-global-nav {
    height: 100%;
}

.mega-menu-nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.mega-menu-global-nav-list {
    height: 100%;
}

.mega-menu .mb-0 {
  margin-bottom: 0;
}