I assume that the 'Office' Mikrotik box is the one that will host the 3 Wifi networks and acts an access point + managed switch, and all routing is done on the 'Main' box?
Your scenario is very similar to what is described in this article: VLANs on Wireless | RouterOS Manual
- For each Wifi network (SSID) you must configure the SSID to tag/untag all network traffic (it acts as a wireless access port). But the VLANs must be carried all the way to the 'Main' box. So you must add the VLANs as tagged to ether1 on the office box and ether3 on the main box (trunks). The VLAN traffic passes through these ports as tagged traffic.
- These ports should be access ports, so untagged. Make sure the set the pvid of these ports to the correct VLAN ID.
Untagged means that traffic from the user devices arrives at those ports as untagged traffic. The ports (access) will then tag the traffic with the pvid. VLAN traffic flowing to the user devices will be untagged by the ports.
Again, you must also add the VLANs to ether1 on office and ether3 on main. - Not applicable
This post I recently made can also help a little with the understanding of the link between Interfaces, Bidge and VLANs: https://forum.mikrotik.com/t/small-routeros-beginners-guide/273745