/* Home WhatsApp bot section. Everything scoped under .eb-wa. Transparent: the page background shows through. */
.eb-wa{
  --wa-h:#24183f; --wa-accent:#5a2fd0; --wa-brand:#402198; --wa-muted:#414d63; --wa-link:#47268d;
  --wa-primary:#6846da; --wa-primary-h:#5630bd; --wa-violet:#8463e7; --wa-lilac-line:#c9c2f2;
  --wa-lilac:#f1edff; --wa-line:#dedff3; --wa-shadow:0 8px 28px #5366ae14; --wa-wall:#f6f3ff;
  max-width:1280px; width:calc(100% - 80px); margin:0 auto; padding:calc(var(--eb-sec-half,28px) - 3px) 0 max(0px,calc(var(--eb-sec-half,28px) - 33px)); background:none; text-align:start; box-sizing:border-box;
}
.eb-wa *,.eb-wa *::before,.eb-wa *::after{box-sizing:border-box}
.eb-wa :focus-visible{outline:3px solid var(--wa-violet); outline-offset:3px}
.eb-wa-grid{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:40px; align-items:center}
.eb-wa-copy{min-width:0}
.eb-wa h2.eb-wa-h{display:flex; align-items:center; flex-wrap:nowrap; gap:8px 16px; margin:0 0 22px; padding:0 8px; font-family:'Rubik','Heebo',Arial,sans-serif; font-weight:800; letter-spacing:0; color:var(--wa-h); font-size:clamp(30px,4.4vw,54px); line-height:1.1; text-align:start; white-space:nowrap}
.eb-wa .eb-wa-sr{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap}
.eb-wa .eb-wa-dark{display:inline-block}
.eb-wa .eb-wa-pill{position:relative; display:inline-block; height:1.5em; border-radius:999px; overflow:hidden; flex:none; max-width:100%; font-size:.82em; background:#ffffff; color:#5a2fd0; font-weight:800; border:1px solid #dedff3; box-shadow:0 10px 30px #5366ae26; transition:width .55s cubic-bezier(.3,1.2,.4,1)}
.eb-wa .eb-wa-w{position:absolute; inset:0; display:flex; align-items:center; justify-content:center; opacity:0; white-space:nowrap}
.eb-wa .eb-wa-wi{display:inline-flex; align-items:center; gap:.3em}
.eb-wa .eb-wa-wm{height:.8em; width:auto; display:block; flex:none}
.eb-wa .eb-wa-w.in{opacity:1; animation:eb-waWIn .55s cubic-bezier(.2,.9,.3,1) both}
.eb-wa .eb-wa-w.out{animation:eb-waWOut .45s ease-in both}
.eb-wa:not(.is-js) .eb-wa-pill{height:auto; padding:.1em .7em}
.eb-wa:not(.is-js) .eb-wa-w{position:static}
.eb-wa:not(.is-js) .eb-wa-w:not(.in){display:none}
@keyframes eb-waWIn{from{opacity:0; transform:translateY(70%)} to{opacity:1; transform:none}}
@keyframes eb-waWOut{from{opacity:1; transform:none} to{opacity:0; transform:translateY(-70%)}}
@media (max-width:767px){ .eb-wa h2.eb-wa-h{flex-direction:column; align-items:flex-start; gap:8px; font-size:30px; margin:10px 0 14px; padding:0 4px; white-space:normal} .eb-wa .eb-wa-pill{font-size:.72em} }
@media (prefers-reduced-motion:reduce){ .eb-wa .eb-wa-pill,.eb-wa .eb-wa-w{animation:none !important; transition:none !important} }
.eb-wa p.eb-wa-sub{margin:0 0 24px; max-width:30em; color:var(--wa-muted); font-size:clamp(17px,1.6vw,20px); line-height:1.6; text-align:start}
.eb-wa-cta{display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin:0 0 28px}
.eb-wa a.eb-wa-btn{display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 26px; border-radius:999px;
  background:var(--wa-primary); color:#fff; font-family:Rubik,Arial,sans-serif; font-weight:800; font-size:17px; text-decoration:none; box-shadow:0 10px 22px -10px var(--wa-primary);
  transition:background .2s, transform .2s}
.eb-wa a.eb-wa-btn:hover{background:var(--wa-primary-h); transform:translateY(-2px)}
.eb-wa a.eb-wa-tlink{font-family:Rubik,Arial,sans-serif; font-weight:500; font-size:16px; color:var(--wa-link); text-decoration:none; padding:8px 2px; border-bottom:2px solid var(--wa-lilac-line)}
.eb-wa a.eb-wa-tlink:hover{border-bottom-color:var(--wa-primary)}

.eb-wa ul.eb-wa-chips{display:flex; flex-wrap:wrap; gap:10px; margin:0; padding:0; list-style:none}
.eb-wa ul.eb-wa-chips li{margin:0; padding:0; list-style:none}
.eb-wa .eb-wa-chip{appearance:none; cursor:pointer; display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 18px; border-radius:999px;
  background:#ffffffd9; border:1px solid var(--wa-line); color:var(--wa-h); font-family:Rubik,Arial,sans-serif; font-weight:500; font-size:16px; box-shadow:var(--wa-shadow);
  transition:background .25s, border-color .25s, color .25s, box-shadow .25s}
.eb-wa .eb-wa-chip i{width:8px; height:8px; border-radius:50%; background:var(--wa-lilac-line); flex:none; transition:background .25s}
.eb-wa .eb-wa-chip:hover{border-color:var(--wa-lilac-line); background:#fff}
.eb-wa .eb-wa-chip[aria-pressed="true"]{background:var(--wa-primary); border-color:var(--wa-primary); color:#fff; box-shadow:0 8px 18px -8px var(--wa-primary)}
.eb-wa .eb-wa-chip[aria-pressed="true"] i{background:#fff}

/* phone stage */
.eb-wa-stage{position:relative; width:470px; padding-left:170px}
.eb-wa-phone{position:relative; width:300px; height:600px; border-radius:46px; padding:9px; background:#1d1a33;
  box-shadow:0 0 0 2px #36315a inset, 0 30px 60px -24px #3b2a8a88, 0 10px 24px -10px #24183f66}
.eb-wa-phone::before{content:""; position:absolute; inset-inline-start:-3px; top:120px; width:3px; height:44px; border-radius:3px 0 0 3px; background:#2a2650}
.eb-wa-screen{position:relative; width:100%; height:100%; border-radius:38px; overflow:hidden; background:var(--wa-wall); display:flex; flex-direction:column; isolation:isolate;
  font-family:-apple-system,"Segoe UI",system-ui,sans-serif; direction:rtl; text-align:start}
.eb-wa-notch{position:absolute; top:8px; left:50%; width:84px; height:22px; margin-left:-42px; border-radius:14px; background:#1d1a33; z-index:5}
.eb-wa-sbar{flex:none; height:40px; display:flex; align-items:flex-end; justify-content:space-between; padding:0 22px 5px; font-size:12px; font-weight:600; color:#fff; background:#017561; direction:ltr}
.eb-wa-rt2{display:inline-flex; gap:5px; align-items:center}
.eb-wa-sig{display:inline-flex; gap:2px; align-items:flex-end}
.eb-wa-sig b{display:block; width:3px; background:#fff; border-radius:1px}
.eb-wa-head{flex:none; display:flex; align-items:center; gap:7px; padding:6px 8px 7px 10px; background:#008069; color:#fff}
.eb-wa-head svg{display:block; flex:none}
.eb-wa-av{width:36px; height:36px; border-radius:50%; background:#fff; display:grid; place-items:center; flex:none; overflow:hidden}
.eb-wa-av img{display:block; width:78%; height:78%; object-fit:contain}
.eb-wa-who{min-width:0; line-height:1.25}
.eb-wa-who b{display:block; font-size:16px; font-weight:700; color:#fff}
.eb-wa-who small{display:block; font-size:12px; color:#fff; min-height:15px}
.eb-wa-hico{margin-inline-start:auto; display:flex; align-items:center; gap:15px}

.eb-wa-chat{position:relative; flex:1; min-height:0; overflow:hidden; display:flex; flex-direction:column; justify-content:flex-end; gap:2px; padding:10px 14px 8px;
  background:#efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='black' stroke-width='1.4' stroke-linecap='round' opacity='.06'%3E%3Ccircle cx='14' cy='16' r='5'/%3E%3Cpath d='M44 10l3 6 6 1-4 5 1 6-6-3-6 3 1-6-4-5 6-1z'/%3E%3Cpath d='M74 14c4-6 12-2 8 4s-10 8-10 8'/%3E%3Cpath d='M12 52h14M19 45v14'/%3E%3Crect x='48' y='44' width='14' height='11' rx='3'/%3E%3Cpath d='M78 48a6 6 0 1 0 8 8'/%3E%3Cpath d='M22 80c3-5 7-5 10 0s7 5 10 0'/%3E%3Ccircle cx='66' cy='80' r='3'/%3E%3Cpath d='M82 76l8 8M90 76l-8 8'/%3E%3C/svg%3E") 0 0 / 96px 96px}
.eb-wa-today{position:absolute; top:104px; left:50%; transform:translateX(-50%); z-index:2; padding:4px 10px; border-radius:7px; background:#ffffffe6; box-shadow:0 1px 0.5px #0b141a21; font-size:12px; color:#54656f; line-height:1.2}
.eb-wa-chat.is-clear{opacity:0; transition:opacity .35s}
.eb-wa-msg{position:relative; max-width:80%; padding:6px 8px 5px; border-radius:7.5px; font-size:14.2px; line-height:1.4; color:#111b21; text-align:start;
  box-shadow:0 1px 0.5px #0b141a21; opacity:0; transform:translateY(10px); transition:opacity .35s ease, transform .35s ease; word-break:break-word}
.eb-wa-msg.in{opacity:1; transform:none}
.eb-wa-msg.user{align-self:flex-end; background:#d9fdd3}
.eb-wa-msg.bot{align-self:flex-start; background:#fff}
.eb-wa-msg.tail{margin-top:6px}
.eb-wa-msg.tail::before{content:""; position:absolute; top:0; width:8px; height:13px}
.eb-wa-msg.user.tail{border-top-left-radius:0}
.eb-wa-msg.user.tail::before{left:-8px; background:#d9fdd3; clip-path:polygon(0 0,100% 0,100% 100%)}
.eb-wa-msg.bot.tail{border-top-right-radius:0}
.eb-wa-msg.bot.tail::before{right:-8px; background:#fff; clip-path:polygon(0 0,100% 0,0 100%)}
.eb-wa-meta{display:flex; align-items:center; justify-content:flex-start; gap:3px; margin-top:1px; font-size:11px; color:#667781; line-height:1; direction:ltr}
.eb-wa-tk{display:block; width:16px; height:10px; color:#8696a0; transition:color .4s}
.eb-wa-tk.read{color:#53bdeb}
.eb-wa-tr{display:block; margin:2px 0 1px; font-style:italic; font-size:12.5px; color:#667781}

.eb-wa-dots{display:inline-flex; align-items:center; gap:4px; padding:6px 4px}
.eb-wa-dots i{width:7px; height:7px; border-radius:50%; background:#8696a0; animation:eb-wa-dot 1.1s ease-in-out infinite}
.eb-wa-dots i:nth-child(2){animation-delay:.15s} .eb-wa-dots i:nth-child(3){animation-delay:.3s}
@keyframes eb-wa-dot{0%,60%,100%{opacity:.4; transform:translateY(0)}30%{opacity:1; transform:translateY(-3px)}}

.eb-wa-msg.media{padding:3px}
.eb-wa-msg.media .eb-wa-meta{position:absolute; left:8px; bottom:7px; margin:0; padding:3px 6px; border-radius:10px; background:#00000059; color:#fff}
.eb-wa-msg.media .eb-wa-tk{color:#d0d6da}
.eb-wa-msg.media .eb-wa-tk.read{color:#53bdeb}
.eb-wa-photo{display:block; width:172px; padding:12px 12px 26px; border-radius:6px; background:#f3efe4; box-shadow:inset 0 0 0 1px #e1dac5}
.eb-wa-photo .rt{display:block; margin:0 0 7px; text-align:center; font-weight:700; font-size:12px; letter-spacing:.04em; color:#3b3a36}
.eb-wa-photo .rl{display:flex; justify-content:space-between; gap:6px; margin:0 0 4px; font-size:10px; color:#6a675d}
.eb-wa-photo .rl s{display:block; flex:1; height:2px; margin-top:5px; background:#c9c3ae; text-decoration:none}
.eb-wa-photo .rl b{font-weight:700; color:#3b3a36}
.eb-wa-photo .rs{display:block; height:1px; margin:7px 0; border-top:1px dashed #b8b29b}
.eb-wa-photo .rtot{display:flex; justify-content:space-between; font-weight:700; font-size:12px; color:#3b3a36; direction:ltr}

.eb-wa-voice{display:flex; align-items:center; gap:8px; min-width:196px; padding:2px 0 0}
.eb-wa-voice .pl{width:26px; height:26px; flex:none; display:grid; place-items:center}
.eb-wa-voice .pl svg{display:block; width:22px; height:22px}
.eb-wa-voice .vcol{flex:1; min-width:0}
.eb-wa-wave{position:relative; display:flex; align-items:center; gap:2px; height:22px; direction:ltr}
.eb-wa-wave i{display:block; width:2.5px; flex:none; border-radius:2px; background:#8696a0aa}
.eb-wa-wave i.on{background:#667781}
.eb-wa-wave em{position:absolute; top:50%; width:9px; height:9px; margin-top:-4.5px; border-radius:50%; background:#53bdeb}
.eb-wa-voice time{display:block; margin-top:1px; font-size:11px; color:#667781; direction:ltr; text-align:left}
.eb-wa-voice .vav{position:relative; width:38px; height:38px; flex:none}
.eb-wa-voice .vav .pic{display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:#c4cdd2; overflow:hidden}
.eb-wa-voice .vav .pic svg{display:block; width:30px; height:30px; margin-top:8px}
.eb-wa-voice .vav .mb{position:absolute; right:-3px; bottom:-2px; width:16px; height:16px; border-radius:50%; background:#00a884; display:grid; place-items:center; box-shadow:0 0 0 1.5px #d9fdd3}
.eb-wa-voice .vav .mb svg{display:block; width:9px; height:9px}

.eb-wa-doc{display:flex; align-items:center; gap:9px; margin:0 0 3px; padding:8px; border-radius:6px; background:#f5f6f6; min-width:206px}
.eb-wa-doc svg{display:block; flex:none; width:30px; height:36px}
.eb-wa-doc .dn{min-width:0; line-height:1.3}
.eb-wa-doc .dn b{display:block; font-size:13.5px; font-weight:500; color:#111b21}
.eb-wa-doc .dn small{font-size:11.5px; color:#667781}

.eb-wa-compose{flex:none; display:flex; align-items:center; gap:6px; padding:6px 6px 16px; background:#f0f2f5}
.eb-wa-fld{flex:1; height:36px; border-radius:18px; background:#fff; padding:0 10px; display:flex; align-items:center; gap:9px; font-size:14px; color:#667781}
.eb-wa-fld span{flex:1}
.eb-wa-fld svg{display:block; flex:none}
.eb-wa-mic{width:38px; height:38px; border-radius:50%; background:#00a884; display:grid; place-items:center; flex:none}
.eb-wa-mic svg{display:block; width:18px; height:18px}
.eb-wa-home{position:absolute; bottom:5px; left:50%; width:96px; height:4px; margin-left:-48px; border-radius:3px; background:#11111155; z-index:5}

.eb-wa-result{position:absolute; left:0; top:200px; width:186px; display:flex; align-items:center; gap:10px; padding:12px 14px 12px 12px; border-radius:16px;
  background:#fff; border:1px solid var(--wa-line); box-shadow:0 18px 36px -16px #5a2fd066, var(--wa-shadow); z-index:6;
  opacity:0; transform:translateX(-16px); transition:opacity .5s ease, transform .5s cubic-bezier(.2,.9,.3,1); pointer-events:none}
.eb-wa-result.show{opacity:1; transform:none}
.eb-wa-ri{width:36px; height:36px; border-radius:50%; background:var(--wa-lilac); display:grid; place-items:center; flex:none}
.eb-wa-ri svg{display:block; width:18px; height:18px}
.eb-wa-result b{display:block; font-family:Rubik,Arial,sans-serif; font-weight:800; font-size:16px; line-height:1.2; color:var(--wa-h)}
.eb-wa-result small{display:block; margin-top:2px; font-size:13px; color:var(--wa-muted); line-height:1.3}

@media (max-width:1060px){
  .eb-wa-grid{gap:28px}
  .eb-wa-stage{width:420px; padding-left:130px}
  .eb-wa-result{width:166px; top:210px}
}
@media (max-width:900px){
  .eb-wa{padding:calc(var(--eb-sec-half,28px) - 10px) 0 max(0px,calc(var(--eb-sec-half,28px) - 33px))}
  .eb-wa-grid{grid-template-columns:minmax(0,1fr); gap:34px}
  .eb-wa-stage{width:100%; max-width:340px; margin:0 auto; padding:40px 0 0}
  .eb-wa-phone{margin:0 auto}
  .eb-wa-result{left:0; right:0; top:0; margin:0 auto; width:max-content; max-width:92%; transform:translateY(12px)}
  .eb-wa-result.show{transform:none}
}
@media (max-width:767px){ .eb-wa{width:calc(100% - 36px)} }
@media (max-width:420px){
  .eb-wa a.eb-wa-btn{width:100%}
  .eb-wa .eb-wa-chip{padding:0 14px; font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  .eb-wa-msg,.eb-wa-result,.eb-wa-chat.is-clear,.eb-wa-chip,.eb-wa a.eb-wa-btn,.eb-wa-tk{transition:none}
  .eb-wa-dots i{animation:none}
}
