/* LAFER v30 — Needs actions + branch-on-hover + consistent brand navigation.
 * Loaded after v29 to consolidate the formerly conflicting CTA layers.
 * The eight cards and their destination URLs are unchanged.
 */

/* The heading is text-only again; its portfolio CTA now sits below the grid. */
html body.lafer-enterprise #main #resolver .solve-heading{
  justify-content:center!important;
  align-items:center!important;
}
html body.lafer-enterprise #main #resolver .solve-heading .section-head{
  flex:1 1 100%!important;
  width:100%!important;
  max-width:1100px!important;
}

/* Two premium action bars, genuinely aligned in both directions. */
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:clamp(12px,1.4vw,20px)!important;
  width:min(100%,1130px)!important;
  max-width:1130px!important;
  margin:clamp(18px,1.8vw,29px) auto 0!important;
  padding:0!important;
}
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a{
  position:relative!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1fr) 36px!important;
  grid-template-rows:1fr!important;
  grid-template-areas:"symbol body arrow"!important;
  gap:clamp(11px,1.15vw,17px)!important;
  align-items:center!important;
  justify-content:initial!important;
  align-content:center!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  min-height:86px!important;
  height:100%!important;
  padding:15px clamp(15px,1.5vw,23px)!important;
  margin:0!important;
  border-radius:28px!important;
  text-decoration:none!important;
  text-align:left!important;
  white-space:normal!important;
  overflow:hidden!important;
  isolation:isolate;
  transition:transform .25s ease,box-shadow .25s ease,filter .25s ease!important;
}
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a:hover,
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a:focus-visible{
  transform:translateY(-3px)!important;
  filter:saturate(1.06)!important;
}
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo .other-help{
  background:linear-gradient(112deg,#152d77 0%,#0955bf 60%,#2980ec 100%)!important;
  border:1px solid rgba(202,222,255,.4)!important;
  color:#fff!important;
  box-shadow:0 15px 30px rgba(6,62,156,.14),inset 0 1px rgba(255,255,255,.23)!important;
}
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo .other-help:hover{
  box-shadow:0 20px 37px rgba(6,62,156,.23),inset 0 1px rgba(255,255,255,.24)!important;
}
/* Explicit grid areas stop old flex/grid properties from wrapping the arrow. */
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>.other-help-icon{
  grid-area:symbol!important;
  position:relative!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  display:grid!important;
  place-items:center!important;
  align-self:center!important;
  justify-self:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0!important;
  border-radius:50%!important;
  border:1px solid rgba(255,255,255,.36)!important;
  background:rgba(255,255,255,.15)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.17)!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>.other-help-icon svg{
  width:24px!important;height:24px!important;color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>span:nth-child(2){
  grid-area:body!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  align-self:center!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
  gap:4px!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>span:nth-child(2)>strong{
  display:block!important;
  margin:0!important;
  font:850 clamp(15px,1.3vw,19px)/1.22 Montserrat,Outfit,sans-serif!important;
  letter-spacing:-.035em!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>span:nth-child(2)>small{
  display:block!important;
  margin:0!important;
  font:550 clamp(11px,.85vw,13px)/1.42 Outfit,Montserrat,sans-serif!important;
  color:#ecf5ff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>.other-help-go{
  grid-area:arrow!important;
  position:static!important;
  display:grid!important;
  place-items:center!important;
  justify-self:end!important;
  align-self:center!important;
  width:36px!important;height:36px!important;
  min-width:36px!important;min-height:36px!important;
  margin:0!important;padding:0!important;
  border-radius:50%!important;
  background:rgba(255,255,255,.19)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.24)!important;
  color:#fff!important;
  font-size:0!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>.other-help-go svg{
  display:block!important;
  width:20px!important;height:20px!important;
  color:currentColor!important;
  margin:0!important;
}

/* The former top CTA: now a warm gold editorial call-to-action. */
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a.solve-solutions-cta.lf-needs-all-solutions{
  background:linear-gradient(115deg,#f8eecf 0%,#f3d68d 47%,#dea53b 100%)!important;
  border:1px solid rgba(197,141,43,.42)!important;
  color:#392609!important;
  box-shadow:0 15px 32px rgba(167,115,27,.17),inset 0 1px rgba(255,255,255,.85)!important;
}
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a.solve-solutions-cta.lf-needs-all-solutions:hover{
  box-shadow:0 21px 42px rgba(167,115,27,.26),inset 0 1px rgba(255,255,255,.87)!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-symbol{
  grid-area:symbol!important;
  display:grid!important;
  place-items:center!important;
  width:46px!important;height:46px!important;
  border-radius:50%!important;
  background:linear-gradient(145deg,#fff9eb,#e5bd68)!important;
  border:1px solid rgba(255,255,255,.86)!important;
  color:#8c5508!important;
  box-shadow:0 7px 18px rgba(105,67,10,.15)!important;
  font-size:24px!important;
  line-height:1!important;
  margin:0!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-copy{
  grid-area:body!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  align-self:center!important;
  gap:4px!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  color:#392609!important;
  text-align:left!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-copy>strong{
  display:block!important;
  color:#392609!important;
  font:850 clamp(15px,1.3vw,20px)/1.2 Montserrat,Outfit,sans-serif!important;
  letter-spacing:-.038em!important;
  margin:0!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-copy>small{
  display:block!important;
  color:#6a4a18!important;
  font:650 clamp(11px,.85vw,13px)/1.34 Outfit,Montserrat,sans-serif!important;
  margin:0!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-arrow{
  grid-area:arrow!important;
  display:grid!important;
  place-items:center!important;
  justify-self:end!important;
  align-self:center!important;
  width:36px!important;height:36px!important;
  padding:0!important;margin:0!important;
  border-radius:50%!important;
  color:#342207!important;
  background:linear-gradient(145deg,#fff4cf,#e5af49)!important;
  border:1px solid rgba(255,255,255,.62)!important;
  font:800 21px/1 Outfit,Montserrat,sans-serif!important;
  box-shadow:0 6px 13px rgba(118,73,14,.12)!important;
}

/* Hover destination overlay: ONLY the portfolio branch, after a one-second pause.
 * On touchscreens all cards stay instantly clickable with no sticky overlay. */
@media(hover:hover) and (pointer:fine){
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-hover{
    position:absolute!important;
    display:grid!important;
    place-items:center!important;
    inset:0!important;
    width:100%!important;height:100%!important;
    max-width:none!important;
    margin:0!important;padding:20px!important;
    z-index:35!important;
    border-radius:inherit!important;
    background:linear-gradient(145deg,rgba(237,246,255,.97),rgba(194,222,251,.97))!important;
    border:1px solid rgba(255,255,255,.62)!important;
    box-shadow:inset 0 1px rgba(255,255,255,.72)!important;
    color:#092d68!important;
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
    visibility:hidden!important;
    opacity:0!important;
    transform:none!important;
    pointer-events:none!important;
    transition:opacity .23s ease 0s,visibility 0s linear .23s!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-hover>*{
    display:none!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-hover::after{
    display:block!important;
    content:"";
    max-width:100%!important;
    text-align:center!important;
    text-wrap:balance!important;
    white-space:normal!important;
    color:inherit!important;
    font:850 clamp(18px,1.65vw,27px)/1.22 Montserrat,Outfit,sans-serif!important;
    letter-spacing:-.04em!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2:hover>.problem-hover{
    opacity:1!important;
    visibility:visible!important;
    transition-delay:1s,1s!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2:focus-visible>.problem-hover{
    opacity:1!important;
    visibility:visible!important;
    transition-delay:0s,0s!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(1)>.problem-hover::after,
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(2)>.problem-hover::after{
    content:"Personas y Bienestar"!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(3)>.problem-hover::after{
    content:"Asesoría y Consultoría"!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(4)>.problem-hover::after{
    content:"Protección del efectivo y la operación"!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(5)>.problem-hover::after{
    content:"Patrimonio"!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(6)>.problem-hover::after{
    content:"Responsabilidad y Contratos"!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7)>.problem-hover::after{
    content:"Ciberseguridad"!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(8)>.problem-hover{
    background:linear-gradient(145deg,rgba(141,28,63,.97),rgba(91,25,76,.97))!important;
    border:1px solid rgba(255,220,224,.4)!important;
    color:#fff!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(8)>.problem-hover::after{
    content:"Reclamaciones"!important;
  }
}
/* Clear focus without making keyboard users wait for the overlay. */
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:focus-visible,
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a:focus-visible{
  outline:3px solid #e5b34a!important;
  outline-offset:4px!important;
}
@media(max-width:720px){
  html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo{
    grid-template-columns:1fr!important;
    gap:11px!important;
    max-width:580px!important;
  }
  html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a{
    min-height:75px!important;
    padding:12px 16px!important;
    border-radius:22px!important;
    grid-template-columns:41px minmax(0,1fr) 33px!important;
    gap:11px!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>.other-help-icon,
  html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-symbol{
    width:41px!important;height:41px!important;min-width:41px!important;min-height:41px!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>.other-help-go,
  html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-arrow{
    width:33px!important;height:33px!important;min-width:33px!important;min-height:33px!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>span:nth-child(2)>strong,
  html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-copy>strong{
    font-size:clamp(13px,3.8vw,17px)!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>span:nth-child(2)>small,
  html body.lafer-enterprise #main #resolver .lf-needs-all-solutions .lf-needs-gold-copy>small{
    font-size:11px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2>.problem-hover,
  html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo>a{
    transition:none!important;
  }
}
