.floating-contact-wrap{
  position:fixed;
  right:14px;
  bottom:calc(14px + env(safe-area-inset-bottom));
  z-index:458;
  display:flex;
  flex-direction:column-reverse;
  align-items:flex-end;
  gap:8px;
  opacity:0;
  pointer-events:none;
  transform:translateY(12px);
  transition:opacity .22s ease, transform .22s ease;
}
.floating-contact-wrap.is-visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

.desktop-contact-fab{
  width:46px;
  height:46px;
  border-radius:16px;
  border:1px solid rgba(224,71,77,.18);
  background:linear-gradient(180deg, rgba(54,33,37,.92), rgba(38,40,45,.9));
  color:#ece7de;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 14px 30px rgba(0,0,0,.2);
  cursor:pointer;
  transition:transform .22s ease, box-shadow .22s ease, opacity .22s ease, border-color .22s ease, background .22s ease;
}
.desktop-contact-fab:hover{
  transform:translateY(-1px);
  border-color:rgba(224,71,77,.42);
  background:linear-gradient(180deg, rgba(90,30,36,.94), rgba(42,43,48,.94));
  box-shadow:0 18px 34px rgba(0,0,0,.24), 0 0 18px rgba(184,29,36,.16);
}
.desktop-contact-fab svg{
  width:18px;
  height:18px;
}

.desktop-contact-panel{
  position:relative;
  overflow:hidden;
  min-width:154px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(17,18,20,.94);
  box-shadow:0 18px 42px rgba(0,0,0,.28);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  display:grid;
  gap:6px;
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease;
}
.desktop-contact-panel::before{
  content:"";
  position:absolute;
  top:0;
  left:14px;
  right:14px;
  height:2px;
  background:linear-gradient(90deg, rgba(224,71,77,.82), rgba(224,71,77,.18), rgba(224,71,77,0));
  box-shadow:0 0 14px rgba(224,71,77,.16);
}
.floating-contact-wrap.is-open .desktop-contact-panel{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.desktop-contact-action{
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:12px;
  font-weight:800;
  letter-spacing:-.02em;
  transition:opacity .2s ease, transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.desktop-contact-action:hover{
  opacity:.92;
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(184,29,36,.1);
}
.desktop-contact-action--primary{
  background:#f3efe7;
  color:#111214;
  box-shadow:0 0 0 1px rgba(224,71,77,.2);
}
.desktop-contact-action--ghost{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(224,71,77,.18);
  color:#f3f1ec;
}

@media(max-width:768px){
  .floating-contact-wrap{
    right:12px;
    bottom:calc(12px + env(safe-area-inset-bottom));
    gap:6px;
  }
  .desktop-contact-fab{
    width:42px;
    height:42px;
    border-radius:14px;
    border-color:rgba(224,71,77,.28);
    box-shadow:0 14px 30px rgba(0,0,0,.2),0 0 16px rgba(184,29,36,.12);
  }
  .desktop-contact-fab svg{
    width:17px;
    height:17px;
  }
  .desktop-contact-panel{
    min-width:142px;
    padding:7px;
    border-radius:16px;
    border-color:rgba(224,71,77,.24);
    box-shadow:0 18px 42px rgba(0,0,0,.32),0 0 18px rgba(184,29,36,.12);
  }
  .desktop-contact-panel::before{
    left:12px;
    right:12px;
    height:3px;
  }
  .desktop-contact-action{
    min-height:36px;
    font-size:11px;
    padding:0 12px;
  }
}

@media (min-width: 769px){
  .floating-contact-wrap{
    right:20px;
    bottom:20px;
  }
}
