/* Zentry · Demo en vivo (director) */
.zd-layer [hidden]{display:none!important}
html.zd-on, html.zd-on body{overflow:hidden}
html.zd-on #viewport{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:10000!important;margin:0!important;border-radius:0!important}
html.zd-on #viewport > :not(canvas):not(#zdLayer){display:none!important}
.zd-layer{position:absolute;inset:0;pointer-events:none;font-family:Manrope,system-ui,sans-serif;color:#0f1a2a;overflow:hidden;-webkit-font-smoothing:antialiased}
.zd-layer button{font:inherit;cursor:pointer}
.zd-layer > *{pointer-events:auto}
.zd-kw{position:absolute;left:0;top:0;width:600px;height:1040px;transform-origin:0 0;visibility:hidden;overflow:hidden;border-radius:6px;background:#fff;pointer-events:auto}
.zd-kw.zd-small{pointer-events:none}
.zd-top{position:absolute;top:14px;left:14px;right:14px;display:flex;align-items:center;gap:14px;padding:10px 12px 10px 16px;border-radius:16px;background:rgba(255,255,255,.82);backdrop-filter:blur(14px) saturate(1.4);-webkit-backdrop-filter:blur(14px) saturate(1.4);box-shadow:0 8px 30px rgba(10,30,60,.12),inset 0 0 0 1px rgba(255,255,255,.6);z-index:5}
.zd-brand{display:flex;flex-direction:column;gap:2px;min-width:0}
.zd-brand b{font-size:15px;font-weight:800;letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.zd-live{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#c0262d}
.zd-live i{width:7px;height:7px;border-radius:50%;background:#e5353d;box-shadow:0 0 0 0 rgba(229,53,61,.6);animation:zdPulse 1.6s infinite}
@keyframes zdPulse{70%{box-shadow:0 0 0 7px rgba(229,53,61,0)}100%{box-shadow:0 0 0 0 rgba(229,53,61,0)}}
.zd-steps{display:flex;gap:6px;list-style:none;margin:0 auto;padding:0;counter-reset:zd}
.zd-steps li{counter-increment:zd;display:flex;align-items:center;gap:8px;padding:7px 12px 7px 8px;border-radius:999px;font-size:13px;font-weight:700;color:#6a7686;background:rgba(15,26,42,.05);transition:all .3s}
.zd-steps li:before{content:counter(zd);display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;font-size:12px;box-shadow:inset 0 0 0 1.5px #c9d2dd}
.zd-steps li.on{color:#fff;background:#005bbb}
.zd-steps li.on:before{color:#005bbb;box-shadow:none}
.zd-steps li.done{color:#005bbb;background:#e6f0fb}
.zd-steps li.done:before{content:'';background:#005bbb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;box-shadow:none}
.zd-tools{display:flex;gap:6px}
.zd-ic{width:40px;height:40px;border-radius:12px;border:0;background:rgba(15,26,42,.06);display:grid;place-items:center;color:#0f1a2a;transition:background .2s}
.zd-ic:hover{background:rgba(15,26,42,.12)}
.zd-ic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.zd-x{background:#0f1a2a;color:#fff}.zd-x:hover{background:#26364d}
.zd-phone{position:absolute;right:3vw;top:50%;width:380px;height:780px;transform:translate(130%,-50%) scale(var(--zds,1));transform-origin:right center;transition:transform .7s cubic-bezier(.2,.8,.2,1);z-index:4}
.zd-phone.on{transform:translate(0,-50%) scale(var(--zds,1))}
@media (max-height:900px){.zd-phone{--zds:.84}}
@media (max-height:760px){.zd-phone{--zds:.7}}
.zd-sub{position:absolute;left:50%;bottom:28px;transform:translateX(-50%);max-width:min(760px,86vw);padding:12px 20px;border-radius:14px;background:rgba(10,18,30,.78);color:#fff;font-size:17px;line-height:1.45;font-weight:600;text-align:center;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:opacity .5s,transform .5s;pointer-events:none;z-index:6}
.zd-sub.out{opacity:0;transform:translate(-50%,8px)}
.zd-coach{position:absolute;left:28px;bottom:96px;display:flex;flex-direction:column;gap:10px;padding:16px 18px;border-radius:18px;background:#fff;box-shadow:0 18px 50px rgba(10,30,60,.22);animation:zdIn .45s cubic-bezier(.2,.8,.2,1);z-index:6;max-width:320px}
.zd-ct{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#005bbb}
.zd-cb{display:flex;flex-direction:column;gap:8px}
.zd-cb span{font-size:13px;color:#5d6a7a}
.zd-btn{border:0;border-radius:12px;padding:13px 18px;background:#005bbb;color:#fff;font-weight:800;font-size:15px;box-shadow:0 6px 18px rgba(0,91,187,.32);transition:transform .15s,box-shadow .2s,background .2s}
.zd-btn:hover{background:#0a68d0}.zd-btn:active{transform:scale(.97)}
.zd-btn.ghost{background:rgba(15,26,42,.06);color:#0f1a2a;box-shadow:none}.zd-btn.ghost:hover{background:rgba(15,26,42,.11)}
.zd-btn.sm{padding:8px 12px;font-size:13px}
.zd-btn.big{padding:17px 28px;font-size:17px;border-radius:14px}
.zd-card{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(120% 90% at 50% 30%,rgba(8,20,40,.35),rgba(8,20,40,.72));backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);z-index:8;animation:zdFade .4s}
.zd-c{width:min(560px,92vw);padding:34px 34px 28px;border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.35);animation:zdIn .55s cubic-bezier(.2,.8,.2,1)}
.zd-k{display:inline-block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:#005bbb;background:#e6f0fb;padding:5px 10px;border-radius:999px}
.zd-c h2{margin:14px 0 10px;font-size:30px;line-height:1.12;letter-spacing:-.02em;font-weight:800}
.zd-c p{margin:0 0 16px;font-size:16px;line-height:1.55;color:#3f4b5b}
.zd-c ul{list-style:none;margin:6px 0 22px;padding:0;display:grid;gap:10px}
.zd-c li{position:relative;padding-left:32px;font-size:15.5px;line-height:1.45;color:#3f4b5b}
.zd-c li b{color:#0f1a2a}
.zd-c li:before{content:'';position:absolute;left:0;top:1px;width:22px;height:22px;border-radius:50%;background:#e6f0fb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005bbb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/13px no-repeat}
.zd-row{display:flex;gap:10px;flex-wrap:wrap}
.zd-logo{display:flex;align-items:center;gap:12px;margin:0 0 22px;padding:12px 14px;border-radius:14px;background:#f4f6f9;font-size:14px;color:#3f4b5b}
.zd-logo img{max-height:34px;max-width:110px;object-fit:contain}
.zd-logo .zd-btn{margin-left:auto}
.zd-fine{font-size:13px!important;color:#7b8796!important;margin:14px 0 0!important}
@keyframes zdIn{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:none}}
@keyframes zdFade{from{opacity:0}to{opacity:1}}
.zd-tabs{display:none}
@media (max-width:760px){
  .zd-steps{display:none}
  .zd-top{top:8px;left:8px;right:8px;gap:8px;padding:8px 8px 8px 14px;border-radius:14px}
  .zd-brand b{font-size:14px}
  .zd-tools{margin-left:auto}
  .zd-ic{width:38px;height:38px;border-radius:11px}
  .zd-sub{top:72px;bottom:auto;left:8px;right:8px;transform:none;max-width:none;padding:10px 14px;border-radius:12px;font-size:14.5px;line-height:1.4;text-align:left;background:rgba(10,18,30,.86)}
  .zd-sub.out{transform:translateY(-6px)}
  .zd-phone{left:0;right:0;top:calc(72px + var(--zsub,0px));bottom:calc(64px + env(safe-area-inset-bottom));width:auto;height:auto;display:flex;justify-content:center;transform:translateY(115%);transform-origin:center;transition:transform .45s cubic-bezier(.2,.8,.2,1),top .3s ease}
  .zd-phone.on{transform:none}
  .zd-layer[data-view=scene] .zd-phone.on{transform:translateY(115%)}
  .zd-layer .zd-sim{padding:0;border-radius:20px 20px 0 0;background:#f2f4f7;box-shadow:0 -12px 34px rgba(5,15,35,.22)}
  .zd-layer .zd-sim iframe{border-radius:20px 20px 0 0}
  .zd-layer .zd-sim-notch{display:none}
  .zd-phone:has(.zp-root){align-items:center;border-radius:20px 20px 0 0;background:linear-gradient(#eef2f7,#dfe6ef);box-shadow:0 -12px 34px rgba(5,15,35,.18)}
  .zd-tabs{position:absolute;left:0;right:0;bottom:0;display:flex;gap:6px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);box-shadow:0 -1px 0 rgba(15,26,42,.08),0 -8px 24px rgba(10,30,60,.08);z-index:7}
  .zd-tabs button{position:relative;flex:1;height:48px;border:0;border-radius:12px;background:transparent;display:flex;align-items:center;justify-content:center;gap:8px;font-size:15px;font-weight:800;color:#5d6a7a;transition:background .2s,color .2s}
  .zd-tabs button.on{background:#e6f0fb;color:#005bbb}
  .zd-tabs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .zd-tabs i{display:none;position:absolute;top:10px;right:calc(50% - 46px);width:9px;height:9px;border-radius:50%;background:#e5353d;box-shadow:0 0 0 2px #fff}
  .zd-tabs.dot [data-zd=v-phone] i{display:block;animation:zdPulse 1.6s infinite}
  .zd-coach{left:8px;right:8px;bottom:12px;max-width:none}
  .zd-narrow:has(.zd-tabs:not([hidden])) .zd-coach{bottom:calc(76px + env(safe-area-inset-bottom))}
  .zd-c{padding:24px 20px 20px}.zd-c h2{font-size:24px}
  .zd-lapse{font-size:26px;text-align:center;padding:0 24px}
  .zd-layer .zd-coach{flex-direction:row;align-items:center;gap:12px;padding:10px 10px 10px 16px;border-radius:16px}
  .zd-layer .zd-ct{flex:1;font-size:11.5px;line-height:1.3}
  .zd-layer .zd-cb span{display:none}
  .zd-layer .zd-coach .zd-btn{padding:11px 14px;font-size:14px;white-space:nowrap}
  .zd-c .zd-row .zd-btn{flex:1 1 100%}
  .zd-c{max-height:calc(100dvh - 24px);overflow:auto}
}
@media (prefers-reduced-motion:reduce){.zd-layer *{animation:none!important;transition:none!important}}
/* móvil real */
.zd-mob{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:12px;font-size:13px;font-weight:800;color:#0a6b37;background:#e3f5ea;white-space:nowrap}
.zd-mob i{width:8px;height:8px;border-radius:50%;background:#16a34a;box-shadow:0 0 0 3px rgba(22,163,74,.2)}
.zd-two{padding:12px 14px;border-radius:14px;background:#eef5fd;font-size:15px!important}
.zd-pair{text-align:center}
.zd-pair .zd-row{justify-content:center}
.zd-qr{width:236px;margin:6px auto 16px;padding:10px;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1.5px #e1e7ef,0 10px 30px rgba(10,30,60,.08)}
.zd-qr svg{display:block;width:100%;height:auto}
.zd-wait{display:flex;align-items:center;justify-content:center;gap:10px;font-weight:800;color:#0f1a2a!important;margin:0 0 6px!important}
.zd-wait i{width:16px;height:16px;border-radius:50%;border:2.5px solid #cfe0f3;border-top-color:#005bbb;animation:zdSpin .8s linear infinite}
@keyframes zdSpin{to{transform:rotate(360deg)}}
@media (max-width:760px){.zd-mob{display:none}}
/* escenarios */
.zd-scs{margin:0 0 18px}
.zd-scs>span{display:block;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#7b8796;margin-bottom:8px}
.zd-scs>div{display:flex;flex-wrap:wrap;gap:6px}
.zd-sc{border:0;border-radius:999px;padding:7px 12px;font-size:13px!important;font-weight:700;background:rgba(15,26,42,.06);color:#3f4b5b;transition:background .2s,color .2s}
.zd-sc:hover{background:rgba(15,26,42,.11)}
.zd-sc.on{background:#005bbb;color:#fff}
.zd-lapse{position:absolute;inset:0;display:grid;place-items:center;background:rgba(8,16,30,.86);color:#fff;font-size:34px;font-weight:800;letter-spacing:-.01em;opacity:0;transition:opacity .6s;z-index:9;pointer-events:none}
.zd-lapse.on{opacity:1}
.zd-sim{position:relative;width:100%;height:100%;padding:11px;border-radius:56px;background:#0d1016;box-shadow:0 30px 70px rgba(5,15,35,.45),inset 0 0 0 2px #2b3038}
.zd-sim iframe{display:block;width:100%;height:100%;border:0;border-radius:46px;background:#f2f4f7}
.zd-sim-notch{position:absolute;left:50%;top:21px;width:96px;height:26px;margin-left:-48px;border-radius:16px;background:#0d1016;z-index:2}
