/* Fantasy Island – nowy nagłówek, menu (mobile + dropdown), stopka i pasek dolny (2026-11-09)
   Kolory marki: fiolet #34327C, róż #d12881, pomarańcz #EC9600, krem #fdf8e1. Ładowany po style.css. */
:root {
	--fi-purple: #34327C;
	--fi-purple-dark: #26245f;
	--fi-pink: #d12881;
	--fi-pink-dark: #b01f6b;
	--fi-orange: #EC9600;
	--fi-cream: #fdf8e1;
	--fi-ink: #262447;
	--fi-line: rgba(52, 50, 124, .12);
	--fi-radius: 18px;
	--fi-shadow: 0 14px 40px rgba(38, 36, 95, .16);
}

.fi-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pasek górny ---------- */
.fi-topbar { padding: 8px 0; font-size: 15px; }
.fi-topbar .fi-topbar-full { text-align: center; }
.fi-topbar .fi-topbar-full a { display: inline-block; margin: 2px 0; }
.fi-topbar-compact { display: flex; gap: 10px; align-items: center; justify-content: center; }
.fi-topbar-compact a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 1 1 0; max-width: 240px; min-height: 42px; border-radius: 999px; font-weight: 800; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; }
.fi-topbar-compact .fi-tb-call { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.fi-topbar-compact .fi-tb-tour { background: var(--fi-pink); color: #fff; border: 1px solid var(--fi-pink); }
.fi-topbar-compact a i { margin: 0; width: auto; }
.top-bar a.btn.top-bar-btn { border-radius: 999px; }

/* ---------- Nawigacja: wspólne ---------- */
#stickyNav { background: #fff; }
#stickyNav #nav-alphabet a.nav-link { font-weight: 700; color: var(--fi-ink) !important; }
#stickyNav .nav-link:focus-visible,
.fi-caret:focus-visible,
.fi-burger-btn:focus-visible,
.fi-menu-cta a:focus-visible,
.fi-ft a:focus-visible,
.fi-mbar a:focus-visible { outline: 3px solid var(--fi-orange); outline-offset: 2px; border-radius: 8px; }

/* Hamburger: okrągły przycisk, trzy kreski zamieniają się w X */
.navbar-toggler.fi-burger-btn { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--fi-purple); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(52, 50, 124, .35); transition: background .2s, transform .2s; }
.navbar-toggler.fi-burger-btn:hover { background: var(--fi-pink); }
@media (min-width: 1200px) { .navbar-toggler.fi-burger-btn { display: none !important; } }
.fi-burger { position: relative; display: block; width: 22px; height: 16px; }
.fi-burger span { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s, top .25s; }
.fi-burger span:nth-child(1) { top: 0; }
.fi-burger span:nth-child(2) { top: 6.75px; }
.fi-burger span:nth-child(3) { top: 13.5px; }
.fi-burger-btn[aria-expanded="true"] { background: var(--fi-pink); }
.fi-burger-btn[aria-expanded="true"] .fi-burger span:nth-child(1) { top: 6.75px; transform: rotate(45deg); }
.fi-burger-btn[aria-expanded="true"] .fi-burger span:nth-child(2) { opacity: 0; }
.fi-burger-btn[aria-expanded="true"] .fi-burger span:nth-child(3) { top: 6.75px; transform: rotate(-45deg); }

.fi-caret { display: none; }

/* ---------- Menu mobilne (< 1200 px) ---------- */
@media (max-width: 1199.98px) {
	#stickyNav { box-shadow: 0 8px 24px rgba(38, 36, 95, .14); }
	#stickyNav .container { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
	.navbar-brand-small img { max-height: 56px; width: auto; }
	#stickyNav .justify-content-lg-end { order: 2; }

	#nav-alphabet.navbar-collapse { position: fixed; z-index: 998; left: 0; right: 0; top: var(--fi-panel-top, 124px); bottom: 0; max-height: none; margin: 0; padding: 8px 20px calc(110px + env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--fi-cream); }
	#stickyNav #nav-alphabet.navbar-collapse { background: var(--fi-cream) !important; }
	#stickyNav #nav-alphabet ul, #stickyNav #nav-alphabet li, #stickyNav #nav-alphabet .menu-top-menu-container, #stickyNav #nav-alphabet .menu-top-menu-2-container, #stickyNav #nav-alphabet .ps-5 { background: transparent !important; }
	#nav-alphabet.navbar-collapse.collapsing { height: auto !important; transition: none !important; opacity: 0; }
	#nav-alphabet.navbar-collapse.show { animation: fiPanelIn .22s ease-out; }
	@keyframes fiPanelIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
	body.fi-menu-open { overflow: hidden; }

	#nav-alphabet .ps-5 { padding-left: 0 !important; }
	#nav-alphabet ul { list-style: none; margin: 0; padding: 0; }
	#nav-alphabet .navbar-nav { height: auto; width: 100%; margin: 0; }
	#nav-alphabet .navbar-nav > li { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--fi-line); }
	#stickyNav #nav-alphabet .navbar-nav > li > a.nav-link { flex: 1 1 auto; padding: 17px 4px !important; border: 0 !important; font-size: 21px; line-height: 1.2; text-align: left !important; color: var(--fi-purple) !important; background: transparent !important; }
	#stickyNav #nav-alphabet .navbar-nav > li > a.nav-link:hover { color: var(--fi-pink) !important; background: transparent !important; }
	#stickyNav #nav-alphabet .navbar-nav > li.current-menu-item > a.nav-link { color: var(--fi-pink) !important; }
	/* strzałka rozwijania podmenu */
	#nav-alphabet .fi-caret { display: inline-flex; flex: 0 0 48px; width: 48px; height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: rgba(52, 50, 124, .08); color: var(--fi-purple); padding: 0; transition: transform .25s, background .2s; }
	#nav-alphabet li.fi-open > .fi-caret { transform: rotate(180deg); background: var(--fi-purple); color: #fff; }
	#nav-alphabet .fi-caret svg { width: 18px; height: 18px; }
	/* podmenu jako akordeon */
	#nav-alphabet .dropdown-menu { display: none; position: static !important; float: none; flex: 0 0 100%; width: 100%; margin: 0 0 12px; padding: 6px 0 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none !important; }
	#nav-alphabet li.fi-open > .dropdown-menu { display: block; }
	#nav-alphabet .dropdown-menu li { display: block; border: 0; }
	#stickyNav #nav-alphabet .dropdown-menu a.nav-link { display: block; padding: 11px 14px !important; margin: 2px 0; border: 0 !important; font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--fi-ink) !important; background: rgba(255, 255, 255, .9) !important; border-radius: 12px; text-align: left !important; }
	#stickyNav #nav-alphabet .dropdown-menu a.nav-link:hover { background: var(--fi-pink) !important; color: #fff !important; }
	/* dzielnice: dwie kolumny „pigułek” */
	#nav-alphabet li:has(a[href="#"]) > .dropdown-menu { display: none; grid-template-columns: 1fr 1fr; gap: 8px; }
	#nav-alphabet li.fi-open:has(a[href="#"]) > .dropdown-menu { display: grid; }
	#stickyNav #nav-alphabet li:has(a[href="#"]) > .dropdown-menu a.nav-link { margin: 0; padding: 10px 12px !important; font-size: 15px; text-align: center !important; }
	/* wewnętrzny element z logo (desktop) – ukryty */
	#nav-alphabet .navbar-brand-centered { display: none !important; }
	#nav-alphabet > ul:not(.navbar-nav) { display: none; }

	/* przyciski w menu */
	.fi-menu-cta { display: grid; gap: 10px; margin-top: 22px; }
	.fi-menu-cta a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border-radius: 999px; font-size: 18px; font-weight: 800; text-decoration: none; }
	.fi-menu-cta .fi-cta-tour { background: var(--fi-pink); color: #fff; box-shadow: 0 10px 22px rgba(209, 40, 129, .35); }
	.fi-menu-cta .fi-cta-call { background: var(--fi-purple); color: #fff; }
	.fi-menu-cta .fi-cta-info { display: block; margin-top: 4px; text-align: center; color: rgba(38, 36, 95, .75); font-size: 14px; line-height: 1.5; }
	.fi-menu-cta .fi-cta-info a { display: inline; min-height: 0; font-size: 14px; font-weight: 700; color: var(--fi-purple); text-decoration: underline; }
}

/* ---------- Dropdown na komputerze (≥ 1200 px) ---------- */
@media (min-width: 1200px) {
	#nav-alphabet .navbar-nav > li { position: relative; }
	#stickyNav #nav-alphabet .navbar-nav > li > a.nav-link { position: relative; padding-left: 1rem; padding-right: 1rem; transition: color .2s; }
	#nav-alphabet .navbar-nav > li.menu-item-has-children > a.nav-link::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; }
	#nav-alphabet .navbar-nav > li.menu-item-has-children:hover > a.nav-link::after { transform: rotate(-135deg) translate(-2px, -2px); }
	#nav-alphabet .navbar-nav > li > .dropdown-menu {
		display: block; position: absolute; top: 100%; left: 50%; right: auto; min-width: 230px; margin: 0; padding: 10px;
		border: 0; border-radius: var(--fi-radius); background: #fff; box-shadow: var(--fi-shadow);
		opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
	}
	#nav-alphabet .navbar-nav > li > .dropdown-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	#nav-alphabet .navbar-nav > li:hover > .dropdown-menu,
	#nav-alphabet .navbar-nav > li:focus-within > .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
	#nav-alphabet .dropdown-menu li { list-style: none; }
	#stickyNav #nav-alphabet .dropdown-menu a.nav-link { display: block; padding: 9px 14px !important; border-radius: 10px; font-size: 15px; white-space: nowrap; text-align: left !important; line-height: 1.4; color: var(--fi-ink) !important; background: transparent !important; }
	#stickyNav #nav-alphabet .dropdown-menu a.nav-link:hover,
	#stickyNav #nav-alphabet .dropdown-menu a.nav-link:focus { background: var(--fi-pink) !important; color: #fff !important; }
	/* lista dzielnic: dwie kolumny */
	#nav-alphabet li:has(> a[href="#"]) > .dropdown-menu { min-width: 400px; grid-template-columns: 1fr 1fr; column-gap: 6px; }
	#nav-alphabet li:has(> a[href="#"]):hover > .dropdown-menu,
	#nav-alphabet li:has(> a[href="#"]):focus-within > .dropdown-menu { display: grid; }
	/* ostatnia pozycja prawego menu: dropdown nie wychodzi poza ekran */
	#nav-alphabet .right-menu > li:last-child > .dropdown-menu,
	#nav-alphabet .right-menu > li:nth-last-child(2) > .dropdown-menu { left: auto; right: 0; transform: translate(0, 10px); }
	#nav-alphabet .right-menu > li:last-child:hover > .dropdown-menu,
	#nav-alphabet .right-menu > li:nth-last-child(2):hover > .dropdown-menu,
	#nav-alphabet .right-menu > li:last-child:focus-within > .dropdown-menu,
	#nav-alphabet .right-menu > li:nth-last-child(2):focus-within > .dropdown-menu { transform: none; }
	/* pozycje menu: bez pomarańczowych bloków; fioletowy tekst, różowa „pigułka” po najechaniu */
	#stickyNav #nav-alphabet .navbar-nav > li, #stickyNav #nav-alphabet .navbar-nav { background: transparent !important; }
	#stickyNav #nav-alphabet .navbar-nav { align-items: center; }
	#stickyNav #nav-alphabet .navbar-nav > li { display: flex; align-items: center; }
	#stickyNav #nav-alphabet .navbar-nav > li > a.nav-link { align-self: center; height: auto; line-height: 1.2; margin: 0 2px; padding: 9px 15px !important; border-radius: 999px; color: var(--fi-purple) !important; background: transparent !important; font-size: 17px; }
	#stickyNav #nav-alphabet .navbar-nav > li:hover > a.nav-link,
	#stickyNav #nav-alphabet .navbar-nav > li > a.nav-link:focus-visible { background: var(--fi-pink) !important; color: #fff !important; }
	#stickyNav #nav-alphabet .navbar-nav > li.current-menu-item > a.nav-link { background: rgba(209, 40, 129, .12) !important; color: var(--fi-pink) !important; }
	#stickyNav #nav-alphabet .navbar-nav > li.current-menu-item:hover > a.nav-link { background: var(--fi-pink) !important; color: #fff !important; }
	.fi-menu-cta { display: none; }
}

/* ---------- Stopka ---------- */
.fi-ft { background: var(--fi-purple); color: #fff; position: relative; font-family: 'Lato', sans-serif; text-align: left; }
.fi-ft a { color: inherit; text-decoration: none; }
footer.fi-ft p, footer.fi-ft div, footer.fi-ft li, footer.fi-ft span { text-align: left; }
footer.fi-ft .fi-ft-cta-text, footer.fi-ft .fi-ft-cta-text p, footer.fi-ft .fi-ft-cta-text h2 { text-align: left; }
.fi-ft-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.fi-ft-ctawrap { background: var(--fi-purple); padding: 48px 0 0; position: relative; }
.fi-ft-cta { position: relative; z-index: 1; width: 100%; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: #fff; border: 4px solid var(--fi-orange); border-radius: 28px 28px 28px 28px / 24px 34px 26px 32px; overflow: hidden; box-shadow: var(--fi-shadow); color: var(--fi-ink); }
.fi-ft-cta-photo { min-height: 260px; background-size: cover; background-position: center; }
.fi-ft-cta-text { padding: 36px 36px 34px; }
.fi-ft-eyebrow { display: inline-block; margin-bottom: 10px; padding: 5px 14px; border-radius: 999px; background: rgba(236, 150, 0, .16); color: #9a6200; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fi-ft-cta h2 { margin: 0 0 10px; font-family: 'Alegreya Sans', 'Lato', sans-serif; font-weight: 900; font-size: 36px; line-height: 1.12; color: var(--fi-purple); text-transform: none; }
.fi-ft-cta p { margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: #4a4870; }
.fi-ft-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fi-ft-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 800; font-size: 17px; line-height: 1; border: 2px solid transparent; transition: transform .15s, background .2s, color .2s; }
.fi-ft-btn:hover { transform: translateY(-2px); }
.fi-ft-btn--pink { background: var(--fi-pink); color: #fff !important; }
.fi-ft-btn--pink:hover { background: var(--fi-pink-dark); }
.fi-ft-btn--ghost { border-color: var(--fi-purple); color: var(--fi-purple) !important; background: transparent; }
.fi-ft-btn--ghost:hover { background: var(--fi-purple); color: #fff !important; }
.fi-ft-btn svg, .fi-ft-contact svg, .fi-ft-visit svg { width: 20px; height: 20px; flex: 0 0 auto; }

.fi-ft-main { padding: 56px 0 28px; }
.fi-ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1.3fr; gap: 36px; }
.fi-ft-logo img { width: auto; height: 84px; }
.fi-ft-brand p { margin: 14px 0 18px; max-width: 340px; font-size: 15.5px; line-height: 1.65; color: rgba(255, 255, 255, .86); }
.fi-ft h3 { margin: 4px 0 16px; font-family: 'Alegreya Sans', 'Lato', sans-serif; font-size: 20px; font-weight: 900; letter-spacing: .02em; color: #fff; text-transform: none; }
.fi-ft ul { list-style: none; margin: 0; padding: 0; }
.fi-ft li { margin: 0 0 9px; }
.fi-ft nav a { font-size: 15.5px; color: rgba(255, 255, 255, .88); transition: color .2s, padding .2s; }
.fi-ft nav a:hover { color: var(--fi-orange); padding-left: 4px; }
.fi-ft-social { display: flex; flex-wrap: wrap; gap: 10px; }
.fi-ft-social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; transition: background .2s, transform .15s; }
.fi-ft-social a:hover { background: var(--fi-pink); transform: translateY(-2px); }
.fi-ft-social a i { margin: 0; color: inherit; font-size: inherit; }
.fi-ft-contact a, .fi-ft-contact div { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.fi-ft-contact svg { margin-top: 2px; color: var(--fi-orange); }
.fi-ft-contact strong { display: block; color: #fff; }
.fi-ft-contact a:hover span { text-decoration: underline; }

.fi-ft-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; align-items: stretch; margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .18); }
.fi-ft-visit h3 { display: flex; align-items: center; gap: 10px; }
.fi-ft-visit h3 svg { color: var(--fi-orange); }
.fi-ft-visit p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.fi-ft-visit .fi-ft-btn { min-height: 46px; padding: 0 20px; font-size: 15.5px; margin-top: 6px; }
.fi-ft-map { position: relative; min-height: 220px; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .08); }
.fi-ft-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.fi-ft-bottom { border-top: 1px solid rgba(255, 255, 255, .18); }
.fi-ft-bottom .fi-ft-wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; }
.fi-ft-bottom p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .78); }
.fi-ft-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.fi-ft-bottom nav a { font-size: 14px; }

@media (max-width: 1100px) {
	.fi-ft-grid { grid-template-columns: 1fr 1fr 1fr; }
	.fi-ft-brand { grid-column: 1 / -1; }
	.fi-ft-brand p { max-width: 560px; }
}
@media (max-width: 767.98px) {
	.fi-ft-wrap { padding: 0 20px; }
	.fi-ft-ctawrap { padding-top: 36px; }
	.fi-ft-cta { grid-template-columns: 1fr; border-width: 3px; }
	.fi-ft-cta-photo { min-height: 190px; }
	.fi-ft-cta-text { padding: 24px 22px 26px; }
	.fi-ft-cta h2 { font-size: 29px; }
	.fi-ft-cta p { font-size: 16px; }
	.fi-ft-actions .fi-ft-btn { flex: 1 1 100%; }
	.fi-ft-main { padding: 40px 0 20px; }
	.fi-ft-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
	.fi-ft-grid .fi-ft-contact { grid-column: 1 / -1; }
	.fi-ft-visit { grid-template-columns: 1fr; margin-top: 30px; padding-top: 28px; }
	.fi-ft-map { min-height: 240px; }
	.fi-ft-bottom .fi-ft-wrap { flex-direction: column; align-items: flex-start; padding-bottom: calc(18px + 78px + env(safe-area-inset-bottom)); }
}

/* ---------- Pasek dolny na telefonie: Zadzwoń / Umów wizytę ---------- */
.fi-mbar { display: none; }
@media (max-width: 991.98px) {
	.fi-mbar { display: flex; gap: 10px; position: fixed; z-index: 9999; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); box-shadow: 0 -8px 24px rgba(38, 36, 95, .18); backdrop-filter: blur(6px); }
	.fi-mbar a { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; font-size: 17px; font-weight: 800; line-height: 1; text-decoration: none; }
	.fi-mbar svg { width: 22px; height: 22px; flex: 0 0 auto; }
	.fi-mbar .fi-mbar-call { background: var(--fi-purple); color: #fff; }
	.fi-mbar .fi-mbar-tour { background: var(--fi-pink); color: #fff; box-shadow: 0 6px 16px rgba(209, 40, 129, .35); }
	#gt_float_wrapper { top: auto !important; bottom: calc(78px + env(safe-area-inset-bottom)) !important; left: auto !important; right: 8px !important; transform: scale(.78); transform-origin: right bottom; opacity: .92; }
	body.fi-menu-open #gt_float_wrapper { display: none !important; }
	body { padding-bottom: 0; }
	body.fi-menu-open .fi-mbar { display: none; }
	/* wtyczka „Mobile Footer Menu” (ikony mail/telefon) zastąpiona przez .fi-mbar */
	.footer-mobile-menu { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	#nav-alphabet.navbar-collapse.show { animation: none; }
	.fi-burger span, .fi-caret, .fi-ft-btn, .fi-ft-social a { transition: none; }
}

/* Przewijanie na boki na telefonie: wiersz z g-5 wychodził o 12 px poza ekran; zabezpieczenie na poziomie strony */
html, body { max-width: 100%; overflow-x: hidden; }
@media (max-width: 767.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } }
