/* mk-hero — hero de /marketing/. Fondo propio «señal» (distinto a /web/), texto a la izquierda
   y escena «campaña en vivo» a la derecha. Todo el movimiento es transform/opacity; .is-pausado congela los ciclos fuera de pantalla. */

.mkh { --tel: clamp(232px, 19vw, 292px); --orb: clamp(440px, 40vw, 600px); position: relative; isolation: isolate; overflow: hidden; background: #121011; color: #fff; }
/* La cabecera de esta página es transparente: el hero arranca bajo ella (m360.css da 76px a main en interiores) */
body:not(.home) main.mk-pag { padding-top: 0; }
.mkh__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.mkh__in { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1320px; min-height: min(100svh, 900px); margin: 0 auto; padding: calc(112px + clamp(20px, 3vw, 48px)) var(--m) clamp(56px, 6vw, 96px); }

/* ── Fondo «señal»: negro profundo, matriz de puntos, haz de transmisión, velo arriba para la cabecera y filo abajo.
   Distinto a /web/: aquí la luz nace del celular y la audiencia viaja hacia él. ── */
.mkh__fondo { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(120% 80% at 70% 55%, #1a0f14 0%, #0b0a0b 60%), #0b0a0b; }
.mkh__fondo > i { position: absolute; display: block; }
.mkh__matriz { inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 48% 60% at 72% 54%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 48% 60% at 72% 54%, #000 10%, transparent 72%); }
.mkh__haz { left: 40%; top: -30%; width: 70%; height: 160%; background: conic-gradient(from 200deg at 50% 50%, transparent 0deg, rgba(255, 61, 110, .1) 18deg, transparent 40deg, transparent 170deg, rgba(255, 91, 35, .08) 190deg, transparent 215deg); -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); animation: mkh-giro 40s linear infinite; will-change: transform; }
.mkh__velo { inset: 0; background: linear-gradient(180deg, rgba(5, 4, 5, .92) 0, rgba(5, 4, 5, .55) 130px, transparent 260px), linear-gradient(0deg, rgba(5, 4, 5, .8) 0, transparent 140px), radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55)); }
.mkh__grano { inset: 0; opacity: .1; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mkh::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, #FF5B23 25%, #FF3D6E 55%, #D2FB8C 80%, transparent); box-shadow: 0 0 18px rgba(255, 61, 110, .55); }

/* ── Texto ── */
.mkh__txt { position: relative; z-index: 2; min-width: 0; }
.mkh__txt > * { animation: mkh-sube .9s var(--ease) both; }
.mkh__txt > :nth-child(2) { animation-delay: .08s; }
.mkh__txt > :nth-child(3) { animation-delay: .16s; }
.mkh__txt > :nth-child(4) { animation-delay: .24s; }
.mkh__txt > :nth-child(5) { animation-delay: .32s; }
.mkh__txt > :nth-child(6) { animation-delay: .4s; }
@keyframes mkh-sube { from { opacity: 0; transform: translate3d(0, 18px, 0); } }

.mkh__ceja { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .82); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.mkh__ceja::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 0 4px rgba(210, 251, 140, .16), 0 0 14px rgba(210, 251, 140, .7); animation: mkh-latido 2.4s ease-in-out infinite; }
@keyframes mkh-latido { 50% { opacity: .45; } }

.mkh h1 { max-width: 14ch; font-family: 'Marko Display', var(--f) !important; font-weight: 800 !important; font-size: clamp(40px, 5vw, 80px); line-height: 1.02 !important; letter-spacing: .004em !important; word-spacing: -.06em; text-transform: lowercase; color: #fff; text-wrap: balance; }
.mkh h1 .chispa { background: linear-gradient(135deg, #FF5B23 20%, #FF9A5C 60%, #D2FB8C); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mkh__lead { max-width: 44ch; margin-top: 22px; color: rgba(255, 255, 255, .74); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; }

.mkh__canales { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.mkh__canales li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 500; }
.mkh__canales li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.mkh__canales li:nth-child(even)::before { background: var(--lima); }

.mkh__acc { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mkh__cta { min-height: 56px; box-shadow: 0 14px 34px -14px rgba(255, 91, 35, .8); }
.mkh__sec { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--lima); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .3s, transform .3s var(--ease); }
.mkh__sec:hover { background: rgba(210, 251, 140, .14); transform: translateY(-3px); }
.mkh a:focus-visible { outline: 2px solid var(--lima); outline-offset: 4px; }

.mkh__prueba { display: grid; grid-template-columns: repeat(3, minmax(0, max-content)); gap: 14px clamp(18px, 3vw, 40px); margin: 40px 0 0; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mkh__prueba div { min-width: 0; }
.mkh__prueba dt { font-family: 'Marko Display', var(--f); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1; color: #fff; }
.mkh__prueba div:first-child dt { color: var(--lima); }
.mkh__prueba dd { margin: 6px 0 0; color: rgba(255, 255, 255, .6); font-size: 13.5px; }

/* ── Escena ── */
.mkh__escena { position: relative; height: clamp(540px, 46vw, 660px); min-width: 0; }
/* Luz detrás del celular: naranja → magenta, más saturada que en /web/ */
.mkh__bloom { position: absolute; left: 50%; top: 50%; width: calc(var(--orb) * 1.3); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 110, 50, .9), rgba(255, 91, 35, .62) 40%, rgba(255, 61, 110, .38) 60%, rgba(255, 61, 110, .08) 80%, transparent); transform: translate(-50%, -50%); animation: mkh-late 6s ease-in-out infinite alternate; }
.mkh__bloom::after { content: ""; position: absolute; left: 58%; top: 62%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(210, 251, 140, .3), transparent); }
@keyframes mkh-late { to { transform: translate(-50%, -50%) scale(1.1); opacity: .78; } }

/* Ondas de transmisión que salen del celular */
.mkh__ondas { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.mkh__ondas i { position: absolute; left: calc(var(--orb) * -.6); top: calc(var(--orb) * -.6); width: calc(var(--orb) * 1.2); aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 140, 100, .55), 0 0 24px rgba(255, 61, 110, .18); opacity: 0; transform: scale(.25); animation: mkh-onda 6s cubic-bezier(.2, .6, .35, 1) infinite; will-change: transform, opacity; }
.mkh__ondas i:nth-child(2) { animation-delay: 1.5s; }
.mkh__ondas i:nth-child(3) { animation-delay: 3s; }
.mkh__ondas i:nth-child(4) { animation-delay: 4.5s; }
@keyframes mkh-onda { 0% { opacity: 0; transform: scale(.25); } 12% { opacity: .9; } 100% { opacity: 0; transform: scale(1.05); } }

/* Audiencia: partículas que viajan hacia el celular y se apagan al llegar */
.mkh__part { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.mkh__part i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: #FF8A5C; box-shadow: 0 0 10px 2px rgba(255, 91, 35, .6); opacity: 0; animation: mkh-llega var(--t) cubic-bezier(.5, 0, .7, 1) var(--d) infinite; will-change: transform, opacity; }
.mkh__part i.is-lima { background: var(--lima); box-shadow: 0 0 10px 2px rgba(210, 251, 140, .55); }
@keyframes mkh-llega { 0% { opacity: 0; transform: translate3d(var(--x), var(--y), 0) scale(1); } 15% { opacity: 1; } 80% { opacity: .9; } 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(.3); } }

/* Órbita de canales: el anillo gira y cada ícono contragira para quedar derecho */
.mkh__orbita { position: absolute; left: 50%; top: 50%; width: var(--orb); aspect-ratio: 1; margin: calc(var(--orb) / -2) 0 0 calc(var(--orb) / -2); border-radius: 50%; animation: mkh-giro 70s linear infinite; }
.mkh__o { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; transform: rotate(var(--a)) translateX(calc(var(--orb) / 2)) rotate(calc(var(--a) * -1)); }
.mkh__o i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: rgba(28, 26, 27, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 10px 24px -10px #000; color: var(--lima); animation: mkh-giro 70s linear infinite reverse; }
.mkh__o:nth-child(even) i { color: #FF8A5C; }
@keyframes mkh-giro { to { transform: rotate(360deg); } }

/* Celular */
.mkh__tel { position: absolute; left: 50%; top: 50%; z-index: 2; width: var(--tel); aspect-ratio: 9 / 19; padding: 9px; border-radius: calc(var(--tel) * .16); background: linear-gradient(160deg, #3a3637, #121011 40%, #2a2627); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 50px 90px -30px #000, 0 0 0 1px rgba(0, 0, 0, .6); transform: translate(-50%, -50%) rotate(-4deg); animation: mkh-tel 1.1s var(--ease) .2s both; }
@keyframes mkh-tel { from { opacity: 0; transform: translate(-50%, -42%) rotate(-10deg) scale(.94); } }
.mkh__pantalla { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(var(--tel) * .13); background: #1c1a1b; color: #fff; }
.mkh__pantalla::before { content: ""; position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 26%; background: linear-gradient(rgba(0, 0, 0, .5), transparent); }
.mkh__pantalla::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 42%; background: linear-gradient(transparent, rgba(0, 0, 0, .72)); }
.mkh__reel { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s ease, transform 6s linear; }
.mkh__reel.is-on { opacity: 1; transform: scale(1); }

.mkh__barras { position: absolute; left: 10px; right: 10px; top: 12px; z-index: 2; display: flex; gap: 4px; }
.mkh__barras i { flex: 1; height: 2.5px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.mkh__barras b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }
.mkh__barras i.is-hecha b { transform: scaleX(1); }
.mkh__barras i.is-on b { animation: mkh-barra var(--mkh-dur, 5s) linear both; }
@keyframes mkh-barra { to { transform: scaleX(1); } }

.mkh__perfil { position: absolute; left: 12px; top: 24px; z-index: 2; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; font-size: 12px; line-height: 1.2; }
.mkh__perfil em { grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; background: conic-gradient(from 200deg, #FF5B23, #D2FB8C, #FF5B23); box-shadow: 0 0 0 2px #121011 inset; }
.mkh__perfil small { color: rgba(255, 255, 255, .7); font-size: 10.5px; }

.mkh__acciones { position: absolute; right: 10px; bottom: 30%; z-index: 2; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.mkh__acciones > span { display: flex; flex-direction: column; align-items: center; gap: 2px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.mkh__acciones > span:first-child svg { color: #FF5B23; }
.mkh__acciones small { font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mkh__acciones .is-late svg { animation: mkh-corazon .5s var(--ease); }
@keyframes mkh-corazon { 40% { transform: scale(1.35); } }

.mkh__pie { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 2; display: grid; gap: 6px; }
.mkh__pie > i { display: block; height: 6px; width: 78%; border-radius: 4px; background: rgba(255, 255, 255, .55); }
.mkh__pie > i + i { width: 52%; background: rgba(255, 255, 255, .32); margin-bottom: 6px; }
.mkh__boton { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .94); color: #121011; font-size: 12px; font-weight: 700; }

/* Avisos que entran */
.mkh__avisos { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.mkh__aviso { position: absolute; display: flex; align-items: center; gap: 10px; width: max-content; max-width: 250px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(250, 248, 245, .96); color: #121011; box-shadow: 0 1px 0 #fff inset, 0 24px 44px -18px rgba(0, 0, 0, .75); animation: mkh-pop .7s cubic-bezier(.2, 1.3, .4, 1) both; }
.mkh__aviso > i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #121011; color: var(--lima); }
.mkh__aviso[data-ico="wa"] > i { background: var(--lima); color: #121011; }
.mkh__aviso[data-ico="venta"] > i { background: var(--accent); color: #fff; }
.mkh__aviso > span { display: grid; gap: 2px; min-width: 0; }
.mkh__aviso b { font-size: 14px; font-weight: 700; line-height: 1.15; }
.mkh__aviso small { overflow: hidden; color: #6C6A6C; font-size: 12px; white-space: nowrap; text-overflow: ellipsis; }
.mkh__aviso--0 { top: 9%; left: 0; animation-delay: .7s; }
.mkh__aviso--1 { top: 33%; right: 0; animation-delay: 1s; }
.mkh__aviso--2 { top: 62%; left: 2%; animation-delay: 1.3s; }
.mkh__aviso.is-sale { animation: mkh-sale .35s ease-in both; }
@keyframes mkh-pop { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.86); } }
@keyframes mkh-sale { to { opacity: 0; transform: translate3d(0, -10px, 0) scale(.94); } }

/* Tarjeta de resultados */
.mkh__kpi { position: absolute; right: 2%; bottom: 3%; z-index: 4; display: grid; width: 216px; padding: 16px 16px 14px; border-radius: 20px; background: rgba(28, 26, 27, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -24px #000; animation: mkh-sube .9s var(--ease) 1.5s both; }
.mkh__kpi-t { display: flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .66); font-size: 11.5px; font-weight: 500; }
.mkh__kpi-t i { width: 6px; height: 6px; border-radius: 50%; background: var(--lima); box-shadow: 0 0 10px var(--lima); animation: mkh-latido 2s ease-in-out infinite; }
.mkh__kpi-n { margin-top: 8px; font-family: 'Marko Display', var(--f); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: .01em; color: var(--lima); font-variant-numeric: tabular-nums; }
.mkh__kpi-n.is-sube { animation: mkh-corazon .5s var(--ease); }
.mkh__kpi-s { color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.mkh__graf { width: 100%; height: 48px; margin-top: 10px; overflow: visible; }
.mkh__linea { stroke-dasharray: 1; stroke-dashoffset: 0; animation: mkh-traza 1.6s var(--ease) 1.8s both; }
@keyframes mkh-traza { from { stroke-dashoffset: 1; } }
.mkh__area { animation: mkh-aparece 1s ease 2.6s both; }
@keyframes mkh-aparece { from { opacity: 0; } }
.mkh__kpi-fila { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); font-size: 11.5px; }
.mkh__kpi-fila b { color: #fff; font-weight: 700; }

/* Ciclos congelados mientras el hero no se ve */
.mkh.is-pausado *, .mkh.is-pausado *::before, .mkh.is-pausado *::after { animation-play-state: paused !important; }

/* ── Laptop ── */
@media (max-width: 1180px) {
	.mkh__aviso--2 { left: 0; }
	.mkh__kpi { right: 0; }
}

/* ── Tablet: una columna, escena centrada ── */
@media (max-width: 960px) {
	.mkh { --tel: 250px; --orb: min(560px, 92vw); }
	.mkh__in { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; padding-top: calc(112px + 32px); }
	.mkh h1 { max-width: 16ch; }
	.mkh__escena { width: min(100%, 580px); height: 600px; margin: 0 auto; }
	.mkh__matriz { -webkit-mask-image: radial-gradient(ellipse 70% 40% at 50% 74%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 70% 40% at 50% 74%, #000 10%, transparent 72%); }
	.mkh__haz { left: 0; top: 30%; width: 100%; height: 90%; }
}

/* ── Celular: escena compacta pero compuesta (avisos montados sobre el celular, tarjeta al pie) ── */
@media (max-width: 600px) {
	.mkh { --tel: min(54vw, 236px); --orb: min(118vw, 470px); }
	.mkh__in { padding-top: calc(96px + 24px); padding-bottom: 48px; }
	.mkh__ceja { margin-bottom: 18px; font-size: 12px; }
	.mkh h1 { font-size: clamp(36px, 10.4vw, 52px); }
	.mkh__lead { margin-top: 16px; }
	.mkh__canales { gap: 6px; margin-top: 18px; }
	.mkh__canales li { padding: 5px 10px 5px 9px; font-size: 12px; }
	.mkh__acc { margin-top: 24px; }
	.mkh__cta, .mkh__sec { flex: 1 1 100%; }
	.mkh__escena { height: calc(var(--tel) * 19 / 9 + 70px); margin-top: 16px; }
	.mkh__tel { top: 46%; padding: 7px; }
	.mkh__o { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
	.mkh__o svg { width: 15px; height: 15px; }
	.mkh__aviso { max-width: 188px; gap: 8px; padding: 8px 10px 8px 8px; border-radius: 13px; }
	.mkh__aviso > i { width: 30px; height: 30px; border-radius: 9px; }
	.mkh__aviso > i svg { width: 15px; height: 15px; }
	.mkh__aviso b { font-size: 12.5px; }
	.mkh__aviso small { font-size: 11px; }
	.mkh__aviso--0 { top: 6%; left: 0; }
	.mkh__aviso--1 { top: 30%; right: 0; }
	.mkh__aviso--2 { top: 56%; left: 0; }
	.mkh__kpi { right: 0; bottom: 0; width: 168px; padding: 12px 12px 10px; border-radius: 16px; }
	.mkh__kpi-n { font-size: 30px; margin-top: 6px; }
	.mkh__graf { height: 34px; margin-top: 6px; }
	.mkh__kpi-fila { font-size: 10.5px; margin-top: 8px; padding-top: 8px; }
	.mkh__prueba { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 32px; }
	.mkh__prueba dd { font-size: 12px; }
	.mkh__matriz { background-size: 18px 18px; }
	.mkh__part i:nth-child(n+9) { display: none; }
	.mkh__part { transform: scale(.6); }
}

@media (max-width: 380px) {
	.mkh__aviso { max-width: 164px; }
	.mkh__aviso small { display: none; }
	.mkh__kpi { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
	.mkh *, .mkh *::before, .mkh *::after { animation: none !important; transition: none !important; }
	.mkh__barras i.is-on b { transform: scaleX(1); }
	.mkh__part { display: none; }
	.mkh__ondas i { opacity: .35; transform: scale(.7); }
	.mkh__ondas i + i { display: none; }
}

/* ── Celular: la tarjeta de resultados va sólida y sin tapar el botón del reel; el celular se corre un poco a la izquierda ── */
@media (max-width: 600px) {
	.mkh__in { gap: 0; }
	.mkh__prueba { margin-top: 28px; padding-top: 20px; }
	.mkh__escena { margin-top: 8px; }
	.mkh__tel { left: 44%; }
	.mkh__kpi { bottom: 4px; background: rgba(24, 22, 23, .96); }
}
