/* =========================================================
   KARO – Biuro Rachunkowe, Rzeszów
   Motyw: papier księgowy (linie + czerwony margines), czerwień „karo” z logo, karty do gry.
   ========================================================= */
:root {
	--paper: #f7f3ec;
	--paper-2: #fbf9f5;
	--white: #fff;
	--ink: #1d1a19;
	--ink-2: #2c2827;
	--text: #3a3432;
	--muted: #6b625d;
	--line: #e7dfd2;
	--line-2: #efe9df;
	--red: #de1515;
	--red-d: #b80f11;
	--red-l: #fdeeed;
	--f-h: "Fraunces", Georgia, "Times New Roman", serif;
	--f-b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--r: 18px;
	--r-s: 12px;
	--hh: 84px;
	--wrap: 1200px;
	--gut: clamp(18px, 4vw, 40px);
	--sh-1: 0 1px 2px rgba(29, 26, 25, .06), 0 4px 14px rgba(29, 26, 25, .06);
	--sh-2: 0 2px 6px rgba(29, 26, 25, .08), 0 18px 40px -12px rgba(29, 26, 25, .22);
	--ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 960px) { :root { --hh: 66px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 16px); }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--f-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--f-h); color: var(--ink); font-weight: 600; letter-spacing: -.015em; line-height: 1.12; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "WONK" 0; }
h1 { font-size: clamp(2.3rem, 4.6vw + .4rem, 4.4rem); }
h2 { font-size: clamp(1.8rem, 2.6vw + .6rem, 2.9rem); }
h3 { font-size: 1.28rem; line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(222, 21, 21, .45); outline-offset: 2px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.suit { width: 1em; height: 1em; flex: none; color: var(--ink); }
.suit--karo { color: var(--red); }

/* ---------- Przyciski ---------- */
.btn, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid var(--red); background: var(--red); color: #fff; font: 600 .98rem/1.1 var(--f-b); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; box-shadow: 0 6px 18px -8px rgba(222, 21, 21, .65); white-space: nowrap; }
.btn:hover, .wp-block-button__link:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; transform: translateY(-1px); }
.btn .ico { transition: transform .2s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.02rem; }
.btn--sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--ghost, .is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: rgba(29, 26, 25, .22); box-shadow: none; }
.btn--ghost:hover, .is-style-outline .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }

/* ---------- Nagłówek ---------- */
.hdr { position: sticky; top: 0; z-index: 50; height: var(--hh); background: rgba(251, 249, 245, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 6px 24px -14px rgba(29, 26, 25, .3); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; flex: none; }
.brand__img { height: 78px; width: auto; }
.brand { gap: 12px; text-decoration: none; }
.brand__sign { height: 46px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__txt b { font: 700 1.85rem/1 var(--f-h); color: var(--red); letter-spacing: .02em; }
.brand__txt small { margin-top: 4px; font: 600 .66rem/1.2 var(--f-b); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.nav { flex: 1; display: flex; justify-content: center; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: .97rem; transition: background .2s, color .2s; }
.menu > li > a:hover, .menu > .current-menu-item > a, .menu > .current-menu-ancestor > a { background: rgba(29, 26, 25, .06); color: var(--ink); }
.menu > .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--red); border-radius: 999px 999px 6px 6px; }
.menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: rotate(45deg) translateY(-2px); margin-left: 2px; opacity: .6; }
.sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; left: 50%; top: calc(100% + 10px); width: 560px; transform: translate(-50%, 8px); display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.menu > li:hover > .sub-menu, .menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-menu a { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--ink); transition: background .2s; }
.sub-menu a:hover { background: var(--paper); }
.mi__i { grid-row: span 2; width: 38px; height: 50px; border-radius: 8px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; }
.mi__i .suit { width: 18px; height: 18px; }
.mi__t { font-weight: 650; font-size: .95rem; line-height: 1.3; align-self: end; }
.mi__d { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.nav__extra { display: none; }
.hdr__act { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__tel { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.hdr__tel-i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red-l); color: var(--red); transition: background .2s, color .2s; }
.hdr__tel:hover .hdr__tel-i { background: var(--red); color: #fff; }
.hdr__tel-t { display: flex; flex-direction: column; font-weight: 700; font-size: 1rem; line-height: 1.15; white-space: nowrap; }
.hdr__tel-t small { font-weight: 500; font-size: .74rem; color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 60; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

@media (max-width: 1180px) { .hdr__tel-t { display: none; } }
@media (max-width: 960px) {
	.brand__sign { height: 36px; }
	.brand__txt b { font-size: 1.5rem; }
	.brand__txt small { font-size: .58rem; letter-spacing: .14em; }
	.hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--paper-2); }
	.hdr.is-hidden { transform: none; }
	.burger { display: block; }
	.hdr__cta { display: none; }
	.hdr__in { gap: 12px; justify-content: space-between; }
	.nav { position: fixed; left: 0; right: 0; top: var(--hh); bottom: 0; z-index: 49; background: var(--paper-2); display: block; overflow-y: auto; padding: 18px var(--gut) 120px; clip-path: inset(0 0 0 100%); visibility: hidden; transition: clip-path .4s var(--ease), visibility .4s; }
	.nav-open .nav { clip-path: inset(0); visibility: visible; }
	.nav-open { overflow: hidden; }
	.menu { flex-direction: column; gap: 0; }
	.menu > li > a { font-family: var(--f-h); font-size: 1.5rem; font-weight: 600; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
	.menu > li > a:hover, .menu > .current-menu-item > a, .menu > .current-menu-ancestor > a { background: none; box-shadow: none; color: var(--red); }
	.menu-item-has-children > a::after { display: none; }
	.sub-menu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; background: none; padding: 8px 0 12px; grid-template-columns: 1fr; }
	.sub-menu::before { display: none; }
	.menu > li:hover > .sub-menu { transform: none; }
	.sub-menu a { padding: 8px 4px; }
	.mi__d { display: none; }
	.mi__t { align-self: center; grid-row: span 2; }
	.mi__i { width: 32px; height: 42px; }
	.nav__extra { display: grid; gap: 12px; margin-top: 22px; }
	.nav__tel { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
	.nav__tel--mail { font-size: 1rem; font-weight: 600; }
	.nav__tel .ico { color: var(--red); }
	.nav__addr { display: flex; gap: 10px; color: var(--muted); margin: 0; }
}

/* ---------- Papier księgowy (tło hero i nagłówków podstron) ---------- */
.hero__paper { --ml: max(8px, calc((100% - var(--wrap)) / 2 - 26px)); position: absolute; inset: 0; pointer-events: none;
	background:
		linear-gradient(90deg, transparent var(--ml), rgba(222, 21, 21, .3) var(--ml), rgba(222, 21, 21, .3) calc(var(--ml) + 1px), transparent calc(var(--ml) + 1px), transparent calc(var(--ml) + 4px), rgba(222, 21, 21, .3) calc(var(--ml) + 4px), rgba(222, 21, 21, .3) calc(var(--ml) + 5px), transparent calc(var(--ml) + 5px)),
		repeating-linear-gradient(180deg, transparent 0 35px, rgba(150, 128, 100, .16) 35px 36px);
	/* Za tekstem (lewa strona) linie są ledwo widoczne, wyraźniejsze dopiero po prawej; u dołu znikają. */
	-webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .22) 0 52%, #000 82%), linear-gradient(180deg, #000 55%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, rgba(0, 0, 0, .22) 0 52%, #000 82%), linear-gradient(180deg, #000 55%, transparent);
	mask-composite: intersect; }

/* ---------- Hero (ciemne, kinowe: zdjęcie biura, światło za kursorem, karty 3D) ---------- */
.hero { --night: #120f0e; position: relative; isolation: isolate; height: calc(100svh - var(--hh)); min-height: 520px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; background: var(--night); color: #efe7df; }
.hero__bg { position: absolute; inset: 0; z-index: -3; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.12); animation: heroZoom 18s var(--ease) forwards; filter: saturate(1.05) contrast(1.05); }
@keyframes heroZoom { to { transform: scale(1.02); } }
.hero__shade { position: absolute; inset: 0; z-index: -2; background:
	radial-gradient(120% 90% at 78% 40%, rgba(18, 15, 14, 0) 0%, rgba(18, 15, 14, .55) 55%, rgba(18, 15, 14, .9) 100%),
	linear-gradient(90deg, rgba(18, 15, 14, .93) 0%, rgba(18, 15, 14, .82) 36%, rgba(18, 15, 14, .32) 64%, rgba(18, 15, 14, .12) 100%),
	linear-gradient(0deg, rgba(18, 15, 14, .9) 0%, transparent 30%); }
.hero__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 45%), rgba(222, 21, 21, .22), transparent 60%); transition: background .2s; mix-blend-mode: screen; }
.hero__suits { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__suits i { position: absolute; left: var(--x); top: var(--y); width: var(--w); color: rgba(255, 255, 255, .07); animation: drift 14s ease-in-out var(--dl) infinite; }
.hero__suits i:nth-child(odd) { color: rgba(222, 21, 21, .2); }
.hero__suits .suit { width: 100%; height: auto; aspect-ratio: 1; color: inherit; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(-10deg); } 50% { transform: translate(14px, -26px) rotate(12deg); } }

.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(24px, 4vw, 64px); padding-top: 2vh; padding-bottom: 5vh; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(16px, 3vh, 30px); padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .86rem; font-weight: 550; color: #f3ece5; animation: up .8s .1s var(--ease) both; }
.hero__live { width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: live 2s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.hero h1 { color: #fff; font-family: var(--f-b); font-weight: 900; font-size: clamp(2.3rem, min(4.5vw, 6.9vh) + .2rem, 4.6rem); line-height: 1.03; letter-spacing: -.018em; margin: 0 0 clamp(18px, 3.2vh, 32px); text-shadow: 0 2px 24px rgba(0, 0, 0, .4); font-variation-settings: normal; }
.hero__l1 { display: block; color: #fff; animation: up .9s .2s var(--ease) both; }
/* „Obliczmy!” jako czerwona pieczątka – przybijana z „tąpnięciem” */
.hero__stamp { display: inline-block; margin-top: .26em; transform: rotate(-3deg); animation: stamp .55s .75s cubic-bezier(.3, 1.6, .5, 1) both; }
.hero__stamp > span { display: inline-block; padding: .02em .3em .1em; border-radius: .18em; background: var(--red); color: #fff; text-shadow: none; box-shadow: 0 18px 40px -12px rgba(222, 21, 21, .85), inset 0 -.06em 0 rgba(0, 0, 0, .18); }
@keyframes stamp { 0% { opacity: 0; transform: rotate(-12deg) scale(1.9); } 60% { opacity: 1; transform: rotate(-2deg) scale(.94); } 100% { opacity: 1; transform: rotate(-3deg) scale(1); } }
.hero__txt { animation: thud .4s 1.2s ease-out; }
@keyframes thud { 30% { transform: translateY(3px); } }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
.hero__lead { max-width: 28em; font-size: clamp(1rem, .4vw + 1.6vh, 1.22rem); color: #ddd4cc; margin: 0 0 clamp(20px, 3.6vh, 36px); animation: up .9s .45s var(--ease) both; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: clamp(20px, 3.6vh, 36px); animation: up .9s .6s var(--ease) both; }
.btn--glow { box-shadow: 0 10px 30px -6px rgba(222, 21, 21, .75), 0 0 0 0 rgba(222, 21, 21, .5); animation: pulse 2.6s 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 10px 30px -6px rgba(222, 21, 21, .75), 0 0 0 0 rgba(222, 21, 21, .45); } 70% { box-shadow: 0 10px 30px -6px rgba(222, 21, 21, .75), 0 0 0 16px rgba(222, 21, 21, 0); } 100% { box-shadow: 0 10px 30px -6px rgba(222, 21, 21, .75), 0 0 0 0 rgba(222, 21, 21, 0); } }
.btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: #fff; border-color: #fff; color: var(--ink); }
.hero__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .93rem; font-weight: 550; color: #e7ded6; animation: up .9s .75s var(--ease) both; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .suit { width: 13px; height: 13px; color: #fff; }
.hero__facts .suit--karo { color: var(--red); }
.hero__more { position: absolute; left: 50%; bottom: 2.4vh; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .25); color: #fff; animation: bob 2.4s ease-in-out infinite; }
.hero__more:hover { color: #fff; background: var(--red); border-color: var(--red); }
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* Karty 3D – wachlarz reagujący na kursor */
.hero__hand { position: relative; display: flex; flex-direction: column; align-items: center; gap: clamp(18px, 3.4vh, 34px); perspective: 1400px; }
.hero__hand::before { content: ""; position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(222, 21, 21, .35), transparent 70%); filter: blur(20px); z-index: -1; animation: glow 5s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .6; transform: translate(-50%, -50%) scale(.9); } }
.hand { --cw: clamp(140px, min(12.5vw, 24vh), 205px); --rx: 0deg; --ry: 0deg; position: relative; width: calc(var(--cw) * 2.9); height: calc(var(--cw) * 1.65); transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .5s var(--ease); }
.hcard { --rot: calc((var(--i) - 1.5) * 8deg); --tx: calc((var(--i) - 1.5) * var(--cw) * .6); --ty: calc(var(--cw) * .03); position: absolute; left: 50%; bottom: 0; width: var(--cw); height: calc(var(--cw) * 1.4); margin-left: calc(var(--cw) / -2); border-radius: calc(var(--cw) * .08); background: linear-gradient(160deg, #fff 0%, #f7f2ec 100%); border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7), 0 2px 0 rgba(255, 255, 255, .6) inset; color: var(--ink); text-decoration: none; transform-origin: 50% 120%; transform: translateX(var(--tx)) translateY(var(--ty)) rotate(var(--rot)) translateZ(calc(var(--i) * 6px)); transition: transform .5s var(--ease), box-shadow .3s; animation: deal .9s calc(.5s + var(--i) * .12s) cubic-bezier(.2, 1.2, .4, 1) both; overflow: hidden; }
.hcard:first-child, .hcard:nth-child(4) { --ty: calc(var(--cw) * .09); }
@keyframes deal { from { transform: translate(-60%, 40%) rotate(-30deg); opacity: 0; } }
.hcard::before { content: ""; position: absolute; inset: 7px; border: 1px solid #ece4d8; border-radius: calc(var(--cw) * .06); pointer-events: none; }
.hcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .7) 45%, transparent 60%); transform: translateX(-120%); transition: transform .9s var(--ease); pointer-events: none; }
.hcard:hover::after { transform: translateX(120%); }
.hcard__c { position: absolute; top: 9%; left: 10%; display: flex; }
.hcard__c .suit { width: calc(var(--cw) * .12); height: calc(var(--cw) * .12); }
.hcard__c--b { top: auto; left: auto; bottom: 9%; right: 10%; transform: rotate(180deg); }
.hcard__big { position: absolute; left: 50%; top: 62%; transform: translate(-50%, -50%); }
.hcard__big .suit { width: calc(var(--cw) * .36); height: calc(var(--cw) * .36); transition: transform .4s var(--ease); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .15)); }
.hcard__t { position: absolute; z-index: 1; top: 21%; left: 11%; max-width: 52%; font-family: var(--f-b); font-weight: 800; letter-spacing: -.02em; font-size: calc(var(--cw) * .088 + 2px); line-height: 1.1; }
.hand:hover .hcard { --rot: calc((var(--i) - 1.5) * 10deg); --tx: calc((var(--i) - 1.5) * var(--cw) * .7); }
.hand .hcard:hover { transform: translateX(var(--tx)) translateY(calc(var(--ty) - var(--cw) * .16)) rotate(var(--rot)) translateZ(40px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8), 0 0 0 2px var(--red); z-index: 5; }
.hand .hcard:hover .hcard__big .suit { transform: scale(1.14) rotate(-8deg); }
.next { display: inline-flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); max-width: 100%; animation: up .9s 1.1s var(--ease) both; }
.next[hidden] { display: none; }
.next__i { width: 40px; height: 40px; border-radius: 12px; background: var(--red); display: grid; place-items: center; flex: none; box-shadow: 0 6px 18px -4px rgba(222, 21, 21, .8); }
.next__t { display: flex; flex-direction: column; flex: 1; font-size: .9rem; line-height: 1.3; min-width: 0; }
.next__t small { color: #bdb3ab; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.next__t b { color: #fff; }
.next__t span { color: #e6ded6; }
.next__d { flex: none; font-weight: 700; font-size: .85rem; background: var(--red); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }

@media (max-width: 960px) {
	.hero { min-height: 0; justify-content: flex-end; }
	.hero__bg img { object-position: 60% 20%; }
	.hero__shade { background: linear-gradient(180deg, rgba(18, 15, 14, .25) 0%, rgba(18, 15, 14, .6) 26%, rgba(18, 15, 14, .93) 52%, rgba(18, 15, 14, .98) 100%); }
	.hero__in { grid-template-columns: 1fr; gap: 2.2vh; padding-top: 0; padding-bottom: max(26px, 3.4vh); }
	.hero__hand { flex-direction: row; justify-content: flex-start; align-items: center; gap: 16px; perspective: none; }
	.hero__hand::before { display: none; }
	.hand { --cw: clamp(64px, 9vh, 96px); width: calc(var(--cw) * 2.9); height: calc(var(--cw) * 1.55); flex: none; transform: none; }
	.hcard { padding: 0; pointer-events: none; }
	.hcard__t, .hcard__c { display: none; }
	.hcard__big .suit { width: calc(var(--cw) * .42); height: calc(var(--cw) * .42); }
	.hero__more { display: none; }
	.hero__suits i:not(:first-child):not(:nth-child(4)) { display: none; }
	.hero__suits i { opacity: .6; }
}
@media (max-width: 560px) {
	.hero__badge { font-size: .78rem; }
	.hero__badge-k { display: none; }
	.hero h1 { font-size: clamp(2.1rem, min(10.6vw, 6.6vh), 3.2rem); }
	.hero__btns { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
	.hero__tel { width: 54px; padding: 0; }
	.hero__tel span { display: none; }
	.hero__lead { font-size: 1rem; }
	.hand { display: none; }
	.next { width: 100%; }
}
@media (max-width: 960px) and (max-height: 700px) {
	.hero__hand { display: none; }
}
@media (max-width: 560px) and (max-height: 620px) {
	.hero__lead { display: none; }
}

/* ---------- Pasek haseł ---------- */
ul.is-style-ticker { list-style: none; margin: 0; padding: 0; overflow: hidden; background: var(--ink); color: #fff; border-block: 1px solid #000; }
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
ul.is-style-ticker li { display: flex; align-items: center; gap: 22px; padding: 16px 22px 16px 0; font-family: var(--f-h); font-size: 1.15rem; font-weight: 500; white-space: nowrap; }
ul.is-style-ticker li::after { content: ""; width: 10px; height: 13px; background: var(--red); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sekcje (bloki) ---------- */
.blocks > .wp-block-group, .sec { padding: clamp(64px, 9vw, 120px) 0; }
.blocks > .wp-block-group > *, .sec > .wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); }
.is-style-sekcja { background: var(--paper); }
.is-style-sekcja-biala, .sec--white { background: var(--paper-2); }
.is-style-sekcja-biala { border-block: 1px solid var(--line-2); }
.is-style-sekcja-ciemna { background: var(--ink); color: #d9d1c9; position: relative; overflow: hidden; }
.is-style-sekcja-ciemna::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 35px, rgba(255, 255, 255, .04) 35px 36px); pointer-events: none; }
.is-style-sekcja-ciemna > * { position: relative; }
.is-style-sekcja-ciemna h2, .is-style-sekcja-ciemna h3 { color: #fff; }
.is-style-sekcja-ciemna .is-style-wstep { color: #c7beb6; }
.is-style-nadtytul, .eyebrow { display: flex; align-items: center; gap: 10px; color: var(--red); font: 700 .78rem/1.2 var(--f-b); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.is-style-nadtytul.has-text-align-center { justify-content: center; }
.is-style-nadtytul::before, .eyebrow:not(:has(svg))::before { content: ""; width: 9px; height: 12px; background: var(--red); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); flex: none; }
.eyebrow .suit, .eyebrow .ico { width: 14px; height: 14px; }
.is-style-sekcja-ciemna .is-style-nadtytul { color: #ff6a6a; }
.has-text-align-center { text-align: center; }
h2.has-text-align-center { max-width: 22ch; margin-left: auto; margin-right: auto; }
.is-style-wstep { font-size: clamp(1.05rem, .4vw + .95rem, 1.22rem); color: var(--muted); line-height: 1.6; }
.is-style-wstep.has-text-align-center { max-width: 44em; margin: 0 auto 2.4em; }
.sec__head { text-align: center; margin-bottom: 40px; }
.sec__head .eyebrow { justify-content: center; }
.sec__lead { color: var(--muted); font-size: 1.08rem; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button { margin: 0; }

/* Pas zachęty (czerwony) */
.is-style-pas { background: var(--red); color: #fff; text-align: center; position: relative; overflow: hidden; padding: clamp(56px, 7vw, 90px) 0 !important; }
.is-style-pas::before, .is-style-pas::after { content: ""; position: absolute; width: 340px; height: 440px; background: rgba(255, 255, 255, .07); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); top: 50%; transform: translateY(-50%); }
.is-style-pas::before { left: -120px; } .is-style-pas::after { right: -120px; }
.is-style-pas > * { position: relative; z-index: 1; }
.is-style-pas h2 { color: #fff; max-width: 24ch; margin-left: auto; margin-right: auto; }
.is-style-pas p { color: #ffe3e1; font-size: 1.1rem; max-width: 40em; margin-left: auto; margin-right: auto; }
.is-style-pas p a { color: #fff; font-weight: 700; }
.is-style-pas .wp-block-button__link { background: #fff; border-color: #fff; color: var(--red-d); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.is-style-pas .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.is-style-pas .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); box-shadow: none; }

/* ---------- Talia kart usług ---------- */
.deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-top: 10px; }
.deck--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deck--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; padding: 34px 26px 26px; min-height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; color: var(--text); text-decoration: none; box-shadow: var(--sh-1); transition: transform .4s var(--ease), box-shadow .3s, border-color .3s; overflow: hidden; }
.pcard::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-2); border-radius: 14px; pointer-events: none; }
.pcard:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--sh-2); border-color: #dccfbd; color: var(--text); }
.pcard__corner { position: absolute; top: 18px; left: 18px; }
.pcard__corner .suit { width: 18px; height: 18px; }
.pcard__corner--b { top: auto; left: auto; bottom: 18px; right: 18px; transform: rotate(180deg); }
.pcard__big { margin: 18px 0 18px; display: flex; }
.pcard__big .suit { width: 54px; height: 54px; transition: transform .45s var(--ease); }
.pcard:hover .pcard__big .suit { transform: rotate(-10deg) scale(1.08); }
.pcard__t { font-size: 1.32rem; margin-bottom: 10px; }
.pcard__d { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 16px; }
.pcard__pts { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 7px; font-size: .9rem; font-weight: 550; color: var(--ink-2); }
.pcard__pts li { display: flex; gap: 8px; align-items: flex-start; }
.pcard__pts .ico { color: var(--red); width: 17px; height: 17px; margin-top: 2px; }
.pcard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .92rem; color: var(--red-d); }
.pcard:hover .pcard__more .ico { transform: translateX(4px); }
.pcard__more .ico { transition: transform .25s var(--ease); }
@media (max-width: 1100px) { .deck, .deck--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .deck, .deck--3, .deck--2 { grid-template-columns: 1fr; gap: 14px; } .pcard { padding: 26px 22px 22px; } .pcard__big { margin: 8px 0 12px; } .pcard__big .suit { width: 42px; height: 42px; } }

/* ---------- Kolumny ---------- */
.wp-block-columns { display: grid; gap: 22px; margin: 0; }
.wp-block-column { min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }

/* Karty z ikoną (znaki kart po kolei) */
.is-style-karty { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; }
.is-style-karty > .wp-block-column { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px 26px; box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .3s; }
.is-style-karty > .wp-block-column:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.is-style-karty > .wp-block-column::before { content: ""; display: block; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--paper) var(--sx) center / 20px no-repeat; border: 1px solid var(--line); }
.is-style-karty > .wp-block-column:nth-child(4n+1) { --sx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23de1515' d='M12 1.5Q14.6 7.6 20 12Q14.6 16.4 12 22.5Q9.4 16.4 4 12Q9.4 7.6 12 1.5z'/%3E%3C/svg%3E"); }
.is-style-karty > .wp-block-column:nth-child(4n+2) { --sx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231d1a19' d='M12 21.3S2.8 15.6 2.8 9.2A4.9 4.9 0 0 1 12 6.6a4.9 4.9 0 0 1 9.2 2.6c0 6.4-9.2 12.1-9.2 12.1z'/%3E%3C/svg%3E"); }
.is-style-karty > .wp-block-column:nth-child(4n+3) { --sx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231d1a19' d='M12 1.8S3 8.3 3 13.6a4.5 4.5 0 0 0 7.6 3.2L9.6 22h4.8l-1-5.2a4.5 4.5 0 0 0 7.6-3.2C21 8.3 12 1.8 12 1.8z'/%3E%3C/svg%3E"); }
.is-style-karty > .wp-block-column:nth-child(4n) { --sx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='%231d1a19'%3E%3Ccircle cx='12' cy='6.6' r='4.3'/%3E%3Ccircle cx='6.6' cy='13.4' r='4.3'/%3E%3Ccircle cx='17.4' cy='13.4' r='4.3'/%3E%3Cpath d='M12 9.5 9.6 22h4.8z'/%3E%3Ccircle cx='12' cy='12.4' r='2.6'/%3E%3C/g%3E%3C/svg%3E"); }
.is-style-karty h3 { font-size: 1.2rem; margin-bottom: 8px; }
.is-style-karty p { color: var(--muted); font-size: .97rem; }
.is-style-karty ul { margin-bottom: 14px; }
.is-style-karty p a { font-weight: 650; text-decoration: none; }

/* Kroki */
.is-style-kroki { grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: krok; margin-top: 26px; position: relative; }
.is-style-kroki > .wp-block-column { counter-increment: krok; position: relative; padding-top: 74px; }
.is-style-kroki > .wp-block-column::before { content: counter(krok, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 1.5px solid var(--red); color: var(--red); font: 700 1.05rem/1 var(--f-h); z-index: 1; }
.is-style-kroki > .wp-block-column:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 64px; right: -14px; border-top: 1.5px dashed #d8ccbb; }
.is-style-kroki h3 { font-size: 1.15rem; }
.is-style-kroki p { color: var(--muted); font-size: .96rem; }

/* Liczby */
.is-style-liczby { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 26px 0 30px; }
.is-style-liczby > .wp-block-column { text-align: center; padding: 26px 16px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.is-style-liczby > .wp-block-column > p:first-child { font: 600 clamp(2.6rem, 5vw, 3.8rem)/1 var(--f-h); color: var(--red); margin-bottom: 8px; }
.is-style-liczby > .wp-block-column > p:last-child { color: var(--muted); font-weight: 550; }

/* Branże */
.is-style-branze { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; }
.is-style-branze > .wp-block-column { position: relative; padding: 26px 22px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.is-style-branze > .wp-block-column::after { content: ""; position: absolute; right: -18px; bottom: -22px; width: 86px; height: 110px; background: var(--red-l); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: transform .4s var(--ease); }
.is-style-branze > .wp-block-column:hover::after { transform: rotate(14deg) scale(1.1); }
.is-style-branze h3, .is-style-branze p { position: relative; z-index: 1; }
.is-style-branze h3 { font-size: 1.15rem; }
.is-style-branze p { color: var(--muted); font-size: .95rem; }

/* Zdjęcie + tekst, opis + zakres */
.is-style-zdjecie-tekst, .is-style-zakres { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 70px); align-items: center; }
.is-style-zakres { align-items: start; }
.is-style-karty + .is-style-zakres { margin-top: clamp(44px, 6vw, 80px); padding-top: clamp(36px, 5vw, 60px); border-top: 1px solid var(--line); }
.wp-block-image.scanye-logo { margin: 0 0 10px; }
.wp-block-image.scanye-logo img { margin-left: -13px; width: 190px; height: auto; border-radius: 0; box-shadow: none; background: none; }
.is-style-zakres > .wp-block-column:first-child { position: sticky; top: calc(var(--hh) + 30px); }
@media (max-width: 760px) { .is-style-zakres > .wp-block-column:first-child { position: static; } }
.is-style-zdjecie-tekst .wp-block-image img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; box-shadow: var(--sh-2); }
.is-style-zakres > .wp-block-column:last-child { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 26px 22px; box-shadow: var(--sh-1); }
.wp-block-image { margin: 0; }

@media (max-width: 1000px) {
	.is-style-karty, .is-style-branze { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.is-style-kroki { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
	.is-style-kroki > .wp-block-column::after { display: none; }
}
@media (max-width: 760px) {
	.is-style-zdjecie-tekst, .is-style-zakres { grid-template-columns: 1fr; }
	.is-style-liczby { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
	.is-style-karty, .is-style-branze, .is-style-kroki { grid-template-columns: 1fr; gap: 14px; }
	.is-style-karty > .wp-block-column { padding: 20px; }
	.is-style-karty > .wp-block-column::before { float: left; width: 40px; height: 40px; margin: -2px 14px 6px 0; }
	.is-style-karty h3 { padding-top: 8px; }
	.is-style-kroki > .wp-block-column { padding: 0 0 0 72px; min-height: 56px; }
}

/* ---------- Listy ---------- */
ul.is-style-ptaszki { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
ul.is-style-ptaszki li { position: relative; padding-left: 32px; line-height: 1.5; }
ul.is-style-ptaszki li::before { content: ""; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; border-radius: 50%; background: var(--red-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23de1515' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
ul.is-style-ptaszki li::first-letter { text-transform: uppercase; }
ul.is-style-miejscowosci { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
ul.is-style-miejscowosci li a, ul.is-style-miejscowosci li { display: inline-flex; }
ul.is-style-miejscowosci a { align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, border-color .2s, transform .2s; }
ul.is-style-miejscowosci a::before { content: ""; width: 8px; height: 11px; background: var(--red); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); transition: background .2s; }
ul.is-style-miejscowosci a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
ul.is-style-miejscowosci a:hover::before { background: #fff; }
.is-style-sekcja-ciemna ul.is-style-miejscowosci a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }

/* ---------- Pytania (Szczegóły) ---------- */
.wp-block-details { max-width: 880px; margin: 0 auto 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: box-shadow .3s, border-color .3s; }
.wp-block-details[open] { box-shadow: var(--sh-1); border-color: #dccfbd; }
.wp-block-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font: 600 1.1rem/1.35 var(--f-h); color: var(--ink); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23de1515' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .3s var(--ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details > :not(summary) { padding: 0 24px; color: var(--muted); }
.wp-block-details > p:last-child { padding-bottom: 20px; margin: 0; }
.wp-block-group > h2 + .wp-block-details, .wp-block-group > .is-style-nadtytul + h2 + .wp-block-details { margin-top: 30px; }
.blocks > .wp-block-group > .wp-block-details { max-width: 880px; width: calc(100% - 2 * var(--gut)); padding: 0; }

/* ---------- Terminy ---------- */
.dl { max-width: 980px; margin: 8px auto 0; }
.dl__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dl__i { display: grid; grid-template-columns: 76px 1fr auto; grid-template-rows: auto auto; column-gap: 18px; align-items: center; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: background .3s, transform .3s var(--ease); }
.dl__i:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.dl__i.is-first { background: #fff; border-color: #fff; }
.dl__i.is-first .dl__t { color: var(--ink); }
.dl__i.is-first .dl__date b { color: var(--red); }
.dl__i.is-first .dl__date small, .dl__i.is-first .dl__left { color: var(--muted); }
.dl__date { grid-row: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.dl__i.is-first .dl__date { background: var(--red-l); border-color: #f7d0cd; }
.dl__date b { font: 600 1.9rem/1 var(--f-h); color: #fff; }
.dl__date small { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #b8aea6; margin-top: 3px; }
.dl__k { justify-self: start; align-self: end; font-size: .7rem; font-weight: 800; letter-spacing: .1em; padding: 3px 8px; border-radius: 6px; background: var(--red); color: #fff; }
.dl__k--zus { background: #3f7f6a; } .dl__k--pit { background: #b5822a; }
.dl__t { grid-column: 2 / 4; align-self: start; color: #f1ebe5; font-weight: 550; line-height: 1.4; margin-top: 6px; }
.dl__left { grid-row: 1; grid-column: 3; align-self: end; font-size: .82rem; font-weight: 700; color: #c7bdb5; white-space: nowrap; }
.dl__note { display: flex; gap: 10px; align-items: flex-start; justify-content: center; text-align: left; max-width: 760px; margin: 26px auto 0; font-size: .9rem; color: #a99f97; }
.dl__note .ico { flex: none; margin-top: 3px; color: #ff6a6a; }
@media (max-width: 760px) { .dl__list { grid-template-columns: 1fr; } .dl__i { grid-template-columns: 64px 1fr auto; column-gap: 14px; padding: 14px; } .dl__date { width: 64px; height: 64px; } .dl__date b { font-size: 1.6rem; } }

/* ---------- Nagłówek podstrony ---------- */
.phead { position: relative; overflow: hidden; padding: clamp(46px, 7vw, 96px) 0 clamp(46px, 6vw, 80px); background: var(--paper); border-bottom: 1px solid var(--line); }
.phead__grid { position: relative; z-index: 1; }
.phead__in { position: relative; z-index: 1; max-width: 860px; }
.phead--photo .phead__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.phead__pic { grid-column: 2; grid-row: 1; position: relative; margin: 0; }
.phead__pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 70px -30px rgba(29, 26, 25, .45); }
.phead__badge { position: absolute; left: -22px; bottom: -22px; width: 76px; height: 98px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-2); transform: rotate(-8deg); }
.phead__badge .suit { width: 34px; height: 34px; }
@media (max-width: 860px) { .phead--photo .phead__grid { grid-template-columns: 1fr; gap: 28px; } .phead__pic { grid-column: 1; grid-row: 2; } .phead__pic img { aspect-ratio: 16 / 10; border-radius: 22px; } .phead__badge { left: 14px; bottom: -18px; width: 58px; height: 76px; } .phead__badge .suit { width: 26px; height: 26px; } }
.phead h1 { font-size: clamp(2.2rem, 3.6vw + .6rem, 3.8rem); margin-bottom: 16px; }
.phead__lead { font-size: clamp(1.05rem, .4vw + 1rem, 1.22rem); color: var(--muted); max-width: 40em; margin-bottom: 28px; }
.phead__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.phead__suit { position: absolute; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); top: 50%; transform: translateY(-50%) rotate(-10deg); width: clamp(160px, 26vw, 340px); opacity: .9; pointer-events: none; }
.phead__suit .suit { width: 100%; height: auto; aspect-ratio: 1; color: #ebe2d4; }
.phead__suit--karo .suit { color: #f6d4d1; }
.phead--plain { padding-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red); }
@media (max-width: 760px) { .phead__suit { opacity: .45; right: -40px; } .phead__btns .btn { flex: 1 1 100%; } }

.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* ---------- Kontakt / formularz ---------- */
.contact { background: var(--paper-2); border-top: 1px solid var(--line-2); }
.contact__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.contact__head h2 { margin-bottom: 0; }
.contact__head .sec__lead { margin: 0; }
@media (max-width: 860px) { .contact__head { grid-template-columns: 1fr; gap: 14px; } }

.order { display: grid; grid-template-columns: minmax(0, 1fr) 320px; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--sh-2); overflow: hidden; }
.order__main { padding: clamp(22px, 3.4vw, 40px); min-width: 0; }
.order__steps { list-style: none; padding: 0; margin: 0 0 14px; display: flex; gap: 22px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.order__steps li { display: flex; align-items: center; gap: 8px; transition: color .2s; }
.order__steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); font-size: .8rem; transition: background .2s, color .2s, border-color .2s; }
.order__steps li.is-on { color: var(--ink); }
.order__steps li.is-on b { background: var(--red); border-color: var(--red); color: #fff; }
.order__steps li.is-done b { background: var(--ink); border-color: var(--ink); color: #fff; }
.order__bar { height: 4px; border-radius: 4px; background: var(--paper); margin-bottom: 26px; overflow: hidden; }
.order__bar i { display: block; height: 100%; width: 33.3%; background: var(--red); border-radius: 4px; transition: width .5s var(--ease); }
.order__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.order__step.is-in { animation: stepin .45s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateX(14px); } }
.order__q { font: 600 1.5rem/1.2 var(--f-h); color: var(--ink); margin-bottom: 18px; padding: 0; }
.order__hint { color: var(--muted); font-size: .93rem; margin: -10px 0 18px; }
.kinds { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 10px; }
.kind { position: relative; cursor: pointer; }
.kind input { position: absolute; opacity: 0; inset: 0; }
.kind__box { height: 100%; display: flex; flex-direction: column; gap: 4px; padding: 18px 16px 16px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper-2); transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s; }
.kind:hover .kind__box { border-color: #d6c8b4; transform: translateY(-2px); }
.kind input:checked + .kind__box { border-color: var(--red); background: var(--red-l); box-shadow: 0 0 0 3px rgba(222, 21, 21, .12); }
.kind input:focus-visible + .kind__box { outline: 3px solid rgba(222, 21, 21, .45); outline-offset: 2px; }
.kind__i { width: 38px; height: 38px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 8px; }
.kind__i .suit, .kind__i .ico { width: 18px; height: 18px; }
.kind__i .ico { color: var(--red); }
.kind__t { font-weight: 700; color: var(--ink); line-height: 1.25; }
.kind__d { font-size: .84rem; color: var(--muted); line-height: 1.35; }
.order__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fld { margin: 0; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.fld--full { grid-column: 1 / -1; }
.fld label, .fld__l { font-size: .88rem; font-weight: 650; color: var(--ink-2); }
.fld label small { font-weight: 450; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper-2); transition: border-color .2s, background .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 96px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(29, 26, 25, .08); }
.fld.is-bad input { border-color: var(--red); background: var(--red-l); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__i { position: relative; cursor: pointer; }
.seg__i input { position: absolute; opacity: 0; inset: 0; }
.seg__i span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper-2); font-size: .92rem; font-weight: 550; transition: all .2s; }
.seg__i:hover span { border-color: #d0c1ad; }
.seg__i input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg__i input:focus-visible + span { outline: 3px solid rgba(222, 21, 21, .45); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 4px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.consent--sm { font-size: .8rem; margin-top: 10px; }
.order__err { min-height: 1.4em; margin: 10px 0 0; color: var(--red-d); font-weight: 600; font-size: .92rem; }
.order__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.order.is-busy [type=submit] { opacity: .6; pointer-events: none; }
.order__done { text-align: center; padding: 40px 10px; }
.order__done-i { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--red-l); margin-bottom: 18px; animation: pop .6s var(--ease); }
.order__done-i .suit { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.1); } }
.order__sum { background: var(--ink); color: #d9d1c9; padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.order__sum::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 170px; height: 220px; background: rgba(222, 21, 21, .22); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.order__sum > * { position: relative; z-index: 1; }
.order__sum-h { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 1.15rem/1.2 var(--f-h); color: #fff; }
.order__sum-h .suit { width: 16px; height: 16px; }
.order__sum dl { margin: 0; display: grid; gap: 0; }
.order__sum dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px dashed rgba(255, 255, 255, .14); font-size: .9rem; }
.order__sum dt { color: #a99f97; }
.order__sum dd { margin: 0; color: #fff; font-weight: 600; text-align: right; }
.order__sum dd.is-flash { animation: flash .6s var(--ease); }
@keyframes flash { from { color: #ff8a8a; transform: translateX(-4px); } }
.order__sum-pts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .85rem; }
.order__sum-pts li { display: flex; gap: 8px; align-items: center; }
.order__sum-pts .ico { color: #ff6a6a; width: 16px; height: 16px; }
.order__sum-tel { margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; transition: background .2s; }
.order__sum-tel:hover { background: var(--red); color: #fff; }
.order__sum-tel span { display: flex; flex-direction: column; line-height: 1.25; }
.order__sum-tel small { font-weight: 500; font-size: .76rem; color: #c9bfb8; }
@media (max-width: 900px) { .order { grid-template-columns: 1fr; } .order__sum { padding: 22px; } .order__sum dl { grid-template-columns: 1fr 1fr; column-gap: 18px; } }
@media (max-width: 560px) {
	.order__steps { gap: 12px; font-size: .78rem; }
	.order__grid { grid-template-columns: 1fr; }
	.kinds { grid-template-columns: 1fr 1fr; gap: 8px; }
	.kind__box { padding: 14px 12px 12px; }
	.kind__d { display: none; }
	.order__nav .btn { flex: 1; padding-left: 1em; padding-right: 1em; }
	.order__sum dl { grid-template-columns: 1fr; }
}

.contact__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.ctile { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 650; line-height: 1.3; min-width: 0; transition: transform .25s var(--ease), box-shadow .25s; word-break: break-word; }
a.ctile:hover { transform: translateY(-3px); box-shadow: var(--sh-1); color: var(--ink); }
.ctile small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); margin-bottom: 2px; }
.ctile__i { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--red-l); color: var(--red); }
.ctile--main { background: var(--red); border-color: var(--red); color: #fff; font-size: 1.15rem; }
.ctile--main small { color: #ffd9d6; }
.ctile--main .ctile__i { background: rgba(255, 255, 255, .16); color: #fff; }
a.ctile--main:hover { color: #fff; }
.map { grid-column: 1 / -1; position: relative; height: 240px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: repeating-linear-gradient(0deg, transparent 0 35px, rgba(150, 128, 100, .14) 35px 36px), repeating-linear-gradient(90deg, transparent 0 35px, rgba(150, 128, 100, .14) 35px 36px), #f1ebe1; display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 650; cursor: pointer; box-shadow: var(--sh-2); transition: background .2s, transform .2s; }
.map__btn:hover { background: var(--red); transform: translateY(-2px); }
@media (max-width: 860px) { .contact__tiles { grid-template-columns: 1fr; } .map { height: 240px; } }

/* ---------- Stopka ---------- */
.ftr { background: var(--ink); color: #b9afa7; font-size: .95rem; padding-bottom: 30px; }
.ftr__cta { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.ftr__cta::after { content: ""; position: absolute; right: 6%; top: -60px; width: 220px; height: 290px; background: rgba(255, 255, 255, .08); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.ftr__cta-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 26px 50px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.ftr__cta-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffd9d6; }
.ftr__cta-k .suit { color: #fff; width: 13px; height: 13px; }
.ftr__cta-t { margin: 0; font: 600 clamp(1.4rem, 1.6vw + .8rem, 2rem)/1.2 var(--f-h); color: #fff; }
.quick__h { display: none; }
.quick__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; }
.quick .fld input { background: #fff; border-color: #fff; min-height: 52px; }
.quick .btn { background: var(--ink); border-color: var(--ink); min-height: 52px; box-shadow: none; }
.quick .btn:hover { background: #000; border-color: #000; }
.quick .consent { color: #ffe1de; }
.quick .consent a { color: #fff; }
.quick .consent input { accent-color: var(--ink); }
.quick__msg { margin: 8px 0 0; min-height: 1.3em; font-weight: 650; color: #fff; }
.quick.is-busy .btn { opacity: .6; pointer-events: none; }
@media (max-width: 860px) { .ftr__cta-in { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .quick__row { grid-template-columns: 1fr 1fr; } .quick__row .btn { grid-column: 1 / -1; } }
.ftr__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; padding: 64px 0 40px; }
.brand--ftr .brand__img { height: 104px; }
.ftr__brand p { margin: 20px 0 0; max-width: 34em; line-height: 1.6; }
.ftr__h { display: flex; align-items: center; gap: 8px; color: #fff; font: 600 1.05rem/1.2 var(--f-h); margin: 6px 0 18px; }
.ftr__h .ico { color: #ff6a6a; }
.ftr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr__list a, .ftr__contact a, .ftr__area a { color: #d9d1c9; text-decoration: none; transition: color .2s; }
.ftr__list a:hover, .ftr__contact a:hover, .ftr__area a:hover { color: #fff; }
.ftr__list a { display: inline-flex; align-items: flex-start; gap: 9px; }
.ftr__list a .suit { margin-top: .5em; }
.ftr__list .suit { width: 12px; height: 12px; color: #8f857d; }
.ftr__list .suit--karo { color: #ff6a6a; }
.ftr__phone { display: block; font: 600 1.45rem/1.2 var(--f-h); color: #fff !important; margin-bottom: 6px; }
.ftr__mail { display: block; margin-bottom: 14px; }
.ftr__contact address { font-style: normal; line-height: 1.6; }
.ftr__hours, .ftr__fb { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.ftr__area { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; }
.ftr__area .ftr__h { font-family: var(--f-b); font-size: .9rem; font-weight: 650; }
.ftr__area ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 24px; font-size: .86rem; }
.ftr__bottom-r { display: flex; align-items: center; gap: 18px; }
.ftr__bottom a { color: #b9afa7; }
.ftr__top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); transform: rotate(-45deg); color: #fff !important; transition: background .2s; }
.ftr__top:hover { background: var(--red); border-color: var(--red); }
@media (max-width: 1000px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .ftr__grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; } }

/* ---------- Pasek szybkiego kontaktu (telefon) ---------- */
.dock { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
	.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 45; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 6px; border-radius: 20px; background: rgba(29, 26, 25, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5); transition: transform .35s var(--ease); }
	.dock.is-off { transform: translateY(140%); }
	.nav-open .dock { transform: translateY(140%); }
	.dock a { text-decoration: none; }
	.dock__call { display: flex; align-items: center; gap: 8px; padding: 0 16px; min-height: 54px; border-radius: 15px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 650; }
	.dock__cta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 8px 0 16px; min-height: 54px; border-radius: 15px; background: var(--red); color: #fff; }
	.dock__txt { display: flex; flex-direction: column; line-height: 1.15; }
	.dock__txt b { font-size: .98rem; }
	.dock__txt small { font-size: .74rem; color: #ffd9d6; }
	.dock__arr { width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .16); display: grid; place-items: center; }
}
@media (max-width: 400px) { .dock__call { padding: 0 13px; } .dock__call span { font-size: .9rem; } .dock__txt b { font-size: .9rem; } .dock__txt small { display: none; } }

/* ---------- Animacje wejścia ---------- */
.js.anim .reveal:not(.is-in), .js.anim .blocks .wp-block-column:not(.is-in), .js.anim .blocks .wp-block-details:not(.is-in), .js.anim .dl__i:not(.is-in) { opacity: 0; }
.is-in { animation: rise .75s var(--ease) var(--d, 0ms) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Różne ---------- */
.post-item { margin-bottom: 2em; }
.post-item__date { color: var(--muted); font-size: .9rem; }
