/* Bloque "App de ingreso de mercadería" dentro de las páginas de rubros */
.ingr { --iv: #8b6cff; position: relative; overflow: clip; color: #fff; background: radial-gradient(800px 520px at 88% 10%, rgba(139, 108, 255, .32), transparent 62%), radial-gradient(640px 460px at 0% 90%, rgba(47, 123, 255, .18), transparent 60%), #0d0a1d; }
.ingr__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: clamp(36px, 6vw, 88px); align-items: center; }
.ingr__tag { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; font-size: .95rem; font-weight: 600; color: #b7a6ff; }
.ingr__tag span { padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; white-space: nowrap; color: #fff; background: linear-gradient(90deg, #8b6cff, #2f7bff); box-shadow: 0 0 18px -2px rgba(139, 108, 255, .8); }
.ingr__h { margin: 0; font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.06; letter-spacing: -.03em; font-weight: 600; color: #fff; text-wrap: balance; }
.ingr__h em { font-style: normal; color: #b7a6ff; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) { .ingr__h em { background: linear-gradient(90deg, #b7a6ff, #6fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; } }
.ingr__p { max-width: 58ch; margin: 18px 0 0; font-size: 1.06rem; line-height: 1.6; color: rgba(255, 255, 255, .76); }
.ingr__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: s; }
.ingr__steps li { counter-increment: s; font-size: .98rem; line-height: 1.3; font-weight: 500; }
.ingr__steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 9px; border-radius: 50%; font-size: .85rem; font-weight: 700; color: #0d0a1d; background: var(--iv); }
.ingr__units { display: inline-block; margin: 22px 0 0; padding: 8px 14px; border-radius: 999px; font-size: .9rem; color: #fff; background: rgba(139, 108, 255, .16); box-shadow: inset 0 0 0 1px rgba(139, 108, 255, .45); }
.ingr__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ingr__btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; color: #0d0a1d; background: var(--iv); transition: transform .3s, box-shadow .3s, background .3s; }
.ingr__btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--iv); }
.ingr__btn--ghost { color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1.5px rgba(139, 108, 255, .7); }
.ingr__btn--ghost:hover { background: rgba(139, 108, 255, .2); }
.ingr__btn svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; }
.ingr__btn small { font-size: .7rem; font-weight: 700; opacity: .6; }
.ingr__media { position: relative; display: grid; justify-items: center; gap: 14px; }
.ingr__media::before { content: ""; position: absolute; z-index: 0; top: 50%; left: 50%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 108, 255, .5), transparent); pointer-events: none; }
.ingr__real { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; margin: 0; padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; text-align: center; background: rgba(139, 108, 255, .22); box-shadow: inset 0 0 0 1px rgba(139, 108, 255, .55); }
.ingr__real span { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #ff4d6d; animation: ingr-live 1.6s infinite; }
@keyframes ingr-live { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, .7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 77, 109, 0); } }
.ingr__phone { position: relative; z-index: 1; width: min(300px, 100%); padding: 9px; border-radius: 42px; background: #000; box-shadow: 0 0 0 2px rgba(255, 255, 255, .16), 0 40px 80px -30px rgba(0, 0, 0, .8); }
.ingr__phone video { display: block; width: 100%; height: auto; border-radius: 33px; background: #000; }
@media (max-width: 900px) { .ingr__grid { grid-template-columns: 1fr; } .ingr__phone { width: min(280px, 100%); } }
@media (max-width: 560px) { .ingr__steps { grid-template-columns: 1fr; } .ingr__steps li { display: flex; align-items: center; gap: 12px; } .ingr__steps li::before { flex: none; margin: 0; } }
@media (prefers-reduced-motion: reduce) { .ingr__real span { animation: none; } }
.ingr__btns { align-items: center; }
.ingr__link { padding: 6px 4px; font-weight: 600; color: #b7a6ff; text-decoration: underline; text-underline-offset: 4px; }
.ingr__link:hover { color: #fff; }

/* Variante verde: app para financieras */
.ingr--fin { --iv: #10c98f; background: radial-gradient(800px 520px at 88% 10%, rgba(16, 201, 143, .26), transparent 62%), radial-gradient(640px 460px at 0% 90%, rgba(47, 123, 255, .18), transparent 60%), #07141a; }
.ingr--fin .ingr__tag, .ingr--fin .ingr__link { color: #6ee7c0; }
.ingr--fin .ingr__tag span { background: linear-gradient(90deg, #10c98f, #2f7bff); box-shadow: 0 0 18px -2px rgba(16, 201, 143, .7); }
.ingr--fin .ingr__h em { color: #6ee7c0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) { .ingr--fin .ingr__h em { background: linear-gradient(90deg, #6ee7c0, #6fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; } }
.ingr--fin .ingr__units { background: rgba(16, 201, 143, .14); box-shadow: inset 0 0 0 1px rgba(16, 201, 143, .45); }
.ingr--fin .ingr__btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(16, 201, 143, .7); }
.ingr--fin .ingr__btn--ghost:hover { background: rgba(16, 201, 143, .18); }
.ingr--fin .ingr__media::before { background: radial-gradient(closest-side, rgba(16, 201, 143, .42), transparent); }
.ingr--fin .ingr__real { background: rgba(16, 201, 143, .18); box-shadow: inset 0 0 0 1px rgba(16, 201, 143, .5); }
.ingr__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ingr__chips li { padding: 8px 14px; border-radius: 999px; font-size: .9rem; background: rgba(16, 201, 143, .14); box-shadow: inset 0 0 0 1px rgba(16, 201, 143, .45); }

/* Video dentro de la pestaña "App mobile" de un rubro */
.mp--video { grid-template-columns: minmax(0, 1fr) minmax(200px, 260px); align-items: center; gap: clamp(24px, 4vw, 48px); }
.mp__vid { display: grid; justify-items: center; gap: 10px; }
.mp__vid .ingr__phone { width: min(260px, 100%); }
.mp__vid p { margin: 0; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #5b6b80; }
@media (max-width: 700px) { .mp--video { grid-template-columns: 1fr; } }
