/* =====================================================================
   FITAKO — motyw blokowy. Paleta ary: chaber (kobalt), granat, złoto.
   Projekt i wykonanie: WK Digital
   ===================================================================== */

:root {
	--fx-chaber: var(--wp--preset--color--chaber, #2747C9);
	--fx-chaber-ciemny: var(--wp--preset--color--chaber-ciemny, #1B3399);
	--fx-chaber-jasny: var(--wp--preset--color--chaber-jasny, #E3E9FB);
	--fx-granat: var(--wp--preset--color--granat, #0D1733);
	--fx-granat-2: #16224A;
	--fx-granat-3: #0A1229;
	--fx-zloto: var(--wp--preset--color--zloto, #F4B41A);
	--fx-zloto-jasne: #FFC93D;
	--fx-czerwien: #D33A2C;
	--fx-kremowy: var(--wp--preset--color--kremowy, #FBF8F2);
	--fx-piasek: var(--wp--preset--color--piasek, #F2ECE2);
	--fx-kreska: #E3DBCD;
	--fx-szary: #5A6178;
	--fx-szeryf: var(--wp--preset--font-family--szeryf);
	--fx-bez: var(--wp--preset--font-family--bezszeryf);
	--fx-promien: 4px;
	--fx-cien: 0 30px 60px -34px rgba(13, 23, 51, .45);
	--fx-sekcja-y: clamp(4rem, 9vw, 8rem);
	--fx-pasek-h: 40px;
	--fx-dach: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 127 21'%3E%3Cpath d='M127 14.2v6.4L61 6.4 0 19.5v-6.4L46.1 3.2 61 0l14.9 3.2z'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
::selection { background: var(--fx-zloto); color: var(--fx-granat); }
img { max-width: 100%; height: auto; }
:where(a, button, summary, input, [tabindex]):focus-visible { outline: 3px solid var(--fx-zloto); outline-offset: 3px; border-radius: 2px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.fx-main { margin-block-start: 0 !important; }
.fx-main > * { margin-block-start: 0; }
.fx-tresc > .alignfull:first-child { margin-block-start: 0; }
.fx-tresc { padding-bottom: 0; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; letter-spacing: -0.01em; font-variation-settings: "opsz" 48; }
p { text-wrap: pretty; }
h2 em, h3 em, h1 em { font-style: italic; color: var(--fx-chaber); font-weight: 450; }

/* ---------- przyciski ---------- */
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px;
	letter-spacing: .01em; transition: background-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
	text-decoration: none;
}
.wp-block-button__link::after { content: ""; width: 1.1em; height: .7em; background: currentColor; transition: transform .25s ease;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M0 7h19M14 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 14'%3E%3Cpath d='M0 7h19M14 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(176, 122, 0, .8); }
.wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--fx-chaber); border: 1.5px solid currentColor; padding: calc(.95rem - 1.5px) calc(1.6rem - 1.5px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--fx-chaber); color: #fff; box-shadow: 0 14px 28px -16px rgba(39, 71, 201, .8); }
.wp-block-buttons { gap: .9rem; }

/* ---------- pasek górny + nagłówek ---------- */
.fx-gora { position: sticky; top: calc(-1 * var(--fx-pasek-h)); z-index: 100; }
body.admin-bar .fx-gora { top: calc(32px - var(--fx-pasek-h)); }
@media (max-width: 782px) { body.admin-bar .fx-gora { top: calc(-1 * var(--fx-pasek-h)); } }
.fx-pasek { background: var(--fx-granat); color: #D6DCEF; font-size: .875rem; padding-block: 0 !important; }
.fx-pasek__wnetrze { min-height: var(--fx-pasek-h); gap: .5rem 1.5rem; }
.fx-pasek__kontakt { gap: .25rem 1.4rem; align-items: center; }
.fx-pasek .fx-dane { margin: 0; }
.fx-pasek a { color: #E8ECF7; text-decoration: none; }
.fx-pasek a:hover { color: var(--fx-zloto); }
.fx-pasek .fx-ikona { width: 16px; height: 16px; color: var(--fx-zloto); }
.fx-pasek .fx-social a { width: 32px; height: 32px; }
.fx-pasek .fx-social .fx-ikona { color: #D6DCEF; }

.fx-naglowek { background: rgba(251, 248, 242, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid rgba(13, 23, 51, .08); padding-block: 0 !important; transition: box-shadow .3s ease, background-color .3s ease; }
.fx-naglowek__wnetrze { min-height: 84px; gap: 1.5rem; }
.fx-przewiniete .fx-naglowek { background: rgba(251, 248, 242, .97); box-shadow: 0 10px 30px -18px rgba(13, 23, 51, .35); }
.fx-logo { display: inline-flex; flex: 0 0 auto; }
.fx-logo img { width: 140px; height: auto; display: block; }
.fx-naglowek .fx-menu { flex: 1 1 auto; }
.fx-menu .wp-block-navigation__container { gap: .25rem 1.9rem; }
.fx-menu .wp-block-navigation-item__content { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 0; color: var(--fx-granat); text-decoration: none; }
.fx-menu .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--fx-zloto); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.fx-menu .wp-block-navigation-item__content:hover::after,
.fx-menu .current-menu-item > .wp-block-navigation-item__content::after,
.fx-menu .wp-block-navigation-item__content[aria-current="page"]::after { transform: scaleX(1); }
.fx-menu .wp-block-navigation__submenu-container { border: 1px solid var(--fx-kreska) !important; border-radius: 10px; padding: .5rem !important; background: #fff !important; box-shadow: var(--fx-cien); min-width: 260px !important; }
.fx-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem .8rem !important; border-radius: 6px; width: 100%; }
.fx-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.fx-menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--fx-chaber-jasny); color: var(--fx-chaber); }
.fx-menu .wp-block-navigation__submenu-icon { width: 12px; height: 12px; margin-left: .35rem; }
.fx-menu .wp-block-navigation__responsive-container-open,
.fx-menu .wp-block-navigation__responsive-container-close { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 8px; color: var(--fx-granat); }
.fx-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
.fx-menu .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

.fx-naglowek__telefon a { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem 1.15rem; border-radius: 999px; background: var(--fx-granat); color: #fff; text-decoration: none; font-weight: 650; font-size: .95rem; white-space: nowrap; transition: background-color .25s ease, transform .25s ease; }
.fx-naglowek__telefon a:hover { background: var(--fx-chaber); transform: translateY(-1px); }
.fx-naglowek__telefon .fx-ikona { color: var(--fx-zloto); width: 18px; height: 18px; }

@media (max-width: 1180px) {
	.fx-menu .wp-block-navigation__container { gap: .25rem 1.3rem; }
	.fx-naglowek__telefon span { display: none; }
	.fx-naglowek__telefon a { width: 48px; height: 48px; padding: 0; justify-content: center; }
}
@media (max-width: 599px) {
	.fx-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-grid; }
	.fx-pasek__obszar, .fx-pasek .fx-dane--email span { display: none; }
	.fx-pasek__wnetrze { justify-content: center !important; }
	.fx-naglowek__wnetrze { min-height: 70px; gap: .75rem; }
	.fx-logo img { width: 116px; }
}
@media (min-width: 600px) and (max-width: 1023px) {
	.fx-menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-grid; }
	.fx-menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
/* menu mobilne (nakładka) */
.fx-menu .wp-block-navigation__responsive-container.is-menu-open { background: var(--fx-granat) !important; color: #fff !important; padding: 1.5rem clamp(1.25rem, 6vw, 3rem) 2rem; }
.fx-menu .is-menu-open .wp-block-navigation__responsive-container-close { color: #fff; }
.fx-menu .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem !important; align-items: flex-start !important; }
.fx-menu .is-menu-open .wp-block-navigation__container { gap: .2rem !important; align-items: flex-start !important; width: 100%; }
.fx-menu .is-menu-open .wp-block-navigation-item { width: 100%; align-items: flex-start !important; }
.fx-menu .is-menu-open .wp-block-navigation-item__content { color: #fff !important; font-family: var(--fx-szeryf); font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 450; min-height: 52px; padding: .25rem 0 !important; }
.fx-menu .is-menu-open .wp-block-navigation-item__content::after { bottom: 2px; }
.fx-menu .is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; border: 0 !important; box-shadow: none; padding: 0 0 .6rem 1rem !important; min-width: 0 !important; }
.fx-menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--fx-bez); font-size: 1.05rem; color: #C9D1EA !important; min-height: 44px; padding: .3rem 0 !important; }
.fx-menu .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: none; color: var(--fx-zloto) !important; }
.fx-menu .is-menu-open .wp-block-navigation__submenu-icon { display: none; }

/* ---------- okruszki ---------- */
.fx-okruszki ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem .5rem; font-size: .875rem; letter-spacing: .02em; }
.fx-okruszki li { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .78); }
.fx-okruszki li + li::before { content: ""; width: 14px; height: 1px; background: var(--fx-zloto); }
.fx-okruszki a { color: #fff; text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.fx-okruszki a:hover { color: var(--fx-zloto); }

/* ---------- nagłówek podstrony ---------- */
.fx-tytul-strony { padding-block: clamp(5rem, 10vw, 8rem) clamp(3rem, 6vw, 4.5rem) !important; align-items: flex-end !important; }
.fx-tytul-strony .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(100deg, rgba(13, 23, 51, .94) 0%, rgba(13, 23, 51, .78) 45%, rgba(27, 51, 153, .45) 100%) !important; }
.fx-tytul-strony .wp-block-cover__inner-container { width: 100%; }
.fx-tytul-strony__wnetrze { position: relative; }
.fx-tytul-strony__tytul { color: #fff !important; margin: 0; max-width: 18ch; font-size: clamp(2.3rem, 1.4rem + 4vw, 4.25rem); line-height: 1.05; }
.fx-tytul-strony--wpis .fx-tytul-strony__tytul { max-width: 24ch; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.12; }
.fx-tytul-strony--prosty { background: radial-gradient(110% 140% at 100% 0%, #2B4BD0 0%, #1A2E85 40%, var(--fx-granat) 85%); color: #fff; }
.fx-tytul-strony--prosty .wp-block-term-description { color: #D6DCEF; max-width: 60ch; }
.fx-wpis__kategorie { margin: 0 0 .9rem; }
.fx-wpis__kategorie a { display: inline-block; padding: .3rem .8rem; border-radius: 999px; background: var(--fx-zloto); color: var(--fx-granat); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; margin: 0 .3rem .3rem 0; }
.fx-wpis__kategorie .wp-block-post-terms__separator { display: none; }
.fx-wpis__meta { margin-top: 1.2rem; gap: .4rem 1.4rem; color: #D6DCEF; font-size: .95rem; }
.fx-wpis__meta > * { margin: 0 !important; }
.fx-wpis__meta .fx-czas::before { content: "·"; margin-right: 1.4rem; color: var(--fx-zloto); }

/* ---------- sekcje ---------- */
.fx-sekcja { padding-block: var(--fx-sekcja-y) !important; position: relative; }
.fx-sekcja + .fx-sekcja { margin-block-start: 0 !important; }
.fx-tresc > .fx-sekcja { margin-block: 0 !important; }
.fx-sekcja--tresc { padding-block: clamp(3rem, 6vw, 5rem) !important; }
.fx-sekcja--tresc + .fx-sekcja--tresc { padding-top: 0 !important; }
.fx-sekcja--piasek { background: var(--fx-piasek); }
.fx-sekcja--granat { background: var(--fx-granat); color: #D6DCEF; }
.fx-sekcja--granat :where(h1, h2, h3, h4, strong) { color: #fff; }
.fx-sekcja--granat h2 em { color: var(--fx-zloto); }
.fx-sekcja--granat .fx-kicker { color: var(--fx-zloto); }
.fx-sekcja--granat a:not(.wp-block-button__link) { color: #fff; }
.fx-sekcja--chaber { background: radial-gradient(120% 150% at 0% 0%, #3557D9 0%, var(--fx-chaber) 32%, #1A2F8F 70%, var(--fx-granat) 100%); color: #E3E9FB; overflow: hidden; }
.fx-sekcja--chaber :where(h2, h3, strong) { color: #fff; }
.fx-sekcja--chaber h2 em { color: var(--fx-zloto); }
.fx-sekcja--chaber .fx-kicker { color: var(--fx-zloto); }
.fx-sekcja--chaber a:not(.wp-block-button__link):not(.fx-dane a) { color: #fff; }
.fx-sekcja--chaber::before { content: ""; position: absolute; right: -8%; top: -30%; width: min(48vw, 640px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(244, 180, 26, .25); pointer-events: none; }
.fx-sekcja--waska > * { max-width: 860px !important; }

.fx-kicker { display: flex; align-items: center; gap: .7rem; margin-bottom: .9rem !important; font-family: var(--fx-bez); font-size: .8125rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fx-chaber); line-height: 1.3; }
.fx-kicker + .fx-tytul-sekcji, .fx-kicker + h2 { margin-top: 0 !important; }
.fx-tytul-sekcji { margin-bottom: clamp(1.5rem, 3vw, 2.5rem) !important; max-width: 22ch; }
.fx-wstep { font-size: 1.1875rem; line-height: 1.6; color: var(--fx-granat); }

/* nagłówki sekcji wyśrodkowane */
:where(.fx-uslugi, .fx-opinie, .fx-sekcja--galeria, .fx-sekcja--etapy, .fx-sekcja--wpisy, .fx-sekcja--piasek:not(.fx-sekcja--tresc)) > .fx-kicker { display: flex; justify-content: center; }
:where(.fx-uslugi, .fx-opinie, .fx-sekcja--galeria, .fx-sekcja--etapy, .fx-sekcja--wpisy) > .fx-tytul-sekcji { text-align: center; margin-inline: auto !important; }
:where(.fx-sekcja--etapy) > p:not(.fx-kicker) { text-align: center; color: var(--fx-szary); }

/* ---------- baner główny ---------- */
.fx-hero { min-height: min(86vh, 860px) !important; padding-block: clamp(6rem, 12vw, 9rem) clamp(5rem, 10vw, 8rem) !important; align-items: center !important; overflow: hidden; }
.fx-hero .wp-block-cover__background { opacity: 1 !important; background: linear-gradient(95deg, rgba(10, 18, 41, .95) 0%, rgba(13, 23, 51, .82) 38%, rgba(13, 23, 51, .35) 70%, rgba(13, 23, 51, .15) 100%) !important; }
.fx-hero .wp-block-cover__image-background { animation: fx-zoom 2.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes fx-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.fx-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--wp--style--global--wide-size) !important; }
.fx-hero .wp-block-cover__inner-container > * { max-width: 780px !important; margin-left: 0 !important; }
.fx-hero__marka { display: inline-flex; align-items: center; gap: .9rem; font-size: .875rem !important; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--fx-zloto); margin-bottom: 1.4rem !important; }
.fx-hero__tytul { color: #fff !important; font-size: clamp(2.5rem, 1.3rem + 5.2vw, 5.25rem) !important; line-height: 1.02 !important; font-weight: 450 !important; letter-spacing: -0.02em; margin: 0 0 1.6rem !important; }
.fx-hero__atuty { display: inline-block; color: #E3E9FB; font-size: clamp(1rem, .95rem + .3vw, 1.15rem) !important; padding: .85rem 0 0; border-top: 1px solid rgba(244, 180, 26, .6); margin-bottom: 2.2rem !important; letter-spacing: .01em; }
.fx-hero .wp-block-buttons { margin-top: 0; }
.fx-hero .is-style-outline > .wp-block-button__link { color: #fff; }

/* ---------- usługi (karty) ---------- */
.fx-uslugi { background: var(--fx-kremowy); }
.fx-hero + .fx-uslugi { padding-top: 0 !important; }
.fx-hero + .fx-uslugi .fx-karty { margin-top: clamp(-6rem, -8vw, -3rem) !important; position: relative; z-index: 2; }
.fx-karty { gap: clamp(1rem, 2vw, 1.75rem) !important; }
.fx-karty > .wp-block-column { display: flex; }
.fx-karta { position: relative; display: flex; flex-direction: column; gap: 1rem; width: 100%; padding: clamp(1.75rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--fx-kreska); border-radius: 6px;
	box-shadow: 0 1px 0 rgba(13, 23, 51, .04); transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease; overflow: hidden; }
.fx-karta::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--fx-chaber), var(--fx-zloto)); transform: scaleX(0); transform-origin: left; transition: transform .45s ease; }
.fx-karta:hover { transform: translateY(-6px); box-shadow: var(--fx-cien); border-color: transparent; }
.fx-karta:hover::before { transform: scaleX(1); }
.fx-karta > * { margin: 0 !important; }
.fx-karta h3 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.65rem); }
.fx-karta p { color: var(--fx-szary); flex: 1 1 auto; }
.fx-karta__ikona { width: 64px; height: 64px; display: grid !important; place-items: center; border-radius: 50%; background: var(--fx-chaber-jasny); }
.fx-karta__ikona img { width: 34px !important; height: 34px !important; object-fit: contain; }
.fx-karta .wp-block-buttons { margin-top: .5rem !important; }
.fx-karta .is-style-outline > .wp-block-button__link { border: 0; padding: 0; min-height: 44px; background: none; color: var(--fx-chaber); box-shadow: none; transform: none; font-weight: 700; }
.fx-karta .is-style-outline > .wp-block-button__link:hover { color: var(--fx-chaber-ciemny); background: none; }

/* ---------- tekst + zdjęcie ---------- */
.fx-split { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; }
.fx-split .wp-block-column > :first-child { margin-top: 0; }
.fx-split__zdjecie, .fx-split__media .wp-block-image { position: relative; margin: 0; }
.fx-split__zdjecie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--fx-promien); position: relative; z-index: 1; }
.fx-split__zdjecie::before { content: ""; position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem; border: 1px solid var(--fx-zloto); border-radius: var(--fx-promien); z-index: 0; }
.fx-split--zdjecie-lewo .fx-split__zdjecie::before { inset: 1.5rem 1.5rem -1.5rem -1.5rem; }
.fx-podpis { font-family: var(--fx-szeryf); font-style: italic; font-size: 1.3rem; color: var(--fx-chaber); line-height: 1.4; }
.fx-lista-ptaszki { list-style: none; padding: 0 !important; margin: 1.5rem 0 !important; display: grid; gap: .9rem; }
.fx-lista-ptaszki li { position: relative; padding-left: 2.6rem; font-size: 1.0625rem; }
.fx-lista-ptaszki li::before { content: ""; position: absolute; left: 0; top: .1em; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--fx-zloto) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%230D1733' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 62% no-repeat; }
.fx-kolaz { position: relative; padding: 0 0 18% 14%; }
.fx-kolaz > .wp-block-image { margin: 0 !important; }
.fx-kolaz__1 img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--fx-promien); }
.fx-kolaz__2 { position: absolute !important; left: 0; bottom: 0; width: 52%; }
.fx-kolaz__2 img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--fx-promien); border: 8px solid var(--fx-kremowy); box-shadow: var(--fx-cien); }
.fx-kolaz::after { content: ""; position: absolute; right: -14px; top: -14px; width: 90px; height: 90px; border-top: 2px solid var(--fx-zloto); border-right: 2px solid var(--fx-zloto); }

/* ---------- korzyści (granat) ---------- */
.fx-korzysci { gap: clamp(2rem, 6vw, 6rem) !important; }
.fx-korzysci__lewa > :first-child { margin-top: 0; }
.fx-luk img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--fx-promien) var(--fx-promien); }
.fx-sekcja--granat .fx-luk { position: relative; margin-top: 2rem; }
.fx-sekcja--granat .fx-luk::after { content: ""; position: absolute; inset: -12px; border-radius: 999px 999px 10px 10px; border: 1px solid rgba(244, 180, 26, .45); pointer-events: none; }
.fx-lista-korzysci { list-style: none; padding: 0 !important; margin: 0 !important; counter-reset: korzysc; }
.fx-lista-korzysci li { counter-increment: korzysc; position: relative; padding: 1.6rem 0 1.6rem 4.6rem; border-bottom: 1px solid rgba(255, 255, 255, .12); line-height: 1.65; }
.fx-lista-korzysci li:first-child { padding-top: .4rem; }
.fx-lista-korzysci li:first-child::before { top: .2rem; }
.fx-lista-korzysci li::before { content: counter(korzysc, decimal-leading-zero); position: absolute; left: 0; top: 1.35rem; font-family: var(--fx-szeryf); font-size: 2.25rem; line-height: 1; font-weight: 400; font-style: italic; color: var(--fx-zloto); }
.fx-lista-korzysci li strong { display: block; font-family: var(--fx-szeryf); font-weight: 500; font-size: 1.3rem; line-height: 1.3; margin-bottom: .35rem; }
.fx-sekcja:not(.fx-sekcja--granat) .fx-lista-korzysci li { border-color: var(--fx-kreska); }
.fx-sekcja:not(.fx-sekcja--granat) .fx-lista-korzysci li::before { color: var(--fx-chaber); }
.fx-korzysci .wp-block-quote { border-color: var(--fx-zloto); color: #fff; }

/* ---------- zespół ---------- */
.fx-zespol { gap: clamp(1.5rem, 4vw, 3.5rem) !important; }
.fx-osoba { display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 1.75rem; align-items: center; }
.fx-osoba > * { margin: 0 !important; }
.fx-osoba__zdjecie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 6px 6px; box-shadow: var(--fx-cien); }
.fx-osoba p { font-size: 1.0625rem; }
.fx-osoba strong { display: block; font-family: var(--fx-szeryf); font-size: 1.8rem; font-weight: 500; color: var(--fx-granat); line-height: 1.1; margin-bottom: .5rem; }

/* ---------- opinie ---------- */
.fx-opinie { background: linear-gradient(180deg, var(--fx-kremowy) 0%, var(--fx-piasek) 100%); }
.fx-opinie__lista { max-width: var(--wp--style--global--wide-size) !important; }
.fx-opinie__lista .wp-block-post-template { gap: clamp(1rem, 2vw, 1.75rem) !important; }
.fx-opinia { position: relative; height: 100%; display: flex; flex-direction: column; gap: .8rem; padding: clamp(1.75rem, 3vw, 2.4rem); background: #fff; border-radius: 6px; border: 1px solid var(--fx-kreska); }
.fx-opinia::before { content: "“"; position: absolute; right: 1.4rem; top: .2rem; font-family: var(--fx-szeryf); font-size: 6rem; line-height: 1; color: var(--fx-chaber-jasny); }
.fx-opinia > * { margin: 0 !important; position: relative; }
.fx-gwiazdki { color: var(--fx-zloto); letter-spacing: .25em; font-size: 1.05rem; }
.fx-opinia__tresc { flex: 1 1 auto; font-size: 1rem; line-height: 1.7; color: #2B3352; }
.fx-opinia__tresc p { margin: 0 0 .6em; }
.fx-opinia__autor { font-family: var(--fx-bez) !important; font-size: 1rem !important; font-weight: 750 !important; letter-spacing: .02em; padding-top: 1rem; border-top: 1px solid var(--fx-kreska); }
.fx-opinia__autor::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--fx-zloto); vertical-align: middle; margin-right: .6rem; }
@media (max-width: 781px) {
	.fx-opinie__lista .wp-block-post-template { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; margin-inline: calc(-1 * var(--wp--style--root--padding-left)) !important; padding-inline: var(--wp--style--root--padding-left); scroll-padding-inline: var(--wp--style--root--padding-left); }
	.fx-opinie__lista .wp-block-post-template > li { flex: 0 0 86%; scroll-snap-align: start; }
}

/* ---------- wezwanie do kontaktu ---------- */
.fx-cta { gap: clamp(2rem, 5vw, 5rem) !important; position: relative; z-index: 1; }
.fx-cta .wp-block-column > :first-child { margin-top: 0; }
.fx-cta__zdjecie img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--fx-promien); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); }
.fx-cta__zdjecie { position: relative; }
.fx-cta__zdjecie::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(244, 180, 26, .6); border-radius: var(--fx-promien); }
.fx-kontakt-szybki { gap: 1rem !important; margin-top: 2rem !important; }
.fx-kontakt-szybki > * { margin: 0 !important; }
.fx-dane--duzy a, .fx-dane--duzy > .fx-dane__kolo { display: inline-flex; align-items: center; gap: .9rem; min-height: 64px; padding: .55rem 1.4rem .55rem .55rem; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff !important; text-decoration: none; transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.fx-dane--duzy a:hover { background: rgba(255, 255, 255, .16); border-color: var(--fx-zloto); transform: translateY(-2px); }
.fx-dane__kolo { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--fx-zloto); color: var(--fx-granat); }
.fx-dane__kolo .fx-ikona { width: 22px; height: 22px; }
.fx-dane__opis { display: flex; flex-direction: column; line-height: 1.2; }
.fx-dane__opis small { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; font-weight: 700; }
.fx-dane__opis strong { font-size: 1.15rem; font-weight: 650; word-break: break-word; }
.fx-sekcja:not(.fx-sekcja--chaber):not(.fx-sekcja--granat) .fx-dane--duzy a { background: #fff; border-color: var(--fx-kreska); color: var(--fx-granat) !important; }
.fx-sekcja:not(.fx-sekcja--chaber):not(.fx-sekcja--granat) .fx-dane--duzy a:hover { border-color: var(--fx-chaber); }

/* dane z ikonką */
.fx-dane { margin: 0; }
.fx-dane--ikona a, .fx-dane--ikona .fx-dane__bez-linku { display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; text-decoration: none; color: inherit; }
.fx-dane--ikona a:hover { color: var(--fx-chaber); }
.fx-dane--ikona .fx-ikona { color: var(--fx-chaber); flex: 0 0 auto; }
.fx-social { display: flex; gap: .4rem; flex-wrap: wrap; }
.fx-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: inherit; transition: background-color .25s ease, color .25s ease; }
.fx-social a:hover { background: var(--fx-zloto); color: var(--fx-granat) !important; }
.fx-social a:hover .fx-ikona { color: var(--fx-granat) !important; }

/* ---------- FAQ ---------- */
.fx-faq { border-top: 1px solid var(--fx-kreska); }
.fx-faq > .wp-block-details { margin: 0 !important; border-bottom: 1px solid var(--fx-kreska); }
.fx-faq summary { position: relative; list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 64px; padding: 1.1rem 3.5rem 1.1rem 0; font-family: var(--fx-szeryf); font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); line-height: 1.3; color: var(--fx-granat); transition: color .2s ease; }
.fx-faq summary::-webkit-details-marker { display: none; }
.fx-faq summary::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 38px; height: 38px; margin-top: -19px; border-radius: 50%; border: 1px solid var(--fx-kreska);
	background: linear-gradient(var(--fx-chaber), var(--fx-chaber)) center / 14px 1.5px no-repeat, linear-gradient(var(--fx-chaber), var(--fx-chaber)) center / 1.5px 14px no-repeat; transition: transform .3s ease, background-color .3s ease; }
.fx-faq details[open] > summary::after { transform: rotate(45deg); background-color: var(--fx-zloto); border-color: var(--fx-zloto); }
.fx-faq summary:hover { color: var(--fx-chaber); }
.fx-faq details > :not(summary) { margin: 0 0 1.4rem; padding-right: 3.5rem; color: #2B3352; }
.fx-faq-uklad { gap: clamp(2rem, 6vw, 6rem) !important; }
.fx-faq-uklad .wp-block-column > :first-child { margin-top: 0; }

/* ---------- etapy ---------- */
.fx-etapy { counter-reset: etap; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 2.5rem 1.75rem; margin-top: clamp(2rem, 4vw, 3.5rem) !important; position: relative; }
.fx-etap { counter-increment: etap; position: relative; padding-top: 5.2rem; margin: 0 !important; }
.fx-etap::before { content: counter(etap, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--fx-granat); color: var(--fx-zloto); font-family: var(--fx-szeryf); font-style: italic; font-size: 1.5rem; z-index: 1; box-shadow: 0 0 0 8px var(--fx-kremowy); }
.fx-etap::after { content: ""; position: absolute; top: 32px; left: 64px; right: -1.75rem; height: 1px; background: repeating-linear-gradient(90deg, var(--fx-zloto) 0 8px, transparent 8px 14px); }
.fx-etap:last-child::after { display: none; }
.fx-etap > * { margin: 0 0 .6rem !important; }
.fx-etap h3 { font-size: 1.35rem; }
.fx-etap p { color: var(--fx-szary); font-size: 1rem; }
.fx-sekcja--piasek .fx-etap::before { box-shadow: 0 0 0 8px var(--fx-piasek); }
@media (max-width: 700px) {
	.fx-etap { padding: 0 0 0 5rem; min-height: 64px; }
	.fx-etap::after { top: 64px; left: 32px; right: auto; bottom: -2.5rem; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--fx-zloto) 0 8px, transparent 8px 14px); }
}

/* ---------- od czego zależy cena ---------- */
.fx-czynniki { counter-reset: czynnik; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: 2rem !important; }
.fx-czynnik { counter-increment: czynnik; position: relative; padding: 2rem 1.9rem 1.75rem; background: #fff; border: 1px solid var(--fx-kreska); border-radius: 6px; margin: 0 !important; }
.fx-czynnik::before { content: counter(czynnik, decimal-leading-zero); display: block; margin-bottom: 1rem; font-family: var(--fx-szeryf); font-style: italic; font-size: 2.2rem; line-height: 1; color: var(--fx-chaber); }
.fx-czynnik h3 { font-size: 1.3rem; margin: 0 0 .7rem; }
.fx-czynnik p { font-size: 1rem; color: #2B3352; margin: 0 0 .8rem; }
.fx-czynnik > :last-child { margin-bottom: 0; }

/* ---------- cytat / wyróżnienie ---------- */
.fx-sekcja--cytat { background: var(--fx-kremowy); }
.fx-cytat, .fx-tresc .wp-block-quote { position: relative; border: 0 !important; margin-inline: auto; padding: 1.5rem 0 0 0 !important; font-family: var(--fx-szeryf); font-style: italic; font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem); line-height: 1.45; color: var(--fx-granat); }
.fx-cytat { text-align: center; max-width: 900px !important; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.3; }
.fx-cytat::before, .fx-tresc .wp-block-quote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; height: 2.2rem; color: var(--fx-zloto); font-style: normal; }
.fx-tresc .wp-block-quote { padding-left: 1.75rem !important; border-left: 3px solid var(--fx-zloto) !important; }
.fx-tresc .wp-block-quote::before { position: absolute; left: 1.4rem; top: -.4rem; font-size: 4rem; opacity: .35; }
.wp-block-quote cite { display: block; margin-top: 1rem; font-family: var(--fx-bez); font-style: normal; font-size: .875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-chaber); }
.fx-ramka { position: relative; margin-block: 2.5rem !important; padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.4rem); background: var(--fx-chaber-jasny); border-radius: 6px; border-left: 4px solid var(--fx-zloto); }
.fx-ramka > :first-child { margin-top: 0; }
.fx-ramka > :last-child { margin-bottom: 0; }
.fx-ramka h3 { font-size: 1.4rem; }

/* ---------- karta kontaktowa ---------- */
.fx-karta-kontakt { gap: clamp(1.5rem, 4vw, 3rem) !important; align-items: center !important; padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border: 1px solid var(--fx-kreska); border-radius: 8px; box-shadow: var(--fx-cien); }
.fx-karta-kontakt__zdjecie img { width: 100%; max-width: 260px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--fx-chaber-jasny); }
.fx-karta-kontakt h3 { margin-top: 0; }
.fx-karta-kontakt__dane > * { margin: 0 0 .2rem !important; }
.fx-karta-kontakt--pion { display: flex; flex-direction: column; align-items: flex-start; }
.fx-karta-kontakt--pion > * { margin: 0 !important; }
.fx-karta-kontakt--pion .fx-kontakt-szybki { display: flex; flex-direction: column; gap: .8rem; width: 100%; }
.fx-kontakt { gap: clamp(2rem, 6vw, 5rem) !important; }
.fx-dane-lista { margin: 1.5rem 0 !important; padding: 1.25rem 0; border-block: 1px solid var(--fx-kreska); }
.fx-dane-lista > * { margin: 0 0 .25rem !important; }
.fx-dane-lista .fx-dane--firma { font-family: var(--fx-szeryf); font-size: 1.4rem; margin-bottom: .5rem !important; }
.fx-kontakt .fx-social a { background: var(--fx-chaber-jasny); color: var(--fx-chaber); }

/* ---------- galerie i obrazy ---------- */
.wp-block-gallery.fx-galeria { gap: clamp(.5rem, 1.2vw, 1rem) !important; }
.wp-block-gallery.fx-galeria .wp-block-image { overflow: hidden; border-radius: var(--fx-promien); }
.wp-block-gallery.fx-galeria .wp-block-image img { transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .4s ease; }
.wp-block-gallery.fx-galeria .wp-block-image:hover img { transform: scale(1.06); }
.wp-block-gallery.is-cropped.fx-galeria .wp-block-image img { aspect-ratio: 4 / 3; }
:where(.fx-tresc .wp-block-image) img { border-radius: var(--fx-promien); }
.wp-lightbox-overlay .scrim { background-color: rgba(10, 18, 41, .94) !important; }
.wp-lightbox-overlay .close-button { color: #fff; }
.wp-block-image .lightbox-trigger { background: rgba(13, 23, 51, .6) !important; }

/* ---------- treść wpisu ---------- */
.fx-tresc--wpis { padding-block: clamp(3rem, 6vw, 5rem) 1rem !important; }
.fx-tresc--wpis > :where(p, ul, ol) { font-size: 1.125rem; line-height: 1.8; }
.fx-tresc--wpis > h2 { margin-top: clamp(2.5rem, 5vw, 4rem); }
.fx-tresc--wpis > h3 { margin-top: 2.25rem; }
.fx-tresc--wpis > h4, .fx-tresc--wpis > h5 { margin-top: 2rem; }
.fx-tresc--wpis > .wp-block-image, .fx-tresc--wpis > .wp-block-gallery { margin-block: 2.5rem; }
.fx-tresc--wpis > .alignfull { margin-block: clamp(3rem, 6vw, 5rem) !important; }
.fx-tresc--wpis > .alignfull + .alignfull { margin-top: 0 !important; }
.fx-tresc--wpis > .fx-sekcja:last-child { margin-bottom: 0 !important; }
.fx-tresc :where(p, li) a { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.fx-tresc ul:not([class*="fx-lista"]) { padding-left: 1.3rem; }
.fx-tresc ul:not([class*="fx-lista"]) > li::marker { color: var(--fx-zloto); font-size: 1.2em; }
.fx-tresc ol:not([class*="fx-lista"]) > li::marker { color: var(--fx-chaber); font-weight: 700; }
.fx-tresc li + li { margin-top: .4rem; }
.wp-block-separator { border: 0 !important; height: 1px !important; background: var(--fx-kreska); opacity: 1; margin-block: clamp(2rem, 4vw, 3rem) !important; }
.fx-tresc .wp-block-table { overflow-x: auto; }
.fx-tresc .wp-block-table table { border-collapse: collapse; width: 100%; font-size: 1rem; background: #fff; border-radius: 6px; overflow: hidden; }
.fx-tresc .wp-block-table th { background: var(--fx-granat); color: #fff; text-align: left; }
.fx-tresc .wp-block-table th, .fx-tresc .wp-block-table td { padding: .85rem 1rem; border: 1px solid var(--fx-kreska); }
.fx-tresc .wp-block-table tr:nth-child(even) td { background: var(--fx-kremowy); }
.fx-wpis__stopka { padding-bottom: clamp(3rem, 6vw, 5rem); }
.fx-wpis__nawigacja { padding-top: 2rem; border-top: 1px solid var(--fx-kreska); gap: 1.5rem; }
.fx-wpis__nawigacja > * { margin: 0 !important; max-width: 48%; }
.fx-wpis__nawigacja a { display: block; color: var(--fx-granat); text-decoration: none; font-family: var(--fx-szeryf); font-size: 1.15rem; line-height: 1.35; min-height: 44px; }
.fx-wpis__nawigacja a:hover { color: var(--fx-chaber); }
.wp-block-post-navigation-link .post-navigation-link__label { display: block; font-family: var(--fx-bez); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-chaber); margin-bottom: .3rem; }
.post-navigation-link-next { text-align: right; margin-left: auto !important; }
@media (max-width: 600px) { .fx-wpis__nawigacja > * { max-width: 100%; } .post-navigation-link-next { text-align: left; margin-left: 0 !important; } }

/* ---------- karty wpisów ---------- */
.fx-sekcja--wpisy { background: var(--fx-piasek); }
.fx-wpisy { max-width: var(--wp--style--global--wide-size) !important; }
.fx-wpisy .wp-block-post-template { gap: clamp(1.25rem, 2.5vw, 2rem) !important; }
.fx-wpis-karta { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--fx-kreska); transition: transform .35s ease, box-shadow .35s ease; }
.fx-wpis-karta:hover { transform: translateY(-5px); box-shadow: var(--fx-cien); }
.fx-wpis-karta > * { margin: 0 !important; }
.fx-wpis-karta__zdjecie { overflow: hidden; }
.fx-wpis-karta__zdjecie img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); width: 100%; }
.fx-wpis-karta:hover .fx-wpis-karta__zdjecie img { transform: scale(1.05); }
.fx-wpis-karta__kat { padding: 1.4rem 1.6rem 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.fx-wpis-karta__kat a { color: var(--fx-chaber); text-decoration: none; }
.fx-wpis-karta__kat .wp-block-post-terms__separator { color: var(--fx-zloto); }
.fx-wpis-karta__tytul { padding: .6rem 1.6rem 0; font-size: 1.35rem !important; line-height: 1.25 !important; }
.fx-wpis-karta__tytul a { color: var(--fx-granat); text-decoration: none; background: linear-gradient(var(--fx-zloto), var(--fx-zloto)) 0 100% / 0 2px no-repeat; transition: background-size .4s ease; }
.fx-wpis-karta:hover .fx-wpis-karta__tytul a { background-size: 100% 2px; }
.fx-wpis-karta__zajawka { padding: .8rem 1.6rem 1.6rem; color: var(--fx-szary); font-size: .975rem; flex: 1 1 auto; display: flex; flex-direction: column; }
.fx-wpis-karta__zajawka .wp-block-post-excerpt__excerpt { margin: 0 0 1rem; }
.fx-wpis-karta__zajawka .wp-block-post-excerpt__more-text { margin: auto 0 0; }
.fx-wpis-karta__zajawka .wp-block-post-excerpt__more-link { font-weight: 700; color: var(--fx-chaber); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.fx-wpis-karta:not(:has(.fx-wpis-karta__zajawka)) .fx-wpis-karta__tytul { padding-bottom: 1.6rem; }
.wp-block-query-pagination { margin-top: 3rem !important; gap: .5rem; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--fx-kreska); color: var(--fx-granat); text-decoration: none; }
.wp-block-query-pagination .page-numbers.current { background: var(--fx-granat); color: #fff; border-color: var(--fx-granat); }
.fx-sekcja--wstep { padding-bottom: clamp(2rem, 4vw, 3rem) !important; }

/* ---------- portfolio / realizacje ---------- */
.fx-sekcja--realizacje { padding-top: 1rem !important; }
.fx-realizacje { max-width: var(--wp--style--global--wide-size) !important; }
.fx-realizacje .wp-block-post-template { counter-reset: realizacja; list-style: none; padding: 0; margin: 0; }
.fx-realizacje .wp-block-post-template > li { counter-increment: realizacja; padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--fx-kreska); margin: 0; }
.fx-realizacja__tytul { position: relative; display: flex; align-items: baseline; gap: 1.2rem; margin: 0 0 1.2rem !important; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem) !important; }
.fx-realizacja__tytul::before { content: counter(realizacja, decimal-leading-zero); font-style: italic; font-size: .6em; color: var(--fx-zloto); flex: 0 0 auto; }
.fx-realizacja__tresc > p { max-width: 760px; color: #2B3352; margin-left: 0 !important; }
.fx-realizacja__tresc > .wp-block-gallery { max-width: none !important; margin-top: 1.75rem; }

/* ---------- 404 ---------- */
.fx-sekcja--404 { min-height: 50vh; }
.fx-sekcja--404 .wp-block-search__inside-wrapper { max-width: 520px; }
.wp-block-search__input { min-height: 50px; border-radius: 4px; border: 1px solid #CBC3B4; padding: 0 1rem; font-size: 1rem; }
.wp-block-search__button { min-height: 50px; }

/* ---------- stopka ---------- */
.fx-stopka { background: var(--fx-granat-3); color: #B9C2DD; padding-block: clamp(4rem, 8vw, 6rem) 0 !important; font-size: .975rem; position: relative; overflow: hidden; }
.fx-stopka::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--fx-chaber) 0 60%, var(--fx-zloto) 60% 92%, var(--fx-czerwien) 92%); }
.fx-stopka a { color: #E8ECF7; text-decoration: none; }
.fx-stopka a:hover { color: var(--fx-zloto); }
.fx-stopka__kolumny { gap: clamp(2rem, 5vw, 4rem) !important; }
.fx-stopka .fx-logo img { width: 160px; }
.fx-stopka__haslo { font-family: var(--fx-szeryf); font-size: 1.5rem; line-height: 1.3; color: #fff; margin-top: 1.6rem !important; max-width: 20ch; }
.fx-stopka__atuty { font-size: .9rem; color: #95A0C2; }
.fx-stopka__tytul { font-family: var(--fx-bez) !important; font-size: .78rem !important; font-weight: 700 !important; letter-spacing: .18em; text-transform: uppercase; color: var(--fx-zloto) !important; margin-bottom: 1.2rem !important; }
.fx-stopka__menu .wp-block-navigation__container { gap: 0 !important; }
.fx-stopka__menu .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 40px; padding: 0 !important; }
.fx-stopka .fx-dane--ikona .fx-ikona { color: var(--fx-zloto); }
.fx-stopka__dane > * { margin: 0 0 .15rem !important; }
.fx-stopka__dane .fx-dane--firma { color: #fff; font-weight: 600; margin-bottom: .5rem !important; }
.fx-stopka .fx-social { margin-top: 1.5rem; }
.fx-stopka .fx-social a { border: 1px solid rgba(255, 255, 255, .18); }
.fx-stopka__dol { margin-top: clamp(3rem, 6vw, 4.5rem) !important; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .1); gap: .5rem 2rem; font-size: .875rem; color: #8B96B9; }
.fx-stopka__dol > * { margin: 0 !important; }
.fx-stopka__prawne .wp-block-navigation__container { gap: .2rem 1.5rem; }
.fx-stopka__prawne .wp-block-navigation-item__content { min-height: 44px; display: inline-flex; align-items: center; }
.fx-stopka__autor a { color: #C9D1EA; border-bottom: 1px solid rgba(244, 180, 26, .5); }
@media (max-width: 781px) {
	.fx-stopka__menu .wp-block-navigation-item__content { min-height: 44px; }
	.fx-stopka__dol { flex-direction: column; align-items: flex-start !important; }
}

/* ---------- pasek ciasteczek ---------- */
.fx-ciastka { position: fixed; z-index: 200; left: clamp(.75rem, 2vw, 1.5rem); bottom: clamp(.75rem, 2vw, 1.5rem); max-width: 440px; width: calc(100% - 1.5rem); padding: 1.25rem 1.4rem; border-radius: 10px; background: var(--fx-granat); color: #D6DCEF; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); font-size: .9rem; line-height: 1.55; border-top: 3px solid var(--fx-zloto); }
.fx-ciastka[hidden] { display: none; }
.fx-ciastka p { margin: 0 0 1rem; }
.fx-ciastka a { color: #fff; }
.fx-ciastka__przyciski { display: flex; gap: .6rem; flex-wrap: wrap; }
.fx-ciastka button { cursor: pointer; min-height: 44px; padding: 0 1.2rem; border-radius: 4px; font: inherit; font-weight: 700; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; }
.fx-ciastka button.fx-ciastka__tak { background: var(--fx-zloto); border-color: var(--fx-zloto); color: var(--fx-granat); }
.fx-ciastka button:hover { border-color: var(--fx-zloto); }

/* ---------- ruch przy przewijaniu ---------- */
.js .fx-pojaw { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--fx-opoznienie, 0s); }
.js .fx-pojaw.jest { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .fx-pojaw { opacity: 1; transform: none; transition: none; }
	.fx-hero .wp-block-cover__image-background { animation: none; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- responsywność ---------- */
@media (max-width: 781px) {
	.fx-split, .fx-korzysci, .fx-cta, .fx-faq-uklad, .fx-kontakt { gap: 2.5rem !important; }
	.fx-split--zdjecie-lewo { flex-direction: column; }
	.fx-split__zdjecie::before { inset: 1rem -.75rem -.75rem 1rem; }
	.fx-split--zdjecie-lewo .fx-split__zdjecie::before { inset: 1rem 1rem -.75rem -.75rem; }
	.fx-split__zdjecie img { aspect-ratio: 4 / 3.6; }
	.fx-osoba { grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: start; }
	.fx-osoba strong { font-size: 1.45rem; }
	.fx-luk img { aspect-ratio: 1 / 1; max-height: 420px; }
	.fx-lista-korzysci li { padding-left: 3.6rem; }
	.fx-lista-korzysci li::before { font-size: 1.8rem; }
	.fx-cta__zdjecie::before { display: none; }
	.fx-kolaz { padding: 0 0 22% 10%; }
	.fx-hero { min-height: 0 !important; }
	.fx-karta-kontakt__zdjecie img { max-width: 180px; }
	.fx-faq details > :not(summary) { padding-right: 0; }
}
@media (max-width: 480px) {
	.fx-dane--duzy a { width: 100%; }
	.fx-kontakt-szybki { flex-direction: column; align-items: stretch !important; }
	.fx-hero .wp-block-buttons, .fx-hero .wp-block-button { width: 100%; }
	.fx-hero .wp-block-button__link { width: 100%; }
}

/* ---------- edytor ---------- */
.editor-styles-wrapper .fx-gora { position: relative; top: auto; }
.editor-styles-wrapper .fx-hero .wp-block-cover__image-background { animation: none; }
.editor-styles-wrapper .fx-opinie__lista .wp-block-post-template { display: grid; }
/* edytor: bez unoszenia kafelków po najechaniu — pasek narzędzi i uchwyty nie skaczą */
.editor-styles-wrapper :is(.fx-karta, .fx-wpis-karta, .wp-block-button__link, .fx-dane--duzy a, .fx-naglowek__telefon a):hover { transform: none !important; }
.editor-styles-wrapper :is(.wp-block-gallery.fx-galeria .wp-block-image, .fx-wpis-karta__zdjecie):hover img { transform: none !important; }
.editor-styles-wrapper .fx-pojaw { opacity: 1 !important; transform: none !important; }
*, *::before, *::after { box-sizing: border-box; }

/* ---------- zdjęcie obok tekstu (z treści) ---------- */
.fx-media { gap: clamp(1.5rem, 4vw, 3rem) !important; margin-block: 2.5rem !important; align-items: center !important; }
.fx-media__zdjecie img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 6px 6px; box-shadow: var(--fx-cien); }
.fx-media .wp-block-column > p { margin-top: 0; }
@media (max-width: 781px) { .fx-media__zdjecie img { max-width: 260px; } .fx-media--right { flex-direction: column-reverse; } }

/* nagłówki sekcji szerokich — wyrównane do szerokiej siatki */
.fx-sekcja:not(.fx-sekcja--tresc):not(.fx-sekcja--waska):not(.fx-sekcja--cytat) > :is(.fx-kicker, .fx-tytul-sekcji) { max-width: var(--wp--style--global--wide-size) !important; }
.fx-sekcja:not(.fx-sekcja--tresc):not(.fx-sekcja--waska) > .fx-tytul-sekcji { padding-right: min(40%, 520px); }
:where(.fx-uslugi, .fx-opinie, .fx-sekcja--galeria, .fx-sekcja--etapy, .fx-sekcja--wpisy) > .fx-tytul-sekcji { padding-inline: 10% !important; }
.fx-kontakt .fx-social { margin: .5rem 0 1.75rem !important; }
.fx-sekcja--jasna { background: var(--fx-chaber-jasny); }
.fx-sekcja--jasna .fx-dane--duzy a { background: #fff !important; border-color: #C9D4F5 !important; color: var(--fx-granat) !important; }
.fx-sekcja--jasna .fx-dane--duzy a:hover { border-color: var(--fx-chaber) !important; }
@media (max-width: 781px) { .fx-sekcja:not(.fx-sekcja--tresc):not(.fx-sekcja--waska) > .fx-tytul-sekcji { padding-right: 0; } :where(.fx-uslugi, .fx-opinie, .fx-sekcja--galeria, .fx-sekcja--etapy, .fx-sekcja--wpisy) > .fx-tytul-sekcji { padding-inline: 0 !important; } }
.wp-block-gallery.fx-galeria.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0; }
@media (max-width: 479px) {
	.fx-pasek .fx-social { display: none; }
	.fx-pasek__kontakt { flex-wrap: nowrap !important; }
	.fx-pasek__wnetrze { flex-wrap: nowrap !important; }
}
/* otwarte menu mobilne: backdrop-filter tworzy blok zawierający dla position:fixed — wyłączamy */
.fx-naglowek:has(.is-menu-open) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--fx-kremowy); }
/* edytor: sekcje na całą szerokość bez odstępu między sobą (jak na stronie) */
.editor-styles-wrapper .is-root-container > .alignfull + .alignfull { margin-block-start: 0 !important; }

/* ---------- stopka 2 (30.10.2026): pas „porozmawiajmy”, atuty z ptaszkami, siatka na telefonie, „do góry” ---------- */
html { scroll-behavior: smooth; }
.fx-stopka--2 { padding-block: 0 !important; }
.fx-stopka--2 .fx-stopka__cta { position: relative; z-index: 1; margin-block: clamp(3rem, 6vw, 4.5rem) clamp(3rem, 6vw, 4.5rem) !important; padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem); gap: 1.5rem 3rem; border-radius: 10px;
	background: linear-gradient(120deg, var(--fx-chaber) 0%, var(--fx-chaber-ciemny, #1A339E) 100%); color: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); overflow: hidden; }
.fx-stopka--2 .fx-stopka__cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .07); pointer-events: none; }
.fx-stopka--2 .fx-stopka__cta-tekst { flex: 1 1 420px; }
.fx-stopka--2 .fx-stopka__cta-tekst > * { margin: 0 !important; }
.fx-stopka__cta-nad { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--fx-zloto); }
.fx-stopka__cta-tytul { font-family: var(--fx-szeryf) !important; font-size: clamp(1.5rem, 3vw, 2.1rem) !important; line-height: 1.2 !important; color: #fff !important; margin-top: .5rem !important; text-transform: none !important; letter-spacing: 0 !important; }
.fx-stopka__cta-opis { color: #DCE3FA; margin-top: .6rem !important; }
.fx-stopka--2 .fx-stopka__cta-akcje { gap: .75rem; flex: 0 1 auto; }
.fx-stopka--2 .fx-stopka__cta-akcje > * { margin: 0 !important; }
.fx-stopka--2 .fx-stopka__cta-akcje a { display: inline-flex; align-items: center; gap: .6rem; min-height: 54px; padding: .8rem 1.35rem; border-radius: 6px; font-weight: 700; font-size: 1.02rem; color: var(--fx-granat-3, #101B3F) !important; background: #fff; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; white-space: nowrap; }
.fx-stopka--2 .fx-stopka__cta-akcje .fx-stopka__cta-tel a { background: var(--fx-zloto); }
.fx-stopka--2 .fx-stopka__cta-akcje a:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .5); color: var(--fx-granat-3, #101B3F) !important; }
.fx-stopka--2 .fx-stopka__cta-akcje .fx-ikona { color: inherit !important; }
.fx-stopka__atuty-lista { list-style: none; padding: 0 !important; margin: 1.1rem 0 0 !important; display: grid; gap: .45rem; font-size: .95rem; color: #C9D1EA; }
.fx-stopka__atuty-lista li { position: relative; padding-left: 1.6rem; }
.fx-stopka__atuty-lista li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1rem; height: 1rem; border-radius: 50%; background: var(--fx-chaber); }
.fx-stopka__atuty-lista li::after { content: ""; position: absolute; left: .33rem; top: .52em; width: .32rem; height: .55rem; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.fx-stopka--2 .fx-stopka__menu .wp-block-navigation-item__content { position: relative; transition: color .2s ease, transform .2s ease; }
.fx-stopka--2 .fx-stopka__menu .wp-block-navigation-item__content:hover { transform: translateX(4px); }
.fx-stopka--2 .fx-social a { transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.fx-stopka--2 .fx-social a:hover { transform: translateY(-3px); background: var(--fx-chaber); border-color: var(--fx-chaber); }
.fx-stopka--2 .fx-stopka__dol { margin-top: clamp(2.5rem, 5vw, 4rem) !important; align-items: center; }
.fx-stopka__gora a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; color: #E8ECF7 !important; }
.fx-stopka__gora a:hover { border-color: var(--fx-zloto); color: var(--fx-zloto) !important; }
@media (max-width: 781px) {
	.fx-stopka--2 .fx-stopka__cta { text-align: left; }
	.fx-stopka--2 .fx-stopka__cta-akcje, .fx-stopka--2 .fx-stopka__cta-akcje > * { width: 100%; }
	.fx-stopka--2 .fx-stopka__cta-akcje a { width: 100%; justify-content: center; white-space: normal; }
	.fx-stopka--2 .fx-stopka__kolumny { display: grid !important; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem !important; }
	.fx-stopka--2 .fx-stopka__kolumny > .wp-block-column { flex-basis: auto !important; margin: 0 !important; }
	.fx-stopka--2 .fx-stopka__marka, .fx-stopka--2 .fx-stopka__kol-kontakt { grid-column: 1 / -1; }
	.fx-stopka--2 .fx-stopka__kol-kontakt { padding: 1.4rem 1.25rem; border-radius: 10px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
	.fx-stopka--2 .fx-stopka__dol { flex-direction: column; align-items: center !important; text-align: center; gap: .9rem; }
	.fx-stopka--2 .fx-stopka__prawne .wp-block-navigation__container { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fx-stopka--2 * { transition: none !important; } }
