/* LAFER v24: refined mobile cards / horizontal figures / desktop reading. */
/* Keep the five indicators and the distinction aligned without a section overlap. */
html body.lafer-enterprise #main .stats-v2{
  position:relative;
  z-index:1!important;
  overflow:visible!important;
  padding-top:clamp(12px,1.5vw,21px)!important;
  padding-bottom:clamp(27px,2.3vw,40px)!important;
}
html body.lafer-enterprise #main .stats-v2 .container{
  padding:0!important;
}
html body.lafer-enterprise #main .stats-v2 .stats-grid{
  align-items:stretch!important;
  justify-items:stretch!important;
}
html body.lafer-enterprise #main .stats-v2 .stat{
  animation:none!important;
  transform:none!important;
  min-height:0!important;
  height:auto!important;
  padding-block:12px!important;
  border-radius:17px!important;
}
html body.lafer-enterprise #main .stats-v2 .stat>p{
  margin:0 auto!important;
  font-size:clamp(13px,.95vw,16px)!important;
  line-height:1.36!important;
  max-width:28ch!important;
}
html body.lafer-enterprise #main .stats-v2 .lf-award-2026{
  padding:13px 10px!important;
  gap:3px!important;
  background:linear-gradient(150deg,#fff9e9,#f1dfb1 74%,#e4c883)!important;
  border:1px solid #e8d8b1!important;
  box-shadow:0 7px 17px rgba(130,95,34,.11),inset 0 1px rgba(255,255,255,.89)!important;
}
html body.lafer-enterprise #main .lf-award-2026-icon{
  font-size:16px!important;
  opacity:.82!important;
}
html body.lafer-enterprise #main .lf-award-2026-name{
  font-size:clamp(13px,.93vw,16px)!important;
  line-height:1.19!important;
  font-weight:830!important;
}
html body.lafer-enterprise #main .stats-v2 .lf-award-2026 .lf-award-2026-source{
  font-size:clamp(10px,.72vw,12px)!important;
  line-height:1.27!important;
  margin-top:3px!important;
}
html body.lafer-enterprise #main .solve-v2{
  z-index:2!important;
  margin-top:0!important;
  padding-top:clamp(52px,5vw,78px)!important;
  border-radius:32px 32px 0 0!important;
  box-shadow:0 -9px 34px rgba(20,59,122,.048)!important;
}
@media (max-width:650px){
  html body.lafer-enterprise #main .stats-v2{
    padding-top:12px!important;
    padding-bottom:22px!important;
  }
  html body.lafer-enterprise #main .stats-v2 .stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
    gap:9px!important;
  }
  html body.lafer-enterprise #main .stats-v2 .stat{
    grid-column:auto!important; /* ACOIS and the award form a balanced last row. */
    padding:11px 7px!important;
    min-height:0!important;
  }
  html body.lafer-enterprise #main .stats-v2 .stat-value,
  html body.lafer-enterprise #main .stats-v2 .stat-value.stat-acois{
    font-size:clamp(30px,8.3vw,41px)!important;
    line-height:1.02!important;
  }
  html body.lafer-enterprise #main .stats-v2 .stat>p{
    font-size:clamp(12px,3.35vw,14px)!important;
    line-height:1.34!important;
  }
  html body.lafer-enterprise #main .lf-award-2026-name{
    font-size:clamp(13px,3.6vw,15px)!important;
  }
  html body.lafer-enterprise #main .stats-v2 .lf-award-2026 .lf-award-2026-source{
    font-size:clamp(10px,2.9vw,12px)!important;
  }
  html body.lafer-enterprise #main .solve-v2{
    padding-top:43px!important;
    margin-top:0!important;
    border-radius:25px 25px 0 0!important;
  }
}
/* 4-column desktop cards: a neat hierarchy, not a wall of enormous words. */
@media(min-width:901px){
  html body.lafer-enterprise #main .solve-v2 .problem-card.problem-v2{
    min-height:clamp(198px,14vw,217px)!important;
    padding:clamp(17px,1.4vw,23px)!important;
    border-radius:23px!important;
    justify-content:space-between!important;
  }
  html body.lafer-enterprise #main .solve-v2 .problem-card.problem-v2 .problem-icon{
    width:42px!important;
    height:42px!important;
    border-radius:13px!important;
    margin-bottom:13px!important;
  }
  html body.lafer-enterprise #main .solve-v2 .problem-card.problem-v2 .problem-icon svg{
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
  }
  html body.lafer-enterprise #main .solve-v2 .problem-card.problem-v2>strong{
    font:780 clamp(15px,1vw,17.5px)/1.3 Montserrat,Outfit,sans-serif!important;
    letter-spacing:-.015em!important;
    max-width:100%!important;
    margin:0!important;
  }
  html body.lafer-enterprise #main .solve-v2 .problem-card.problem-v2 .problem-desc{
    font-size:clamp(12.4px,.87vw,14px)!important;
    line-height:1.4!important;
    margin:10px 0 0!important;
  }
  html body.lafer-enterprise #main .solve-v2 .problem-card.problem-v2 .problem-hover b{
    font-size:clamp(14px,1vw,17px)!important;
  }
}
/* Navigation logo was still visually overpowering, both viewport families. */
@media(min-width:1200px){
  html body.lafer-enterprise .lf-header .site-nav,
  html body.lafer-enterprise .lf-header .site-nav.compact{
    grid-template-columns:clamp(126px,9vw,147px) minmax(0,1fr) max-content!important;
  }
  html body.lafer-enterprise .lf-header .site-nav .brand img,
  html body.lafer-enterprise .lf-header .site-nav.compact .brand img{
    width:clamp(122px,8.9vw,137px)!important;
    max-width:137px!important;
  }
}
@media(max-width:1199px){
  html body.lafer-enterprise .lf-header .site-nav .brand img,
  html body.lafer-enterprise .lf-header .site-nav.compact .brand img{
    width:113px!important;
    max-width:113px!important;
  }
}
@media(max-width:740px){
  html body.lafer-enterprise .lf-header .site-nav .brand img,
  html body.lafer-enterprise .lf-header .site-nav.compact .brand img{
    width:104px!important;
    max-width:104px!important;
  }
}
/* Avoid white seams behind mobile category heroes (especially Safari). */
html:has(body.page-seguros){background:#000633!important;}
@media(max-width:900px){
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open{
    padding-bottom:0!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-stage{
    overflow:hidden!important;
    box-shadow:none!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-stage::before,
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-stage::after,
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-visual-scene::before,
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-visual-scene::after{
    display:none!important;
    content:none!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-pillar.is-active{
    border:0!important;
    outline:0!important;
    box-shadow:0 10px 26px rgba(0,6,51,.15)!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-copy{
    width:58%!important;
    max-width:58%!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-pillar[data-line] .lfseg-visual-wrap{
    left:57%!important;
    right:0!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-copy p{
    font-size:13px!important;
    max-width:100%!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-chips button{
    font-size:11.5px!important;
    background:rgba(255,255,255,.15)!important;
  }
  html body.lafer-enterprise.page-seguros.lfseg-unlocked .lfseg-products-section{
    margin-top:-1px!important;
    border:0!important;
    box-shadow:none!important;
    background:linear-gradient(180deg,#e5effa 0%,#f5f8fc 100%)!important;
  }
}
@media(max-width:540px){
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-copy{
    top:60px!important;
    left:16px!important;
    width:56%!important;
    max-width:56%!important;
    bottom:3px!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-title{
    font-size:clamp(20px,5.7vw,24px)!important;
    line-height:1.08!important;
    margin-bottom:7px!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-copy p{
    max-width:100%!important;
    font-size:12px!important;
    line-height:1.34!important;
    -webkit-line-clamp:2;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-pillar[data-line] .lfseg-visual-wrap{
    left:56%!important;
    top:54px!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-chips{
    gap:5px!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-selected-chips button{
    padding:6px 7px!important;
    font-size:11px!important;
    line-height:1.2!important;
  }
  html body.lafer-enterprise.page-seguros .lfseg-explorer.is-detail-open .lfseg-stage{
    height:clamp(312px,39svh,348px)!important;
    max-height:348px!important;
  }
  html body.lafer-enterprise.page-seguros.lfseg-unlocked .lfseg-products-shell{
    padding-top:21px!important;
  }
}
