/* Hypercognito Live Chat – front-end styles
   Colours come from CSS variables printed by the plugin (see settings.php).
   Every rule is namespaced with .hclc- so it does not clash with your theme. */

/* ---------- base ---------- */
.hclc-root,.hclc-root *,.hclc-root *::before,.hclc-root *::after{box-sizing:border-box}
.hclc-root{font-family:var(--hclc-font-body);color:var(--hclc-text);line-height:1.5;text-align:left;-webkit-font-smoothing:antialiased}
.hclc-root h2,.hclc-root h3,.hclc-root h4,.hclc-root p{margin:0;padding:0;letter-spacing:normal;text-transform:none}
.hclc-root button,.hclc-root input,.hclc-root textarea{font-family:inherit;font-size:16px;margin:0;text-transform:none;letter-spacing:normal}
.hclc-root button{cursor:pointer}
.hclc-root a{text-decoration:none}
.hclc-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hclc-i{width:1.15em;height:1.15em;flex:none;display:block}
.hclc-root :focus-visible{outline:2px solid var(--hclc-accent);outline-offset:2px}
.hclc-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* ---------- heading effects ---------- */
.hclc-fx{
  background-image:linear-gradient(90deg,var(--hclc-t1),var(--hclc-t2),var(--hclc-t3)),linear-gradient(var(--hclc-text),var(--hclc-text));
  background-repeat:no-repeat;background-size:0% 100%,100% 100%;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  transition:background-size .8s cubic-bezier(.2,.8,.2,1);
}
.hclc-title:hover .hclc-fx,.hclc-sec-title:hover .hclc-fx,.hclc-card:hover .hclc-fx,.hclc-card:focus-visible .hclc-fx{background-size:100% 100%,100% 100%}
.hclc-root[data-fx="sweep"] .hclc-fx{
  background-image:linear-gradient(100deg,var(--hclc-text) 0 38%,var(--hclc-t1) 45%,var(--hclc-t2) 50%,var(--hclc-t3) 55%,var(--hclc-text) 62% 100%);
  background-size:320% 100%;background-position:100% 0;transition:background-position 1s ease;
}
.hclc-root[data-fx="sweep"] .hclc-title:hover .hclc-fx,.hclc-root[data-fx="sweep"] .hclc-sec-title:hover .hclc-fx,.hclc-root[data-fx="sweep"] .hclc-card:hover .hclc-fx{background-position:0 0;background-size:320% 100%}
.hclc-root[data-fx="none"] .hclc-fx{background:none;-webkit-text-fill-color:currentColor;color:inherit}
.hclc-grad{
  background-image:linear-gradient(120deg,var(--hclc-t1),var(--hclc-t2),var(--hclc-t3),var(--hclc-t1));
  background-size:200% 100%;background-position:0 0;
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  transition:background-position .9s ease;
}
.hclc-title:hover .hclc-grad,.hclc-sec-title:hover .hclc-grad{background-position:100% 0}

/* ---------- floating widget ---------- */
.hclc-widget{position:fixed;bottom:var(--hclc-oy,22px);z-index:99990;font-size:14px}
.hclc-widget[data-pos="right"]{right:var(--hclc-ox,22px)}
.hclc-widget[data-pos="left"]{left:var(--hclc-ox,22px)}

/* launcher */
.hclc-launcher{
  position:relative;display:flex;align-items:center;gap:10px;height:58px;padding:0 22px 0 16px;border:0;border-radius:999px;
  background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2) 55%,var(--hclc-g3));color:var(--hclc-btn);
  font-weight:700;font-size:15px;box-shadow:0 12px 30px -6px var(--hclc-tint),0 6px 18px rgba(0,0,0,.28);
  transition:transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s;overflow:visible;
}
.hclc-widget[data-pos="right"] .hclc-launcher{margin-left:auto}
.hclc-launcher::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.45) 50%,transparent 70%);transform:translateX(-120%);transition:transform .7s}
.hclc-launcher:hover{transform:translateY(-3px) scale(1.03)}
.hclc-launcher:hover::before{transform:translateX(120%)}
.hclc-launch-ico{position:relative;width:26px;height:26px;display:block}
.hclc-launch-ico .hclc-i{position:absolute;inset:0;width:26px;height:26px;transition:transform .35s cubic-bezier(.16,1,.3,1),opacity .25s}
.hclc-ico-shut{opacity:0;transform:rotate(-90deg) scale(.4)}
.hclc-widget.is-open .hclc-ico-open{opacity:0;transform:rotate(90deg) scale(.4)}
.hclc-widget.is-open .hclc-ico-shut{opacity:1;transform:none}
.hclc-widget[data-style="round"] .hclc-launcher{width:58px;padding:0;justify-content:center}
.hclc-widget[data-style="round"] .hclc-launch-label{display:none}
.hclc-launch-dot{position:absolute;top:2px;right:2px;width:14px;height:14px;border:2px solid var(--hclc-bg);box-sizing:content-box}
.hclc-widget[data-anim="1"]:not(.is-open) .hclc-launcher{animation:hclc-ring 2.8s ease-out infinite}
@keyframes hclc-ring{0%{box-shadow:0 12px 30px -6px var(--hclc-tint),0 0 0 0 var(--hclc-tint)}70%,100%{box-shadow:0 12px 30px -6px var(--hclc-tint),0 0 0 16px transparent}}
.hclc-widget.is-open .hclc-launch-label{display:none}
.hclc-widget.is-open .hclc-launcher{width:58px;padding:0;justify-content:center}

/* status dot */
.hclc-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#22c55e;flex:none;position:relative}
.hclc-widget[data-status="offline"] .hclc-dot,.hclc-status[data-status="offline"] .hclc-dot{background:#f59e0b}
.hclc-widget[data-anim="1"] .hclc-status[data-status="online"] .hclc-dot::after{content:"";position:absolute;inset:-4px;border-radius:50%;border:2px solid #22c55e;opacity:.6;animation:hclc-pulse 1.8s ease-out infinite}
@keyframes hclc-pulse{0%{transform:scale(.6);opacity:.7}100%{transform:scale(1.6);opacity:0}}

/* teaser */
.hclc-teaser{position:absolute;bottom:72px;max-width:260px;padding:12px 34px 12px 14px;background:var(--hclc-bg);color:var(--hclc-text);border:1px solid var(--hclc-line);border-radius:16px 16px 4px 16px;box-shadow:var(--hclc-shadow);font-size:13.5px;opacity:0;visibility:hidden;transform:translateY(8px) scale(.96);transition:opacity .35s,transform .35s cubic-bezier(.16,1,.3,1),visibility .35s}
.hclc-widget[data-pos="right"] .hclc-teaser{right:0}
.hclc-widget[data-pos="left"] .hclc-teaser{left:0;border-radius:16px 16px 16px 4px}
.hclc-teaser.is-show{opacity:1;visibility:visible;transform:none}
.hclc-widget.is-open .hclc-teaser{display:none}
.hclc-teaser-x{position:absolute;top:6px;right:6px;width:24px;height:24px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--hclc-muted);padding:0}
.hclc-teaser-x .hclc-i{width:14px;height:14px}
.hclc-teaser-x:hover{background:var(--hclc-soft);color:var(--hclc-text)}

/* panel */
.hclc-panel{
  position:absolute;bottom:72px;width:392px;max-width:calc(100vw - 24px);max-height:min(700px,calc(100vh - 110px));display:flex;flex-direction:column;overflow:hidden;
  background:var(--hclc-bg);color:var(--hclc-text);border:1px solid var(--hclc-line);border-radius:var(--hclc-radius);box-shadow:var(--hclc-shadow);
  opacity:0;visibility:hidden;pointer-events:none;transform:translateY(14px) scale(.96);
  transition:opacity .3s,transform .35s cubic-bezier(.16,1,.3,1),visibility .3s;
}
.hclc-widget[data-pos="right"] .hclc-panel{right:0;transform-origin:bottom right}
.hclc-widget[data-pos="left"] .hclc-panel{left:0;transform-origin:bottom left}
.hclc-widget.is-open .hclc-panel{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.hclc-widget.hclc-no-launcher .hclc-panel{bottom:0}

/* header */
.hclc-head{position:relative;display:flex;align-items:center;gap:12px;padding:16px;background:linear-gradient(135deg,var(--hclc-tint),transparent 75%),var(--hclc-bg)}
.hclc-head::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,var(--hclc-g1),var(--hclc-g2),var(--hclc-g3))}
.hclc-logo{flex:none;background:#fff;border-radius:12px;padding:6px 9px;display:grid;place-items:center;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.hclc-logo img{display:block;height:38px;width:auto;max-width:92px;object-fit:contain}
.hclc-headtext{min-width:0;flex:1}
.hclc-title{font-family:var(--hclc-font-head);font-size:18px;line-height:1.2;font-weight:700;color:var(--hclc-text)}
.hclc-status{display:flex;align-items:center;gap:8px;margin-top:5px;font-size:12px;line-height:1.3;color:var(--hclc-muted)}
.hclc-actions{display:flex;gap:6px;align-self:flex-start}
.hclc-iconbtn{width:34px;height:34px;display:grid;place-items:center;padding:0;border-radius:50%;border:1px solid var(--hclc-line);background:var(--hclc-soft);color:var(--hclc-text);transition:transform .25s,background .25s,border-color .25s,color .25s}
.hclc-iconbtn .hclc-i{width:17px;height:17px}
.hclc-iconbtn:hover{border-color:var(--hclc-accent);color:var(--hclc-accent);transform:rotate(14deg)}
.hclc-close:hover{transform:rotate(90deg)}
.hclc-root[data-mode="dark"] .hclc-ico-moon,.hclc-root[data-mode="light"] .hclc-ico-sun{display:none}

/* tabs */
.hclc-tabs{position:relative;display:grid;grid-template-columns:repeat(var(--n,2),1fr);gap:0;margin:14px 16px 0;padding:4px;border-radius:14px;background:var(--hclc-soft);border:1px solid var(--hclc-line)}
.hclc-tabind{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/var(--n,2));border-radius:10px;background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2) 60%,var(--hclc-g3));box-shadow:0 6px 16px -6px var(--hclc-tint);transition:transform .4s cubic-bezier(.16,1,.3,1)}
.hclc-tabs .hclc-tabind{transform:translateX(calc(var(--i,0)*100%))}
.hclc-tab{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:6px;height:38px;padding:0 4px;border:0;background:transparent;border-radius:10px;color:var(--hclc-muted);font-weight:600;font-size:13px;transition:color .25s}
.hclc-tab:hover{color:var(--hclc-text)}
.hclc-tab[aria-selected="true"]{color:var(--hclc-btn)}

/* body */
.hclc-body{padding:16px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.hclc-pane[hidden]{display:none}
.hclc-pane{animation:hclc-in .35s ease both}
@keyframes hclc-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.hclc-label{margin:14px 0 8px;font-size:12.5px;font-weight:600;color:var(--hclc-muted)}

.hclc-bubble{position:relative;padding:12px 14px;border-radius:16px 16px 16px 4px;background:var(--hclc-soft);border:1px solid var(--hclc-line);font-size:13.5px;line-height:1.55}
.hclc-typing{display:none;gap:5px;padding:5px 0}
.hclc-typing i{width:7px;height:7px;border-radius:50%;background:var(--hclc-muted);animation:hclc-bounce 1s infinite ease-in-out}
.hclc-typing i:nth-child(2){animation-delay:.15s}.hclc-typing i:nth-child(3){animation-delay:.3s}
@keyframes hclc-bounce{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-5px);opacity:1}}
.hclc-bubble.is-typing .hclc-typing{display:flex}
.hclc-bubble.is-typing .hclc-bubble-text{display:none}

/* agents */
.hclc-agents{display:grid;gap:8px;margin-top:12px}
.hclc-label+.hclc-agents{margin-top:0}
.hclc-agent{position:relative;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--hclc-line);border-radius:14px;background:var(--hclc-soft);cursor:pointer;transition:transform .25s cubic-bezier(.16,1,.3,1),border-color .25s,background .25s,box-shadow .25s}
.hclc-agent input{position:absolute;opacity:0;pointer-events:none}
.hclc-agent:hover{transform:translateY(-2px);border-color:var(--hclc-accent)}
.hclc-agent.is-selected{border-color:var(--hclc-accent);background:var(--hclc-tint);box-shadow:0 0 0 1px var(--hclc-accent) inset}
.hclc-agent:focus-within{outline:2px solid var(--hclc-accent);outline-offset:2px}
.hclc-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}
.hclc-avatar--ini{display:grid;place-items:center;background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2),var(--hclc-g3));color:var(--hclc-btn);font-weight:700;font-size:14px}
.hclc-agent-text{display:flex;flex-direction:column;min-width:0;flex:1}
.hclc-agent-text strong{font-size:14px;font-weight:700;color:var(--hclc-text)}
.hclc-agent-text small{font-size:12px;color:var(--hclc-muted)}
.hclc-agent-wa{color:#1fa855;width:22px;height:22px;opacity:.55;transition:opacity .25s,transform .25s}
.hclc-agent-wa .hclc-i{width:22px;height:22px}
.hclc-agent.is-selected .hclc-agent-wa,.hclc-agent:hover .hclc-agent-wa{opacity:1;transform:scale(1.1)}

/* chips */
.hclc-chips{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 2px}
.hclc-chip{padding:7px 12px;border-radius:999px;border:1px solid var(--hclc-line);background:var(--hclc-soft) linear-gradient(90deg,var(--hclc-g1),var(--hclc-g2)) no-repeat 0 0/0% 100%;color:var(--hclc-text);font-size:12.5px;font-weight:500;line-height:1.2;transition:background-size .45s cubic-bezier(.2,.8,.2,1),color .3s,border-color .3s,transform .25s}
.hclc-chip:hover{background-size:100% 100%;color:var(--hclc-btn);border-color:transparent;transform:translateY(-1px)}

/* forms */
.hclc-form{display:grid;gap:10px;margin-top:12px}
.hclc-input{display:block;width:100%;padding:12px 14px;border-radius:12px;border:1px solid var(--hclc-line);background:var(--hclc-soft);color:var(--hclc-text);font-size:14px;line-height:1.4;box-shadow:none;transition:border-color .25s,box-shadow .25s,background .25s}
.hclc-input::placeholder{color:var(--hclc-muted);opacity:1}
.hclc-input:focus{outline:none;border-color:var(--hclc-accent);box-shadow:0 0 0 3px var(--hclc-tint)}
.hclc-textarea{resize:vertical;min-height:84px;max-height:200px}
.hclc-check{display:flex;gap:10px;align-items:flex-start;font-size:12.5px;color:var(--hclc-muted);cursor:pointer}
.hclc-check input{width:17px;height:17px;margin-top:1px;accent-color:var(--hclc-g2);flex:none}
.hclc-error{padding:9px 12px;border-radius:10px;background:rgba(239,68,68,.12);border:1px solid rgba(239,68,68,.45);color:#ef4444;font-size:12.5px;font-weight:600}
.hclc-root[data-mode="dark"] .hclc-error{color:#fca5a5}
.hclc-error[hidden]{display:none}
.hclc-error.is-info{background:var(--hclc-tint);border-color:var(--hclc-accent);color:var(--hclc-text)}

/* buttons */
.hclc-btn{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:9px;width:100%;height:48px;border:0;border-radius:12px;font-weight:700;font-size:14.5px;transition:transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s,filter .25s}
.hclc-btn::before{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 30%,rgba(255,255,255,.4) 50%,transparent 70%);transform:translateX(-120%);transition:transform .6s}
.hclc-btn:hover{transform:translateY(-2px)}
.hclc-btn:hover::before{transform:translateX(120%)}
.hclc-btn:active{transform:translateY(0)}
.hclc-btn--wa{background:linear-gradient(135deg,#25b866,#0f7a4a);color:#fff;box-shadow:0 10px 22px -8px rgba(31,168,85,.6)}
.hclc-btn--grad{background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2) 55%,var(--hclc-g3));color:var(--hclc-btn);box-shadow:0 10px 22px -8px var(--hclc-tint)}
.hclc-btn .hclc-i{width:19px;height:19px}
.hclc-spin{display:none;width:18px;height:18px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:hclc-rot .7s linear infinite}
.hclc-btn.is-loading{pointer-events:none;filter:saturate(.8)}
.hclc-btn.is-loading .hclc-spin{display:block}
.hclc-btn.is-loading .hclc-i{display:none}
@keyframes hclc-rot{to{transform:rotate(360deg)}}
.hclc-linkbtn{background:none;border:0;padding:4px;color:var(--hclc-accent);font-weight:600;text-decoration:underline;text-underline-offset:3px}

/* success */
.hclc-success{display:grid;justify-items:center;gap:12px;padding:18px 6px 6px;text-align:center}
.hclc-success[hidden]{display:none}
.hclc-tick{width:72px;height:72px}
.hclc-tick circle{stroke:var(--hclc-accent);stroke-width:2.5;stroke-dasharray:151;stroke-dashoffset:151;animation:hclc-draw .7s .05s ease forwards}
.hclc-tick path{stroke:var(--hclc-accent);stroke-width:3.5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:hclc-draw .45s .55s ease forwards}
@keyframes hclc-draw{to{stroke-dashoffset:0}}
.hclc-success-text{font-size:14px;line-height:1.55}

/* footer */
.hclc-foot{padding:9px 16px;border-top:1px solid var(--hclc-line);text-align:center;font-size:11px;color:var(--hclc-muted)}
.hclc-foot a{color:var(--hclc-accent);font-weight:600}

/* inline button shortcode */
.hclc-inline-btn{display:inline-flex;align-items:center;gap:10px;padding:13px 24px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2) 55%,var(--hclc-g3));color:var(--hclc-btn);font-weight:700;font-size:15px;box-shadow:0 10px 24px -8px var(--hclc-tint);transition:transform .25s,box-shadow .25s}
.hclc-inline-btn:hover{transform:translateY(-3px);box-shadow:0 16px 30px -8px var(--hclc-tint)}

/* ---------- on-site chat ---------- */
.hclc-root [hidden]{display:none!important}
.hclc-tab-badge{display:none;position:absolute;top:2px;right:6px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#ef4444;color:#fff;font:700 10px/16px var(--hclc-font-body);font-style:normal;text-align:center}
.hclc-tab-badge.is-on{display:block}
.hclc-launcher.has-unread .hclc-launch-dot{background:#ef4444;animation:hclc-pop .6s ease 4}
@keyframes hclc-pop{50%{transform:scale(1.6)}}
.hclc-note{font-size:11.5px;line-height:1.5;color:var(--hclc-muted)}
.hclc-convo{display:flex;flex-direction:column;gap:10px}
.hclc-convo-top{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--hclc-muted)}
.hclc-convo-state{display:flex;align-items:center;gap:7px;min-width:0}
.hclc-convo-state-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hclc-convo[data-state="waiting"] .hclc-convo-state .hclc-dot{background:#f59e0b}
.hclc-convo-links{display:flex;gap:10px;flex:none}
.hclc-convo-links .hclc-linkbtn{font-size:12px;padding:2px}
.hclc-msgs{display:flex;flex-direction:column;gap:8px;height:300px;max-height:calc(100vh - 400px);min-height:150px;overflow-y:auto;padding:4px 2px;overscroll-behavior:contain;scrollbar-width:thin}
.hclc-cm{display:flex;flex-direction:column;max-width:86%;animation:hclc-in .3s ease both}
.hclc-cm-body{padding:9px 13px;border-radius:16px;font-size:13.5px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.hclc-cm--me{align-self:flex-end}
.hclc-cm--me .hclc-cm-body{background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2) 60%,var(--hclc-g3));color:var(--hclc-btn);border-bottom-right-radius:4px}
.hclc-cm--me.is-pending{opacity:.6}
.hclc-cm--ai,.hclc-cm--agent{align-self:flex-start}
.hclc-cm--ai .hclc-cm-body,.hclc-cm--agent .hclc-cm-body{background:var(--hclc-soft);border:1px solid var(--hclc-line);border-bottom-left-radius:4px}
.hclc-cm--agent .hclc-cm-body{border-color:var(--hclc-accent);background:var(--hclc-tint)}
.hclc-cm--sys{align-self:center;max-width:94%;text-align:center}
.hclc-cm--sys .hclc-cm-body{background:none;border:0;padding:4px 8px;font-size:12px;color:var(--hclc-muted)}
.hclc-cm-who{display:flex;align-items:center;gap:6px;margin:0 0 3px 6px;font-size:11px;color:var(--hclc-muted)}
.hclc-cm-chip{padding:0 6px;border-radius:99px;background:var(--hclc-tint);border:1px solid var(--hclc-line);color:var(--hclc-accent);font-weight:700;font-size:9.5px;line-height:14px}
.hclc-cm-typing{display:flex;gap:5px;padding:13px 14px;background:var(--hclc-soft);border:1px solid var(--hclc-line);border-bottom-left-radius:4px}
.hclc-cm-typing i{width:7px;height:7px;border-radius:50%;background:var(--hclc-muted);animation:hclc-bounce 1s infinite ease-in-out}
.hclc-cm-typing i:nth-child(2){animation-delay:.15s}.hclc-cm-typing i:nth-child(3){animation-delay:.3s}
.hclc-send{display:flex;gap:8px;align-items:flex-end}
.hclc-send .hclc-input{resize:none;min-height:44px;max-height:110px;overflow-y:auto}
.hclc-sendbtn{flex:none;width:44px;height:44px;display:grid;place-items:center;padding:0;border:0;border-radius:12px;background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2) 55%,var(--hclc-g3));color:var(--hclc-btn);transition:transform .25s,box-shadow .25s;box-shadow:0 8px 18px -8px var(--hclc-tint)}
.hclc-sendbtn:hover{transform:translateY(-2px) rotate(-8deg)}
.hclc-sendbtn .hclc-i{width:19px;height:19px}
.hclc-fallback{padding:10px 12px;border-radius:12px;background:var(--hclc-tint);border:1px solid var(--hclc-line);font-size:12.5px}
.hclc-fallback-btns{display:flex;gap:6px;margin-top:8px}
.hclc-ended{text-align:center;padding:8px;color:var(--hclc-muted);font-size:13px}

/* ---------- inline section ---------- */
.hclc-section{display:block;width:100%;padding:80px 20px;background:var(--hclc-bg);position:relative}
.hclc-sec-wrap{position:relative;max-width:1200px;margin:0 auto}
.hclc-sec-mode{position:absolute;top:-44px;right:0}
.hclc-sec-head{text-align:center;max-width:780px;margin:0 auto 50px}
.hclc-sec-badge{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;margin-bottom:16px;border-radius:50px;background:var(--hclc-tint);border:1px solid var(--hclc-line);color:var(--hclc-accent);font-size:12.5px;font-weight:600;letter-spacing:1px}
.hclc-sec-badge .hclc-i{width:15px;height:15px}
.hclc-sec-title{font-family:var(--hclc-font-head);font-size:clamp(28px,4vw,42px);line-height:1.2;font-weight:700;margin-bottom:16px;color:var(--hclc-text)}
.hclc-sec-desc{font-size:16px;line-height:1.65;color:var(--hclc-muted)}
.hclc-sec-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:24px;margin-bottom:40px}
.hclc-card{position:relative;display:flex;flex-direction:column;overflow:hidden;padding:28px;border-radius:16px;background:var(--hclc-soft);border:1px solid var(--hclc-line);color:var(--hclc-text);transition:transform .35s cubic-bezier(.16,1,.3,1),border-color .35s,box-shadow .35s,background .35s}
.hclc-card::after{content:"";position:absolute;left:0;top:0;height:3px;width:100%;background:linear-gradient(90deg,var(--hclc-g1),var(--hclc-g2),var(--hclc-g3));transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.hclc-card:hover,.hclc-card:focus-visible{transform:translateY(-6px);border-color:var(--hclc-accent);background:var(--hclc-tint);box-shadow:var(--hclc-shadow)}
.hclc-card:hover::after,.hclc-card:focus-visible::after{transform:scaleX(1)}
.hclc-card-ico{width:54px;height:54px;display:grid;place-items:center;margin-bottom:20px;border-radius:14px;background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2),var(--hclc-g3));color:var(--hclc-btn);transition:transform .4s cubic-bezier(.16,1,.3,1)}
.hclc-card-ico .hclc-i{width:26px;height:26px}
.hclc-card:hover .hclc-card-ico{transform:rotate(-6deg) scale(1.08)}
.hclc-card--wa .hclc-card-ico{background:linear-gradient(135deg,#25b866,#0f7a4a);color:#fff}
.hclc-card-title{font-family:var(--hclc-font-head);font-size:22px;line-height:1.25;font-weight:700;margin-bottom:10px;display:inline-block;align-self:flex-start}
.hclc-card-text{font-size:14.5px;line-height:1.6;color:var(--hclc-muted);margin-bottom:20px;flex:1}
.hclc-card-link{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:var(--hclc-accent);transition:gap .25s}
.hclc-card-link .hclc-i{width:17px;height:17px}
.hclc-card:hover .hclc-card-link{gap:14px}
.hclc-cta-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:30px;border-radius:16px;background:linear-gradient(135deg,var(--hclc-tint),transparent);border:1px solid var(--hclc-line)}
.hclc-cta-bar h4{font-size:18px;font-weight:700;margin-bottom:6px;color:var(--hclc-text)}
.hclc-cta-bar p{font-size:14px;color:var(--hclc-muted)}
.hclc-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 28px;border-radius:10px;background:linear-gradient(135deg,var(--hclc-g1),var(--hclc-g2) 55%,var(--hclc-g3));color:var(--hclc-btn);font-weight:700;font-size:14.5px;box-shadow:0 8px 20px -4px var(--hclc-tint);transition:transform .3s,box-shadow .3s}
.hclc-cta-btn .hclc-i{width:19px;height:19px}
.hclc-cta-btn:hover{transform:translateY(-3px);box-shadow:0 14px 26px -4px var(--hclc-tint);color:var(--hclc-btn)}

/* ---------- responsive ---------- */
@media (max-width:768px){
  .hclc-section{padding:56px 16px}
  .hclc-sec-mode{top:-36px}
  .hclc-cta-bar{flex-direction:column;text-align:center}
  .hclc-cta-btn{width:100%}
}
@media (max-width:520px){
  .hclc-widget{--hclc-ox:14px!important;--hclc-oy:14px!important}
  .hclc-panel{position:fixed;left:10px!important;right:10px!important;bottom:84px;width:auto;max-width:none;max-height:calc(100vh - 100px);max-height:calc(100dvh - 100px)}
  .hclc-widget.hclc-no-launcher .hclc-panel{bottom:14px}
  .hclc-widget.hclc-hide-mobile{display:none}
  .hclc-logo img{height:32px}
  .hclc-title{font-size:16.5px}
}

/* ---------- motion preferences ---------- */
.hclc-root[data-anim="0"] *,.hclc-root[data-anim="0"] *::before,.hclc-root[data-anim="0"] *::after{animation:none!important}
@media (prefers-reduced-motion:reduce){
  .hclc-root *,.hclc-root *::before,.hclc-root *::after{animation:none!important;transition-duration:.01ms!important}
}

/* free assistant: tap-to-ask topics */
.hclc-topics{margin:2px 0 0;max-height:92px;overflow-y:auto;scrollbar-width:thin}
.hclc-topics[hidden]{display:none}
.hclc-topics .hclc-chip{font-size:12px;padding:6px 11px}
