/* ============================================================================
   develoop · vivo.css (12-oct-2026) · fondo con movimiento + maquetas con producto real + iconos Phosphor.
   Va DESPUÉS de refresh.css (inc/enqueue.php). Quitar su línea = volver atrás.
   Skills cargadas: high-end-visual-design, design-taste-frontend, redesign-existing-projects, ui-ux-pro-max.
   Paleta: la de la app (grafito del riel #3A3E44 → #24262D, celeste #009FE3 / #007AB2 / #4CC6F5). Ningún color nuevo.
   ============================================================================ */

/* ---------- 1. Fondo vivo (assets/js/fondo-vivo.js) ---------- */
.con-fondo-vivo { isolation: isolate; }
.fondo-vivo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; border-radius: inherit;
  opacity: 0; transition: opacity 1.6s cubic-bezier(0.32, 0.72, 0, 1);   /* SKILL high-end §5: «cubic-bezier(0.32,0.72,0,1)» */
}
.fondo-vivo.is-on { opacity: 1; }
.hero > .fondo-vivo,
.page-hero > .fondo-vivo {
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
/* la luz la pone el fondo: los «glow» fijos sobran donde hay fondo vivo */
.con-fondo-vivo > .glow { display: none; }
[data-fondo-vivo="panel"] > :not(.fondo-vivo) { position: relative; z-index: 1; }

/* ---------- 2. Iconos (Phosphor, MIT) ---------- */
/* SKILL high-end §2: «Use only ultra-light, precise lines (e.g., Phosphor Light…)». SKILL redesign: «standardize to one stroke weight»:
   Light en los iconos de rasgo (≥ 22 px) y Regular en los pequeños (≤ 20 px) ⇒ el mismo trazo óptico, ≈ 1,1–1,25 px. */
.icon-box svg, .ic svg, .vs-card__icon svg, .flex-note__icon svg { width: 60%; height: 60%; }
.icon-box {
  background: linear-gradient(180deg, rgba(0, 159, 227, 0.16), rgba(0, 159, 227, 0.06));
  box-shadow: inset 0 0 0 1px rgba(76, 198, 245, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.section--light .icon-box,
.section--pale .icon-box {
  background: linear-gradient(180deg, #FFFFFF, #EAF4FC);
  color: #007AB2;
  box-shadow: inset 0 0 0 1px rgba(0, 122, 178, 0.14), 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 18px -10px rgba(0, 122, 178, 0.35);
}

/* ---------- 3. Maquetas: piezas comunes ---------- */
.mk { position: relative; width: 100%; height: 100%; }
.mk img { display: block; max-width: none; }
.mk .mk-ico { width: 1em; height: 1em; flex: none; }
.service-card__media {
  border-bottom: 0;
  background:
    radial-gradient(70% 90% at 85% 0%, rgba(0, 159, 227, 0.22), transparent 62%),
    linear-gradient(180deg, #33363C, #24262D);
}
.mk-etq {
  display: inline-flex; align-items: center; gap: 0.35em;
  font: 500 9px/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: #B9BEC6; background: rgba(255, 255, 255, 0.07); padding: 0.55em 0.8em; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}
.mk-etq .mk-ico { font-size: 12px; color: #4CC6F5; }

/* marco de navegador · SKILL high-end §4A «Double-Bezel»: carcasa con filo y pantalla con su propio radio concéntrico */
.mk-nav {
  position: relative; border-radius: 16px; padding: 5px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 34px 60px -28px rgba(8, 9, 12, 0.8);
}
.mk-nav__barra { display: flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; }
.mk-nav__barra i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
.mk-nav__url {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 10px; padding: 0 9px; height: 15px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); color: #B9BEC6; font: 500 9px/15px var(--font-mono);
}
.mk-nav__url .mk-ico { font-size: 9px; }
.mk-nav__pantalla {
  position: relative; border-radius: 11px; overflow: hidden; aspect-ratio: 16 / 10; background: #121316;
  container-type: inline-size;
}
.mk-nav__pantalla img { width: 100%; height: auto; }
.mk-nav__pantalla--recorre img {
  animation: mk-recorre 28s cubic-bezier(0.65, 0, 0.35, 1) infinite alternate;
  animation-play-state: paused;
}
.mk.is-viva .mk-nav__pantalla--recorre img { animation-play-state: running; }
/* 900 × 2275: baja hasta el final (100cqi = el ancho de la pantalla; su alto es 0,625 de ese ancho) */
@keyframes mk-recorre { 0%, 10% { transform: translateY(0); } 90%, 100% { transform: translateY(calc(-1.9028 * 100cqi)); } }

/* teléfono */
.mk-tel {
  position: absolute; border-radius: 20px; padding: 4px;
  background: linear-gradient(160deg, #4A4F57, #1D1F23);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 26px 44px -16px rgba(6, 7, 10, 0.85);
}
.mk-tel__pantalla { border-radius: 16px; overflow: hidden; aspect-ratio: 390 / 844; background: #000; position: relative; }
.mk-tel__pantalla > img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 4. Diseño web: Mōku real ---------- */
.mk--web.mk--tarjeta { padding: 8% 13% 0 7%; }
.mk--web.mk--tarjeta .mk-tel { width: 19%; right: 6%; bottom: -16%; }
.mk--web.mk--heroe .mk-tel { width: 25%; left: -6%; bottom: -10%; border-radius: 26px; padding: 5px; }
.mk--web.mk--heroe .mk-tel__pantalla { border-radius: 21px; }
.mk--web.mk--heroe .mk-nav { border-radius: 20px; padding: 6px; }
.mk--web.mk--heroe .mk-nav__barra { height: 28px; }
.mk--web.mk--heroe .mk-nav__url { font-size: 10.5px; height: 18px; line-height: 18px; }
.mk--web.mk--heroe .mk-nav__pantalla { border-radius: 14px; }
.service-card:hover .mk--web .mk-tel { transform: translateY(-6px); }
.mk--web .mk-tel { transition: transform 0.7s cubic-bezier(0.32, 0.72, 0, 1); }

/* ---------- 5. Marketing: el reporte (datos de ejemplo, rotulados) ---------- */
.mk--mkt.mk--tarjeta { padding: 7% 8% 0; }
.mk-panel {
  display: flex; flex-direction: column; gap: 10px; height: 100%;
  border-radius: 16px; padding: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 34px 60px -28px rgba(8, 9, 12, 0.8);
}
.mk--tarjeta .mk-panel { height: 116%; }
.mk-panel__cab { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #F4F6F8; font: 600 11px/1.2 var(--font-sans); }
.mk-panel__cab > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.mk-panel__cab .mk-ico { font-size: 14px; color: #4CC6F5; }
.mk-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; }
.mk-kpi { border-radius: 11px; padding: 9px 10px; background: rgba(255, 255, 255, 0.045); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.mk-kpi small { display: block; color: #ABB1B9; font: 500 9.5px/1.2 var(--font-sans); }
.mk-kpi b { display: block; margin-top: 4px; color: #F4F6F8; font: 600 21px/1.05 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.mk-kpi em { display: inline-flex; align-items: center; gap: 2px; margin-top: 4px; font: 500 9.5px/1 var(--font-mono); font-style: normal; color: #4CC6F5; }
.mk-kpi em .mk-ico { font-size: 10px; }
.mk-graf { position: relative; flex: 1; min-height: 64px; display: flex; flex-direction: column; }
.mk-graf svg { flex: 1; width: 100%; height: 100%; min-height: 54px; }
.mk-graf__linea { stroke-dasharray: 1; stroke-dashoffset: 0; }
.mk.is-viva .mk-graf__linea { animation: mk-trazo 2.6s cubic-bezier(0.32, 0.72, 0, 1) both; }
.mk.is-viva .mk-graf__area { animation: mk-aparece 2.6s cubic-bezier(0.32, 0.72, 0, 1) both; }
@keyframes mk-trazo { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mk-aparece { from { opacity: 0; } to { opacity: 1; } }
.mk-graf__ejes { display: flex; justify-content: space-between; margin-top: 4px; color: #8A919B; font: 500 9px/1 var(--font-mono); }
.mk-canales { display: flex; flex-direction: column; gap: 7px; }
.mk-canales div { display: grid; grid-template-columns: 78px 1fr 34px; align-items: center; gap: 10px; color: #B9BEC6; font: 500 10.5px/1 var(--font-sans); }
.mk-canales b { color: #F4F6F8; font: 500 10px/1 var(--font-mono); text-align: right; }
.mk-canales i { position: relative; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.mk-canales i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #007AB2, #4CC6F5); transform-origin: left; }
.mk.is-viva .mk-canales i::after { animation: mk-barra 1.8s 0.4s cubic-bezier(0.32, 0.72, 0, 1) both; }
@keyframes mk-barra { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.mk--mkt.mk--heroe .mk-panel { padding: 20px; gap: 16px; border-radius: 22px; }
.mk--mkt.mk--heroe .mk-panel__cab { font-size: 13px; }
.mk--mkt.mk--heroe .mk-kpi { padding: 12px 13px; border-radius: 14px; }
.mk--mkt.mk--heroe .mk-kpi small { font-size: 10.5px; }
.mk--mkt.mk--heroe .mk-kpi b { font-size: 28px; }
.mk--mkt.mk--heroe .mk-graf { min-height: 150px; }

/* ---------- 6. Automatización: el agente agenda (assets/js/vivo-maquetas.js lo anima) ---------- */
.mk--chat { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 6%; align-items: center; }
.mk--chat.mk--tarjeta { padding: 6% 6% 0 7%; align-items: stretch; }
.mk-wa {
  display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
  background: #EFE7DD url("../img/wa-bg.webp") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), 0 34px 60px -28px rgba(8, 9, 12, 0.8);
}
.mk--tarjeta .mk-wa { height: 112%; }
.mk-wa__cab { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #24262D; color: #F4F6F8; }
.mk-wa__cab b { display: block; font: 600 11px/1.2 var(--font-sans); }
.mk-wa__cab small { display: block; color: #4CC6F5; font: 500 9px/1.2 var(--font-sans); }
.mk-wa__cab .mk-ico { margin-left: auto; font-size: 15px; color: #B9BEC6; }
.mk-wa__av {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: linear-gradient(180deg, #0076A8, #005D85); color: #fff; font: 600 9.5px/1 var(--font-sans);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.mk-wa__hilo { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px; overflow: hidden; }
.mk-wa .m {
  margin: 0; max-width: 84%; padding: 6px 9px; border-radius: 10px; color: #111B21;
  font: 400 10.5px/1.38 var(--font-sans); box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
}
.mk-wa .m--in { align-self: flex-start; background: #FFFFFF; border-top-left-radius: 3px; }
.mk-wa .m--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
.mk-wa .m--esc { display: none; align-self: flex-start; gap: 3px; padding: 8px 10px; background: #FFFFFF; border-top-left-radius: 3px; }
.mk-wa .m--esc i { width: 5px; height: 5px; border-radius: 50%; background: #8696A0; animation: mk-punto 1.2s infinite; }
.mk-wa .m--esc i:nth-child(2) { animation-delay: 0.15s; }
.mk-wa .m--esc i:nth-child(3) { animation-delay: 0.3s; }
@keyframes mk-punto { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }
/* con la animación activa, cada mensaje entra en su turno */
.mk-anima .mk-wa .m { display: none; }
.mk-anima .mk-wa .m.is-on { display: block; animation: mk-entra 0.5s cubic-bezier(0.32, 0.72, 0, 1) both; }
.mk-anima .mk-wa .m--esc.is-on { display: flex; }
@keyframes mk-entra { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
.mk-herr { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.mk-herr li {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: opacity 0.6s cubic-bezier(0.32, 0.72, 0, 1), transform 0.6s cubic-bezier(0.32, 0.72, 0, 1), background 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}
.mk-anima .mk-herr li { opacity: 0.45; transform: translateX(6px); }
.mk-anima .mk-herr li.is-on { opacity: 1; transform: none; background: rgba(0, 159, 227, 0.13); box-shadow: inset 0 0 0 1px rgba(76, 198, 245, 0.28); }
.mk-herr__ic {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; flex: none; color: #fff; font-size: 17px;
  background: linear-gradient(180deg, #0076A8, #006B99 55%, #005D85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.mk-herr b { display: block; color: #F4F6F8; font: 600 11px/1.2 var(--font-sans); }
.mk-herr small { display: block; color: #ABB1B9; font: 500 9.5px/1.25 var(--font-sans); }
.mk--chat.mk--heroe { grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.mk--chat.mk--heroe .mk-wa { height: 440px; border-radius: 22px; }
.mk--chat.mk--heroe .mk-wa__cab { padding: 11px 14px; }
.mk--chat.mk--heroe .mk-wa__cab b { font-size: 13px; }
.mk--chat.mk--heroe .mk-wa .m { font-size: 12.5px; padding: 8px 11px; }
.mk--chat.mk--heroe .mk-herr li { padding: 11px 12px; }
.mk--chat.mk--heroe .mk-herr__ic { width: 34px; height: 34px; font-size: 20px; border-radius: 11px; }
.mk--chat.mk--heroe .mk-herr b { font-size: 13px; }
.mk--chat.mk--heroe .mk-herr small { font-size: 11px; }

/* ---------- 7. Influencers: Nathalia real ---------- */
.mk--ig { display: grid; place-items: center; }
.mk-tel--grande { position: relative; width: min(300px, 80%); border-radius: 42px; padding: 7px; animation: mk-flota 8s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes mk-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.mk-tel--grande .mk-tel__pantalla { border-radius: 35px; aspect-ratio: 9 / 19; background: #FFFFFF; display: flex; flex-direction: column; }
.mk-ig__cab { display: flex; align-items: center; gap: 8px; padding: 34px 13px 9px; color: #111; font: 600 12px/1 var(--font-sans); }
.mk-ig__cab img { width: 26px; height: 26px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #4CC6F5; }
.mk-ig__cab .mk-ico { margin-left: auto; font-size: 18px; }
.mk-ig__foto { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mk-ig__acc { display: flex; align-items: center; justify-content: space-between; padding: 10px 13px 6px; color: #111; font-size: 22px; }
.mk-ig__acc span { display: flex; gap: 13px; }
.mk-ig__acc span .mk-ico:first-child { color: #E8364F; }
.mk-ig__txt { margin: 0; padding: 0 13px 16px; color: #262626; font: 400 11.5px/1.45 var(--font-sans); }
.mk-ig__txt b { font-weight: 600; }

.mk--tomas { overflow: hidden; }
.mk-toma {
  position: absolute; margin: 0; width: 24%; border-radius: 14px; overflow: hidden; background: #121316;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 26px 44px -18px rgba(6, 7, 10, 0.85);
  transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}
.mk-toma img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mk-toma figcaption {
  position: absolute; inset: auto 0 0 0; padding: 18px 8px 7px; color: #F4F6F8;
  background: linear-gradient(to top, rgba(14, 15, 18, 0.78), transparent);
  font: 500 8.5px/1 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase;
}
.mk-toma--1 { left: 15%; top: 15%; transform: rotate(-7deg); }
.mk-toma--2 { left: 37%; top: 8%; width: 26%; z-index: 2; }
.mk-toma--3 { right: 15%; top: 15%; transform: rotate(7deg); }
.service-card:hover .mk-toma--1, .mk--heroe.mk--tomas:hover .mk-toma--1 { transform: rotate(-10deg) translateX(-10px); }
.service-card:hover .mk-toma--3, .mk--heroe.mk--tomas:hover .mk-toma--3 { transform: rotate(10deg) translateX(10px); }
.service-card:hover .mk-toma--2, .mk--heroe.mk--tomas:hover .mk-toma--2 { transform: translateY(-6px); }
.mk-etq--abajo { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); z-index: 3; white-space: nowrap; }
.mk--tomas.mk--heroe .mk-toma { width: 25%; border-radius: 18px; }
.mk--tomas.mk--heroe .mk-toma--2 { width: 28%; left: 36%; top: 7%; }
.mk--tomas.mk--heroe .mk-toma figcaption { font-size: 10px; padding: 22px 10px 9px; }
.mk--tomas.mk--heroe .mk-etq { font-size: 10px; }

/* ---------- 8. Los contenedores de los héroes ceden el marco a la maqueta ---------- */
body.page-diseno .svc-hero__frame,
body.page-marketing .dash,
body.page-automatizacion .auto-hero__visual,
body.page-influencers .inf-hero__phone { border: 0; background: none; box-shadow: none; overflow: visible; border-radius: 0; }
body.page-influencers .inf-frame {
  border: 0;
  background: radial-gradient(70% 90% at 50% 0%, rgba(0, 159, 227, 0.22), transparent 62%), linear-gradient(180deg, #33363C, #24262D);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 60px -30px rgba(14, 15, 18, 0.6);
}
body.page-influencers .inf-hero__visual { padding-block: 1rem; }

/* ---------- 9. Móvil ---------- */
@media (max-width: 760px) {
  .mk--chat.mk--heroe { grid-template-columns: 1fr; }
  .mk--chat.mk--heroe .mk-wa { height: 380px; }
  .mk--chat.mk--heroe .mk-herr { flex-direction: row; flex-wrap: wrap; }
  .mk--chat.mk--heroe .mk-herr li { flex: 1 1 140px; }
  .mk--web.mk--heroe .mk-tel { left: -2%; width: 27%; }
  .mk--mkt.mk--heroe .mk-kpi b { font-size: 22px; }
}
@media (max-width: 480px) {
  .mk--chat.mk--tarjeta { grid-template-columns: 1fr; }
  .mk--chat.mk--tarjeta .mk-herr { display: none; }
  .mk-kpi b { font-size: 17px; }
}

/* ---------- 10. Reducir movimiento: todo quieto, todo visible ---------- */
@media (prefers-reduced-motion: reduce) {
  .mk-nav__pantalla--recorre img, .mk-tel--grande, .mk.is-viva .mk-graf__linea, .mk.is-viva .mk-graf__area, .mk.is-viva .mk-canales i::after, .mk-wa .m--esc i { animation: none !important; }
  .mk-toma, .mk--web .mk-tel { transition: none; }
}

/* ---------- 11. Demo de la portada: las etiquetas flotantes se apoyan en el borde, sin tapar la pestaña ni el campo ---------- */
.ai-chip--time { top: -20px; left: -6%; }
.ai-chip--lead { bottom: -22px; right: -5%; }
@media (max-width: 940px) { .ai-chip--time { top: -18px; left: -2%; } .ai-chip--lead { bottom: -20px; right: -2%; } }

/* ---------- 12. Guardas: reglas viejas de los héroes («.page-hero p», «.dash svg», «.auto-hero__visual svg») no entran en las maquetas ---------- */
.mk svg.mk-ico { display: inline-block; width: 1em !important; height: 1em !important; flex: none; }
.mk .mk-graf svg { width: 100%; height: 100%; }
.mk p.m, .mk p.mk-ig__txt { max-width: 84%; }
.mk p.mk-ig__txt { max-width: none; margin: 0; padding: 0 13px 16px; color: #262626; font: 400 11.5px/1.45 var(--font-sans); }
.mk .mk-wa p.m { margin: 0; color: #111B21; font: 400 10.5px/1.38 var(--font-sans); }
.mk--chat.mk--heroe .mk-wa p.m { font-size: 12.5px; }
.mk-toma--1 { left: 11%; }
.mk-toma--3 { right: 11%; }
.mk--tomas.mk--heroe .mk-toma--1, .mk--tomas.mk--heroe .mk-toma--3 { top: 20%; }
.mk--tomas.mk--heroe .mk-toma--2 { top: 12%; }

/* ---------- 13. Influencers: las etiquetas flotantes no tapan el nombre ni el texto de la publicación ---------- */
body.page-influencers .inf-hero__chip--1 { top: 24%; left: -12%; }
body.page-influencers .inf-hero__chip--2 { bottom: 30%; right: -10%; }
body.page-influencers .inf-hero__chip--3 { top: 13%; right: -13%; bottom: auto; left: auto; }
@media (max-width: 940px) {
  body.page-influencers .inf-hero__chip--1 { left: -2%; }
  body.page-influencers .inf-hero__chip--2 { right: -2%; }
  body.page-influencers .inf-hero__chip--3 { right: -2%; }
}

/* ---------- 14. El ecosistema del héroe (12-oct-2026): la marca al centro, cuatro piezas reales alrededor ---------- */
.eco { position: relative; aspect-ratio: 520 / 440; width: 100%; z-index: 1; }
.eco__lineas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco__lineas path { stroke: rgba(76, 198, 245, 0.22); stroke-width: 1.5; stroke-dasharray: 4 6; stroke-linecap: round; transition: stroke 0.8s cubic-bezier(0.32, 0.72, 0, 1); }
.eco__lineas path.is-on { stroke: rgba(76, 198, 245, 0.75); stroke-dasharray: none; }
.eco__nodo { position: absolute; width: 40%; display: flex; flex-direction: column; gap: 0.45rem; transition: transform 0.8s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.8s cubic-bezier(0.32, 0.72, 0, 1); opacity: 0.78; }
.eco__nodo.is-on { opacity: 1; transform: translateY(-4px) scale(1.03); }
.eco--quieto .eco__nodo { opacity: 1; }
.eco__nodo--web   { left: 0;   top: 0; }
.eco__nodo--suite { right: 0;  top: 0; }
.eco__nodo--ads   { left: 0;   bottom: 0; }
.eco__nodo--influ { right: 0;  bottom: 0; }
/* marco «Double-Bezel» (SKILL high-end §4A): carcasa con filo y pantalla con radio concéntrico */
.eco__marco {
  border-radius: 14px; padding: 4px; overflow: hidden; aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 48px -24px rgba(8, 9, 12, 0.85);
  transition: box-shadow 0.8s cubic-bezier(0.32, 0.72, 0, 1);
}
.eco__nodo.is-on .eco__marco { box-shadow: inset 0 0 0 1px rgba(76, 198, 245, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 24px 48px -24px rgba(0, 159, 227, 0.55); }
.eco__marco img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10px; }
.eco__marco--foto img { object-position: center 20%; }
.eco__marco--panel { display: flex; flex-direction: column; gap: 6px; padding: 10px; background: linear-gradient(180deg, #33363C, #24262D); aspect-ratio: 16 / 10; }
.eco__kpi { display: grid; grid-template-columns: 1fr auto; column-gap: 6px; align-items: baseline; }
.eco__kpi small { grid-column: 1 / -1; color: #ABB1B9; font: 500 9px/1.2 var(--font-sans); }
.eco__kpi b { color: #F4F6F8; font: 600 15px/1.05 var(--font-display); font-variant-numeric: tabular-nums; }
.eco__kpi em { color: #4CC6F5; font: 500 9px/1 var(--font-mono); font-style: normal; }
.eco__marco--panel svg { flex: 1; width: 100%; min-height: 22px; }
.eco__rotulo { color: #B9BEC6; font: 500 10.5px/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; padding-left: 2px; transition: color 0.8s cubic-bezier(0.32, 0.72, 0, 1); }
.eco__nodo.is-on .eco__rotulo { color: #4CC6F5; }
/* el centro: la marca */
.eco__centro {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 27%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: radial-gradient(circle at 35% 30%, rgba(76, 198, 245, 0.35), transparent 60%), linear-gradient(180deg, #0076A8, #006B99 55%, #005D85);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 6px rgba(0, 159, 227, 0.10), 0 0 0 14px rgba(0, 159, 227, 0.05), 0 20px 40px -16px rgba(0, 95, 147, 0.8);
  color: #fff; text-align: center;
}
.eco__marca { font: 600 clamp(12px, 1.3vw, 16px)/1.05 var(--font-display); letter-spacing: -0.01em; }
.eco__sub { font: 500 clamp(7px, 0.65vw, 9px)/1.2 var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 480px) { .eco__nodo { width: 43%; } .eco__rotulo { font-size: 9px; } }
/* 14b · las etiquetas flotantes del héroe se apoyan FUERA de los marcos (el CSS viejo las ponía sobre el demo de chat) */
.hero__visual .ai-chip--time { top: -14px; left: 50%; transform: translateX(-50%); bottom: auto; right: auto; }
.hero__visual .ai-chip--lead { bottom: -34px; right: 0; left: auto; transform: none; top: auto; }   /* debajo de la caja, ⛔ a su altura: a -14px tapaba el rótulo «Influencer virtual» (medido) */
@media (max-width: 940px) { .hero__visual .ai-chip--time { top: -14px; left: 50%; } .hero__visual .ai-chip--lead { bottom: -14px; right: 0; } }
/* la caja del ecosistema deja aire arriba y abajo para esas etiquetas */
.hero__visual { padding-block: 18px 40px; }
/* 14c · en una columna (≤ 940) el visual del héroe se quedaba sin ancho (w 0): la caja del ecosistema necesita ancho explícito */
.hero__visual { width: 100%; }
.eco { min-width: 280px; }
/* 14d · 12-oct: atenuar el mockup (.55) lo HUNDÍA en la ola: ilegible. Vuelve a plena opacidad y la ola ya ⛔ pasa por encima: la caja lleva
   un velo grafito propio detrás, de modo que el ecosistema se lee sobre un fondo quieto y la ola queda a los lados. */
.hero__visual .eco { opacity: 1; }
.hero__visual .eco::before { content: ""; position: absolute; inset: -6% -4%; border-radius: 28px; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 50%, rgba(42, 44, 49, 0.92), rgba(42, 44, 49, 0.55) 70%, transparent 100%); }
.hero__visual .eco > * { z-index: 1; }   /* ⛔ position aquí: los nodos y el centro son absolute y lo perdían (12-oct, se apilaron en vivo) */
.hero__visual .eco .eco__lineas { z-index: 0; }

/* ---------- 15. El héroe (12-oct, 3.ª versión): LA PLATAFORMA EN GRANDE, en perspectiva, con el chat al frente ---------- */
.hero__visual .eco, .hero__visual .eco::before { display: none; }   /* el collage del ecosistema, retirado */
.escena { position: relative; width: 100%; aspect-ratio: 520 / 440; perspective: 1400px; z-index: 1; }
.escena__app {
  position: absolute; left: 0; top: 4%; width: 86%; border-radius: 16px; padding: 5px;
  transform: rotateY(-14deg) rotateX(6deg); transform-origin: 80% 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 40px 80px -30px rgba(8, 9, 12, 0.9), 0 0 0 1px rgba(0, 159, 227, 0.08);
}
.escena__barra { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; }
.escena__barra i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.escena__barra span { margin-left: 10px; padding: 0 9px; height: 15px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: #B9BEC6; font: 500 9px/15px var(--font-mono); }
.escena__app img { display: block; width: 100%; height: auto; border-radius: 11px; }
/* el chat, al frente y a la derecha, más cerca de la cámara */
.escena__chat { position: absolute; right: 0; bottom: 0; width: 46%; transform: translateZ(60px); }
.escena__chat .mk--chat.mk--heroe { grid-template-columns: 1fr; gap: 0; }
.escena__chat .mk--chat.mk--heroe .mk-wa { height: auto; aspect-ratio: 9 / 13; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 34px 60px -24px rgba(8, 9, 12, 0.9); }
.escena__chat .mk-herr { display: none; }   /* las herramientas ya se ven en la página de automatización; aquí sólo la conversación */
.hero__visual .ai-chip--time { top: -14px; left: 4%; transform: none; }
.hero__visual .ai-chip--lead { bottom: -34px; right: 0; }
@media (max-width: 940px) {
  .escena__app { transform: rotateY(-8deg) rotateX(4deg); }
  .escena__chat { width: 48%; }
}
@media (max-width: 480px) {
  .escena { aspect-ratio: 520 / 470; }
  .escena__app { width: 92%; transform: none; }
  .escena__chat { width: 54%; }
  .escena__chat .mk--chat.mk--heroe .mk-wa .m { font-size: 10.5px; }
}
/* 15b · ≤ 480: la escena quedaba pegada bajo la cabecera fija (la captura de 390 la mostró cortada) ⇒ aire arriba y un pelo más baja */
@media (max-width: 480px) { .hero__visual { padding-top: 34px; } .escena__app { top: 8%; } }
