Noclegi

Komfortowe pokoje
Przyjazne ceny



Dwa Budynki Hotelowe

Pałacyk

Łąkomin

Posiadamy 22 pokoje dwuosobowe oraz 3 typu studio.


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
CiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPSdnZl9icm93c2VyX2dlY2tvIGdmb3JtX3dyYXBwZXIgb2tpZW5rb193cmFwcGVyJyBpZD0nZ2Zvcm1fd3JhcHBlcl81JyA+PGRpdiBpZD0nZ2ZfNScgY2xhc3M9J2dmb3JtX2FuY2hvcicgdGFiaW5kZXg9Jy0xJz48L2Rpdj48Zm9ybSBtZXRob2Q9J3Bvc3QnIGVuY3R5cGU9J211bHRpcGFydC9mb3JtLWRhdGEnIHRhcmdldD0nZ2Zvcm1fYWpheF9mcmFtZV81JyBpZD0nZ2Zvcm1fNScgY2xhc3M9J29raWVua28nIGFjdGlvbj0nL29mZXJ0YS9ub2NsZWdpLyNnZl81Jz4KICAgICAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz0nZ2Zvcm1fYm9keSc+PHVsIGlkPSdnZm9ybV9maWVsZHNfNScgY2xhc3M9J2dmb3JtX2ZpZWxkcyB0b3BfbGFiZWwgZm9ybV9zdWJsYWJlbF9iZWxvdyBkZXNjcmlwdGlvbl9iZWxvdyc+PGxpIGlkPSdmaWVsZF81XzExJyAgY2xhc3M9J2dmaWVsZCBnZmllbGRfY29udGFpbnNfcmVxdWlyZWQgZmllbGRfc3VibGFiZWxfYmVsb3cgZmllbGRfZGVzY3JpcHRpb25fYmVsb3cgaGlkZGVuX2xhYmVsIGdmaWVsZF92aXNpYmlsaXR5X3Zpc2libGUnID48bGFiZWwgY2xhc3M9J2dmaWVsZF9sYWJlbCcgZm9yPSdpbnB1dF81XzExJyA+Um9kemFqIHBva29qdTxzcG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