/* Fixed shortcuts use the same destinations as the footer. */
.fixed-social {
  isolation: isolate;
  position: fixed;
  z-index: 30;
  top: 50%;
  right: 0;
  display: flex;
  flex-direction: column;
  padding: 7px 4px;
  border: 1px solid #ffffff25;
  border-right: 0;
  border-radius: 14px 0 0 14px;
  background: #101d19ed;
  box-shadow: -6px 6px 28px #00000018;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(-50%);
}

.fixed-social a {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  border-radius: 9px;
  color: #fff;
  transition: background .25s;
}

.fixed-social a + a { margin-top: 3px; }
.social-links{flex-wrap:wrap;gap:14px}
.social-links .social-link-vector{background:#4d4d4d;color:#050505;padding:8px}
.social-link-vector svg{display:block;width:100%;height:100%}
.fixed-social a:hover, .fixed-social a:focus-visible { background: #ffffff15; }
.fixed-social svg { width: 24px; height: 24px; object-fit: contain; transition: transform .3s var(--motion-ease); }
.fixed-social a:hover img { transform: translateX(-2px); }

.fixed-social-label, .floating-whatsapp-label {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  padding: 9px 13px;
  border: 1px solid #ffffff20;
  border-radius: 7px;
  background: #101d19;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate(6px, -50%);
  transition: opacity .2s, transform .25s var(--motion-ease);
}

.fixed-social a:hover .fixed-social-label,
.fixed-social a:focus-visible .fixed-social-label,
.floating-whatsapp:hover .floating-whatsapp-label,
.floating-whatsapp:focus-visible .floating-whatsapp-label {
  opacity: 1;
  transform: translate(0, -50%);
}

.floating-whatsapp {
  isolation: isolate;
  position: fixed;
  z-index: 30;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: #1caa61;
  color: #fff;
  box-shadow: 0 8px 28px #075d3738, 0 0 0 5px #1caa6114;
  transition: background .25s, box-shadow .3s, translate .3s var(--motion-ease);
}

.floating-whatsapp svg { width: 31px; height: 31px; object-fit: contain; }

.floating-whatsapp:hover, .floating-whatsapp:focus-visible {
  background: #168f51;
  box-shadow: 0 12px 30px #075d3740, 0 0 0 7px #1caa6120;
  translate: 0 -3px;
}

/* Hide the shortcuts until the opening has finished, and below the gallery. */
.motion-loading .fixed-social, .motion-loading .floating-whatsapp { opacity: 0; pointer-events: none; }
.motion-ready .fixed-social { animation: social-dock-enter .65s var(--motion-ease) .3s both; }
.motion-ready .floating-whatsapp { animation: whatsapp-enter .65s var(--motion-ease) .45s both; }

@keyframes social-dock-enter {
  from { opacity: 0; transform: translate(100%, -50%); }
  to { opacity: 1; transform: translate(0, -50%); }
}
@keyframes whatsapp-enter {
  from { opacity: 0; transform: translateY(16px) scale(.9); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .fixed-social { top: 116px; padding: 5px 3px; border-radius: 10px 0 0 10px; transform: none; }
  .fixed-social a { width: 34px; height: 40px; border-radius: 6px; }
  .fixed-social svg { width: 21px; height: 21px; }
  .floating-whatsapp { width: 56px; height: 56px; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
  .floating-whatsapp svg { width: 29px; height: 29px; }
  .footer .footer-inner { padding-bottom: 100px; }
  @keyframes social-dock-enter {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: none; }
  }
}

@media (hover: none) {
  .fixed-social-label, .floating-whatsapp-label { display: none; }
  .floating-whatsapp:hover { translate: none; }
}
@media (max-width: 1100px) {
  body:has(.site-nav.is-open) .fixed-social { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .fixed-social, .floating-whatsapp, .fixed-social svg, .fixed-social-label, .floating-whatsapp-label { animation: none !important; transition: none; }
  .floating-whatsapp:hover { translate: none; }
}
