#masthead {
    z-index: 10;
}

.header-nav {
    font-family: 'Work Sans', sans-serif !important;
}

/* Si tienes menú a la izquierda y CTA a la derecha */
.header-inner > *:first-child {
    position: absolute;
    left: 24px;
}

.header-inner > *:last-child {
    position: absolute;
    right: 4px;
}

.header-inner {
    height: 56px;
    padding: 4px;
    justify-content: center;


    .header-nav .collapse-item:focus {
        outline: none;
    }

    .header-nav .dropdown-items {
        margin-left: -24px;
        margin-top: 16px;
        width: 407px;
        padding: 24px 40px 24px 24px;
        font-size: 16px;
        font-weight: 600;
        line-height: 24px;
    }

    .header-nav .dropdown-items a +a  {
        margin-top: 12px;
    }

    .header-logo {

        img {
            width: 167px;
            height: 32px;
        }
    }

    .header-cta {
        border-radius: 2px;
    }
}

.header-cta .btn {
    padding: 12px 32px;
}


.collapsing {
  transition: height 0.9s ease-in-out !important;
  overflow: hidden;
}

.dropdown-items.collapse.show {
  transition: height 0.9s ease-in-out !important;
}

.header-phone-text {
    position: relative;
    display: inline-block;
    overflow: hidden;
    line-height: 1.2;
}

.header-phone-text span {
    display: block;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.header-phone-text span:last-child {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

/* Hover */
.btn:hover .header-phone-text span:first-child {
    transform: translateY(-100%);
}

.btn:hover .header-phone-text span:last-child {
    transform: translateY(-100%);
}

li.mega-menu-item > a.mega-menu-link:active,
li.mega-menu-item > a.mega-menu-link:focus {
    color: var(--bs-black) !important;
}

.global-en {
    .global-link:visited {
        color: var(--bs-secondary-500);
    }

    .global-link {
        text-decoration: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        color: var(--bs-secondary-500);
    }

    .global-link svg {
        width: 20px;
        height: 20px;
    }

    .global-link:hover {
        color: var(--bs-main-500)
    }

    .lang-label {
        font-size: 18px;
        line-height: 20px;
    }
}


@media screen and (max-width: 1400px) and (min-width: 992px) {
    .menu-wrapper {
        gap: 8px !important;
    }

    .hero-title {
        font-size: 64px !important;
        line-height: 72px !important;
    }

    .hero-character {
        width: 360px !important;
    }

    .hero-logos {
        gap: 4px !important;
    }

    .dropdown a {
        gap: 0 !important;
    }
}
