/*
 * LAFER v27 · NECESIDADES
 * Matching the editorial cards used by "Soluciones":
 * floating circular icons, fine shadows, calm gradient panels, low visual
 * density, diagonal action badge, and a premium two-button lower row.
 * Keeps all eight editable need destinations, including Indemnizaciones.
 */
html body.lafer-enterprise #main #resolver .problems-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(13px,1.3vw,19px)!important;
  margin:0!important;
  align-items:stretch!important;
}
/* Unified, breathable service-card morphology. */
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  align-items:flex-start!important;
  min-width:0!important;
  min-height:clamp(228px,15.3vw,265px)!important;
  height:auto!important;
  padding:clamp(22px,1.65vw,30px)!important;
  padding-top:clamp(110px,8vw,132px)!important;
  border:1px solid rgba(255,255,255,.94)!important;
  border-radius:clamp(24px,2vw,30px)!important;
  box-shadow:0 19px 39px rgba(14,52,117,.085),inset 0 1px 0 rgba(255,255,255,.55)!important;
  background:linear-gradient(128deg,#f8fcff 0%,#d8e9ff 100%)!important;
  color:#091c52!important;
  overflow:hidden!important;
  isolation:isolate!important;
  text-decoration:none!important;
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease!important;
}
/* No flip/slide-cover: the answer stays discoverable and visible. */
html body.lafer-enterprise #main #resolver .problem-card .problem-hover{
  display:none!important;
  visibility:hidden!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2::before{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  border-radius:inherit;
  background:radial-gradient(circle at 95% 8%,rgba(112,178,255,.31),transparent 48%);
  pointer-events:none;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2:hover,
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2:focus-visible{
  transform:translateY(-5px)!important;
  box-shadow:0 25px 51px rgba(14,52,117,.17)!important;
  border-color:rgba(170,207,255,.95)!important;
}
/* Large round icon, upper-right just like Soluciones. */
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card .problem-icon{
  position:absolute!important;
  z-index:2!important;
  right:clamp(20px,1.7vw,29px)!important;
  top:clamp(20px,1.6vw,27px)!important;
  left:auto!important;
  bottom:auto!important;
  display:grid!important;
  place-items:center!important;
  width:clamp(67px,5.3vw,87px)!important;
  height:clamp(67px,5.3vw,87px)!important;
  min-width:0!important;
  min-height:0!important;
  margin:0!important;
  border-radius:50%!important;
  background:linear-gradient(153deg,rgba(255,255,255,.97),rgba(255,255,255,.45))!important;
  color:#1354b8!important;
  border:1px solid rgba(255,255,255,.85)!important;
  box-shadow:0 17px 29px rgba(11,55,136,.18),inset 0 1px 0 rgba(255,255,255,.85)!important;
  transform:rotate(-8deg)!important;
  transition:transform .45s ease,box-shadow .45s ease!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:hover .problem-icon{
  transform:rotate(5deg) translateY(-3px)!important;
  box-shadow:0 20px 36px rgba(11,55,136,.22),inset 0 1px 0 rgba(255,255,255,.85)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card .problem-icon svg{
  display:block!important;
  width:clamp(30px,2.5vw,39px)!important;
  height:clamp(30px,2.5vw,39px)!important;
  min-width:0!important;min-height:0!important;
  stroke-width:1.6!important;
  opacity:1!important;
  color:inherit!important;
}
/* Strong, left-aligned title and tiny action below. Original question retained. */
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>strong{
  position:relative!important;
  z-index:3!important;
  display:block!important;
  flex:none!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  color:inherit!important;
  font:850 clamp(16.1px,1.16vw,20px)/1.23 Montserrat,Outfit,sans-serif!important;
  letter-spacing:-.035em!important;
  text-wrap:pretty;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-desc{
  /* Original copy remains in the editable HTML and accessible label.
     Use the existing direct-action caption as the visible card microcopy. */
  position:absolute!important;
  width:1px!important;height:1px!important;
  overflow:hidden!important;clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;clip-path:inset(50%)!important;
  margin:0!important;padding:0!important;border:0!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-mobile-go{
  position:relative!important;
  z-index:3!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  max-width:calc(100% - 25px)!important;
  margin:clamp(10px,.9vw,15px) 0 0!important;
  padding:0!important;
  font:790 clamp(11.5px,.91vw,14px)/1.35 Outfit,Montserrat,sans-serif!important;
  letter-spacing:-.013em!important;
  color:inherit!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-mobile-go svg{
  width:18px!important;height:18px!important;
  min-width:18px!important;min-height:18px!important;
  color:inherit!important;
}
/* Circular diagonal-arrow signifier in the lower-right corner. */
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-arrow{
  position:absolute!important;
  z-index:4!important;
  right:clamp(20px,1.6vw,28px)!important;
  bottom:clamp(20px,1.6vw,25px)!important;
  left:auto!important;top:auto!important;
  display:grid!important;place-items:center!important;
  width:31px!important;height:31px!important;
  border-radius:50%!important;
  opacity:1!important;
  background:rgba(255,255,255,.79)!important;
  color:#124a9e!important;
  box-shadow:inset 0 1px rgba(255,255,255,.86)!important;
  transition:transform .25s ease!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:hover>.problem-arrow{
  transform:translate(2px,-2px)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-arrow svg{
  display:block!important;
  width:19px!important;height:19px!important;
  color:inherit!important;
}

/* Palette mirrors the five original service cards, plus dedicated operations
 * and cybersecurity tonal territories. Dark cards stay strongly legible. */
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(1){
  background:linear-gradient(128deg,#fbfdff 3%,#dceafd 100%)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(2){
  background:linear-gradient(126deg,#0c3ba5 0%,#27366f 100%)!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(3){
  background:linear-gradient(135deg,#f9fdff,#d7eaf8 100%)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(4){
  background:linear-gradient(135deg,#faf8ff,#e1dfff 100%)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(5){
  background:linear-gradient(130deg,#f1fff9,#cef0e6 100%)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(6){
  background:linear-gradient(133deg,#f5fbff,#d9e9ff 100%)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7){
  background:linear-gradient(131deg,#092c7c,#052257 93%)!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(2)::before,
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7)::before{
  background:radial-gradient(circle at 94% 12%,rgba(145,185,255,.32),transparent 51%)!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(2) .problem-icon,
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7) .problem-icon{
  color:#0e397b!important;
  background:linear-gradient(150deg,#f4f7ff,rgba(190,211,255,.6))!important;
}
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(2)>.problem-arrow,
html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7)>.problem-arrow{
  color:#fff!important;
  background:rgba(255,255,255,.2)!important;
}

/* Red Indemnizaciones + blue personal help, visually equivalent to the
 * premium CTA pair below the existing Soluciones cards. */
html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(13px,1.2vw,19px)!important;
  max-width:1050px!important;
  width:100%!important;
  margin:clamp(24px,2vw,36px) auto 0!important;
  padding:0!important;
  align-items:stretch!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims{
  display:grid!important;
  grid-template-columns:57px minmax(0,1fr) 26px!important;
  grid-template-rows:1fr 1fr!important;
  align-items:center!important;
  justify-content:initial!important;
  column-gap:16px!important;
  row-gap:1px!important;
  min-width:0!important;
  min-height:110px!important;
  height:auto!important;
  padding:19px 24px!important;
  margin:0!important;
  border-radius:24px!important;
  overflow:hidden!important;
  border:1px solid rgba(255,184,175,.38)!important;
  background:radial-gradient(circle at 100% 0%,rgba(255,195,170,.22),transparent 46%),linear-gradient(117deg,#c72a3b,#992b4a)!important;
  color:#fff!important;
  box-shadow:0 16px 38px rgba(175,39,55,.17)!important;
  text-decoration:none!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims:hover,
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims:focus-visible{
  transform:translateY(-3px)!important;
  box-shadow:0 20px 44px rgba(175,39,55,.28)!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-icon{
  position:relative!important;
  z-index:1!important;
  display:grid!important;place-items:center!important;
  grid-area:1 / 1 / 3 / 2!important;
  width:57px!important;height:57px!important;
  min-width:0!important;min-height:0!important;
  margin:0!important;padding:0!important;
  border-radius:17px!important;
  background:rgba(255,255,255,.16)!important;
  border:1px solid rgba(255,255,255,.25)!important;
  box-shadow:none!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-icon svg{
  width:29px!important;height:29px!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>strong{
  grid-area:1 / 2 / 2 / 3!important;
  display:block!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  align-self:end!important;
  margin:0!important;
  font:850 clamp(21px,1.8vw,29px)/1.13 Montserrat,Outfit,sans-serif!important;
  letter-spacing:-.04em!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-desc{
  grid-area:2 / 2 / 3 / 3!important;
  display:block!important;
  position:relative!important;
  width:auto!important;height:auto!important;
  margin:4px 0 0!important;
  padding:0!important;
  align-self:start!important;
  font:650 clamp(11px,.85vw,13px)/1.4 Outfit,Montserrat,sans-serif!important;
  color:rgba(255,255,255,.94)!important;
  white-space:normal!important;
  overflow:visible!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-arrow{
  grid-area:1 / 3 / 3 / 4!important;
  position:relative!important;
  display:grid!important;place-items:center!important;
  right:auto!important;top:auto!important;bottom:auto!important;left:auto!important;
  width:27px!important;height:27px!important;
  margin:0!important;
  background:none!important;
  color:#fff!important;
  opacity:1!important;
  box-shadow:none!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-arrow svg{
  width:21px!important;height:21px!important;color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-mobile-go{
  display:none!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help{
  position:relative!important;
  display:grid!important;
  grid-template-columns:57px minmax(0,1fr) 28px!important;
  align-items:center!important;
  gap:16px!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  min-height:110px!important;
  height:auto!important;
  margin:0!important;
  padding:19px 23px!important;
  border-radius:24px!important;
  border:1px solid rgba(138,196,255,.45)!important;
  background:linear-gradient(115deg,#152c75,#0c53c7 68%,#2687f5)!important;
  box-shadow:0 16px 38px rgba(12,72,173,.16)!important;
  color:#fff!important;
  text-decoration:none!important;
  transition:transform .25s ease,box-shadow .25s ease!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help:hover,
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help:focus-visible{
  transform:translateY(-3px)!important;
  box-shadow:0 21px 44px rgba(12,72,173,.25)!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help-icon{
  position:relative!important;
  display:grid!important;place-items:center!important;
  width:57px!important;height:57px!important;
  margin:0!important;
  border-radius:18px!important;
  border:1px solid rgba(255,255,255,.3)!important;
  background:rgba(255,255,255,.15)!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help-icon svg{
  width:28px!important;height:28px!important;color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help>span:nth-child(2){
  display:block!important;
  min-width:0!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help strong{
  display:block!important;
  margin:0!important;
  font:850 clamp(17px,1.5vw,25px)/1.16 Montserrat,Outfit,sans-serif!important;
  letter-spacing:-.03em!important;
  color:#fff!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help small{
  display:block!important;
  margin:6px 0 0!important;
  font:650 clamp(11px,.85vw,13px)/1.38 Outfit,Montserrat,sans-serif!important;
  color:rgba(237,245,255,.94)!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help-go{
  display:flex!important;
  justify-content:center!important;align-items:center!important;
  width:28px!important;height:28px!important;
  min-width:0!important;
  margin:0!important;
  font-size:0!important;
  color:#fff!important;
  white-space:nowrap!important;
}
html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help-go svg{
  width:22px!important;height:22px!important;
  margin:0!important;
  color:#fff!important;
}

/* The screenshot's spacious three-column rhythm at standard desktops,
 * four columns only when enough width exists for a proper 16px title. */
@media (max-width:1380px) and (min-width:901px){
  html body.lafer-enterprise #main #resolver .problems-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7){
    grid-column:2!important;
  }
}
@media (max-width:900px) and (min-width:651px){
  html body.lafer-enterprise #main #resolver .problems-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card{
    min-height:205px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7){
    grid-column:1 / -1!important;
    min-height:190px!important;
  }
}

/* Compact on mobile; the entire card remains a single large tap target. */
@media(max-width:650px){
  html body.lafer-enterprise #main #resolver .problems-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2{
    min-height:184px!important;
    height:auto!important;
    padding:13px!important;
    padding-top:77px!important;
    border-radius:21px!important;
    box-shadow:0 10px 22px rgba(13,51,118,.095)!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card:nth-child(7){
    grid-column:1 / -1!important;
    min-height:143px!important;
    padding-top:65px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-icon{
    top:13px!important;right:14px!important;
    width:49px!important;height:49px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-icon svg{
    width:25px!important;height:25px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>strong{
    max-width:100%!important;
    font-size:clamp(12.2px,3.4vw,15px)!important;
    line-height:1.26!important;
    letter-spacing:-.025em!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-mobile-go{
    display:inline-flex!important;
    margin-top:8px!important;
    font-size:11px!important;
    max-width:calc(100% - 23px)!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-mobile-go svg{
    width:14px!important;height:14px!important;
    min-width:14px!important;min-height:14px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-arrow{
    right:13px!important;bottom:13px!important;
    width:24px!important;height:24px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>.problem-arrow svg{
    width:16px!important;height:16px!important;
  }
  html body.lafer-enterprise #main #resolver .solve-wide-actions.lf-needs-duo{
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:15px!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims,
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help{
    min-height:94px!important;
    height:auto!important;
    padding:16px 17px!important;
    border-radius:19px!important;
    grid-template-columns:45px minmax(0,1fr) 22px!important;
    gap:12px!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-icon,
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help .other-help-icon{
    width:45px!important;height:45px!important;
    border-radius:14px!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-icon svg,
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help .other-help-icon svg{
    width:23px!important;height:23px!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>strong{
    font-size:clamp(19px,5.1vw,22px)!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help strong{
    font-size:clamp(16px,4.5vw,20px)!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .lf-needs-claims>.problem-desc,
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help small{
    font-size:11px!important;line-height:1.35!important;
  }
  html body.lafer-enterprise #main #resolver .lf-needs-duo .other-help-go{
    font-size:0!important;
  }
}
@media(max-width:365px){
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card.problem-v2{
    min-height:193px!important;
  }
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card>strong{
    font-size:12.1px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html body.lafer-enterprise #main #resolver .problems-grid>.problem-card,
  html body.lafer-enterprise #main #resolver .lf-needs-duo>a,
  html body.lafer-enterprise #main #resolver .problems-grid .problem-icon{
    transition:none!important;
  }
}
