/* A complete product card is the unit of navigation. Never scale its text. */
#operaciones{background:#fff;display:grid;align-content:center;overflow:visible;padding:calc(var(--app-nav) + 8px) 0 36px}
#operaciones .oc-shell{width:min(1552px,calc(100% - 48px));min-width:0;margin:auto;container:operations / inline-size}
#operaciones .oc-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 16px}

#operaciones .oc-heading h2{min-width:0}
#operaciones .oc-heading .oc-all{flex:none;margin-left:auto}
#operaciones .oc-track{--oc-visible:1;--oc-gap:16px;display:grid;grid-auto-flow:column;grid-template-rows:repeat(7,auto);grid-auto-columns:calc((100% - (var(--oc-visible) - 1)*var(--oc-gap))/var(--oc-visible));column-gap:var(--oc-gap);row-gap:0;width:100%;position:relative;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y pinch-zoom;align-items:stretch;padding:2px 0 5px;list-style:none;margin:0}
#operaciones .oc-track::-webkit-scrollbar{display:none}
#operaciones .oc-card{scroll-snap-align:start;scroll-snap-stop:always;min-width:0;width:100%;border:1px solid #d9e3e9;border-radius:19px;overflow:hidden;background:#fff;box-shadow:0 3px 5px #143c6008;display:grid;grid-row:1 / span 7;grid-template-rows:subgrid;row-gap:0}
#operaciones .oc-photo{position:relative;isolation:isolate;height:clamp(150px,calc(var(--app-viewport-height,100svh) - 575px),240px);margin:0;background:#bbccd7}
#operaciones .oc-photo:after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#143c6000 30%,#0b2945cd 100%)}
#operaciones .oc-photo img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
#operaciones .oc-badge{position:absolute;top:10px;left:12px;border-radius:6px;background:#fff;color:#143c60;padding:5px 8px;font:600 10px/1.3 "RP Inter",sans-serif;letter-spacing:.03em}
#operaciones .oc-location{position:absolute;left:12px;bottom:9px;right:12px;display:flex;gap:8px;align-items:end;justify-content:space-between;color:#fff}
#operaciones .oc-location strong{font-family:"RP Poppins",sans-serif;font-size:19px;line-height:1.15;font-weight:600;letter-spacing:-.035em}
#operaciones .oc-location small{font-size:10px;line-height:1.35;color:#fff}
#operaciones .oc-body{display:contents}
#operaciones .oc-body h3{font:600 17px/1.3 "RP Poppins",sans-serif;letter-spacing:-.035em;color:#143c60;margin:12px 15px 8px;min-height:0}
#operaciones .oc-metric{padding:8px 0 12px;margin:0 15px;border-top:1px solid #e6ebef;text-align:center}
#operaciones .oc-metric-label{font:500 12px/1.4 "RP Inter",sans-serif;margin:0 0 3px;color:#345369;min-height:17px;text-align:center;text-align-last:center}
#operaciones .oc-number{font:650 36px/1.08 "RP Inter",sans-serif;letter-spacing:-1.5px;white-space:nowrap;color:#143c60;font-variant-numeric:tabular-nums}
#operaciones .oc-number span{font-size:20px;letter-spacing:-.4px}
#operaciones .oc-number small{font-size:12px;letter-spacing:0;font-weight:500}
#operaciones .oc-scale{margin:0 15px 10px}
#operaciones .oc-roi{height:4px;background:linear-gradient(90deg,#cedfea,#819fb8,#143c60);border-radius:4px;position:relative}
#operaciones .oc-roi:after{content:'';position:absolute;top:-3px;left:var(--oc-roi);height:10px;width:3px;border-radius:2px;background:#3b8165}
#operaciones .oc-scale-labels{font-size:10px;line-height:1.4;display:flex;justify-content:space-between;gap:7px;color:#587386;margin-top:6px}
#operaciones .oc-scale-labels strong{font-weight:600;color:#143c60}
#operaciones .oc-state{display:flex;gap:4px;height:4px}
#operaciones .oc-state span{border-radius:4px;background:#397d68;flex:1}
#operaciones .oc-state .oc-pending{background:#dbe4eb}
#operaciones .oc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0 15px 10px}
#operaciones .oc-facts>div{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;padding:8px 3px;min-height:53px;background:#f2f5f7;border-radius:9px}
#operaciones .oc-facts dt{font-size:11px;line-height:1.3;color:#557186;margin:0}
#operaciones .oc-facts dd{font-size:16px;line-height:1.25;color:#143c60;font-weight:600;letter-spacing:-.35px;margin:0;white-space:nowrap;font-variant-numeric:tabular-nums}
#operaciones .oc-risk{font-size:11px;line-height:1.4;color:#557186;min-height:0;margin:0 15px 10px}
#operaciones .oc-card-link{display:flex;align-items:center;justify-content:space-between;gap:8px;border-radius:9px;min-height:44px;background:#143c60;color:#fff;padding:11px 13px;margin:0 15px 14px;font-size:12px;line-height:1.4;font-weight:600;text-decoration:none}
#operaciones .oc-card-link svg{width:16px;height:16px;flex:none}
#operaciones .oc-card-link:hover{background:#265679}
#operaciones .oc-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:10px}
#operaciones .oc-controls{display:flex;align-items:center;gap:8px;flex:none}
#operaciones .oc-controls button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #d4e0e8;border-radius:50%;background:#fff;color:#143c60;padding:0;cursor:pointer}
#operaciones .oc-controls button:disabled{opacity:.3;cursor:default}
#operaciones .oc-controls svg{width:17px;height:17px}
#operaciones .oc-controls span{min-width:38px;text-align:center;font:500 11px/1.3 "RP Inter",sans-serif;color:#587386}
#operaciones .oc-all{border:1px solid #cbdbe7;background:#f3f7fa;color:#143c60;min-height:44px;padding:10px 15px;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;font-size:12px;line-height:1.4;font-weight:600;text-decoration:none}
#operaciones .oc-all:hover{background:#e7eff5}
#operaciones .oc-all svg{width:16px;height:16px;flex:none}
#operaciones :is(a,button,.oc-track):focus-visible{outline:3px solid #2479b3;outline-offset:-3px}
#operaciones[data-all-operations-visible=true] .oc-controls button{display:none}
#operaciones[data-all-operations-visible=true] .oc-controls span{min-width:0}
/* Keep the floating next-section control away from the cards and carousel.
   Vertical navigation remains available by scroll and main navigation. */
[data-unused-next-module]{visibility:hidden;pointer-events:none}
@container operations (min-width:620px){#operaciones .oc-track{--oc-visible:2}}
@container operations (min-width:960px){#operaciones .oc-track{--oc-visible:3}}
@container operations (min-width:1280px){#operaciones .oc-track{--oc-visible:4}}
@media(max-width:639px){
 #operaciones .oc-shell{width:calc(100% - 28px)}
 #operaciones .oc-heading{gap:12px;margin-bottom:12px}

 #operaciones .oc-body h3{font-size:18px}
 #operaciones .oc-bottom{gap:8px}
 #operaciones .oc-controls{gap:4px}
 #operaciones .oc-heading .oc-all{width:130px;min-height:44px;padding:8px 10px;font-size:12px}
 #operaciones .oc-all svg{display:none}
}
@media(max-height:760px){
 #operaciones{padding-bottom:max(2px,env(safe-area-inset-bottom,0px));align-content:start}
 #operaciones .oc-body h3{font-size:16px;margin-top:10px;margin-bottom:7px}
 #operaciones .oc-metric{padding-top:7px}
 #operaciones .oc-number{font-size:33px}
 #operaciones .oc-scale{margin-bottom:10px}
 #operaciones .oc-facts>div{min-height:48px;padding-block:6px}
 #operaciones .oc-risk{margin-bottom:8px}
 #operaciones .oc-bottom{margin-top:6px}
}
@media(prefers-reduced-motion:reduce){#operaciones .oc-track{scroll-behavior:auto}}
@media(max-height:700px),(min-width:640px) and (max-height:760px){
 /* The heading now owns the catalogue action and remains visible at every
    height. Tall content retains native reading instead of hiding the CTA. */
 #operaciones{padding-top:calc(var(--app-nav) + 4px)}
 #operaciones .oc-heading{margin-bottom:10px}
 #operaciones .oc-facts>div{min-height:44px;padding-block:4px}
}
