/* Support section (#podpora) and the AI chat widget. Behaviour in support-chat.js. */

/* ---------- Support section ---------- */
.support{background:#0c2239;color:#f3f5f6;padding:clamp(80px,11vw,150px) 20px}
.support-inner{max-width:1200px;margin:0 auto;display:grid;gap:48px}
.support-kicker{display:inline-flex;align-items:center;gap:10px;margin:0 0 20px;font-size:12px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:#b9d8eb}
.support-dot,.lf-chat-online,.lf-chat-launcher-dot{width:8px;height:8px;border-radius:50%;background:#34d27b;box-shadow:0 0 0 0 #34d27b99;animation:lf-pulse 2s infinite}
@keyframes lf-pulse{70%{box-shadow:0 0 0 8px #34d27b00}100%{box-shadow:0 0 0 0 #34d27b00}}
.support-intro h2{margin:0;font:var(--lf-display-weight,400) clamp(64px,11vw,160px)/.88 var(--lf-display);text-transform:uppercase;letter-spacing:.005em;color:#fff}
.support-intro>p{max-width:28rem;margin:24px 0 0;font-size:18px;line-height:1.55;color:#c5d3dc}
.support-cta{display:inline-flex;align-items:center;gap:12px;margin-top:32px;min-height:54px;padding:0 26px;border:0;border-radius:999px;background:#fff;color:#0c2239;font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:transform .2s,box-shadow .2s}
.support-cta:hover{transform:translateY(-2px);box-shadow:0 12px 28px -12px #000}
.support-cta:focus-visible{outline:2px solid #fff;outline-offset:4px}
.support-faq{border-top:1px solid #ffffff26}
.support-faq details{border-bottom:1px solid #ffffff26}
.support-faq summary{position:relative;list-style:none;cursor:pointer;padding:24px 48px 24px 0;font-size:clamp(17px,1.5vw,20px);font-weight:600;line-height:1.35;color:#fff}
.support-faq summary::-webkit-details-marker{display:none}
.support-faq summary::after{content:"";position:absolute;right:6px;top:50%;width:12px;height:12px;border-right:2px solid #b9d8eb;border-bottom:2px solid #b9d8eb;transform:translateY(-70%) rotate(45deg);transition:transform .25s}
.support-faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.support-faq summary:focus-visible{outline:2px solid #fff;outline-offset:4px}
.support-faq details p{margin:0;padding:0 48px 26px 0;font-size:16px;line-height:1.65;color:#c5d3dc}
@media (min-width:960px){
 .support-inner{grid-template-columns:.9fr 1.1fr;gap:8%;align-items:start}
 .support-intro{position:sticky;top:120px}
}

/* ---------- Chat widget ---------- */
.lf-chat{position:fixed;right:20px;bottom:20px;z-index:90;font-family:var(--body,'Switzer'),system-ui,sans-serif}
.lf-chat-launcher{position:relative;display:flex;align-items:center;gap:10px;height:58px;padding:0 20px 0 18px;border:0;border-radius:999px;background:#173f5d;color:#fff;font:inherit;font-size:14px;font-weight:700;cursor:pointer;box-shadow:0 14px 34px -12px #061a2bcc,inset 0 1px 0 #ffffff26;transition:transform .2s,background .2s}
.lf-chat-launcher:hover{transform:translateY(-2px);background:#0f3049}
.lf-chat-launcher:focus-visible{outline:3px solid #498bc0;outline-offset:3px}
.lf-chat-launcher svg{width:22px;height:22px}
.lf-chat-launcher-dot{position:absolute;top:10px;left:34px;border:2px solid #173f5d}
.lf-chat.is-open .lf-chat-launcher{display:none}
/* Phones: the launcher stays hidden at the top of the page and fades in once the visitor scrolls (support-chat.js sets .is-scrolled). */
@media (max-width:640px){.lf-chat:not(.is-scrolled) .lf-chat-launcher{opacity:0;visibility:hidden;pointer-events:none;transform:translateY(12px)}.lf-chat-launcher{transition:transform .3s,background .2s,opacity .3s,visibility 0s}.lf-chat:not(.is-scrolled) .lf-chat-launcher{transition:transform .3s,opacity .3s,visibility 0s .3s}}
@media (max-width:640px){.lf-chat{right:14px;bottom:14px}.lf-chat-launcher{width:58px;padding:0;justify-content:center}.lf-chat-launcher-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.lf-chat-launcher-dot{left:auto;right:12px}}

.lf-chat-panel{display:flex;flex-direction:column;width:min(400px,calc(100vw - 28px));height:min(620px,calc(100svh - 40px));border-radius:22px;overflow:hidden;background:#fff;color:#182d3c;box-shadow:0 30px 80px -24px #061a2bb3,0 0 0 1px #18374b14;transform-origin:bottom right;animation:lf-in .28s cubic-bezier(.2,.9,.3,1.15)}
.lf-chat-panel[hidden]{display:none}
@keyframes lf-in{from{opacity:0;transform:translateY(12px) scale(.96)}}
@media (max-width:640px){.lf-chat.is-open{inset:0;right:0;bottom:0}.lf-chat-panel{width:100vw;height:100svh;border-radius:0}}
.lf-chat-head{display:flex;align-items:center;gap:12px;padding:16px 16px 16px 18px;background:#0c2239;color:#fff}
.lf-chat-head img{border-radius:10px;background:#fff}
.lf-chat-head h2{margin:0;font-size:16px;font-weight:700;letter-spacing:-.01em}
.lf-chat-head p{display:flex;align-items:center;gap:7px;margin:2px 0 0;font-size:12px;color:#b9d8eb}
.lf-chat-online{display:inline-block}
.lf-chat-close{margin-left:auto;width:36px;height:36px;border:0;border-radius:50%;background:#ffffff1a;color:#fff;font-size:22px;line-height:1;cursor:pointer}
.lf-chat-close:hover{background:#ffffff33}
.lf-chat-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
.lf-chat-log{flex:1;overflow-y:auto;padding:18px 16px;display:flex;flex-direction:column;gap:10px;background:#f3f5f6;overscroll-behavior:contain}
.lf-msg{max-width:86%;padding:11px 14px;border-radius:16px;font-size:14.5px;line-height:1.5;overflow-wrap:anywhere}
.lf-msg-assistant{align-self:flex-start;background:#fff;border-bottom-left-radius:6px;box-shadow:0 1px 2px #18374b14}
.lf-msg-user{align-self:flex-end;background:#173f5d;color:#fff;border-bottom-right-radius:6px}
.lf-msg.is-error{background:#fff4f2;color:#8a2c1d}
.lf-dots{display:inline-flex;gap:4px;padding:4px 0}
.lf-dots i{width:7px;height:7px;border-radius:50%;background:#9fb3c2;animation:lf-dot 1s infinite}
.lf-dots i:nth-child(2){animation-delay:.15s}.lf-dots i:nth-child(3){animation-delay:.3s}
@keyframes lf-dot{50%{transform:translateY(-4px);opacity:.5}}
.lf-chat-suggest{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px;background:#f3f5f6}
.lf-chat-suggest[hidden]{display:none}
.lf-chat-suggest button{padding:8px 12px;border:1px solid #cfdbe3;border-radius:999px;background:#fff;color:#173f5d;font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.lf-chat-suggest button:hover{border-color:#173f5d}
.lf-chat-form{display:flex;align-items:flex-end;gap:8px;padding:12px 12px 8px;border-top:1px solid #e3eaef}
.lf-chat-form textarea{flex:1;resize:none;max-height:120px;padding:11px 14px;border:1px solid #cfdbe3;border-radius:14px;font:inherit;font-size:15px;line-height:1.4;color:#182d3c;background:#fff}
.lf-chat-form textarea:focus{outline:2px solid #173f5d;outline-offset:-1px;border-color:transparent}
.lf-chat-send{display:grid;place-items:center;flex:none;width:44px;height:44px;border:0;border-radius:12px;background:#173f5d;color:#fff;cursor:pointer}
.lf-chat-send:disabled{opacity:.45;cursor:default}
.lf-chat-send svg{width:20px;height:20px}
.lf-chat-note{margin:0;padding:0 16px 12px;font-size:11px;line-height:1.45;color:#7a8a95}
.lf-chat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

@media (prefers-reduced-motion:reduce){.support-dot,.lf-chat-online,.lf-chat-launcher-dot,.lf-dots i{animation:none}.lf-chat-panel{animation:none}}
