.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#003B4D;--e-global-color-0f7053e:#003B4D;--e-global-color-661c090:#898989;--e-global-color-7fa385e:#FFFFFF;--e-global-color-f87163e:#000000;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header{padding-inline-end:0px;padding-inline-start:0px;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */.elementor-shape {
  display: none;
}
.laumayer-splitter {
  display: block;
}

/* ===== Corrección de ancho del sticky ===== */
.header-fijo,
.header-fijo.elementor-sticky--active,
.elementor-sticky__spacer {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

.header-fijo {
  z-index: 999;
}

/* ===== Mega Menú: permitir que los submenús salgan del desplegable ===== */
.e-n-menu-content,
.e-n-menu-content > .e-con {
  overflow: visible !important;
}

/* ===== JetMenu vertical: lista con scroll + submenús alineados (posición por JS) ===== */
.menu-categorias {
  position: relative !important;
}

.menu-categorias .jet-custom-nav {
  position: static !important;
  max-height: calc(100vh - 230px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5ccd0 transparent;
}

.menu-categorias .jet-custom-nav::-webkit-scrollbar {
  width: 6px;
}
.menu-categorias .jet-custom-nav::-webkit-scrollbar-thumb {
  background: #c5ccd0;
  border-radius: 3px;
}

.menu-categorias .jet-custom-nav > .jet-custom-nav__item {
  position: static !important;
}

/* Segundo nivel: la posición la calcula el script en --lm-top (JetMenu no la puede pisar) */
.menu-categorias .jet-custom-nav > .jet-custom-nav__item > .jet-custom-nav__sub,
.menu-categorias .jet-custom-nav > .jet-custom-nav__item > .jet-custom-nav__mega-sub {
  top: var(--lm-top, 0px) !important;
  bottom: auto !important;
  left: 100% !important;
  margin-top: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* ===== Lista de categorías siempre desde el primer item ===== */
.menu-categorias .jet-custom-nav {
  justify-content: flex-start !important;
  align-content: flex-start !important;
  align-items: stretch !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none !important;
}

.menu-categorias .jet-custom-nav > .jet-custom-nav__item:first-child {
  margin-top: 0 !important;
}

.menu-categorias,
.menu-categorias .elementor-widget-container {
  align-self: flex-start;
  margin-top: 0 !important;
}

/* ===== Compactar en pantallas bajas ===== */
@media (min-width: 1025px) and (max-height: 900px) {
  .menu-categorias a {
    font-size: 14px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
}
@media (min-width: 1025px) and (max-height: 760px) {
  .menu-categorias a {
    font-size: 13px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

/* ===== Tercer nivel: mismo alto que la fila y texto centrado ===== */
.menu-categorias .jet-custom-nav__sub > .jet-custom-nav__item {
  position: relative !important;
}

.menu-categorias .jet-custom-nav__sub > .jet-custom-nav__item > .jet-custom-nav__sub {
  top: var(--lm-top, 0px) !important;
  margin-top: 0 !important;
  min-height: 100% !important;
  display: grid !important;
  align-content: center !important;
}

.menu-categorias .jet-custom-nav__sub .jet-custom-nav__sub > .jet-custom-nav__item {
  margin: 0 !important;
  height: auto !important;
}

.menu-categorias .jet-custom-nav__sub .jet-custom-nav__sub .jet-custom-nav__item-link {
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  margin: 0 !important;
}

/* ===== Megamenú tipo "zoom": escritorio (1025px en adelante) ===== */
@media (min-width: 1025px) and (max-height: 900px) {
  .mega-zoom { zoom: 0.92; }
}
@media (min-width: 1025px) and (max-height: 780px) {
  .mega-zoom { zoom: 0.87; }
}
@media (min-width: 1025px) and (max-height: 680px) {
  .mega-zoom { zoom: 0.82; }
}

/* ===== Megamenú: tablets y pantallas pequeñas (768px a 1024px) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .mega-zoom { zoom: 0.8; }
}
@media (min-width: 768px) and (max-width: 1024px) and (max-height: 800px) {
  .mega-zoom { zoom: 0.72; }
}
@media (min-width: 768px) and (max-width: 1024px) and (max-height: 650px) {
  .mega-zoom { zoom: 0.65; }
}

/* ===== Logo SVG con tagline que se oculta al hacer scroll ===== */
.lm-logo {
  display: block;
  width: 250px;
  line-height: 0;
  transition: width .4s cubic-bezier(.4, 0, .2, 1);
}

.lm-logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.lm-logo .lm-tagline {
  transition: opacity .25s ease;
}

.header-fijo.elementor-sticky--effects .lm-logo {
  width: 200px;
}

.header-fijo.elementor-sticky--effects .lm-logo .lm-tagline {
  opacity: 0;
}

@media (max-width: 1024px) {
  .lm-logo { width: 220px; }
  .header-fijo.elementor-sticky--effects .lm-logo { width: 170px; }
}

/* ===== Zoom general del sitio en laptops (1024px a 1440px) ===== */
@media (min-width: 1024px) and (max-width: 1440px) {
  html {
    zoom: 0.8;
  }
}

/* ===== Animación del header fijo: se desliza hacia arriba ===== */
.header-fijo {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.header-fijo.elementor-sticky--effects {
  transform: translateY(-20px);
}

/* ===== Submenús controlados por el script (intención de hover) =====
   Solo se activa si el script cargó (clase lm-menu-js en <html>).
   Si el script no carga, el menú funciona normal con JetMenu. */
.lm-menu-js .menu-categorias .jet-custom-nav > .jet-custom-nav__item > .jet-custom-nav__sub,
.lm-menu-js .menu-categorias .jet-custom-nav > .jet-custom-nav__item > .jet-custom-nav__mega-sub {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.lm-menu-js .menu-categorias .jet-custom-nav > .jet-custom-nav__item.lm-open > .jet-custom-nav__sub,
.lm-menu-js .menu-categorias .jet-custom-nav > .jet-custom-nav__item.lm-open > .jet-custom-nav__mega-sub {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: none !important;
}

/* La categoría abierta se queda resaltada aunque el mouse pase por otras */
.menu-categorias .jet-custom-nav > .jet-custom-nav__item.lm-open > .jet-custom-nav__item-link {
  background-color: #dddddd;
}

/* ===== Flechas solo en ítems que tienen submenú ===== */
.jet-custom-nav__item:has(> .jet-custom-nav__sub, > .jet-custom-nav__mega-sub) > .jet-custom-nav__item-link {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: space-between;
}

/* El texto ocupa el espacio y hace wrap él solo, la flecha no se baja */
.jet-custom-nav__item:has(> .jet-custom-nav__sub, > .jet-custom-nav__mega-sub) > .jet-custom-nav__item-link .jet-menu-link-text {
  flex: 1 1 auto;
  min-width: 0;
}

/* Flecha (estilo referente: fina, azul de marca con transparencia) */
.jet-custom-nav__item:has(> .jet-custom-nav__sub, > .jet-custom-nav__mega-sub) > .jet-custom-nav__item-link::after {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-left: 16px;
  margin-right: 2px;
  border-top: 1.2px solid rgba(0, 59, 77, 0.55);
  border-right: 1.2px solid rgba(0, 59, 77, 0.55);
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.jet-custom-nav__item:has(> .jet-custom-nav__sub, > .jet-custom-nav__mega-sub):hover > .jet-custom-nav__item-link::after {
  transform: translateX(3px) rotate(45deg);
}

/* ===== Header fijo en tablet y móvil: sin desplazamiento ===== */
@media (max-width: 1024px) {
  .header-fijo,
  .header-fijo.elementor-sticky--effects {
    transform: none !important;
    will-change: auto !important;
  }

  /* En móvil el logo no cambia al hacer scroll */
  .header-fijo.elementor-sticky--effects .lm-logo .lm-tagline {
    opacity: 1;
  }
}

/* ===== Escritorio: contenido de la barra azul centrado al subir el header ===== */
@media (min-width: 1025px) {
  .header-fijo .header-top > .e-con-inner,
  .header-fijo .header-top > .elementor-element {
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  }

  .header-fijo.elementor-sticky--effects .header-top > .e-con-inner,
  .header-fijo.elementor-sticky--effects .header-top > .elementor-element {
    transform: translateY(10px);
  }
}/* End custom CSS */