/* VALKAM CAPITAL LLC — estilos de la versión 4 (componentes interactivos).
   Se cargan después de style.css. */

.navy2 { background: radial-gradient(120% 80% at 80% 0%, #0E2E4C 0%, #061626 60%); color: var(--navy-ink); }
.navy2 .lead { color: var(--navy-muted); }
.navy2 .eyebrow, .navy2 .lnk { color: var(--bronze-2); }
.navy .h1, .navy2 .h1 { color: var(--navy-ink); }

/* ---------- Hero de portada ---------- */
.hero2 { --hp: 0; }
.hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hero2 .hero-in, .hero2 .trust { position: relative; z-index: 1; }
.hero2 .hero-txt { transform: translateY(calc(var(--hp) * 60px)); opacity: calc(1 - var(--hp) * 1.4); }
.hero2 .hero-fig { transform: translateY(calc(var(--hp) * -50px)) scale(calc(1 - var(--hp) * .05)); }
.hero2 .eyebrow { font-size: clamp(14px, 1.3vw, 17px); text-transform: none; letter-spacing: 0; }
.hl { display: block; overflow: hidden; padding-bottom: .04em; }
.hl > span { display: block; animation: hlUp 1.1s var(--ease) both; }
.hl + .hl > span { animation-delay: .12s; color: var(--bronze-2); }
@keyframes hlUp { from { transform: translateY(105%); } to { transform: none; } }
.hero2 .lead, .hero2 .btns, .bir-chip { animation: fadeUp 1s var(--ease) .3s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.bir-chip { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 8px 14px 8px 10px; border-radius: 980px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); font-size: 13px; font-weight: 600; color: var(--navy-ink); }
.bir-chip img { height: 18px; width: auto; }
.hero-fig { isolation: isolate; }
.halo { position: absolute; left: 50%; top: 46%; width: min(520px, 92%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(196, 122, 28, .38), rgba(196, 122, 28, 0) 66%); z-index: -1; animation: breathe 6s ease-in-out infinite; }
.ring { position: absolute; left: 50%; top: 44%; width: min(470px, 86%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; z-index: -1; background: conic-gradient(from 0deg, rgba(196, 122, 28, 0), rgba(232, 170, 90, .9), rgba(196, 122, 28, 0) 30%, rgba(196, 122, 28, 0) 60%, rgba(232, 170, 90, .6), rgba(196, 122, 28, 0) 85%); -webkit-mask: radial-gradient(circle, transparent 69%, #000 70%, #000 71%, transparent 72%); mask: radial-gradient(circle, transparent 69%, #000 70%, #000 71%, transparent 72%); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.06); opacity: .8; } }
.hero2 .hero-fig img { animation: fadeUp 1.2s var(--ease) .1s both; }
.scroll-cue { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: 6px; color: var(--navy-muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: calc(1 - var(--hp) * 4); }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(245, 241, 234, .5); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--bronze-2); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(10px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }
.hero2 .trust { padding-bottom: 64px; }
@media (max-width: 860px) { .scroll-cue { display: none; } .hero2 .trust { padding-bottom: 0; } }

/* ---------- Recorrido isométrico ---------- */
.flow-vis { background: linear-gradient(180deg, #0B2540, #071C2F); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.iso { width: 100%; height: auto; display: block; overflow: visible; }
.iso-link { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; animation: dash 1.2s linear infinite; }
.iso-link.done { stroke: var(--bronze-2); stroke-dasharray: 10 8; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.iso-p { cursor: pointer; }
.iso-lift { transition: transform .6s var(--ease); }
.iso-t { fill: #1C4466; stroke: rgba(255, 255, 255, .18); stroke-width: 1; transition: fill .4s; }
.iso-l { fill: #102F4B; transition: fill .4s; }
.iso-r { fill: #0C2740; transition: fill .4s; }
.iso-p.done .iso-t { fill: #6E4410; }
.iso-p.done .iso-l { fill: #4C2F0B; } .iso-p.done .iso-r { fill: #3D2609; }
.iso-p.cur .iso-lift { transform: translateY(-12px); }
.iso-p.cur .iso-t { fill: #C47A1C; stroke: #F3C27F; }
.iso-p.cur .iso-l { fill: #8A5410; } .iso-p.cur .iso-r { fill: #6E420C; }
.iso-p:hover .iso-t { stroke: #F3C27F; }
.jr-ic * { fill: none; stroke: rgba(245, 241, 234, .6); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .4s; }
.iso-p.cur .jr-ic * { stroke: #FFFFFF; }
.iso-p.cur .jr-ic .acc { stroke: #F3C27F; }
.iso-ic { transition: opacity .4s; opacity: .7; }
.iso-p.cur .iso-ic { opacity: 1; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }
.iso-p.cur .iso-ic { transform-box: fill-box; }
.iso-n { fill: rgba(245, 241, 234, .75); font: 700 15px var(--f-text); pointer-events: none; }
.iso-p.cur .iso-n { fill: #071C2F; }
.iso-mover { transition: transform 1s var(--ease); }
.m-t { fill: #F3C27F; } .m-l { fill: #C47A1C; } .m-r { fill: #8A5410; }
.flow.wide { display: grid; grid-template-columns: 1fr; gap: 14px; }
.flow.wide .flow-vis { position: relative; top: auto; padding: clamp(14px, 3vw, 32px); }
.flow-detail { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; border-radius: var(--r-card); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.fd-txt { display: flex; gap: 18px; align-items: flex-start; min-width: 0; }
.fd-txt.swap { animation: stepIn .5s var(--ease); }
.fd-txt p { color: var(--navy-muted); margin-top: 6px; }
.fd-k { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bronze-2); color: var(--navy); font: 700 18px var(--f-display); }
.fd-nav { display: flex; gap: 8px; flex: none; }
.navy .round, .navy2 .round { background: rgba(255, 255, 255, .1); color: var(--navy-ink); }
.navy .round:hover, .navy2 .round:hover { background: rgba(255, 255, 255, .2); }
.flow.tall { grid-template-columns: 1.25fr .9fr; }
.navy .flow-steps button { border-top-color: rgba(255, 255, 255, .1); color: var(--navy-ink); }
.navy .flow-steps button p { color: var(--navy-muted); }
.navy .flow-steps button::before { background: rgba(255, 255, 255, .08); color: var(--navy-ink); }
.navy .flow-steps button[aria-current="step"]::before { background: var(--bronze-2); color: var(--navy); }
@media (max-width: 860px) { .flow.tall { grid-template-columns: 1fr; } .flow-detail { flex-direction: column; align-items: flex-start; } }

/* ---------- Control de calidad ---------- */
.qc2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(16px, 2.6vw, 32px); align-items: stretch; }
.qc-stage { border-radius: var(--r-tile); background: radial-gradient(90% 70% at 50% 30%, #12355A 0%, #071C2F 75%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); padding: clamp(18px, 2.6vw, 32px); display: grid; gap: 14px; min-width: 0; }
#qcFx { width: 100%; aspect-ratio: 1.35; display: block; cursor: crosshair; }
.qc-info { display: grid; gap: 8px; }
.qc-info.swap { animation: stepIn .5s var(--ease); }
.qc-info p { color: var(--navy-muted); }
.gcards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: stretch; }
.gcard { position: relative; text-align: left; border: 0; cursor: pointer; border-radius: 22px; padding: 18px; display: grid; gap: 10px; align-content: space-between; min-height: 170px; color: var(--navy-ink); background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 0 0 1px rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); transition: transform .4s var(--ease), box-shadow .4s, background .4s; overflow: hidden; }
.gcard:hover { transform: translateY(-3px); }
.gcard.on { background: linear-gradient(160deg, rgba(196, 122, 28, .28), rgba(196, 122, 28, .06)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(232, 170, 90, .6), 0 18px 40px rgba(0, 0, 0, .3); }
.gcard b { font: 600 17px/1.2 var(--f-display); }
.gk { position: absolute; right: 16px; top: 14px; font-size: 12px; font-weight: 600; color: var(--navy-muted); font-variant-numeric: tabular-nums; }
svg.glass { width: 64px; height: 64px; overflow: visible; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .35)); }
svg.glass * { fill: url(#gF); stroke: url(#gS); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
svg.glass .core { fill: url(#gC); stroke: rgba(255, 230, 190, .8); }
.gcard.on svg.glass { animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-5px) rotate(-3deg); } }
@media (max-width: 900px) { .qc2 { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .gcards { grid-template-columns: 1fr 1fr; gap: 8px; } .gcard { min-height: 140px; padding: 14px; } svg.glass { width: 48px; height: 48px; } }

/* ---------- Incoterms con scroll ---------- */
.inco-scroll { height: 300vh; position: relative; }
.inco-stage { position: sticky; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px); display: grid; gap: 14px; padding-block: 18px 30px; }
.inco-top { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; }
.inco-sc { border-radius: var(--r-tile); background: linear-gradient(180deg, #F4F6F8, #FFFFFF); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.iscene { display: block; width: 100%; height: auto; }
.iz { fill: rgba(7, 28, 47, .035); transition: fill .5s; }
.iz.sel { fill: rgba(196, 122, 28, .13); }
.iz.cur { fill: rgba(196, 122, 28, .24); }
.iz:not(.sel).cur { fill: rgba(7, 28, 47, .09); }
.ground { stroke: #9AA5B1; stroke-width: 2; fill: none; }
.sea { fill: #CFE0EE; }
.wave { fill: none; stroke: #9DBBD4; stroke-width: 2; animation: dash 2s linear infinite; stroke-dasharray: 16 8; }
.bale { fill: #B9C0C8; stroke: #8E98A3; }
.crane path { fill: none; stroke: #59687A; stroke-width: 3; stroke-linecap: round; }
.crane rect { fill: #59687A; }
.cable { fill: none; stroke: #59687A; stroke-width: 1.6; }
.truck rect, .truck path { fill: #2D4E6E; }
.truck circle { fill: #111; }
.ship path:first-child { fill: #0C2A45; } .ship rect { fill: #DCE3EA; stroke: #0C2A45; } .ship path:last-child { stroke: #0C2A45; stroke-width: 2; }
.whouse { fill: #DCE3EA; stroke: #59687A; }
.ictr rect { fill: var(--bronze); } .ictr path { stroke: rgba(0, 0, 0, .25); stroke-width: 1.4; }
.irisk path { stroke: var(--err); stroke-width: 2.4; stroke-dasharray: 6 5; opacity: 0; transition: opacity .4s; }
.irisk circle { fill: var(--err); opacity: 0; transition: opacity .4s; }
.irisk.on path, .irisk.on circle { opacity: 1; }
.iins path { fill: rgba(7, 28, 47, .08); stroke: #8E98A3; stroke-width: 2; transition: fill .4s, stroke .4s; }
.iins.sel path { fill: rgba(196, 122, 28, .25); stroke: var(--bronze); }
.iins.cur { animation: floaty 2.4s ease-in-out infinite; transform-box: fill-box; }
.inco-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.inow { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--bronze); }
.leg.cur i { box-shadow: 0 0 0 3px rgba(196, 122, 28, .35); }
.inco-txt { color: var(--ink-2); max-width: 70ch; }
@media (max-width: 760px) { .inco-scroll { height: 260vh; } .inco-stage { gap: 10px; } .inco-key { margin: 10px 0 6px; } .inow { margin-left: 0; width: 100%; } .legs span { font-size: 11px; } }

/* ---------- Contenedor 3D ---------- */
.cside { position: absolute; box-sizing: border-box; }
.ctr3d, .oc-body { position: absolute; width: 300px; height: 120px; transform-style: preserve-3d; }
.cside.s-front, .cside.s-back { width: 300px; height: 120px; background: repeating-linear-gradient(90deg, #B8711A 0 9px, #9C5C10 9px 13px, #CB8429 13px 18px); box-shadow: inset 0 0 0 3px #7E4A08; }
.s-front { transform: translateZ(60px); display: flex; align-items: center; justify-content: center; gap: 12px; }
.s-front img { height: 46px; width: auto; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .3)); }
.s-front span { color: #fff; font: 700 30px/1 var(--f-display); letter-spacing: .14em; text-shadow: 0 1px 0 rgba(0, 0, 0, .3); }
.s-back { transform: rotateY(180deg) translateZ(60px); }
.cside.s-top, .cside.s-bot { width: 300px; height: 120px; background: repeating-linear-gradient(90deg, #D0903D 0 12px, #BF7F2C 12px 14px); box-shadow: inset 0 0 0 3px #8E560E; }
.s-top { transform: rotateX(90deg) translateZ(60px); }
.s-bot { transform: rotateX(-90deg) translateZ(60px); background: #5E3807 !important; }
.cside.s-left, .cside.s-right { width: 120px; height: 120px; left: 90px; background: repeating-linear-gradient(90deg, #9C5C10 0 6px, #7E4A08 6px 8px); box-shadow: inset 0 0 0 4px #6A3E06; }
.s-left { transform: rotateY(-90deg) translateZ(150px); }
.s-right { transform: rotateY(90deg) translateZ(150px); }
.s-right::after, .door::after { content: ""; position: absolute; inset: 10px 0; background: repeating-linear-gradient(90deg, transparent 0 26px, rgba(0, 0, 0, .35) 26px 29px, transparent 29px 58px); }
.hang { position: relative; height: 430px; perspective: 1400px; --sp: 0; }
.hang-cable { position: absolute; left: 50%; top: -60px; width: 2px; margin-left: -1px; height: calc(130px + var(--sp) * 70px); background: linear-gradient(#5E6C7C, #8A96A3); }
.hang-hook { position: absolute; left: 50%; top: calc(64px + var(--sp) * 70px); width: 26px; height: 26px; margin-left: -13px; border: 4px solid #5E6C7C; border-top-color: transparent; border-radius: 50%; }
.hang-swing { position: absolute; left: 50%; top: calc(84px + var(--sp) * 70px); width: 0; height: 0; transform-origin: 0 -150px; animation: swing 6s ease-in-out infinite; transform-style: preserve-3d; }
.hang-slings { position: absolute; left: -130px; top: 0; width: 260px; height: 64px; background: linear-gradient(to top right, transparent calc(50% - 1px), #8A96A3 calc(50% - 1px), #8A96A3 calc(50% + 1px), transparent calc(50% + 1px)) left / 50% 100% no-repeat, linear-gradient(to top left, transparent calc(50% - 1px), #8A96A3 calc(50% - 1px), #8A96A3 calc(50% + 1px), transparent calc(50% + 1px)) right / 50% 100% no-repeat; }
.hang .ctr3d { left: -150px; top: 64px; transform: rotateX(-16deg) rotateY(-26deg); animation: turn 9s ease-in-out infinite; }
@keyframes swing { 0%, 100% { transform: rotate(-2.4deg); } 50% { transform: rotate(2.4deg); } }
@keyframes turn { 0%, 100% { transform: rotateX(-16deg) rotateY(-30deg); } 50% { transform: rotateX(-16deg) rotateY(-18deg); } }
.hang::after { content: ""; position: absolute; left: 50%; bottom: 14px; width: 340px; height: 30px; margin-left: -170px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .28), transparent); transform: scale(calc(.75 + var(--sp) * .2)); }

/* Contenedor abierto con carga */
.load { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; }
.load-scene { position: relative; height: 380px; perspective: 1500px; border-radius: var(--r-tile); background: radial-gradient(80% 70% at 50% 85%, #E9E2D6, #F8F4ED 70%); overflow: hidden; min-width: 0; }
.ocont { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: translate(-250px, -70px) rotateX(-16deg) rotateY(-34deg); }
.oc-body { left: 0; top: 0; }
.oc-end { position: absolute; left: 90px; top: 0; width: 120px; height: 120px; transform: rotateY(90deg) translateZ(150px); transform-style: preserve-3d; background: #2A1A06; }
.door { position: absolute; top: 0; width: 60px; height: 120px; background: repeating-linear-gradient(90deg, #A9661A 0 6px, #8A5210 6px 8px); box-shadow: inset 0 0 0 3px #6A3E06; transition: transform 1.2s var(--ease); }
.door.d1 { left: 0; transform-origin: left center; }
.door.d2 { left: 60px; transform-origin: right center; }
.ocont.open .door.d1 { transform: rotateY(-115deg); }
.ocont.open .door.d2 { transform: rotateY(115deg); }
.b3 { position: absolute; width: 46px; height: 46px; transform-style: preserve-3d; }
.fc { position: absolute; width: 46px; height: 46px; }
.f-front { transform: translateZ(23px); } .f-back { transform: rotateY(180deg) translateZ(23px); }
.f-top { transform: rotateX(90deg) translateZ(23px); } .f-bot { transform: rotateX(-90deg) translateZ(23px); }
.f-left { transform: rotateY(-90deg) translateZ(23px); } .f-right { transform: rotateY(90deg) translateZ(23px); }
.k0 .fc { background: repeating-linear-gradient(45deg, #C9CDD2 0 4px, #9EA6AF 4px 7px, #D8B07C 7px 9px); box-shadow: inset 0 0 0 2px #6B747E; }
.k1 .fc { background: #F4F1EA; box-shadow: inset 0 0 0 2px #CFC6B6; border-radius: 6px; }
.k1 .f-top { background: #E3DCCF; }
.k2 .fc { background: linear-gradient(#B9BEC4 0 70%, #8A6A44 70% 100%); box-shadow: inset 0 0 0 2px #6E5536; }
.k3 .fc { background: radial-gradient(circle at 30% 30%, #8B939C 0 18%, transparent 19%), radial-gradient(circle at 70% 60%, #6E777F 0 22%, transparent 23%), #49515A; box-shadow: inset 0 0 0 2px #2F353B; }
.cargo { position: absolute; left: 0; top: 0; transform-style: preserve-3d; opacity: 0; transform: translate3d(240px, 60px, 0) scale(.4); transition: transform 1.1s var(--ease), opacity .5s; transition-delay: calc(var(--i) * .16s + .5s); }
.ocont.open .cargo { opacity: 1; }
.ocont.open .cargo.c0 { transform: translate3d(352px, 74px, -50px); }
.ocont.open .cargo.c1 { transform: translate3d(428px, 74px, -50px); }
.ocont.open .cargo.c2 { transform: translate3d(352px, 74px, 40px); }
.ocont.open .cargo.c3 { transform: translate3d(428px, 74px, 40px); }
.load-side { display: grid; gap: 16px; align-content: start; min-width: 0; }
.cargo-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cargo-legend li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 14px; background: var(--paper); }
.cargo-legend b { display: block; font-size: 15px; } .cargo-legend span { font-size: 13px; color: var(--ink-2); }
.ck { width: 32px; height: 32px; border-radius: 8px; }
.ck.k0 { background: repeating-linear-gradient(45deg, #C9CDD2 0 4px, #9EA6AF 4px 7px, #D8B07C 7px 9px); }
.ck.k1 { background: #F4F1EA; box-shadow: inset 0 0 0 2px #CFC6B6; }
.ck.k2 { background: linear-gradient(#B9BEC4 0 70%, #8A6A44 70% 100%); }
.ck.k3 { background: #49515A; }
.load-side .btn { justify-self: start; }
.cdims2 { display: grid; gap: 6px; }
.cdims2 div { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .load { grid-template-columns: 1fr; } .load-scene { height: 300px; } .ocont { transform: translate(-200px, -40px) rotateX(-14deg) rotateY(-38deg) scale(.78); } }

/* ---------- Mesa de documentos ---------- */
.deskw { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.desk-txt { min-width: 0; }
.desk-info { border-radius: 16px; background: var(--ivory); padding: 16px 18px; display: grid; gap: 4px; min-height: 92px; }
.desk-info.swap { animation: stepIn .45s var(--ease); }
.desk-info p { color: var(--ink-2); font-size: 15px; }
.desk { position: relative; height: 560px; border-radius: var(--r-tile); background: radial-gradient(120% 90% at 30% 20%, #16314B, #0A1B2C); overflow: hidden; touch-action: none; min-width: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.desk::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 32px 32px; }
.frag { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); cursor: grab; user-select: none; transition: transform .5s var(--ease), box-shadow .3s, left .7s var(--ease), top .7s var(--ease); outline-offset: 4px; }
.frag.drag { cursor: grabbing; transition: transform .2s var(--ease), box-shadow .3s; transform: rotate(0) scale(1.05); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.frag:hover { transform: rotate(calc(var(--r) * .5)) translateY(-4px); }
.frag.sel { box-shadow: 0 0 0 3px var(--bronze-2), 0 24px 50px rgba(0, 0, 0, .45); }
.frag.doc { width: 150px; aspect-ratio: 3 / 4; padding: 14px 13px; border-radius: 8px; background: #FBF9F4; box-shadow: 0 14px 30px rgba(0, 0, 0, .4); display: grid; align-content: start; gap: 7px; color: var(--ink); }
.frag.doc b { font: 600 12.5px/1.2 var(--f-display); margin-bottom: 4px; }
.frag .ln { height: 4px; border-radius: 2px; background: #E7E0D3; } .frag .ln.s { width: 60%; }
.frag .stamp { margin-top: 6px; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bronze); display: grid; place-items: center; font-size: 8px; font-weight: 700; color: var(--bronze); transform: rotate(-12deg); }
.frag.photo { width: 176px; padding: 8px 8px 30px; background: #fff; border-radius: 4px; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.frag.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; pointer-events: none; }
.frag.photo span { position: absolute; left: 10px; right: 10px; bottom: 8px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.desk.grid .frag { transform: none; left: calc(3% + var(--gx) * 24.5%) !important; top: calc(4% + var(--gy) * 33%) !important; }
@media (max-width: 900px) { .deskw { grid-template-columns: 1fr; } .desk { height: 480px; } .frag.doc { width: 112px; } .frag.photo { width: 128px; } }

/* ---------- Banda final ---------- */
.cta2 { overflow: hidden; }
.cta2-in { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.cta2-txt { display: grid; gap: 18px; }
.cta2 .lead { color: var(--navy-muted); }
.cta2 .hang::after { background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); }
@media (max-width: 860px) { .cta2-in { grid-template-columns: 1fr; } .cta2 .hang { height: 340px; transform: scale(.8); } }

/* ---------- Logística: portada ---------- */
.lg-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF, #F4F1EB); }
.lg-in { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 72px); display: grid; }
.lg-t { margin: 8px 0 0; font: 700 clamp(64px, 14vw, 200px)/.9 var(--f-display); letter-spacing: -.055em; display: grid; position: relative; z-index: 1; }
.lg-a { color: var(--ink); }
.lg-b { justify-self: end; text-align: right; font-size: .52em; letter-spacing: -.04em; color: var(--bronze); margin-top: clamp(150px, 20vw, 260px); }
.lg-vis { position: absolute; left: 50%; top: clamp(90px, 13vw, 170px); width: 520px; margin-left: -200px; z-index: 2; pointer-events: none; }
.lg-vis .hang { height: 360px; }
.lg-foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: end; margin-top: 28px; position: relative; z-index: 1; }
.lg-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lg-stats li { display: grid; gap: 2px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .8); box-shadow: inset 0 0 0 1px var(--line); }
.lg-stats b { font: 700 34px/1 var(--f-display); color: var(--bronze); font-variant-numeric: tabular-nums; }
.lg-stats span { font-size: 13px; color: var(--ink-2); }
@media (max-width: 860px) { .lg-vis { position: relative; left: auto; top: auto; margin: -20px auto 0; width: 100%; } .lg-vis .hang { height: 300px; transform: scale(.75); } .lg-b { margin-top: 0; justify-self: start; text-align: left; } .lg-foot { grid-template-columns: 1fr; } }

/* ---------- Empresa ---------- */
.co-hero .h-hero { color: var(--ink); }
.hw { display: inline-block; animation: hlUp2 1s var(--ease) both; animation-delay: var(--d); }
.hw:nth-child(3) { color: var(--bronze); }
@keyframes hlUp2 { from { opacity: 0; transform: translateY(30px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding-bottom: clamp(48px, 6vw, 80px); }
.fact { padding: 18px 20px; border-radius: var(--r-card); background: var(--ivory); display: grid; gap: 4px; }
.fact small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.fact b { font: 600 19px/1.25 var(--f-display); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.ceo-frame { position: relative; border-radius: var(--r-tile); overflow: hidden; background: var(--navy); aspect-ratio: 4 / 5; }
.ceo-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(232, 170, 90, .35); }
.ceo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.6s var(--ease); }
.ceo-ph:hover .ceo-frame img { transform: scale(1.04); }
.ceo .stats { grid-template-columns: repeat(3, 1fr); }
.ceo .stat { background: var(--ivory); padding: 18px; }
.ceo .stat b { font-size: clamp(34px, 4vw, 48px); }
.ceo .stat span { font-size: 13px; }
.tl { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; display: grid; gap: 26px; }
.tl-line { position: absolute; left: 12px; top: 6px; bottom: 6px; width: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(var(--bronze-2), var(--bronze)); transform-origin: top; transform: scaleY(0); }
.tl-i { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 22px; border-radius: var(--r-card); background: var(--paper); }
.tl-i::before { content: ""; position: absolute; left: -40px; top: 26px; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 3px var(--bronze); }
.tl-k { font: 700 22px/1.1 var(--f-display); color: var(--bronze); letter-spacing: -.02em; }
.tl-i p { color: var(--ink-2); margin-top: 4px; }
@media (max-width: 640px) { .tl-i { grid-template-columns: 1fr; gap: 6px; } }
.model { display: grid; grid-template-columns: 1fr .6fr 1.1fr .6fr 1fr; gap: 0; align-items: center; }
.mnode { padding: 22px; border-radius: var(--r-card); background: var(--ivory); display: grid; gap: 6px; text-align: center; justify-items: center; }
.mnode p { color: var(--ink-2); font-size: 14px; }
.mnode.core { background: var(--navy); color: var(--navy-ink); padding: 30px 22px; box-shadow: 0 30px 60px rgba(7, 28, 47, .25); }
.mnode.core p { color: var(--navy-muted); }
.mnode.core img { width: 54px; height: auto; margin-bottom: 4px; }
.mflow { position: relative; display: grid; gap: 6px; justify-items: center; padding: 0 6px; }
.mline { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: repeating-linear-gradient(90deg, var(--bronze) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: flowx 1.2s linear infinite; z-index: -1; }
@keyframes flowx { to { background-position: 28px 0; } }
.mf { font-size: 11px; font-weight: 600; padding: 4px 8px; border-radius: 980px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.mf.f1 { color: var(--bronze); } .mf.f3 { color: #2E6B4F; }
@media (max-width: 860px) { .model { grid-template-columns: 1fr; gap: 10px; } .mflow { grid-auto-flow: column; padding: 6px 0; } .mline { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--bronze) 0 8px, transparent 8px 14px); } }
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.line { position: relative; padding: 28px 24px; border-radius: var(--r-tile); background: var(--paper); display: grid; gap: 12px; align-content: start; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.line:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(7, 28, 47, .1); }
.line-n { font: 700 64px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--bronze-2); opacity: .6; }
.line p { color: var(--ink-2); }
.line .pill { justify-self: start; }
@media (max-width: 860px) { .lines { grid-template-columns: 1fr; } }
.pillars2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; perspective: 1000px; }
.pcard { --rx: 0deg; --ry: 0deg; border-radius: 24px; padding: 22px; min-height: 340px; display: grid; grid-template-rows: 1fr auto auto; gap: 10px; background: linear-gradient(170deg, #12324F, #0A1F33); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .06); transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .3s var(--ease); transform-style: preserve-3d; }
.pcard p { color: var(--navy-muted); font-size: 15px; }
.pobj { display: grid; place-items: center; transform: translateZ(40px); }
.pobj svg.glass { width: 130px; height: 130px; }
.pobj .fl { animation: floaty 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.pcard:nth-child(2) .fl { animation-delay: -1.2s; } .pcard:nth-child(3) .fl { animation-delay: -2.4s; } .pcard:nth-child(4) .fl { animation-delay: -3.6s; }
@media (max-width: 960px) { .pillars2 { grid-template-columns: 1fr 1fr; } .pcard { min-height: 280px; } }
@media (max-width: 520px) { .pillars2 { grid-template-columns: 1fr; } }
.mvband { position: relative; overflow: hidden; padding-block: clamp(80px, 11vw, 150px); background: #050F1A; }
.strand { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.mv2 { position: relative; z-index: 1; display: grid; gap: 36px; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mvc { padding: 28px; border-radius: 22px; background: rgba(5, 15, 26, .55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); display: grid; gap: 10px; }
.mvc p:last-child { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--navy-ink); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.group2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gco { position: relative; padding: 22px; border-radius: var(--r-card); background: var(--paper); display: grid; gap: 6px; align-content: start; }
.gco p { color: var(--ink-2); font-size: 14px; }
.cc { justify-self: start; font: 700 11px/1 var(--f-text); letter-spacing: .1em; padding: 6px 8px; border-radius: 6px; background: var(--navy); color: var(--bronze-2); }
@media (max-width: 760px) { .group2 { grid-template-columns: 1fr; } }

/* ---------- Presencia ---------- */
.globe-w { position: relative; border-radius: var(--r-tile); overflow: hidden; background: radial-gradient(70% 70% at 50% 45%, rgba(196, 122, 28, .12), transparent 70%); min-width: 0; }
#globe { display: block; width: 100%; aspect-ratio: 1.15; cursor: grab; }
#globe:active { cursor: grabbing; }
.globe-hint { position: absolute; left: 14px; bottom: 14px; font-size: 12px; color: var(--navy-muted); }
.cov { --covl: 130px; position: relative; display: grid; gap: 10px; padding: 24px; border-radius: var(--r-tile); background: var(--ivory); }
.cov-row { display: grid; grid-template-columns: var(--covl) 1fr; align-items: center; gap: 0; }
.cov-l { font-size: 14px; font-weight: 600; padding-right: 12px; }
.cov-t { position: relative; height: 28px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(7, 28, 47, .05) 0 calc(100% / 24 - 1px), rgba(7, 28, 47, .1) calc(100% / 24 - 1px) calc(100% / 24)); }
.cov-t i { position: absolute; top: 3px; bottom: 3px; border-radius: 6px; background: linear-gradient(90deg, var(--bronze), var(--bronze-2)); box-shadow: 0 4px 12px rgba(164, 97, 8, .3); }
.cov-ax { position: relative; height: 20px; }
.cov-ax span { position: absolute; transform: translateX(-50%); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cov-ax span:first-child { transform: none; } .cov-ax span:last-child { transform: translateX(-100%); }
.cov-now { position: absolute; top: 14px; bottom: 34px; width: 2px; margin-left: 24px; background: var(--err); }
.cov-now b { position: absolute; top: -6px; left: 6px; font-size: 11px; color: var(--err); white-space: nowrap; }
@media (max-width: 600px) { .cov { --covl: 84px; padding: 16px; } .cov-l { font-size: 12px; } .cov-ax span:nth-child(even) { display: none; } }
.office .cc { margin-bottom: 4px; }

/* ---------- Contacto ---------- */
.ct-hero .phead { padding-bottom: 28px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: clamp(40px, 5vw, 64px); }
.qcard { position: relative; text-align: left; border: 0; cursor: pointer; text-decoration: none; color: var(--ink); padding: 22px; border-radius: var(--r-tile); background: var(--ivory); display: grid; gap: 6px; transition: transform .4s var(--ease), background .4s, box-shadow .4s; }
.qcard:hover { transform: translateY(-4px); background: #F3ECDF; box-shadow: 0 20px 40px rgba(7, 28, 47, .1); }
.qcard svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--paper); fill: none; stroke: var(--bronze); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.qcard b { font: 600 21px/1.2 var(--f-display); }
.qcard span { color: var(--ink-2); font-size: 15px; }
.qarrow { position: absolute; right: 18px; top: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--bronze); transition: transform .3s var(--ease); }
.qarrow svg { width: 13px; height: 13px; padding: 0; margin: 0; background: none; stroke: currentColor; }
.qcard:hover .qarrow { transform: translateX(4px); }
@media (max-width: 760px) { .quick { grid-template-columns: 1fr; } }
.cbox2 { background: var(--ivory); border-radius: var(--r-card); padding: 18px 20px; display: grid; gap: 6px; }
.cbox2 small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.cval { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cval a { font-size: 17px; text-decoration: none; overflow-wrap: anywhere; min-width: 0; }
.cval a:hover { color: var(--bronze); }
.cpy { flex: none; border: 0; cursor: pointer; border-radius: 980px; padding: 6px 12px; font-size: 12px; font-weight: 600; background: var(--paper); color: var(--bronze); }
.cpy:hover { background: var(--bronze); color: #fff; }
.cbox2 address { font-style: normal; line-height: 1.55; }
.cbox2 .clock { color: var(--ink-2); }
.next { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: n; }
.next li { position: relative; padding: 26px 24px; border-radius: var(--r-tile); background: var(--paper); display: grid; gap: 8px; align-content: start; }
.next li p { color: var(--ink-2); }
.nx-k { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--bronze-2); font: 700 17px var(--f-display); margin-bottom: 6px; }
.next li:not(:last-child)::after { content: ""; position: absolute; right: -10px; top: 44px; width: 8px; height: 8px; border-right: 2px solid var(--bronze); border-top: 2px solid var(--bronze); transform: rotate(45deg); z-index: 1; }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } .next li::after { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hang-swing, .hang .ctr3d, .ring, .halo, .iso-link, .wave, .mline, .pobj .fl, .gcard.on svg.glass { animation: none !important; }
  .hl > span, .hw, .hero2 .lead, .hero2 .btns, .bir-chip { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .inco-scroll { height: auto; } .inco-stage { position: static; }
}
