/* ===== А. Виджет CRM (хост [data-siren-widget-host]) ===== */
[data-siren-widget-host]{
  --siren-font:400 16px/1.45 'Golos Text',sans-serif;
  --siren-bg:#f3eee4; --siren-ink:#1c1b19; --siren-accent:#7c5cbf;
  --siren-border:#1c1b19;
  --siren-radius:0;
  --siren-right:24px;
  --siren-bottom:calc(24px + var(--sl-cookie-bar-h, 0px));
  --siren-z:9100;
}
@media (max-width:600px){[data-siren-widget-host]{--siren-right:16px;--siren-bottom:calc(16px + var(--sl-cookie-bar-h, 0px))}}
[data-siren-widget-host]::part(launcher){display:flex;align-items:center;justify-content:center;min-width:56px;height:56px;padding:0 15px;background:#1c1b19;color:#d4c4f7;border:0;border-radius:0;box-shadow:0 0 0 2px #f3eee4;cursor:pointer;font-size:0;letter-spacing:-.06em}
[data-siren-widget-host]::part(launcher):focus-visible{outline:2px solid #7c5cbf;outline-offset:4px}
[data-siren-widget-host]::part(launcher-label){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.slb-ic{display:inline-flex;align-items:center;font:800 24px/1 Unbounded,sans-serif;letter-spacing:-.06em;color:#d4c4f7}
.slb-word{display:inline-block;max-width:0;overflow:hidden;white-space:pre;color:#f3eee4;line-height:1.1;vertical-align:bottom;transition:max-width .28s ease}
[data-siren-widget-host]:hover .slb-word,[data-siren-widget-host]:focus-within .slb-word{max-width:7.5em}
@media (hover:none){[data-siren-widget-host]:hover .slb-word{max-width:0}}
.slb-cur{display:inline-block;width:4px;height:.95em;margin:0 3px;background:currentColor;transform:translateY(.08em);animation:slb-blink .85s step-end infinite}
@keyframes slb-blink{50%{opacity:0}}
[data-siren-widget-host]::part(panel){background:#f3eee4;border:2px solid #1c1b19;border-radius:0;box-shadow:8px 8px 0 #1c1b19;height:100%}
[data-siren-widget-host]::part(header){display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;padding:12px 12px 12px 18px;background:#fff;border-bottom:2px solid #1c1b19}
[data-siren-widget-host]::part(title){font:800 18px/1 Unbounded,sans-serif;letter-spacing:-.06em;white-space:nowrap}
[data-siren-widget-host]::part(title)::before{content:"[";color:#7c5cbf}
[data-siren-widget-host]::part(title)::after{content:"]";color:#7c5cbf}
[data-siren-widget-host]::part(subtitle){display:block;margin-top:6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#565247}
[data-siren-widget-host]::part(close){min-width:44px;min-height:44px;border:2px solid #1c1b19;border-radius:0;background:#f3eee4;color:#1c1b19;cursor:pointer}
[data-siren-widget-host]::part(close):hover{background:#d4c4f7}
[data-siren-widget-host]::part(close):focus-visible,[data-siren-widget-host]::part(send):focus-visible{outline:2px solid #7c5cbf;outline-offset:2px}
[data-siren-widget-host]::part(messages){padding:12px 16px 6px;flex:1}
[data-siren-widget-host]::part(msg-bot),[data-siren-widget-host]::part(msg-user){max-width:88%;border:2px solid #1c1b19;border-radius:0;padding:9px 12px;font-size:15px;line-height:1.42;overflow-wrap:anywhere}
[data-siren-widget-host]::part(msg-bot){background:#fff}
[data-siren-widget-host]::part(msg-user){background:#d4c4f7}
[data-siren-widget-host]::part(buttons){display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
[data-siren-widget-host]::part(form){gap:8px;padding:12px 16px;border-top:2px solid #1c1b19}
[data-siren-widget-host]::part(input){min-height:48px;border:2px solid #1c1b19;border-radius:0;background:#fff;padding:0 12px;font-size:16px;caret-color:#7c5cbf}
[data-siren-widget-host]::part(input):focus-visible{outline:2px solid #7c5cbf;outline-offset:-4px}
[data-siren-widget-host]::part(input)::placeholder{color:#565247}
[data-siren-widget-host]::part(send){min-width:48px;min-height:48px;border:0;border-radius:0;background:#1c1b19;color:#f3eee4;font-weight:600;cursor:pointer}
[data-siren-widget-host]::part(send):hover{background:#7c5cbf}
[data-siren-widget-host]::part(footer){display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:#5e4894;text-decoration:none}
@media (max-width:600px){[data-siren-widget-host]::part(panel){box-shadow:none}}
@media (prefers-reduced-motion:reduce){.slb-cur{animation:none}.slb-word{transition:none}}
#bot-live{display:block;height:520px}
#bot-live [data-siren-widget-host]{display:block;height:100%}
#bot-live [data-siren-widget-host]::part(panel){box-shadow:8px 8px 0 #1c1b19}
@media (max-width:600px){#bot-live{height:480px}#bot-live [data-siren-widget-host]::part(panel){box-shadow:6px 6px 0 #1c1b19}}

/* ===== Б. Полоса бота на главной ===== */
.svc-bot{margin-top:20px;background:#fff;border:2px solid var(--ink);padding:28px 32px;display:grid;grid-template-columns:1.2fr 1fr;gap:24px 40px;align-items:center}
.svc-bot .sm-title{margin-bottom:8px}
.svc-bot-lead{margin:0;font-size:17px;line-height:1.45}
.svc-bot .svc-more{margin:14px 0 0}
.svc-bot .text-arrow-link{display:inline-block;padding:12px 0;margin:-12px 0}
.svc-bot-chat{list-style:none;padding:0;margin:0;display:grid;gap:8px;font-size:17px;line-height:1.4}
.svc-bot-chat li{border:2px solid var(--ink);padding:10px 14px;max-width:85%}
.svc-bot-chat .me{justify-self:end;background:var(--lil)}
.svc-bot-chat .bot{justify-self:start;background:var(--paper)}
.svc-bot-try{margin:12px 0 0;font-size:15px;color:var(--mute)}
@media (max-width:900px){.svc-bot{grid-template-columns:1fr;padding:24px}.svc-bot-chat{font-size:16px}.svc-bot-chat li{max-width:94%;padding:10px 12px}}

/* ===== В. Страница /bot/ ===== */
.bot-hero{display:grid;grid-template-columns:1fr 440px;gap:56px;align-items:center;padding:56px 0 64px}
.bot-hero h1{font-size:64px;line-height:.98}
.bot-hero h1 span{color:var(--acc)}
.bot-hero .lead{font-size:22px;margin:24px 0 28px;max-width:26em}
.bot-hero .hint{margin:14px 0 0;font-size:15px;color:var(--mute)}
.bot-hero .crumbs a{display:inline-block;padding:10px 0}
.m-only{display:none}
.flow{display:grid;grid-template-columns:1fr 48px 1.7fr 48px 1fr;align-items:stretch}
.flow-col{display:flex;flex-direction:column;gap:10px;justify-content:center}
.flow-cap{font-size:13px;text-transform:uppercase;letter-spacing:.12em;color:var(--mute);margin:0 0 2px}
.flow-ch{border:2px solid var(--ink);background:#fff;padding:12px 16px;font-weight:600;font-size:17px}
.flow-arrow{display:flex;align-items:center;justify-content:center;font:800 28px/1 Unbounded,sans-serif;color:var(--acc)}
.flow-bot{background:var(--ink);color:var(--paper);padding:26px 28px}
.flow-bot .flow-cap{color:#bdb6a6}
.flow-bot-title{font:800 26px/1.1 Unbounded,sans-serif;letter-spacing:-.06em;margin:0 0 14px}
.flow-bot-title .b{color:var(--lil)}
.flow-bot-title .cc{display:inline-block;width:3px;height:.95em;margin-left:1px;background:var(--lil);transform:translateY(.08em)}
.can{list-style:none;padding:0;margin:0}
.can li{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:baseline;padding:12px 0;border-top:1px solid #4a4740}
.can li:first-child{border-top:0;padding-top:0}
.can b{font:800 34px/1 Unbounded,sans-serif;color:var(--lil);letter-spacing:-.04em}
.can span{font-size:17px;line-height:1.4}
.can strong{display:block;font-size:19px;font-weight:600;margin-bottom:2px}
.flow-out{border:2px solid var(--ink);background:var(--lil);padding:16px}
.flow-out.alt{background:#fff}
.flow-out p{margin:4px 0 0;font-size:15px;line-height:1.4}
.flow-out strong{font:800 20px/1.1 Unbounded,sans-serif;letter-spacing:-.03em}
.chats{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.mchat{border:2px solid var(--ink);background:#fff}
.mchat-head{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:2px solid var(--ink)}
.mchat-ava{flex:none;width:40px;height:40px;background:var(--lil);border:2px solid var(--ink);display:flex;align-items:center;justify-content:center;font:800 14px/1 Unbounded,sans-serif}
.mchat-head strong{display:block;font-size:17px;font-weight:600;line-height:1.2}
.mchat-head span{font-size:13px;color:var(--mute)}
.mchat-log{padding:18px;display:flex;flex-direction:column;gap:10px;background:var(--paper)}
.mm{max-width:84%;border:2px solid var(--ink);padding:9px 12px;font-size:16px;line-height:1.42}
.mm.in{align-self:flex-start;background:#fff}
.mm.out{align-self:flex-end;background:var(--lil)}
.mm time{display:block;font-size:12px;color:var(--mute);margin-top:4px;text-align:right}
.mm-sys{align-self:stretch;margin-top:4px;border:2px dashed var(--acc);background:#fff;padding:10px 12px;font-size:14px;line-height:1.4}
.mm-sys b{color:#5e4894}
.mm-sys--consent{margin:0;border:0;background:none;padding:0;text-align:center;font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--mute)}
.chat-cap{margin:12px 0 0;font-size:15px;color:var(--mute)}
.cost{display:grid;grid-template-columns:400px 1fr;gap:48px;align-items:start}
.cost-stamp{border:2px solid var(--ink);background:var(--lil);box-shadow:8px 8px 0 var(--ink);padding:28px}
.cost-stamp .price{font:800 clamp(30px,8vw,44px)/1.1 Unbounded,sans-serif;letter-spacing:-.03em;margin:0}
.cost-note{display:inline-block;margin-top:12px;border:1.5px dashed var(--ink);background:#fff;padding:3px 10px;font-size:13px;text-transform:uppercase;letter-spacing:.1em;font-weight:600}
.cost-stamp p{margin:14px 0 0;font-size:16px}
.cost-stamp .btn{margin-top:22px}
.incl{list-style:none;padding:0;margin:0;border-top:1px solid var(--ink)}
.incl li{display:grid;grid-template-columns:28px 1fr;gap:10px;padding:16px 0;border-bottom:1px solid var(--ink);font-size:18px;line-height:1.4}
.incl li::before{content:"→";color:var(--acc);font-weight:600}
.incl small{display:block;color:var(--mute);font-size:15px}
@media (max-width:1100px){.bot-hero{grid-template-columns:1fr 400px;gap:32px}.bot-hero h1{font-size:52px}}
@media (max-width:900px){
  .d-only{display:none}.m-only{display:inline}
  .bot-hero{grid-template-columns:1fr;padding:36px 0 48px}
  .bot-hero>div:first-child{order:1}
  #bot-live{order:2}
  .bot-hero h1{font-size:40px}
  .bot-hero .lead{font-size:19px}
  .flow{grid-template-columns:1fr;gap:0}
  .flow-arrow{height:48px;transform:rotate(90deg)}
  .flow-col.ch{flex-direction:row;flex-wrap:wrap}
  .flow-col.ch .flow-cap{flex-basis:100%}
  .flow-col.ch .flow-ch{flex:1 1 40%}
  .chats{grid-template-columns:1fr}
  .cost{grid-template-columns:1fr;gap:36px}
}
@media (max-width:600px){
  .bot-hero{display:flex;flex-direction:column}
  .bot-hero>div:first-child{order:1}
  #bot-live{order:2}
}
@media (max-width:480px){
  .bot-hero h1{font-size:34px}
  .flow-bot{padding:22px 20px}
  .can li{grid-template-columns:52px 1fr}
  .can b{font-size:28px}
  .cost-stamp{box-shadow:6px 6px 0 var(--ink);padding:22px}
  .mchat-log{padding:14px}
  .mm{max-width:90%}
}
