/* Evo · animación del Hub de ENLACE. Uso: <div class="evo" data-estado="disponible"> + el SVG de evo-componente.html.
   Estados: desconectado | disponible | respondiendo (piensa). */
.evo{--evo-teal:#7EABB0;--evo-azul:#2E43EF;--evo-gris:#a3a198;display:inline-grid;justify-items:center;gap:8px;color:#6d6f76;font:12px/1.4 Inter,system-ui,sans-serif}
.evo-stage{position:relative;width:150px;height:164px;display:grid;place-items:center}
.evo-stage:after{content:'';position:absolute;bottom:6px;width:94px;height:9px;border-radius:50%;background:var(--evo-teal);opacity:.18;filter:blur(4px)}
.evo-avatar{width:146px;height:146px;overflow:visible;filter:drop-shadow(0 5px 0 #00000012);animation:evo-breathe 5s ease-in-out infinite;transform-origin:50% 80%;z-index:1}
.evo-eyes{transform-box:fill-box;transform-origin:center;animation:evo-blink 6.4s infinite}
.evo-caption{display:inline-flex;align-items:center;gap:6px;font-size:11px}
.evo-caption i{width:6px;height:6px;border-radius:50%;background:var(--evo-gris)}
.evo[data-estado="disponible"] .evo-caption i{background:#2e9d6a}
.evo[data-estado="respondiendo"] .evo-caption i{background:var(--evo-azul);animation:evo-pt 1s infinite}
.evo[data-estado="respondiendo"] .evo-avatar{animation:evo-think 1.8s ease-in-out infinite}
@keyframes evo-breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.012)}}
@keyframes evo-blink{0%,43%,47%,76%,80%,100%{transform:scaleY(1)}45%,78%{transform:scaleY(.08)}}
@keyframes evo-think{0%,100%{transform:translateY(-2px) rotate(-3deg)}50%{transform:translateY(-7px) rotate(3deg)}}
@keyframes evo-pt{0%,100%{opacity:.25}50%{opacity:1}}
@media(prefers-reduced-motion:reduce){.evo-avatar,.evo-eyes,.evo[data-estado="respondiendo"] .evo-avatar{animation:none}}

/* Evo joins the introductory section without a card or simulated chat. */
.product-heading{display:grid;grid-template-columns:minmax(0,1fr) clamp(200px,22vw,310px);align-items:center;column-gap:clamp(28px,5vw,90px)}.hero-copy{min-width:0}.hero-copy>p{max-width:660px;font-size:18px;line-height:1.6;color:var(--muted);margin-bottom:30px}.hero-copy h1{margin-bottom:30px}.hero-evo{display:flex;justify-content:center;align-items:center;padding:30px 0}.hero-evo .evo{font-family:'DM Sans',Arial,sans-serif;color:var(--muted);gap:8px}.hero-evo .evo-stage{border:0;background:transparent;padding:0;width:clamp(200px,22vw,300px);height:clamp(220px,24vw,330px);cursor:pointer;border-radius:24px;-webkit-tap-highlight-color:transparent}.hero-evo .evo-avatar{width:90%;height:auto;max-height:95%}.hero-evo .evo-stage:after{width:64%;bottom:8px;height:12px;filter:blur(8px)}.hero-evo .evo-name{font-family:'Manrope',Arial,sans-serif;font-size:23px;font-weight:600;letter-spacing:-1px;color:var(--ink)}.evo-name>span{color:var(--blue)}.hero-evo .evo-caption{font-size:12px;min-height:18px;text-align:center;display:block}.evo-hint{font-size:10px;letter-spacing:.6px;opacity:.8}.hero-evo .evo[data-estado="saludando"] .evo-avatar{animation:evo-think .65s ease-in-out 2}.hero-evo .evo-stage:hover .evo-avatar{filter:drop-shadow(0 8px 8px #608a8830)}html[data-theme="dark"] .hero-evo .evo-stage:after{opacity:.3}
@media(max-width:1000px){.product-heading{grid-template-columns:minmax(0,1fr) 190px;gap:24px}.hero-evo .evo-stage{width:190px;height:215px}.hero-copy>p{font-size:16px}.hero-evo .evo-caption{max-width:185px}}
@media(max-width:760px){.product-heading{display:grid;grid-template-columns:1fr;margin-bottom:22px;gap:6px}.hero-copy>p{font-size:16px;line-height:1.6;margin-bottom:0}.hero-evo{padding:4px 0 10px}.hero-evo .evo-stage{width:150px;height:168px}.hero-evo .evo-name{font-size:19px}.hero-evo .evo{gap:5px}.hero-evo .evo-caption{max-width:none;font-size:11px}.evo-hint{font-size:9px}.hero-copy h1{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.hero-evo .evo-avatar,.hero-evo .evo-eyes,.hero-evo .evo[data-estado="saludando"] .evo-avatar{animation:none}}

/* Evo v2 · mirada, ojos felices, boca por palabra y saltito al saludar */
.evo-look{will-change:transform}
.evo-happy,.evo-mouth-open{opacity:0;transition:opacity .08s}
.evo-eyes,.evo-mouth-smile{transition:opacity .08s}
.hero-evo .evo[data-estado="saludando"] .evo-eyes{opacity:0}
.hero-evo .evo[data-estado="saludando"] .evo-happy{opacity:1}
.hero-evo .evo.evo-habla .evo-mouth-smile{opacity:0}
.hero-evo .evo.evo-habla .evo-mouth-open{opacity:1}
.hero-evo .evo[data-estado="saludando"] .evo-avatar{animation:evo-hop .62s cubic-bezier(.3,.7,.4,1) 1,evo-breathe 5s ease-in-out .62s infinite}
.hero-evo .evo[data-estado="saludando"] .evo-stage:after{animation:evo-hop-shadow .62s cubic-bezier(.3,.7,.4,1) 1}

@keyframes evo-hop{
  0%{transform:translateY(0) scale(1,1)}
  14%{transform:translateY(0) scale(1.06,.92)}
  42%{transform:translateY(-16px) scale(.97,1.04)}
  70%{transform:translateY(0) scale(1.05,.94)}
  86%{transform:translateY(-2px) scale(.99,1.01)}
  100%{transform:translateY(0) scale(1,1)}}
@keyframes evo-hop-shadow{0%,14%,70%,100%{transform:scaleX(1);opacity:.18}42%{transform:scaleX(.72);opacity:.09}}
@media(prefers-reduced-motion:reduce){.hero-evo .evo[data-estado="saludando"] .evo-avatar,.hero-evo .evo[data-estado="saludando"] .evo-stage:after{animation:none}}

@media(prefers-reduced-motion:reduce){.hero-evo .evo-look,.hero-evo .evo-happy,.hero-evo .evo-mouth,.hero-evo .evo-eyes{transition:none}}
