Noclegi

Komfortowe pokoje
Przyjazne ceny



Dwa Budynki Hotelowe

Pałacyk

Łąkomin

Posiadamy 21 pokoi dwuosobowych oraz 3 typu studio (z łazienkami) w budynkach Pałacyk i Młyn.


Pałacyk Łąkomin

Zapraszamy do zapoznania się z naszą ofertą. W poszczególnych działach znajdą Państwo szczegółowe i aktualne informacje na temat naszego obiektu,


PRZEJDŹ DO OFERTY
ZAPYTANIE
REZERWACYJNE
CiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSdnZl9icm93c2VyX3Vua25vd24gZ2Zvcm1fd3JhcHBlciBva2llbmtvX3dyYXBwZXInIGlkPSdnZm9ybV93cmFwcGVyXzUnID48YSBpZD0nZ2ZfNScgY2xhc3M9J2dmb3JtX2FuY2hvcicgPjwvYT48Zm9ybSBtZXRob2Q9J3Bvc3QnIGVuY3R5cGU9J211bHRpcGFydC9mb3JtLWRhdGEnIHRhcmdldD0nZ2Zvcm1fYWpheF9mcmFtZV81JyBpZD0nZ2Zvcm1fNScgY2xhc3M9J29raWVua28nIGFjdGlvbj0nL29mZXJ0YS9ub2NsZWdpL3Bva29qZS8jZ2ZfNSc+CiAgICAgICAgICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9J2dmb3JtX2JvZHknPjx1bCBpZD0nZ2Zvcm1fZmllbGRzXzUnIGNsYXNzPSdnZm9ybV9maWVsZHMgdG9wX2xhYmVsIGZvcm1fc3VibGFiZWxfYmVsb3cgZGVzY3JpcHRpb25fYmVsb3cnPjxsaSBpZD0nZmllbGRfNV8xMScgIGNsYXNzPSdnZmllbGQgZ2ZpZWxkX2NvbnRhaW5zX3JlcXVpcmVkIGZpZWxkX3N1YmxhYmVsX2JlbG93IGZpZWxkX2Rlc2NyaXB0aW9uX2JlbG93IGhpZGRlbl9sYWJlbCBnZmllbGRfdmlzaWJpbGl0eV92aXNpYmxlJyA+PGxhYmVsIGNsYXNzPSdnZmllbGRfbGFiZWwnIGZvcj0naW5wdXRfNV8xMScgPlJvZHph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