/* ==========================================================================
   INTMEDIA — motyw intmedia.pl
   Fonty → tokeny → baza → układ → nagłówek/stopka → sekcje → komponenty → formularze
   → ozdobniki „kod" → ruch (wejścia, odsłanianie) → zgodność
   Mobile first w treści: najpierw telefon, większe ekrany w @media (min-width).
   ========================================================================== */

/* Fonty lokalnie (RODO — bez Google Fonts). Zestawy latin + latin-ext (ąćęłńóśźż).
   Mona Sans — nagłówki (szerokość 100–115, grubość 600–800),
   Instrument Sans — tekst (400–700), JetBrains Mono — kod, pasek adresu, ozdobniki. */
@font-face {
	font-family: "Mona Sans"; font-style: normal; font-weight: 600 800; font-stretch: 100% 115%; font-display: swap;
	src: url("../fonts/mona-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Mona Sans"; font-style: normal; font-weight: 600 800; font-stretch: 100% 115%; font-display: swap;
	src: url("../fonts/mona-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/instrument-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
	src: url("../fonts/instrument-sans-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
	src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap;
	src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ink: #0E2240;
	--ink-2: #44546F;
	--ink-3: #5E6D85; /* min. 4.5:1 na białym i na --tint (WCAG AA) */
	--blue: #1A77DB;
	--blue-d: #125EB2;
	--sky: #E8F1FC;
	--tint: #F5F8FC;
	--line: #DCE5F0;
	--teal: #00BFA6;
	--cyan: #00C2FF; /* akcent z logo — tylko na ciemnym tle */
	--night: #071026;
	--white: #FFFFFF;
	--danger: #C9372C;

	--font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--display: "Mona Sans", "Instrument Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

	/* Skala: tekst 17 px, nagłówki płynnie (telefon → 1440) */
	--fs-xs: .8125rem;
	--fs-sm: .9375rem;
	--fs-md: 1.0625rem;
	--fs-lg: 1.1875rem;
	--fs-xl: clamp(1.3125rem, 1.15rem + .6vw, 1.625rem);
	--fs-2xl: clamp(1.875rem, 1.35rem + 2.1vw, 2.875rem);
	--fs-3xl: clamp(2.25rem, 1.45rem + 3.3vw, 4rem);
	--fs-hero: clamp(2.6rem, 1.55rem + 4.4vw, 5.1rem);

	--r-sm: 8px;
	--r-md: 12px;
	--r-lg: 20px;

	--wrap: 1200px;
	--gutter: clamp(18px, 4vw, 32px);
	--sec: clamp(64px, 8vw, 112px);
	--header-h: 64px;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow: 0 1px 2px rgba(14, 34, 64, .06), 0 12px 32px -12px rgba(14, 34, 64, .18);
	--shadow-lg: 0 2px 4px rgba(14, 34, 64, .06), 0 32px 64px -24px rgba(14, 34, 64, .35);
}
@media (min-width: 1141px) { :root { --header-h: 76px; } }

/* ───────────── Baza ───────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-md);
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip; /* ozdobniki nigdy nie dadzą poziomego przewijania */
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-d); }
h1, h2, h3, h4 {
	margin: 0 0 .5em; color: var(--ink);
	font-family: var(--display); font-weight: 700; font-stretch: 108%;
	line-height: 1.1; letter-spacing: -.018em;
	text-wrap: balance;
}
h3, h4 { font-weight: 650; font-stretch: 104%; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: -.2em; }
::selection { background: var(--sky); color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 1000;
	padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r-sm); text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Kod w kolorach (eyebrow w hero, ozdobniki) */
.c-t { color: var(--blue); }
.c-a { color: #0B9C88; }
.c-s { color: #1559A6; }
.c-p { color: var(--ink); }
.c-c { color: var(--ink-3); }

/* ───────────── Układ ───────────── */

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.wrap--wide { max-width: 1440px; }
.section { position: relative; isolation: isolate; padding-block: var(--sec); }
.section--tint {
	background:
		radial-gradient(55% 60% at 100% 0%, rgba(26, 119, 219, .08), rgba(26, 119, 219, 0) 70%),
		radial-gradient(45% 55% at 0% 100%, rgba(0, 191, 166, .06), rgba(0, 191, 166, 0) 70%),
		var(--tint);
}
.section--flush { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head .section__title { margin: 0; }
.section__title { font-size: var(--fs-2xl); max-width: 20ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section__after { margin: 32px 0 0; color: var(--ink-2); font-size: var(--fs-sm); max-width: 70ch; }
.lead { font-size: var(--fs-md); color: var(--ink-2); line-height: 1.6; max-width: 52ch; }
@media (min-width: 561px) { .lead { font-size: var(--fs-lg); line-height: 1.55; } }
@media (max-width: 560px) { .split > div > .btn { width: 100%; min-height: 52px; } }
.split { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: 1fr; align-items: start; }
.split--wide { margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 961px) {
	.split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
	.split--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* Nadtytuł sekcji: <usługi /> */
.kicker {
	display: inline-flex; align-items: center; gap: 0;
	margin: 0 0 14px; font-family: var(--mono); font-size: .8125rem; font-weight: 500;
	letter-spacing: 0; color: var(--ink-3); white-space: nowrap;
}
.kicker__b { color: var(--blue); }
.kicker--light { color: rgba(255, 255, 255, .72); }
.kicker--light .kicker__b { color: var(--cyan); }

.prose { font-size: var(--fs-md); }
.prose > * { max-width: 70ch; }
.prose h2 { font-size: var(--fs-xl); margin-top: 1.6em; }
.prose h3 { font-size: var(--fs-lg); margin-top: 1.4em; }
.prose .section__title { font-size: var(--fs-2xl); margin-top: 0; } /* „O nas": nagłówek sekcji w .prose jak pozostałe */
.prose img { border-radius: var(--r-md); }
.prose blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 3px solid var(--blue); color: var(--ink-2); }

/* ───────────── Przyciski ───────────── */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: 11px 22px;
	border: 1.5px solid transparent; border-radius: 12px;
	font: inherit; font-weight: 600; font-size: var(--fs-sm); line-height: 1.2; letter-spacing: .005em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: var(--fs-sm); border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: var(--fs-md); border-radius: 14px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(26, 119, 219, .8); }
.btn--primary:hover { background: var(--blue-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sky); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.link-more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }
.link-more .icon { transition: transform .2s ease; }
.link-more:hover .icon { transform: translateX(3px); }

/* ───────────── Nagłówek ───────────── */

.site-header {
	position: sticky; top: 0; z-index: 100;
	color: var(--ink);
	transition: color .3s ease;
}
/* Tło na pseudo-elemencie: backdrop-filter na samym nagłówku zamknąłby w nim menu mobilne (position: fixed). */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: saturate(1.5) blur(14px);
	backdrop-filter: saturate(1.5) blur(14px);
	box-shadow: 0 1px 0 var(--line);
	transition: opacity .35s ease, background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled::before { box-shadow: 0 1px 0 rgba(14, 34, 64, .06), 0 12px 32px -18px rgba(14, 34, 64, .35); }
/* Nad ciemnym hero: nagłówek nachodzi na sekcję (ujemny margines), a ta ma dodatkowy odstęp u góry. */
.site-header--over { margin-bottom: calc(var(--header-h) * -1); }
.has-over-header .hero,
.has-over-header .page-head { padding-top: calc(var(--header-h) + var(--head-pad, 40px)); }
/* Ciemny stan (przezroczysty) tylko z JS — bez JS nagłówek zostaje biały i czytelny przy przewijaniu. */
html.js .site-header.is-dark { color: #fff; }
html.js .site-header.is-dark::before { opacity: 0; box-shadow: none; }
html.js body.nav-open .site-header.is-dark::before { opacity: 1; background: var(--night); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }

.logo { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; color: inherit; margin-right: auto; position: relative; }
.logo:hover { color: inherit; }
.logo__img { display: block; width: clamp(138px, 34vw, 172px); height: auto; max-height: 40px; object-fit: contain; object-position: left center; }
.logo__img--light { display: none; }
html.js .site-header.is-dark .logo__img--dark { display: none; }
html.js .site-header.is-dark .logo__img--light { display: block; }
html.js .site-header.is-dark .logo__img--custom { filter: brightness(0) invert(1); }

.nav-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; margin-right: -10px; padding: 0;
	border: 0; border-radius: 12px; background: transparent; color: inherit; cursor: pointer;
}
.nav-toggle__bars { position: relative; display: block; width: 24px; height: 14px; }
.nav-toggle__bars span {
	position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
	transition: transform .35s var(--ease), top .35s var(--ease), width .35s var(--ease);
}
.nav-toggle__bars span:first-child { top: 1px; }
.nav-toggle__bars span:last-child { top: 11px; width: 70%; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { top: 6px; width: 100%; transform: rotate(-45deg); }

/* Menu na telefonie i tablecie: pełny ekran, ciemne, duże pozycje */
.nav {
	position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
	display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
	padding: 12px var(--gutter) calc(24px + env(safe-area-inset-bottom));
	background: var(--night); color: #fff; overflow-x: hidden; overflow-y: auto;
	visibility: hidden; opacity: 0;
	transition: opacity .25s ease, visibility 0s linear .25s;
}
.admin-bar .nav { top: calc(var(--header-h) + 46px); }
.nav.is-open { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.nav__list { list-style: none; margin: 0; padding: 0; counter-reset: nav; }
.nav__list li { counter-increment: nav; }
.nav__list a {
	display: flex; align-items: baseline; gap: 16px;
	padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .08);
	color: #fff; text-decoration: none;
	font-family: var(--display); font-weight: 650; font-stretch: 106%;
	font-size: clamp(1.5rem, 1.1rem + 2vw, 2rem); line-height: 1.15; letter-spacing: -.015em;
}
.nav__list a::before {
	content: counter(nav, decimal-leading-zero);
	content: counter(nav, decimal-leading-zero) / "";
	font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: 0;
	color: rgba(255, 255, 255, .45); transform: translateY(-.5em);
}
.nav__list a:hover, .nav__list a:focus-visible { color: var(--cyan); }
.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list a[aria-current="page"] { color: var(--cyan); }
.nav__list .current-menu-item > a::before, .nav__list a[aria-current="page"]::before { color: var(--cyan); }
.nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.nav__list li { opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .45s var(--ease); }
.nav.is-open .nav__list li { opacity: 1; transform: none; }
.nav.is-open .nav__list li:nth-child(2) { transition-delay: .03s; }
.nav.is-open .nav__list li:nth-child(3) { transition-delay: .06s; }
.nav.is-open .nav__list li:nth-child(4) { transition-delay: .09s; }
.nav.is-open .nav__list li:nth-child(5) { transition-delay: .12s; }
.nav.is-open .nav__list li:nth-child(6) { transition-delay: .15s; }
.nav.is-open .nav__list li:nth-child(n+7) { transition-delay: .18s; }
.nav__extra { position: relative; z-index: 1; display: grid; gap: 10px; }
.nav__phone {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 14px 20px; border-radius: 14px;
	background: #fff; color: var(--ink); text-decoration: none;
	font-weight: 700; font-size: var(--fs-md); white-space: nowrap;
}
.nav__phone:hover { color: var(--ink); background: var(--sky); }
.nav__phone .icon { color: var(--blue); width: 20px; height: 20px; }
.nav__phone-ico { display: inline-flex; }
.nav__panel { min-height: 56px; border-radius: 14px; font-size: var(--fs-md); background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.nav__panel:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }
.nav__meta { margin: 6px 0 0; text-align: center; font-family: var(--mono); font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.nav__meta a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.nav__deco {
	position: absolute; right: -6vw; bottom: 8vh; z-index: 0; pointer-events: none;
	font-family: var(--display); font-weight: 700; font-size: 72vw; line-height: .8;
	color: transparent; -webkit-text-stroke: 1.5px rgba(0, 194, 255, .12);
}
body.nav-open { overflow: hidden; }

@media (min-width: 1141px) {
	.nav-toggle { display: none; }
	.logo__img { width: clamp(156px, 12.2vw, 176px); max-height: 44px; }
	.site-header__inner { --nav-pad: clamp(6px, .6vw, 9.5px); }
	.nav {
		position: static; inset: auto; z-index: auto;
		flex-direction: row; align-items: center; justify-content: flex-end; gap: clamp(10px, 1.3vw, 20px);
		padding: 0; background: none; color: inherit; overflow: visible;
		visibility: visible; opacity: 1; transition: none;
	}
	.nav__deco, .nav__meta { display: none; }
	.nav__list { display: flex; align-items: center; gap: 0; }
	.nav__list li, .nav.is-open .nav__list li { opacity: 1; transform: none; transition: none; }
	.nav__list a {
		position: relative; display: block; gap: 0;
		padding: 10px var(--nav-pad); border: 0;
		font-family: var(--font); font-weight: 500; font-stretch: 100%; font-size: .9375rem; letter-spacing: .005em; line-height: 1.2;
		color: inherit; opacity: .78; white-space: nowrap;
		transition: opacity .2s ease, color .2s ease;
	}
	.nav__list a::before { display: none; }
	/* Wskaźnik: cienka kreska pod tekstem, rośnie od lewej */
	.nav__list a::after {
		content: ""; position: absolute; left: var(--nav-pad); right: var(--nav-pad); bottom: 2px; height: 2px; border-radius: 2px;
		background: var(--blue); transform: scaleX(0); transform-origin: left center;
		transition: transform .35s var(--ease);
	}
	.nav__list a:hover, .nav__list a:focus-visible { opacity: 1; color: inherit; }
	.nav__list a:hover::after, .nav__list a:focus-visible::after { transform: scaleX(1); }
	.nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list a[aria-current="page"] { opacity: 1; color: inherit; font-weight: 600; }
	.nav__list .current-menu-item > a::after, .nav__list .current_page_item > a::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
	html.js .site-header.is-dark .nav__list a { opacity: .82; }
	html.js .site-header.is-dark .nav__list a:hover,
	html.js .site-header.is-dark .nav__list .current-menu-item > a,
	html.js .site-header.is-dark .nav__list a[aria-current="page"] { opacity: 1; }
	html.js .site-header.is-dark .nav__list a::after { background: var(--cyan); }

	.nav__extra { display: flex; align-items: center; gap: 12px; padding-left: clamp(12px, 1.3vw, 18px); border-left: 1px solid rgba(14, 34, 64, .12); }
	html.js .site-header.is-dark .nav__extra { border-left-color: rgba(255, 255, 255, .2); }
	.nav__phone { min-height: 40px; padding: 0; border-radius: 0; background: none; color: inherit; font-size: .9375rem; font-weight: 600; gap: 8px; }
	.nav__phone:hover { background: none; color: var(--blue); }
	html.js .site-header.is-dark .nav__phone:hover { color: var(--cyan); }
	.nav__phone .icon { width: 17px; height: 17px; }
	html.js .site-header.is-dark .nav__phone .icon { color: var(--cyan); }
	.nav__panel { min-height: 40px; border-radius: 10px; font-size: .875rem; padding: 8px 15px; background: var(--ink); color: #fff; border-color: var(--ink); }
	.nav__panel:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
	html.js .site-header.is-dark .nav__panel { background: #fff; color: var(--ink); border-color: #fff; }
	html.js .site-header.is-dark .nav__panel:hover { background: var(--cyan); border-color: var(--cyan); color: var(--night); }
	html.js .site-header.is-dark :focus-visible { outline-color: var(--cyan); }
}
/* Mniej miejsca: telefon jako okrągła ikona (numer dla czytników w aria-label) */
@media (min-width: 1141px) and (max-width: 1399px) {
	.nav__phone-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
	.nav__phone { width: 40px; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(14, 34, 64, .14); }
	html.js .site-header.is-dark .nav__phone { border-color: rgba(255, 255, 255, .3); }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ───────────── Hero ───────────── */

.hero {
	--head-pad: clamp(28px, 6vw, 88px);
	position: relative; isolation: isolate; overflow: hidden;
	padding-block: var(--head-pad) clamp(88px, 11vw, 150px);
	background: var(--night); color: #fff;
}
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: center; }
.hero__eyebrow {
	position: relative; display: inline-block; margin: 0 0 18px;
	font-family: var(--mono); font-size: clamp(.75rem, .7rem + .25vw, .875rem); font-weight: 500; letter-spacing: 0;
	white-space: nowrap; max-width: 100%;
}
@media (max-width: 374px) { .hero__eyebrow { font-size: .6875rem; } }
.hero__eyebrow .c-t { color: #6FB6FF; }
.hero__eyebrow .c-a { color: #3EE0C6; }
.hero__eyebrow .c-s { color: #CFE3FF; }
.hero__title {
	font-size: var(--fs-hero); font-weight: 720; font-stretch: 112%;
	letter-spacing: -.028em; line-height: .98; max-width: 11ch; margin-bottom: 22px; color: #fff;
	text-shadow: 0 2px 30px rgba(4, 10, 28, .45);
}
.hero__title .w { display: inline-block; }
.hero__text { font-size: var(--fs-md); color: rgba(255, 255, 255, .84); line-height: 1.6; max-width: 46ch; margin-bottom: 28px; }
.hero__actions { display: grid; gap: 12px; }
.hero__actions .btn { width: 100%; }
.hero__actions .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: rgba(7, 16, 38, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.hero__actions .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero__note { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .8); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(0, 191, 166, .18); }
@media (min-width: 561px) {
	.hero__actions { display: flex; flex-wrap: wrap; }
	.hero__actions .btn { width: auto; }
	.hero__text { font-size: var(--fs-lg); }
}
@media (min-width: 961px) {
	.hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); }
	.hero__text { margin-bottom: 34px; }
}

/* Stos okien przeglądarki z realizacjami */
.hero__showcase { position: relative; padding: 18px 0 0 18px; max-width: 640px; width: 100%; }
.showcase__item {
	position: absolute; inset: 18px 0 auto 18px;
	transform-origin: 100% 0;
	transition: transform .7s var(--ease), opacity .7s ease;
	opacity: 0; pointer-events: none;
}
.showcase__item.is-active { position: relative; inset: auto; z-index: 3; opacity: 1; transform: none; pointer-events: auto; }
.showcase__item.is-next { z-index: 2; opacity: .9; transform: translate(-9px, -9px) scale(.965); }
.showcase__item.is-after { z-index: 1; opacity: .6; transform: translate(-18px, -18px) scale(.93); }
.showcase__item.is-leaving { z-index: 4; opacity: 0; transform: translate(40px, 24px) scale(1.02); }
.showcase__caption { display: flex; justify-content: space-between; gap: 12px; margin: 14px 0 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); }
.showcase__caption span { font-family: var(--mono); font-size: .8125rem; }
.showcase__caption a { font-weight: 600; color: #fff; }
.showcase__caption a:hover { color: #9CC8FF; }
.hero .browser { border-color: rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
@media (min-width: 561px) {
	.hero__showcase { padding: 32px 0 0 32px; }
	.showcase__item { inset: 32px 0 auto 32px; }
	.showcase__item.is-next { transform: translate(-16px, -16px) scale(.96); }
	.showcase__item.is-after { transform: translate(-32px, -32px) scale(.92); }
}
@media (min-width: 961px) {
	.hero__showcase { padding: 40px 0 0 40px; max-width: none; }
	.showcase__item { inset: 40px 0 auto 40px; }
	.showcase__item.is-next { transform: translate(-20px, -20px) scale(.96); }
	.showcase__item.is-after { transform: translate(-40px, -40px) scale(.92); }
}

/* Statystyki (liczby) */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 0; margin: 0; }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 4px; padding: 4px 12px; border-left: 1px solid var(--line); }
.stats__item:first-child { border-left: 0; padding-left: 0; }
.stats__value { margin: 0; font-family: var(--display); font-stretch: 112%; font-size: clamp(1.9rem, 1.4rem + 2vw, 3.2rem); font-weight: 720; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.stats__label { font-size: var(--fs-xs); color: var(--ink-2); }
@media (min-width: 761px) {
	.stats { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.stats__item { padding: 8px 24px; }
	.stats__label { font-size: var(--fs-sm); }
}
.hero-stats { position: relative; z-index: 2; margin-top: calc(clamp(56px, 7vw, 84px) * -1); }

/* Pasek konkretów pod hero: na telefonie 2×2, na komputerze 4 w rzędzie */
.facts {
	list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
	border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-lg);
}
.facts__item { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 12px; }
.facts__item:nth-child(odd) { padding-left: 4px; border-right: 1px solid var(--line); }
.facts__item:nth-child(n+3) { border-top: 1px solid var(--line); }
.facts__icon { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: var(--sky); color: var(--blue); }
.facts__icon .icon { width: 19px; height: 19px; }
.facts__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.facts__title { font-family: var(--display); font-stretch: 104%; font-size: .98rem; font-weight: 680; line-height: 1.2; letter-spacing: -.01em; }
.facts__desc { font-size: var(--fs-xs); color: var(--ink-2); line-height: 1.35; }
@media (min-width: 761px) {
	.facts { padding: 22px 26px; }
	.facts__item { flex-direction: row; align-items: center; gap: 14px; padding: 12px 18px; }
	.facts__icon { width: 46px; height: 46px; border-radius: 13px; }
	.facts__icon .icon { width: 22px; height: 22px; }
	.facts__title { font-size: 1.0625rem; }
	.facts__desc { font-size: var(--fs-sm); }
}
@media (min-width: 1081px) {
	.facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.facts__item, .facts__item:nth-child(odd), .facts__item:nth-child(n+3) { border: 0; border-left: 1px solid var(--line); padding: 4px 20px; }
	.facts__item:first-child { border-left: 0; padding-left: 0; }
}

/* Kosmiczne tło: przenikanie + powolne przybliżanie (Ken Burns), jak dotąd na intmedia.pl */
.space { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--night); }
/* Migoczące gwiazdy nad zdjęciem */
.space::before {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background-image:
		radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 28% 68%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 47% 15%, #CFE3FF 50%, transparent 51%),
		radial-gradient(1px 1px at 63% 82%, #fff 50%, transparent 51%),
		radial-gradient(2px 2px at 78% 34%, #9CC8FF 50%, transparent 51%),
		radial-gradient(1px 1px at 91% 61%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 6% 88%, #CFE3FF 50%, transparent 51%),
		radial-gradient(1px 1px at 38% 42%, #fff 50%, transparent 51%);
	background-size: 520px 360px;
	animation: twinkle 4.5s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .25; } to { opacity: .9; } }
.space__slide {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; object-position: center 40%;
	opacity: 0; transition: opacity 1.2s ease;
}
.space__slide.is-on { opacity: 1; animation: kenburns 7s ease-out both; }
.space__slide.is-top { z-index: 1; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.space::after {
	content: ""; position: absolute; inset: 0; z-index: 2; /* przyciemnienie zawsze nad zdjęciami (również .is-top) */
	background:
		linear-gradient(180deg, rgba(7, 16, 38, .62) 0, rgba(7, 16, 38, 0) 150px), /* czytelny przezroczysty nagłówek */
		linear-gradient(180deg, rgba(7, 16, 38, .82) 0%, rgba(7, 16, 38, .7) 55%, rgba(7, 16, 38, .86) 100%);
}
@media (min-width: 961px) {
	.space::after {
		background:
			linear-gradient(180deg, rgba(7, 16, 38, .6) 0, rgba(7, 16, 38, 0) 160px),
			linear-gradient(90deg, rgba(7, 16, 38, .86) 0%, rgba(7, 16, 38, .55) 38%, rgba(7, 16, 38, .05) 75%),
			linear-gradient(0deg, rgba(7, 16, 38, .5) 0%, rgba(7, 16, 38, 0) 40%);
	}
}

/* ───────────── Usługi ───────────── */

.services__list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
/* Telefon: ikona po lewej, treść obok — krótko i wygodnie pod kciuk */
.service {
	position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-content: start;
	padding: 24px 28px 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none;
}
.service > :not(.service__icon) { grid-column: 2; }
.service::after {
	content: ""; position: absolute; top: 30px; right: 0; width: 18px; height: 18px;
	background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A77DB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	transition: transform .25s var(--ease);
}
.service:hover::after { transform: translateX(4px); }
.service:hover { color: var(--ink); }
.service__icon { grid-row: 1 / span 3; display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 13px; background: var(--sky); color: var(--blue); transition: background-color .25s ease, color .25s ease; }
.service__icon .icon { width: 24px; height: 24px; }
.service:hover .service__icon { background: var(--blue); color: #fff; }
.service__name { font-size: var(--fs-xl); margin: 0; transition: color .2s ease; }
.service:hover .service__name { color: var(--blue); }
.service__text { color: var(--ink-2); margin: 0 0 8px; font-size: var(--fs-sm); }
.service__price { margin: 0; color: var(--ink-2); font-size: var(--fs-sm); }
.service__price strong { font-family: var(--display); font-stretch: 108%; color: var(--blue); font-size: var(--fs-lg); font-weight: 700; letter-spacing: -.01em; }
@media (min-width: 961px) {
	.services__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.service { display: flex; flex-direction: column; gap: 6px; padding: 34px 32px 34px 0; border-bottom: 0; }
	.service + .service { padding-left: 32px; border-left: 1px solid var(--line); }
	.service::after { top: 46px; right: 32px; }
	.service__icon { margin-bottom: 14px; }
	.service__text { flex: 1; font-size: var(--fs-md); margin-bottom: 12px; }
}

/* ───────────── Cennik ───────────── */

.vat-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.vat-toggle__btn { min-height: 40px; border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font: inherit; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.vat-toggle__btn.is-active { background: var(--ink); color: #fff; }

.plans { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: stretch; max-width: 520px; }
.plan {
	position: relative;
	display: flex; flex-direction: column;
	padding: 30px 24px 24px; border-radius: var(--r-lg);
	background: #fff; border: 1px solid var(--line);
	transition: box-shadow .3s ease, transform .3s var(--ease);
}
.plan:hover { box-shadow: var(--shadow); }
.plan--featured { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.plan__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.plan__name { font-size: var(--fs-lg); margin: 0; }
.plan--featured .plan__name { color: #fff; }
.plan__badge { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--teal); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; margin: 0 0 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan--featured .plan__price { border-bottom-color: rgba(255, 255, 255, .16); }
.plan__old { width: 100%; font-size: var(--fs-sm); color: var(--ink-3); }
.plan--featured .plan__old { color: rgba(255, 255, 255, .6); }
.price { font-family: var(--display); font-stretch: 110%; font-weight: 720; letter-spacing: -.035em; line-height: 1; }
.price__int { font-size: 2.6rem; }
.price__gr { font-size: 1.15rem; vertical-align: .88em; margin-left: 1px; letter-spacing: 0; }
.price--sm .price__int { font-size: 2.2rem; }
.price--sm .price__gr { font-size: 1rem; vertical-align: .8em; }
.price--xl .price__int { font-size: clamp(3.6rem, 2.4rem + 4vw, 5.6rem); }
.price--xl .price__gr { font-size: 1.8rem; vertical-align: calc((clamp(3.6rem, 2.4rem + 4vw, 5.6rem) - 1.8rem) * .7); } /* góra groszy = góra złotych */
.plan__unit { font-size: var(--fs-sm); color: var(--ink-2); font-weight: 500; }
.plan--featured .plan__unit { color: rgba(255, 255, 255, .7); }
.plan__desc { color: var(--ink-2); }
.plan__features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; font-size: var(--fs-sm); }
.plan__features li { display: flex; gap: 10px; align-items: flex-start; }
.plan__features .icon { width: 18px; height: 18px; margin-top: 2px; }
.plan__features .is-in .icon { color: var(--teal); }
.plan__features .is-out { color: var(--ink-3); text-decoration: line-through; }
.plan--featured .plan__features .is-out { color: rgba(255, 255, 255, .45); }
.plan__cta { width: 100%; min-height: 52px; }
@media (min-width: 561px) { .price__int { font-size: 3rem; } .price__gr { font-size: 1.25rem; vertical-align: .95em; } }
@media (min-width: 961px) {
	.plans { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
	.plan { padding: 34px 28px 28px; }
	.plan__badge { left: 28px; }
}

/* Godziny pracy */
.rate { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; margin-bottom: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.rate__label { font-family: var(--font); font-size: var(--fs-md); font-weight: 600; font-stretch: 100%; color: var(--ink-2); letter-spacing: 0; margin: 0 0 8px; }
.rate__value { margin: 0 0 20px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rate__billing { font-size: var(--fs-md); color: var(--ink-2); max-width: 46ch; margin: 0; }
@media (min-width: 561px) { .rate__billing { font-size: var(--fs-lg); } }
@media (min-width: 961px) { .rate { grid-template-columns: auto minmax(0, 1fr); gap: 24px 64px; margin-bottom: 48px; padding-bottom: 40px; } }
.hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hours__item { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s ease; }
.hours__item:hover { box-shadow: var(--shadow); }
.hours__item .btn { width: 100%; margin-top: 4px; }
.hours__meter { display: flex; gap: 4px; margin-bottom: 18px; }
.hours__meter span { width: 14px; height: 22px; border-radius: 4px; background: var(--blue); }
.hours__meter span:nth-child(n+6) { background: var(--teal); }
.hours__name { font-size: var(--fs-lg); margin-bottom: 8px; }
.hours__price { margin: 0 0 6px; display: flex; align-items: baseline; gap: 8px; }
.hours__per { font-size: var(--fs-sm); color: var(--blue-d); font-weight: 600; margin-bottom: 8px; }
.hours__desc { font-size: var(--fs-sm); color: var(--ink-2); flex: 1; }
@media (min-width: 961px) { .hours { gap: 20px; } .hours__item { padding: 28px; } .hours__item .btn { width: auto; } }

/* Usługi dodatkowe */
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 28px; border-top: 1px solid var(--line); }
.extra { padding: 26px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.extra p { color: var(--ink-2); font-size: var(--fs-sm); flex: 1; }
.extra__name { font-size: var(--fs-lg); margin-bottom: 8px; }
.extra__price { flex: 0 !important; margin-bottom: 8px; }
.extra__price strong { color: var(--blue); font-size: var(--fs-lg); }

/* ───────────── Okno przeglądarki ───────────── */

.browser {
	margin: 0; overflow: hidden;
	border-radius: var(--r-md); background: #fff;
	border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.browser__bar { display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 12px; background: #EEF3F9; border-bottom: 1px solid var(--line); }
.browser__dots { display: inline-flex; gap: 6px; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: #CBD5E2; }
.browser__dots i:nth-child(1) { background: #FF5F57; }
.browser__dots i:nth-child(2) { background: #FEBC2E; }
.browser__dots i:nth-child(3) { background: #28C840; }
.browser__url {
	flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px;
	height: 24px; padding: 0 10px; border-radius: 7px; background: #fff;
	font-family: var(--mono); font-size: .75rem; color: var(--ink-2); letter-spacing: 0;
	white-space: nowrap; overflow: hidden;
}
.browser__lock .icon { width: 13px; height: 13px; color: var(--teal); }
.browser__host { overflow: hidden; text-overflow: ellipsis; }
.browser__host.is-typing::after { content: ""; display: inline-block; width: 1px; height: 1em; margin-left: 1px; background: var(--ink); vertical-align: -.15em; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.browser__view { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: linear-gradient(110deg, #EEF3F9 30%, #E2EAF4 50%, #EEF3F9 70%); background-size: 300% 100%; animation: shimmer 1.6s linear infinite; }
.browser__view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.browser__view.is-loaded { animation: none; background: #fff; }
.browser__view.is-failed { animation: none; background: linear-gradient(135deg, var(--blue), #5A8CFF); }
.browser__view.is-failed img { display: none; }
.browser__view.is-failed::after {
	content: attr(data-fallback); position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center; padding: 16px;
	color: #fff; font-weight: 700; font-size: var(--fs-lg); text-align: center; word-break: break-word;
}
@keyframes shimmer { to { background-position: -300% 0; } }
@media (min-width: 561px) { .browser__bar { height: 40px; padding: 0 14px; gap: 14px; } .browser__url { height: 26px; padding: 0 12px; border-radius: 8px; } }

/* Realizacje (bez przewijania zrzutów — tylko delikatne przybliżenie) */
.works { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 36px; }
.works__link { display: block; color: var(--ink); text-decoration: none; }
.works__link:hover { color: var(--ink); }
.works__link .browser { box-shadow: var(--shadow); transition: box-shadow .35s ease, transform .35s var(--ease); }
.works__link:hover .browser { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.works__link:hover .browser__view img { transform: scale(1.05); }
.works__meta { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; }
.works__host { font-family: var(--display); font-stretch: 106%; font-weight: 680; font-size: var(--fs-lg); letter-spacing: -.01em; }
.works__desc { color: var(--ink-2); font-size: var(--fs-sm); }
.works__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--blue); font-weight: 600; font-size: var(--fs-sm); }
@media (min-width: 761px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 52px) clamp(20px, 3vw, 40px); } }

/* ───────────── Widoczność / audyt ───────────── */

.visibility { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.visibility .space::after { background: linear-gradient(90deg, rgba(7, 16, 38, .92) 0%, rgba(7, 16, 38, .8) 50%, rgba(7, 16, 38, .6) 100%); }
.visibility .section__title { color: #fff; max-width: 18ch; }
.visibility__inner { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.visibility__copy > p { color: rgba(255, 255, 255, .8); font-size: var(--fs-md); max-width: 48ch; }
@media (min-width: 561px) { .visibility__copy > p { font-size: var(--fs-lg); } }
@media (min-width: 961px) { .visibility__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--teal); }
.visibility .ticks span { color: rgba(255, 255, 255, .84); }
.visibility .ticks strong { color: #fff; }
.ticks--grid { grid-template-columns: 1fr; gap: 0 28px; margin: 0; }
.ticks--grid li { padding: 14px 0; border-top: 1px solid var(--line); }
@media (min-width: 761px) { .ticks--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; } .ticks--grid li { padding: 18px 0; } }
.audit { padding: 26px 22px; border-radius: var(--r-lg); background: #fff; color: var(--ink); }
.audit__title { font-size: var(--fs-xl); margin-bottom: 8px; }
.audit p { color: var(--ink-2); }
.audit__form { display: flex; flex-direction: column; gap: 10px; }
.audit__form .btn { min-height: 52px; }
@media (min-width: 561px) { .audit { padding: 32px; } }

/* ───────────── Proces ───────────── */

.process { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: 1fr; gap: 28px; }
.process__step { counter-increment: step; position: relative; padding: 0 0 0 64px; min-height: 44px; }
.process__step::before {
	content: counter(step, decimal-leading-zero);
	position: absolute; top: -2px; left: 0;
	width: 44px; height: 44px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: var(--sky); color: var(--blue); font-family: var(--mono); font-size: .875rem; font-weight: 600;
}
/* Telefon: oś czasu łącząca numery */
.process__step::after { content: ""; position: absolute; left: 22px; top: 50px; bottom: -22px; width: 1px; background: var(--line); }
.process__step:last-child::after { display: none; }
.process__title { font-size: var(--fs-lg); margin-bottom: 6px; }
.process__step p { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; max-width: 40ch; }
.section--tint .process__step::before { background: #fff; border: 1px solid var(--line); }
@media (min-width: 561px) {
	.process { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
	.process__step { padding: 60px 0 0; }
	.process__step::before { top: 0; }
	.process__step::after { display: none; }
}
@media (min-width: 961px) {
	.process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.process__step::after { display: block; content: ""; position: absolute; top: 22px; bottom: auto; width: auto; left: 58px; right: 14px; height: 1px; background: linear-gradient(90deg, var(--line), rgba(220, 229, 240, 0)); }
	.process__step:nth-child(3n)::after, .process__step:last-child::after { display: none; }
}

/* ───────────── FAQ ───────────── */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 64px; padding: 18px 0; cursor: pointer; list-style: none;
	font-family: var(--display); font-stretch: 104%; font-weight: 640; font-size: var(--fs-lg); letter-spacing: -.008em; line-height: 1.3;
	transition: color .2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
	content: ""; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%;
	background: var(--sky) no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A77DB' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
	transition: transform .3s var(--ease), background-color .2s ease;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__q:hover { color: var(--blue); }
.faq__a { padding: 0 0 22px; color: var(--ink-2); }
.faq__a p { margin: 0; }
@media (min-width: 561px) { .faq__q { padding: 22px 0; } .faq__a { padding-right: 48px; } }

/* ───────────── Pasek kontaktu ───────────── */

.band { position: relative; isolation: isolate; overflow: hidden; background: var(--blue); color: #fff; padding-block: clamp(56px, 8vw, 104px); }
.band .space::after { background: linear-gradient(90deg, rgba(20, 100, 200, .93) 0%, rgba(26, 119, 219, .84) 55%, rgba(26, 119, 219, .6) 100%); }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band__title { color: #fff; font-size: var(--fs-2xl); max-width: 22ch; margin: 0; }
.band__actions { display: grid; gap: 12px; width: 100%; }
.band__actions .btn { width: 100%; }
.band :focus-visible { outline-color: #fff; } /* niebieski obrys na niebieskim pasku był niewidoczny */
@media (min-width: 561px) { .band__actions { display: flex; flex-wrap: wrap; width: auto; } .band__actions .btn { width: auto; } }

/* ───────────── Nagłówek podstrony ───────────── */

.page-head { --head-pad: clamp(36px, 6vw, 88px); position: relative; isolation: isolate; overflow: hidden; padding-block: var(--head-pad) clamp(40px, 5vw, 72px); background: var(--night); color: #fff; }
.page-head + .section--flush { padding-top: var(--sec); }
.page-intro { padding-top: var(--sec); }
.page-intro + .section--tint { margin-top: var(--sec); }
.page-head__title { font-size: var(--fs-3xl); font-weight: 720; font-stretch: 112%; letter-spacing: -.028em; line-height: 1.02; margin-bottom: 16px; max-width: 16ch; color: #fff; }
.page-head__lead { font-size: var(--fs-md); color: rgba(255, 255, 255, .84); max-width: 56ch; margin: 0; }
@media (min-width: 561px) { .page-head__lead { font-size: var(--fs-lg); } }
.crumbs { font-family: var(--mono); font-size: .8125rem; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: rgba(255, 255, 255, .6); }
.crumbs span[aria-hidden] { margin-inline: 4px; color: var(--cyan); }
.page-head .article__meta { color: rgba(255, 255, 255, .78); }
.page-head .article__meta a { color: #fff; }
.article__meta { color: var(--ink-2); font-size: var(--fs-sm); margin: 0; }
.article__cover { padding-top: var(--sec); }
.article__cover img { border-radius: var(--r-lg); margin-bottom: 40px; }
.article__nav { display: flex; justify-content: space-between; gap: 24px; padding-block: 0 var(--sec); font-weight: 600; }

/* O nas */
.about-scope { padding: 26px 22px; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); }
.about-scope__title { font-size: var(--fs-lg); }
.about-scope .ticks .icon { color: var(--blue); }
@media (min-width: 561px) { .about-scope { padding: 32px; } }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact__card { padding: 26px 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.contact__title { font-size: var(--fs-xl); }
.contact__card .contact__title { color: #fff; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; color: rgba(255, 255, 255, .86); }
.contact__list .icon { width: 22px; height: 22px; color: var(--teal); margin-top: 2px; }
.contact__list a { color: #fff; }
.contact__phone { font-family: var(--display); font-stretch: 108%; font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.contact__panel { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: var(--fs-sm); color: rgba(255, 255, 255, .82); }
.contact__panel strong { color: #fff; }
.contact__panel .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.contact__panel .btn--ghost:hover { border-color: #fff; color: #fff; }
@media (min-width: 961px) {
	.contact { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
	.contact__card { padding: 32px; position: sticky; top: calc(var(--header-h) + 24px); }
	.admin-bar .contact__card { top: calc(var(--header-h) + 56px); }
}

/* Blog */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 40px 32px; }
.posts__link { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.posts__img img { display: block; width: 100%; border-radius: var(--r-md); margin-bottom: 10px; }
.posts__date { font-family: var(--mono); font-size: .75rem; color: var(--ink-3); }
.posts__title { font-family: var(--display); font-stretch: 104%; font-size: var(--fs-lg); font-weight: 680; line-height: 1.25; }
.posts__link:hover .posts__title { color: var(--blue); }
.posts__excerpt { color: var(--ink-2); font-size: var(--fs-sm); }
.pagination, .nav-links { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.page-numbers { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { max-width: 560px; }
.notfound { text-align: left; }
.notfound__browser { max-width: 520px; margin-bottom: 40px; }
.notfound__browser .browser__view { aspect-ratio: 16 / 7; }
.notfound .page-head__title { color: var(--ink); }

/* ───────────── Formularze ───────────── */

.form { display: grid; gap: 20px; }
.form__label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: 6px; }
.form__opt { font-weight: 400; color: var(--ink-3); }
.form__grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 761px) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.form__topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form__topics legend { margin-bottom: 10px; padding: 0; }
.form__picked { margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--sky); font-size: var(--fs-sm); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { margin: 0; display: flex; flex-direction: column; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], textarea, select {
	width: 100%; min-height: 52px; padding: 12px 14px;
	border: 1.5px solid var(--line); border-radius: 12px;
	background: #fff; color: var(--ink);
	font: inherit; font-size: 1rem; /* min. 16 px — iOS nie przybliża pola */
	transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 119, 219, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: var(--fs-xs); margin-top: 6px; min-height: 0; }
.field__err:empty { display: none; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-size: var(--fs-sm); font-weight: 500; transition: border-color .15s, background .15s, color .15s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); cursor: pointer; }
.check input { width: 22px; height: 22px; margin-top: 1px; accent-color: var(--blue); flex: 0 0 auto; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__foot .btn { min-height: 54px; }
@media (max-width: 560px) { .form__foot .btn { width: 100%; } }
.form__status { margin: 0; font-size: var(--fs-sm); font-weight: 600; }
.form__status.is-ok { color: #0A7D52; }
.form__status.is-err { color: var(--danger); }
.form__note { margin: 0; padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.form__note--ok { background: #E3F8F1; color: #0A6B47; }
.form__note--err { background: #FDECEA; color: var(--danger); }
.form.is-sent > :not(.form__foot) { opacity: .5; pointer-events: none; }
.searchform { display: flex; gap: 8px; margin-bottom: 24px; }
.searchform .btn { min-height: 52px; }
#wpadminbar input { min-height: 0; } /* globalne style pól nie mogą rozpychać wyszukiwarki paska admina */

/* ───────────── Stopka ───────────── */

.site-footer { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: rgba(255, 255, 255, .74); font-size: var(--fs-sm); padding-top: clamp(48px, 7vw, 88px); }
.site-footer .space::after { background: linear-gradient(180deg, rgba(7, 16, 38, .97) 0%, rgba(7, 16, 38, .86) 60%, rgba(7, 16, 38, .7) 100%); }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer__name { margin-bottom: 16px; }
.site-footer__name img { display: block; width: 170px; height: auto; }
.site-footer__about { max-width: 34ch; }
.site-footer__nap { font-style: normal; line-height: 1.8; }
.site-footer__hours { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.site-footer__h { margin-bottom: 14px; font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__panel p:not(.site-footer__h) { margin-bottom: 16px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom p { margin: 0; }
@media (min-width: 761px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; } }
@media (min-width: 1081px) { .site-footer__grid { grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)) minmax(0, 4fr); } }

/* Pasek „Zadzwoń / Napisz" — tylko telefony */
.callbar { display: none; }
@media (max-width: 760px) {
	.has-callbar .callbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: flex; gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
		box-shadow: 0 -10px 30px -20px rgba(14, 34, 64, .4);
	}
	.callbar__btn {
		flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
		min-height: 50px; border-radius: 12px; border: 1.5px solid var(--line);
		color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
	}
	.callbar__btn--call { flex: 1.4; background: var(--blue); border-color: var(--blue); color: #fff; }
	.callbar__btn--call:hover { color: #fff; }
	.has-callbar { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	/* Launchery wtyczki CRM (Intmedia AI, czat) nad paskiem */
	.has-callbar .crm-ai, .has-callbar .crm-cw { bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
	.has-callbar .crm-cw[data-mode="general"] { bottom: calc(134px + env(safe-area-inset-bottom)) !important; }
	.has-callbar .imc-banner { z-index: 100000; }
	body.nav-open .callbar { display: none; }
}

/* ───────────── Ozdobniki „kod" (intm_deco) ───────────── */
/* Warstwa przycięta do sekcji, pod treścią (z-index -1 w izolowanej sekcji), bez kliknięć. */

.deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; user-select: none; display: none; }
.deco__glyph {
	position: absolute; display: block;
	font-family: var(--display); font-weight: 700; font-stretch: 112%; line-height: .8; letter-spacing: -.04em; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1.5px rgba(26, 119, 219, .13);
}
.section--tint .deco__glyph { -webkit-text-stroke-color: rgba(26, 119, 219, .16); }
.deco__code {
	position: absolute; margin: 0;
	font-family: var(--mono); font-size: .8125rem; line-height: 1.9; letter-spacing: 0;
	white-space: pre; color: var(--ink); opacity: .26;
}
.deco__line { display: block; position: relative; width: max-content; }

@media (min-width: 1101px) {
	.deco { display: block; }
	/* Glify: wystają poza krawędź, zasłaniają je nieprzezroczyste karty — nigdy nie wchodzą pod tekst */
	.deco--glyph.deco--l .deco__glyph { left: -.18em; top: 50%; transform: translateY(-46%); font-size: 30rem; }
	.deco--glyph.deco--r .deco__glyph { right: -.12em; top: 50%; transform: translateY(-50%); font-size: 24rem; }
	.deco--glyph.deco--bl .deco__glyph { left: -.14em; bottom: -.08em; font-size: 26rem; }
	.deco--tag.deco--r .deco__glyph { font-size: 17rem; right: -.18em; top: 34%; }
	.deco--braces.deco--r .deco__glyph { font-size: 20rem; right: calc(50% - 41rem - .06em); top: 54%; }
	/* Kod: tylko w pustych miejscach (prawa część nagłówka sekcji, boczny margines przy wąskiej treści) */
	.deco--code.deco--tr .deco__code { top: calc(var(--sec) - 6px); right: max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter))); text-align: left; }
	.deco--code.deco--bl .deco__code { bottom: calc(var(--sec) - 10px); left: max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter))); }
	.deco--code.deco--side .deco__code { top: calc(var(--sec) + 4.5rem); left: max(var(--gutter), calc(50% - 410px - 260px)); }
	.deco--braces { display: none; }
}
@media (min-width: 1241px) { .deco--braces { display: block; } }
@media (max-width: 1239px) { .deco--code.deco--side { display: none; } }

/* Kod w nagłówkach podstron (ciemne tło) — po prawej, od tabletu */
.deco--head .deco__code { right: max(var(--gutter), calc(50% - var(--wrap) / 2 + var(--gutter))); bottom: clamp(40px, 5vw, 72px); color: #fff; opacity: .5; font-size: .875rem; }
.deco--head .c-t { color: #6FB6FF; }
.deco--head .c-a { color: #3EE0C6; }
.deco--head .c-s { color: #CFE3FF; }
.deco--head .c-p { color: #fff; }
.deco--head .c-c { color: rgba(255, 255, 255, .62); }
@media (min-width: 961px) { .deco--head { display: block; } }
@media (min-width: 961px) and (max-width: 1100px) { .deco--head .deco__code { opacity: .32; } }

/* ───────────── Ruch: wejście hero, pisanie, odsłanianie przy przewijaniu ───────────── */
/* Stany początkowe tylko z html.js-anim (dodaje skrypt w <head>, nie przy „ogranicz ruch").
   Bez JS i przy ograniczonym ruchu wszystko jest od razu widoczne. */

@keyframes rise { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes fade { from { opacity: 0; } }
@keyframes word { from { opacity: 0; transform: translate3d(0, .32em, 0); filter: blur(6px); } }
@keyframes slide-in { from { opacity: 0; transform: translate3d(28px, 0, 0) scale(.985); } }
@keyframes type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes caret-move { from { transform: translateX(0); } to { transform: translateX(calc(var(--n) * 1ch)); } }
@keyframes blink { 50% { opacity: 0; } }

.typer { position: relative; }
.type { display: inline-block; }
.js-anim .typer::after {
	content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: .55ch;
	background: currentColor; opacity: .75;
}
.hero__eyebrow.typer::after { color: var(--cyan); }

/* Hero: jedno, uporządkowane wejście (~1,3 s) */
.js-anim .hero__eyebrow .type { animation: type calc(var(--n) * 28ms) steps(var(--n)) .15s both; }
.js-anim .hero__eyebrow::after { animation: caret-move calc(var(--n) * 28ms) steps(var(--n)) .15s both, blink 1.05s steps(1) calc(var(--n) * 28ms + .15s) infinite; }
.js-anim .hero__title .w { animation: word .7s var(--ease) both; animation-delay: calc(.3s + var(--i) * 70ms); }
.js-anim .hero__text { animation: rise .7s var(--ease) .7s both; }
.js-anim .hero__actions { animation: rise .7s var(--ease) .8s both; }
.js-anim .hero__note { animation: fade .8s ease 1s both; }
.js-anim .hero__showcase { animation: slide-in .9s var(--ease) .45s both; }
.js-anim .hero-stats .facts { animation: rise .8s var(--ease) .95s both; }

/* Nagłówek podstrony */
.js-anim .page-head .crumbs { animation: fade .6s ease .05s both; }
.js-anim .page-head__title { animation: rise .7s var(--ease) .1s both; }
.js-anim .page-head__lead, .js-anim .page-head .article__meta { animation: rise .7s var(--ease) .22s both; }

/* Ozdobnik z kodem: ostatnia linia „pisze się" po wejściu w widok */
.js-anim .deco .type { clip-path: inset(0 100% 0 0); }
.js-anim .deco .typer::after { opacity: 0; }
.js-anim .deco.is-in .type { animation: type calc(var(--n) * 45ms) steps(var(--n)) .3s both; }
.js-anim .deco.is-in .typer::after { opacity: .7; animation: caret-move calc(var(--n) * 45ms) steps(var(--n)) .3s both, blink 1.05s steps(1) calc(var(--n) * 45ms + .3s) infinite; }

/* Odsłanianie przy przewijaniu: klasę .rv dostają tylko elementy poniżej ekranu (main.js) */
.js-anim .rv { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .6s ease, transform .75s var(--ease); transition-delay: var(--rv-d, 0s); }
.js-anim .rv.is-in { opacity: 1; transform: none; }
@media (max-width: 760px) { .js-anim .rv { transform: translate3d(0, 14px, 0); transition-duration: .5s, .6s; } }

/* ───────────── Zgodność: wtyczka CRM, edytor bloków ───────────── */

.page-panel { padding-block: 32px var(--sec); }
.has-crm .crm-app { font-family: var(--font); }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.wp-block-button__link { border-radius: 12px; }
.wp-caption-text, figcaption { font-size: var(--fs-xs); color: var(--ink-3); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.nav__list li { opacity: 1; transform: none; }
}

/* Otwarte menu mobilne zasłania launchery wtyczki CRM */
body.nav-open .crm-ai, body.nav-open .crm-cw { display: none !important; }

/* ───────────── Strony z bloków (inc/blocks.php) ───────────── */

.section--dark { background: var(--night); color: rgba(255, 255, 255, .86); overflow: hidden; }
.section--dark :is(h2, h3, h4, .section__title) { color: #fff; }
.section--dark a:not(.btn, .wp-block-button__link) { color: #9FD0FF; }
.section--dark .deco__glyph { -webkit-text-stroke-color: rgba(255, 255, 255, .12); }
.section__head--end { justify-content: flex-end; }
.section__body > :first-child { margin-top: 0; }
.section__body > :last-child { margin-bottom: 0; }
/* W sekcji z dowolną treścią tekst ma wygodną szerokość, a kolumny, galerie i obrazki — całą. */
.section__body > :is(.wp-block-columns, .wp-block-group, .wp-block-image, .wp-block-gallery, .wp-block-media-text, .wp-block-cover, .wp-block-table, .wp-block-embed, .alignwide, .alignfull) { max-width: none; }
.section--loose + .section--loose { padding-top: 0; }
/* Przyciski z edytora w kolorach strony (chyba że ktoś wybrał własny kolor) */
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: var(--blue); color: #fff; font-weight: 600; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background):hover { background: var(--blue-d); }
.wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) { color: var(--blue); }
.section--dark .wp-block-button.is-style-outline .wp-block-button__link:not(.has-text-color) { color: #fff; }

/* ───────────── Telefon: czytelność (1.2.1) ───────────── */
/* Drobny tekst nie schodzi poniżej 14 px, opisy mają 16 px, napisy na zdjęciach dostają mocniejszy kontrast. */

@media (max-width: 560px) {
	:root { --fs-xs: .875rem; --fs-sm: 1rem; }
	.kicker { font-size: .875rem; margin-bottom: 12px; }
	.hero__eyebrow { font-size: .8125rem; }
	.hero__text, .page-head__lead { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 14px rgba(4, 10, 28, .7); }
	.hero__note { color: rgba(255, 255, 255, .9); }
	.showcase__caption { color: rgba(255, 255, 255, .88); }
	.showcase__caption span { font-size: .875rem; }
	.crumbs { font-size: .875rem; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 10px rgba(4, 10, 28, .7); }
	.crumbs [aria-current] { color: rgba(255, 255, 255, .85); }
	.browser__url { font-size: .8125rem; }
	.stats__label { line-height: 1.35; }
	.plan__features { font-size: var(--fs-md); gap: 12px; }
	.plan__features .is-out { text-decoration-thickness: 1px; }
	.plan--featured .plan__features .is-out { color: rgba(255, 255, 255, .62); }
	.plan--featured .plan__old, .plan--featured .plan__unit { color: rgba(255, 255, 255, .8); }
	.site-footer__h { font-size: .8125rem; color: rgba(255, 255, 255, .75); }
	.site-footer { color: rgba(255, 255, 255, .84); }
	.site-footer ul { gap: 4px; }
	.site-footer ul a { display: inline-block; padding-block: 6px; }
}
/* Dymek powitalny Intmedia AI (wtyczka) zasłaniał treść i przyciski u góry strony — na telefonie zostaje sama ikona */
@media (max-width: 760px) { .crm-ai__teaser { display: none !important; } }
