/* ================= SALES CHAT WIDGET (public homepage) ================= */
/* Loaded only on index.html, alongside the shared styles.css. */
.sales-chat { position: fixed; right: 22px; bottom: 22px; z-index: 999; font-family: 'Inter', sans-serif; }
.sales-chat.is-open .sales-chat__toggle { display: none; }
.sales-chat__toggle { display: flex; align-items: center; gap: 8px; background: var(--orange); color: var(--black); border: none; border-radius: 999px; padding: 14px 20px; font-weight: 700; font-size: 14px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.35); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.sales-chat__toggle:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255,107,43,0.4); }
.sales-chat__panel { position: fixed; right: 22px; bottom: 22px; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 100px); background: var(--navy); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); display: flex; flex-direction: column; overflow: hidden; }
.sales-chat__panel[hidden] { display: none; }
.sales-chat__header { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; background: var(--navy-card); border-bottom: 1px solid var(--border); }
.sales-chat__header-info { display: flex; align-items: center; gap: 10px; }
.sales-chat__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--black); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 14px; letter-spacing: 0.5px; flex-shrink: 0; }
.sales-chat__title { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.5px; font-size: 16px; color: var(--white); }
.sales-chat__subtitle { font-size: 11px; color: var(--light-grey); }
.sales-chat__close { background: none; border: none; color: var(--light-grey); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px; }
.sales-chat__close:hover { color: var(--white); }
.sales-chat__messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.sales-chat__msg { max-width: 88%; font-size: 13.5px; line-height: 1.5; padding: 10px 13px; border-radius: 12px; }
.sales-chat__msg.user { align-self: flex-end; background: var(--gold); color: var(--black); border-bottom-right-radius: 3px; }
.sales-chat__msg.aris { align-self: flex-start; background: var(--navy-card); color: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 3px; }
.sales-chat__msg.aris strong { color: var(--gold); }
.sales-chat__cta { align-self: flex-start; }
.sales-chat__cta-btn { display: inline-block; background: var(--orange); color: var(--black); font-weight: 700; font-size: 12.5px; padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.sales-chat__cta-btn:hover { background: #FF7F47; color: var(--black); }
.sales-chat__typing { align-self: flex-start; display: flex; gap: 4px; padding: 10px 13px; }
.sales-chat__typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--light-grey); animation: salesChatBounce 1.2s infinite ease-in-out; display: block; }
.sales-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.sales-chat__typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes salesChatBounce { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.sales-chat__input-row { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--border); background: var(--navy-card); }
.sales-chat__input { flex: 1; min-width: 0; background: var(--black); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; color: var(--white); font-size: 13.5px; font-family: 'Inter', sans-serif; }
.sales-chat__input:focus { outline: none; border-color: var(--gold); }
.sales-chat__send { background: var(--orange); border: none; color: var(--black); width: 38px; border-radius: 8px; cursor: pointer; font-size: 16px; font-weight: 700; flex-shrink: 0; }
.sales-chat__send:hover { background: #FF7F47; }
.sales-chat__send:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 480px) { .sales-chat { right: 16px; bottom: 16px; } .sales-chat__panel { right: 16px; bottom: 16px; width: calc(100vw - 32px); height: calc(100vh - 90px); } }
