.header-global {
    position: sticky;
    top: 0;
    display: flex;
    background: var(--header-background);
    width: 100%;
    height: var(--header-height);
    z-index: 4;
    color: var(--main-text-color);
}

.admin-bar .header-global {
    top: 32px;
}

.header-global+div {
    transition: filter .6s;
}

.header-global+div {
    position: relative;
}

.header-global+div:after {
    content: '';
    display: none;
    position: absolute;
    inset: 0;
    max-width: calc(var(--container-width) + var(--container-space) * 2);
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.header-global.active+div:after {
    display: block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3;
}

.header-logo {
    display: flex;
    align-items: center;
    z-index: 21;
}

.header-logo svg {
    width: 10.75rem;
    height: 1.1rem;
}

.header-logo img {
    /* max-width: 10.75rem; */
    height: 1rem;
    object-fit: contain;
    object-position: left;
}

.h-mob-menu {
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.header-global {
    width: 100%;
}

.h-mob-menu-burger {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-end;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    z-index: 30;
}

.h-mob-menu-burger div {
    width: 100%;
    height: 1px;
    background: var(--burger-color);
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    transition-duration: .3s;
}


.h-mob-menu-burger.active-menu div {
    position: absolute;
}

.h-mob-menu-burger.active-menu div:nth-child(1) {
    transform: rotate(45deg);
}

.h-mob-menu-burger.active-menu div:nth-child(2) {
    transform: rotate(135deg);
}

.h-mob-menu-burger.active-menu div:nth-child(3) {
    display: none;
}



body {
    /* overflow-x: hidden; */
}

.h-header {
    position: relative;
    height: var(--header-height);
    width: 100%;
    background-color: var(--header-background);
    z-index: 10;
    /*  */
}

.h-header-container {
    display: flex;
    align-items: center;
    padding-left: var(--container-space);
    padding-right: var(--container-space);
    width: 100%;
    height: 100%;
    border-bottom: 1px solid var(--border-color);
    gap: 3.75rem;
}

.h-menu-container {
    display: flex;
    justify-content: space-between;
    width: inherit;
}

.h-header-button {
    color: var(--main-text-color);
}


.h-menu {
    display: flex;
    align-items: center;
    gap: 2.75rem;
}

.h-menu-item>.h-item-name {
    position: relative;
    color: var(--main-text-color);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 140%;
    text-align: center;
    cursor: pointer;
}

.h-menu-item>.h-item-name:hover,
.h-item-name.h-has-sub.active {
    color: var(--main-text-color);
}

.h-item-name.inactive {
    color: var(--main-text-color);
    opacity: .5;
}

.h-item-name.inactive:hover {
    opacity: 1;
}

.h-item-name {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.h-item-arrow {
    position: absolute;
    right: -1.2rem;
    top: -50px;
    visibility: hidden;
    opacity: 0;
    transition-property: top, opacity, visibility;
    transition-duration: .2s;
}

.h-item-name:hover .h-item-arrow,
.h-item-name.h-has-sub.active .h-item-arrow {
    opacity: 1;
    top: 0;
    visibility: visible;
}

.h-item-arrow i {
    position: relative;
    display: inline-block;
    width: 0.5rem;
    height: 0.7rem;
}

.h-item-arrow i::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: var(--main-text-color);
    transform: translateX(-50%);
}

.h-item-arrow i::after {
    content: "";
    position: absolute;
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    border-left: 1px solid var(--main-text-color);
    border-bottom: 1px solid var(--main-text-color);
    transform: rotate(-45deg);
    left: 50%;
    bottom: 0;
    transform-origin: center;
    translate: -50% 0;
}

.h-sub-menu.hidden {
    display: none;
}

.h-sub-menu {
    position: absolute;
    left: 0;
    width: 100%;
    top: var(--header-height);
    background-color: var(--main-background);
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, 100px, 0);
    transition-property: opacity, transform, visibility;
    transition-duration: .4s;
    z-index: -1;
    will-change: opacity, transform, visibility;
}



.h-sub-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateZ(0);
}

.h-sub-menu-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    min-height: 26rem;
    border-bottom: 1px solid var(--border-color);
}

.h-sub-menu-services-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.h-sub-menu-services-item>.h-item-name {
    display: flex;
    width: 100%;
    padding: 1rem var(--container-space);
    border-bottom: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

.h-sub-menu-services-item>.h-item-name span {
    color: var(--main-text-color);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 140%;
}

.h-sub-menu-services-item>a {
    position: relative;
}

.h-sub-menu-services-item>a:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-header-background);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: -1;
}

.h-sub-menu-services-item>a:hover:before {
    opacity: 1;
}



.h-sub-menu-services-item>a div {
    overflow: hidden;
}

.h-sub-menu-services-item>a span {
    position: relative;
    margin-left: 0;
    transition: margin-left 0.3s ease-in-out;
}


.h-sub-menu-services-item>a span:before {
    content: "";
    position: absolute;
    bottom: 0;
    top: 50%;
    left: -1.8rem;
    width: 0.8rem;
    height: 1px;
    background: var(--main-text-color);
    transform: translateY(-50%);
}

.h-sub-menu-services-item>a span:after {
    content: "";
    position: absolute;
    width: auto;
    aspect-ratio: 1;
    height: 50%;
    border-right: 1px solid var(--main-text-color);
    border-bottom: 1px solid var(--main-text-color);
    transform: rotate(-45deg);
    top: 0;
    left: -1.8rem;
    bottom: 0;
    transform-origin: center;
    translate: 50% 50%;
}

.h-sub-menu-services-item>a:hover span {
    margin-left: 1.8rem;
}

.header-cta {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem var(--container-space);
    height: 100%;
}

.header-tech-cta-back,
.header-cx-cta-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    object-fit: cover;
}

.header-cta-title {
    position: relative;
    font-family: var(--font-family-headline);
    font-size: 3rem;
    line-height: 100%;
}

.header-cta .hw-button {
    position: relative;
    width: fit-content;
}

.h-sub-menu-cases .h-sub-menu-case:not(:last-child) {
    border-right: 1px solid var(--border-color);
}




.h-sub-menu-case {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.h-sub-menu-case-image {
    width: 100%;
    height: 9.25rem;
}

.h-sub-menu-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.h-sub-menu-case-down {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: inherit;
    padding: var(--container-space);
}

.h-sub-menu-case-logo {
    display: flex;
    align-items: center;
    max-width: 11.5rem;
    max-height: 2.375rem;
}

.h-sub-menu-case-logo img {
    object-fit: contain;
}

.h-sub-menu-case-down-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.h-sub-menu-case-industry {
    display: flex;
    color: var(--main-text-color);
    opacity: .5;
    font-size: 0.875rem;
    line-height: 140%;
}

.h-sub-menu-case-title {
    display: flex;
    font-size: 1.5rem;
    color: var(--main-text-color);
    font-family: var(--font-family-headline);
    line-height: 100%;
}

.h-sub-menu-case-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




.h-sub-menu-services-list,
.h-sub-menu-items,
.h-sub-menu-company-list {
    display: flex;
    flex-direction: column;
    padding: 1rem var(--container-space);
    border-right: 1px solid var(--border-color);
    height: inherit;
}

.h-sub-menu-services-list a,
.h-sub-menu-items a,
.h-sub-menu-company-list a {
    display: block;
    padding: 0.5rem 0;
    color: var(--main-text-color);
}

.h-sub-menu-services-list a div,
.h-sub-menu-items a div,
.h-sub-menu-company-list a div {
    overflow: hidden;
}

.h-sub-menu-services-list a span,
.h-sub-menu-items a span,
.h-sub-menu-company-list a span {
    position: relative;
    margin-left: 0;
    transition: margin-left 0.3s ease-in-out;
    font-size: 0.875rem;
    line-height: 140%;
    display: inline-block;
}

.h-sub-menu-services-list a:hover span,
.h-sub-menu-items a:hover span,
.h-sub-menu-company-list a:hover span {
    margin-left: 0.75rem;
}

.h-sub-menu-company-info {
    position: relative;
    overflow: hidden;
    grid-column: span 3;
    padding: var(--container-space);
}

.h-sub-menu-company-map {
    position: absolute;
    width: 60%;
    left: 50%;
    top: -10%;
}

.h-sub-menu-company-info-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-width: 40%;
}

.h-sub-menu-company-info-title {
    font-family: var(--font-family-headline);
    font-size: 1.75rem;
    line-height: 100%;
}

.h-sub-menu-company-counter {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
}

.h-sub-menu-company-counter>div {
    display: flex;
    flex-direction: column;
}

.h-sub-menu-company-counter>div span:nth-child(1) {
    font-size: 6rem;
    font-weight: 500;
    line-height: 100%;
}

.h-sub-menu-company-counter>div span:nth-child(2) {
    font-size: 0.875rem;
    color: #999;
    line-height: 140%;
}

.header-button {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 1100px) {
    .h-header-container {
        gap: 2rem;
    }

    .h-menu {
        gap: 1.5rem;
    }
}


@media (max-width: 992px) {

    .h-header-container {
        position: relative;
        justify-content: space-between;
        overflow-x: clip;
    }

    .h-mob-menu {
        display: flex;
    }

    .overflow-hidden {
        overflow: hidden;
    }

    .h-menu-container {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        position: absolute;
        top: 100%;
        height: calc(100dvh - var(--header-height));
        width: 100%;
        background-color: var(--main-background);
        right: -100%;
        -o-transition: 0.3s all;
        -moz-transition: 0.3s all;
        -webkit-transition: 0.3s all;
        overflow-x: scroll;
    }

    .h-menu-container::-webkit-scrollbar {
        display: none;
    }

    .h-menu-container.active-header {
        right: 0;
        z-index: 0;
    }

    .h-menu {
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .h-item-arrow {
        position: relative;
        right: 0;
        /* transform: rotate(0); */
        transition: transform 0.3s ease;
        /* transform: none; */
        opacity: .7;
        top: 0;
        visibility: visible;
    }

    .h-menu>.h-menu-item {
        width: 100%;
    }

    .h-menu>.h-menu-item>.h-item-name {
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
        font-weight: 400;
    }

    .h-item-name-general {
        justify-content: space-between;
    }

    .h-menu>.h-menu-item>.h-item-name.h-has-sub.active {
        border-bottom: none;
        opacity: .5;
    }

    .h-menu>.h-menu-item>.h-item-name.h-has-sub.active .h-item-arrow {
        transform: rotate(180deg);
        margin-right: 0.2rem;
    }

    .h-sub-menu {
        position: relative;
        top: inherit;
        width: 100%;
        overflow: hidden;
        max-height: 0px;
        z-index: 0;
        -webkit-transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
        transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    }

    .h-sub-menu.active {
        max-height: 5000px;
        -webkit-transition: max-height 1s ease-in-out;
        transition: max-height 1s ease-in-out;

    }

    .h-item-arrow i {
        width: 0.7rem;
        height: 0.9rem;
    }

    .h-sub-menu-cols {
        display: flex;
        flex-direction: column;
        min-height: auto;
        margin-bottom: 1px;
    }

    .h-sub-menu-services-cta,
    .h-sub-menu-case,
    .h-sub-menu-company-info {
        display: none;
    }

    .h-sub-menu.active .h-sub-menu-services-item>a:before {
        opacity: 1;
    }

    .h-sub-menu-services-list,
    .h-sub-menu-items,
    .h-sub-menu-company-list {
        padding: 1rem var(--container-space);
        gap: 0.62rem;
    }

    .h-sub-menu-items,
    .h-sub-menu-company-list {
        padding-top: 0;
    }

    .h-sub-menu-services-list a,
    .h-sub-menu-items a,
    .h-sub-menu-company-list a {
        padding: 0;
    }

    .h-menu-container .header-button {
        margin-bottom: 2rem;
    }

    .h-item-name.inactive {
        color: var(--main-text-color);
    }

    .header-button {
        margin-top: 2rem;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 782px) {
    .admin-bar .header-global {
        top: 46px;
    }
}



@media (max-width: 768px) {

    .header-logo svg,
    .header-logo img {
        height: 0.75rem;
    }
}