/*
|--------------------------------------------------------------------------
| Mobile Header Navbar
|--------------------------------------------------------------------------
*/
#mobile-navbar .menu-item-has-children > a {
    display: flex;
    align-items: center;
}
/** Chevron down icons **/
#mobile-navbar .menu-item-has-children > a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-5 h-5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
    cursor: pointer;
    margin-left: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}
/** Chevron up icons **/
#mobile-navbar .menu-item-has-children__open > a::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-5 h-5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 15.75l7.5-7.5 7.5 7.5' /%3E%3C/svg%3E%0A");
    cursor: pointer;
    margin-left: 0.5rem;
    width: 1.25rem;
    height: 1.25rem;
}
/** Padding between submenus and menu items **/
#mobile-navbar .menu-item-has-children .sub-menu li {
    padding-left: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
}
#mobile-navbar ul li a {
    display: flex;
    align-items: center;
}
#mobile-navbar .menu-link {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 500;
    --tw-text-opacity: 1;
    color: rgb(30 41 59 / var(--tw-text-opacity, 1));
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
    -webkit-tap-highlight-color: transparent;
}
/* Efecto sutil al pasar el dedo o hacer clic */
#mobile-navbar .menu-link:active {
    background-color: rgba(
        54,
        0,
        146,
        0.06
    ); /* Fondo morado ultra sutil al tocar */
    color: #360092;
}
/* 2. Flecha indicadora con tu color primario #360092 */
#mobile-navbar .menu-item-has-children > .menu-link::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    /* SVG inyectado con el color #360092 codificado en URL (%23360092) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2.5' stroke='%23360092'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}
/* Cuando el submenú está abierto, la flecha se vuelve 100% opaca y rota */
#mobile-navbar .menu-item-has-children.is-open > .menu-link::after {
    transform: rotate(180deg);
    opacity: 1;
}
/* Cuando la categoría está abierta, el texto principal se tiñe sutilmente de tu morado */
#mobile-navbar .menu-item-has-children.is-open > .menu-link {
    color: #360092;
    font-weight: 600;
}
/* 3. Estructura de Submenús (Línea guía morada) */
#mobile-navbar .sub-menu {
    margin-top: 0.25rem;
    margin-left: 1rem;
}
#mobile-navbar .sub-menu > :not([hidden]) ~ :not([hidden]) {
    --tw-space-y-reverse: 0;
    margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}
#mobile-navbar .sub-menu {
    padding-left: 1rem;
    /* Línea lateral izquierda sutil con tu color corporativo */
    border-left: 2px solid rgba(54, 0, 146, 0.15);
}
#mobile-navbar .menu-item-has-children.is-open > .sub-menu {
    display: block;
}
/* Enlaces de los niveles internos */
#mobile-navbar .sub-menu .menu-link {
    border-radius: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    --tw-text-opacity: 1;
    color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}
/* Al tocar un sub-elemento, cambia al color primario */
#mobile-navbar .sub-menu .menu-link:active {
    color: #360092;
    background-color: rgba(54, 0, 146, 0.04);
}
/* 4. Botón de "Ingresar al campus" (Llamada a la acción con la marca) */
#mobile-navbar > div > ul > li:last-child:not(.menu-item-has-children) a {
    margin-top: 1.5rem !important;
    background-color: #360092 !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 4px 14px 0 rgba(54, 0, 146, 0.25); /* Sombra elegante del mismo color */ display: flex !important; width: 100% !important; align-items: center !important; justify-content: center !important; border-radius: 0.75rem !important; padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; padding-left: 1rem !important; padding-right: 1rem !important; text-align: center !important; --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1) !important; --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important; box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important; transition-property: all !important; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important; transition-duration: 150ms !important;
}
#mobile-navbar > div > ul > li:last-child:not(.menu-item-has-children) a:active {
    --tw-scale-x: 0.98 !important;
    --tw-scale-y: 0.98 !important;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) !important;
}
/*
|--------------------------------------------------------------------------
| Desktop Header Navbar
|--------------------------------------------------------------------------
*/
/** First menu items in gray **/
#desktop-navbar ul:first-child > li > a {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
#desktop-navbar ul:first-child > li:hover > a {
    color: black;
}
/** Add chevron down icon to items that have children **/
#desktop-navbar ul > .menu-item-has-children > a:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='rgb(107 114 128)' class='w-4 h-4'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5' /%3E%3C/svg%3E%0A");
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
    display: block;
}
#desktop-navbar ul:first-child > .menu-item-has-children > a:after {
    margin-top: 0;
}
#desktop-navbar ul > .menu-item-has-children:hover > a:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#fff' class='w-6 h-6'%3E%3Cpath fill-rule='evenodd' d='M11.47 7.72a.75.75 0 011.06 0l7.5 7.5a.75.75 0 11-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 01-1.06-1.06l7.5-7.5z' clip-rule='evenodd' /%3E%3C/svg%3E%0A");
}
#desktop-navbar ul:first-child > .menu-item-has-children:hover > a:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#000' class='w-6 h-6'%3E%3Cpath fill-rule='evenodd' d='M11.47 7.72a.75.75 0 011.06 0l7.5 7.5a.75.75 0 11-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 01-1.06-1.06l7.5-7.5z' clip-rule='evenodd' /%3E%3C/svg%3E%0A");
}
#desktop-navbar ul {
    position: relative;
}
#desktop-navbar ul li {
    display: block;
    width: 100%;
}
#desktop-navbar ul li a {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
@keyframes fadeInOpacity {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
#desktop-navbar ul .menu-item-has-children ul {
    background: white;
    display: none;
    position: absolute;
    animation-name: fadeInOpacity;
    animation-iteration-count: 1;
    animation-timing-function: ease-in;
    animation-duration: 0.2s;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
#desktop-navbar ul li:hover > ul {
    display: inherit;
}
#desktop-navbar ul .menu-item-has-children ul li {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    position: relative;
    min-width: 200px;
    max-width: 200px;
    float: none;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
#desktop-navbar ul .menu-item-has-children ul li.menu-item-has-children > a {
    display: flex;
    align-items: center;
}
#desktop-navbar
    ul
    .menu-item-has-children
    ul
    li.menu-item-has-children
    > a:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='black' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M8.25 4.5l7.5 7.5-7.5 7.5' /%3E%3C/svg%3E%0A");
    position: absolute;
    right: 0.5rem;
}
#desktop-navbar
    ul
    .menu-item-has-children
    ul
    li.menu-item-has-children:hover
    > a:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='white' class='w-6 h-6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M4.5 15.75l7.5-7.5 7.5 7.5' /%3E%3C/svg%3E%0A");
}
#desktop-navbar ul .menu-item-has-children ul li > a {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
#desktop-navbar ul .menu-item-has-children ul li:hover {
    background: linear-gradient(to right, #50007f, #941aab);
    border-color: white;
    border-radius: 0.25rem;
}
#desktop-navbar ul .menu-item-has-children ul li:hover > a {
    color: white;
}
#desktop-navbar ul .menu-item-has-children ul ul {
    position: absolute;
    top: 0;
    right: -200px;
}
#desktop-navbar ul .menu-item-has-children ul ul li {
    position: relative;
}
/** Separator in each menu item **/
#desktop-navbar ul .menu-item-has-children ul > * + * {
    border-top-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
#menu-new-phones-list-for-desktop > li > a {
    color: white !important;
}
#menu-new-phones-list-for-desktop > li > a:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='#fff' class='w-4 h-4'%3E%3Cpath fill-rule='evenodd' d='M12.53 16.28a.75.75 0 01-1.06 0l-7.5-7.5a.75.75 0 011.06-1.06L12 14.69l6.97-6.97a.75.75 0 111.06 1.06l-7.5 7.5z' clip-rule='evenodd' /%3E%3C/svg%3E%0A") !important;
}
#menu-new-phones-list-for-desktop > li:hover > a:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff' class='w-4 h-4'%3E%3Cpath fill-rule='evenodd' d='M11.47 7.72a.75.75 0 011.06 0l7.5 7.5a.75.75 0 11-1.06 1.06L12 9.31l-6.97 6.97a.75.75 0 01-1.06-1.06l7.5-7.5z' clip-rule='evenodd' /%3E%3C/svg%3E%0A") !important;
}
#menu-new-phones-list-for-desktop li a img {
    width: 1.5rem;
    height: 1.5rem;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 100%;
    border: 2px solid #8000b8;
    display: block;
    margin-left: auto;
    margin-right: 0.5rem;
}
#menu-new-phones-list-for-desktop > li > a img {
    width: 2rem;
    height: 2rem;
}
#menu-new-phones-list-for-desktop li a {
    display: inline-flex;
}
/*
|--------------------------------------------------------------------------
| Section 1 (Hero section)
|--------------------------------------------------------------------------
*/
#section-1-cover {
    background: var(--bg-cover-on-mobile) no-repeat;
    background-size: cover;
    background-position: center;
}
@media (min-width: 1024px) {
    #section-1-cover {
        background: var(--bg-cover-on-desktop) no-repeat;
    }
}
img.with-filter-on-hover {
    filter: grayscale(100) brightness(100);
}
@media (min-width: 1024px) {
    #companies-list {
        border-bottom-right-radius: 5rem;
        border-top-right-radius: 5rem;
    }

    #companies-list img {
        filter: grayscale(100) brightness(100);
    }

    #companies-list img:not(.with-filter-on-hover):hover {
        filter: none !important;
    }
}
/*
|--------------------------------------------------------------------------
| Global
|--------------------------------------------------------------------------
*/
.gradient-text {
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
