.lks-mega-menu {
  display: flex;
  min-height: 600px;
  background: #19333d;
  color: #fff;
  overflow: hidden;
}
.lks-header-mega-menu {
    position: relative;
    z-index: 1000;
}

.lks-header-mega-menu__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(32px, 3vw, 70px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.lks-header-mega-menu__button {
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 16px 0;
    text-transform: uppercase;
}

.lks-header-mega-menu__button.is-active {
    font-weight: 800;
    background: black;
}

.lks-header-mega-menu__nav-item.active > .lks-header-mega-menu__button {
    color: #fff;
    font-weight: 800;
    position: relative;
}


.lks-header-mega-menu__nav-item.active > .lks-header-mega-menu__button::after {
    content: "";
    position: absolute;
    left: -10%;
    bottom: 0;
    width: 120%;
    height: 4px;
    background: linear-gradient(90deg, #FA8F40 0%, #D14640 50%,  #6F3537 100%);
    pointer-events: none;
    border-radius: 5px;
}

.lks-header-mega-menu__dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100vw;
    background: #19333d;
    color: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.hero-header .lks-header-mega-menu {
    position: static;
}

.hero-header .lks-header-mega-menu__dropdown {
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.lks-header-mega-menu__dropdown[hidden] {
    display: none;
}

.lks-mobile-menu-toggle {
    display: none;
}

.lks-mobile-menu[hidden] {
    display: none !important;
}

.lks-header-mega-menu__dropdown-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.lks-mega-menu__panel {
    display: none;
}

.lks-mega-menu__panel.is-active {
    display: block;
}

.lks-mobile-menu {
    display: none;
}

@media (max-width: 1278px) {
    .hero-block .hero-header {
        grid-template-columns: minmax(142px, auto) minmax(0, 1fr) auto;
    }

    .hero-block .hero-header__brand {
        gap: 12px;
    }

    .hero-block .hero-header__menu {
        display: block !important;
    }

    .lks-mobile-menu-toggle {
        position: relative;
        z-index: 1000000;
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 50%;
        background:transparent;
        cursor: pointer;
    }

    .lks-mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 999px;
        background: #fff;
        transition: transform .2s ease, opacity .2s ease;
    }

    .lks-mobile-menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .lks-mobile-menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .lks-mobile-menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .lks-header-mega-menu__nav,
    .lks-header-mega-menu__dropdown {
        display: none !important;
    }

    .lks-mobile-menu {
        display: none;
    }

    .lks-mobile-menu.is-open {
        display: block;
    }
}

.lks-mega-menu__left {
  width: 320px;
  background: #23414b;
  display: flex;
  flex-direction: column;
  padding: 25px;
  button > br {
    display: none;
  }
  button + br {
    display: none;
  }
  span > br {
    display: none;
  }
}

.lks-mega-menu__parent {
  background-color: transparent;
  background-image: url(../images/arrow-list.svg);
  background-repeat: no-repeat;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-align: left;
  padding: 24px 32px;
  font-size: 20px;
  cursor: pointer;
  width: 100%;
  font-family: "Inter-var", sans-serif;
  font-weight: 200;
  background-position: 90% center;
  background-size: 14px;
  &:first-child {
    background-image: url(../images/ico-home.svg);
    background-size: 18px;
  }
  &:last-child {
    border-bottom: 0;
  }
}

.lks-mega-menu__parent.is-active {
  background-color: #ff5a00;
  background-image: url(../images/ico-arrow-white-medium.svg);
  background-size: 26px;
  animation: arrow-fly 1s ease;
}

@keyframes arrow-fly {
  0% {
    background-position: 90% center;
  }
  50% {
    background-position: 96% center;
  }
  100% {
    background-position: 90% center;
  }
}

.lks-mega-menu__right {
  flex: 1;
  padding: 60px;
  background: #1d3640;
}

.lks-mega-menu__panel {
  display: none;
  a + p {
    display: none;
  }
  > p {
    display: none;
  }
  animation: showpanel 0.4s ease;
}

@keyframes showpanel {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.lks-mega-menu__panel.is-active {
  display: block;
}

.lks-mega-menu__panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 40px;
  flex-direction: column;
}

.lks-mega-menu__panel-heading h2 {
  font-size: 56px;
  line-height: 1;
  margin: 0;
  text-transform: uppercase;
  color: white;
}

.lks-mega-menu__panel-intro {
  max-width: 590px;
  margin-bottom: 2rem;
}

.lks-mega-menu__panel-intro p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff7d;
}

.lks-mega-menu__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  + p {
    display: none;
  }
}

.lks-mega-menu__card {
  display: block;
  background: #28505d;
  padding: 32px 24px;
  text-decoration: none;
  color: #fff;
  min-height: 260px;
  transition: 0.1s ease;
  &:hover {
    transform: scale(1.05);
    box-shadow: 1px 1px 20px #0000002e;
  }
}

.lks-mega-menu__card h3 {
  max-width: none;
  margin: 0;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  font-family: 'Poppins';
}

.lks-mega-menu__card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  max-width: 300px;
}

.lks-mega-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 9px;
  width: 72px;
  height: 115px;
  transition: 0.1s ease;
  padding: 0 16px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 9999;
  margin-left: 10px;
  &:hover {
    gap: 11px;
    
  }
 span {
      background: #274651;
 }
  @media (max-width: 768px) {
    height: 77px !important;

  }
}

.lks-mega-menu-toggle span {
  display: block;
  width: 100%;
  height: 4px;
  background: #788e95;
}

.floading-header {
  .lks-mega-menu-toggle {
    gap: 8px;
    width: 60px;
    height: 98px !important;
    @media (max-width: 650px) {
      height: 80px !important;
    }
    margin-right: 10px;
    span {
      height: 2px;
    }
  }
}

.page-template {
  .lks-mega-menu-toggle {
    height: 110px;
  }
}
.home {
  .lks-mega-menu-toggle {
    height: 132px;
    @media (max-width: 768px) {
      height: 98px;
    }
  }
}

.lks-mega-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgb(29 54 64 / 70%);
  overflow-y: auto;
}

.lks-mega-menu-overlay[hidden] {
  display: none;
}

.lks-mega-menu-close {
  position: absolute;
  top: 80px;
  right: 40px;
  width: 56px;
  height: 56px;
  border: 0;
  background: #fe5a00;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.lks-mega-menu-overlay .lks-mega-menu {
  width: calc(100% - 80px);
  margin: 80px auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  min-height: calc(100% - 160px);
}

body.lks-mega-menu-open {
  overflow: hidden;
}




@media (min-width: 1279px) {
  .lks-header-mega-menu__nav {
    gap: clamp(20px, 2vw, 70px);
  }

  .lks-header-mega-menu__button {
          position: relative;
        z-index: 1;
        padding: 18px 0;
        color: white;
        font-size: 16px;
        font-weight: 200;
        transition:.1s ease;
  }

  .lks-header-mega-menu__button.is-active {
    background: transparent;
    color: #fff;
    font-weight: 600;
            margin-top: -10px;
  }

  .lks-header-mega-menu__button.is-active::after {
  content: "";
    position: absolute;
    left: -10%;
    bottom: 0;
    width: 120%;
    height: 4px;
    background: linear-gradient(90deg, #FA8F40 0%, #D14640 50%, #6F3537 100%);
    pointer-events: none;
    border-radius: 5px;
  }

  .lks-header-mega-menu__dropdown {
    top: calc(100% - 1px);
    left: 50%;
    width: min(84vw, 1680px);
    border-radius: 14px;
    background: linear-gradient(108deg, #bd3d48 0%, #ef4d2b 58%, #ff853e 100%);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    transform: translateX(-50%);
    overflow: hidden;
  }

  .hero-header .lks-header-mega-menu__dropdown {
    left: 50%;
    right: auto;
    width: min(84vw, 1680px);
  }

  .lks-header-mega-menu__dropdown-inner {
    max-width: none;
    width: 100%;
  }

  .lks-mega-menu__right {
    min-height: 355px;
    padding: clamp(40px, 4vw, 40px);
    background: transparent;
  }

  .lks-mega-menu__panel.is-active {
    display: grid;
    grid-template-columns: minmax(230px, 270px) minmax(420px, 1fr) minmax(280px, 360px);
    gap: clamp(36px, 4vw, 74px);
    align-items: start;
  }

  .lks-mega-menu__panel-header {
    margin: 0;
    gap: 26px;
  }

  .lks-mega-menu__panel-heading h2 {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: -1px;
  }

  .lks-mega-menu__panel-intro {
    max-width: 315px;
    margin: 0;
  }

  .lks-mega-menu__panel-intro p {
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.35;
  }

  .lks-mega-menu__cards {
    display: grid;
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 36px;
    align-items: stretch;
  }

  .lks-mega-menu__card {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    align-items: start;
    min-height: auto;
    padding: 12px 14px;
    border-radius: 12px;
    background: transparent;
    background-image: none !important;
    color: #fff;
    box-shadow: none;
    transition: background .2s ease, color .2s ease, transform .2s ease;
    align-content: start;
  }

  .lks-mega-menu__card:hover {
    background: linear-gradient(100deg, #a63e45 0%, #ef4d27 52%, #ff8840 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: none;
  }

  .lks-mega-menu__card:hover h3,
  .lks-mega-menu__card:hover p,
  .lks-mega-menu__card:hover .lks-mega-menu__card-number {
    color: #fff;
  }

  .lks-mega-menu__card-number {
    grid-row: span 2;
    color: rgba(255, 255, 255, .56);
    font-size: 18px;
        padding-right: 10px;
        font-weight: 800;
        line-height: 1.1;
  }

  .lks-mega-menu__card h3 {
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    font-family: 'Poppins';
  }

  .lks-mega-menu__card p {
    grid-column: 2;
    max-width: 320px;
    margin-top: 10px;
    color: rgba(255, 255, 255, .74);
    font-size: 14px;
    line-height: 1.35;
  }

  .menu-innovacion .lks-mega-menu__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
    align-content: start;
  }

  .menu-innovacion .lks-mega-menu__card {
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(25, 51, 61, .18);
  }

  .menu-innovacion .lks-mega-menu__card.menu-innovacion-principal {
    grid-column: 1 / -1;
    padding: 28px 30px;
    grid-template-columns: 70px minmax(0, 1fr) 42px;
    align-items: end;
    overflow: hidden;
    border: 0;
    background:
      radial-gradient(circle at 88% 24%, rgba(255, 255, 255, .22) 0 2px, transparent 3px),
      radial-gradient(circle at 74% 58%, rgba(255, 143, 64, .32), transparent 32%),
      linear-gradient(112deg, rgba(111, 53, 55, .92) 0%, rgba(209, 70, 64, .9) 46%, rgba(250, 143, 64, .9) 100%);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .18);
  }

  .menu-innovacion .lks-mega-menu__card.menu-innovacion-principal::after {
    content: "\2192";
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: end;
    justify-self: end;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    transition: transform .2s ease, background .2s ease;
  }

  .menu-innovacion .lks-mega-menu__card.menu-innovacion-principal:hover::after {
    transform: translateX(4px);
    background: rgba(255, 255, 255, .24);
  }

  .menu-innovacion .menu-innovacion-principal .lks-mega-menu__card-number {
    font-size: 20px;
    color: rgba(255, 255, 255, .76);
  }

  .menu-innovacion .menu-innovacion-principal h3 {
    max-width: 520px;
    font-size: clamp(25px, 2vw, 34px);
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: .95;
  }

  .menu-innovacion .menu-innovacion-principal p {
    grid-column: 2;
    max-width: 540px;
    margin-top: 16px;
    color: rgba(255, 255, 255, .86);
    font-size: 15px;
  }

  .menu-innovacion .lks-mega-menu__card.menu-innovacion-subopcion {
    padding: 16px 18px;
    grid-template-columns: 48px minmax(0, 1fr);
    border-radius: 14px;
  }

  .menu-innovacion .menu-innovacion-subopcion .lks-mega-menu__card-number {
    font-size: 14px;
    color: rgba(255, 255, 255, .42);
  }

  .menu-innovacion .menu-innovacion-subopcion h3 {
    font-size: 16px;
    line-height: 1.08;
  }

  .menu-innovacion .menu-innovacion-subopcion p {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.25;
    color: rgba(255, 255, 255, .62);
  }

  .lks-mega-menu__featured {
    grid-column: 3;
    display: flex;
    min-height: 285px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    border-radius: 14px;
    background-color: rgba(16, 44, 54, .36);
    background-position: center;
    background-size: cover;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
  }

  .lks-mega-menu__featured::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(25, 51, 61, .12) 0%, rgba(25, 51, 61, .86) 100%);
  }

  .lks-mega-menu__featured:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .24);
  }

  .lks-mega-menu__featured h3 {
    max-width: none;
    margin: 0;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    font-family: 'Poppins';
  }

  .lks-mega-menu__featured p {
    max-width: 260px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.35;
  }

  .menu-contacto .lks-mega-menu__featured {
    gap: 22px;
    padding: 32px;
  }

  .menu-contacto .lks-mega-menu__featured::before {
    background: linear-gradient(180deg, rgba(25, 51, 61, .2) 0%, rgba(25, 51, 61, .94) 100%);
  }

  .menu-contacto .lks-mega-menu__featured h3 {
    font-size: 24px;
    line-height: 1.12;
  }

  .lks-mega-menu__contact-methods {
    display: grid;
    gap: 12px;
  }

  .lks-mega-menu__contact-method {
    display: grid;
    gap: 6px;
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
  }

  .lks-mega-menu__contact-label {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
  }

  .lks-mega-menu__contact-value {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
  }
}

@media (min-width: 1370px) {
.lks-header-mega-menu__nav {
    gap: clamp(38px, 3vw, 82px);
  }}

@media (min-width: 992px) and (max-width: 1280px) {
  .lks-mega-menu__panel.is-active {
    grid-template-columns: minmax(420px, 1fr) minmax(280px, 360px);
  }

  .lks-mega-menu__panel-header {
    display: none;
  }

  .lks-mega-menu__cards {
    grid-column: 1;
  }

  .lks-mega-menu__featured {
    grid-column: 2;
  }
}

/* estilos para diferentes columnas en el menu */

.menu-talento .lks-mega-menu__cards, .menu-contacto .lks-mega-menu__cards {
    grid-template-columns: repeat(1, minmax(0, 1fr));}

.menu-actualidad .lks-mega-menu__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));}

.lks-mega-menu__events-heading {
    grid-column: 1 / -1;
    margin: 8px 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1;
    text-align: center;
    text-transform: none;
    font-family: 'Poppins';
}

.lks-mega-menu__event-card {
    overflow: hidden;
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: 132px;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 18px;
    background-color: rgba(22, 49, 59, .42) !important;
    background-position: center !important;
    background-size: cover !important;
}

.lks-mega-menu__event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(37, 62, 70, .28) 0%, rgba(37, 62, 70, .88) 100%), linear-gradient(90deg, rgba(37, 62, 70, .74) 0%, rgba(37, 62, 70, .24) 100%);
}

.lks-mega-menu__event-card:hover {
    background-color: rgba(22, 49, 59, .62) !important;
}

.lks-mega-menu__event-label {
    color: rgba(255, 255, 255, .72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.lks-mega-menu__event-card time {
    color: #cc4c45;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
}

.lks-mega-menu__event-card h3 {
    margin-top: 2px;
    font-size: 17px;
    line-height: 1.08;
}

.lks-mega-menu__event-card p {
    margin-top: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.25;
}


.lks-header-mega-menu__link {text-decoration: none;
&:hover{font-weight: 600; transform: translateY(-6px);}}


/* Estilos para dispositivos móviles */

.lks-mobile-menu {
  display: none;
}

@media (max-width: 1279px) {
  .cabecera-prensa .ajuste-interior {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
  .lks-mega-menu--desktop {
    display: none;
  }

  .lks-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    width: 100%;
    overflow-y: auto;
    background: linear-gradient(180deg, #102c36 0%, #1d3640 100%);
    min-height: 100vh;
  }

  .lks-mobile-menu.is-open {
    display: block;
  }

  body.lks-mobile-menu-open {
    overflow: hidden;

    .brand img {
    width: 80px;
}
  }

  body.lks-mobile-menu-open .hero-block .hero-header {
    z-index: 1000000;
  }

  .lks-mobile-menu__group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
            margin: 0rem 1rem;
  }

  .lks-mobile-menu__parent {
    width: stretch;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 18px;
    font-size: 18px;
    cursor: pointer;
    font-family: "Inter-var", sans-serif;
    font-weight: 600;
  }
  button.lks-mobile-menu__parent.is-active {
        background: linear-gradient(90deg, rgba(111, 53, 55, 1) 0%, rgba(209, 70, 64, 1) 53%, rgba(250, 143, 64, 1) 100%);
  }

  .lks-mobile-menu__parent::after {
    content: "+";
    font-size: 25px;
    line-height: 1;
    padding-right: 10px;
    color: #fe5a00;
  }

  .lks-mobile-menu__parent.is-active::after {
    content: "–";
    color: white;
  }

  .lks-mobile-menu__panel {
    display: none;
    padding: 0 18px 18px;
    background: #1d3640;
  }

  .lks-mobile-menu__panel.is-active {
    display: block;
  }

  .lks-mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 8px 0 0;
  }

  .lks-mobile-menu__item {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .lks-mobile-menu__item a {
    background-image: url(../images/arrow-list.svg);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 14px;

    display: block;
    color: #fff;
    text-decoration: none;
    padding: 14px 0 14px 34px;
    font-size: 15px;
    line-height: 1.4;
  }

  .lks-mobile-menu__item:last-child {
    border-bottom: 0;
  }
  .lks-mega-menu-close {
    position: absolute;
    top: 0px;
    right: -1px;
    width: 70px;
    height: 64px;
    border: 0;
    background: #fe5a00;
    color: #ffffff;
    font-size: 43px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
  }
}

.menu-innovacion .lks-mega-menu__featured{
  justify-content: space-between;
}
