/* ====================================================================
   UCALP Navigation Offcanvas Hybrid - Structure Layer
   Shell, header, burger and main-menu coexistence rules.
   ==================================================================== */


.ucalp-nav-shell--hybrid {
  --ucalp-h-header: 72px;
}

/* Header style for hybrid layout */
.ucalp-nav-shell--hybrid .ucalp-nav-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 30px rgba(0, 25, 50, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: background var(--ucalp-transition), box-shadow var(--ucalp-transition), border var(--ucalp-transition);
}

.ucalp-nav-shell--hybrid .ucalp-nav-header-inner {
  gap: 16px;
  display: flex;
  align-items: center;
}

/* Hamburger button in hybrid desktop layout */
.ucalp-nav-shell--hybrid .ucalp-nav-burger {
  display: flex !important;
  margin-right: -11px !important;
  border: none;
  background: transparent;
  color: var(--ucalp-azul-950, #003a72);
  width: 42px;
  height: 42px;
  min-width: 42px;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 50%;
  transition: background var(--ucalp-transition), transform var(--ucalp-transition);
  cursor: pointer;
  flex-shrink: 0;
}

.ucalp-nav-shell--hybrid .ucalp-nav-burger:hover {
  background: rgba(0, 94, 184, 0.06);
  transform: scale(1.05);
}

.ucalp-nav-shell--hybrid .ucalp-nav-burger span {
  width: 20px;
  height: 2px;
  background: var(--ucalp-azul-950, #003a72);
  border-radius: 2px;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

.ucalp-nav-shell--hybrid .ucalp-nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.ucalp-nav-shell--hybrid .ucalp-nav-burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.ucalp-nav-shell--hybrid .ucalp-nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Coexistence: force main menu display in desktop header */
@media (min-width: 900px) {
  .ucalp-nav-shell--hybrid .ucalp-nav-main {
    display: flex !important;
    align-items: center;
    gap: 6px;
    margin-inline: auto;
  }
}
@media (max-width: 899px) {
  .ucalp-nav-shell--hybrid .ucalp-nav-main {
    display: none !important;
  }
}

/* HYBRID OFF-CANVAS: estilos generales y movil */

