/* Euro 2.0 – style strony */
:root {
	--navy: #0d1b3e;
	--navy-2: #142a5c;
	--blue: #1f5fd6;
	--blue-d: #1749ad;
	--cyan: #3fb6ee;
	--ink: #142039;
	--muted: #5a6682;
	--line: #e3e9f3;
	--tint: #f4f7fc;
	--chip: #eaf1ff;
	--white: #fff;
	--radius: 22px;
	--shadow: 0 1px 2px rgba(13, 27, 62, .04), 0 12px 32px -12px rgba(13, 27, 62, .14);
	--f-head: "Sora", "Inter", system-ui, sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wrap: 1200px;
	--hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--f-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-d); }
h1, h2, h3 { font-family: var(--f-head); color: var(--navy); line-height: 1.18; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .8em 1.35em; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--blue); color: #fff; font: 600 .98rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; box-shadow: 0 8px 20px -10px rgba(31, 95, 214, .7); }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; transform: translateY(-1px); }
.btn .ico { transition: transform .2s; }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { padding: .62em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1em 1.6em; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn--light { background: #fff; border-color: #fff; color: var(--navy); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }
.btn--light:hover { background: var(--chip); border-color: var(--chip); color: var(--navy); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--outline { background: transparent; color: var(--blue); box-shadow: none; }
.btn--outline:hover { background: var(--chip); color: var(--blue-d); }

/* Nagłówek */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.hdr.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(13, 27, 62, .5); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__mark { width: 62px; height: auto; display: block; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__txt b { font: 800 1.22rem/1.05 var(--f-head); color: var(--navy); letter-spacing: -.01em; }
.brand__txt small { font: 600 .68rem/1.2 var(--f-body); color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 4px; }
.brand--light .brand__txt b { color: #fff; }
.brand--light .brand__txt small { color: #9fb2d9; }
.nav { margin-left: auto; }
.nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav .menu a { display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink); font-weight: 500; font-size: .96rem; text-decoration: none; transition: background .2s, color .2s; }
.nav .menu a:hover, .nav .menu .current-menu-item > a, .nav .menu .current-page-ancestor > a { background: var(--tint); color: var(--blue); }
.nav__extra { display: none; }
.hdr__act { display: flex; align-items: center; gap: 14px; }
.hdr__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 600; text-decoration: none; font-size: .95rem; }
.hdr__tel .ico { color: var(--blue); }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.burger .ico { width: 22px; height: 22px; }
.burger .ico--close { display: none; }
.nav-open .burger .ico--open { display: none; }
.nav-open .burger .ico--close { display: block; }

/* Hero i nagłówki podstron */
.hero, .phead { position: relative; overflow: hidden; color: #dbe5fb; background: radial-gradient(1100px 500px at 85% -10%, #2a54b8 0%, transparent 60%), radial-gradient(800px 500px at -10% 110%, #1b3a86 0%, transparent 60%), var(--navy); }
.hero h1, .phead h1 { color: #fff; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg span { position: absolute; right: -6%; height: 22px; border-radius: 999px; background: linear-gradient(90deg, rgba(63, 182, 238, 0) 0%, rgba(63, 182, 238, .55) 45%, rgba(31, 95, 214, .75) 100%); filter: blur(.3px); opacity: .55; }
.hero__bg span:nth-child(1) { top: 30%; width: 48%; }
.hero__bg span:nth-child(2) { top: calc(30% + 36px); width: 40%; opacity: .35; }
.hero__bg span:nth-child(3) { top: calc(30% + 72px); width: 30%; opacity: .2; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero__lead { font-size: 1.15rem; color: #c4d2f2; max-width: 36em; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 28px; }
.hero__pts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: .95rem; color: #c4d2f2; }
.hero__pts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__pts .ico { color: var(--cyan); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 .78rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: var(--cyan); }

/* Karta terminów */
.dl { background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: 26px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5) inset; }
.dl__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.dl__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--chip); color: var(--blue); }
.dl__ico .ico { width: 24px; height: 24px; }
.dl__k { margin: 0; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.dl__t { margin: 0; font: 700 1.2rem/1.3 var(--f-head); color: var(--navy); }
.dl__list { list-style: none; margin: 0; padding: 8px 0 0; }
.dl__list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.dl__list b { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px; background: var(--navy); color: #fff; font: 700 1.25rem/1 var(--f-head); }
.dl__list span { flex: 1; font-weight: 600; color: var(--navy); line-height: 1.3; }
.dl__list small { display: block; font-weight: 400; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.dl__ok { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #e3f6ec; color: #16865a; }
.dl__ok .ico { width: 16px; height: 16px; }
.dl__foot { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; font-size: .88rem; color: var(--muted); }
.dl__foot .ico { color: var(--blue); }

/* Sekcje */
.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec--tint { background: var(--tint); }
.sec--tight { padding: clamp(48px, 6vw, 72px) 0; }
.sec__head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.sec__head--left { margin-left: 0; text-align: left; }
.sec__lead { font-size: 1.1rem; color: var(--muted); }

/* Kafle usług (wzór: numer, strzałka, tytuł, opis, etykiety) */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.svc { position: relative; display: flex; flex-direction: column; padding: 40px 40px 34px; min-height: 300px; color: var(--muted); text-decoration: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.svc:nth-child(3n) { border-right: 0; }
.svc-grid > .svc:nth-last-child(-n+3):nth-child(3n+1), .svc-grid > .svc:nth-last-child(-n+3):nth-child(3n+1) ~ .svc { border-bottom: 0; }
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--blue)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.svc:hover { background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%); color: var(--muted); }
.svc:hover::after { transform: scaleX(1); }
.svc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.svc__no { display: inline-grid; place-items: center; min-width: 44px; height: 40px; padding: 0 10px; border-radius: 10px; background: var(--chip); color: var(--blue); font: 700 .9rem/1 var(--f-body); letter-spacing: .04em; }
.svc__go { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); color: var(--navy); background: #fff; box-shadow: 0 4px 12px -6px rgba(13, 27, 62, .2); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.svc:hover .svc__go { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(45deg); }
.svc__t { font-size: 1.45rem; margin-bottom: 14px; }
.svc__d { margin-bottom: 28px; line-height: 1.75; }
.svc__tags { margin-top: auto; font-size: .82rem; font-weight: 600; color: #5d6b88; letter-spacing: .01em; }
.svc-note { display: flex; gap: 10px; align-items: center; justify-content: center; margin: 28px 0 0; color: var(--muted); text-align: center; }
.svc-note .ico { color: var(--blue); }

/* Kroki */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.step__n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; font: 700 1.1rem/1 var(--f-head); margin-bottom: 20px; box-shadow: 0 8px 18px -8px rgba(31, 95, 214, .8); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Dlaczego my */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feat { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: box-shadow .25s, transform .25s; }
.feat:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feat__i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--chip); color: var(--blue); margin-bottom: 16px; }
.feat__i .ico { width: 24px; height: 24px; }
.feat h3 { font-size: 1.1rem; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Pas KSeF */
.band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1d4cb0 100%); color: #c9d6f5; padding: clamp(56px, 7vw, 84px) 0; }
.band h2 { color: #fff; }
.band__in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.band__in > div { max-width: 640px; }
.band__in p:last-child { margin: 0; }
.band__stripes, .ftr__stripes { position: absolute; left: -5%; top: 50%; width: 45%; height: 70px; transform: translateY(-50%); background: repeating-linear-gradient(180deg, rgba(63, 182, 238, .22) 0 22px, transparent 22px 34px); border-radius: 999px; mask-image: linear-gradient(90deg, transparent, #000 60%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%, transparent); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq { display: grid; gap: 12px; }
.faq__i { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: box-shadow .25s, border-color .25s; }
.faq__i[open] { border-color: #cfdaf0; box-shadow: var(--shadow); }
.faq__i summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font: 600 1.05rem/1.4 var(--f-head); color: var(--navy); }
.faq__i summary::-webkit-details-marker { display: none; }
.faq__x { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--chip); color: var(--blue); transition: transform .25s, background .25s, color .25s; }
.faq__i[open] .faq__x { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq__i p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* Kontakt */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.cl { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 14px; }
.cl li { display: flex; gap: 14px; align-items: center; }
.cl__i { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--blue); }
.cl li > span:last-child { display: flex; flex-direction: column; font-weight: 600; color: var(--navy); }
.cl small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.cl a { color: var(--navy); text-decoration: none; }
.cl a:hover { color: var(--blue); }
.map { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(135deg, #e8eef9, #f7f9fd); display: grid; place-items: center; }
.map::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 32px 32px; opacity: .7; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__btn { position: relative; display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font: 600 .95rem var(--f-body); cursor: pointer; box-shadow: var(--shadow); }
.map__btn .ico { color: var(--blue); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card__t { font: 700 1.3rem/1.3 var(--f-head); color: var(--navy); margin-bottom: 18px; }
.card .btn + .btn { margin-top: 10px; }
.card__addr { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; color: var(--muted); font-size: .92rem; }

/* Formularz */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fld { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.fld--full { grid-column: 1 / -1; }
.fld label { font-size: .86rem; font-weight: 600; color: var(--navy); }
.fld input, .fld select, .fld textarea { width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--tint); transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; }
.fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6682' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.fld textarea { resize: vertical; min-height: 110px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 95, 214, .12); }
.fld.is-bad input { border-color: #d64545; }
.form__ok { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 20px; font-size: .88rem; color: var(--muted); cursor: pointer; }
.form__ok input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); flex: none; }
.form__foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }
.form__note { display: inline-flex; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); }
.form__msg:not(:empty) { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #e3f6ec; color: #11613f; font-weight: 500; }
.form__msg.is-err { background: #fdecec; color: #9b2222; }
.form.is-busy button { opacity: .6; pointer-events: none; }

/* Podstrony */
.phead__in { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(44px, 6vw, 76px); max-width: var(--wrap); }
.phead__lead { font-size: 1.15rem; color: #c4d2f2; max-width: 44em; margin: 0; }
.phead .hero__bg span:nth-child(1) { top: 40%; }
.phead .hero__bg span:nth-child(2) { top: calc(40% + 36px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .88rem; color: #8ea3cf; }
.crumbs a { color: #c4d2f2; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.chips li { padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: #fff; font-size: .86rem; font-weight: 600; }
.svc-page { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.card--sticky { position: sticky; top: calc(var(--hdr) + 24px); }
.card--sticky p:not(.card__t):not(.card__addr) { color: var(--muted); font-size: .96rem; }

/* Treść z edytora */
.prose { max-width: 820px; }
.svc-page .prose { max-width: none; }
.prose--intro { padding-top: 48px; }
.prose > * + h2 { margin-top: 1.6em; }
.prose > * + h3 { margin-top: 1.4em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 34px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .25em; width: 22px; height: 22px; border-radius: 50%; background: var(--chip) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.prose ol { counter-reset: o; }
.prose ol li { position: relative; padding-left: 44px; counter-increment: o; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font: 700 .85rem/1 var(--f-head); }
.prose .wp-block-group.is-style-card, .prose .box { background: var(--tint); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px; margin: 1.6em 0; }
.prose .box > :last-child { margin-bottom: 0; }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; border-left: 4px solid var(--blue); background: var(--tint); border-radius: 0 16px 16px 0; font-size: 1.08rem; color: var(--navy); }
.prose blockquote p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--navy); background: var(--tint); }
.prose .wp-block-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1.4em 0; }
.prose .wp-block-column { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.prose .wp-block-column > :last-child { margin-bottom: 0; }
.prose .wp-block-column h3 { font-size: 1.1rem; margin-top: 0; }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-item__date { color: var(--muted); font-size: .9rem; }

/* Stopka */
.ftr { position: relative; overflow: hidden; background: var(--navy); color: #9fb2d9; padding-top: 72px; font-size: .95rem; }
.ftr__stripes { top: 64px; left: auto; right: -10%; transform: none; opacity: .5; }
.ftr__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.1fr; gap: 40px; padding-bottom: 48px; }
.ftr__brand p { margin: 20px 0 0; max-width: 30em; }
.ftr__h { font: 700 .8rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr a { color: #c9d6f5; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__contact .ico { color: var(--cyan); margin-top: 3px; }
.ftr__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; }
.dock { display: none; }

/* Animacje wejścia */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	* { transition-duration: .01ms !important; }
}

/* Tablet */
@media (max-width: 1080px) {
	.hdr__tel span { display: none; }
	.hdr__tel { width: 44px; height: 44px; justify-content: center; border: 1px solid var(--line); border-radius: 12px; }
	.svc { padding: 32px 28px 28px; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.step::after { display: none; }
	.ftr__grid { grid-template-columns: 1fr 1fr; }
}

/* Menu mobilne */
@media (max-width: 960px) {
	:root { --hdr: 68px; }
	.burger { display: inline-flex; }
	.hdr__cta { display: none; }
	.nav { position: fixed; inset: var(--hdr) 0 0 0; background: #fff; padding: 20px 24px 32px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; }
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav .menu { flex-direction: column; gap: 2px; }
	.nav .menu a { font: 600 1.3rem/1.3 var(--f-head); color: var(--navy); padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
	.nav .menu a:hover { background: none; }
	.nav .menu .btn { margin-top: 18px; border-bottom: 0; padding: 16px; border-radius: 999px; color: #fff; font: 600 1.05rem var(--f-body); }
	.nav__extra { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; color: var(--muted); }
	.nav__extra p { margin: 0; display: flex; gap: 8px; align-items: center; }
	.nav__tel { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 1.1rem; }
	.nav-open { overflow: hidden; }
	.hero__in, .why, .faq-wrap, .contact__grid, .svc-page { grid-template-columns: 1fr; gap: 40px; }
	.dl { max-width: 520px; }
	.svc-grid { grid-template-columns: 1fr 1fr; }
	.svc:nth-child(3n) { border-right: 1px solid var(--line); }
	.svc:nth-child(2n) { border-right: 0; }
	.svc-grid > .svc { border-bottom: 1px solid var(--line) !important; }
	.svc-grid > .svc:nth-last-child(-n+2):nth-child(2n+1), .svc-grid > .svc:nth-last-child(-n+2):nth-child(2n+1) ~ .svc { border-bottom: 0 !important; }
	.band__in { flex-direction: column; align-items: flex-start; }
	.card--sticky { position: static; }
}

/* Telefon */
@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.brand__mark { width: 52px; }
	.brand__txt b { font-size: 1.08rem; }
	.brand__txt small { font-size: .6rem; letter-spacing: .12em; }
	.hero__btns .btn { width: 100%; }
	.hero__bg span { opacity: .3; }
	.dl { padding: 20px; border-radius: 22px; }
	.svc-grid { grid-template-columns: 1fr; }
	.svc, .svc:nth-child(2n), .svc:nth-child(3n) { border-right: 0; min-height: 0; padding: 26px 22px; }
	.svc-grid > .svc { border-bottom: 1px solid var(--line) !important; }
	.svc-grid > .svc:last-child { border-bottom: 0 !important; }
	.svc__top { margin-bottom: 20px; }
	.svc__go { width: 44px; height: 44px; }
	.svc__t { font-size: 1.3rem; }
	.svc-note { flex-direction: column; }
	.steps, .feats { grid-template-columns: 1fr; }
	.form__grid { grid-template-columns: 1fr; }
	.form__foot .btn { width: 100%; }
	.card { padding: 22px; }
	.ftr__grid { grid-template-columns: 1fr; gap: 32px; }
	.ftr { padding-bottom: 76px; }
	.dock { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(13, 27, 62, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); }
	.dock__btn { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 600; text-decoration: none; }
	.dock__btn--ghost { background: rgba(255, 255, 255, .1); }
	.dock__btn:hover { color: #fff; }
}

/* Dodatki treści */
.prose .lead { font-size: 1.22rem; line-height: 1.6; color: var(--navy); }
.prose--wide { max-width: var(--wrap); }
.prose--wide > p { max-width: 760px; font-size: 1.1rem; color: var(--muted); margin-bottom: 40px; }
@media (max-width: 960px) {
	.hdr__act { margin-left: auto; }
	.phead .hero__bg { display: none; }
}
@media (max-width: 960px) {
	/* backdrop-filter tworzy kontener dla position:fixed – panel menu byłby przycięty do wysokości nagłówka */
	.hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
}

/* ===== Zdjęcia i efekty ===== */
.hero__photo { position: absolute; inset: 0; overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.08); animation: kb 22s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.16) translate(-1.5%, -1%); } }
.hero--photo::before, .phead--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13, 27, 62, .97) 0%, rgba(13, 27, 62, .9) 38%, rgba(13, 27, 62, .55) 70%, rgba(13, 27, 62, .35) 100%), linear-gradient(0deg, rgba(13, 27, 62, .85) 0%, transparent 35%); }
.hero--photo .hero__bg, .phead--photo .hero__bg { z-index: 1; }
.hero--photo .hero__in, .phead--photo .phead__in { z-index: 2; }
.hero__glow { position: absolute; z-index: 1; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(63, 182, 238, .18), transparent 60%); transition: background .2s; }
.hero h1 { text-wrap: balance; }
.hero h1, .phead h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.dl { animation: floaty 7s ease-in-out infinite; backdrop-filter: blur(6px); }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.js .hero__txt > * { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.js .hero__txt > :nth-child(2) { animation-delay: .08s; }
.js .hero__txt > :nth-child(3) { animation-delay: .16s; }
.js .hero__txt > :nth-child(4) { animation-delay: .24s; }
.js .hero__txt > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Pasek haseł */
.ticker { position: relative; overflow: hidden; background: linear-gradient(90deg, var(--blue-d), var(--blue) 50%, #2a8fd8); color: #fff; padding: 16px 0; }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tick 38s linear infinite; }
.ticker span { font: 700 1.05rem/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.ticker i { width: 9px; height: 9px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); flex: none; box-shadow: 0 0 12px rgba(63, 182, 238, .9); }
@keyframes tick { to { transform: translateX(-50%); } }

/* Kafle usług: światło za kursorem */
.svc { overflow: hidden; }
.svc::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), rgba(31, 95, 214, .09), transparent 60%); }
.svc:hover::before { opacity: 1; }
.svc > * { position: relative; }

/* Dlaczego my: zdjęcie + plakietki */
.why { grid-template-columns: 1fr 1fr; gap: 72px; }
.why__fig { position: relative; margin: 0; }
.why__img { border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(13, 27, 62, .55); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease; }
.why__img img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 45% 50%; transition: transform .8s ease; }
.why__fig:hover .why__img img { transform: scale(1.04); }
.why__fig::before { content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%; border-radius: 28px; background: repeating-linear-gradient(135deg, rgba(31, 95, 214, .14) 0 2px, transparent 2px 12px); z-index: -1; }
.why__badge { position: absolute; right: -24px; bottom: 36px; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 24px 50px -20px rgba(13, 27, 62, .45); animation: floaty 6s ease-in-out infinite; }
.why__badge-i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; }
.why__badge b { display: block; font: 700 1rem/1.2 var(--f-head); color: var(--navy); }
.why__badge small { color: var(--muted); font-size: .85rem; }
.why__pin { position: absolute; left: 20px; top: 20px; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; background: rgba(13, 27, 62, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; font-size: .86rem; font-weight: 600; }
.why__pin .ico { color: var(--cyan); }
.why__body .feats { margin: 28px 0 30px; }

/* Pas KSeF ze zdjęciem */
.band--photo { padding: 0; }
.band__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; overflow: hidden; }
.band__photo img { width: 100%; height: 100%; object-fit: cover; }
.band__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-2) 0%, rgba(20, 42, 92, .4) 35%, rgba(20, 42, 92, 0) 70%); }
.band--photo .band__in { min-height: 460px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.band__txt { max-width: 560px; }
.band__pts { list-style: none; margin: 22px 0 30px; padding: 0; display: grid; gap: 10px; }
.band__pts li { display: flex; gap: 10px; align-items: center; color: #e4ecff; font-weight: 500; }
.band__pts .ico { color: var(--cyan); }

/* Nagłówki podstron ze zdjęciem */
.phead--photo .phead__in { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 100px); }

@media (max-width: 960px) {
	.hero--photo::before, .phead--photo::before { background: linear-gradient(180deg, rgba(13, 27, 62, .78) 0%, rgba(13, 27, 62, .92) 55%, rgba(13, 27, 62, .98) 100%); }
	.why { grid-template-columns: 1fr; gap: 48px; }
	.why__img img { aspect-ratio: 16 / 11; }
	.why__badge { right: 12px; bottom: -20px; }
	.band__photo { position: relative; width: 100%; height: 260px; }
	.band__photo::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(13, 27, 62, 0) 60%); }
	.band--photo .band__in { min-height: 0; padding-top: 8px; }
	.band--photo { display: flex; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	.hero__photo img, .dl, .why__badge, .ticker__track { animation: none; }
	.js .hero__txt > * { opacity: 1; transform: none; animation: none; }
}
.phead--photo .hero__bg { display: none; }

/* ===== Równe kafle: tytuł, opis i etykiety w jednej linii w całym rzędzie ===== */
.svc__tags { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svc__d { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@supports (grid-template-rows: subgrid) {
	.svc-grid { grid-auto-rows: auto; }
	.svc { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; min-height: 0; }
	.svc__t { align-self: end; }
	.svc__d { align-self: start; }
	.svc__tags { align-self: end; }
}

/* ===== Dlaczego my: zdjęcie na pełną wysokość kolumny tekstu (bez pustego pola nad zdjęciem) ===== */
.why { align-items: stretch; }
.why__fig { display: flex; flex-direction: column; }
.why__img { flex: 1; min-height: 420px; }
.why__img img { height: 100%; aspect-ratio: auto; }
@media (max-width: 960px) {
	.why__img { min-height: 0; }
	.why__img img { height: auto; aspect-ratio: 16 / 11; }
}

/* ===== Hero nigdy wyższe niż ekran ===== */
.hero { max-height: calc(100svh - var(--hdr)); }
.hero__in { padding-top: clamp(24px, 7vh, 96px); padding-bottom: clamp(28px, 8vh, 110px); }
.hero h1 { font-size: min(clamp(2.1rem, 4.6vw, 3.6rem), 7.2vh); }
.hero__lead { font-size: min(1.15rem, 2.4vh); }
.hero__btns { margin: min(30px, 3.5vh) 0 min(28px, 3vh); }
@media (min-width: 961px) and (max-height: 800px) {
	.dl { padding: 18px 22px; }
	.dl__head { padding-bottom: 12px; }
	.dl__list li { padding: 9px 0; }
	.dl__list b { width: 44px; height: 44px; font-size: 1.1rem; }
}
@media (min-width: 961px) and (max-height: 640px) { .hero__pts, .dl__foot { display: none; } }
/* Telefon/tablet: karta terminów pod hero, żeby hero zmieściło się w ekranie */
.dl-mob { display: none; }
@media (max-width: 960px) {
	.hero .dl { display: none; }
	.hero__in { grid-template-columns: 1fr; }
	.dl-mob { display: block; background: var(--navy); padding: 0 0 28px; }
	.dl-mob .dl { animation: none; max-width: 560px; }
	.hero h1 { font-size: min(2.1rem, 6.4vh); }
	.hero__lead { font-size: min(1.05rem, 2.3vh); margin-bottom: 0; }
	.hero__btns .btn { padding-top: min(1em, 1.6vh); padding-bottom: min(1em, 1.6vh); }
}
@media (max-width: 960px) and (max-height: 740px) { .hero__pts { display: none; } .hero__btns { margin-bottom: 0; } }

/* =====================================================================
   Bloki edytora (strona główna i podstrony) – style wybierane w edytorze
   ===================================================================== */
.blocks > .wp-block-group, .blocks > .wp-block-list.is-style-ticker { margin: 0; }
.is-style-sekcja, .is-style-sekcja-jasna { padding: clamp(64px, 8vw, 104px) 24px; }
.is-style-sekcja-jasna { background: var(--tint); }
.is-style-sekcja > *, .is-style-sekcja-jasna > *, .is-style-pas > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.is-style-sekcja > .has-text-align-center, .is-style-sekcja-jasna > .has-text-align-center { max-width: 760px; }
.is-style-sekcja > h2, .is-style-sekcja-jasna > h2 { margin-bottom: .45em; }
.has-text-align-center { text-align: center; }
p.is-style-nadtytul { margin-top: 0; margin-bottom: 14px; font: 700 .78rem/1.2 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.is-style-pas p.is-style-nadtytul { color: var(--cyan); }
p.is-style-wstep { font-size: 1.1rem; color: var(--muted); }
.is-style-sekcja > p.is-style-wstep, .is-style-sekcja-jasna > p.is-style-wstep { margin-bottom: 44px; }
.is-style-sekcja > .svc-grid + p { margin-top: 28px; color: var(--muted); }

/* Przyciski z edytora */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.wp-block-button__link { display: inline-flex; align-items: center; gap: .55em; padding: .9em 1.45em; border-radius: 999px; border: 1.5px solid var(--blue); background: var(--blue); color: #fff; font: 600 .98rem/1.2 var(--f-body); text-decoration: none; box-shadow: 0 8px 20px -10px rgba(31, 95, 214, .7); transition: background .2s, transform .2s; }
.wp-block-button__link::after { content: "→"; transition: transform .2s; }
.wp-block-button__link:hover { background: var(--blue-d); color: #fff; transform: translateY(-1px); }
.wp-block-button__link:hover::after { transform: translateX(3px); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--blue); box-shadow: none; }

/* Pasek haseł (Lista → styl „Pasek przesuwających się haseł”) */
ul.is-style-ticker { list-style: none; margin: 0; padding: 16px 0; display: flex; overflow: hidden; background: linear-gradient(90deg, var(--blue-d), var(--blue) 50%, #2a8fd8); color: #fff; }
ul.is-style-ticker .ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: tick 38s linear infinite; padding-left: 28px; }
ul.is-style-ticker li { display: flex; align-items: center; gap: 28px; font: 700 1.05rem/1 var(--f-head); white-space: nowrap; }
ul.is-style-ticker li::after { content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); box-shadow: 0 0 12px rgba(63, 182, 238, .9); }

/* Kolumny: Kroki */
.wp-block-columns.is-style-kroki { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: krok; margin-top: 8px; }
.is-style-kroki > .wp-block-column { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; counter-increment: krok; }
.is-style-kroki > .wp-block-column::before { content: counter(krok); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: #fff; font: 700 1.1rem/1 var(--f-head); margin-bottom: 20px; box-shadow: 0 8px 18px -8px rgba(31, 95, 214, .8); }
.is-style-kroki > .wp-block-column:not(:last-child)::after { content: ""; position: absolute; top: 52px; right: -21px; width: 22px; height: 2px; background: linear-gradient(90deg, var(--blue), transparent); }
.is-style-kroki h3 { margin-bottom: 8px; }
.is-style-kroki p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Kolumny: Karty z ikonami */
.wp-block-columns.is-style-karty { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; margin-bottom: 0; }
.is-style-karty > .wp-block-column { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; transition: box-shadow .25s, transform .25s; }
.is-style-karty > .wp-block-column:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.is-style-karty > .wp-block-column::before { content: ""; display: block; width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px; background: var(--chip) var(--ic, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E")) center / 24px no-repeat; }
.is-style-karty > .wp-block-column:nth-child(1) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.is-style-karty > .wp-block-column:nth-child(2) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.is-style-karty > .wp-block-column:nth-child(3) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18a4.5 4.5 0 0 1-.6-9A6 6 0 0 1 18 8.5a4.8 4.8 0 0 1-.5 9.5z'/%3E%3Cpath d='m9.5 13 2.5-2.5 2.5 2.5M12 10.5V16'/%3E%3C/svg%3E"); }
.is-style-karty > .wp-block-column:nth-child(4) { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.4 8.3 8 9 4.6-.7 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.is-style-karty h3 { font-size: 1.1rem; margin-bottom: 6px; }
.is-style-karty p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Kolumny: Zdjęcie + tekst (zdjęcie na pełną wysokość kolumny tekstu) */
.wp-block-columns.is-style-zdjecie-tekst { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: stretch; }
.is-style-zdjecie-tekst > .wp-block-column:first-child { position: relative; display: flex; }
.is-style-zdjecie-tekst > .wp-block-column:first-child::before { content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%; border-radius: 28px; background: repeating-linear-gradient(135deg, rgba(31, 95, 214, .14) 0 2px, transparent 2px 12px); z-index: 0; }
.is-style-zdjecie-tekst .wp-block-image { position: relative; z-index: 1; flex: 1; margin: 0; min-height: 420px; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(13, 27, 62, .55); transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease; }
.is-style-zdjecie-tekst .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.is-style-zdjecie-tekst .wp-block-image:hover img { transform: scale(1.04); }

/* Grupa: Pas granatowy ze zdjęciem (pierwsza kolumna tekst, druga zdjęcie) */
.wp-block-group.is-style-pas { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #1d4cb0 100%); color: #c9d6f5; }
.is-style-pas h2 { color: #fff; }
.is-style-pas > .wp-block-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-width: none; margin: 0; align-items: stretch; }
.is-style-pas > .wp-block-columns > .wp-block-column:first-child { padding: clamp(56px, 7vw, 88px) 48px clamp(56px, 7vw, 88px) max(24px, calc((100vw - var(--wrap)) / 2 + 24px)); position: relative; z-index: 1; }
.is-style-pas > .wp-block-columns > .wp-block-column:last-child { position: relative; min-height: 420px; }
.is-style-pas .wp-block-column:last-child .wp-block-image { position: absolute; inset: 0; margin: 0; }
.is-style-pas .wp-block-column:last-child .wp-block-image img { width: 100%; height: 100%; object-fit: cover; }
.is-style-pas .wp-block-column:last-child::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-2) 0%, rgba(20, 42, 92, .35) 35%, rgba(20, 42, 92, 0) 70%); pointer-events: none; }
.is-style-pas ul, ul.is-style-ptaszki { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.is-style-pas ul li, ul.is-style-ptaszki li { display: flex; gap: 10px; align-items: center; }
.is-style-pas ul li { color: #e4ecff; font-weight: 500; }
.is-style-pas ul li::before, ul.is-style-ptaszki li::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fb6ee' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.is-style-pas .wp-block-button__link { background: #fff; border-color: #fff; color: var(--navy); }
.is-style-pas .wp-block-button__link:hover { background: var(--chip); color: var(--navy); }

/* Kolumny: Nagłówek + pytania; blok „Szczegóły” jako akordeon */
.wp-block-columns.is-style-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.wp-block-details { border: 1px solid var(--line); border-radius: 18px; background: #fff; margin: 0 0 12px; transition: box-shadow .25s, border-color .25s; }
.wp-block-details[open] { border-color: #cfdaf0; box-shadow: var(--shadow); }
.wp-block-details summary { position: relative; padding: 20px 64px 20px 24px; cursor: pointer; list-style: none; font: 600 1.05rem/1.4 var(--f-head); color: var(--navy); }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 20px; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border-radius: 50%; background: var(--chip); color: var(--blue); font: 400 1.4rem/1 var(--f-body); transition: transform .25s, background .25s, color .25s; }
.wp-block-details[open] summary::after { transform: rotate(45deg); background: var(--blue); color: #fff; }
.wp-block-details > :not(summary) { margin: 0; padding: 0 24px 22px; color: var(--muted); }

@media (max-width: 1080px) {
	.wp-block-columns.is-style-kroki { grid-template-columns: 1fr 1fr; }
	.is-style-kroki > .wp-block-column::after { display: none; }
}
@media (max-width: 960px) {
	.wp-block-columns.is-style-zdjecie-tekst, .wp-block-columns.is-style-faq, .is-style-pas > .wp-block-columns { grid-template-columns: 1fr; gap: 40px; }
	.is-style-zdjecie-tekst .wp-block-image { min-height: 0; }
	.is-style-zdjecie-tekst .wp-block-image img { aspect-ratio: 16 / 11; height: auto; }
	.is-style-pas > .wp-block-columns { gap: 0; }
	.is-style-pas > .wp-block-columns > .wp-block-column:first-child { order: 2; padding: 8px 24px 56px; }
	.is-style-pas > .wp-block-columns > .wp-block-column:last-child { order: 1; min-height: 260px; }
	.is-style-pas .wp-block-column:last-child::after { background: linear-gradient(0deg, var(--navy) 0%, rgba(13, 27, 62, 0) 60%); }
}
@media (max-width: 640px) {
	.is-style-sekcja, .is-style-sekcja-jasna { padding-left: 16px; padding-right: 16px; }
	.wp-block-columns.is-style-kroki, .wp-block-columns.is-style-karty { grid-template-columns: 1fr; }
	.is-style-pas > .wp-block-columns > .wp-block-column:first-child { padding: 8px 16px 48px; }
}
@media (prefers-reduced-motion: reduce) { ul.is-style-ticker .ticker__track { animation: none; } }

/* ===== Hero = dokładnie wysokość ekranu pod menu (nie wyższe i nie niższe) ===== */
.hero { height: calc(100svh - var(--hdr) - 1px); min-height: 0; max-height: none; display: flex; flex-direction: column; justify-content: center; }
.hero > .hero__in { width: 100%; }
@supports not (height: 100svh) { .hero { height: calc(100vh - var(--hdr) - 1px); } }

/* Lista → „Miejscowości (etykiety z pinezką)” */
ul.is-style-miejscowosci { list-style: none; padding: 0; margin: 8px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
ul.is-style-miejscowosci li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; box-shadow: 0 6px 16px -12px rgba(13, 27, 62, .4); }
ul.is-style-miejscowosci li::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5fd6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
ul.is-style-miejscowosci li:first-child { background: var(--blue); border-color: var(--blue); color: #fff; }
ul.is-style-miejscowosci li:first-child::before { filter: brightness(0) invert(1); }

/* Karty pod sekcją „zdjęcie + tekst”: jeden rząd na całą szerokość, zdjęcie nie jest wtedy kadrowane pionowo */
.is-style-sekcja > .wp-block-columns.is-style-karty, .is-style-sekcja-jasna > .wp-block-columns.is-style-karty { grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.is-style-zdjecie-tekst .wp-block-image { min-height: 440px; }
.is-style-zdjecie-tekst .wp-block-image img { object-position: 50% 40%; }
.is-style-zdjecie-tekst > .wp-block-column:last-child { align-self: center; }
@media (max-width: 1080px) { .is-style-sekcja > .wp-block-columns.is-style-karty { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .is-style-sekcja > .wp-block-columns.is-style-karty { grid-template-columns: 1fr; } }

/* Kolumny → „Opinie klientów” */
.wp-block-columns.is-style-opinie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; margin-bottom: 0; }
.is-style-opinie > .wp-block-column { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 26px; box-shadow: var(--shadow); }
.is-style-opinie > .wp-block-column::before { content: "\201D"; position: absolute; top: 6px; right: 22px; font: 700 5rem/1 Georgia, serif; color: var(--chip); }
.is-style-opinie > .wp-block-column > p:not(.is-style-podpis) { position: relative; color: var(--ink); font-size: 1.02rem; line-height: 1.7; }
p.is-style-podpis { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); font-size: .95rem; }
@media (max-width: 960px) { .wp-block-columns.is-style-opinie { grid-template-columns: 1fr; } }

/* Miejscowości jako linki */
ul.is-style-miejscowosci li a { color: inherit; text-decoration: none; }
ul.is-style-miejscowosci li:has(a):hover { border-color: var(--blue); color: var(--blue); }
/* Stopka: obszar działania */
.ftr__area { position: relative; padding-bottom: 28px; font-size: .88rem; line-height: 1.9; color: #9fb2d9; }
.ftr__area b { color: #fff; font-weight: 600; margin-right: 6px; }
.ftr__area a { white-space: nowrap; }
.ftr__area a + a::before { content: "·"; margin: 0 8px; color: #5f74a3; }

/* Podstrony miejscowości: tekst w czytelnej szerokości, kafle usług na całą szerokość */
.prose--town > :not(.svc-grid):not(.wp-block-columns) { max-width: 820px; }
.prose--town > p.is-style-wstep { font-size: 1.2rem; color: var(--navy); }
.prose--town > .wp-block-columns.is-style-karty { grid-template-columns: repeat(3, 1fr); margin: 28px 0 8px; }
.prose--town > .svc-grid { margin: 8px 0 32px; }
@media (max-width: 960px) { .prose--town > .wp-block-columns.is-style-karty { grid-template-columns: 1fr; } }

/* Pas granatowy: płynne przenikanie zdjęcia w tło (maska zamiast nakładki – bez widocznej krawędzi) */
.is-style-pas > .wp-block-columns > .wp-block-column:last-child::after { display: none; }
.is-style-pas > .wp-block-columns > .wp-block-column:last-child { overflow: visible; }
.is-style-pas .wp-block-column:last-child .wp-block-image { left: -28%; right: 0; top: 0; bottom: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .25) 22%, rgba(0, 0, 0, .75) 45%, #000 65%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .25) 22%, rgba(0, 0, 0, .75) 45%, #000 65%); }
.is-style-pas .wp-block-column:last-child .wp-block-image img { filter: saturate(.92) brightness(.92); }
.is-style-pas > .wp-block-columns > .wp-block-column:first-child { position: relative; z-index: 2; }
@media (max-width: 960px) {
	.is-style-pas .wp-block-column:last-child .wp-block-image { left: 0; -webkit-mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .6) 30%, #000 60%); mask-image: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, .6) 30%, #000 60%); }
}

/* Karta „Zapytaj o tę usługę” przesuwa się razem z treścią (przyklejona cała kolumna boczna) */
.svc-aside { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; transition: transform .3s ease; }
.svc-aside .card--sticky { position: static; }
@media (max-width: 960px) { .svc-aside { position: static; } }

/* Opinie klientów jako przesuwany karuzel (dowolna liczba kart) */
.wp-block-columns.is-style-opinie { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 24px; scrollbar-width: none; }
.wp-block-columns.is-style-opinie::-webkit-scrollbar { display: none; }
.is-style-opinie > .wp-block-column { flex: 0 0 calc((100% - 40px) / 3) !important; scroll-snap-align: start; }
.op-nav { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.op-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 1.3rem; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.op-nav button:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 960px) { .is-style-opinie > .wp-block-column { flex-basis: calc((100% - 20px) / 2) !important; } }
@media (max-width: 640px) { .is-style-opinie > .wp-block-column { flex-basis: 88% !important; } }

/* Stopka: sam napis bez znaku (znak wycięty z białego tła zlewał się z granatem) i bez ozdobnych pasków */
.brand--light .brand__mark { display: none; }
.brand--light .brand__txt b { font-size: 1.5rem; }
.ftr__stripes { display: none; }

/* Formularz: wyraźne błędy i potwierdzenie */
.form__ok.is-bad { color: #9b2222; }
.form__ok.is-bad input { outline: 2px solid #d64545; outline-offset: 2px; }
.fld.is-bad textarea, .fld.is-bad select { border-color: #d64545; }
.form__msg { scroll-margin: calc(var(--hdr) + 24px) 0 120px; }
.form__msg:not(:empty) { font-size: 1rem; }
.form.is-sent .form__msg:not(.is-err)::before { content: "✓ "; font-weight: 700; }
