/* =========================================
   PURA TECH - SUBMENU DESKTOP
   ========================================= */

/* PANEL */
#cbp-hrmenu .cbp-hrsub .mega-tech,
#cbp-hrmenu .cbp-hrsub .mega-tech *{
  box-sizing: border-box !important;
}

#cbp-hrmenu .cbp-hrsub{
  background: #f8f8f8 !important;
  width: 1040px !important;
  left: 50% !important;
  border-radius: 22px !important;
  box-shadow:
    0 28px 80px rgba(0,0,0,.34),
    0 8px 24px rgba(0,0,0,.16) !important;
  overflow: visible !important;

  opacity: 0 !important;
  transform: translateX(-50%) translateY(10px) !important;
  transition: opacity .18s ease, transform .18s ease !important;
  pointer-events: none !important;
  z-index: 9999 !important;
}

#cbp-hrmenu .cbp-hropen .cbp-hrsub,
#cbp-hrmenu .cbp-hrsub.cbp-show{
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

#cbp-hrmenu .cbp-hrsub-inner{
  border-radius: 22px !important;
  overflow: visible !important;
}

#cbp-hrmenu .cbp-hrsub::before,
#cbp-hrmenu .cbp-hrsub-inner::before{
  content: none !important;
  display: none !important;
}

#cbp-hrmenu .cbp-hrsub .cbp-menu-column-inner{
  width: 100% !important;
}

/* CONTENEDOR */
#cbp-hrmenu .cbp-hrsub .mega-tech{
  position: relative !important;
  width: 100% !important;
  padding: 24px 28px !important;
}

/* INTRO */
#cbp-hrmenu .cbp-hrsub .mega-tech h3{
  margin: 0 0 6px 0 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #3f3f46 !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-intro > p{
  margin: 0 0 8px 0 !important;
  color: #52525b !important;
  opacity: .78 !important;
}

/* GRID SUPERIOR */
#cbp-hrmenu .cbp-hrsub .mega-tech-grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: start !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-col{
  min-width: 0 !important;
  position: relative !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-col + .mega-tech-col{
  border-left: 1px solid rgba(0,0,0,.08) !important;
  padding-left: 24px !important;
}

/* TITULOS DE COLUMNA */
#cbp-hrmenu .mega-tech h4{
  padding: 0 0 8px 0 !important;
  margin: 0 0 8px 0 !important;

  position: relative !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #e87623 !important;
  letter-spacing: .2px !important;
}

#cbp-hrmenu .mega-tech h4::after{
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 42px !important;
  height: 2px !important;
  border-radius: 2px !important;
  background: rgba(232,118,35,.55) !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-subtitle{
  margin: 0 0 10px 0 !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: #6b7280 !important;
}

/* LISTAS */
#cbp-hrmenu .cbp-hrsub .mega-tech ul,
#cbp-hrmenu .cbp-hrsub .mega-tech li{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  background: transparent !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech ul li::before,
#cbp-hrmenu .cbp-hrsub .mega-tech ul li:before{
  content: none !important;
  display: none !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-list li{
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;

  width: max-content !important;
  max-width: 100% !important;

  margin: 0 0 2px 0 !important;
  padding: 4px 8px !important;
  border-radius: 12px !important;

  color: #4b5563 !important;
  transition: transform .18s ease, background .18s ease !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-list li i{
  width: 12px !important;
  min-width: 12px !important;
  flex: 0 0 12px !important;
  font-size: 11px !important;
  color: #e87623 !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-list li:hover{
  background: rgba(232,118,35,.08) !important;
  transform: translateX(4px) !important;
  z-index: 50 !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-list li:hover i{
  color: #ff8d3a !important;
  transform: scale(1.08);
}

/* TOOLTIPS */
#cbp-hrmenu .cbp-hrsub .mega-tech-list li[data-tip]::after{
  content: attr(data-tip) !important;
  position: absolute !important;
  left: calc(100% + 10px) !important;
  top: 50% !important;
  transform: translateY(-50%) translateX(-4px) !important;

  padding: 7px 11px !important;
  border-radius: 10px !important;
  background: #e53935 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(229,57,53,.30) !important;

  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;

  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .14s ease, transform .14s ease !important;
  z-index: 90 !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-list li[data-tip]::before{
  content: "" !important;
  position: absolute !important;
  left: calc(100% + 5px) !important;
  top: 50% !important;
  transform: translateY(-50%) rotate(45deg) !important;

  width: 8px !important;
  height: 8px !important;
  background: #e53935 !important;

  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .14s ease !important;
  z-index: 89 !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-list li[data-tip]:hover::after,
#cbp-hrmenu .cbp-hrsub .mega-tech-list li[data-tip]:hover::before{
  opacity: 1 !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-list li[data-tip]:hover::after{
  transform: translateY(-50%) translateX(0) !important;
}

/* FILA INFERIOR */
#cbp-hrmenu .cbp-hrsub .mega-tech-bottom{
  display: grid !important;
  grid-template-columns: 1fr 2fr !important;
  gap: 28px !important;
  align-items: stretch !important;
  margin-top: 18px !important;
}

/* WHATSAPP */
.mega-tech-whatsapp{
  display: flex !important;
  align-items: stretch !important;
}

.mega-tech-whatsapp a{
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 6px !important;

  width: 100% !important;
  min-height: 200px !important;
  padding: 18px 18px !important;
  border-radius: 18px !important;

  color: #374151 !important;
  text-decoration: none !important;
  background: rgba(232,118,35,.05) !important;
  border: 1px solid rgba(232,118,35,.12) !important;

  transition: background .2s ease, transform .2s ease, box-shadow .2s ease !important;
}

.mega-tech-whatsapp .wa-line{
  display: block;
}

.mega-tech-whatsapp .wa-line-1{
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
  color: #3f3f46;
}

.mega-tech-whatsapp .wa-line-2{
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: #6b7280;
}

.mega-tech-whatsapp .wa-contact{
  display: flex;
  align-items: center;
  gap: 10px;

  margin-top: 6px;

  font-size: 19px;
  font-weight: 800;
  line-height: 1.2;
  color: #189D0E;
}

.mega-tech-whatsapp .wa-contact i{
  font-size: 24px;
  line-height: 1;
  color: #189D0E;
}

.mega-tech-whatsapp a:hover{
  background: rgba(24,157,14,.08) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 8px 18px rgba(24,157,14,.10) !important;
}

/* BANNER */
#cbp-hrmenu .cbp-hrsub .mega-tech-banner{
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  min-height: 200px !important;
}

#cbp-hrmenu .cbp-hrsub .mega-tech-banner img{
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 200px !important;
  object-fit: cover !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 36px rgba(0,0,0,.14) !important;
}

/* placa diagonal */
#cbp-hrmenu .cbp-hrsub .mega-tech-banner::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background: rgba(0,0,0,.62);
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* sombra del corte */
#cbp-hrmenu .cbp-hrsub .mega-tech-banner::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
  box-shadow: 35px 0 45px rgba(0,0,0,.35);
  z-index: 1;
  pointer-events: none;
}

/* texto banner */
#cbp-hrmenu .cbp-hrsub .mega-tech-banner-text{
  position: absolute;
  left: 38px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  font-size: 54px;
  font-weight: 900;
  line-height: .94;
  letter-spacing: -2px;
  color: #ffffff;

  text-shadow:
    0 4px 10px rgba(0,0,0,.35),
    0 14px 30px rgba(0,0,0,.45),
    0 28px 60px rgba(0,0,0,.55);
}

/* RESPONSIVE */
@media (max-width: 1200px){
  #cbp-hrmenu .cbp-hrsub{
    width: 94vw !important;
  }

  #cbp-hrmenu .cbp-hrsub .mega-tech-grid{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  #cbp-hrmenu .cbp-hrsub .mega-tech-col + .mega-tech-col{
    border-left: none !important;
    padding-left: 0 !important;
  }

  #cbp-hrmenu .cbp-hrsub .mega-tech-bottom{
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #cbp-hrmenu .cbp-hrsub .mega-tech-list li[data-tip]::after,
  #cbp-hrmenu .cbp-hrsub .mega-tech-list li[data-tip]::before{
    display: none !important;
  }

  #cbp-hrmenu .cbp-hrsub .mega-tech-banner-text{
    font-size: 38px !important;
    left: 24px !important;
  }

  .mega-tech-whatsapp a{
    min-height: auto !important;
  }
}