/* Perfekt Finanse – style komponentów. Kolory i fonty pochodzą z theme.json (zmienne --wp--preset--*).
 * Zasady: jedno tło, jeden tusz, jeden akcent (mięta); powierzchnie oddziela ton, nie linia ani cień;
 * dwa kroje (Manrope w nagłówkach, Lato w tekście); pięć rozmiarów: nagłówek główny, nagłówek sekcji, 20, 17, 14 px. */

:root {
	--pf-ink: var(--wp--preset--color--grafit, #1c1c1c);
	--pf-ink2: var(--wp--preset--color--grafit-2, #272727);
	--pf-paper: var(--wp--preset--color--papier, #f3f3f1);
	--pf-sand: var(--wp--preset--color--piasek, #e7e7e3);
	--pf-mint: var(--wp--preset--color--mieta, #3ddc97);
	--pf-mint-ink: var(--wp--preset--color--mieta-ciemna, #0b7a52);
	--pf-muted: #55554f;
	--pf-coral: var(--wp--preset--color--koral, #d9573b);
	--pf-on-dark: #f2f2ef;
	--pf-on-dark-2: #c9c9c3;
	--pf-display: var(--wp--preset--font-family--manrope, Manrope, system-ui, sans-serif);
	--pf-radius: 4px;
	--pf-lead: 20px;
	--pf-body: 17px;
	--pf-small: 14px;
	--pf-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Układ ogólny ---------- */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
.pf-main { margin: 0; }
.pf-main .wp-block-post-content > .alignfull { margin-block: 0; }
.pf-page { padding-block: clamp(48px, 6vw, 90px); }
h1, h2, h3 { text-wrap: balance; }
h1 em, h2 em, h3 em { font: inherit; color: inherit; }
:where(.pf-main) img { height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, .wp-block-button__link:focus-visible {
	outline: 3px solid var(--pf-mint); outline-offset: 3px;
}
.pf-todo { background: #fff4c2; color: #5a4a00; border-radius: var(--pf-radius); padding: 0 4px; font-weight: 700; }

.pf-section { padding-block: clamp(80px, 9vw, 150px); }
.pf-dark { background: var(--pf-ink); color: var(--pf-on-dark); }
.pf-sand { background: var(--pf-sand); }
.pf-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px) !important; }
.pf-head > * { margin: 0 !important; }
.pf-sub { font-size: var(--pf-lead); line-height: 1.5; max-width: 62ch; color: var(--pf-ink); }
.pf-dark .pf-sub { color: var(--pf-on-dark-2); }
.pf-note { color: var(--pf-muted); font-size: var(--pf-small); max-width: 90ch; }

/* Przyciski: płaskie, jeden kolor wypełnienia, mała zmiana tonu przy najechaniu. */
.wp-block-button__link { border-radius: var(--pf-radius); transition: background-color .18s, color .18s, transform .18s var(--pf-ease); }
.wp-block-button__link:hover { background-color: #63e6ad; }
.wp-block-button__link:active { transform: translateY(1px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: inherit; border: 2px solid currentColor; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--pf-on-dark); color: var(--pf-ink); border-color: var(--pf-on-dark); }

/* ---------- Nagłówek strony ---------- */
header.wp-block-template-part { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 50; }
.pf-top { background: var(--pf-ink); color: #fff; padding-block: 12px; }
.pf-top__in { gap: 24px; }
.pf-top .wp-block-site-logo img { width: auto; max-height: 44px; }
.pf-top .pf-nav { margin-left: auto; font-family: var(--pf-display); font-weight: 600; font-size: var(--pf-body); gap: 22px; flex-wrap: nowrap; }
.pf-top .pf-nav a { color: var(--pf-on-dark-2); text-decoration: none; transition: color .18s; }
.pf-top .pf-nav a:hover { color: #fff; }
.pf-top .wp-block-navigation__responsive-container.is-menu-open { background: var(--pf-ink); color: #fff; padding: 24px; }
.pf-top .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-size: var(--pf-lead); }
.pf-top .wp-block-navigation__responsive-container-open, .pf-top .wp-block-navigation__responsive-container-close { color: #fff; }
.pf-top__cta { margin: 0; flex-shrink: 0; }
.pf-top__tel { margin: 0; flex-shrink: 0; font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-body); white-space: nowrap; }
.pf-top__tel a { color: #fff; text-decoration: none; }
.pf-top__tel:empty { display: none; }
@media (max-width: 1240px) { .pf-top__tel { display: none; } }
@media (max-width: 600px) { .pf-top__cta { display: none !important; } }
.pf-btn-sm .wp-block-button__link { padding: 12px 18px; font-size: var(--pf-small); }

/* ---------- Hero ---------- */
.pf-hero { position: relative; overflow: hidden; padding-top: clamp(40px, 5vw, 72px); }
.pf-hero::before {
	content: ""; position: absolute; right: -6%; top: -4%; width: min(560px, 48vw); aspect-ratio: 444 / 766;
	background: url(../img/sygnet-bialy.svg) no-repeat center / contain; opacity: .07; pointer-events: none;
}
.pf-hero__grid { gap: 40px; align-items: flex-end !important; margin: 0; position: relative; }
.pf-hero__copy { display: grid; gap: 28px; padding-bottom: clamp(48px, 6vw, 90px); align-self: center; flex-basis: 58% !important; }
.pf-hero__copy > * { margin: 0 !important; }
.pf-hero__copy h1 { max-width: 13em; }
@media (min-width: 600px) and (max-width: 1100px) { .pf-hero__copy h1 { font-size: 54px !important; } }
.pf-lead { font-size: var(--pf-lead); line-height: 1.5; color: var(--pf-on-dark-2); max-width: 40ch; }
.pf-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: var(--pf-small); color: var(--pf-on-dark-2); }
.pf-chips li { display: flex; align-items: center; gap: 10px; }
.pf-chips li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pf-mint); }
.pf-hero__photo { position: relative; align-self: flex-end; flex-basis: 42% !important; display: flex; justify-content: flex-end; }
.pf-hero__img { margin: 0; }
.pf-hero__img img { display: block; width: auto; max-width: none; height: clamp(420px, 78vh, 760px) !important; }
.pf-hero--sub .pf-hero__img img { height: clamp(400px, 76vh, 720px) !important; }
.pf-nameplate { position: absolute; left: 0; bottom: 44px; margin: 0; background: #fff; color: var(--pf-ink); border-radius: var(--pf-radius); padding: 14px 18px; font-size: var(--pf-small); line-height: 1.4; }
.pf-nameplate strong { font-family: var(--pf-display); font-size: var(--pf-body); font-weight: 800; }
.pf-hero-tel { color: var(--pf-on-dark-2); font-size: var(--pf-body); }
.pf-hero-tel a { color: #fff; font-family: var(--pf-display); font-weight: 700; text-decoration: underline; text-decoration-color: var(--pf-mint); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 781px) {
	.pf-hero__copy { padding-bottom: 10px; }
	.pf-hero__photo { justify-content: center; }
	.pf-hero__img img { height: auto !important; width: 100%; max-width: 320px; }
	.pf-nameplate { left: auto; right: 0; bottom: 30px; }
}

/* ---------- Pasek warunków ---------- */
.pf-qual { background: var(--pf-mint); color: var(--pf-ink); padding-block: 18px; }
.pf-qual .wp-block-group { gap: 10px 30px; align-items: center; }
.pf-qual p { margin: 0; font-family: var(--pf-display); }
.pf-qual__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 24px; font-weight: 700; font-size: var(--pf-small); }
.pf-qual__list li { display: flex; gap: 8px; align-items: baseline; }
.pf-qual__list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--pf-ink); flex: none; }

/* ---------- Pasek zaufania: osobny ton, bez linii ---------- */
.pf-trust { background: #fff; padding-block: 22px; }
.pf-trust__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px 28px; font-size: var(--pf-small); color: var(--pf-ink); }
.pf-trust__list li { display: block; }
.pf-trust__list li:empty { display: none; }
.pf-trust__list strong, .pf-g strong { font-family: var(--pf-display); }
.pf-g { color: inherit; text-decoration: none; }
.pf-g-line:empty { display: none; }
@media (max-width: 781px) { .pf-trust__list { grid-template-columns: 1fr; gap: 8px; } }

/* Znacznik listy rysowany w CSS (zamiast emoji). */
.pf-mark li, .pf-bik__who li, .pf-fit li, .pf-ticks li { display: flex; gap: 12px; align-items: baseline; }
.pf-bik__who li::before, .pf-fit li::before, .pf-ticks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--pf-mint-ink); transform: translateY(-1px); }
.pf-fit__no li::before { background: var(--pf-coral); }
.pf-ticks li::before { background: var(--pf-mint); }

/* ---------- Trudniejszy BIK ---------- */
.pf-bik__cols { gap: 24px; }
.pf-bik__who, .pf-bik__how { background: #fff; border-radius: var(--pf-radius); padding: 34px 32px; display: grid; gap: 16px; align-content: start; }
.pf-bik__who > *, .pf-bik__how > * { margin: 0 !important; }
.pf-bik__who ul { list-style: none; padding: 0; display: grid; gap: 12px; }
.pf-bik__how ol { padding-left: 22px; display: grid; gap: 14px; }
.pf-callout { background: var(--pf-ink); color: var(--pf-on-dark); border-radius: var(--pf-radius); margin-top: 24px !important; gap: 0 !important; overflow: hidden; }
.pf-callout__media { align-self: stretch !important; }
.pf-callout__media figure { margin: 0; height: 100%; }
.pf-callout__media img { width: 100%; height: 100% !important; object-fit: cover; display: block; min-height: 280px; }
.pf-callout__copy { padding: clamp(28px, 4vw, 56px); display: grid; gap: 14px; }
.pf-callout__copy > * { margin: 0 !important; }
.pf-callout__copy p { color: var(--pf-on-dark-2); }
.pf-callout__title { font-family: var(--pf-display); font-weight: 800; font-size: var(--pf-lead); color: #fff !important; }

/* ---------- Porównanie (inni / my): pasy tonu zamiast linii ---------- */
.pf-compare { display: grid; gap: 4px; }
.pf-compare > .wp-block-columns { margin: 0 !important; gap: 4px !important; }
.pf-compare > .wp-block-columns > .wp-block-column { padding: 20px 26px; }
.pf-compare p { margin: 0; }
.pf-compare__head { font-family: var(--pf-display); font-weight: 800; font-size: var(--pf-body); }
.pf-compare__head > .wp-block-column:first-child { color: var(--pf-on-dark-2); }
.pf-compare__head > .wp-block-column:last-child { color: var(--pf-mint); }
.pf-compare__no { background: #262624; color: var(--pf-on-dark-2); }
.pf-compare__yes { background: #23362d; color: #fff; font-weight: 700; }
@media (max-width: 781px) {
	.pf-compare__head { display: none !important; }
	.pf-compare__row { gap: 0 !important; margin-bottom: 12px !important; }
	.pf-compare__no p::before { content: "Zwykle: "; font-weight: 700; color: var(--pf-on-dark); }
	.pf-compare__yes p::before { content: "U nas: "; color: var(--pf-mint); }
}

/* ---------- Proces krok po kroku ---------- */
.pf-process { gap: 24px; }
.pf-pstep { background: #fff; border-radius: var(--pf-radius); padding: 30px; display: grid; gap: 12px; align-content: start; }
.pf-pstep > * { margin: 0 !important; }
.pf-pstep__we, .pf-pstep__you { font-size: var(--pf-body); }
.pf-pstep__you { color: var(--pf-muted); }
.pf-pstep__we strong, .pf-pstep__you strong { display: block; font-family: var(--pf-display); font-size: var(--pf-small); color: var(--pf-mint-ink); margin-bottom: 2px; }
.pf-section:not(.pf-sand):not(.pf-dark) .pf-pstep { background: var(--pf-sand); }

/* ---------- Historie ---------- */
.pf-wide-img { margin-bottom: 32px !important; }
.pf-wide-img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; display: block; }
.pf-cases { gap: 24px; }
.pf-case { background: #fff; border-radius: var(--pf-radius); padding: 30px 28px; display: grid; gap: 14px; align-content: start; }
.pf-case > * { margin: 0 !important; }
.pf-case__step { font-size: var(--pf-body); }
.pf-case__step strong { display: block; color: var(--pf-mint-ink); font-family: var(--pf-display); font-size: var(--pf-small); margin-bottom: 2px; }
.pf-case__result { background: #e3f6ec; border-radius: var(--pf-radius); padding: 14px 16px; color: #0b4d33; font-weight: 700; }
#historie .pf-note { margin-top: 24px !important; }

/* ---------- Pasek ze zdjęciem ---------- */
.pf-band__cols { gap: clamp(32px, 5vw, 72px); }
.pf-band__img { margin: 0; }
.pf-band__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.pf-band__copy { display: grid; gap: 18px; }
.pf-band__copy > * { margin: 0 !important; }
.pf-band__copy h2 { font-size: clamp(30px, 3vw, 42px) !important; }

/* ---------- Lista kontrolna ---------- */
.pf-check__cols { gap: 24px; }
.pf-check__col { background: #fff; border-radius: var(--pf-radius); padding: 34px 32px; display: grid; gap: 16px; align-content: start; }
.pf-check__col > * { margin: 0 !important; }
.pf-check__list { list-style: none; padding: 0; display: grid; gap: 12px; }
.pf-check__list li { display: flex; gap: 12px; align-items: baseline; }
.pf-check__list li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 2px; background: var(--pf-mint-ink); transform: translateY(-1px); }
.pf-section:not(.pf-sand):not(.pf-dark) .pf-check__col { background: var(--pf-sand); }
.pf-check .pf-note { margin-top: 24px !important; }

/* ---------- Słowo od Łukasza ---------- */
.pf-letter-cols { gap: clamp(32px, 5vw, 72px); }
.pf-letter__img { margin: 0; }
.pf-letter__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; display: block; }
.pf-letter { display: grid; gap: 18px; }
.pf-letter > * { margin: 0 !important; }
.pf-letter p { font-size: var(--pf-lead); line-height: 1.5; max-width: 60ch; }
.pf-letter__sign { font-size: var(--pf-body) !important; color: var(--pf-muted); }
.pf-letter__sign strong { font-family: var(--pf-display); font-size: var(--pf-lead); color: var(--pf-ink); }
.pf-opt-label { font-weight: 400; color: var(--pf-muted); }

/* ---------- Dlaczego warto nam zaufać: bez pudełek, tekst na siatce ---------- */
.pf-benefits { gap: 48px 40px; }
.pf-benefit { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 4px solid var(--pf-mint); }
.pf-benefit > * { margin: 0 !important; }
.pf-benefit p { font-size: var(--pf-body); }

/* ---------- Karty sytuacji ---------- */
.pf-cards { gap: 24px; }
.pf-card { background: #fff; border-radius: var(--pf-radius); padding: 32px 28px; display: grid; gap: 12px; align-content: start; transition: transform .25s var(--pf-ease); }
.pf-card > * { margin: 0 !important; }
.pf-card:has(a):hover { transform: translateY(-3px); }
.pf-section:not(.pf-sand):not(.pf-dark) .pf-card { background: var(--pf-sand); }
.pf-tag { font-family: var(--pf-display); font-size: var(--pf-small); font-weight: 700; color: #08603f !important; }
.pf-quote { font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-lead); line-height: 1.3; letter-spacing: -.01em; color: var(--pf-ink) !important; }
.pf-more a { font-family: var(--pf-display); font-weight: 700; color: var(--pf-ink); text-decoration: underline; text-decoration-color: var(--pf-mint); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pf-dark .pf-more a { color: #fff; }
@media (min-width: 782px) {
	.pf-cards--6 { flex-wrap: wrap !important; gap: 24px !important; }
	.pf-cards--6 > .wp-block-column { flex: 0 0 calc(33.333% - 16px) !important; box-sizing: border-box; }
}
@media (min-width: 782px) and (max-width: 1100px) {
	.pf-cards--6 > .wp-block-column { flex-basis: calc(50% - 12px) !important; }
	.pf-cards--4, .pf-services--4 { flex-wrap: wrap !important; }
	.pf-cards--4 > .wp-block-column, .pf-services--4 > .wp-block-column { flex-basis: calc(50% - 24px) !important; flex-grow: 1; }
}

/* ---------- Usługi ---------- */
.pf-services { gap: 4px !important; }
.pf-svc { background: var(--pf-ink2); padding: 36px 30px; display: grid; gap: 14px; align-content: start; border-radius: var(--pf-radius); }
.pf-svc > * { margin: 0 !important; }
.pf-svc p { color: var(--pf-on-dark-2); }
.pf-svc ul { padding-left: 18px; color: var(--pf-on-dark); display: grid; gap: 8px; }

/* ---------- Kroki ---------- */
.pf-steps { gap: 32px; }
.pf-step { border-top: 4px solid var(--pf-ink); padding-top: 22px; display: grid; gap: 10px; align-content: start; }
.pf-step > * { margin: 0 !important; }
.pf-step p { font-size: var(--pf-body); }
@media (min-width: 600px) and (max-width: 1000px) { .pf-steps { flex-wrap: wrap !important; } .pf-step { flex-basis: calc(50% - 16px) !important; } }

/* ---------- O mnie ---------- */
.pf-about { gap: clamp(32px, 5vw, 72px); }
.pf-about__photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; }
.pf-about__photo img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 25%; }
.pf-about__copy { display: grid; gap: 20px; }
.pf-about__copy > * { margin: 0 !important; }
.pf-big-quote { font-family: var(--pf-display); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.015em; max-width: 26ch; }
.pf-about__copy .pf-sub { font-size: var(--pf-body); }
.pf-facts { gap: 4px; margin-top: 8px !important; }
.pf-fact { background: #fff; border-radius: var(--pf-radius); padding: 18px; font-size: var(--pf-small); }
.pf-fact p { margin: 0; }
.pf-fact strong { display: block; font-family: var(--pf-display); font-size: var(--pf-lead); font-weight: 800; color: var(--pf-ink); }

/* ---------- Dla kogo ---------- */
.pf-fit { gap: 24px; }
.pf-fit__yes, .pf-fit__no { border-radius: var(--pf-radius); padding: 34px 32px; display: grid; gap: 16px; align-content: start; }
.pf-fit__yes > *, .pf-fit__no > * { margin: 0 !important; }
.pf-fit__yes { background: #fff; }
.pf-fit__no { background: var(--pf-sand); }
.pf-fit ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.pf-fit li { font-weight: 700; }

/* ---------- Opinie ---------- */
.pf-reviews { gap: 24px; }
.pf-review { background: #fff; border-radius: var(--pf-radius); padding: 30px; display: grid; gap: 12px; align-content: start; }
.pf-review > * { margin: 0 !important; }
.pf-stars { font-family: var(--pf-display); font-weight: 800; font-size: var(--pf-small); color: #08603f; }
.pf-review__text { font-size: var(--pf-body); }
.pf-review__who { color: var(--pf-muted); font-size: var(--pf-small); }
.pf-reviews-section { background: var(--pf-paper); }
.pf-is-sample { position: relative; padding-top: 62px !important; outline: 2px dashed #e0b400; outline-offset: -2px; }
.pf-is-sample::after { content: "Przykładowa opinia – widzi ją tylko zalogowany administrator. Podmień treść na prawdziwą."; position: absolute; top: 14px; left: 16px; right: 16px; background: #fff4c2; color: #5a4a00; font-size: 13px; font-weight: 700; padding: 4px 8px; border-radius: var(--pf-radius); line-height: 1.35; }

/* ---------- FAQ ---------- */
.pf-faq { display: grid; gap: 6px; }
.pf-faq > * { margin: 0 !important; }
.pf-faq summary { cursor: pointer; list-style: none; font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-lead); padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; }
.pf-faq summary::-webkit-details-marker { display: none; }
.pf-faq summary::after { content: "+"; color: var(--pf-mint-ink); font-size: 26px; line-height: 1; transition: transform .2s var(--pf-ease); }
.pf-faq details[open] summary::after { transform: rotate(45deg); }
.pf-faq details p { margin: 0 0 20px; max-width: 70ch; }

/* ---------- Sekcja formularza ---------- */
.pf-form-grid { gap: clamp(32px, 5vw, 72px); align-items: flex-start !important; }
.pf-form-side { display: grid; gap: 22px; }
.pf-form-side > * { margin: 0 !important; }
.pf-contact { color: var(--pf-on-dark-2); line-height: 1.8; }
.pf-contact strong { color: #fff; font-family: var(--pf-display); }
.pf-contact a { color: #fff; }
.pf-people { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 6px 0; }
.pf-person { display: block; line-height: 1.6; }
.pf-footer .pf-people { flex-direction: column; gap: 10px; }
.pf-footer .pf-person strong { color: #fff; }
.pf-ticks { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--pf-on-dark); font-weight: 700; }

.pf-qform { background: #fff; color: var(--pf-ink); border-radius: var(--pf-radius); padding: clamp(24px, 3vw, 40px); }
.pf-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.pf-progress i { flex: 1; height: 6px; border-radius: 3px; background: var(--pf-sand); }
.pf-progress i.is-on { background: var(--pf-mint); }
.pf-stepno { margin: -14px 0 18px; font-size: var(--pf-small); color: var(--pf-muted); }
.pf-fields select { font: inherit; font-size: var(--pf-body); padding: 13px 14px; border: 2px solid var(--pf-sand); border-radius: var(--pf-radius); background: var(--pf-paper); width: 100%; color: var(--pf-ink); }
.pf-qmsg--no a { display: inline-block; margin-top: 8px; color: #7d2a18; font-weight: 700; }
.pf-qstep { display: none; gap: 20px; }
.pf-qstep.is-active { display: grid; }
.pf-q { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.pf-q legend { padding: 0; margin-bottom: 12px; }
.pf-q[hidden] { display: none; }
.pf-hint--q { font-weight: 700; color: var(--pf-ink); }
.pf-qtitle { font-family: var(--pf-display); font-weight: 800; font-size: var(--pf-lead); letter-spacing: -.01em; line-height: 1.25; margin: 0; }
.pf-hint { color: var(--pf-muted); font-size: var(--pf-small); margin: 0; }
.pf-opts { display: grid; gap: 8px; }
.pf-opt { display: flex; align-items: center; gap: 12px; background: var(--pf-paper); border: 2px solid transparent; border-radius: var(--pf-radius); padding: 15px 16px; cursor: pointer; font-weight: 700; transition: border-color .15s, background-color .15s; }
.pf-opt:hover { background: var(--pf-sand); }
.pf-opt input { accent-color: var(--pf-mint-ink); width: 18px; height: 18px; margin: 0; flex: none; }
.pf-opt:has(input:checked) { border-color: var(--pf-mint-ink); background: #e3f6ec; }
.pf-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf-fields label { display: grid; gap: 6px; font-size: var(--pf-small); font-weight: 700; }
.pf-fields .pf-full { grid-column: 1 / -1; }
.pf-fields input, .pf-fields textarea { font: inherit; font-size: var(--pf-body); padding: 13px 14px; border: 2px solid var(--pf-sand); border-radius: var(--pf-radius); background: var(--pf-paper); width: 100%; color: var(--pf-ink); }
.pf-fields input:focus, .pf-fields textarea:focus { border-color: var(--pf-mint-ink); outline: none; }
.pf-fields textarea { min-height: 84px; resize: vertical; }
.pf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: ukryte pole przeciw botom */
.pf-consent { display: flex; gap: 10px; font-size: var(--pf-small); color: var(--pf-muted); align-items: flex-start; }
.pf-consent input { margin-top: 3px; accent-color: var(--pf-mint-ink); flex: none; }
.pf-qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.pf-back { background: none; border: 0; font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-small); color: var(--pf-muted); cursor: pointer; padding: 10px 0; }
.pf-back:hover { color: var(--pf-ink); }
.pf-next { margin-left: auto; border: 0; cursor: pointer; background: var(--pf-mint); color: var(--pf-ink); font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-body); padding: 18px 26px; border-radius: var(--pf-radius); transition: background-color .18s, transform .18s var(--pf-ease); }
.pf-next:hover { background: #63e6ad; }
.pf-next:active { transform: translateY(1px); }
.pf-next:disabled { opacity: .6; cursor: wait; }
.pf-qmsg { border-radius: var(--pf-radius); padding: 18px 20px; font-size: var(--pf-body); margin-top: 16px; }
.pf-qmsg--no { background: #fbece8; color: #7d2a18; }
.pf-qmsg--ok { background: #e3f6ec; color: #0b4d33; }
@media (max-width: 600px) { .pf-fields { grid-template-columns: 1fr; } }

/* ---------- Stopka ---------- */
.pf-footer { background: #141414; color: #b4b4ae; font-size: var(--pf-small); padding-block: 64px 44px; }
.pf-footer h4 { font-family: var(--pf-display); font-size: var(--pf-body); color: #fff; margin: 0 0 10px; }
.pf-footer a { color: #e2e2dc; text-decoration: none; }
.pf-footer a:hover { color: #fff; text-decoration: underline; }
.pf-footer .wp-block-site-logo img { width: auto; max-height: 46px; }
.pf-legal { padding-top: 26px; margin-top: 36px !important; font-size: var(--pf-small); line-height: 1.6; color: #9c9c96; }

/* ---------- Pasek CTA na telefonie (przyklejony – jedyny element z cieniem poza baner cookies) ---------- */
.pf-mbar { display: none !important; }
@media (max-width: 600px) {
	.pf-mbar { display: flex !important; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--pf-ink); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); gap: 12px; align-items: center; justify-content: space-between; }
	.pf-mbar > * { margin: 0 !important; }
	.pf-mbar__tel a { color: #fff; font-family: var(--pf-display); font-weight: 700; text-decoration: none; white-space: nowrap; }
	.pf-mbar__cta .wp-block-button__link { padding: 13px 18px; font-size: var(--pf-small); color: var(--pf-ink) !important; }
	.pf-mbar__cta { margin-left: auto !important; }
	.pf-footer { padding-bottom: 110px; }
}

/* ---------- Baner cookies (prawdziwa nakładka) ---------- */
.pf-cookie { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 100; max-width: 560px; margin-left: auto; background: #fff; color: var(--pf-ink); border-radius: var(--pf-radius); padding: 18px 20px; box-shadow: 0 12px 40px rgba(0, 0, 0, .28); font-size: var(--pf-small); display: grid; gap: 14px; } /* taste-skill-ignore: nakładka */
.pf-cookie[hidden] { display: none; }
.pf-cookie p { margin: 0; }
.pf-cookie strong { display: block; font-family: var(--pf-display); margin-bottom: 4px; }
.pf-cookie__btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.pf-cookie button { border: 0; cursor: pointer; font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-small); border-radius: var(--pf-radius); padding: 12px 16px; }
.pf-cookie__min { background: var(--pf-sand); color: var(--pf-ink); }
.pf-cookie__all { background: var(--pf-mint); color: var(--pf-ink); }
@media (max-width: 600px) {
	.pf-cookie { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; gap: 10px; font-size: 13px; }
	.pf-cookie strong { display: inline; margin: 0 4px 0 0; }
	.pf-cookie__btns { flex-wrap: nowrap; }
	.pf-cookie button { flex: 1; padding: 11px 10px; }
}

/* ---------- Ruch: wejście elementów sekcji (tylko transform i przezroczystość) ---------- */
.pf-js .pf-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--pf-ease), transform .7s var(--pf-ease); }
.pf-js .pf-reveal.is-in { opacity: 1; transform: none; }
.pf-js .pf-zoom img { transform: scale(1.06); transition: transform 1.6s var(--pf-ease); }
.pf-js .pf-zoom.is-in img { transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
	.pf-js .pf-reveal, .pf-js .pf-zoom img { opacity: 1; transform: none; transition: none; }
	.wp-block-button__link, .pf-opt, .pf-card, .pf-next { transition: none; }
}

/* =====================================================================
 * Kierunek „Pióro”: jeden motyw z logo (pióro skrzydła) prowadzi przez stronę –
 * tło nagłówka, maski zdjęć, punkty list, narożniki kart, przyciski i pasy sekcji.
 * ===================================================================== */
:root { --pf-leaf: 0 100% 0 100%; --pf-leaf-card: 0 32px 0 32px; --pf-leaf-img: 0 160px 0 160px; --pf-leaf-img-r: 160px 0 160px 0; --pf-leaf-btn: 0 14px 0 14px; }

/* Nagłówek strony: duże miętowe pióro za Łukaszem */
.pf-hero::before { display: none; }
.pf-hero::after { content: ""; position: absolute; right: -14vw; top: -14%; width: min(64vw, 980px); height: 135%; background: var(--pf-mint); border-radius: var(--pf-leaf); transform: rotate(-12deg); pointer-events: none; }
.pf-hero__grid { z-index: 1; }
.pf-nameplate { border-radius: var(--pf-leaf-card); }
.pf-hero .wp-block-button.is-style-outline > .wp-block-button__link { border-color: var(--pf-on-dark); }
.pf-chips li::before { width: 12px; height: 12px; border-radius: var(--pf-leaf); }
@media (max-width: 781px) {
	.pf-hero::after { top: auto; bottom: -8%; right: -45vw; width: 140vw; height: 48%; transform: rotate(-8deg); }
}

/* Przyciski w kształcie pióra */
.wp-block-button__link, .pf-next, .pf-cookie button { border-radius: var(--pf-leaf-btn) !important; }

/* Zdjęcia przycięte w kształt liścia */
.pf-band__img img, .pf-letter__img img, .pf-about__photo, .pf-callout__media figure { border-radius: var(--pf-leaf-img); overflow: hidden; }
.pf-band:nth-of-type(even) .pf-band__img img { border-radius: var(--pf-leaf-img-r); }
.pf-wide-img img { border-radius: 0 120px 0 120px; }
.pf-callout { border-radius: var(--pf-leaf-card); }
@media (max-width: 781px) {
	.pf-band__img img, .pf-letter__img img, .pf-about__photo, .pf-callout__media figure { border-radius: 0 90px 0 90px; }
	.pf-wide-img img { border-radius: 0 70px 0 70px; }
}

/* Karty z narożnikami pióra */
.pf-card, .pf-pstep, .pf-case, .pf-review, .pf-check__col, .pf-bik__who, .pf-bik__how, .pf-fit__yes, .pf-fit__no, .pf-fact, .pf-qform, .pf-cookie { border-radius: var(--pf-leaf-card); }
.pf-svc { border-radius: 0 28px 0 28px; }
.pf-case__result { border-radius: 0 16px 0 16px; }
.pf-opt, .pf-fields input, .pf-fields textarea, .pf-fields select { border-radius: 0 12px 0 12px; }

/* Punkty list: małe pióro */
.pf-bik__who li::before, .pf-fit li::before, .pf-ticks li::before, .pf-check__list li::before, .pf-qual__list li::before { width: 12px; height: 12px; border-radius: var(--pf-leaf); transform: none; }

/* Korzyści: pióro zamiast kreski */
.pf-benefit { border-top: 0; padding-top: 0; }
.pf-benefit::before { content: ""; width: 34px; height: 34px; background: var(--pf-mint); border-radius: var(--pf-leaf); margin-bottom: 6px; }

/* Ciemne pasy z zaokrąglonym narożnikiem */
.pf-band.pf-dark, .pf-section.pf-dark#szczerze, .pf-section.pf-dark#bank-czy-posrednik { border-radius: 0 220px 0 0; }
.pf-form-sec { border-radius: 220px 0 0 0; }
.wp-block-post-content > .pf-section.pf-dark#uslugi { border-radius: 0 0 220px 0; }
@media (max-width: 781px) {
	.pf-band.pf-dark, .pf-section.pf-dark#szczerze, .pf-section.pf-dark#bank-czy-posrednik { border-radius: 0 90px 0 0; }
	.pf-form-sec { border-radius: 90px 0 0 0; }
	.wp-block-post-content > .pf-section.pf-dark#uslugi { border-radius: 0 0 90px 0; }
}

/* ---------- Pas z narzędziem (miętowy) ---------- */
.pf-toolband { background: var(--pf-mint); border-radius: 0 220px 0 0; }
.pf-toolband__cols { gap: clamp(32px, 5vw, 72px); }
.pf-toolband__copy { display: grid; gap: 18px; }
.pf-toolband__copy > * { margin: 0 !important; }
.pf-toolband .pf-sub { color: var(--pf-ink); }
.pf-toolband ul { list-style: none; padding: 0; display: grid; gap: 12px; font-weight: 700; }
.pf-toolband li { display: flex; gap: 12px; align-items: baseline; }
.pf-toolband li::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--pf-ink); border-radius: var(--pf-leaf); }
@media (max-width: 781px) { .pf-toolband { border-radius: 0 90px 0 0; } }

.pf-tool { background: #fff; color: var(--pf-ink); border-radius: 0 48px 0 48px; padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; }
.pf-tool__h { font-family: var(--pf-display); font-weight: 800; font-size: var(--pf-lead); line-height: 1.25; margin: 0; }
.pf-tool p { margin: 0; }
.pf-tool__p, .pf-tool__small { font-size: var(--pf-small); color: var(--pf-muted); }
.pf-tool__rows { display: grid; gap: 8px; }
.pf-tool__row { display: grid; grid-template-columns: 1fr 120px 24px; align-items: center; gap: 10px; font-weight: 700; }
.pf-tool__row input { font: inherit; font-size: var(--pf-body); padding: 10px 12px; border: 2px solid var(--pf-sand); border-radius: 0 12px 0 12px; background: var(--pf-paper); width: 100%; text-align: right; color: var(--pf-ink); }
.pf-tool__row input:focus { border-color: var(--pf-mint-ink); outline: none; }
.pf-tool__bars { display: grid; gap: 6px; }
.pf-tool__bar { height: 14px; border-radius: 0 7px 0 7px; background: var(--pf-ink); transition: width .4s var(--pf-ease); }
.pf-tool__bar.is-one { background: var(--pf-mint-ink); }
.pf-tool__out { font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-lead); line-height: 1.35; }
.pf-tool__chk { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; cursor: pointer; padding: 12px 14px; background: var(--pf-paper); border-radius: 0 12px 0 12px; }
.pf-tool__chk input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--pf-mint-ink); flex: none; }
.pf-tool__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tool__pill { font: inherit; font-weight: 700; font-size: var(--pf-small); padding: 10px 14px; border-radius: 999px; cursor: pointer; border: 2px solid var(--pf-ink); background: transparent; color: var(--pf-ink); }
.pf-tool__pill[aria-pressed="true"] { background: var(--pf-ink); color: #fff; }
.pf-tool__list { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-weight: 700; }
.pf-tool__cta { justify-self: start; display: inline-flex; background: var(--pf-ink); color: #fff !important; font-family: var(--pf-display); font-weight: 700; padding: 14px 20px; border-radius: var(--pf-leaf-btn); text-decoration: none; }
.pf-tool__cta:hover { background: #333; }
@media (max-width: 600px) { .pf-tool__row { grid-template-columns: 1fr 96px 20px; } }
@media (prefers-reduced-motion: reduce) { .pf-tool__bar { transition: none; } }

/* Karta z obietnicą w miętowym pasie */
.pf-promise { gap: 16px; }
.pf-promise > * { margin: 0 !important; }
.pf-promise p { color: var(--pf-ink); }
.pf-btn-ink .wp-block-button__link { background: var(--pf-ink) !important; color: #fff !important; }
.pf-btn-ink .wp-block-button__link:hover { background: #333 !important; }
.pf-promise__tel { font-size: var(--pf-small); }
.pf-promise__tel a { color: var(--pf-ink); font-weight: 700; }

/* Menu w jednej linii */
.pf-top .pf-nav a { white-space: nowrap; }
.pf-top .pf-nav { gap: 20px; }
@media (max-width: 1420px) { .pf-top__tel { display: none; } }
@media (max-width: 1100px) and (min-width: 600px) { .pf-top .pf-nav { font-size: 15px; gap: 14px; } }
.pf-toolband__copy { align-content: start; }

/* =====================================================================
 * Różne układy sekcji – żeby sąsiednie sekcje nie wyglądały tak samo.
 * ===================================================================== */

/* ---------- 1. Przed i po (Dziś / Po konsolidacji): ciemne kontra miętowe ---------- */
.pf-v-ba .pf-check__cols { gap: 0 !important; align-items: stretch !important; }
.pf-v-ba .pf-check__col { padding: clamp(32px, 4vw, 56px); gap: 22px; }
.pf-v-ba .pf-check__col:first-child { background: var(--pf-ink) !important; color: var(--pf-on-dark-2); border-radius: 0 0 0 48px; }
.pf-v-ba .pf-check__col:first-child h3 { color: #fff; }
.pf-v-ba .pf-check__col:first-child li::before { background: #6b6b66; }
.pf-v-ba .pf-check__col:last-child { background: var(--pf-mint) !important; color: var(--pf-ink); border-radius: 0 48px 0 0; }
.pf-v-ba .pf-check__col:last-child li { font-weight: 700; }
.pf-v-ba .pf-check__col:last-child li::before { background: var(--pf-ink); }
.pf-v-ba .pf-check__col h3 { font-size: clamp(26px, 2.6vw, 38px); }
.pf-v-ba .pf-check__list { gap: 16px; font-size: var(--pf-lead); }
@media (max-width: 781px) {
	.pf-v-ba .pf-check__col:first-child { border-radius: 0 40px 0 0; }
	.pf-v-ba .pf-check__col:last-child { border-radius: 0 0 0 40px; }
}

/* ---------- 2. Kafle sytuacji: równa siatka z listkiem ---------- */
@media (min-width: 782px) {
	.pf-v-bento .pf-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px !important; }
	.pf-v-bento .pf-cards > .pf-card { flex: none !important; width: auto !important; }
	.pf-v-bento .pf-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 782px) and (max-width: 1080px) { .pf-v-bento .pf-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pf-v-bento .pf-card { background: #fff !important; color: var(--pf-ink); padding: clamp(26px, 2.6vw, 36px) !important; display: flex !important; flex-direction: column; gap: 10px; min-height: 0; }
.pf-v-bento .pf-card > * { margin: 0 !important; }
.pf-v-bento .pf-card::before { content: ""; width: 30px; height: 30px; flex: none; background: var(--pf-mint); border-radius: 0 100% 0 100%; margin-bottom: 8px; }
.pf-v-bento .pf-card .pf-tag { color: var(--pf-mint-ink) !important; }
.pf-v-bento .pf-card h3, .pf-v-bento .pf-card .pf-quote { font-size: clamp(20px, 1.7vw, 24px) !important; line-height: 1.25; color: var(--pf-ink) !important; }
.pf-v-bento .pf-card p:not(.pf-tag):not(.pf-quote) { color: var(--pf-muted); }
.pf-v-bento .pf-card:hover { transform: none; }

/* ---------- 3. Wiersze: duży tytuł po lewej, rozwiązanie po prawej ---------- */
.pf-v-rows .pf-cards { display: grid !important; grid-template-columns: 1fr; gap: 8px !important; }
.pf-v-rows .pf-cards > .pf-card { flex: none !important; width: auto !important; display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1.1fr); gap: 8px 40px; align-items: baseline; padding: 26px 34px; min-height: 0; }
.pf-v-rows .pf-card h3 { font-size: clamp(20px, 2vw, 28px); }
.pf-v-rows .pf-card p:not(.pf-tag) { font-size: var(--pf-body); }
.pf-v-rows .pf-card:nth-child(odd) { background: #fff !important; }
.pf-v-rows .pf-card:nth-child(even) { background: transparent !important; }
.pf-v-rows.pf-sand .pf-card:nth-child(even) { background: #dedcd5 !important; }
.pf-v-rows .pf-card:hover { transform: none; }
@media (max-width: 900px) { .pf-v-rows .pf-cards > .pf-card { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- 4. Podział: nagłówek przyklejony po lewej, korzyści po prawej ---------- */
@media (min-width: 900px) {
	.pf-v-split { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); column-gap: clamp(40px, 6vw, 96px); padding-inline: max(20px, calc((100% - 1180px) / 2)) !important; }
	.pf-v-split > * { max-width: none !important; margin: 0 !important; grid-column: 2; }
	.pf-v-split > .pf-head { grid-column: 1; grid-row: 1 / span 3; position: sticky; top: 120px; align-self: start; }
	.pf-v-split .pf-wide-img { grid-column: 1; grid-row: 2; }
	.pf-v-split .pf-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
.pf-v-split .pf-head h2 { font-size: clamp(34px, 4.4vw, 64px); }
.pf-v-split .pf-benefit { background: #fff; border-radius: 0 32px 0 32px; padding: 28px; }
.pf-v-split.pf-sand .pf-benefit, .pf-sand .pf-v-split .pf-benefit { background: #fff; }

/* ---------- 5. Proces jako oś czasu ---------- */
.pf-process { position: relative; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important; gap: 24px !important; }
.pf-process::before { content: ""; position: absolute; left: 0; right: 0; top: 17px; height: 4px; background: var(--pf-mint); border-radius: 2px; }
.pf-process > .pf-pstep { position: relative; background: transparent !important; padding: 56px 0 0 !important; border-radius: 0; }
.pf-process > .pf-pstep::before { content: ""; position: absolute; top: 0; left: 0; width: 38px; height: 38px; background: var(--pf-ink); border-radius: var(--pf-leaf); }
.pf-process .pf-pstep h3 { font-size: clamp(20px, 1.8vw, 24px); }
.pf-process .pf-pstep__you { border: 0; padding-top: 0; }
@media (max-width: 781px) {
	.pf-process { grid-template-columns: 1fr !important; gap: 28px !important; padding-left: 56px; }
	.pf-process::before { left: 17px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; }
	.pf-process > .pf-pstep { padding-top: 0 !important; }
	.pf-process > .pf-pstep::before { left: -56px; }
}

/* ---------- 6. FAQ: nagłówek po lewej, pytania po prawej ---------- */
@media (min-width: 900px) {
	.pf-section#faq { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); column-gap: clamp(40px, 6vw, 96px); padding-inline: max(20px, calc((100% - 1180px) / 2)) !important; }
	.pf-section#faq > * { max-width: none !important; margin: 0 !important; }
	.pf-section#faq > .pf-head { position: sticky; top: 120px; align-self: start; }
	.pf-section#faq > .pf-head h2 { font-size: clamp(34px, 4.2vw, 60px); }
}
.pf-faq details { background: #fff; border-radius: 0 24px 0 24px; padding: 4px 24px !important; }
.pf-faq details[open] { background: var(--pf-ink); color: var(--pf-on-dark); }
.pf-faq details[open] p { color: var(--pf-on-dark-2); }
.pf-faq details[open] summary::after { color: var(--pf-mint); }

/* ---------- 7. Opinie: równe, czytelne karty ---------- */
@media (min-width: 900px) { .pf-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
.pf-reviews { gap: 20px !important; align-items: stretch; }
.pf-review { background: #fff !important; padding: clamp(26px, 2.6vw, 36px) !important; display: flex !important; flex-direction: column; gap: 18px; }
.pf-review .pf-stars { font-size: 0 !important; width: 100px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M3 15C3 7 9 1 17 1C17 9 11 15 3 15Z' fill='%233ddc97'/%3E%3C/svg%3E") left center / 20px 16px repeat-x; }
.pf-review .pf-review__text { flex: 1; font-family: var(--pf-display); font-weight: 600; font-size: clamp(17px, 1.3vw, 19px) !important; line-height: 1.5; color: var(--pf-ink); }
.pf-review .pf-review__who { display: flex; align-items: center; gap: 10px; color: var(--pf-muted); font-size: var(--pf-small); }
.pf-review .pf-review__who strong { color: var(--pf-ink); }
.pf-review .pf-review__who::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--pf-ink); border-radius: 0 100% 0 100%; }

/* =====================================================================
 * Animowane grafiki wyjaśniające (scalanie rat, porównanie ofert, ścieżka do kluczy)
 * ===================================================================== */
.pf-vis { margin: 0; position: relative; display: grid; gap: 14px; }
.pf-vis__stage { background: var(--pf-ink2); color: var(--pf-on-dark); border-radius: 0 48px 0 48px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 12px; overflow: hidden; }
.pf-vis__label { margin: 0; font-family: var(--pf-display); font-weight: 700; color: var(--pf-on-dark-2); }
.pf-vis__cap { font-size: var(--pf-small); color: inherit; opacity: .85; }
.pf-vis__replay { justify-self: start; background: none; border: 0; padding: 4px 0; font: inherit; font-family: var(--pf-display); font-weight: 700; font-size: var(--pf-small); color: inherit; text-decoration: underline; text-decoration-color: var(--pf-mint); text-underline-offset: 4px; cursor: pointer; }
.pf-vis.is-static .pf-vis__replay, .pf-vis:not(.pf-vis-js) .pf-vis__replay { display: none; }

/* Scalanie rat */
.m-bars { display: grid; gap: 8px; }
.m-bar { width: var(--w); min-width: min(100%, 250px); max-width: 100%; display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; background: #3a3a37; border-radius: 0 12px 0 12px; font-size: var(--pf-small); font-weight: 700; transform-origin: right center; }
.m-bar em { font-style: normal; font-weight: 400; color: var(--pf-on-dark-2); white-space: nowrap; }
.m-one { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 18px 20px; background: var(--pf-mint); color: var(--pf-ink); border-radius: 0 16px 0 16px; font-family: var(--pf-display); font-weight: 800; font-size: var(--pf-lead); transform-origin: left center; }
.m-one em { font-style: normal; font-weight: 700; font-size: var(--pf-small); }
.pf-vis-js.pf-vis--merge .m-one, .pf-vis-js.pf-vis--merge .m-after { transform: scaleX(0); opacity: 0; }
.m-after { margin-top: 8px !important; color: var(--pf-mint) !important; transform-origin: left center; }
.pf-vis-js.pf-vis--merge.is-in .m-bar { animation: pf-merge .6s cubic-bezier(.4, 0, .2, 1) forwards; animation-delay: calc(.9s + var(--i) * .16s); }
.pf-vis-js.pf-vis--merge.is-in .m-after { animation: pf-grow .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: 1.8s; }
.pf-vis-js.pf-vis--merge.is-in .m-one { animation: pf-grow .7s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: 2.1s; }
@keyframes pf-merge { to { opacity: .45; transform: scaleX(.97); text-decoration-line: line-through; } }
@keyframes pf-grow { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

/* Porównanie ofert */
.c-row { display: grid; gap: 6px; padding: 14px 16px; border-radius: 0 16px 0 16px; background: #2f2f2c; }
.c-row.is-best { background: #1f3a2e; }
.c-name { margin: 0; font-family: var(--pf-display); font-weight: 800; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.c-tag { background: var(--pf-mint); color: var(--pf-ink); font-size: 13px; padding: 3px 10px; border-radius: 999px; }
.c-bar { width: var(--w); height: 28px; display: flex; align-items: center; padding: 0 10px; border-radius: 0 10px 0 10px; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; transform-origin: left center; }
.c-bar--rate { background: #55554f; }
.c-bar--total { background: #8a8a83; color: var(--pf-ink); }
.c-row.is-best .c-bar--total { background: var(--pf-mint); }
.pf-vis-js.pf-vis--compare .c-bar { transform: scaleX(0); }
.pf-vis-js.pf-vis--compare.is-in .c-bar { animation: pf-grow .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.2s + var(--i, 0) * .25s); }
.pf-vis-js.pf-vis--compare.is-in .c-row:nth-child(1) .c-bar { --i: 0; } .pf-vis-js.pf-vis--compare.is-in .c-row:nth-child(2) .c-bar { --i: 1; } .pf-vis-js.pf-vis--compare.is-in .c-row:nth-child(3) .c-bar { --i: 2; }
.pf-vis-js.pf-vis--compare.is-in .c-bar--total { animation-delay: calc(1.1s + var(--i, 0) * .25s); }
.pf-vis-js.pf-vis--compare .c-tag { opacity: 0; }
.pf-vis-js.pf-vis--compare.is-in .c-tag { animation: pf-grow .5s forwards; animation-delay: 2.1s; }

/* Ścieżka do kluczy */
.pf-vis--path { padding-top: 10px; }
.s-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 110px; overflow: visible; }
.s-track, .s-draw { fill: none; stroke-width: 6; stroke-linecap: round; }
.s-track { stroke: var(--pf-sand); }
.s-draw { stroke: var(--pf-mint); stroke-dasharray: 1; stroke-dashoffset: 0; }
.s-nodes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; position: relative; }
.s-node { display: grid; gap: 6px; justify-items: center; text-align: center; padding-top: 6px; }
.s-node.is-low { padding-top: 56px; }
.s-dot { width: 48px; height: 48px; display: grid; place-items: center; background: var(--pf-paper); border-radius: 50%; }
.s-leaf { width: 34px; height: 34px; fill: var(--pf-ink); }
.s-node.is-last .s-dot { width: 64px; height: 64px; background: var(--pf-mint); border-radius: 0 50% 0 50%; margin-top: -8px; }
.s-house { width: 36px; height: 36px; fill: var(--pf-ink); }
.s-node b { font-family: var(--pf-display); font-size: var(--pf-body); line-height: 1.25; margin-top: 6px; }
.s-node > span:last-child { font-size: var(--pf-small); color: var(--pf-muted); }
.pf-sand .s-dot { background: var(--pf-sand); }
.pf-vis-js.pf-vis--path .s-draw { stroke-dashoffset: 1; }
.pf-vis-js.pf-vis--path.is-in .s-draw { animation: pf-draw 2.6s cubic-bezier(.4, 0, .2, 1) forwards; }
.pf-vis-js.pf-vis--path .s-node { opacity: 0; transform: translateY(14px); }
.pf-vis-js.pf-vis--path.is-in .s-node { animation: pf-pop .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.2s + var(--i) * .42s); }
@keyframes pf-draw { to { stroke-dashoffset: 0; } }
@keyframes pf-pop { to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
	.s-line { display: none; }
	.s-nodes { grid-template-columns: 1fr; gap: 22px; padding-left: 64px; }
	.s-nodes::before { content: ""; position: absolute; left: 22px; top: 10px; bottom: 30px; width: 6px; background: var(--pf-mint); border-radius: 3px; }
	.s-node, .s-node.is-low { justify-items: start; text-align: left; padding-top: 0; position: relative; }
	.s-dot { position: absolute; left: -64px; top: -6px; }
	.s-node.is-last .s-dot { left: -72px; }
	.s-node b { margin-top: 0; }
}

/* Sekcje z grafiką */
.pf-visband__cols { gap: clamp(32px, 5vw, 72px); }
.pf-visband__copy { display: grid; gap: 18px; align-content: center; }
.pf-visband__copy > * { margin: 0 !important; }
.pf-visfull .pf-vis { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
	.pf-vis-js .m-bar, .pf-vis-js .m-one, .pf-vis-js .c-bar, .pf-vis-js .c-tag, .pf-vis-js .s-node, .pf-vis-js .s-draw, .pf-vis-js .pf-vis__label { animation: none !important; opacity: 1 !important; transform: none !important; stroke-dashoffset: 0 !important; }
	.pf-vis-js .m-bar { opacity: .45 !important; text-decoration: line-through; }
}

/* Animacje 2: wniosek, BIK, chwilówki, dokumenty */
.v-ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pf-vis ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pf-vis-js.is-in .w-row, .pf-vis-js.is-in .w-foot, .pf-vis-js.is-in .b-row, .pf-vis-js.is-in .d-row, .pf-vis-js.is-in .l-node { animation: pf-pop .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(.2s + var(--i) * .38s); }
.pf-vis-js .w-row, .pf-vis-js .w-foot, .pf-vis-js .b-row, .pf-vis-js .d-row, .pf-vis-js .l-node { opacity: 0; transform: translateY(10px); }

/* Wniosek: sam vs z nami */
.w-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
.w-lane { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 0 24px 0 24px; background: #2b2b28; }
.w-lane--us { background: #1f3a2e; }
.w-lane--us .pf-vis__label { color: var(--pf-mint); }
.w-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 0 12px 0 12px; background: #3a3a37; font-size: var(--pf-small); font-weight: 700; line-height: 1.3; }
.w-row span { flex: 1; }
.w-row em { font-style: normal; font-weight: 400; color: var(--pf-on-dark-2); }
.w-row.is-no { color: var(--pf-on-dark-2); }
.w-row.is-no span { text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .35); }
.w-row.is-ok { background: #26473a; }
.w-row.is-ok .v-ico { color: var(--pf-mint); }
.w-foot { margin: 4px 0 0 !important; font-size: var(--pf-small); color: var(--pf-on-dark-2); }
.w-foot--ok { justify-self: start; padding: 8px 16px; background: var(--pf-mint); color: var(--pf-ink); font-family: var(--pf-display); font-weight: 800; border-radius: 0 12px 0 12px; }

/* BIK */
.b-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; background: #2f2f2c; border-radius: 0 14px 0 14px; font-size: var(--pf-small); font-weight: 700; }
.b-chip { display: grid; flex: none; font-size: 13px; font-weight: 700; }
.b-chip i { grid-area: 1 / 1; font-style: normal; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; white-space: nowrap; justify-self: end; }
.b-chip i:first-child { background: #44443f; color: var(--pf-on-dark-2); opacity: 0; }
.b-chip i:last-child { background: var(--pf-mint); color: var(--pf-ink); }
.b-chip .v-ico { width: 15px; height: 15px; }
.pf-vis-js.pf-vis--bik .b-chip i:first-child { opacity: 1; }
.pf-vis-js.pf-vis--bik .b-chip i:last-child { opacity: 0; transform: scale(.8); }
.pf-vis-js.pf-vis--bik.is-in .b-chip i:first-child { animation: pf-out .3s forwards; animation-delay: calc(1.9s + var(--i) * .45s); }
.pf-vis-js.pf-vis--bik.is-in .b-chip i:last-child { animation: pf-pop .4s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(2s + var(--i) * .45s); }
.b-ready { display: grid; gap: 8px; margin-top: 8px; font-size: var(--pf-small); font-weight: 700; color: var(--pf-on-dark-2); }
.b-bar { height: 10px; border-radius: 5px; background: #3a3a37; overflow: hidden; }
.b-bar i { display: block; height: 100%; width: 100%; background: var(--pf-mint); transform-origin: left center; }
.pf-vis-js.pf-vis--bik .b-bar i { transform: scaleX(0); }
.pf-vis-js.pf-vis--bik.is-in .b-bar i { animation: pf-grow 1.8s cubic-bezier(.4, 0, .2, 1) forwards; animation-delay: 2s; }
@keyframes pf-out { to { opacity: 0; transform: scale(.8); } }

/* Koło chwilówek */
.l-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 20px; }
.l-ring { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; justify-self: center; }
.l-ring svg { position: absolute; inset: 12%; width: 76%; height: 76%; overflow: visible; }
.l-track, .l-spin { fill: none; stroke-width: 5; }
.l-track { stroke: #3a3a37; }
.l-spin { stroke: #8a8a83; stroke-dasharray: 18 82; stroke-linecap: round; transform-origin: 100px 100px; }
.l-ring ul { position: absolute; inset: 0; display: block; }
.l-node { position: absolute; max-width: 40%; padding: 8px 12px; background: #3a3a37; border-radius: 0 12px 0 12px; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; }
.l-node--0 { left: 27%; right: 27%; max-width: none; top: 0; }
.l-node--1 { right: 0; bottom: 2%; }
.l-node--2 { left: 0; bottom: 2%; }
.l-exit { display: flex; align-items: center; gap: 12px; }
.l-arrow { flex: none; width: 56px; height: 6px; border-radius: 3px; background: var(--pf-mint); position: relative; transform-origin: left center; }
.l-arrow::after { content: ""; position: absolute; right: -2px; top: 50%; width: 14px; height: 14px; border-top: 6px solid var(--pf-mint); border-right: 6px solid var(--pf-mint); border-radius: 2px; transform: translateY(-50%) rotate(45deg); }
.l-bank { display: grid; gap: 6px; padding: 18px; background: var(--pf-mint); color: var(--pf-ink); border-radius: 0 24px 0 24px; }
.l-bank b { font-family: var(--pf-display); font-size: var(--pf-lead); font-weight: 800; }
.l-bank span { font-size: var(--pf-small); }
.pf-vis-js.pf-vis--loop .l-arrow { transform: scaleX(0); }
.pf-vis-js.pf-vis--loop .l-bank { opacity: 0; transform: translateX(-12px); }
.pf-vis-js.pf-vis--loop.is-in .l-arrow { animation: pf-grow .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: 1.9s; }
.pf-vis-js.pf-vis--loop.is-in .l-bank { animation: pf-pop .6s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: 2.3s; }
.pf-vis-js.pf-vis--loop.is-in .l-spin { animation: pf-spin 1.2s linear 2, pf-dim .6s 2.2s forwards; }
@keyframes pf-spin { to { transform: rotate(360deg); } }
@keyframes pf-dim { to { stroke: #55554f; } }

/* Dokumenty */
.d-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #2f2f2c; border-radius: 0 14px 0 14px; font-size: var(--pf-small); font-weight: 700; }
.d-box { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 0 8px 0 8px; background: var(--pf-mint); color: var(--pf-ink); }
.d-box .v-ico { width: 17px; height: 17px; }
.pf-vis-js.pf-vis--docs .d-box { background: #44443f; color: transparent; }
.pf-vis-js.pf-vis--docs.is-in .d-box { animation: pf-check .3s forwards; animation-delay: calc(.55s + var(--i) * .38s); }
@keyframes pf-check { to { background: var(--pf-mint); color: var(--pf-ink); } }
.d-stamp { justify-self: start; margin: 6px 0 0 !important; padding: 8px 18px; background: var(--pf-mint); color: var(--pf-ink); font-family: var(--pf-display); font-weight: 800; border-radius: 0 14px 0 14px; transform-origin: left center; }
.pf-vis-js.pf-vis--docs .d-stamp { opacity: 0; transform: scale(.85); }
.pf-vis-js.pf-vis--docs.is-in .d-stamp { animation: pf-pop .45s cubic-bezier(.2, .7, .2, 1.3) forwards; animation-delay: 2.6s; }

/* Grafika zamiast zdjęcia w sekcji z kartami i w callout */
.pf-vis-slot { margin-bottom: clamp(24px, 3vw, 40px) !important; }
.pf-callout__media figure.pf-vis { border-radius: 0; overflow: visible; height: auto; width: 100%; padding: clamp(20px, 3vw, 40px); box-sizing: border-box; }
.pf-callout__media .pf-vis__stage { background: #2b2b28; }
.pf-callout__media .pf-vis__cap { color: var(--pf-on-dark-2); opacity: 1; }
.pf-callout__media .b-row { flex-direction: column; align-items: flex-start; gap: 8px; }
.pf-callout__media .b-chip i { justify-self: start; }

@media (max-width: 781px) {
	.w-grid, .l-grid { grid-template-columns: 1fr; }
	.l-exit { flex-direction: column; align-items: stretch; }
	.l-arrow { width: 6px; height: 40px; align-self: center; transform-origin: center top; }
	.l-arrow::after { right: auto; top: auto; bottom: -2px; left: 50%; transform: translateX(-50%) rotate(135deg); }
	.pf-vis-js.pf-vis--loop .l-arrow { transform: scaleY(0); }
	.b-row { flex-direction: column; align-items: flex-start; gap: 8px; }
	.b-chip i { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
	.pf-vis-js .w-row, .pf-vis-js .w-foot, .pf-vis-js .b-row, .pf-vis-js .d-row, .pf-vis-js .l-node, .pf-vis-js .b-chip i:last-child, .pf-vis-js .b-bar i, .pf-vis-js .l-arrow, .pf-vis-js .l-bank, .pf-vis-js .d-stamp { animation: none !important; opacity: 1 !important; transform: none !important; }
	.pf-vis-js .b-chip i:first-child { display: none; }
	.pf-vis-js .d-box { background: var(--pf-mint) !important; color: var(--pf-ink) !important; }
	.pf-vis-js .l-spin { animation: none !important; }
}

/* Miętowe wezwanie z przyciskiem */
.pf-ctaband .pf-toolband__copy { max-width: 760px; }
.pf-ctaband .wp-block-button__link { background: var(--pf-ink) !important; color: #fff !important; }
.pf-ctaband .wp-block-button__link:hover { background: #333 !important; }

/* Animacja 3: Twój miesiąc po konsolidacji */
.k-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.k-head { display: grid; }
.k-head span { grid-area: 1 / 1; }
.k-head span:last-child { color: var(--pf-mint); }
.k-cal { max-width: 440px; width: 100%; justify-self: center; }
.k-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.k-wd { font-size: 12px; font-weight: 700; color: var(--pf-on-dark-2); text-align: center; padding-bottom: 2px; }
.k-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 0 10px 0 10px; background: #2f2f2c; color: var(--pf-on-dark-2); font-size: 13px; font-weight: 700; }
.k-day.is-old { background: #2f2f2c; color: var(--pf-on-dark-2); }
.k-day.is-new { background: var(--pf-mint); color: var(--pf-ink); font-size: 15px; }
.k-head span:first-child { opacity: 0; }
.k-side { display: grid; gap: 10px; align-content: start; }
.k-gain { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #2f2f2c; border-radius: 0 14px 0 14px; font-size: var(--pf-small); color: var(--pf-on-dark-2); line-height: 1.35; }
.k-gain .v-ico { color: var(--pf-mint); margin-top: 1px; }
.k-gain b { display: block; color: #fff; font-family: var(--pf-display); font-size: var(--pf-body); }

.pf-vis-js.pf-vis--month .k-head span:first-child { opacity: 1; }
.pf-vis-js.pf-vis--month .k-head span:last-child { opacity: 0; }
.pf-vis-js.pf-vis--month .k-day.is-old { background: #8a8a83; color: var(--pf-ink); }
.pf-vis-js.pf-vis--month .k-day.is-new { background: #2f2f2c; color: var(--pf-on-dark-2); font-size: 13px; }
.pf-vis-js.pf-vis--month .k-gain { opacity: 0; transform: translateY(10px); }
.pf-vis-js.pf-vis--month.is-in .k-day.is-old { animation: pf-unmark .45s forwards; animation-delay: calc(1.1s + var(--i) * .18s); }
.pf-vis-js.pf-vis--month.is-in .k-head span:first-child { animation: pf-out .3s forwards; animation-delay: 2s; }
.pf-vis-js.pf-vis--month.is-in .k-head span:last-child { animation: pf-pop .4s forwards; animation-delay: 2.1s; }
.pf-vis-js.pf-vis--month.is-in .k-day.is-new { animation: pf-mark .5s cubic-bezier(.2, .7, .2, 1.4) forwards; animation-delay: 2.2s; }
.pf-vis-js.pf-vis--month.is-in .k-gain { animation: pf-pop .5s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: calc(2.6s + var(--i) * .22s); }
@keyframes pf-unmark { to { background: #2f2f2c; color: var(--pf-on-dark-2); } }
@keyframes pf-mark { 0% { transform: scale(.6); } 100% { background: var(--pf-mint); color: var(--pf-ink); transform: scale(1); font-size: 15px; } }

@media (max-width: 900px) { .k-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
	.pf-vis-js.pf-vis--month .k-day, .pf-vis-js.pf-vis--month .k-gain, .pf-vis-js.pf-vis--month .k-head span { animation: none !important; transform: none !important; }
	.pf-vis-js.pf-vis--month .k-gain, .pf-vis-js.pf-vis--month .k-head span:last-child { opacity: 1 !important; }
	.pf-vis-js.pf-vis--month .k-head span:first-child { opacity: 0 !important; }
	.pf-vis-js.pf-vis--month .k-day.is-old { background: #2f2f2c !important; color: var(--pf-on-dark-2) !important; }
	.pf-vis-js.pf-vis--month .k-day.is-new { background: var(--pf-mint) !important; color: var(--pf-ink) !important; }
}
