/* Inicio · productos y proyectos en cuadrícula compacta */
.bento-head{max-width:1240px;margin:0 auto;padding:clamp(48px,5.5vw,76px) max(20px,env(safe-area-inset-left,0px)) 22px;text-align:center}
.bento-head .ap-kicker{margin:0 0 8px}
.bento-head h2{font:800 clamp(32px,4vw,48px)/1.05 var(--ap-font,'Inter',sans-serif);letter-spacing:-.035em;color:#1d1d1f;margin:0;text-wrap:balance}
.bento-sub{font-size:clamp(16px,1.5vw,19px);color:#6e6e73;margin:10px auto 0;max-width:560px}
.bento-hint{display:none;font-size:13px;font-weight:600;color:#86868b;margin-top:12px}
html body #destacados.bento{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;max-width:1240px!important;margin:0 auto!important;padding:0 max(20px,env(safe-area-inset-right,0px)) clamp(48px,5.5vw,76px) max(20px,env(safe-area-inset-left,0px))!important}
html body #destacados.bento>.ap-tile{grid-column:auto!important;min-height:0!important;height:auto!important;margin:0!important;padding:26px 18px 0!important;border-radius:26px!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;overflow:hidden!important;position:relative}
html body #destacados.bento>.ap-tile:nth-child(1){order:1}html body #destacados.bento>.ap-tile:nth-child(2){order:2}
html body #destacados.bento>.ap-tile:nth-child(4){order:3}html body #destacados.bento>.ap-tile:nth-child(3){order:4}
html body #destacados.bento>.ap-tile:nth-child(5){order:5}html body #destacados.bento>.ap-tile:nth-child(6){order:6}
html body #destacados.bento>.ap-tile:nth-child(8){order:7}html body #destacados.bento>.ap-tile:nth-child(7){order:8}
html body #destacados.bento .ap-kicker{font-size:12px!important;margin:0 0 6px!important}
html body #destacados.bento .ap-tile h2{font-size:clamp(20px,1.75vw,25px)!important;line-height:1.12!important;letter-spacing:-.025em!important;margin:0 0 6px!important;text-wrap:balance}
html body #destacados.bento .ap-sub{font-size:14.5px!important;line-height:1.38!important;margin:0!important;max-width:30ch;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
html body #destacados.bento .ap-cta{display:flex!important;flex-wrap:wrap;justify-content:center;gap:8px!important;margin:14px 0 0!important}
html body #destacados.bento .ap-btn{font-size:13px!important;padding:0 13px!important;min-height:32px!important}
html body #destacados.bento .ap-visual{margin:14px 0 0!important;padding:0!important;flex:1 1 auto!important;height:auto!important;min-height:200px!important;width:100%!important;position:relative!important;overflow:hidden!important;display:block!important}
html body #destacados.bento .ap-visual>*{position:absolute!important;left:50%!important;top:50%!important;margin:0!important;zoom:1!important;transform-origin:50% 50%!important;transform:translate(-50%,-50%) scale(var(--s,.6))!important;max-width:none!important;max-height:none!important}
html body #destacados.bento .ap-visual>.mk-phone{width:270px!important;height:auto!important;aspect-ratio:auto!important;border-radius:46px!important;padding:12px!important;--s:.56}
html body #destacados.bento .ap-visual>.mk-phone.dark{--s:.5}
html body #destacados.bento .ap-visual>.mk-phone>.mk-phone-screen{height:auto!important;border-radius:36px!important;padding-bottom:20px!important}
html body #destacados.bento .ap-visual>.mk-window,html body #destacados.bento .ap-visual>.mk-code,html body #destacados.bento .ap-visual>.mk-shot{width:430px!important;--s:.56}
html body #destacados.bento .ap-visual>.mk-quote{width:400px!important;--s:.6}
html body #destacados.bento .ap-visual>.mk-nfc{--s:.78}
html body #destacados.bento .ap-visual>.mk-route{width:400px!important;--s:.58}
html body #destacados.bento .ap-tile:hover{transform:translateY(-3px);box-shadow:0 22px 44px -30px rgba(16,34,60,.45)}
html body #destacados.bento .ap-tile{transition:transform .25s ease,box-shadow .25s ease}
@media(min-width:1001px) and (max-width:1180px){
  html body #destacados.bento{gap:10px!important}
  html body #destacados.bento>.ap-tile{padding:22px 12px 0!important}
  html body #destacados.bento .ap-btn{font-size:12.5px!important;padding:0 11px!important}
  html body #destacados.bento .ap-visual>*{--s:.48}
  html body #destacados.bento .ap-visual>.mk-phone{--s:.48}
  html body #destacados.bento .ap-visual>.mk-phone.dark{--s:.43}
  html body #destacados.bento .ap-visual>.mk-window,html body #destacados.bento .ap-visual>.mk-code,html body #destacados.bento .ap-visual>.mk-shot{--s:.46}
  html body #destacados.bento .ap-visual>.mk-quote{--s:.5}
  html body #destacados.bento .ap-visual>.mk-nfc{--s:.64}
  html body #destacados.bento .ap-visual>.mk-route{--s:.48}
}
@media(max-width:1000px){
  .bento-hint{display:block}
  html body #destacados.bento{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;overflow-x:auto!important;scroll-snap-type:x mandatory;gap:12px!important;padding:2px max(16px,env(safe-area-inset-right,0px)) 22px max(16px,env(safe-area-inset-left,0px))!important;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-padding-inline:16px}
  html body #destacados.bento::-webkit-scrollbar{display:none}
  html body #destacados.bento>.ap-tile{flex:0 0 min(78vw,320px)!important;scroll-snap-align:start}
  html body #destacados.bento .ap-tile:hover{transform:none}
}
@media(prefers-reduced-motion:reduce){html body #destacados.bento .ap-tile{transition:none}}
