/* La demo usa la gramática visual familiar de WhatsApp sin conectarse al servicio. */
.hero-art .phone{animation:phone-enter .9s cubic-bezier(.2,.8,.2,1) both,phone-float 6s ease-in-out 1s infinite}
.hero-art .orbit{animation:orbit-breathe 9s ease-in-out infinite}
.hero-art .float-tag{animation:tag-float 5s ease-in-out infinite}
.hero-art .float-tag.bottom{animation-delay:-2s}
.hero-art .float-tag{border:0;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s;white-space:nowrap}
.hero-art .float-tag.active{background:var(--lime);color:var(--navy);box-shadow:0 14px 34px #0003}
.hero-art .float-tag.middle{right:0;bottom:85px;animation-delay:-1s}
.hero-art .chat-area{display:flex;flex-direction:column;overflow-y:auto;scrollbar-width:none}
.hero-art .chat-area{height:calc(100% - 113px)}
.hero-art .chat-area::-webkit-scrollbar{display:none}
.hero-art .today{align-self:center;margin-bottom:auto;flex-shrink:0}
.hero-art .bubble,.hero-art .hero-typing{flex-shrink:0}
.hero-art .bubble.bot,.hero-art .hero-typing{align-self:flex-start}
.hero-art .bubble.user{align-self:flex-end}
.hero-art .chat-input{display:flex;align-items:center;gap:4px;overflow:hidden;border-top:1px solid #e4e9e7}
.hero-art #hero-input-text{display:block;flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.hero-art #hero-input-text.is-typing{color:#3f4b4b}
.hero-art .hero-send{float:none;color:#008d76;font-size:13px}
.hero-typing{width:34px;padding:7px;display:flex;gap:2px;background:white;border-radius:7px}
.hero-typing i{width:4px;height:4px;border-radius:50%;background:#9aaca5;animation:typing .8s infinite alternate}
.hero-typing i:nth-child(2){animation-delay:.15s}.hero-typing i:nth-child(3){animation-delay:.3s}
.hero-art .bubble{animation:bubble-in .6s both}
.hero-art .bubble:nth-child(3){animation-delay:.25s}
.hero-art .bubble:nth-child(4){animation-delay:.5s}
.hero-art .bubble:nth-child(5){animation-delay:.75s}
.hero-art .bubble:nth-child(6){animation-delay:1s}
@keyframes phone-enter{from{opacity:0;transform:translateY(40px) rotate(9deg)}to{opacity:1;transform:translateY(0) rotate(5deg)}}
@keyframes phone-float{0%,100%{transform:translateY(0) rotate(5deg)}50%{transform:translateY(-12px) rotate(4deg)}}
@keyframes tag-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
@keyframes orbit-breathe{0%,100%{transform:scale(1);opacity:.8}50%{transform:scale(1.04);opacity:.45}}
@keyframes bubble-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.demo{border-radius:20px;box-shadow:0 30px 70px #13244b20}
.demo-shell{background:#efeae2}
.wa-header{height:65px;background:#075e54;color:white;display:flex;align-items:center;gap:10px;padding:0 17px}
.wa-back{font-size:30px;line-height:1;color:#d9eee8}
.wa-avatar{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#d7e9e4;color:#075e54;font-size:26px;font-weight:800}
.wa-identity{display:flex;flex-direction:column;gap:2px;min-width:0}
.wa-identity strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-identity small{font-size:11px;color:#c7e4dd}
.wa-header-actions{margin-left:auto;color:#d8e8e3;font-size:22px;white-space:nowrap}
.demo-tabs{background:#075e54;padding:0 10px 11px;gap:5px}
.demo-tabs button{background:transparent;border:0;border-radius:0;color:#c2dad3;padding:11px 3px 10px;min-width:0;font-size:12px}
.demo-tabs button[aria-selected=true]{background:transparent;border:0;border-bottom:3px solid #b9e76d;color:white}
.demo-tabs button:hover{color:white}
.wa-day{position:absolute;left:50%;transform:translateX(-50%);z-index:1;margin-top:12px;padding:5px 12px;border-radius:7px;background:#e4f0f3;color:#577079;font-size:10px;box-shadow:0 1px 3px #0001}
.demo-chat{height:470px;padding:50px 20px 18px;background-color:#ece5d9;background-image:radial-gradient(#d5cec5 1px,transparent 1px),radial-gradient(#d5cec5 1px,transparent 1px);background-size:35px 35px;background-position:0 0,17px 17px;scrollbar-width:thin}
.demo-chat .msg{width:max-content;max-width:86%;padding:9px 11px 6px;margin-bottom:10px;border-radius:8px;box-shadow:0 1px 2px #0002;line-height:1.45;color:#1b2b27;font-size:13px}
.demo-chat .msg p{margin:0;white-space:pre-line}
.demo-chat .msg.bot,.demo-chat .msg.option{background:#fff;border:0;border-top-left-radius:2px}
.demo-chat .msg.user{background:#d9fdd3;border-top-right-radius:2px}
.demo-chat .msg.status,.demo-chat .msg.end{display:flex;align-items:center;gap:7px;width:max-content;max-width:95%;margin:13px auto;background:#e2f0f3;color:#51686b;font-size:11px;text-align:center;border-radius:7px}
.demo-chat .msg.end{padding:10px 13px;background:#fff8d8;color:#665b35}
.msg-time{display:block;text-align:right;color:#8b9b93;font-size:9px;margin-top:3px}
.msg.user .msg-time{color:#6ca087}
.wa-options{display:grid;margin-top:10px;border-top:1px solid #e8e8e8}
.wa-options span{padding:8px 4px;border-bottom:1px solid #ededed;color:#087c77;font-size:12px;font-weight:700}
.wa-options span:last-child{border:0}
.wa-composer{height:56px;display:flex;align-items:center;gap:12px;padding:7px 10px;background:#f0f2f5;color:#66757b;font-size:13px}
.wa-composer>span:nth-child(2){flex:1;background:white;border-radius:22px;padding:11px 15px;color:#a1a9aa}
.wa-composer>span:nth-child(2).is-typing{color:#243d38;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.wa-composer>span:first-child,.wa-composer>span:nth-child(3){font-size:21px}
.wa-mic{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#008d76;color:white;font-size:20px}
.wa-typing{width:53px;display:flex;gap:4px;padding:13px 12px;margin-bottom:10px;background:white;border-radius:9px 9px 9px 2px;box-shadow:0 1px 2px #0002}
.wa-typing i{width:6px;height:6px;background:#899c98;border-radius:50%;animation:typing 1s infinite alternate}
.wa-typing i:nth-child(2){animation-delay:.18s}.wa-typing i:nth-child(3){animation-delay:.36s}
@keyframes typing{to{opacity:.25;transform:translateY(-4px)}}
.status-spinner{width:11px;height:11px;display:inline-block;border:2px solid #a8c7c4;border-top-color:#087c77;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.demo-footer{background:white;min-height:52px;gap:10px;padding:10px 16px}
.demo-footer>span{display:flex;align-items:center;gap:7px;color:#65757c}
.demo-footer .live-dot{background:#21ae7f;width:7px;height:7px}
.demo-footer>div{display:flex;gap:10px}
.demo-footer button{padding:7px 4px;color:#075e54}
.demo-note{font-size:13px}
.funding{margin-top:52px;padding-top:34px;border-top:1px solid #ffffff2e}
.funding-copy{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:35px;margin-bottom:23px}
.funding .funding-kicker{color:var(--lime);font-size:10px;font-weight:800;letter-spacing:.18em;margin-bottom:11px}
.funding h2{color:white;font-size:clamp(25px,3vw,37px);line-height:1.15;margin:0}
.funding-copy>p{color:#ccd7f0;font-size:13px;line-height:1.6;max-width:480px;margin:0}
.funding-logo-scroll{overflow-x:auto;background:white;border-radius:8px;padding:22px;scrollbar-color:#9ab0d5 #e9edf5}
.funding-logo-scroll img{display:block;width:100%;height:auto}
.funding .funding-hint{display:none}
.footer-bottom{margin-top:34px}
@media(max-width:850px){.hero-art{transform:none;margin:0}.hero-grid{gap:5px}.hero-art .phone{transform:rotate(3deg)}}
@media(max-width:700px){
  .container{width:min(100% - 32px,560px)}
  .nav-wrap{height:70px}.brand{width:132px;height:53px}.brand img{width:143px;height:53px}
  .nav{top:70px;box-shadow:0 15px 30px #03114366}
  .menu-toggle{width:44px;height:44px;align-items:center;border:1px solid #ffffff54;border-radius:8px}
  .hero-grid{display:flex;flex-direction:column;gap:0;min-height:0}
  .hero-copy{width:100%;padding:37px 0 0}
  .eyebrow{font-size:9px;letter-spacing:.13em}
  h1{font-size:clamp(42px,11vw,58px);line-height:1.05;margin:20px 0}
  .lead{font-size:15px;line-height:1.6;max-width:480px}
  .hero-actions{gap:13px;margin-top:22px}
  .hero-actions .button{padding:15px 17px;font-size:12px}
  .hero-actions .text-link{font-size:12px}
  .hero-proof{margin-top:25px;font-size:11px}
  .hero-art{height:492px;width:100%;transform:none;margin:0;padding-bottom:18px;align-items:flex-end;overflow:visible}
  .hero-art .orbit{width:370px;height:370px;max-width:105vw;max-height:105vw}
  .hero-art .phone{width:255px;height:425px;border-width:6px;border-radius:29px;animation:mobile-phone-float 6s ease-in-out infinite}
  .hero-art .phone-notch{left:64px;width:85px;height:14px}
  .hero-art .chat-head{height:54px;padding:15px 9px 5px}
  .hero-art .avatar{width:26px;height:26px;font-size:21px}
  .hero-art .chat-area{height:calc(100% - 85px);padding:7px}
  .hero-art .bubble{font-size:9.5px;padding:7px;margin:6px 0}
  .hero-art .result strong{font-size:9px}
  .hero-art .result small{font-size:7px}
  .hero-art .chat-input{height:31px;padding:8px}
  .hero-art .float-tag.top{top:0;left:0;right:auto}.hero-art .float-tag.bottom{top:0;bottom:auto;left:auto;right:0}
  .hero-art .float-tag.middle{left:calc(50% - 44px);right:auto;top:0;bottom:auto}
  .hero-art .float-tag{font-size:12px;padding:10px 12px}
  .section{padding:70px 0}
  h2{font-size:clamp(37px,9.5vw,52px)}
  .experience-grid{gap:30px}
  .demo{margin:0 -8px;border-radius:14px}
  .demo-chat{height:290px;padding:47px 12px 16px}
  .demo-chat .msg{font-size:12px;max-width:90%}
  .wa-header{padding:0 11px}
  .demo-tabs button{font-size:11px}
  .demo-footer{flex-wrap:wrap;font-size:10px}
  .closing{padding:68px 0}
  .closing .button{white-space:normal}
  .funding{margin-top:42px;padding-top:28px}
  .funding-copy{grid-template-columns:1fr;gap:13px;margin-bottom:18px}
  .funding h2{font-size:29px}
  .funding-copy>p{font-size:12px}
  .funding-logo-scroll{padding:15px}
  .funding-logo-scroll img{width:830px;max-width:none}
  .funding .funding-hint{display:block;color:#aebfe4;font-size:10px;margin:8px 0 0}
  .footer-bottom{margin-top:27px}
}
@media(max-width:375px){.hero-actions{align-items:flex-start;flex-direction:column}.hero-art{height:465px}.hero-art .phone{width:230px;height:398px}.hero-art .chat-area{height:calc(100% - 85px)}.hero-art .orbit{width:335px;height:335px}}
@keyframes mobile-phone-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
@media(prefers-reduced-motion:reduce){.hero-art .phone,.hero-art .orbit,.hero-art .float-tag,.hero-art .bubble,.hero-typing i,.wa-typing i,.status-spinner{animation:none!important}}
