/* =============================================================================
   UCATEBA — MENÚ PRINCIPAL v2026.5 (FULLY RESPONSIVE)
   Desktop  ≥1366px : mega-menu · dropdown simple · fly-out
   Laptop   1200-1365px : menú compacto o hamburguesa
   Mobile   <1200px : drawer lateral con animación + acordeón
   ============================================================================= */

/* ── 0. Variables ─────────────────────────────────────────────── */
:root {
    --mn-r: 14px;
    --mn-rs: 9px;
    --mn-sh: 0 24px 60px rgba(8, 29, 78, .13), 0 4px 16px rgba(8, 29, 78, .07);
    --mn-bd: 1px solid rgba(13, 42, 110, .09);
    --mn-t: 0.21s cubic-bezier(.4, 0, .2, 1);
    --mn-dw: 320px;
    --mn-orange: var(--ucateba-secondary, #f47920);
    --mn-blue: var(--ucateba-primary, #0d2a6e);
}

/* ── 1. Header ────────────────────────────────────────────────── */
header.ucateba-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(13, 42, 110, .07);
    position: sticky;
    top: 0;
    z-index: 2000;
    /* Permitir overflow visible para los dropdowns */
    overflow: visible !important;
}

header.ucateba-header .navbar {
    padding: 0;
    overflow: visible !important;
}

header.ucateba-header .container-fluid {
    height: 90px;
    display: flex;
    align-items: center;
    overflow: visible !important;
}

header.ucateba-header .navbar-brand {
    flex-shrink: 0;
    margin-right: 14px;
    padding: 0;
    display: flex;
    align-items: center;
}

header.ucateba-header .header-logo {
    height: 68px;
    width: auto;
    transition: opacity .2s;
}

header.ucateba-header .header-logo:hover {
    opacity: .85;
}

/* Buscador */
header.ucateba-header .navbar-search {
    flex-shrink: 0;
    margin-left: 6px;
    display: flex !important;
    align-items: center;
}

header.ucateba-header .btn-search-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(13, 42, 110, .06);
    color: var(--mn-blue);
    font-size: 1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: background var(--mn-t), color var(--mn-t);
}

header.ucateba-header .btn-search-toggle:hover {
    background: var(--mn-orange);
    color: #fff;
}

/* Toggler Bootstrap nativo oculto */
header.ucateba-header .navbar-toggler {
    display: none !important;
}

/* Collapse visible en desktop */
@media (min-width: 1200px) {
    header.ucateba-header .navbar-collapse {
        display: flex !important;
        flex: 1;
        align-items: center;
        overflow: visible !important;
        max-height: none !important;
    }
}

/* ── BREAKPOINT LAPTOP PEQUEÑO 1200-1365px ── */
@media (min-width: 1200px) and (max-width: 1365px) {
    header.ucateba-header .container-fluid {
        height: 72px;
        padding: 0 12px;
    }
    header.ucateba-header .header-logo {
        height: 48px;
    }
    header.ucateba-header .navbar-brand {
        margin-right: 6px;
    }
    .uc-nav {
        gap: 0 !important;
    }
    .uc-nav-link {
        padding: 6px 5px !important;
        font-size: .68rem !important;
        letter-spacing: 0 !important;
        gap: 3px !important;
    }
    .uc-nav-link > i.bi:not(.uc-caret) {
        font-size: .8rem !important;
    }
    .uc-caret {
        display: none !important;
    }
}

/* ── BREAKPOINT LAPTOP MEDIANO 1366-1440px ── */
@media (min-width: 1366px) and (max-width: 1440px) {
    header.ucateba-header .container-fluid {
        height: 82px;
    }
    header.ucateba-header .header-logo {
        height: 56px;
    }
    header.ucateba-header .navbar-brand {
        margin-right: 10px;
    }
    .uc-nav {
        gap: 0 !important;
    }
    .uc-nav-link {
        padding: 7px 7px !important;
        font-size: .72rem !important;
        letter-spacing: 0 !important;
    }
}

/* ── BREAKPOINT MOBILE/TABLET <1200px ── */
@media (max-width: 1199px) {
    header.ucateba-header .container-fluid {
        height: 64px;
        padding: 0 14px;
    }
    header.ucateba-header .header-logo {
        height: 46px;
    }
    #ucMainNav {
        display: none !important;
    }
}


/* ── 2. Nivel 1 — links ───────────────────────────────────────── */
.uc-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1px;
    flex-wrap: nowrap;
}

.uc-nav-item {
    position: relative;
    list-style: none;
    flex-shrink: 0;
}

.uc-nav-link {
    display: flex !important;
    align-items: center;
    gap: 4px;
    padding: 8px 9px !important;
    font-family: var(--font-primary);
    font-size: .765rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: var(--mn-blue) !important;
    border-radius: var(--mn-rs);
    white-space: nowrap;
    text-decoration: none !important;
    line-height: 1.2;
    position: relative;
    cursor: pointer;
    border: none;
    background: transparent;
    transition: color var(--mn-t), background var(--mn-t);
}

.uc-nav-link > i.bi:not(.uc-caret) {
    font-size: .88rem;
    flex-shrink: 0;
    transition: transform var(--mn-t);
}

.uc-nav-link:hover > i.bi:not(.uc-caret) {
    transform: scale(1.1);
}

/* Subrayado naranja animado */
.uc-nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 9px;
    right: 9px;
    height: 2px;
    background: var(--mn-orange);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--mn-t);
    transform-origin: left;
    pointer-events: none;
}

.uc-nav-link:hover::after,
.uc-nav-item.uc-active > .uc-nav-link::after {
    transform: scaleX(1);
}

.uc-nav-link:hover {
    color: var(--mn-orange) !important;
    background: rgba(244, 121, 32, .05);
}

.uc-nav-item.uc-active > .uc-nav-link {
    color: var(--mn-orange) !important;
}

/* Caret */
.uc-caret {
    font-size: .65rem !important;
    opacity: .5;
    flex-shrink: 0;
    transition: transform var(--mn-t), opacity var(--mn-t);
    pointer-events: none;
}

.uc-has-dropdown:hover > .uc-nav-link .uc-caret {
    transform: rotate(180deg);
    opacity: 1;
}


/* ── 3. Dropdowns (solo desktop ≥1200px) ─────────────────────── */
@media (min-width: 1200px) {

    .uc-dropdown {
        position: absolute;
        top: calc(100% + 2px);
        left: 0;
        z-index: 2200;
        background: #fff;
        border: var(--mn-bd);
        border-radius: var(--mn-r);
        box-shadow: var(--mn-sh);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity var(--mn-t), transform var(--mn-t), visibility var(--mn-t);
        overflow: visible;
    }

    /* Puente invisible */
    .uc-dropdown::before {
        content: '';
        position: absolute;
        top: -12px;
        left: 0;
        right: 0;
        height: 12px;
        background: transparent;
    }

    .uc-has-dropdown:hover > .uc-dropdown {
        opacity: 1;
        pointer-events: all;
        visibility: visible;
        transform: translateY(0);
    }

    /* Últimos ítems: abrir hacia la izquierda */
    .uc-nav-item:nth-last-child(-n+3) > .uc-simple {
        left: auto;
        right: 0;
    }
    .uc-nav-item:nth-last-child(-n+3) > .uc-mega {
        left: auto;
        right: 0;
    }

    /* ── 3a. Dropdown simple ── */
    .uc-simple {
        min-width: 250px;
        padding: 6px;
    }

    .uc-simple-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .uc-drop-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        font-size: .83rem;
        font-weight: 600;
        color: var(--mn-blue);
        border-radius: var(--mn-rs);
        text-decoration: none !important;
        white-space: nowrap;
        cursor: pointer;
        transition: background var(--mn-t), padding-left var(--mn-t), color var(--mn-t);
    }

    .uc-drop-item > i.bi:first-child {
        font-size: 1rem;
        color: var(--mn-orange);
        flex-shrink: 0;
        width: 20px;
        text-align: center;
        transition: transform var(--mn-t);
    }

    .uc-drop-item:hover {
        background: rgba(13, 42, 110, .05);
        padding-left: 16px;
    }

    .uc-drop-item:hover > i.bi:first-child {
        transform: scale(1.15);
    }

    .uc-drop-item.active {
        background: rgba(244, 121, 32, .09);
        color: var(--mn-orange);
    }

    .uc-simple-list > li + li > .uc-drop-item {
        border-top: 1px solid rgba(0, 0, 0, .04);
    }

    /* ── 3b. Fly-out ── */
    .uc-fly-arrow {
        margin-left: auto;
        font-size: .7rem !important;
        opacity: .3;
        flex-shrink: 0;
        transition: transform var(--mn-t), opacity var(--mn-t);
    }

    .uc-has-fly {
        position: relative;
    }

    .uc-has-fly::after {
        content: '';
        position: absolute;
        top: 0;
        right: -10px;
        width: 10px;
        height: 100%;
        background: transparent;
    }

    .uc-fly-menu {
        position: absolute;
        top: 0;
        left: calc(100% + 2px);
        list-style: none;
        margin: 0;
        padding: 6px;
        background: #fff;
        border: var(--mn-bd);
        border-radius: var(--mn-r);
        box-shadow: var(--mn-sh);
        min-width: 232px;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: translateX(6px);
        transition: opacity var(--mn-t), transform var(--mn-t), visibility var(--mn-t);
        z-index: 2300;
        overflow: hidden;
    }

    .uc-fly-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: -8px;
        width: 8px;
        height: 100%;
        background: transparent;
    }

    .uc-has-fly:hover > .uc-fly-menu {
        opacity: 1;
        pointer-events: all;
        visibility: visible;
        transform: translateX(0);
    }

    .uc-has-fly:hover > .uc-drop-item .uc-fly-arrow {
        transform: translateX(3px);
        opacity: .9;
    }

    .uc-nav-item:nth-last-child(-n+3) .uc-fly-menu {
        left: auto;
        right: calc(100% + 2px);
        transform: translateX(-6px);
    }

    .uc-nav-item:nth-last-child(-n+3) .uc-has-fly:hover > .uc-fly-menu {
        transform: translateX(0);
    }

    .uc-nav-item:nth-last-child(-n+3) .uc-fly-menu::before {
        left: auto;
        right: -8px;
    }

    /* ── 3c. Mega menu ── */
    .uc-mega {
        left: 50%;
        transform: translateX(-50%) translateY(8px);
        width: max-content;
        min-width: 480px;
        max-width: 94vw;
        padding: 0;
        overflow: hidden;
    }

    .uc-has-dropdown:hover > .uc-mega {
        transform: translateX(-50%) translateY(0);
    }

    .uc-nav-item:nth-child(-n+2) > .uc-mega {
        left: 0;
        transform: translateY(8px);
    }
    .uc-nav-item:nth-child(-n+2):hover > .uc-mega {
        transform: translateY(0);
    }
    .uc-nav-item:nth-last-child(-n+3) > .uc-mega {
        left: auto;
        right: 0;
        transform: translateY(8px);
    }
    .uc-nav-item:nth-last-child(-n+3):hover > .uc-mega {
        transform: translateY(0);
    }

    .uc-mega-inner {
        display: flex;
        flex-wrap: nowrap;
    }

    .uc-mega-col {
        flex: 1;
        min-width: 220px;
        padding: 12px 14px;
        border-right: 1px solid rgba(0, 0, 0, .05);
    }

    .uc-mega-col:last-child {
        border-right: none;
    }

    .uc-mega-group {
        margin-bottom: 8px;
    }

    .uc-mega-group:last-child {
        margin-bottom: 0;
    }

    .uc-mega-group-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: .7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .6px;
        color: var(--mn-blue);
        padding: 2px 8px 4px;
        margin-bottom: 2px;
        border-bottom: 1px solid rgba(13, 42, 110, .1);
        text-decoration: none !important;
        cursor: pointer;
        transition: color var(--mn-t);
    }

    .uc-mega-group-title > i {
        width: 26px;
        font-size: .95rem;
        color: var(--mn-orange);
        flex-shrink: 0;
        text-align: center;
    }

    .uc-mega-group-title:hover {
        color: var(--mn-orange);
    }

    .uc-mega-sublist {
        list-style: none !important;
        margin: 0;
        padding: 2px 0 0 0;
        position: relative;
    }

    .uc-mega-sublist::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 14px;
        left: 22px;
        width: 2px;
        background: rgba(13, 42, 110, 0.08);
        border-radius: 2px;
        z-index: 1;
    }

    .uc-mega-subitem {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 8px 4px 26px;
        font-size: .78rem;
        font-weight: 500;
        color: var(--ucateba-gray-700, #495057);
        border-radius: 6px;
        text-decoration: none !important;
        cursor: pointer;
        position: relative;
        transition: all var(--mn-t);
    }

    .uc-mega-subitem::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 22px;
        width: 8px;
        height: 2px;
        background: rgba(13, 42, 110, 0.08);
        transition: all var(--mn-t);
        z-index: 1;
    }

    .uc-subitem-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #fff;
        border: 2px solid rgba(13, 42, 110, 0.2);
        flex-shrink: 0;
        position: relative;
        z-index: 2;
        transition: all var(--mn-t);
    }

    .uc-mega-subitem:hover {
        background: rgba(13, 42, 110, .03);
        color: var(--mn-blue);
        transform: translateX(3px);
    }

    .uc-mega-subitem:hover::before {
        background: var(--mn-orange);
        width: 11px;
    }

    .uc-mega-subitem:hover .uc-subitem-dot {
        background: var(--mn-orange);
        border-color: var(--mn-orange);
        transform: scale(1.3);
        box-shadow: 0 0 0 3px rgba(244, 121, 32, .15);
    }

    .uc-mega-subitem.active {
        color: var(--mn-orange);
        background: rgba(244, 121, 32, .06);
    }

    .uc-mega-subitem.active::before { background: var(--mn-orange); }
    .uc-mega-subitem.active .uc-subitem-dot {
        background: var(--mn-orange);
        border-color: var(--mn-orange);
        box-shadow: 0 0 0 3px rgba(244, 121, 32, .2);
    }

    .uc-mega-item {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 5px 8px;
        font-size: .8rem;
        font-weight: 600;
        color: var(--mn-blue);
        border-radius: var(--mn-rs);
        text-decoration: none !important;
        cursor: pointer;
        margin-bottom: 2px;
        transition: background var(--mn-t);
    }

    .uc-mega-item-icon {
        width: 26px;
        height: 26px;
        border-radius: 6px;
        background: rgba(13, 42, 110, .06);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .88rem;
        color: var(--mn-orange);
        flex-shrink: 0;
        transition: background var(--mn-t), transform var(--mn-t), color var(--mn-t);
    }

    .uc-mega-item:hover { background: rgba(13, 42, 110, .04); }
    .uc-mega-item:hover .uc-mega-item-icon {
        background: var(--mn-orange);
        color: #fff;
        transform: scale(1.08);
    }
    .uc-mega-item.active {
        background: rgba(244, 121, 32, .08);
        color: var(--mn-orange);
    }
    .uc-mega-item.active .uc-mega-item-icon {
        background: var(--mn-orange);
        color: #fff;
    }

} /* fin @media ≥1200px */


/* ── 4. Hamburguesa ───────────────────────────────────────────── */
.uc-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(13, 42, 110, .06);
    border: 1.5px solid rgba(13, 42, 110, .1);
    border-radius: 11px;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-left: 8px;
    transition: background var(--mn-t);
}

.uc-hamburger:hover { background: rgba(13, 42, 110, .11); }

.uc-hb-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--mn-blue);
    border-radius: 2px;
    transition: transform .28s ease, opacity .28s ease;
    pointer-events: none;
}

.uc-hamburger--open .uc-hb-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.uc-hamburger--open .uc-hb-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.uc-hamburger--open .uc-hb-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) { .uc-hamburger { display: flex; } }
@media (min-width: 1200px) { .uc-hamburger { display: none !important; } }


/* ── 5. Overlay ───────────────────────────────────────────────── */
.uc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 29, 78, .5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .32s ease;
}

.uc-overlay--visible {
    opacity: 1;
    pointer-events: all;
}


/* ── 6. Drawer ────────────────────────────────────────────────── */
.uc-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--mn-dw);
    max-width: 92vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 3100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(-100%);
    transition: transform .36s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 6px 0 48px rgba(8, 29, 78, .22);
}

.uc-drawer.uc-drawer--open { transform: translateX(0); }

.uc-drawer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mn-orange), #f79440);
    z-index: 1;
}

.uc-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 66px;
    min-height: 66px;
    background: var(--mn-blue);
    flex-shrink: 0;
    border-bottom: 3px solid var(--mn-orange);
}

.uc-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.uc-drawer-logo-wrapper {
    background: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uc-drawer-logo {
    height: 34px;
    width: auto;
    display: block;
}

.uc-drawer-brand-text {
    color: #fff;
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.uc-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
}

.uc-drawer-close:hover {
    background: rgba(255, 255, 255, .26);
    transform: scale(1.06);
}

.uc-drawer-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 10px 72px;
    -webkit-overflow-scrolling: touch;
}

.uc-drawer-body::-webkit-scrollbar { width: 3px; }
.uc-drawer-body::-webkit-scrollbar-thumb {
    background: rgba(13, 42, 110, .15);
    border-radius: 3px;
}


/* ── 7. Items del drawer ──────────────────────────────────────── */
.ucd-row { width: 100%; }

.ucd-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 14px;
    font-family: var(--font-primary);
    font-size: .905rem;
    font-weight: 700;
    color: var(--mn-blue);
    text-decoration: none;
    border: none;
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    transition: background var(--mn-t), color var(--mn-t);
    text-align: left;
    line-height: 1.3;
}

.ucd-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.ucd-left > i.bi {
    font-size: 1rem;
    color: var(--mn-orange);
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.ucd-left > span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ucd-link:hover {
    background: rgba(244, 121, 32, .07);
    color: var(--mn-orange);
}

.ucd-link.active {
    background: rgba(244, 121, 32, .09);
    color: var(--mn-orange);
    border-left: 3px solid var(--mn-orange);
    padding-left: 11px;
}

.ucd-link:hover .ucd-left > i.bi,
.ucd-link.active .ucd-left > i.bi { color: var(--mn-orange); }

.ucd-toggle-btn { justify-content: space-between; }

.ucd-arrow {
    font-size: .85rem;
    color: rgba(13, 42, 110, .4);
    transition: transform .3s ease, color .2s;
    margin-left: 8px;
    flex-shrink: 0;
}

.ucd-toggle-btn[aria-expanded="true"] {
    background: rgba(244, 121, 32, .05);
    color: var(--mn-orange);
}

.ucd-toggle-btn[aria-expanded="true"] .ucd-arrow {
    transform: rotate(180deg);
    color: var(--mn-orange);
}

.ucd-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height .38s cubic-bezier(.4, 0, .2, 1);
    border-left: 2.5px solid rgba(244, 121, 32, .3);
    margin-left: 20px;
}

.ucd-child .ucd-link {
    font-size: .865rem;
    font-weight: 600;
    padding: 10px 12px 10px 14px;
    color: var(--ucateba-gray-700, #495057);
    border-radius: 8px;
}

.ucd-child .ucd-link:hover { color: var(--mn-blue); }
.ucd-child .ucd-link.active { color: var(--mn-orange); }

.ucd-child .ucd-panel {
    margin-left: 14px;
    border-left-color: rgba(244, 121, 32, .18);
}

.ucd-child .ucd-child .ucd-link {
    font-size: .835rem;
    padding: 8px 10px 8px 12px;
}


/* ── 8. Tablet ────────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1199px) {
    :root { --mn-dw: 370px; }
    .ucd-link {
        font-size: .94rem;
        padding: 14px 16px;
    }
    .ucd-child .ucd-link { font-size: .9rem; }
}


/* ── 9. Accesibilidad ─────────────────────────────────────────── */
.uc-nav-link:focus-visible,
.uc-drop-item:focus-visible,
.uc-mega-item:focus-visible,
.uc-mega-subitem:focus-visible,
.uc-mega-group-title:focus-visible,
.uc-hamburger:focus-visible,
.uc-drawer-close:focus-visible,
.ucd-link:focus-visible {
    outline: 2px solid var(--mn-orange);
    outline-offset: 2px;
    border-radius: var(--mn-rs);
}

@media (prefers-reduced-motion: reduce) {
    .uc-drawer, .uc-overlay, .uc-dropdown, .uc-fly-menu,
    .uc-drop-item, .uc-mega-item, .uc-nav-link, .uc-hamburger,
    .uc-hb-bar, .ucd-panel, .ucd-arrow {
        transition: none !important;
        animation: none !important;
    }
}


/* ── 10. Anular conflictos Bootstrap ─────────────────────────── */
header.ucateba-header .navbar-nav .dropdown-menu { display: none !important; }
header.ucateba-header .navbar-nav .dropdown-toggle::after { display: none !important; }

@media (max-width: 1199px) {
    header.ucateba-header #mainNav {
        border-top: none;
        box-shadow: none;
        max-height: none;
        overflow: visible;
        background: transparent;
        padding: 0;
    }
}

/* ── 11. FIX overflow-x — No cortar el menú ─────────────────── */
/* El antivibracion.css pone overflow-x:hidden en html,body lo que
   corta los dropdowns. Revertimos solo para el header. */
body.site {
    overflow-x: clip !important; /* clip no corta los sticky/fixed children */
}

header.ucateba-header,
header.ucateba-header * {
    overflow: visible !important;
}

/* Solo el drawer y overlay salen del flujo normal */
.uc-overlay,
.uc-drawer {
    overflow: hidden !important;
}