/* ===== FAQ-Bot ===== */
.bot {
  position: fixed; left: 20px; bottom: 90px; z-index: 70;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 120px));
  display: flex; flex-direction: column;
  background: #221a12; color: #fff; border: 1px solid rgba(230,163,66,.35);
  border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.6);
  transform-origin: bottom left; animation: botIn .25s cubic-bezier(.2,.8,.2,1);
}
.bot[hidden] { display: none; }
@keyframes botIn { from { opacity: 0; transform: scale(.9) translateY(10px); } }
@media (max-width: 480px) { .bot { left: 16px; bottom: 84px; } }

.bot__head { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: var(--red); }
.bot__head img { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); padding: 3px; }
.bot__head div { flex: 1; line-height: 1.15; }
.bot__head strong { font-family: var(--f-cond); text-transform: uppercase; font-size: 1.05rem; display: block; }
.bot__head small { opacity: .8; font-size: .78rem; }
.bot__close { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 .3rem; }

.bot__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; font-size: .95rem; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: .6rem .85rem; border-radius: 14px; line-height: 1.4; white-space: pre-line; animation: botIn .2s ease; }
.msg--bot { background: #3a2f25; border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--gold); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--gold); font-weight: 700; }
.msg .msg-cta { display: inline-flex; margin-top: .5rem; background: var(--wa); color: #fff; padding: .4em .9em; border-radius: 999px; text-decoration: none; font-family: var(--f-cond); text-transform: uppercase; font-size: .85rem; }
.msg--typing { display: flex; gap: 4px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }

.bot__chips { display: flex; gap: .4rem; overflow-x: auto; padding: 0 1rem .6rem; scrollbar-width: none; }
.bot__chips button { flex: none; background: transparent; color: var(--gold); border: 1px solid rgba(230,163,66,.5); border-radius: 999px; padding: .35em .8em; font: inherit; font-size: .82rem; cursor: pointer; }
.bot__chips button:hover { background: var(--gold); color: var(--ink); }

.bot__form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid rgba(255,255,255,.08); }
.bot__form input { flex: 1; font: inherit; font-size: 1rem; background: var(--ink); color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; padding: .6em 1em; }
.bot__form input:focus { outline: none; border-color: var(--gold); }
.bot__form button { width: 44px; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; font-size: 1rem; }
