/* Floating "Замовити консультацію" button — bottom-right on every slide.
   Shared by index.html and the service landing pages; the element itself is added by consult.js.
   One clickable pill: always-visible label + a plain circle that is always filled cyan. */
.consult{
  --c-line:rgba(32,217,232,.55);
  position:fixed;right:24px;bottom:24px;z-index:90;
  display:flex;align-items:center;gap:12px;height:52px;padding:0 5px 0 20px;
  border:1px solid var(--c-line);border-radius:999px;background:rgba(10,18,28,.88);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);box-shadow:0 10px 30px rgba(0,0,0,.3);
  color:#eaf6f8;text-decoration:none;font-family:"Manrope",Arial,Helvetica,sans-serif;
  -webkit-tap-highlight-color:transparent;
  transition:border-color .35s ease,color .35s ease,transform .35s ease,opacity .35s ease;
}
.consult-text{white-space:nowrap;font-size:13px;font-weight:600;letter-spacing:.02em;line-height:1}
.consult-dot{flex:0 0 40px;width:40px;height:40px;border-radius:50%;background:#20d9e8;box-shadow:0 0 14px rgba(32,217,232,.45)}

/* Over light (cream) slides the outline switches to navy so the pill stays defined */
.consult--light{--c-line:rgba(16,23,34,.55)}

/* Hover / keyboard focus: outline and label brighten; the circle stays the same cyan */
.consult:focus-visible{outline:2px solid #20d9e8;outline-offset:3px}
.consult:focus-visible,.consult:hover{border-color:#20d9e8;color:#fff}

/* Hidden while the contact form itself (or the footer) is on screen, or while it would cover the hero caption */
.consult--hidden,.consult--avoid{opacity:0;pointer-events:none;transform:translateY(12px)}

@media(max-width:650px){
  .consult{right:16px;bottom:16px;height:46px;gap:10px;padding:0 4px 0 16px}
  .consult-text{font-size:12px}
  .consult-dot{flex-basis:36px;width:36px;height:36px}
}
@media(prefers-reduced-motion:reduce){
  .consult{transition:none!important}
}
