/* =========================================================
   All Safe de Colombia — sitio corporativo
   Colores tomados del logo: verde azulado (#085562), turquesa
   de "ALL" y el ámbar del botón principal de SafetyHome Pro.
   ========================================================= */

:root {
  --tinta: #071a24;
  --tinta-2: #0b2633;
  --tinta-3: #12364a;
  --marca: #085562;
  --marca-2: #0e7383;
  --turquesa: #3fb8cb;
  --turquesa-2: #7fdceb;
  --ambar: #f5a524;
  --ambar-2: #ffbb45;
  --oro: #b4a76c;

  --fondo: #ffffff;
  --fondo-suave: #f3f7f9;
  --texto: #0d1c25;
  --texto-2: #4b5d68;
  --texto-3: #74858f;
  --borde: #dde6eb;

  --c-home: #f5a524;
  --c-solutions: #2bb3c6;
  --c-sale: #ef6a4c;
  --c-risk: #8b7cf6;

  --radio: 18px;
  --radio-sm: 12px;
  --sombra: 0 24px 60px -24px rgba(7, 26, 36, .38);
  --sombra-sm: 0 10px 30px -14px rgba(7, 26, 36, .3);
  --fuente-titulo: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --fuente: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --alto-encabezado: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--alto-encabezado) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--fuente-titulo); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ico .relleno, .ico-relleno { fill: currentColor; stroke: none; }
.ico-sm { width: 17px; height: 17px; }
.ico-xs { width: 13px; height: 13px; }

.contenedor { width: min(1200px, 100% - 40px); margin-inline: auto; }

.saltar { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ambar); color: var(--tinta); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.saltar:focus { left: 12px; }

:focus-visible { outline: 3px solid var(--turquesa); outline-offset: 3px; border-radius: 6px; }

/* ---------- botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.boton:hover { transform: translateY(-2px); }
.boton-grande { padding: 15px 26px; font-size: 16.5px; }
.boton-ambar { background: var(--ambar); color: #1a1205; box-shadow: 0 12px 30px -12px rgba(245, 165, 36, .7); }
.boton-ambar:hover { background: var(--ambar-2); box-shadow: 0 16px 36px -12px rgba(245, 165, 36, .8); }
.boton-vidrio { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.boton-vidrio:hover { background: rgba(255, 255, 255, .16); }
.boton-oscuro { background: var(--tinta-2); color: #fff; }
.boton-oscuro:hover { background: var(--marca); box-shadow: var(--sombra-sm); }
.boton-borde { background: transparent; color: var(--tinta-2); border-color: var(--borde); }
.boton-borde:hover { border-color: var(--tinta-2); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- textos de sección ---------- */
.antetitulo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--marca-2); margin-bottom: 14px;
}
.antetitulo::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.antetitulo-claro { color: var(--turquesa-2); }
.antetitulo .pulso + * { margin: 0; }
.portada .antetitulo::before { display: none; }
.lead { font-size: 1.14rem; color: var(--texto-2); }
.seccion { padding: clamp(72px, 9vw, 120px) 0; position: relative; }
.seccion-suave { background: var(--fondo-suave); }
.seccion-oscura { background: radial-gradient(1200px 500px at 80% 0%, rgba(63, 184, 203, .14), transparent 60%), var(--tinta-2); color: #fff; }
.seccion-tinta { background: radial-gradient(900px 600px at 10% 10%, rgba(14, 115, 131, .35), transparent 60%), var(--tinta); color: #fff; overflow: hidden; }
.seccion-cabeza { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.seccion-cabeza h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 18px; }
.seccion-cabeza-clara .lead { color: rgba(255, 255, 255, .72); }
.seccion-cabeza-izq { text-align: left; margin: 0; }

/* ---------- encabezado ---------- */
.encabezado {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--alto-encabezado);
  border-bottom: 1px solid rgba(13, 28, 37, .06);
  transition: box-shadow .3s ease, height .3s ease;
}
/* El desenfoque va en una capa aparte: con backdrop-filter en el propio encabezado,
   el menú del celular (position: fixed) quedaría atado al encabezado y no a la pantalla. */
.encabezado::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.encabezado.con-sombra { box-shadow: 0 10px 30px -18px rgba(7, 26, 36, .35); }
.encabezado-fila { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.marca img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.boton), .nav-acceso-boton {
  white-space: nowrap; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--texto-2);
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  transition: color .2s, background .2s;
}
.nav > a:not(.boton):hover, .nav-acceso-boton:hover, .nav > a.activo { color: var(--tinta); background: var(--fondo-suave); }
.nav-cta { margin-left: 8px; padding: 10px 18px; font-size: 15px; }
.nav-acceso { position: relative; }
.nav-acceso-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 260px; padding: 8px;
  background: #fff; border: 1px solid var(--borde); border-radius: 16px; box-shadow: var(--sombra);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s ease;
}
.nav-acceso.abierto .nav-acceso-menu { opacity: 1; visibility: visible; transform: none; }
.nav-acceso.abierto .nav-acceso-boton .ico { transform: rotate(180deg); }
.nav-acceso-boton .ico { transition: transform .2s; }
.nav-acceso-menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.nav-acceso-menu a:hover { background: var(--fondo-suave); }
.nav-acceso-menu b { display: block; font-size: 15px; }
.nav-acceso-menu small { color: var(--texto-3); font-size: 13px; }
.punto { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.punto-solutions { background: var(--c-solutions); box-shadow: 0 0 0 4px rgba(43, 179, 198, .18); }
.punto-risk { background: var(--c-risk); box-shadow: 0 0 0 4px rgba(139, 124, 246, .18); }
.punto-soporte { background: var(--ambar); box-shadow: 0 0 0 4px rgba(245, 165, 36, .2); }
.nav-hamburguesa { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--tinta); }

/* ---------- portada ---------- */
.portada {
  position: relative; min-height: 100vh; padding: calc(var(--alto-encabezado) + clamp(40px, 7vw, 90px)) 0 0;
  background: radial-gradient(1000px 600px at 75% 30%, rgba(14, 115, 131, .55), transparent 65%),
              radial-gradient(800px 500px at 0% 100%, rgba(8, 85, 98, .5), transparent 60%),
              linear-gradient(180deg, #06161f 0%, var(--tinta) 100%);
  color: #fff; overflow: hidden; display: flex; flex-direction: column;
}
.portada-red { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.portada-brillo {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(127, 220, 235, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 220, 235, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.portada-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; flex: 1; padding-bottom: 72px; }
.portada h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 22px; }
.degradado { background: linear-gradient(100deg, var(--turquesa-2), var(--turquesa) 45%, var(--ambar)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.portada-lead { font-size: clamp(17px, 1.6vw, 19.5px); color: rgba(255, 255, 255, .78); max-width: 600px; margin-bottom: 32px; }
.portada-acciones { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.portada-sellos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.portada-sellos li { display: flex; align-items: center; gap: 8px; }
.portada-sellos .ico { color: var(--turquesa-2); width: 18px; height: 18px; }

.pulso { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--ambar); display: inline-block; flex: none; }
.pulso::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid currentColor; color: var(--ambar); animation: pulso 1.8s ease-out infinite; }
.pulso-verde { background: #22c55e; }
.pulso-verde::after { color: #22c55e; }
@keyframes pulso { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* monitor de eventos */
.monitor {
  position: relative; border-radius: 22px; padding: 18px;
  background: linear-gradient(180deg, rgba(18, 54, 74, .72), rgba(7, 26, 36, .78));
  border: 1px solid rgba(127, 220, 235, .2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
}
.monitor::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(127, 220, 235, .6), transparent 40%, transparent 60%, rgba(245, 165, 36, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.monitor-cabeza { display: flex; align-items: center; gap: 12px; padding: 4px 6px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.monitor-vivo { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 999px; background: rgba(34, 197, 94, .14); color: #86efac; font-weight: 600; font-size: 12.5px; }
.monitor-titulo { color: rgba(255, 255, 255, .7); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.monitor-hora { font-variant-numeric: tabular-nums; color: var(--turquesa-2); font-weight: 600; }
.monitor-lista { list-style: none; margin: 0; padding: 12px 0 4px; height: 336px; overflow: hidden; position: relative; }
.monitor-lista::after { content: ""; position: absolute; inset: auto 0 0; height: 60px; background: linear-gradient(transparent, rgba(7, 26, 36, .95)); pointer-events: none; }
.evento {
  display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center;
  padding: 10px; border-radius: 14px; margin-bottom: 8px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05);
  animation: entra-evento .55s cubic-bezier(.2, .8, .2, 1) both;
}
.evento.nuevo { background: rgba(63, 184, 203, .12); border-color: rgba(127, 220, 235, .3); }
.evento-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--c, rgba(63, 184, 203, .18)); color: var(--ci, var(--turquesa-2)); }
.evento-ico .ico { width: 20px; height: 20px; }
.evento div b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.evento div span { display: block; font-size: 12.8px; color: rgba(255, 255, 255, .62); line-height: 1.35; }
.evento time { font-size: 12px; color: rgba(255, 255, 255, .5); font-variant-numeric: tabular-nums; }
@keyframes entra-evento { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
.monitor-pie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.monitor-pie div { text-align: center; }
.monitor-pie b { display: block; font-family: var(--fuente-titulo); font-size: 22px; font-variant-numeric: tabular-nums; }
.monitor-pie span { font-size: 12px; color: rgba(255, 255, 255, .55); }

/* cinta de tecnologías */
.cinta { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(7, 26, 36, .6); overflow: hidden; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta-pista { display: flex; gap: 12px; width: max-content; animation: cinta 45s linear infinite; }
.cinta:hover .cinta-pista { animation-play-state: paused; }
.cinta-pista span { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(127, 220, 235, .22); color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 500; white-space: nowrap; background: rgba(255, 255, 255, .03); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- empresa ---------- */
.empresa-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.empresa-media { position: relative; padding: 0 0 40px 0; }
.empresa-foto { margin: 0; border-radius: 26px; overflow: hidden; box-shadow: var(--sombra); aspect-ratio: 4 / 4.6; position: relative; }
.empresa-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s ease; }
.empresa-media.visible .empresa-foto img { transform: scale(1); }
.empresa-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 26, 36, .45)); }
.empresa-flotante { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--sombra); padding: 16px 18px; display: flex; align-items: center; gap: 14px; animation: flotar 6s ease-in-out infinite; }
.empresa-flotante-1 { left: -24px; bottom: 0; max-width: 250px; }
.empresa-flotante-1 b { font-family: var(--fuente-titulo); font-size: 44px; line-height: 1; color: var(--marca); }
.empresa-flotante-1 > span { font-size: 14px; color: var(--texto-2); line-height: 1.35; }
.empresa-flotante-2 { right: -18px; top: 28px; font-weight: 600; font-size: 14.5px; line-height: 1.3; animation-delay: -3s; }
.empresa-flotante-2 .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(245, 165, 36, .15); color: #b26b00; }
@keyframes flotar { 50% { transform: translateY(-10px); } }
.empresa-texto h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.empresa-texto > p:not(.antetitulo):not(.lead) { color: var(--texto-2); }
.valores { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.valor { padding: 20px; border-radius: var(--radio); border: 1px solid var(--borde); background: #fff; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.valor:hover { transform: translateY(-4px); box-shadow: var(--sombra-sm); border-color: transparent; }
.valor h3 { font-size: 17px; margin: 12px 0 6px; }
.valor p { font-size: 14.5px; color: var(--texto-2); margin: 0; line-height: 1.55; }
.valor-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--marca-2); background: linear-gradient(135deg, rgba(63, 184, 203, .2), rgba(63, 184, 203, .06)); }

.cifras { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(56px, 7vw, 88px) 0 0; border-radius: 24px; overflow: hidden; background: var(--tinta-2); color: #fff; box-shadow: var(--sombra); }
.cifras div { padding: 30px 24px; text-align: center; position: relative; }
.cifras div + div::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: rgba(255, 255, 255, .12); }
.cifras dt { font-family: var(--fuente-titulo); font-weight: 800; font-size: clamp(34px, 4vw, 48px); line-height: 1; background: linear-gradient(120deg, #fff, var(--turquesa-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.cifras dd { margin: 10px 0 0; color: rgba(255, 255, 255, .66); font-size: 14.5px; }

/* ---------- soluciones ---------- */
.productos-resumen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: clamp(64px, 8vw, 110px); }
.producto-tarjeta {
  position: relative; padding: 26px 22px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--borde);
  text-decoration: none; display: flex; flex-direction: column; gap: 8px; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.producto-tarjeta::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--acento); transform: scaleX(.25); transform-origin: left; transition: transform .35s ease; }
.producto-tarjeta:hover { transform: translateY(-6px); box-shadow: var(--sombra); border-color: transparent; }
.producto-tarjeta:hover::before { transform: scaleX(1); }
.producto-tarjeta h3 { font-size: 20px; margin-top: 8px; }
.producto-tarjeta p { color: var(--texto-2); font-size: 14.8px; margin: 0; flex: 1; line-height: 1.55; }
.producto-insignia { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: var(--acento); box-shadow: 0 12px 24px -12px var(--acento); }
.producto-insignia .ico { width: 26px; height: 26px; }
.producto-mas { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--tinta-2); }
.producto-tarjeta:hover .producto-mas .ico { transform: translateX(4px); }
.producto-mas .ico { transition: transform .25s; }

.producto { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 6vw, 80px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; }
.producto + .producto { border-top: 1px solid var(--borde); }
.producto-invertido { grid-template-columns: 1.08fr .92fr; }
.producto-invertido .producto-texto { order: 2; }
.producto-etiqueta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--acento) 70%, #000); background: color-mix(in srgb, var(--acento) 14%, #fff); margin-bottom: 16px; }
.producto-nombre { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.producto-lema { font-family: var(--fuente-titulo); font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: color-mix(in srgb, var(--acento) 60%, var(--tinta)); margin: 6px 0 16px; }
.producto-texto > p:not(.producto-etiqueta):not(.producto-lema) { color: var(--texto-2); }
.lista-check { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.lista-check li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15.5px; line-height: 1.5; }
.lista-check .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: var(--acento); stroke-width: 3; margin-top: 1px; }
.chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--borde); font-size: 13px; font-weight: 500; color: var(--texto-2); background: #fff; }
.producto-visual { position: relative; perspective: 1400px; }
/* Las maquetas tienen tablas que no parten líneas: sin esto ensancharían la columna en el celular. */
.portada-grid > *, .empresa-grid > *, .producto > *, .preguntas-grid > *, .contacto-grid > * { min-width: 0; }

/* ventana genérica */
.ventana { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgba(7, 26, 36, .55), 0 0 0 1px rgba(7, 26, 36, .08); font-family: "Segoe UI", var(--fuente); transform: rotateY(-6deg) rotateX(3deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.producto-invertido .ventana { transform: rotateY(6deg) rotateX(3deg); }
.producto-visual:hover .ventana { transform: none; }
.ventana-barra { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; background: #eef2f5; border-bottom: 1px solid #dfe6ea; font-size: 12px; color: #55636c; }
.ventana-barra img { width: 16px; height: 16px; border-radius: 50%; }
.ventana-barra span { flex: 1; }
.win-btn { width: 26px; height: 14px; border-radius: 3px; background: #dde4e8; }
.win-cerrar { background: #e9b2b2; }
.ventana-barra-nav .dot { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.ventana-barra-nav .dot:nth-child(2) { background: #fbbf24; }
.ventana-barra-nav .dot:nth-child(3) { background: #34d399; }
.ventana-barra-nav .url { flex: 1; max-width: 340px; margin: 0 auto; height: 22px; border-radius: 6px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; color: #55636c; border: 1px solid #e1e8ec; white-space: nowrap; overflow: hidden; }
.ventana-barra-oscura { background: #0d2230; border-color: #183444; }
.ventana-barra-oscura .url { background: #071a24; border-color: #1c3a4b; color: #9fb6c2; }

/* SafetyHome Pro */
.shp { font-size: 12px; color: #1a2731; }
.shp-cabecera { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #0b2a45; color: #fff; }
.shp-logo { width: 34px; height: 34px; border-radius: 50%; }
.shp-conjunto { flex: 1; min-width: 0; }
.shp-conjunto b { display: block; font-size: 14.5px; }
.shp-conjunto small { color: #f5b041; font-size: 11.5px; }
.shp-reloj { text-align: right; }
.shp-reloj b { display: block; font-size: 12px; font-variant-numeric: tabular-nums; }
.shp-reloj small { color: #a9bccb; font-size: 10.5px; }
.shp-cuerpo { display: grid; grid-template-columns: 148px 1fr; min-height: 318px; }
.shp-menu { list-style: none; margin: 0; padding: 8px 6px; background: #0b2a45; }
.shp-menu li { display: flex; align-items: center; gap: 8px; padding: 4px 6px; border-radius: 6px; color: #e3ecf2; font-size: 11.5px; white-space: nowrap; }
.shp-menu li img { width: 20px; height: 20px; }
.shp-menu li.activo { background: rgba(245, 165, 36, .2); color: #fff; box-shadow: inset 3px 0 0 #f5a524; }
.shp-principal { padding: 12px; background: #f4f7f9; position: relative; overflow: hidden; }
.shp-herramientas { display: flex; gap: 6px; margin-bottom: 10px; align-items: center; }
.shp-boton { padding: 5px 10px; border-radius: 4px; background: #dfe6ea; font-size: 11px; font-weight: 600; white-space: nowrap; }
.shp-boton-ambar { background: #f5a524; color: #1a1205; }
.shp-buscar { flex: 1; padding: 5px 8px; border-radius: 4px; background: #fff; border: 1px solid #d5dee3; color: #8a99a3; font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shp-tabla { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #d5dee3; font-size: 11px; }
.shp-tabla th { text-align: left; padding: 6px 8px; background: #e9eef1; font-weight: 600; color: #3b4a53; border-bottom: 1px solid #d5dee3; }
.shp-tabla td { padding: 6px 8px; border-bottom: 1px solid #eef2f4; white-space: nowrap; }
.shp-tabla tr.nueva td { animation: fila-nueva 7s ease-in-out infinite; }
@keyframes fila-nueva { 0%, 8% { background: #fff; } 14%, 40% { background: #d7f2f6; } 60%, 100% { background: #fff; } }
.et { display: inline-block; padding: 1px 7px; border-radius: 999px; font-size: 10px; font-weight: 600; background: #e5ebee; color: #46555e; }
.et-turquesa { background: #d1f0f5; color: #0b6575; }
.et-ambar { background: #fdecc8; color: #8a5300; }
.shp-aviso { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: #0b2a45; color: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); max-width: 290px; animation: aviso-shp 7s ease-in-out infinite; }
.shp-aviso img { width: 28px; height: 28px; }
.shp-aviso b { display: block; font-size: 11.5px; }
.shp-aviso span { font-size: 10.5px; color: #b9cad6; }
@keyframes aviso-shp { 0%, 8% { opacity: 0; transform: translateY(16px); } 14%, 48% { opacity: 1; transform: none; } 56%, 100% { opacity: 0; transform: translateY(16px); } }
.shp-estado { display: flex; gap: 16px; padding: 5px 12px; background: #e9eef1; border-top: 1px solid #d5dee3; font-size: 10.5px; color: #4e5d66; white-space: nowrap; overflow: hidden; }
.shp-version { margin-left: auto; }
.led { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 4px; box-shadow: 0 0 0 3px rgba(34, 197, 94, .18); }

/* SafetySolutions */
.ss { font-family: var(--fuente); margin-left: 96px; }
.ss-cuerpo { display: grid; grid-template-columns: 136px 1fr; min-height: 340px; }
.ss-menu { list-style: none; margin: 0; padding: 12px 8px; background: var(--tinta-2); color: #c5d6de; font-size: 12px; }
.ss-menu li { padding: 6px 10px; border-radius: 8px; }
.ss-menu li.activo { background: rgba(43, 179, 198, .2); color: #fff; }
.ss-menu-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 12.5px; margin-bottom: 8px; }
.ss-menu-logo img { width: 22px; height: 22px; border-radius: 50%; }
.ss-principal { padding: 16px 18px 18px; background: #f5f8fa; }
.ss-saludo { font-size: 14px; color: var(--texto-2); margin-bottom: 12px; }
.ss-saludo b { color: var(--texto); }
.ss-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.ss-kpi { background: #fff; border: 1px solid #e3eaee; border-radius: 10px; padding: 9px 10px; position: relative; overflow: hidden; }
.ss-kpi small { display: block; font-size: 10.5px; color: var(--texto-3); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-kpi b { font-family: var(--fuente-titulo); font-size: 22px; }
.ss-kpi i { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--v) * 100%); background: var(--c-solutions); border-radius: 0 3px 3px 0; }
.ss-panel { background: #fff; border: 1px solid #e3eaee; border-radius: 12px; padding: 10px 12px; }
.ss-panel-titulo { font-weight: 600; font-size: 12.5px; margin-bottom: 6px; }
.ss-visitas { list-style: none; margin: 0; padding: 0; font-size: 11.5px; }
.ss-visitas li { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; padding: 7px 0; border-top: 1px solid #eef2f4; }
.ss-visitas li:first-child { border-top: 0; }
.ins { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; white-space: nowrap; }
.ins-ok { background: #dcfce7; color: #166534; }
.ins-no { background: #fee2e2; color: #991b1b; }
.ins-espera { background: #fef3c7; color: #92400e; }
.ins-espera.autorizada { background: #dcfce7; color: #166534; }

.telefono { width: 210px; border-radius: 34px; background: #0b1218; padding: 10px; box-shadow: 0 40px 80px -30px rgba(7, 26, 36, .7), inset 0 0 0 2px #2a3640; position: relative; }
.telefono-notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 70px; height: 18px; border-radius: 12px; background: #0b1218; z-index: 2; }
.telefono-pantalla { border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #0e3a4a, #0a2533); min-height: 380px; padding: 40px 12px 16px; color: #fff; position: relative; }
.ss-telefono { position: absolute; left: -8px; bottom: -56px; transform: rotate(-4deg); }
.tel-hora { text-align: center; font-family: var(--fuente-titulo); font-size: 34px; font-weight: 700; margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.tel-notif { background: rgba(255, 255, 255, .92); color: #0d1c25; border-radius: 16px; padding: 10px 12px; font-size: 11.5px; line-height: 1.35; animation: notif 8s ease-in-out infinite; }
.tel-notif-app { display: flex; align-items: center; gap: 5px; color: #128c7e; font-size: 10.5px; font-weight: 600; margin-bottom: 3px; }
.tel-notif b { display: block; font-size: 12.5px; }
.tel-tarjeta { margin-top: 12px; background: #fff; color: #0d1c25; border-radius: 16px; padding: 14px 12px; text-align: center; animation: notif 8s ease-in-out infinite; animation-delay: .3s; }
.tel-avatar { width: 46px; height: 46px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c-solutions), var(--marca)); color: #fff; font-weight: 700; }
.tel-tarjeta b { display: block; font-size: 13.5px; }
.tel-tarjeta small { color: var(--texto-3); font-size: 11px; }
.tel-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.tel-botones span { padding: 7px 0; border-radius: 10px; font-size: 11.5px; font-weight: 600; }
.tel-si { background: #16a34a; color: #fff; animation: toque 8s ease-in-out infinite; }
.tel-no { background: #f1f5f9; color: #475569; }
.tel-resultado { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 10px 0 0; font-size: 11.5px; font-weight: 600; color: #16a34a; animation: resultado 8s ease-in-out infinite; }
@keyframes notif { 0%, 6% { opacity: 0; transform: translateY(-12px) scale(.96); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes toque { 0%, 40% { transform: none; box-shadow: none; } 44% { transform: scale(.92); box-shadow: 0 0 0 6px rgba(22, 163, 74, .25); } 50%, 100% { transform: none; box-shadow: none; } }
@keyframes resultado { 0%, 46% { opacity: 0; transform: translateY(6px); } 52%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* SafetySale */
.tableta { border-radius: 30px; background: #0b1218; padding: 14px; box-shadow: 0 50px 100px -40px rgba(7, 26, 36, .6), inset 0 0 0 2px #2a3640; transform: rotateY(-8deg) rotateX(4deg); transition: transform .8s cubic-bezier(.2, .8, .2, 1); margin-right: 104px; }
.producto-visual:hover .tableta { transform: none; }
.tableta-pantalla { border-radius: 18px; overflow: hidden; background: #fff; }
.sale { font-size: 12px; }
.sale-barra { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #2b1d1a; color: #fff; }
.sale-barra b { font-family: var(--fuente-titulo); font-size: 15px; }
.sale-barra span { color: #e8cfc9; font-size: 11.5px; }
.sale-mesero { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(239, 106, 76, .28); color: #fff !important; }
.sale-cuerpo { display: grid; grid-template-columns: 1fr 180px; min-height: 300px; }
.sale-catalogo { padding: 12px; background: #fbf7f5; }
.sale-categorias { display: flex; gap: 6px; margin-bottom: 10px; overflow: hidden; }
.sale-categorias span { padding: 5px 10px; border-radius: 999px; background: #fff; border: 1px solid #efe3df; font-size: 11px; font-weight: 600; color: #6b5550; white-space: nowrap; }
.sale-categorias .activo { background: var(--c-sale); border-color: var(--c-sale); color: #fff; }
.sale-productos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sale-producto { background: #fff; border: 1px solid #f0e6e2; border-radius: 12px; padding: 8px; text-align: center; }
.sale-producto i { display: block; height: 52px; border-radius: 9px; margin-bottom: 6px; background: radial-gradient(circle at 50% 60%, hsl(var(--h) 80% 62%) 0 26%, transparent 27%), radial-gradient(circle at 50% 50%, hsl(var(--h) 70% 88%), hsl(var(--h) 60% 94%)); }
.sale-producto b { display: block; font-size: 11.5px; }
.sale-producto small { color: var(--c-sale); font-weight: 600; font-size: 11px; }
.sale-pulso { animation: toque-producto 7s ease-in-out infinite; }
@keyframes toque-producto { 0%, 10% { transform: none; box-shadow: none; } 14% { transform: scale(.94); box-shadow: 0 0 0 5px rgba(239, 106, 76, .25); } 20%, 100% { transform: none; box-shadow: none; } }
.sale-pedido { padding: 12px; border-left: 1px solid #f0e6e2; display: flex; flex-direction: column; }
.sale-pedido-titulo { font-weight: 700; font-size: 12.5px; margin-bottom: 8px; }
.sale-pedido ul { list-style: none; margin: 0; padding: 0; flex: 1; }
.sale-pedido li { display: grid; grid-template-columns: 1fr auto; gap: 2px 6px; padding: 7px 0; border-bottom: 1px dashed #eadfdb; font-size: 11px; }
.sale-pedido li small { grid-column: 1 / -1; color: var(--texto-3); font-size: 10px; }
.sale-nuevo { animation: item-nuevo 7s ease-in-out infinite; }
@keyframes item-nuevo { 0%, 16% { opacity: 0; transform: translateX(14px); background: transparent; } 22%, 40% { opacity: 1; transform: none; background: #fdebe6; } 55%, 92% { opacity: 1; background: transparent; } 100% { opacity: 0; } }
.sale-total { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 0; font-size: 12px; }
.sale-total b { font-family: var(--fuente-titulo); font-size: 18px; }
.sale-enviar { display: block; text-align: center; padding: 9px; border-radius: 10px; background: var(--c-sale); color: #fff; font-weight: 700; font-size: 12px; animation: toque-enviar 7s ease-in-out infinite; }
@keyframes toque-enviar { 0%, 50% { transform: none; } 54% { transform: scale(.94); } 58%, 100% { transform: none; } }
.comanda { position: absolute; right: -18px; bottom: -44px; width: 170px; filter: drop-shadow(0 24px 30px rgba(7, 26, 36, .35)); }
.comanda-impresora { display: flex; align-items: center; gap: 6px; justify-content: center; padding: 10px; border-radius: 14px 14px 6px 6px; background: #1f2a33; color: #e2e8ec; font-size: 12px; font-weight: 600; position: relative; z-index: 2; }
.comanda-impresora .ico { width: 18px; height: 18px; color: var(--c-sale); }
.comanda-papel { margin: -4px 12px 0; padding: 12px 12px 16px; background: #fff; font-family: "Consolas", "Courier New", monospace; font-size: 11px; line-height: 1.45; display: flex; flex-direction: column; transform-origin: top; animation: imprime 7s ease-in-out infinite; clip-path: polygon(0 0, 100% 0, 100% 96%, 92% 100%, 84% 96%, 76% 100%, 68% 96%, 60% 100%, 52% 96%, 44% 100%, 36% 96%, 28% 100%, 20% 96%, 12% 100%, 4% 96%, 0 100%); }
.comanda-papel hr { border: 0; border-top: 1px dashed #999; width: 100%; margin: 6px 0; }
.comanda-papel small { color: #666; }
@keyframes imprime { 0%, 56% { transform: scaleY(0); opacity: 0; } 58% { opacity: 1; } 72%, 94% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* SafetyRisk */
.sr { background: #0a1c27; color: #e4edf2; font-family: var(--fuente); }
.sr-cuerpo { padding: 14px; }
.sr-cabeza { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 12px; }
.sr-cabeza b { font-family: var(--fuente-titulo); font-size: 15px; color: #fff; }
.sr-cabeza span { color: #8fa6b3; }
.sr-rol { margin-left: auto; padding: 3px 10px; border-radius: 999px; background: rgba(139, 124, 246, .2); color: #c9c1ff !important; white-space: nowrap; }
.sr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-tarjeta { background: #0f2633; border: 1px solid #1a3646; border-radius: 12px; padding: 10px 12px; }
.sr-tarjeta small { display: block; color: #8fa6b3; font-size: 10.5px; margin-bottom: 6px; }
.sr-medidor { text-align: center; }
.sr-arco { width: 100%; max-width: 190px; margin: 0 auto; display: block; }
.sr-aguja { transform-origin: 100px 105px; animation: aguja 6s ease-in-out infinite; }
@keyframes aguja { 0% { transform: rotate(-80deg); } 30%, 80% { transform: rotate(8deg); } 55% { transform: rotate(-4deg); } 100% { transform: rotate(-80deg); } }
.sr-nivel { display: inline-block; margin-top: -6px; padding: 2px 12px; border-radius: 999px; background: rgba(251, 191, 36, .16); color: #fcd34d; font-size: 12px; }
.sr-celdas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.sr-celdas i { aspect-ratio: 1.6; border-radius: 4px; animation: celda 6s ease-in-out infinite; }
.sr-celdas i:nth-child(odd) { animation-delay: .3s; }
.sr-celdas i:nth-child(3n) { animation-delay: .6s; }
.sr-celdas .n0 { background: #14532d; }
.sr-celdas .n1 { background: #16a34a; }
.sr-celdas .n2 { background: #eab308; }
.sr-celdas .n3 { background: #f97316; }
.sr-celdas .n4 { background: #dc2626; }
@keyframes celda { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
.sr-zonas ul { list-style: none; margin: 0; padding: 0; font-size: 11.5px; }
.sr-zonas li { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-top: 1px solid #1a3646; }
.sr-zonas li:first-child { border-top: 0; }
.nv { font-style: normal; font-size: 10px; font-weight: 600; padding: 1px 8px; border-radius: 999px; }
.nv-bajo { background: rgba(52, 211, 153, .16); color: #6ee7b7; }
.nv-medio { background: rgba(251, 191, 36, .16); color: #fcd34d; }
.nv-alto { background: rgba(248, 113, 113, .18); color: #fca5a5; }
.sr-tendencia svg { width: 100%; height: 86px; display: block; }
.sr-linea { fill: none; stroke: var(--c-risk); stroke-width: 2.5; stroke-dasharray: 520; stroke-dashoffset: 520; animation: trazo 6s ease-in-out infinite; vector-effect: non-scaling-stroke; }
.sr-area { fill: rgba(139, 124, 246, .16); }
@keyframes trazo { 0% { stroke-dashoffset: 520; } 45%, 100% { stroke-dashoffset: 0; } }

/* ---------- reproductor ---------- */
.reproductor { max-width: 1020px; margin: 0 auto; }
.escenario-marco { position: relative; }
.escenario {
  position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden;
  background: radial-gradient(700px 400px at 50% 30%, rgba(63, 184, 203, .18), transparent 70%), linear-gradient(180deg, #0d2c3c, #071a24);
  border: 1px solid rgba(127, 220, 235, .18); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8);
}
/* El lienzo se dibuja a 960 × 540 y se escala entero (JS pone --escala), como un video. */
.lienzo { position: absolute; left: 0; top: 0; width: 960px; height: 540px; transform: scale(var(--escala, 1)); transform-origin: 0 0; }
.escena { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.escena.activa { opacity: 1; }
.escena > svg { width: 100%; height: 100%; display: block; }
.reproductor.pausado .escena *, .reproductor.fuera .escena * { animation-play-state: paused !important; }
.escena-subtitulo { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 40px); margin: 0; padding: 10px 20px; border-radius: 999px; background: rgba(7, 26, 36, .78); border: 1px solid rgba(127, 220, 235, .2); color: #fff; font-weight: 600; font-size: clamp(13px, 1.6vw, 17px); text-align: center; backdrop-filter: blur(8px); }
.escena-progreso { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .08); }
.escena-progreso i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--turquesa), var(--ambar)); }

.reproductor-controles { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.reproductor-play { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--ambar); color: #1a1205; display: grid; place-items: center; cursor: pointer; flex: none; box-shadow: 0 10px 24px -10px rgba(245, 165, 36, .8); transition: transform .2s; }
.reproductor-play:hover { transform: scale(1.06); }
.reproductor-play .ico-play { display: none; }
.reproductor.pausado .reproductor-play .ico-play { display: block; }
.reproductor.pausado .reproductor-play .ico-pausa { display: none; }
.capitulos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; flex: 1; }
.capitulos button { width: 100%; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 500; text-align: left; cursor: pointer; transition: .2s; line-height: 1.25; }
.capitulos button span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); font-weight: 700; font-size: 12px; flex: none; }
.capitulos button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.capitulos button.activo { background: rgba(63, 184, 203, .16); border-color: rgba(127, 220, 235, .45); color: #fff; }
.capitulos button.activo span { background: var(--turquesa); color: var(--tinta); }

/* escena 1 */
.e1-persona { transform: translate(140px, 430px); }
.activa .e1-persona { animation: camina 2.6s cubic-bezier(.3, .7, .3, 1) forwards; }
@keyframes camina { from { transform: translate(140px, 430px); } to { transform: translate(450px, 430px); } }
.e1-escaner { opacity: 0; }
.activa .e1-escaner { animation: escanea 1.1s ease-in-out 2.3s 3 alternate both; }
@keyframes escanea { from { opacity: 1; transform: translateY(0); } to { opacity: 1; transform: translateY(74px); } }
.e1-cara { opacity: .25; }
.activa .e1-cara { animation: cara 0.4s ease 2.3s forwards; }
@keyframes cara { to { opacity: 1; } }
.activa .e1-led { animation: led 0.5s ease 2.4s 6 alternate; }
@keyframes led { to { fill: #22c55e; } }

/* escena 2 */
.e2-ok, .e2-ok-check { opacity: 0; transform-box: fill-box; transform-origin: center; }
.activa .e2-ok { animation: aparece-pop .5s cubic-bezier(.2, 1.6, .4, 1) .2s forwards; }
.activa .e2-ok-check { stroke-dasharray: 50; stroke-dashoffset: 50; opacity: 1; animation: dibuja .5s ease .6s forwards; }
@keyframes aparece-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes dibuja { to { stroke-dashoffset: 0; } }
.e2-ruta { stroke-dashoffset: 0; }
.activa .e2-ruta { animation: ruta 1s linear infinite; }
@keyframes ruta { to { stroke-dashoffset: -36; } }
.e2-paquete { opacity: 0; } /* lo mueve JS por la ruta */
.e2-fila { opacity: 0; }
.activa .e2-fila { animation: fila-svg 1.4s ease 2.5s forwards; }
@keyframes fila-svg { 0% { opacity: 0; } 30% { opacity: 1; fill: #7fdceb; } 100% { opacity: 1; fill: #cdeff4; } }

/* escena 3 */
.e3-tarjeta { position: absolute; left: 50%; top: 50%; width: 560px; transform: translate(-50%, -54%); background: #fff; color: var(--texto); border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); font-size: 15px; }
.activa .e3-tarjeta { animation: tarjeta-entra .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tarjeta-entra { from { opacity: 0; transform: translate(-50%, -44%) scale(.96); } to { opacity: 1; transform: translate(-50%, -54%); } }
.e3-cabeza { display: flex; align-items: center; gap: 10px; padding: .8em 1.1em; background: #0b2a45; color: #fff; font-weight: 600; }
.e3-cabeza img { width: 1.7em; height: 1.7em; border-radius: 50%; }
.e3-cuerpo { display: grid; grid-template-columns: 34% 1fr; gap: 1.2em; padding: 1.2em; }
.e3-foto { aspect-ratio: 3 / 4; border-radius: 12px; background: linear-gradient(160deg, #1f6f7f, #0b2a45); display: grid; place-items: center; color: #fff; font-family: var(--fuente-titulo); font-size: 2.6em; font-weight: 800; position: relative; overflow: hidden; }
.e3-foto svg { position: absolute; left: 12%; bottom: 0; width: 76%; }
.e4-foto { overflow: hidden; position: relative; }
.e4-foto svg { position: absolute; bottom: 0; height: 88%; }
.e3-flash { position: absolute; inset: 0; background: #fff; opacity: 0; }
.activa .e3-flash { animation: flash .6s ease .5s; }
@keyframes flash { 0% { opacity: 0; } 20% { opacity: .9; } 100% { opacity: 0; } }
.e3-cuerpo dl { margin: 0; display: grid; gap: .55em; align-content: center; }
.e3-cuerpo dl div { opacity: 0; }
.activa .e3-cuerpo dl div { animation: dato .4s ease forwards; }
.activa .e3-cuerpo dl div:nth-child(1) { animation-delay: .8s; }
.activa .e3-cuerpo dl div:nth-child(2) { animation-delay: 1.1s; }
.activa .e3-cuerpo dl div:nth-child(3) { animation-delay: 1.4s; }
.activa .e3-cuerpo dl div:nth-child(4) { animation-delay: 1.7s; }
@keyframes dato { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.e3-cuerpo dt { font-size: .78em; color: var(--texto-3); text-transform: uppercase; letter-spacing: .06em; }
.e3-cuerpo dd { margin: 0; font-weight: 600; font-size: 1.05em; }
.e3-ok { display: flex; align-items: center; gap: 8px; margin: 0; padding: .8em 1.2em; background: #ecfdf5; color: #047857; font-weight: 600; opacity: 0; }
.activa .e3-ok { animation: dato .4s ease 2.2s forwards; }

/* escena 4 */
.e4 { display: flex; align-items: center; justify-content: center; gap: 90px; padding: 0 60px 56px; }
.e4-texto { max-width: 300px; color: #fff; }
.e4-texto b { display: block; font-family: var(--fuente-titulo); font-size: 34px; margin: 14px 0 8px; }
.e4-texto span { color: rgba(255, 255, 255, .7); font-size: 17px; }
.e4-icono { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #25d366; color: #fff; }
.e4-icono .ico { width: 32px; height: 32px; }
.e4-telefono { transform: scale(.86); transform-origin: center; }
.activa .e4-telefono { animation: tel-entra .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes tel-entra { from { opacity: 0; transform: translateY(30px) scale(.86); } to { opacity: 1; transform: scale(.86); } }
.e4-chat { padding: 34px 0 0; background: #0b141a; min-height: 400px; }
.e4-chat-cabeza { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #1f2c34; font-size: 11.5px; }
.e4-chat-cabeza small { display: block; color: #8fa3ad; font-size: 10px; }
.e4-chat-avatar img { width: 28px; height: 28px; border-radius: 50%; }
.e4-chat-fondo { padding: 14px 10px; min-height: 330px; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .03) 2px, transparent 3px) 0 0 / 22px 22px, #0b141a; position: relative; }
.e4-escribiendo { display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 12px; background: #1f2c34; opacity: 0; }
.e4-escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: #8fa3ad; animation: punto 1s infinite; }
.e4-escribiendo i:nth-child(2) { animation-delay: .15s; }
.e4-escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 50% { transform: translateY(-4px); opacity: .5; } }
.activa .e4-escribiendo { animation: escribiendo 1.6s ease .4s both; }
@keyframes escribiendo { 0% { opacity: 0; } 15%, 85% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; } }
.e4-burbuja { position: absolute; left: 10px; right: 18px; top: 14px; background: #1f2c34; color: #e9edef; border-radius: 0 12px 12px 12px; padding: 6px; font-size: 11.5px; line-height: 1.45; opacity: 0; }
.activa .e4-burbuja { animation: burbuja .5s cubic-bezier(.2, .8, .2, 1) 2.1s forwards; }
@keyframes burbuja { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.e4-foto { height: 92px; border-radius: 8px; background: linear-gradient(160deg, #1f6f7f, #0b2a45); display: grid; place-items: center; font-family: var(--fuente-titulo); font-weight: 800; font-size: 28px; margin-bottom: 6px; }
.e4-burbuja p { margin: 0 4px 2px; }
.e4-burbuja small { display: block; text-align: right; color: #53bdeb; font-size: 10px; margin-right: 4px; }

/* escena 5 */
.e5-carro { transform: translate(-320px, 402px); }
.activa .e5-carro { animation: carro 5s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes carro { 0% { transform: translate(-320px, 402px); } 40%, 62% { transform: translate(330px, 402px); } 100% { transform: translate(1000px, 402px); } }
.e5-marco { opacity: 0; }
.activa .e5-marco { animation: marco 1s ease 1.8s 2 alternate; }
@keyframes marco { from { opacity: 0; } to { opacity: 1; } }
.e5-brazo { transform-box: fill-box; transform-origin: 0 50%; }
.activa .e5-brazo { animation: brazo 1s ease-in-out 3s forwards; }
@keyframes brazo { to { transform: rotate(-78deg); } }
.e5-etiqueta { opacity: 0; }
.activa .e5-etiqueta { animation: dato .5s ease 2.4s forwards; }
.activa .e5-led { animation: led-verde .3s ease 2.6s forwards; }
@keyframes led-verde { to { fill: #22c55e; } }
.e5-cono { opacity: 0; }
.activa .e5-cono { animation: cono 1.5s ease 1.5s forwards; }
@keyframes cono { 50% { opacity: .22; } 100% { opacity: .06; } }

/* ---------- integraciones ---------- */
.diagrama { margin: 0 auto 56px; max-width: 1140px; }
.diagrama-svg { width: 100%; height: auto; overflow: visible; }
.d-rutas path { fill: none; stroke: rgba(127, 220, 235, .26); stroke-width: 2; stroke-dasharray: 6 8; animation: ruta 1.6s linear infinite; }
.d-paquetes circle { fill: var(--turquesa-2); }
.d-paquetes .d-ambar { fill: var(--ambar); }
.d-paquetes .d-verde { fill: #4ade80; }
.d-nodo rect { fill: rgba(255, 255, 255, .05); stroke: rgba(127, 220, 235, .22); }
.d-nodo-ico { fill: rgba(63, 184, 203, .18); }
.d-ico-verde { fill: rgba(74, 222, 128, .16); }
.d-svg-ico { color: var(--turquesa-2); fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.d-nodo-destino .d-svg-ico { color: #86efac; }
.d-svg-relleno { stroke: none; fill: currentColor; }
.d-t1 { fill: #fff; font: 600 16px var(--fuente); }
.d-t2 { fill: rgba(255, 255, 255, .6); font: 400 13.5px var(--fuente); }
.d-hub rect { filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
.d-h1 { fill: #fff; font: 800 22px var(--fuente-titulo); }
.d-h2 { fill: rgba(255, 255, 255, .78); font: 500 14px var(--fuente); }
.d-h3 { fill: var(--ambar); font: 600 12.5px var(--fuente); letter-spacing: .04em; }
.d-sync { fill: var(--ambar); font: 600 12.5px var(--fuente); }

.flujo-movil { display: none; }

.equipos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.equipo { border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); transition: transform .3s ease, border-color .3s; }
.equipo:hover { transform: translateY(-6px); border-color: rgba(127, 220, 235, .35); }
.equipo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform .8s ease; }
.equipo:hover img { transform: scale(1.05); }
.equipo div { padding: 20px 22px 24px; }
.equipo h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 10px; }
.equipo h3 .ico { color: var(--turquesa-2); }
.equipo p { margin: 0; color: rgba(255, 255, 255, .68); font-size: 15px; }

.capacidades { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.capacidades li { display: flex; gap: 14px; padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); }
.capacidades .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(63, 184, 203, .14); color: var(--turquesa-2); }
.capacidades b { display: block; font-size: 15.5px; margin-bottom: 2px; }
.capacidades span { color: rgba(255, 255, 255, .62); font-size: 14px; line-height: 1.5; }

.banda-medida { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 34px; border-radius: 24px; background: linear-gradient(120deg, rgba(14, 115, 131, .55), rgba(18, 54, 74, .6)); border: 1px solid rgba(127, 220, 235, .25); }
.banda-medida h3 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 6px; }
.banda-medida p { margin: 0; color: rgba(255, 255, 255, .72); }

/* ---------- sectores ---------- */
.sectores { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 4.2; color: #fff; isolation: isolate; box-shadow: var(--sombra-sm); }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s ease; }
.sector::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 36, 0) 25%, rgba(7, 26, 36, .55) 55%, rgba(7, 26, 36, .95)); transition: background .4s; }
.sector:hover img { transform: scale(1.07); }
.sector-texto { position: absolute; inset: auto 0 0; padding: 22px; }
.sector-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); margin-bottom: 14px; }
.sector h3 { font-size: 21px; margin-bottom: 8px; }
.sector p { font-size: 14.5px; color: rgba(255, 255, 255, .8); margin-bottom: 12px; line-height: 1.5; }
.sector ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.sector li { padding: 3px 10px; border-radius: 999px; background: rgba(245, 165, 36, .9); color: #1a1205; font-size: 12px; font-weight: 700; }

/* ---------- proceso ---------- */
.pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: paso; }
.pasos::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--turquesa), var(--ambar)); transform: scaleX(0); transform-origin: left; transition: transform 1.6s cubic-bezier(.2, .8, .2, 1); }
.pasos.visible::before { transform: scaleX(1); }
.paso { position: relative; background: #fff; border-radius: 20px; padding: 26px 22px; border: 1px solid var(--borde); }
.paso-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tinta-2); color: #fff; font-family: var(--fuente-titulo); font-weight: 800; font-size: 15px; margin-bottom: 18px; box-shadow: 0 0 0 6px var(--fondo-suave); position: relative; }
.paso h3 { font-size: 19px; margin-bottom: 8px; }
.paso p { margin: 0; color: var(--texto-2); font-size: 15px; }

/* ---------- preguntas ---------- */
.preguntas-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.preguntas-grid .seccion-cabeza { position: sticky; top: calc(var(--alto-encabezado) + 32px); }
.acordeon { display: grid; gap: 12px; }
.acordeon details { border: 1px solid var(--borde); border-radius: 16px; background: #fff; transition: box-shadow .25s, border-color .25s; }
.acordeon details[open] { box-shadow: var(--sombra-sm); border-color: transparent; }
.acordeon summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; font-size: 16.5px; font-family: var(--fuente-titulo); }
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary .ico { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--fondo-suave); color: var(--marca-2); transition: transform .3s, background .3s; }
.acordeon details[open] summary .ico { transform: rotate(45deg); background: var(--turquesa); color: #fff; }
.acordeon details p { padding: 0 20px 20px; margin: 0; color: var(--texto-2); }

/* ---------- soporte ---------- */
.soporte-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.soporte-grid > * { min-width: 0; }
.soporte-ingreso { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(26px, 4vw, 40px); color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(245, 165, 36, .18), transparent 60%), linear-gradient(150deg, var(--tinta-3), var(--tinta)); box-shadow: var(--sombra); display: flex; flex-direction: column; }
.soporte-etiqueta { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: rgba(43, 179, 198, .18); color: var(--turquesa-2); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.soporte-ingreso h3 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 10px; }
.soporte-ingreso > p { color: rgba(255, 255, 255, .74); }
.soporte-pasos { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; gap: 14px; }
.soporte-pasos li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; font-size: 14.8px; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.soporte-pasos li > span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(127, 220, 235, .14); color: var(--turquesa-2); font-weight: 800; font-family: var(--fuente-titulo); }
.soporte-pasos b { display: block; color: #fff; font-size: 15.5px; }
.soporte-seguimiento { margin: 0 0 26px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(127, 220, 235, .18); }
.soporte-radicado { display: inline-block; font-family: "Consolas", "Courier New", monospace; font-weight: 700; font-size: 13px; color: var(--ambar); margin-bottom: 10px; }
.soporte-estados { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: estado; }
/* JS va marcando "hecho" un estado tras otro (abierto → cerrado) y vuelve a empezar. */
.soporte-estados li { position: relative; padding-top: 16px; font-size: 11.5px; color: rgba(255, 255, 255, .5); text-align: center; white-space: nowrap; transition: color .4s ease; }
.soporte-estados li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.soporte-estados li::after { content: ""; position: absolute; top: 0; left: 0; height: 6px; width: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--turquesa), var(--ambar)); transform: scaleX(0); transform-origin: left; transition: transform .7s ease; }
.soporte-estados li.hecho { color: #fff; font-weight: 600; }
.soporte-estados li.hecho::after { transform: scaleX(1); }
.soporte-ingreso .botones { margin-top: auto; }
.soporte-nota { margin: 16px 0 0; font-size: 14px; }
.soporte-nota a { color: var(--turquesa-2); }
.soporte-formulario { box-shadow: var(--sombra-sm); border: 1px solid var(--borde); }
.formulario-intro { color: var(--texto-2); font-size: 15px; margin: -10px 0 18px; }
.formulario-nota { margin: 12px 0 0; font-size: 13px; color: var(--texto-3); }

/* ---------- contacto ---------- */
.contacto { background: radial-gradient(900px 500px at 100% 0%, rgba(245, 165, 36, .14), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(14, 115, 131, .45), transparent 60%), var(--tinta); color: #fff; }
.contacto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.contacto h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 16px; }
.contacto .lead { color: rgba(255, 255, 255, .72); }
.contacto-lista { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contacto-lista li { display: flex; gap: 16px; align-items: center; }
.contacto-lista small { display: block; color: rgba(255, 255, 255, .55); font-size: 13px; }
.contacto-lista a, .contacto-lista span:not(.contacto-ico) { color: #fff; font-weight: 600; font-size: 17px; text-decoration: none; }
.contacto-lista a:hover { color: var(--turquesa-2); }
.contacto-ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--turquesa-2); flex: none; }
.contacto-ico-wa { background: #25d366; color: #fff; }
.contacto-ico-wa .ico .relleno { fill: #fff; }

.formulario { background: #fff; color: var(--texto); border-radius: 26px; padding: clamp(24px, 4vw, 38px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7); }
.formulario h3 { font-size: 24px; margin-bottom: 20px; }
.campo-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.campo { display: block; margin-bottom: 14px; }
.campo span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--texto-2); }
.campo input, .campo select, .campo textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--borde); background: var(--fondo-suave); font: inherit; font-size: 15.5px; color: var(--texto); transition: border-color .2s, background .2s, box-shadow .2s; }
.campo textarea { resize: vertical; min-height: 100px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--turquesa); background: #fff; box-shadow: 0 0 0 4px rgba(63, 184, 203, .18); }
.campo .invalido { border-color: #ef4444; background: #fff5f5; }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--texto-2); margin: 4px 0 12px; cursor: pointer; line-height: 1.45; }
.casilla input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--marca-2); flex: none; }
.formulario-error { min-height: 1.2em; color: #dc2626; font-size: 14px; font-weight: 500; margin: 0 0 10px; }
.formulario-botones { display: flex; flex-wrap: wrap; gap: 10px; }
.formulario .boton-vidrio { background: var(--fondo-suave); color: var(--tinta-2); border-color: var(--borde); backdrop-filter: none; }
.formulario .boton-vidrio:hover { border-color: var(--tinta-2); }

/* ---------- pie ---------- */
.pie { background: #04121a; color: rgba(255, 255, 255, .7); padding: 64px 0 28px; font-size: 15px; }
.pie-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pie-logo { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 14px; margin-bottom: 16px; }
.pie-logo img { height: 40px; width: auto; }
.pie-marca p { max-width: 340px; margin: 0; }
.pie h4 { color: #fff; font-size: 15px; margin-bottom: 14px; letter-spacing: 0; }
.pie nav a, .pie-grid > div:last-child a { display: flex; align-items: center; gap: 6px; text-decoration: none; padding: 4px 0; transition: color .2s; }
.pie a:hover { color: var(--turquesa-2); }
.pie-legal { display: flex; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13.5px; flex-wrap: wrap; }
.pie-legal a { text-decoration: none; }

.whatsapp-flotante { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -10px rgba(37, 211, 102, .7); transition: transform .25s; }
.whatsapp-flotante::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulso 2.2s ease-out infinite; }
.whatsapp-flotante:hover { transform: scale(1.08); }
.whatsapp-flotante .ico { width: 30px; height: 30px; }

/* ---------- aparición al hacer scroll ---------- */
.js .revelar { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--retraso, 0s); }
.js .revelar.visible { opacity: 1; transform: none; }

/* ---------- adaptable ---------- */
@media (max-width: 1100px) {
  .productos-resumen { grid-template-columns: repeat(2, 1fr); }
  .sectores { grid-template-columns: repeat(2, 1fr); }
  .sector { aspect-ratio: 4 / 3.6; }
  .capacidades { grid-template-columns: repeat(2, 1fr); }
  .capitulos button { font-size: 12px; padding: 8px; }
}

/* El menú completo necesita unos 1 100 px; por debajo, menú desplegable. */
@media (max-width: 1140px) {
  .nav-hamburguesa { display: block; }
  .nav {
    position: fixed; top: var(--alto-encabezado); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 20px;
    background: #fff; overflow-y: auto;
    opacity: 0; transform: translateY(-12px); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s .3s; visibility: hidden; pointer-events: none;
  }
  .nav.abierto { opacity: 1; transform: none; visibility: visible; pointer-events: auto; transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1); }
  .nav > a:not(.boton), .nav-acceso-boton { font-size: 18px; padding: 14px 12px; justify-content: space-between; width: 100%; }
  .nav-acceso-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; }
  .nav-acceso.abierto .nav-acceso-menu { display: block; }
  .nav-cta { margin: 12px 0 0; padding: 15px; font-size: 17px; }
}

@media (max-width: 980px) {
  :root { --alto-encabezado: 66px; }
  .marca img { height: 40px; }

  .portada { min-height: auto; }
  .portada-grid { grid-template-columns: 1fr; padding-bottom: 56px; }
  .monitor { max-width: 560px; }
  .empresa-grid, .producto, .preguntas-grid, .contacto-grid, .soporte-grid { grid-template-columns: 1fr; }
  .empresa-media { max-width: 560px; margin: 0 auto; width: 100%; }
  .empresa-foto { aspect-ratio: 4 / 3; }
  .empresa-flotante-1 { left: 12px; }
  .empresa-flotante-2 { right: 12px; }
  .producto-invertido .producto-texto { order: 0; }
  .producto-visual { max-width: 640px; width: 100%; margin: 0 auto; padding-bottom: 40px; }
  .preguntas-grid .seccion-cabeza { position: static; }
  .cifras { grid-template-columns: repeat(2, 1fr); }
  .cifras div:nth-child(3)::before { display: none; }
  .cifras div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .pasos::before { display: none; }
  .diagrama { display: none; }
  .flujo-movil { display: flex; flex-direction: column; align-items: center; gap: 0; margin-bottom: 48px; }
  .flujo-equipos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 520px; }
  .flujo-equipos span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(127, 220, 235, .22); font-size: 14px; }
  .flujo-equipos .ico { width: 18px; height: 18px; color: var(--turquesa-2); }
  .flujo-destinos .ico { color: #86efac; }
  .flujo-hub { width: min(360px, 100%); text-align: center; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, var(--marca-2), var(--marca)); font-family: var(--fuente-titulo); font-weight: 800; font-size: 20px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
  .flujo-hub small { display: block; font-family: var(--fuente); font-weight: 500; font-size: 13.5px; color: rgba(255, 255, 255, .75); }
  .flujo-hub-2 { background: var(--tinta-3); border: 1px solid var(--turquesa); }
  .flujo-flecha { position: relative; width: 2px; height: 46px; background: rgba(127, 220, 235, .3); overflow: hidden; }
  .flujo-flecha::after { content: ""; position: absolute; left: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--turquesa-2); box-shadow: 0 0 10px var(--turquesa-2); animation: baja 1.4s linear infinite; }
  .flujo-flecha-ambar::after { background: var(--ambar); box-shadow: 0 0 10px var(--ambar); }
  .flujo-flecha-verde::after { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
  @keyframes baja { from { top: -8px; } to { top: 46px; } }
  .equipos { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .equipo { display: grid; grid-template-columns: 200px 1fr; }
  .equipo img { height: 100%; aspect-ratio: auto; }
  .banda-medida { flex-direction: column; align-items: flex-start; }
  .pie-grid { grid-template-columns: 1fr 1fr; }
  .capitulos { grid-template-columns: repeat(5, auto); }
  .capitulos button { font-size: 0; gap: 0; padding: 8px; justify-content: center; }
  .capitulos button span { font-size: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .contenedor { width: calc(100% - 32px); }
  .marca img { height: 36px; }
  .portada { padding-top: calc(var(--alto-encabezado) + 36px); }
  .portada-acciones .boton { width: 100%; }
  .portada-sellos { flex-direction: column; gap: 8px; }
  .monitor { padding: 12px; }
  .monitor-lista { height: 300px; }
  .monitor-titulo { display: none; }
  .monitor-cabeza { justify-content: space-between; }
  .evento { grid-template-columns: 38px 1fr; }
  .evento-ico { width: 38px; height: 38px; }
  .evento time { display: none; }
  .valores { grid-template-columns: 1fr; }
  .empresa-flotante-1 { left: 8px; bottom: 4px; padding: 12px 14px; }
  .empresa-flotante-1 b { font-size: 34px; }
  .empresa-flotante-2 { display: none; }
  .cifras div { padding: 24px 12px; }
  .productos-resumen { grid-template-columns: 1fr; }
  .ventana, .producto-invertido .ventana, .tableta { transform: none; }
  .shp-cuerpo { grid-template-columns: 1fr; }
  .shp-menu { display: none; }
  .shp-tabla th:nth-child(4), .shp-tabla td:nth-child(4), .shp-tabla th:nth-child(5), .shp-tabla td:nth-child(5) { display: none; }
  .shp-reloj, .shp-buscar { display: none; }
  .shp-estado span:nth-child(3) { display: none; }
  .shp-aviso { left: 12px; right: 12px; max-width: none; }
  .ss { margin-left: 0; }
  .ss-cuerpo { grid-template-columns: 1fr; }
  .ss-menu { display: none; }
  .ss-kpis { grid-template-columns: repeat(2, 1fr); }
  .ss-visitas li { grid-template-columns: 1fr auto; }
  .ss-visitas li span:nth-child(2) { display: none; }
  .ss-telefono { position: relative; left: auto; bottom: auto; margin: -60px auto 0; transform: none; width: 190px; }
  .tableta { margin-right: 0; padding: 8px; border-radius: 22px; }
  .sale-cuerpo { grid-template-columns: 1fr; }
  .sale-productos { grid-template-columns: repeat(3, 1fr); }
  .sale-pedido { border-left: 0; border-top: 1px solid #f0e6e2; }
  .comanda { position: relative; right: auto; bottom: auto; margin: 16px auto 0; }
  .sr-grid { grid-template-columns: 1fr; }
  .sr-cabeza span:not(.sr-rol) { display: none; }
  .escenario { border-radius: 16px; }
  .escena-subtitulo { position: static; transform: none; width: auto; max-width: none; margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: 14.5px; }
  .reproductor-controles { gap: 10px; }
  .reproductor-play { width: 44px; height: 44px; }
  .capitulos { gap: 6px; }
  .equipo { grid-template-columns: 1fr; }
  .equipo img { aspect-ratio: 16 / 9; height: auto; }
  .capacidades { grid-template-columns: 1fr; }
  .banda-medida { padding: 24px; }
  .banda-medida .boton { width: 100%; }
  .sectores { grid-template-columns: 1fr; }
  .sector { aspect-ratio: 4 / 3.4; }
  .pasos { grid-template-columns: 1fr; }
  .campo-fila { grid-template-columns: 1fr; gap: 0; }
  .soporte-estados li { font-size: 10px; white-space: normal; line-height: 1.25; }
  .soporte-ingreso .botones .boton { width: 100%; }
  .formulario-botones .boton { width: 100%; }
  .pie-grid { grid-template-columns: 1fr; }
  .whatsapp-flotante { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* ---------- menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .js .revelar { opacity: 1; transform: none; }
  .cinta-pista { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .cinta-pista span[aria-hidden] { display: none; }
  .activa .e5-carro { transform: translate(330px, 402px) !important; }
}
