/* Verificación de Carga · page-specific styles
   Extends the Scanner Industrial shell (styles.css → colors_and_type.css).
   Only adds what styles.css doesn't already provide:
   beneficios grid, "qué es" panel, and the animated muelle infographic. */
@import url('./styles.css');

/* ============ QUÉ ES — definición + panel ============ */
.vc-quees { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-7); align-items: center; }
@media (max-width: 920px) { .vc-quees { grid-template-columns: 1fr; gap: var(--space-6); } }
.vc-quees-text .si-eyebrow { margin-bottom: var(--space-3); }
.vc-quees-text h2 { font-size: var(--text-h2); letter-spacing: -0.02em; margin-bottom: var(--space-4); }
.vc-quees-text h2 em { font-style: normal; color: var(--brand-700); }
.vc-quees-text p { font-size: 18px; color: var(--ink-700); line-height: 1.6; margin-bottom: var(--space-4); max-width: 56ch; }
.vc-quees-text p strong { color: var(--ink-900); font-weight: 600; }
.vc-quees-panel { background: var(--ink-950); color: #fff; border-radius: var(--radius-xl); padding: var(--space-6); position: relative; overflow: hidden; box-shadow: var(--shadow-xl); }
.vc-quees-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 460px 320px at 90% 0%, rgba(140,198,62,0.22) 0%, transparent 62%); }
.vc-quees-panel > * { position: relative; z-index: 1; }
.vc-quees-photo { margin: 0 0 var(--space-5); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 3; background: rgba(255,255,255,0.05); }
.vc-quees-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vc-quees-panel .ref { font: 600 11px var(--font-mono); color: var(--brand-on-dark); letter-spacing: 0.10em; text-transform: uppercase; margin-bottom: var(--space-4); display: block; }
.vc-quees-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.vc-quees-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.82); }
.vc-quees-checks .ck { width: 26px; height: 26px; flex: none; border-radius: 7px; display: grid; place-items: center; background: rgba(140,198,62,0.16); color: var(--brand-on-dark); margin-top: 1px; }
.vc-quees-checks strong { color: #fff; font-weight: 600; }

/* ============ BENEFICIOS — grid de tarjetas ============ */
.vc-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
@media (max-width: 960px) { .vc-benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vc-benefits { grid-template-columns: 1fr; } }
.vc-benefit { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-5); display: flex; flex-direction: column; transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out); }
.vc-benefit:hover { transform: translateY(-2px); border-color: var(--brand-500); box-shadow: var(--shadow-lg); }
.vc-benefit-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--brand-100); color: var(--brand-800); margin-bottom: var(--space-4); transition: background 240ms var(--ease-out); }
.vc-benefit:hover .vc-benefit-icon { background: var(--brand-200); }
.vc-benefit h4 { font: 600 18px var(--font-display); letter-spacing: -0.015em; color: var(--ink-900); margin-bottom: var(--space-2); line-height: 1.2; }
.vc-benefit p { font-size: 14.5px; color: var(--ink-500); line-height: 1.55; margin: 0 0 var(--space-4); flex: 1; }
.vc-benefit .chip { align-self: flex-start; font: 600 11px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-800); background: var(--brand-100); padding: 5px 10px; border-radius: var(--radius-full); }

/* ---- variant: lista numerada (tweak) ---- */
.vc-benefits--list { grid-template-columns: 1fr; gap: 0; max-width: 880px; margin: 0 auto; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.vc-benefits--list .vc-benefit { flex-direction: row; align-items: flex-start; gap: var(--space-5); border: none; border-bottom: 1px solid var(--border); border-radius: 0; padding: var(--space-5) var(--space-6); }
.vc-benefits--list .vc-benefit:last-child { border-bottom: none; }
.vc-benefits--list .vc-benefit:hover { transform: none; box-shadow: none; background: var(--brand-50); }
.vc-benefits--list .vc-benefit-icon { margin-bottom: 0; flex: none; }
.vc-benefits--list .vc-benefit-body { flex: 1; }
.vc-benefits--list .vc-benefit h4 { margin-bottom: 6px; }
.vc-benefits--list .vc-benefit p { margin-bottom: 0; }
.vc-benefits--list .vc-benefit .chip { display: none; }
.vc-benefit-body { display: contents; }
.vc-benefits--list .vc-benefit-body { display: block; }

/* ============ MODOS DE LECTURA — comparativa cinta vs carretilla (foto) ============ */
.vc-read-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 800px) { .vc-read-grid { grid-template-columns: 1fr; } }
.vc-read-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out), border-color 240ms var(--ease-out); }
.vc-read-card:hover { transform: translateY(-2px); border-color: var(--brand-500); box-shadow: var(--shadow-lg); }
.vc-read-tag { display: inline-flex; align-items: center; gap: 8px; font: 600 11px var(--font-mono); letter-spacing: 0.10em; text-transform: uppercase; color: var(--brand-800); margin-bottom: var(--space-4); }
.vc-read-tag svg { width: 15px; height: 15px; }
.vc-read-card h3 { font: 600 22px var(--font-display); letter-spacing: -0.015em; line-height: 1.15; color: var(--ink-900); margin-bottom: 10px; }
.vc-read-card p { font-size: 15px; color: var(--ink-500); line-height: 1.55; margin: 0; max-width: 44ch; }
.vc-read-media { margin-top: var(--space-5); aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--ink-950); }
.vc-read-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ============ INFOGRAFÍA — flujo del palé en muelle (animada) ============ */
.vc-flow-wrap { margin-top: var(--space-7); }
.vc-flow-scene {
  position: relative;
  background: var(--ink-950);
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(360px, 42vw, 460px);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.06);
}
.vc-flow-scene::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 900px 520px at 50% -10%, rgba(140,198,62,0.16) 0%, transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 110%, rgba(140,198,62,0.10) 0%, transparent 60%);
}
/* perspective floor grid */
.vc-flow-scene::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46%;
  pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(140,198,62,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 100% 38px, 64px 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 80%);
  mask-image: linear-gradient(to bottom, transparent, #000 80%);
}

/* stage labels */
.vc-flow-stages { position: absolute; top: var(--space-5); left: 0; right: 0; display: flex; justify-content: space-around; gap: var(--space-4); padding: 0 var(--space-6); z-index: 4; }
.vc-flow-stage { flex: 1; max-width: 220px; text-align: center; }
.vc-flow-stage .n { font: 700 10.5px var(--font-mono); color: var(--brand-on-dark); letter-spacing: 0.14em; }
.vc-flow-stage .t { font: 600 14px var(--font-display); color: #fff; letter-spacing: -0.01em; margin-top: 4px; }
.vc-flow-stage .d { font-size: 11.5px; color: rgba(255,255,255,0.5); line-height: 1.4; margin-top: 3px; }
@media (max-width: 640px) { .vc-flow-stage .d { display: none; } .vc-flow-stages { padding: 0 var(--space-4); } }

/* the conveyor lane */
.vc-lane { position: absolute; left: 4%; right: 4%; top: 60%; height: 14px; border-radius: var(--radius-full);
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 24px rgba(0,0,0,0.4); z-index: 2; }
.vc-lane::before { content: ''; position: absolute; inset: 0; border-radius: inherit; opacity: 0.6;
  background-image: repeating-linear-gradient(90deg, transparent 0 18px, rgba(140,198,62,0.45) 18px 20px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  animation: vc-belt 1.1s linear infinite; }
@keyframes vc-belt { to { background-position: 20px 0; } }

/* scanner gate */
.vc-gate { position: absolute; left: 50%; top: 60%; transform: translate(-50%, -100%); width: 132px; height: 168px; z-index: 3; }
.vc-gate .post { position: absolute; bottom: 0; width: 12px; height: 100%; border-radius: 6px; background: linear-gradient(180deg, #2a3a1d, #18230f); box-shadow: inset 0 1px 0 rgba(255,255,255,0.12); }
.vc-gate .post.l { left: 0; } .vc-gate .post.r { right: 0; }
.vc-gate .beamhead { position: absolute; top: 0; left: 0; right: 0; height: 16px; border-radius: 8px; background: linear-gradient(180deg, #34481f, #1d2a10); box-shadow: 0 2px 8px rgba(0,0,0,0.4); display: grid; place-items: center; }
.vc-gate .beamhead::after { content: ''; width: 38px; height: 5px; border-radius: 3px; background: var(--brand-500); box-shadow: 0 0 10px var(--brand-500); }
/* the scanning beam sweep */
.vc-beam { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: 88px; height: 150px; overflow: hidden; pointer-events: none; }
.vc-beam .line { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--brand-500), transparent); box-shadow: 0 0 14px rgba(140,198,62,0.8); opacity: 0; }
.vc-beam .glow { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(140,198,62,0.22), transparent 70%); opacity: 0; }

/* validation badge */
.vc-validate { position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%); z-index: 6;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-full);
  background: rgba(10, 16, 5, 0.86); border: 1px solid rgba(140,198,62,0.6); backdrop-filter: blur(6px);
  color: var(--brand-on-dark); font: 600 12.5px var(--font-body); letter-spacing: 0.02em; white-space: nowrap;
  opacity: 0; box-shadow: 0 8px 28px rgba(0,0,0,0.55); }
.vc-validate .ck { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-500); color: var(--ink-950); display: grid; place-items: center; flex: none; }
.vc-validate .ck svg { width: 12px; height: 12px; }
.vc-validate code { font: 600 11.5px var(--font-mono); color: var(--brand-on-dark); letter-spacing: 0.04em; background: rgba(140,198,62,0.18); padding: 2px 7px; border-radius: var(--radius-xs); }

/* the moving pallet */
.vc-pallet { position: absolute; top: 60%; left: 6%; transform: translate(-50%, -100%); z-index: 5; width: 64px; }
.vc-pallet .box { position: relative; width: 64px; height: 52px; border-radius: 4px;
  background: linear-gradient(150deg, #d9b27a 0%, #b88a4e 60%, #a3793f 100%);
  box-shadow: 0 10px 20px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25); }
.vc-pallet .box::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.18); }
.vc-pallet .label { position: absolute; left: 8px; top: 7px; width: 30px; height: 22px; background: #fff; border-radius: 2px; padding: 3px; box-shadow: 0 1px 2px rgba(0,0,0,0.3); display: flex; flex-direction: column; gap: 2px; }
.vc-pallet .label .bars { height: 10px; background-image: repeating-linear-gradient(90deg, #111 0 1.5px, transparent 1.5px 3px); }
.vc-pallet .label .ai { height: 3px; width: 70%; background: var(--brand-700); border-radius: 1px; }
.vc-pallet .skid { width: 64px; height: 9px; margin-top: 2px; border-radius: 2px; background: repeating-linear-gradient(90deg, #6b4f2a 0 10px, #4f3a1e 10px 14px); box-shadow: 0 6px 12px rgba(0,0,0,0.4); }

/* the truck */
.vc-truck { position: absolute; right: 4%; top: 60%; transform: translateY(-100%); z-index: 3; width: 150px; }
.vc-truck .body { position: relative; height: 92px; }
.vc-truck .trailer { position: absolute; left: 0; bottom: 14px; width: 104px; height: 74px; border-radius: 6px 8px 8px 6px; background: linear-gradient(180deg, #f4f4ef, #d7dad2); box-shadow: 0 10px 20px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.6); border: 1px solid rgba(0,0,0,0.1); }
.vc-truck .trailer::after { content: ''; position: absolute; right: 6px; top: 10px; bottom: 10px; width: 2px; background: rgba(0,0,0,0.12); }
.vc-truck .cab { position: absolute; right: 0; bottom: 14px; width: 48px; height: 56px; border-radius: 6px 10px 6px 6px; background: linear-gradient(180deg, #3a4a26, #222f15); box-shadow: 0 8px 16px rgba(0,0,0,0.4); }
.vc-truck .cab::after { content: ''; position: absolute; right: 7px; top: 9px; width: 22px; height: 18px; border-radius: 3px; background: rgba(165,210,105,0.45); }
.vc-truck .wheel { position: absolute; bottom: 0; width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #444 0 40%, #1a1a1a 42%); box-shadow: 0 4px 8px rgba(0,0,0,0.5); }
.vc-truck .wheel.w1 { left: 16px; } .vc-truck .wheel.w2 { left: 64px; } .vc-truck .wheel.w3 { right: 8px; }
/* status light over the truck */
.vc-truck .status { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: var(--radius-full); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); font: 600 10px var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); white-space: nowrap; }
.vc-truck .status .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); }

/* legend under scene */
.vc-flow-legend { display: flex; flex-wrap: wrap; gap: var(--space-5); justify-content: center; margin-top: var(--space-5); font-size: 13px; color: var(--ink-500); }
.vc-flow-legend span { display: inline-flex; align-items: center; gap: 8px; }
.vc-flow-legend .k { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.vc-flow-legend .k.green { background: var(--brand-500); }
.vc-flow-legend .k.amber { background: #d9b27a; }
.vc-flow-legend .k.line { background: rgba(140,198,62,0.5); }

/* ===== animation timeline (single 7s loop, phases aligned) ===== */
.vc-flow-scene[data-anim="on"] .vc-pallet { animation: vc-pallet-move 7s var(--ease-in-out, ease-in-out) infinite; }
.vc-flow-scene[data-anim="on"] .vc-beam .line { animation: vc-beam-sweep 7s linear infinite; }
.vc-flow-scene[data-anim="on"] .vc-beam .glow { animation: vc-beam-glow 7s linear infinite; }
.vc-flow-scene[data-anim="on"] .vc-validate { animation: vc-validate-pop 7s ease-out infinite; }
.vc-flow-scene[data-anim="on"] .vc-truck .status { animation: vc-status-on 7s linear infinite; }
.vc-flow-scene[data-anim="on"] .vc-truck .status .dot { animation: vc-dot-on 7s linear infinite; }

@keyframes vc-pallet-move {
  0%   { left: 6%;  opacity: 0; }
  5%   { opacity: 1; }
  38%  { left: 50%; }
  54%  { left: 50%; }   /* dwell under gate */
  84%  { left: 86%; opacity: 1; }
  90%  { left: 86%; opacity: 0; } /* loaded into trailer */
  100% { left: 86%; opacity: 0; }
}
@keyframes vc-beam-sweep {
  0%, 39%  { opacity: 0; top: 12px; }
  41%      { opacity: 1; top: 12px; }
  52%      { opacity: 1; top: 150px; }
  54%      { opacity: 0; top: 150px; }
  100%     { opacity: 0; top: 12px; }
}
@keyframes vc-beam-glow {
  0%, 39% { opacity: 0; }
  42%     { opacity: 1; }
  53%     { opacity: 1; }
  56%     { opacity: 0; }
  100%    { opacity: 0; }
}
@keyframes vc-validate-pop {
  0%, 53%  { opacity: 0; transform: translate(-50%, -42%) scale(0.94); }
  58%      { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  84%      { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  90%      { opacity: 0; transform: translate(-50%, -50%) scale(1); }
  100%     { opacity: 0; }
}
@keyframes vc-status-on {
  0%, 55% { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); }
  60%     { color: var(--brand-on-dark); border-color: rgba(140,198,62,0.55); background: rgba(140,198,62,0.12); }
  100%    { color: var(--brand-on-dark); border-color: rgba(140,198,62,0.55); background: rgba(140,198,62,0.12); }
}
@keyframes vc-dot-on {
  0%, 55% { background: rgba(255,255,255,0.25); box-shadow: none; }
  60%     { background: var(--brand-500); box-shadow: 0 0 12px var(--brand-500); }
  100%    { background: var(--brand-500); box-shadow: 0 0 12px var(--brand-500); }
}

/* static fallback (anim off / reduced motion): show validated end-state */
.vc-flow-scene[data-anim="off"] .vc-pallet { left: 50%; }
.vc-flow-scene[data-anim="off"] .vc-validate { opacity: 1; }
.vc-flow-scene[data-anim="off"] .vc-truck .status { color: var(--brand-on-dark); border-color: rgba(140,198,62,0.55); background: rgba(140,198,62,0.12); }
.vc-flow-scene[data-anim="off"] .vc-truck .status .dot { background: var(--brand-500); box-shadow: 0 0 12px var(--brand-500); }
.vc-flow-scene[data-anim="off"] .vc-lane::before { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .vc-flow-scene .vc-pallet,
  .vc-flow-scene .vc-beam .line,
  .vc-flow-scene .vc-beam .glow,
  .vc-flow-scene .vc-validate,
  .vc-flow-scene .vc-truck .status,
  .vc-flow-scene .vc-truck .status .dot,
  .vc-lane::before { animation: none !important; }
  .vc-flow-scene .vc-pallet { left: 50%; }
  .vc-flow-scene .vc-validate { opacity: 1; }
}

/* ============ CRM embed (Clientify) — montado oculto fuera de pantalla ============
   El superform real se rellena y envía por código (crm-bridge.js). Lo mantenemos
   renderizado (no display:none) para que Angular calcule y valide, pero invisible. */
#vc-crm-embed,
#vc-crm-frame,
[id^="APP-EMBED"],
iframe.commonembedclientify,
iframe.form_embed_clientify_embed_form,
iframe[id^="simpleembed-iframe"] {
  position: fixed !important;
  left: -100000px !important;
  top: 0 !important;
  width: 520px !important;
  height: 720px !important;
  max-width: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* ============ MARCAS — franja de distribución (Datalogic principal) ============ */
.si-btn:disabled { opacity: 0.6; cursor: default; transform: none !important; box-shadow: var(--shadow-xs) !important; }
.vc-marcas { background: var(--bg); padding: var(--space-6) 0; border-bottom: 1px solid var(--border); }
.vc-marcas-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.vc-marcas-label { font: 500 12px var(--font-body); color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; max-width: 34ch; }
.vc-marcas-list { display: inline-flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; }
.vc-marca { font: 600 18px var(--font-display); letter-spacing: 0.02em; color: var(--ink-500); display: inline-flex; align-items: baseline; gap: 8px; }
.vc-marca--lead { font-size: 24px; color: var(--brand-800); letter-spacing: 0; }
.vc-marca--lead small { font: 700 9.5px var(--font-mono); letter-spacing: 0.10em; text-transform: uppercase; color: var(--brand-700); background: var(--brand-100); padding: 3px 7px; border-radius: var(--radius-full); }
@media (max-width: 760px) { .vc-marcas-inner { flex-direction: column; align-items: flex-start; gap: var(--space-4); } }

/* ============ CASO — sector alimentación (anonimizado) ============ */
.vc-caso { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: var(--space-6); align-items: stretch; background: linear-gradient(135deg, var(--brand-50) 0%, #fff 60%); border: 1px solid var(--brand-200); border-radius: var(--radius-xl); padding: var(--space-7); box-shadow: var(--shadow-sm); }
@media (max-width: 920px) { .vc-caso { grid-template-columns: 1fr; gap: var(--space-5); } }
.vc-caso-tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: var(--radius-full); background: var(--brand-100); color: var(--brand-800); font: 600 11px var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-4); }
.vc-caso-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 8px var(--brand-500); }
.vc-caso-body h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; line-height: 1.12; color: var(--brand-900); margin-bottom: var(--space-4); text-wrap: balance; }
.vc-caso-body h2 em { font-style: normal; color: var(--brand-700); }
.vc-caso-body > p { font-size: 16.5px; line-height: 1.6; color: var(--ink-700); margin-bottom: var(--space-4); max-width: 60ch; }
.vc-caso-points { list-style: none; padding: 0; margin: 0 0 var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.vc-caso-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--ink-700); }
.vc-caso-points .ck { width: 24px; height: 24px; flex: none; border-radius: 7px; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-800); margin-top: 1px; }
.vc-caso-foot { font-size: 14px; color: var(--ink-500); font-style: italic; padding-top: var(--space-4); border-top: 1px solid var(--brand-200); margin: 0; }
.vc-caso-aside { display: flex; flex-direction: column; gap: var(--space-3); }
.vc-caso-stat { background: var(--ink-950); color: #fff; border-radius: var(--radius-lg); padding: var(--space-5); flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.vc-caso-stat::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 300px 200px at 100% 0%, rgba(140,198,62,0.20) 0%, transparent 62%); pointer-events: none; }
.vc-caso-stat .big { font: 600 clamp(1.5rem, 2.4vw, 2rem) / 1 var(--font-display); letter-spacing: -0.025em; color: #fff; margin-bottom: 6px; position: relative; }
.vc-caso-stat .big em { font-style: normal; color: var(--brand-on-dark); }
.vc-caso-stat .lbl { font: 500 12.5px var(--font-body); color: rgba(255,255,255,0.6); line-height: 1.4; position: relative; }

/* ============ CTA cierre (banda dark) ============ */
.vc-cta-band { text-align: center; max-width: 760px; margin: 0 auto; }
.si-contact-side .val a { color: inherit; text-decoration: none; transition: color 180ms var(--ease-out); }
.si-contact-side .val a:hover { color: var(--brand-on-dark); }
.vc-cta-band h2 { font-size: var(--text-h2); letter-spacing: -0.02em; color: #fff; text-wrap: balance; }
.vc-cta-band h2 em { font-style: normal; color: var(--brand-on-dark); }
.vc-cta-band p { font-size: 18px; color: rgba(255,255,255,0.7); margin: var(--space-4) auto var(--space-6); max-width: 56ch; }
.vc-cta-actions { display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }

/* ── WhatsApp: burbuja flotante (patrón APLEX) + badge AIDC del footer ── */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,0.4); transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(37,211,102,0.55); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.si-footer-badge { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 9999px; border: 1px solid rgba(255,255,255,0.16); color: rgba(255,255,255,0.7); font: 600 11.5px var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.si-footer { padding-bottom: 96px; } /* hueco para que la burbuja .wa-float no tape el badge/legal */

/* ════════ FIX RESPONSIVE MÓVIL (06-jul-2026) ════════ */
/* El bloque de pasos (#como-funciona .si-steps) lleva un style inline
   grid-template-columns:repeat(3,1fr) que pisaba el colapso a 1 columna de la
   base (styles.css @880px) → causaba SCROLL HORIZONTAL en móvil (y las tarjetas
   quedaban estrechas con el texto desproporcionado). Un !important en la media
   query gana al style inline (que no lleva !important) y lo colapsa a 1 columna. */
@media (max-width: 880px) {
  #como-funciona .si-steps { grid-template-columns: 1fr !important; }
}
/* Botón CTA largo ("Solicitar demostración en mi muelle"): .si-btn lleva
   white-space:nowrap → el texto se salía del botón (y el hero lo recorta con
   overflow:hidden). En móvil dejamos que el texto se ajuste a 2 líneas. */
@media (max-width: 640px) {
  .si-btn { white-space: normal; text-align: center; max-width: 100%; }
}
/* Infografía de flujo del palé (.vc-flow-scene): los elementos van con left/right
   en % pero ANCHO EN PX FIJO → al estrecharse el móvil, el escáner/palé (centro)
   y el camión (derecha) se amontonaban. Reducimos tamaños y pegamos el camión al
   borde para dejar holgura (sin solape hasta ~320px de ancho). */
@media (max-width: 600px) {
  .vc-gate   { width: 88px; height: 116px; }
  .vc-beam   { width: 58px; }
  .vc-truck  { width: 96px; right: 2%; }
  .vc-pallet { width: 44px; }
}
