/* Basado en Elements/menu_top.ctp + menu_top.css (el compartido), pero SIN el reset global
   de `body` que traía el original (font-family/color/background) — eso era lo que pisaba la
   tipografía de todo el layout de Business al cargarse después del CSS de la página. Ver
   [[feedback_css_nonblocking]] y la nota de business_layout_new.ctp sobre por qué este archivo
   se carga en el <head>, bloqueante, junto con el resto del CSS de Business.

   Rediseño TIN-565: estilos de la barra superior de edutin-landing-home.html (.ea-topbar),
   con clases propias header-top__* para no chocar con el .ea-pop sin scope de
   menu_native_new.css. Los colores van fijos (no var(--...)) porque este elemento se usa en
   layouts con sistemas de tokens distintos. */

.header-top {
    position: relative;
    z-index: 1000; /* el popover cruza por delante del navbar (.ea-nav, z-index:100) */
    background: #fff;
    border-bottom: 1px solid #E6EAF3;
    font-family: 'Mulish', sans-serif;
}

/* 1336px/24px: alineado con .ea-nav .wrap de menu_native_new.css (maqueta edutin-programas-certificacion) */
.header-top__in {
    max-width: 1336px;
    margin: 0 auto;
    padding: 0 24px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
}

/* ---------- Personal / Empresas ---------- */
.header-top__seg {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 0;
}

.header-top__seg a {
    padding: 0 16px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 15.5px;
    font-weight: 700;
    color: #56607D;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: .14s ease;
}

.header-top__seg a:hover {
    color: #1C2541;
}

.header-top__seg a.is-on {
    color: #1C2541;
    border-bottom-color: #2979FF;
}

/* ---------- Sobre nosotros ---------- */
.header-top__right {
    position: relative;
    display: flex;
    align-items: center;
}

.header-top__about {
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 2px;
    font-size: 15.5px;
    font-weight: 700;
    color: #1C2541;
    transition: color .14s ease;
}

.header-top__about:hover,
.header-top__about[aria-expanded="true"] {
    color: #2979FF;
}

.header-top__about .caret {
    width: 15px;
    height: 15px;
    transition: transform .2s ease;
}

.header-top__about[aria-expanded="true"] .caret {
    transform: rotate(180deg);
}

.header-top__pop {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: #fff;
    border: 1px solid #E6EAF3;
    border-radius: 16px;
    box-shadow: 0 26px 44px -22px rgba(50, 50, 93, .34);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.985);
    transition: .2s cubic-bezier(.22, .61, .36, 1);
}

.header-top__pop.open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.header-top__menu {
    padding: 8px;
}

.header-top__item {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: .13s ease;
}

.header-top__item:hover {
    background: #ECF0FF;
}

.header-top__item .ai-t {
    display: block;
    color: #2979FF;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.35;
}

.header-top__item .ai-d {
    display: block;
    margin-top: 2px;
    color: #56607D;
    font-size: 13px;
    line-height: 1.45;
}

.header-top__sep {
    height: 1px;
    background: #E6EAF3;
    margin: 6px 10px;
}

@media (max-width: 620px) {
    .header-top__in {
        padding: 0 14px;
    }

    .header-top__pop {
        width: min(340px, calc(100vw - 24px));
    }
}
