.site-header {
  grid-template-columns: 1fr auto;
}

.main-nav {
  justify-self: end;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 38px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .38));
}

.whatsapp-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform .2s ease, filter .2s ease;
  filter: drop-shadow(0 0 7px rgba(37, 211, 102, .28));
}

.whatsapp-label {
  max-width: 0;
  margin-right: -10px;
  padding: 11px 0 11px 16px;
  overflow: hidden;
  border-radius: 22px 0 0 22px;
  background: #101820;
  color: #f5f8f8;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 800;
  opacity: 0;
  transition: max-width .25s ease, padding-right .25s ease, opacity .18s ease;
}

.whatsapp-float:hover .whatsapp-label,
.whatsapp-float:focus-visible .whatsapp-label {
  max-width: 130px;
  padding-right: 22px;
  opacity: 1;
}

.whatsapp-float:hover .whatsapp-icon,
.whatsapp-float:focus-visible .whatsapp-icon {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, .42));
}

.whatsapp-float:focus-visible {
  outline: 2px solid #27dbf3;
  outline-offset: 6px;
  border-radius: 50%;
}

@media (max-width: 590px) {
  .whatsapp-icon {
    width: 56px;
    height: 56px;
  }

  .whatsapp-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-icon,
  .whatsapp-label {
    transition: none;
  }
}
